.iphones-cart-drawer,
.iphones-cart-drawer * {
    box-sizing: border-box;
}

.cart-remove-dialog {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(420px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    padding: 32px;
    border: 1px solid #e7e9ef;
    border-radius: 20px;
    background: #fff;
    color: #17171b;
    font-family: inherit;
    text-align: center;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .22);
}

.cart-remove-dialog::backdrop {
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(3px);
}

.cart-remove-dialog-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: #e8f3ff;
    color: #167ee6;
}

.cart-remove-dialog-icon svg { width: 26px; height: 26px; }
.cart-remove-dialog h2 { margin: 0 0 12px; font-size: 23px; font-weight: 700; letter-spacing: -.5px; }
.cart-remove-dialog p { margin: 0; color: #656573; font-size: 14px; line-height: 1.6; }
.cart-remove-dialog-actions { display: flex; gap: 12px; margin-top: 28px; }
.cart-remove-dialog-actions button {
    flex: 1;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid #dedee7;
    border-radius: 10px;
    background: #fff;
    color: #27272d;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.cart-remove-dialog-actions button:hover { background: #f4f6fa; }
.cart-remove-dialog-actions [data-remove-confirm] { background: #167ee6; border-color: #167ee6; color: #fff; }
.cart-remove-dialog-actions [data-remove-confirm]:hover { background: #096bd1; }
.cart-remove-dialog-actions button:focus-visible { outline: 3px solid #9bcaff; outline-offset: 3px; }

body.iphones-cart-open {
    overflow: hidden;
}

.iphones-cart-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 15, 17, 0.48);
    backdrop-filter: blur(1px);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.iphones-cart-backdrop[hidden],
.iphones-cart-drawer[hidden] {
    display: none;
}

.iphones-cart-backdrop.is-open {
    opacity: 1;
}

.iphones-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2010;
    display: flex;
    flex-direction: column;
    width: min(435px, 100vw);
    background: #ffffff;
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.2);
    color: #151517;
    transform: translateX(100%);
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.iphones-cart-drawer.is-open {
    transform: translateX(0);
}

.iphones-cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 0 24px;
    border-bottom: 1px solid #ececef;
}

.iphones-cart-drawer-heading {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.iphones-cart-drawer-heading h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.iphones-cart-drawer-heading span {
    color: #77777e;
    font-size: 13px;
}

.iphones-cart-drawer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.iphones-cart-currency {
    position: relative;
    display: inline-flex;
}

.iphones-cart-currency--mobile {
    display: none;
}

.iphones-cart-currency::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 11px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #414147;
    border-bottom: 1.5px solid #414147;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.iphones-cart-currency.is-enhanced::after {
    display: none;
}

.iphones-cart-currency select {
    min-width: 78px;
    height: 36px;
    padding: 0 30px 0 12px;
    border: 1px solid #dedee3;
    border-radius: 9px;
    background: #ffffff;
    color: #202024;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    appearance: none;
    cursor: pointer;
}

.iphones-cart-currency select:hover,
.iphones-cart-currency select:focus-visible {
    border-color: #2d68f0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 104, 240, 0.12);
}

.iphones-cart-currency .iphones-builder-dropdown--cart-currency {
    width: 78px;
}

.iphones-cart-currency .iphones-builder-dropdown--cart-currency .iphones-builder-dropdown-trigger {
    width: 78px;
    min-height: 36px;
    padding: 0 27px 0 12px;
    border-color: #dedee3;
    border-radius: 9px;
    background-position: right 10px center;
    background-size: 12px 8px;
    font-size: 12px;
    font-weight: 700;
}

.iphones-cart-currency .iphones-builder-dropdown--cart-currency .iphones-builder-dropdown-trigger:hover,
.iphones-cart-currency .iphones-builder-dropdown--cart-currency.is-open .iphones-builder-dropdown-trigger,
.iphones-cart-currency .iphones-builder-dropdown--cart-currency .iphones-builder-dropdown-trigger:focus-visible {
    border-color: #2d68f0;
    box-shadow: 0 0 0 3px rgba(45, 104, 240, 0.12);
}

.iphones-cart-currency .iphones-builder-dropdown--cart-currency .iphones-builder-dropdown-menu {
    top: calc(100% + 7px);
    right: 0;
    left: auto;
    min-width: 96px;
    max-height: none;
    padding: 6px;
    border-radius: 11px;
    transform-origin: top right;
}

.iphones-cart-currency .iphones-builder-dropdown--cart-currency .iphones-builder-dropdown-option {
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
}

.header-currency-item {
    display: flex;
    align-items: center;
}

.iphones-header-currency {
    position: relative;
    display: inline-flex;
}

.iphones-header-currency::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #ffffff;
    border-bottom: 1.5px solid #ffffff;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.iphones-header-currency.is-enhanced::after {
    display: none;
}

.iphones-header-currency select {
    width: 74px;
    height: 40px;
    padding: 0 28px 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: #171717;
    color: #ffffff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    appearance: none;
    cursor: pointer;
}

.iphones-header-currency select:hover,
.iphones-header-currency select:focus-visible {
    border-color: #74cf68;
    outline: none;
    box-shadow: 0 0 0 2px rgba(116, 207, 104, 0.2);
}

.iphones-header-currency .iphones-builder-dropdown--cart-currency {
    width: 74px;
}

.iphones-header-currency .iphones-builder-dropdown--cart-currency .iphones-builder-dropdown-trigger {
    width: 74px;
    min-height: 40px;
    padding: 0 27px 0 13px;
    border-color: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background-color: #171717;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M2 2.25L9 9.25L16 2.25' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 10px center;
    background-size: 11px 7px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.iphones-header-currency .iphones-builder-dropdown--cart-currency .iphones-builder-dropdown-trigger:hover,
.iphones-header-currency .iphones-builder-dropdown--cart-currency.is-open .iphones-builder-dropdown-trigger,
.iphones-header-currency .iphones-builder-dropdown--cart-currency .iphones-builder-dropdown-trigger:focus-visible {
    border-color: #74cf68;
    box-shadow: 0 0 0 2px rgba(116, 207, 104, 0.2);
}

.iphones-header-currency .iphones-builder-dropdown--cart-currency .iphones-builder-dropdown-menu {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 96px;
    max-height: none;
    padding: 6px;
    border-radius: 11px;
    transform-origin: top right;
}

.iphones-header-currency .iphones-builder-dropdown--cart-currency .iphones-builder-dropdown-option {
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 896px) {
    .iphones-cart-currency--mobile {
        display: inline-flex;
    }
}

.iphones-cart-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #55555b;
    cursor: pointer;
}

.iphones-cart-added {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 24px 0;
    padding: 12px 14px;
    border: 1px solid #bce8cb;
    border-radius: 10px;
    background: #eefaf2;
    color: #175b2e;
}

.iphones-cart-added[hidden] {
    display: none;
}

.iphones-cart-added-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2dbd63;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    margin-top: 10px;
}

