/* ── Stack & Save Cart Progress Bar ── */
.bms-cart-progress {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 4px 8px 0px 10px;
    margin: 4px 0 2px;
}

.bms-cart-progress__header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0px;
}

/* Collapsible behaviour — the snippet wraps everything in <details open>.
   Hide the native disclosure marker, make summary clickable, push the
   chevron to the right, and rotate it when collapsed. */
.bms-cart-progress__summary {
    cursor: pointer;
    list-style: none;
}

.bms-cart-progress__summary::-webkit-details-marker {
    display: none;
}

/* Default state matches the collapsed appearance: chevron rotated 180°
   (points up). When [open], we reset to 0° so it matches the PDP's
   "open = down" behavior (component-accordion.css rotates on [open]). */
.bms-cart-progress__arrow {
    margin-left: auto;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

details.bms-cart-progress[open] .bms-cart-progress__arrow {
    transform: rotate(0deg);
}

.bms-cart-progress__title {
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: 0;
    color: #111;
    text-transform: uppercase;
}

.bms-cart-progress .bms-limited-badge,
.bms-limited-badge {
    display: inline-block;
    padding: 2px 7px;
    background: #d10505;
    color: #fff;
    font-size: var(--fs-micro);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.1;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Free-shipping badge — same pill as .bms-limited-badge but green to signal
   "earned/positive" rather than the red urgency of LIMITED TIME. */
.bms-cart-progress .bms-free-ship-badge,
.bms-free-ship-badge {
    display: inline-block;
    padding: 2px 7px;
    background: #0ba443;
    color: #fff;
    font-size: var(--fs-micro);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.1;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.bms-cart-progress__message {
    font-size: var(--fs-micro);
    line-height: 1.35;
    color: #111;
    margin-bottom: 4px;
}

.bms-cart-progress__message strong {
    color: #0ba443;
    font-weight: 600;
    font-size: var(--fs-small);
}

.bms-cart-progress__track {
    position: relative;
    height: 18px;
    background: #373c39;
    border-radius: 999px;
    overflow: visible;
    margin-top: 18px;
    margin-bottom: 0px;
}

.bms-cart-progress__fill {
    height: 100%;
    background: #3fcf74;
    border-radius: 999px;
    transition: width 0.4s ease;
}

.bms-cart-section-label {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--fs-micro);
    font-weight: 600;
    white-space: nowrap;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    z-index: 1;
    pointer-events: none;
    letter-spacing: 0.01em;
}

.bms-cart-tick {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 100%;
    //background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 0;
    z-index: 2;
    transition: background 0.3s;
}

.bms-cart-tick--active {
    //background: rgba(255, 255, 255, 0.7);
}

.bms-cart-tick__label {
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-90%);
    font-size: var(--fs-micro);
    font-weight: 600;
    white-space: nowrap;
    color: #9ca3af;
    line-height: 0.5;
    pointer-events: none;
}

.bms-cart-tick--active .bms-cart-tick__label {
    color: #00a63e;
}

/* --------------------------------------------------------------------------
   Frequently Bought Together  (same bundle app, cart + side cart)
   Third-party overrides for the bundle app's cart surface. The PDP surface of
   the same app ("Complete the Look") is handled in component-3p-overrides.css
   — these rules live here instead because that file is only loaded by
   main-product.html, while this one loads globally via header.html.

   It mounts as .bundle-cart-addons, NOT inside .sales-bundle-root, so none of
   the rules in that file reach it even where both are loaded.

   Targeting rule carried over from that file: this app ships stable semantic
   class names alongside build-hashed ones (_title_elzm3_33, _btn_f875w_11).
   Only ever target the stable names; the hashes regenerate on app updates. Two instances render per page — one in the drawer (with a _drawer_
   modifier) and one on the cart page — and both carry this container class.
   -------------------------------------------------------------------------- */
.bundle-cart-addons {
    --a-ink: #15140F;
}

/* Was inheriting the 300 body weight, so the product name read as copy rather
   than as the row's subject. 500 matches .cart-item__name on the real line
   items directly above it. */
.bundle-cart-addons .bundle-addons-item-title {
    font-weight: 500 !important;
    color: var(--a-ink) !important;
}

/* The Add button shipped as 14px/700 white-on-#191919 with 8px 20px of padding
   and square corners — roughly 33px tall, and with four rows stacked it read as
   a wall of black blocks. Same words on the theme's button language instead:
   small tracked uppercase on an ink pill, ~21px tall, which keeps it a clearly
   tappable solid button while reading as the secondary action it is.

   THE WHOLE RULE IS INSIDE @layer, deliberately. The app ships its CSS in its
   own cascade layer, and for IMPORTANT declarations the layer order is
   inverted: an unlayered `!important` ranks BELOW a layered one no matter how
   specific it is. A six-stable-class chain at (0,6,0) with !important was
   tested against this and still lost.

   Which properties the app defends this way varies by breakpoint — it marks
   background-color and border-radius everywhere, and font-size only inside its
   mobile media query, so an unlayered rule applied on desktop and then
   half-applied on a phone. Keeping every declaration in the layer removes that
   whole class of problem rather than chasing it property by property.

   If this stops applying, check it is still inside @layer before reaching for
   more specificity. Specificity is not the lever here. */
@layer sigmas-3p-overrides {
    .bundle-cart-addons .bundle-button.bundle-addons-item-add {
        background-color: var(--a-ink) !important;
        color: #FFFFFF !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
        line-height: 1.1 !important;
        padding: 5px 13px !important;
        border-radius: 999px !important;
        border: 0 !important;
    }

    /* The app rings the button with a 1px box-shadow on an absolutely
       positioned ::after (inset: 1px) whose own radius is 0 — so on a pill it
       drew a square halo around the rounded button. The ring is the app's way
       of giving the button a border in its own button colour; on a solid pill it
       adds nothing but a 1px edge in a slightly different black, so it goes.
       The radius is matched anyway, in case a future app version puts something
       visible back on this pseudo-element. */
    .bundle-cart-addons .bundle-button.bundle-addons-item-add::after {
        box-shadow: none !important;
        border-radius: 999px !important;
    }
}

/* ── Free shipping bar (.shipping-cart-progress only) ──────────────────────
   Everything above is the shared .bms-cart-progress base, which Stack & Save
   (cart-bms-progress.html) also uses and which has its own JS — so none of the
   restyling below touches it.

   The bar was the loudest thing in the cart: a mint tile with a green border, a
   solid #0ba443 pill, green bold copy that jumped a size mid-sentence, and an
   18px near-black capsule with a bright green fill sitting under 18px of margin.
   Now it reads as theme furniture — warm ground, ink type, one accent, and a
   3px rule instead of a capsule. */
.shipping-cart-progress {
    background: #F1EEE6;
    border: 0;
    border-radius: 8px;
    padding: 9px 12px 10px;
    margin: 6px 0;
}

.shipping-cart-progress .bms-cart-progress__header {
    margin-bottom: 3px;
}

/* Eyebrow, not a filled pill: the base .bms-free-ship-badge is a solid green
   chip, which was the loudest element on the bar.

   Sentence case, so text-transform has to be unset and the tracking comes back
   to near-zero — the base rule's 0.04em (and my first pass at 0.1em) is spacing
   meant for uppercase, and on "Free Shipping over $99" it read as loose. */
.shipping-cart-progress .bms-free-ship-badge {
    padding: 0;
    background: transparent;
    color: #4E4A40;
    font-size: var(--fs-small);
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: none;
    border-radius: 0;
}

.shipping-cart-progress .bms-free-ship-badge strong {
    color: #15140F;
    font-weight: 600;
}

.shipping-cart-progress .bms-cart-progress__message {
    font-size: var(--fs-micro);
    line-height: 1.4;
    color: #4E4A40;
    margin-bottom: 7px;
}

/* font-size: inherit because the base rule bumps <strong> to --fs-small, which
   made the dollar amount taller than the words either side of it. */
.shipping-cart-progress .bms-cart-progress__message strong {
    color: #15140F;
    font-weight: 600;
    font-size: inherit;
}

.shipping-cart-progress .bms-cart-progress__track {
    height: 3px;
    background: rgba(21, 20, 15, 0.1);
    border-radius: 999px;
    margin: 0;
    overflow: hidden;
}

.shipping-cart-progress .bms-cart-progress__fill {
    background: #675A88;
    border-radius: 999px;
}

.cart-drawer {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    background-color: rgba(var(--color-mask), 0.5);
    transition: visibility 200ms ease;
}

.cart-drawer {
    visibility: hidden;
}

.cart-drawer.active {
    visibility: visible;
}

.cart-drawer__inner {
    height: 100%;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 200ms ease;
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    background-color: rgb(var(--color-page-background));
}

.cart-drawer__fixed-checkout {
    transform: translateX(100%);
    transition: transform 200ms ease;
}

.cart-drawer__inner .cart-drawer__inner-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cart-drawer__warnings {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
}

.cart-drawer.active .cart-drawer__inner,
.cart-drawer.active .cart-drawer__fixed-checkout {
    transform: translateX(0);
}

.cart-drawer__header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    min-height: 48px;
}

