/* Keranjang konsultasi DELTAfone. Shared with the existing catalog theme. */
.cart-link { position: relative; }
/* Four visible header items need four columns on desktop. */
.catalog-refresh .header-inner { grid-template-columns: 168px minmax(0,1fr) auto 44px; gap: 20px; }
.catalog-refresh .site-header .brand-logo { max-width: 100%; }
.catalog-refresh .header-cart { grid-column: 4; grid-row: 1; justify-self: end; }
.header-cart { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; color: #1745bf; border: 1px solid #dde6f3; border-radius: 12px; background: #fff; }
.header-cart svg { width: 25px; height: 25px; }
.header-cart:hover,.header-cart[aria-current] { background: #edf3ff; color: #1745bf; border-color: #bdceef; }
.cart-count { position: absolute; right: -5px; top: -6px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border: 2px solid #fff; border-radius: 20px; background: #1848cb; color: #fff; font-size: 10px; line-height: 1; font-weight: 800; }
.mobile-nav .cart-count { right: calc(50% - 27px); top: 3px; }
.card-cart-add { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #d9e3f2; border-radius: 11px; background: #fff; color: #1745bf; font-size: 13px; font-weight: 750; }
.card-cart-add:hover { background: #f2f6ff; border-color: #b7caed; }
.card-cart-add > span { font-size: 20px; line-height: 1; font-weight: 500; }
.cart-product-add { margin-top: 24px; padding: 18px; border: 1px solid #dce6f5; border-radius: 15px; background: #f7faff; }
.cart-product-add-row { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 10px; }
.cart-product-add-row input { text-align: center; background: #fff; }
.cart-product-add-row .button { gap: 6px; padding-inline: 12px; }
.cart-product-add > .text-link { margin-top: 6px; font-size: 13px; min-height: 38px; gap: 8px; }
.cart-product-add [data-cart-count],.visitor-profile [data-cart-count] { display: inline-flex; justify-content: center; min-width: 22px; padding: 1px 6px; border-radius: 20px; background: #e4edff; color: #1745bf; font-size: 12px; }
.cart-content { padding-block: 32px 64px; }
.cart-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.cart-heading h1 { font-size: clamp(28px,3vw,36px); margin-top: 6px; }
.cart-heading p:not(.eyebrow) { color: #52637a; margin-top: 10px; max-width: 570px; }
.cart-heading > a { flex: 0 0 auto; font-size: 14px; }
.cart-status { color: #52637a; font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
.cart-status:empty { display: none; }
.cart-status[data-error] { color: #9a2929; }
.cart-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,360px); align-items: start; gap: 28px; }
.cart-items { display: grid; gap: 16px; }
.cart-row { display: grid; grid-template-columns: 108px minmax(0,1fr); align-items: start; gap: 16px; padding: 20px; border: 1px solid #e0e7f0; border-radius: 18px; background: #fff; min-width: 0; }
.cart-row-photo { display: grid; place-items: center; width: 108px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #f7f9fe; color: #8291a8; font-size: 12px; text-align: center; padding: 8px; }
.cart-row-photo img { width: 100%; height: 100%; object-fit: contain; }
.cart-row-info { min-width: 0; }
.cart-row-brand { color: #1745bf; font-size: 12px; font-weight: 700; margin-bottom: 5px; }
.cart-row h2 { font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.cart-row h2 a { color: #18283e; }
.cart-row-variant { font-size: 14px; color: #52637a; margin-top: 6px; overflow-wrap: anywhere; }
.cart-row-status { display: inline-block; margin-top: 9px; font-size: 12px; font-weight: 750; line-height: 1.5; padding: 4px 9px; border-radius: 7px; color: #6c5520; background: #fff7e2; }
.cart-row-status[data-state="available"] { color: #176444; background: #e9f7ee; }
.cart-row-status[data-state="unavailable"],.cart-row[data-missing] .cart-row-status { color: #963838; background: #fff0ef; }
.cart-row-updated { font-size: 12px; color: #637086; margin-top: 5px; }
.cart-row-price { display: block; color: #173f99; font-size: 17px; margin-top: 10px; overflow-wrap: anywhere; }
.cart-price-changed { color: #1745bf; font-size: 12px; margin-top: 4px; }
.cart-row-controls { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid #edf0f5; }
.cart-quantity { display: grid; grid-template-columns: 42px 50px 42px; width: max-content; border: 1px solid #d8e2ef; border-radius: 10px; overflow: hidden; background: #fff; }
.cart-quantity button { display: grid; place-items: center; width: 42px; min-height: 44px; border: 0; border-radius: 0; background: #f7f9fd; color: #1745bf; font-size: 21px; }
.cart-quantity button:disabled { color: #9ba7b8; }
.cart-quantity input { width: 50px; min-height: 44px; border: 0; border-radius: 0; padding: 5px 2px; text-align: center; font-size: 15px; appearance: textfield; -moz-appearance: textfield; }
.cart-quantity input::-webkit-inner-spin-button,.cart-quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.cart-line-total { display: grid; gap: 2px; margin-left: auto; text-align: right; font-size: 15px; overflow-wrap: anywhere; }
.cart-line-total small { font-size: 11px; color: #637086; font-weight: 500; }
.cart-row-links { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-left: auto; }
.cart-row-links button { min-height: 44px; padding: 6px 5px; border: 0; background: transparent; color: #1745bf; font-size: 13px; font-weight: 650; }
.cart-row-links [data-cart-remove] { color: #9b3a3a; }
.cart-summary { position: sticky; top: 120px; border: 1px solid #dce6f5; border-radius: 18px; background: #f8faff; padding: 24px; min-width: 0; }
.cart-summary h2 { font-size: 23px; line-height: 1.3; margin-top: 5px; margin-bottom: 22px; }
.cart-summary > label { display: block; margin-bottom: 8px; font-weight: 750; font-size: 14px; }
.cart-summary select { background: #fff; font-size: 15px; }
.cart-totals { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #dce5f3; display: grid; gap: 12px; }
.cart-totals > div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.cart-totals dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.cart-estimate { align-items: start; flex-wrap: wrap; }
.cart-estimate dd { color: #173f99; font-size: 23px; font-weight: 800; margin-left: auto; }
.cart-contact-note { color: #52637a; font-size: 13px; margin-top: 18px; line-height: 1.6; }
.cart-summary > .cart-contact-link { margin-top: 12px; }
.cart-summary .cart-contact-link ~ a.text-link { display: none; }
.cart-contact-link {
    display: flex;
    align-items: center;
    min-width: 0;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #ceddf3;
    border-radius: 9px;
    background: #fff;
    color: #1745bf;
    font: inherit;
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.4;
    text-align: left;
    text-decoration: none;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.cart-contact-link:hover { background: #edf3ff; border-color: #a8bfe8; }
.cart-send,.cart-retry { width: 100%; margin-top: 14px; font-size: 14px; }
.cart-send:disabled { background: #d8e2f2; color: #52637a; box-shadow: none; }
.cart-cod { margin-top: 10px; scroll-margin-top: 6rem; }
.cart-cod summary, #catalog-mini-cart .mini-cart-cod {
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #cbd8ed;
    border-radius: 10px;
    color: #1745bf;
    font-size: .9375rem;
    font-weight: 650;
    cursor: pointer;
    text-decoration: none;
}
.cart-cod summary::-webkit-details-marker { display: none; }
.cart-cod summary:hover, #catalog-mini-cart .mini-cart-cod:hover { background: #edf3ff; }
.cart-cod form { display: grid; gap: 10px; padding: 14px 0 0; }
.cart-cod form p { margin: 0; color: #52637a; font-size: .875rem; line-height: 1.5; }
.cart-cod form label { margin: 0; }
.cart-cod input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #cbd8ed; border-radius: 8px; font: inherit; }
.cart-cod button:disabled { opacity: .6; cursor: default; }
.cart-summary-note { color: #637086; font-size: 12px; line-height: 1.65; margin-top: 16px; }
.cart-summary > .text-link { font-size: 13px; margin-top: 6px; }
.cart-device-note { color: #637086; font-size: 12px; margin-top: 24px; line-height: 1.65; }
.cart-empty { display: grid; justify-items: center; text-align: center; padding: 56px 24px; border: 1px solid #e0e7f0; border-radius: 20px; background: #fafcff; }
.cart-empty-icon { display: grid; place-items: center; width: 82px; height: 82px; border-radius: 24px; background: #edf3ff; color: #1745bf; margin-bottom: 22px; }
.cart-empty-icon svg { width: 38px; height: 38px; }
.cart-empty h2 { font-size: 24px; }
.cart-empty p { color: #52637a; max-width: 420px; margin-top: 12px; font-size: 14px; }
.cart-empty > a { margin-top: 24px; }
/* Product picker. Scope these styles so the shared storefront dialog rules cannot override them. */
#catalog-cart-dialog {
    --picker-pad: 22px;
    --picker-ink: #18283e;
    --picker-muted: #4e6077;
    --picker-blue: #1745bf;
    --picker-border: #dce5f2;
    position: fixed;
    inset: 0;
    width: min(452px, calc(100% - 32px));
    height: fit-content;
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 1px solid var(--picker-border);
    border-radius: 19px;
    background: #fff;
    color: var(--picker-ink);
    overflow: auto;
    overscroll-behavior: contain;
    box-shadow: 0 18px 70px #102c5d40;
}
#catalog-cart-dialog::backdrop { background: rgb(13 31 61 / 46%); backdrop-filter: blur(2px); }
#catalog-cart-dialog:not([open]) { display: none; }
#catalog-cart-dialog :focus-visible { outline: 2px solid #366be3; outline-offset: 2px; }
#catalog-cart-dialog .cart-dialog-heading {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: start;
    gap: 12px;
    padding: 18px var(--picker-pad);
    border-bottom: 1px solid var(--picker-border);
    background: #f5f8ff;
}
#catalog-cart-dialog .cart-dialog-mark,#catalog-cart-dialog .cart-icon-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 11px;
}
#catalog-cart-dialog .cart-dialog-mark { background: #e7efff; color: var(--picker-blue); }
#catalog-cart-dialog .cart-icon-button { background: #fff; border: 1px solid var(--picker-border); color: var(--picker-muted); cursor: pointer; }
#catalog-cart-dialog .cart-icon-button:hover { background: #eaf1fe; color: var(--picker-ink); }
#catalog-cart-dialog svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#catalog-cart-dialog .cart-dialog-kicker { margin: 0 0 3px; color: var(--picker-blue); font-size: .8125rem; font-weight: 700; line-height: 1.3; }
#catalog-cart-dialog h2 { margin: 0; font-size: 1.375rem; line-height: 1.24; font-weight: 780; overflow-wrap: anywhere; }
#catalog-cart-dialog .cart-dialog-body { padding: 16px var(--picker-pad) 20px; }
#catalog-cart-dialog .cart-dialog-note { margin: 0 0 13px; color: var(--picker-muted); font-size: .875rem; line-height: 1.45; }
#catalog-cart-dialog [data-cart-choice-status] { margin: 0 0 11px; padding: 9px 11px; border-radius: 9px; background: #eef4ff; color: #2c4c7c; font-size: .875rem; }
#catalog-cart-dialog [data-cart-choice-status]:empty { display: none; }
#catalog-cart-dialog [data-cart-choice-status][data-error] { color: #8b2d2d; background: #fff0ef; }
#catalog-cart-dialog .cart-choice-fields,#catalog-cart-dialog .cart-choice-field { display: grid; min-width: 0; gap: 7px; }
#catalog-cart-dialog .cart-choice-fields { gap: 13px; }
#catalog-cart-dialog .cart-choice-field label,#catalog-cart-dialog :is(.cart-choice-single,.cart-choice-price) > span {
    color: var(--picker-muted);
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.35;
}
#catalog-cart-dialog .cart-choice-fields :is(select,input) {
    min-width: 0;
    min-height: 44px;
    max-width: 100%;
    margin: 0;
    padding: 8px 11px;
    border: 1px solid #c9d7ee;
    border-radius: 9px;
    background-color: #fff;
    color: var(--picker-ink);
    font-size: 1rem;
    line-height: 1.35;
}
#catalog-cart-dialog .cart-choice-field select { width: 100%; padding-right: 27px; text-overflow: ellipsis; }
#catalog-cart-dialog .cart-choice-field input { width: 78px; text-align: center; font-variant-numeric: tabular-nums; }
#catalog-cart-dialog .cart-choice-single {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid #d7e3f8;
    border-radius: 10px;
    background: #f5f8ff;
    overflow-wrap: anywhere;
}
#catalog-cart-dialog .cart-choice-single strong { font-size: 1rem; font-weight: 700; line-height: 1.35; }
#catalog-cart-dialog .cart-choice-order { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: end; gap: 12px; }
#catalog-cart-dialog .cart-choice-price { display: grid; gap: 5px; align-self: center; justify-items: end; min-width: 0; }
#catalog-cart-dialog .cart-choice-price strong { font-size: 1.1875rem; line-height: 1.3; font-weight: 800; color: #163d9a; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; text-align: right; }
#catalog-cart-dialog .cart-dialog-actions {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 8px 12px;
    padding: 12px var(--picker-pad);
    border-top: 1px solid var(--picker-border);
    background: #fff;
}
#catalog-cart-dialog .cart-dialog-actions :is(button,a) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 8px 13px;
    border-radius: 10px;
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}
#catalog-cart-dialog .cart-dialog-actions a { gap: 5px; padding-inline: 0; }
#catalog-cart-dialog .cart-dialog-actions a svg { width: 15px; height: 15px; }
#catalog-cart-dialog .cart-dialog-actions button:disabled { background: #e8edf5; color: #52637a; box-shadow: none; opacity: 1; cursor: default; }
@media (max-width: 480px) {
    #catalog-cart-dialog { --picker-pad: 16px; width: min(452px, calc(100% - 24px)); }
    #catalog-cart-dialog .cart-dialog-heading { gap: 9px; padding-block: 14px; }
    #catalog-cart-dialog h2 { font-size: 1.25rem; }
    #catalog-cart-dialog .cart-dialog-actions { display: grid; gap: 4px; }
}
@media (max-width: 350px) {
    #catalog-cart-dialog .cart-dialog-heading { grid-template-columns: minmax(0,1fr) auto; }
    #catalog-cart-dialog .cart-dialog-mark { display: none; }
}
#catalog-cart-dialog [hidden],#catalog-cart-dialog .cart-dialog-actions a[hidden] { display: none; }
@media (max-width:1199px) {
    .catalog-refresh .header-inner { grid-template-columns: 144px minmax(0,1fr) 44px; gap: 14px; }
    .catalog-refresh .header-cart { grid-area: 1 / 3; }
}
@media (max-width:940px) {
    .cart-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 18px; }
    .cart-row { padding: 16px; grid-template-columns: 84px minmax(0,1fr); gap: 12px; }
    .cart-row-photo { width: 84px; }
    .cart-row-links { width: 100%; }
    .cart-summary { padding: 20px; }
}
@media (max-width:760px) {
    .catalog-refresh .header-inner { grid-template-columns: 104px minmax(0,1fr) 40px; gap: 10px; }
    .catalog-refresh .header-cart { width: 40px; height: 44px; min-height: 44px; }
    .cart-content { padding-block: 24px 40px; }
    .cart-heading { align-items: start; gap: 12px; flex-direction: column; margin-bottom: 18px; }
    .cart-heading p:not(.eyebrow) { font-size: 14px; }
    .cart-heading > a { min-height: 36px; }
    .cart-layout { grid-template-columns: minmax(0,1fr); gap: 20px; }
    .cart-summary { position: static; }
    .cart-row { padding: 16px; }
    .cart-row-links { width: auto; }
    .cart-row h2 { font-size: 17px; }
    .cart-summary h2 { font-size: 22px; }
}
@media (max-width:390px) {
    .catalog-refresh .header-inner { grid-template-columns: 88px minmax(0,1fr) 40px; gap: 8px; }
    .cart-product-add { padding: 14px; }
    .cart-product-add-row { grid-template-columns: 62px minmax(0,1fr); gap: 8px; }
    .cart-product-add-row .button { font-size: 13px; }
    .cart-row { grid-template-columns: 72px minmax(0,1fr); gap: 10px; padding: 14px; }
    .cart-row-photo { width: 72px; }
    .cart-row-links { width: 100%; }
}