.iphones-cart-added-check svg {
    display: block;
    width: 14px;
    height: 14px;
}

.iphones-cart-added strong,
.iphones-cart-added small {
    display: block;
}

.iphones-cart-added strong {
    font-size: 13px;
}

.iphones-cart-added small {
    margin-top: 2px;
    color: #346844;
    font-size: 11px;
}

.iphones-cart-drawer-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 24px;
}

.iphones-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: #29292d;
    text-align: center;
}

.iphones-cart-empty[hidden] {
    display: none;
}

.iphones-cart-empty-icon {
    margin-bottom: 14px;
    font-size: 34px;
    filter: grayscale(1);
}

.iphones-cart-empty strong {
    font-size: 17px;
}

.iphones-cart-empty p {
    max-width: 260px;
    margin: 7px 0 0;
    color: #77777e;
    font-size: 13px;
    line-height: 1.45;
}

.iphones-cart-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #ececef;
}

.iphones-cart-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 76px;
    overflow: hidden;
    border-radius: 9px;
    background: #f4f4f6;
}

.iphones-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.iphones-cart-item-title {
    margin: 0 0 7px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.iphones-cart-item-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 11px;
}

.iphones-cart-item-chip {
    padding: 3px 6px;
    border-radius: 4px;
    background: #f0f0f2;
    color: #595960;
    font-size: 11px;
    line-height: 1.2;
}