.cart-drawer__header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -20px;
    width: calc(100% + 40px);
    height: 1px;
    background-color: rgb(var(--color-entry-line));
}

.cart-drawer__header-left {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
}

/* The markup carries .title5, which is --title-font-size * 0.6 = 13.2px — barely
   above body copy, and the shared h1-h6/.titleN rule puts -1px of tracking on it,
   which at that size is a punishing -7.6%. This is the side cart's page title, so
   it takes the page-title step and the tracking becomes proportionate. */
.cart-drawer .cart-drawer__heading {
    font-size: var(--t-page);
}

/* "Full View →" link that takes the customer to the standalone /cart page
   for a more spacious view when the drawer's space feels cramped. */
.cart-drawer__full-view {
    font-size: var(--fs-small);
    font-weight: 500;
    color: rgb(var(--color-text));
    text-decoration: underline;
    text-underline-offset: 2px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    opacity: 0.75;
    transition: opacity 0.15s ease;
}

.cart-drawer__full-view:hover {
    opacity: 1;
}

.cart-drawer__close {
    color: rgb(var(--color-text));
    cursor: pointer;
    width: 20px;
    height: 20px;
    line-height: 0;
    padding: 0px;
}

.cart-drawer__close .icon {
    width: 16px;
    height: 16px;
}