.iphones-cart-item-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.iphones-cart-quantity-control {
    display: inline-grid;
    grid-template-columns: 30px 40px 30px;
    align-items: center;
    min-height: 32px;
    border: 1px solid #dedee3;
    border-radius: 8px;
    overflow: hidden;
}

.iphones-cart-quantity-control button {
    height: 100%;
    padding: 0;
    border: 0;
    background: #ffffff;
    color: #333338;
    font-size: 17px;
    cursor: pointer;
}

.iphones-cart-quantity-input {
    width: 100%;
    min-width: 0;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #111;
    appearance: textfield;
    -moz-appearance: textfield;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.iphones-cart-quantity-input::-webkit-inner-spin-button,
.iphones-cart-quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.iphones-cart-quantity-input:focus-visible {
    outline: 2px solid #167ee6;
    outline-offset: -2px;
}

.iphones-cart-item-price {
    text-align: right;
}

.iphones-cart-item-price strong,
.iphones-cart-item-price small {
    display: block;
    white-space: nowrap;
}

.iphones-cart-item-price strong {
    font-size: 15px;
    font-weight: 600;
}

.iphones-cart-item-price small {
    /* margin-top: 2px; */
    margin-top: -4px;
    color: #77777e;
    font-size: 12px;
}

.iphones-cart-item-remove {
    align-self: start;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #77777e;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
}

.iphones-cart-drawer-footer {
    flex: 0 0 auto;
    padding: 16px 24px 22px;
    border-top: 1px solid #e7e7ea;
    background: #ffffff;
}

.iphones-cart-bulk-progress {
    margin-bottom: 15px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f7f7f8;
}

.iphones-cart-bulk-progress p {
    margin: 0 0 9px;
    color: #45454b;
    font-size: 13px;
    line-height: 1.35;
}

.iphones-cart-progress-track {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #dcdce1;
}

.iphones-cart-progress-track span {
    --cart-progress: 0;
    position: relative;
    display: block;
    width: calc(var(--cart-progress) * 100%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffd65a, #e8ab12);
    transition: width 360ms ease;
}

.iphones-cart-progress-track span::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #68a8ff, #245ee8);
    opacity: var(--cart-progress);
    transition: opacity 360ms ease;
}

@media (prefers-reduced-motion: reduce) {
    .iphones-cart-progress-track span,
    .iphones-cart-progress-track span::after {
        transition: none;
    }
}

.iphones-cart-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: #85858c;
    font-size: 12px;
}

.iphones-cart-total-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 5px 16px;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 600;
}

.iphones-cart-total-row small {
    color: #77777e;
    font-size: 12px;
    font-weight: 500;
}

.iphones-cart-total-row strong {
    text-align: right;
    font-weight: inherit;
}

.iphones-cart-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #2d68f0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.iphones-cart-checkout.is-whatsapp {
    background: #087f3e;
}

.iphones-cart-checkout:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.iphones-cart-continue {
    display: block;
    margin: 13px auto 0;
    padding: 2px;
    border: 0;
    background: transparent;
    color: #2c2c30;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 552px) {
    .iphones-cart-drawer {
        width: 100vw;
    }

    .iphones-cart-drawer-header,
    .iphones-cart-drawer-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .iphones-cart-drawer-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .iphones-cart-added {
        margin-left: 18px;
        margin-right: 18px;
    }
}


/* Shared currency menu on every storefront page. */
.iphones-header-currency > .sr-only,
.iphones-cart-currency > .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.store-currency-dropdown { position: relative; display: inline-flex; width: 78px; vertical-align: middle; }
.store-currency-dropdown .store-currency-trigger {
    display: inline-flex; align-items: center; width: 100%; height: 36px;
    padding: 0 28px 0 12px; border: 1px solid #dedee3; border-radius: 9px;
    background: #fff; color: #202024; font: inherit; font-size: 12px; font-weight: 700;
    cursor: pointer; position: relative;
}
.store-currency-trigger::after { content: ""; position: absolute; right: 12px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.iphones-header-currency .store-currency-dropdown { width: 74px; }
.iphones-header-currency .store-currency-trigger { height: 40px; border-color: rgba(255,255,255,.35); border-radius: 999px; background: #171717; color: #fff; }
.iphones-header-currency .store-currency-trigger:hover,
.iphones-header-currency .store-currency-trigger[aria-expanded="true"] { border-color: #74cf68; box-shadow: 0 0 0 2px rgba(116,207,104,.2); }
.store-currency-dropdown .store-currency-menu {
    position: absolute; display: flex; flex-direction: column; top: calc(100% + 8px); right: 0;
    z-index: 1100; width: 96px; padding: 6px; border: 1px solid #d9dce3; border-radius: 11px;
    background: #fff; box-shadow: 0 22px 44px rgba(15,23,42,.16); color: #111;
}
.store-currency-dropdown .store-currency-menu[hidden] { display: none; }
.store-currency-dropdown .store-currency-option {
    display: block; width: 100%; min-height: 36px; padding: 8px 10px;
    border: 0; border-radius: 7px; background: transparent; color: #111;
    font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; text-align: left; cursor: pointer;
}
.store-currency-dropdown .store-currency-option[aria-selected="true"],
.store-currency-dropdown .store-currency-option:hover,
.store-currency-dropdown .store-currency-option:focus-visible { background: #edf4ff; color: #0071e3; outline: none; }
.store-currency-dropdown .store-currency-trigger:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; }
.store-currency-dropdown .store-currency-trigger:disabled { opacity: .5; cursor: default; }

.iphones-cart-drawer-close,
.iphones-cart-item-remove {
    transition: background-color 160ms ease, transform 160ms ease;
}

.iphones-cart-checkout {
    transition: box-shadow 160ms ease, filter 160ms ease, transform 160ms ease;
}

@media (hover: hover) {
    .iphones-cart-drawer-close:hover,
    .iphones-cart-item-remove:hover {
        background-color: #eeeef1;
    }

    .iphones-cart-checkout:enabled:hover {
        filter: brightness(1.06);
        box-shadow: 0 4px 12px #121a3226;
        /* transform: translateY(-2px); */
    }
}

.iphones-cart-drawer-close:active,
.iphones-cart-item-remove:active {
    background-color: #dedee3;
    transform: scale(.9);
}

.iphones-cart-checkout:enabled:active {
    filter: brightness(.94);
    box-shadow: none;
    transform: scale(.98);
}

@media (prefers-reduced-motion: reduce) {
    .iphones-cart-drawer-close,
    .iphones-cart-item-remove,
    .iphones-cart-checkout {
        transition: none;
    }

    .iphones-cart-drawer-close:active,
    .iphones-cart-item-remove:active,
    .iphones-cart-checkout:enabled:hover,
    .iphones-cart-checkout:enabled:active {
        transform: none;
    }
}

@media (max-width: 552px) {
    .iphones-cart-drawer-footer {
        padding-bottom: max(22px, env(safe-area-inset-bottom));
    }

    .iphones-cart-drawer .iphones-cart-quantity-input {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .iphones-cart-drawer,
    .iphones-cart-backdrop {
        transition: none;
    }
}

.b2b-cart-page {
    min-height: 100vh;
    padding: 98px 24px 64px;
    background: #f5f7fb;
    color: #151517;
}

.b2b-cart-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.b2b-cart-shell > .b2b-checkout-steps {
    max-width: 540px;
    margin-bottom: 20px;
}

.b2b-cart-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
    align-items: start;
    gap: 20px;
}

.b2b-cart-content > .iphones-cart-drawer-header,
.b2b-cart-content > .iphones-cart-added {
    grid-column: 1 / -1;
    margin: 0;
}

.b2b-cart-content > .iphones-cart-drawer-header {
    padding: 0;
    border: 0;
}

.b2b-cart-content > .iphones-cart-drawer-body,
.b2b-cart-content > .iphones-cart-drawer-footer {
    min-width: 0;
    padding: 16px 22px;
    border: 1px solid #e0e6f0;
    border-radius: 20px;
    background: #fff;
}

.b2b-cart-content .iphones-cart-item:last-child { border-bottom: 0; }
.b2b-cart-content .iphones-cart-drawer-footer h2 { margin: 0 0 16px; font-size: 20px; }
.b2b-cart-content .iphones-cart-continue { display: block; text-align: center; }
.b2b-cart-estimate { margin: 12px 0; color: #536075; font-size: 13px; }

@media (max-width: 760px) {
    .b2b-cart-page { padding-inline: 14px; }
    .b2b-cart-content { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .b2b-cart-content > .iphones-cart-drawer-body,
    .b2b-cart-content > .iphones-cart-drawer-footer { padding-inline: 14px; }
}

.b2b-cart-content .iphones-cart-drawer-heading h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    letter-spacing: -.035em;
}

.b2b-cart-content .iphones-cart-drawer-heading span {
    padding: 4px 9px;
    border-radius: 999px;
    background: #e9effb;
    color: #344d76;
    white-space: nowrap;
}

.b2b-cart-products-title { margin: 4px 0; font-size: 20px; font-weight: 700; }
.b2b-cart-products-intro { margin: 0 0 10px; color: #536075; font-size: 14px; }
.b2b-cart-content .iphones-cart-item { padding-block: 20px; }
.b2b-cart-content .iphones-cart-item-title { font-size: 16px; }
.b2b-cart-content .iphones-cart-item-chip { font-size: 12px; background: #eef2f8; }
.b2b-cart-content .iphones-cart-item-bottom { flex-wrap: wrap; }
.b2b-cart-content .iphones-cart-item-price { margin-inline-start: auto; }
.b2b-cart-content .iphones-cart-item-price small { margin-top: 2px; }
.b2b-cart-content .iphones-cart-item-price strong,
.b2b-cart-content .iphones-cart-total-row strong { font-variant-numeric: tabular-nums; }

.b2b-cart-quantity-label {
    display: block;
    margin-bottom: 4px;
    color: #536075;
    font-size: 12px;
    font-weight: 600;
}

.b2b-cart-content .iphones-cart-quantity-control { grid-template-columns: 44px 48px 44px; }
.b2b-cart-content .iphones-cart-quantity-input { height: 44px; font-size: 16px; }
.b2b-cart-content .iphones-cart-quantity-control button { transition: background-color 160ms ease; }
.b2b-cart-content .iphones-cart-quantity-control button:focus-visible { outline: 2px solid #167ee6; outline-offset: -2px; }
.b2b-cart-content .iphones-cart-quantity-control button:active { background: #dbe8ff; }
.b2b-cart-content .iphones-cart-item-remove { width: 44px; height: 44px; }
.b2b-cart-content .iphones-cart-drawer-footer { box-shadow: 0 10px 28px #20375912; }
.b2b-cart-content .iphones-cart-checkout { min-height: 52px; border-radius: 12px; }

@media (hover: hover) {
    .b2b-cart-content .iphones-cart-quantity-control button:hover { background: #edf3ff; }
}
@media (min-width: 761px) {
    .b2b-cart-content > .iphones-cart-drawer-footer { position: sticky; top: 88px; }
}
@media (max-width: 520px) {
    .b2b-cart-content .iphones-cart-item {
        grid-template-columns: 48px minmax(0, 1fr) 44px;
        gap: 8px;
    }

    .b2b-cart-content .iphones-cart-item-image { width: 48px; height: 64px; }
    .b2b-cart-content .iphones-cart-item-price { margin-inline-start: 0; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .b2b-cart-content .iphones-cart-quantity-control button { transition: none; }
}