cart-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
}

.cart-drawer-container {
    width: 440px;
}

.cart-drawer__overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.cart-drawer__overlay:empty {
    display: block;
}

/* cart-drawer-items {
  overflow: auto;
  flex: 1;
} */

.cart-drawer__inner {
    overflow-y: scroll;
}

@media screen and (max-height: 650px) {
    cart-drawer-items {
        overflow: visible;
    }

    .cart-drawer__inner {
        overflow-y: scroll;
    }
}

@media (max-width: 959px) {
    .cart-drawer-container {
        width: 90%;
    }
}

cart-drawer-items::-webkit-scrollbar {
    width: 3px;
}

cart-drawer-items::-webkit-scrollbar-thumb {
    background-color: rgba(18, 18, 18, 0.7);
    border-radius: 100px;
}

cart-drawer-items::-webkit-scrollbar-track-piece {
    margin-top: 20px;
}

.quantity:after,
.quantity:before,
.quantity:hover {
    box-shadow: none;
    border: none;

}

/* cart-drawer-footer */

.cart-drawer__footer__container {
    display: flex;
    justify-content: flex-end;
    padding-top: 40px;
    padding-bottom: 40px;
}

.cart-drawer__checkout-container {
    width: 100%;
    position: relative;
    padding: 10px 0;
}

.cart-drawer__checkout-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    width: calc(100% + 40px);
    height: 1px;
    background-color: rgb(var(--color-entry-line));
}

.cart-drawer__amount-wrapper {
    margin: 0;
    padding: 0;
    display: none;
}

.cart-drawer__amount-wrapper li {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgb(var(--color-text));
    margin-bottom: 8px;
}

.cart-drawer__amount-wrapper li em {
    font-style: normal;
    margin-right: 12px;
}

.cart-drawer__amount-wrapper .cart__discount span {
    color: rgb(var(--color-discount));
}

.cart-drawer__discount span {
    color: rgb(var(--color-discount));
}

#checkout {
    width: 100%;
}

.cart-drawer__checkout {
    margin-top: 15px;
}

.cart-drawer__taxes__desc {
    text-align: center;
}

.cart-drawer__body {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
}

.cart-drawer__body .cart-drawer__inner {
    flex: 1;
}

.cart-drawer__body .cart-fixed-checkout {
    position: static;
}

.quantity__input {
    padding: 8px 6px;
    height: 32px !important;
}

/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */