.rebuy-cart {
 .rebuy-widget-container.widget-display-embed.is-visible {
   overflow-y: scroll;
   scrollbar-width: none;
 }
 
 font-family: "DM Sans";

 .rebuy-cart__flyout {
   background-color: #F1ECDE;
   gap: 0;
   max-width: 420px;
   width: 100vw;
 }

 [data-rebuy-cart-scroll-area] {
   background-color: #F6F4EC;
 }

 [data-rebuy-cart-anchor=header] {
   background-color: #111C35;
   padding: 0.25rem 0;

   .rebuy-cart__flyout-title, .rebuy-cart__title,
   .rebuy-cart__flyout-close {
     color: #F6F4EC;
     font-weight: 500;
   }
 }

 [data-rebuy-cart-scroll-area] {
   background-color: #F1ECDE;
 }

 [data-rebuy-cart-anchor=goalBox] {
   background-color: #F1ECDE;
   padding: 1rem 0;

   .rebuy-cart__progress-bar-meter {
     margin-top: 0;
     background-color: #D4CDB9;
   }
 }

 [data-rebuy-component=cart-items] {
   border: none !important;
 }

 [data-rebuy-cart-anchor=body] {
   background-color: #F6F4EC;

 }

 [data-rebuy-cart-anchor="footer"] {
   background-color: #111C35;

   .rebuy-cart__flyout-subtotal {
     color: #F6F4EC;
     font-weight: 500;
     font-size: 1rem;
   }

   .rebuy-cart__flyout-subtotal-final-amount {
     color: #F6F4EC;
   }

   .rebuy-cart__flyout-subtotal-compare-amount {
     color: #00b1ff !important;
   }
 }

 [data-rebuy-component=checkout-area] {
   padding: 0 16px 1rem;

   .rebuy-button {
     font-family: 'Montserrat';
     background-color: #91CAEA;
     color: #111C35;
     height: 3rem;
     font-size: 18px;
   }

   .rebuy-button:hover {
     background-color: #1D2C4E;
     color: #91CAEA;
   }
 }

 [data-rebuy-component=cart-subtotal] {
   padding: 1rem 1.25rem;

   .rebuy-cart__flyout-subtotal-compare-amount,
   .rebuy-cart__flyout-subtotal-label {
     color: #F6F4EC;
     font-weight: 500;
   }
 }

 [data-rebuy-component=cart-items] {
   .rebuy-cart__flyout-item-quantity-widget-button {
     background-color: #F6F4EC;
   }

   .rebuy-cart__flyout-item-media {
     width: 120px;
     height: 120px;
     grid-row: 1 / 3;
   }

   .rebuy-cart__flyout-item-media img,
   .rebuy-widget .rebuy-product-grid.small-style-line .rebuy-product-block .rebuy-product-media img {
     border-radius: 4px;
     width: 120px;
     height: 120px;
   }

   .rebuy-cart__flyout-item-info {
     place-content: unset;
     grid-row: 1 / 2;
     grid-column: 2 / 3;
     width: 100%;
     padding-left: 0;
   }

   .rebuy-cart__flyout-item-product-title {
     font-size: 1rem;
     font-weight: 500;
   }

   .rebuy-cart__flyout-item {
     align-items: flex-start;
     margin-top: 0;
     border-bottom: 1px solid #F1ECDE;
     padding-bottom: 1.5rem;
     position: relative;
     display: grid;
     grid-template-columns: 120px calc(100% - 132px);
     grid-template-rows: auto auto;
   }

   .rebuy-cart__flyout-item:last-child {
     border-bottom: unset;
   }

   .rebuy-cart__flyout-item-subscription {
     grid-column: 2 / 3;
     grid-row: 2 / 3;
     align-self: end;

     button {
       font-family: 'Montserrat';
       background-color: #1D2C4E;
       color: #F6F4EC;
       border: none;
     }

     button:hover {
       background-color: #465985;
     }
   }

   .rebuy-widget .rebuy-product-grid.small-style-line .rebuy-product-block .rebuy-product-info {
     align-self: flex-start;
   }

   .rebuy-cart__flyout-item-quantity-widget {
     border-color: #1d2c4e;
     border-radius: 4px;
     overflow: hidden;
   }

   .rebuy-cart__flyout-item-quantity-widget-label {
     border: none;
   }

   .rebuy-cart__flyout-item-subscription .rebuy-button {
     line-height: normal;
     width: fit-content;
   }

   .rebuy-cart__flyout-item-quantity-widget-button {
     width: 20px;
   }

   .rebuy-select {
     border-color: #1D2C4E;
     color: #1D2C4E;
     padding: 0.25rem 1.75rem 0.25rem 1rem;
     border-width: 1px;
     background-color: #F6F4EC;
     font-family: "Montserrat";
     cursor: pointer;
     width: fit-content;
     min-width: 200px;
   }

   .rebuy-select:focus-visible {
     outline: none !important;
   }

   .rebuy-cart__flyout-item-remove {
     color: #1D2C4E;
   }

   ul {
     margin: 1.5rem 0 0 0;
     gap: 1.5rem;
   }
 }

 [data-rebuy-component="cross-sell-widget"] {
   background-color: #F1ECDE;

   .primary-title {
     padding: 2rem 0 0;
     font-size: 1rem;
     font-family: 'Montserrat';
   }

   .rebuy-product-block {
     align-items: flex-start !important;
     margin: 1.5rem 0 !important;
     padding: 0 !important;
     position: relative !important;
     display: grid !important;
     grid-template-columns: 120px calc(100% - 120px) !important;
     grid-template-rows: auto auto !important;
   }

   .rebuy-product-media {
     grid-row: 1 / 3;
     grid-column: 1 / 2;
     width: 120px !important;
     height: 120px !important;
     border-radius: 8px;
     overflow: hidden;
   }

   .rebuy-product-info {
     grid-column: 2 / 3;
     grid-row: 1 / 2;
     width: 100% !important;
     padding: 0 0 0 10px !important;
   }

   .rebuy-product-actions {
     grid-row: 2 / 3;
     grid-column: 2 / 3;
     width: 100% !important;
     padding: 0.5rem 0 0 10px !important;
   }

   .checkbox-label {
     font-size: 0.75rem;
   }

   .checkbox-label:hover {
     color: #465985;
   }

   .rebuy-product-title {
     margin-top: 0 !important;
   }

   .subscription-checkbox {
     margin-bottom: 0.5rem !important;
   }

   .rebuy-product-review {
     display: none;
   }

   .rebuy-button {
     font-family: 'Montserrat';
     border: none;
     width: fit-content;
   }

   .rebuy-button:hover {
     background-color: #465985;
   }

   .subscription-frequency {
     margin-bottom: 0.5rem !important;
   }

   .rebuy-select {
     border-color: #1D2C4E;
     color: #1D2C4E;
     padding: 0.25rem 1rem;
     font-family: "Montserrat";
     cursor: pointer;
   }

   .rebuy-select:focus-visible {
     outline: none !important;
   }
 }

 [data-rebuy-cart-anchor] {
     gap: 0;
 }

 .rebuy-select {
   font-size: 13px;
 }

 .rebuy-product-review .rebuy-review-count {
   display: none;
 }

 .rebuy-button {
   font-family: 'Montserrat';
   padding: 0.5rem 1rem;
   font-size: 14px;
 }

 .rebuy-money {
   font-size: 0.875rem;
   font-weight: 500;
 }

 .rebuy-money.sale {
   color: #0A2C9B !important;
 }

 .rebuy-cart__flyout-empty-cart a {
   margin-top: 0.5rem;
 }

 .rebuy-cart__flyout-empty-cart a:hover {
   background-color: #465985;
 }

 .rebuy-checkbox-label .checkbox-input.rebuy-checkbox {
   border-width: 1px;
   border-color: #1D2C4E;
 }

 .rebuy-checkbox:checked {
   background-color: #465985 !important;
   border-color: #465985 !important;
 }

 .rebuy-checkbox:checked + .checkbox-label {
   color: #465985 !important;
 }

 .rebuy-widget .rebuy-underline {
   border-bottom: none !important;
 }

 [data-rebuy-component="discount-input"] {
   display: none !important;
 }

 .rebuy-discount-banner {
   display: flex;
   gap: 0.5rem;
   justify-content: center;
   align-items: center;
 }

 .rebuy-discount-banner__description {
   text-align: center;
   font-size: 0.875rem;
 }

 .rebuy-discount-banner__img {
   max-width: 50px;
 }

 .rebuy-cart__flyout-item-discount-line {
   color: #0A2C9B;
 }

 .rebuy-money.compare-at {
   color: #111C35 !important;
 }

 .rebuy-cart__flyout-item-price > div {
   display: flex;
   flex-direction: row-reverse;
   gap: 0.25rem;
 }
   
}



/* ==================================================================
  REBUY SMART CART — A/B STYLE SWITCH  (v2, single-row architecture)
  Paste into: Rebuy > Smart Cart > Settings > Custom CSS
  ------------------------------------------------------------------
  Pairs with 35694-html-v2.html. There is now exactly ONE
  .rebuy-cart__flyout-item per cart line item; both designs live
  inside it as .rb-a / .rb-b. This file decides which one shows and
  turns the row's --rb-order into Style B's grouping.
  ================================================================== */



.rebuy-cart [data-smartcart-items] > .rb-b-head { display: block !important; }

/* ---------- 2. THE ROW ------------------------------------------- */

.rebuy-cart [data-rebuy-component="cart-items"] .rebuy-cart__flyout-item {
 display: grid !important;
 grid-template-columns: 76.5px minmax(0, 1fr) !important;   /* 85% of 90px */
 grid-template-rows: none !important;
 grid-auto-rows: min-content !important;
 column-gap: 12px !important;
 row-gap: 0 !important;
 align-items: start !important;
 align-content: start !important;
 min-height: 0 !important;
 height: auto !important;
 border: none !important;
 padding: 0 0 18px !important;
 margin: 0 !important;
}


/* ---------- 3. STYLE B — GROUPING VIA flex order ----------------- */

.rebuy-cart [data-rebuy-component="cart-items"] ul[data-smartcart-items] {
 display: flex !important;
 flex-direction: column !important;
 gap: 0 !important;
 margin: 0 !important;   /* drops the base 1.5rem top margin in Style B */
}
.rebuy-cart [data-smartcart-items] > .rebuy-cart__flyout-item,
.rebuy-cart [data-smartcart-items] > .rb-b-head {
 order: var(--rb-order, 0);
}


/* ---------- 4. STYLE B — HEADINGS -------------------------------- */
.rb-b-head--section {
 list-style: none;
 margin: 11px 0 10px;          /* top margin halved from 22px */
 padding: 0 0 8px;             /* breathing room above the rule */
 border-bottom: 1px solid rgba(29, 44, 78, 0.14);
 font-family: "PP Mori", sans-serif;
 font-size: 12.5px;
 font-weight: 700;
 letter-spacing: .08em;
 text-transform: uppercase;
 color: rgb(29, 44, 78);
}

/* Divider closing the subscription section — i.e. under the visually
  last cadence item, immediately above ONE TIME PURCHASES.
  NOTE: it is drawn as a border-TOP on the heading, not a border-bottom
  on the item, and that is deliberate. Style B reorders rows with flex
  `order`, so DOM adjacency is NOT visual adjacency — a selector like
  .rebuy-cart__flyout-item:has(+ .rb-b-head) would match the wrong row
  (or none). The heading is the only element guaranteed to sit at that
  boundary. Same pixel result.

  The ~ combinator means this only fires when a SUBSCRIPTION PURCHASES
  heading exists, so a cart with no subscriptions gets no stray rule
  above its first heading. */
/* Last subscription row — half the usual bottom padding, to tighten the
  space above the ONE TIME divider. The row is tagged in the template
  (.rb-b-last-sub) rather than selected in CSS: flex `order` reorders
  the rows, so ":last" and sibling selectors would pick the wrong one. */
.rebuy-cart [data-rebuy-component="cart-items"] .rebuy-cart__flyout-item.rb-b-last-sub {
 padding-bottom: 9px !important;
}

.rb-b-head--subs ~ .rb-b-head--onetime {
 border-top: 1px solid rgba(29, 44, 78, 0.14);
 padding-top: 10px;
}
.rb-b-head--freq {
 display: inline-flex !important;
 align-items: center;
 list-style: none;
 margin: 0 0 8px;
 padding: 0;
 font-size: 13.5px;
 font-weight: 500;
 line-height: 1.3;
 color: rgb(74, 106, 171);
}


/* ---------- 5. STYLE B — ROW LAYOUT ------------------------------ */
.rebuy-cart__flyout-item > .rebuy-cart__flyout-item-media {
 grid-row: 1 / 2 !important;
 grid-column: 1 / 2 !important;
 align-self: start !important;
 width: 76.5px !important;    /* 85% of 90px */
 height: 76.5px !important;   /* 85% of 90px */
 min-height: 0 !important;
 overflow: hidden !important;
 position: relative !important;
}
.rebuy-cart__flyout-item > .rebuy-cart__flyout-item-media > a {
 display: block !important; position: absolute !important; inset: 0 !important;
 width: 100% !important; height: 100% !important;
}
.rebuy-cart__flyout-item > .rebuy-cart__flyout-item-media img {
 width: 100% !important; height: 100% !important;
 max-width: none !important; max-height: none !important;
 object-fit: cover !important; border-radius: 4px !important; display: block !important;
}
.rebuy-cart__flyout-item > .rebuy-cart__flyout-item-info {
 grid-row: 1 / 2 !important;
 grid-column: 2 / 3 !important;
 width: 100% !important;
 min-width: 0 !important;
 padding-left: 0 !important;
 place-content: unset !important;
}


/* ---------- 6. STYLE B — TITLE ROW + SAVE BADGE ------------------ */
.rb-b__title-row {
 display: flex; align-items: center; justify-content: space-between;
 gap: 8px; min-width: 0; width: 100%;
}
.rb-b__title-row > .rebuy-cart__flyout-item-product-title {
 display: block; flex: 1 1 auto; min-width: 0;
 white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rebuy-cart__flyout-item-save-badge {
 flex: 0 0 auto; display: inline-block;
 background: #111C35; color: #fff;
 font-size: 10px; font-weight: 700; line-height: 1;
 letter-spacing: .03em; text-transform: uppercase;
 padding: 4px 7px; border-radius: 4px; white-space: nowrap;
}


/* ---------- 7. STYLE B — VARIANT + PRICE ROW --------------------- */
.rb-b__meta-row {
 display: flex; align-items: baseline; justify-content: space-between;
 gap: 8px; width: 100%;
}
.rb-b__meta-row > .rebuy-cart__flyout-item-variant-title {
 min-width: 0; color: rgba(29,44,78,.55);
}
.rb-b__meta-row > .rebuy-cart__flyout-item-price { flex: 0 0 auto; margin-left: auto; }
.rb-b__meta-row .rebuy-money.compare-at {
 font-size: 12.5px; color: rgba(29,44,78,.42) !important; text-decoration: line-through;
}


/* ---------- 8. STYLE B — QUANTITY PILL --------------------------- */
.rebuy-cart__flyout-item .rebuy-cart__flyout-item-quantity {
 grid-column: auto !important; grid-row: auto !important; margin-top: 8px !important;
}
.rebuy-cart__flyout-item .rebuy-cart__flyout-item-quantity-widget {
 width: 90px !important; height: 32px !important;
 border-radius: 999px !important; border: 1px solid rgba(29,44,78,.25) !important;
 padding: 0 7px !important; box-sizing: border-box !important;
 display: flex !important; align-items: center !important; justify-content: space-between !important;
 overflow: visible !important;
}
.rebuy-cart__flyout-item .rebuy-cart__flyout-item-quantity-widget-button {
 background: none !important; background-color: transparent !important;
 border: none !important; width: 20px !important; color: #111C35 !important;
}
.rebuy-cart__flyout-item .rebuy-cart__flyout-item-quantity-widget-input,
.rebuy-cart__flyout-item .rebuy-cart__flyout-item-quantity-widget-label {
 font-size: 15px !important; font-weight: 600 !important;
 color: #111C35 !important; text-align: center !important; border: none !important;
}
.rebuy-cart__flyout-item .rebuy-cart__flyout-item-quantity-widget-input {
 background: transparent !important; width: 34px; padding: 0 !important;
}


/* ---------- 9. STYLE B — REMOVE FALLBACK + SUB LINK -------------- */
.rb-b__remove {
 display: inline-flex; align-items: center; gap: 6px;
 margin-top: 8px; padding: 0; background: none; border: none;
 font-size: 13px; font-weight: 500; line-height: 1;
 color: rgba(29,44,78,.55); cursor: pointer;
}
.rb-b__remove:hover { color: #1D2C4E; }

.rebuy-cart__flyout-item .rebuy-cart__flyout-item-subscription {
 grid-column: auto !important; grid-row: auto !important; align-self: auto !important;
}
.rebuy-cart__flyout-item .rb-b__sub-link,
.rebuy-cart__flyout-item .rebuy-cart__flyout-item-subscription button.rb-b__sub-link {
 display: inline-block !important; width: auto !important; height: auto !important;
 margin-top: 6px !important; padding: 0 !important;
 background: none !important; background-color: transparent !important;
 border: none !important; border-radius: 0 !important;
 font-family: inherit !important; font-size: 14px !important; font-weight: 500 !important;
 line-height: 1.3 !important; color: #4A6AAB !important;
 text-align: left !important; text-decoration: underline !important; cursor: pointer !important;
}
.rebuy-cart__flyout-item .rb-b__sub-link[disabled] { opacity: .5 !important; cursor: default !important; }


/* ---------- 10. STYLE B — CART CHROME ---------------------------- */
.rebuy-cart [data-rebuy-cart-anchor="header"] {
 background-color: #ffffff !important;
 border-bottom: 1px solid rgba(29, 44, 78, 0.14) !important;
}
.rebuy-cart [data-rebuy-cart-anchor="header"] :is(
 .rebuy-cart__flyout-title, .rebuy-cart__title, .rebuy-cart__flyout-close) {
 color: #111C35 !important;
}
.rebuy-cart [data-rebuy-cart-anchor="body"] { background-color: #fbfaf7 !important; }

.rebuy-cart [data-rebuy-cart-scroll-area] { background-color: #fcfbf8 !important; }
.rebuy-cart [data-rebuy-cart-anchor="goalBox"] {
 background-color: #F6F4EC !important;
 padding: .5rem 0 1rem !important;
 border-bottom: 1px solid rgba(29,44,78,.14) !important;
}
[data-rebuy-component="progress-bar"] .rebuy-cart__progress-bar-meter {
 height: 5px !important; margin-top: 0 !important; border-radius: 999px !important;
 background: rgba(29,44,78,.12) !important; overflow: hidden !important;
}
[data-rebuy-component="progress-bar"] .rebuy-cart__progress-bar-meter-fill {
 height: 5px !important; padding: 0 !important; border-radius: 999px !important;
 background: linear-gradient(90deg, #1D2C4E 0%, #A8BCD7 100%) !important;
 transition: width .45s cubic-bezier(.4, 0, .2, 1) !important;
}
[data-rebuy-component="progress-bar"] .rebuy-cart__progress-bar-prompt { font-size: 12px !important; }
[data-rebuy-component="progress-bar"] .rebuy-cart__progress-bar-prompt :is(strong, b) { font-weight: 400 !important; }


/* Variant B cross-sell only: 305019. */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="241295"],
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="cross-sell-widget"]:has([data-rebuy-id="241295"]) { display: none !important; }
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"],
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="cross-sell-widget"]:has([data-rebuy-id="305019"]),
:is(.rebuy-cart, #rebuy-cart) .rb-b-xsell { display: block !important; }

/* --- The FBT widget renders .ig-fbt__* markup, not Rebuy's classic
      product grid. Undo the inherited cross-sell rules for it so you
      see the widget rather than 30535's overrides. Scoped to 305019,
      so Style A's cross-sell is untouched. --- */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-widget-container.widget-display-embed.is-visible {
 overflow-y: visible !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] :is(.rebuy-product-block, .rebuy-product-media, .rebuy-product-info, .rebuy-product-actions) {
 display: revert !important;
 grid-template-columns: revert !important;
 grid-template-rows: revert !important;
 grid-row: revert !important;
 grid-column: revert !important;
 width: revert !important;
 height: revert !important;
 padding: revert !important;
 margin: revert !important;
}

/* The base block hides .rebuy-product-review cart-wide. Your FBT shows
  star ratings, so if they vanish in B, uncomment:
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] :is(.rebuy-product-review, .rebuy-review-count) {
 display: revert !important;
}
*/


/* ---------- 12. .value-props — CONTROL ONLY ---------------------- */

:is(.rebuy-cart, #rebuy-cart) .value-props {
 display: none !important;
}







:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="cross-sell-widget"] {
 background-color: #fcfbf8 !important;
}

/* ---- Block ---- */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] {
 font-family: "PP Mori", sans-serif !important;
 color: #111C35 !important;
 padding-bottom: 20px !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-widget-container.widget-display-embed.is-visible { overflow: visible !important; }
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-modal-close { display: none !important; }

/* ---- Header ---- */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] h4.primary-title {
 margin: 0 0 12px !important;
 padding: 20px 0 0 !important;
 border-top: 1px solid rgba(29, 44, 78, .16) !important;
 font-family: "DM Sans", sans-serif !important;
 font-size: 14px !important;
 font-weight: 400 !important;
 line-height: 19.25px !important;
 text-transform: uppercase !important;
 text-align: left !important;        /* widget default is centred */
 color: #111C35 !important;
}

/* ---- Card list: vertical column, 10px gap ---- */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-grid { padding: 0 !important; }
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .splide__track { overflow: visible !important; padding: 0 !important; }
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .splide__list {
 display: flex !important; flex-direction: column !important;
 gap: 10px !important; transform: none !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .splide__slide { width: 100% !important; margin: 0 !important; }

/* ---- Card ---- */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-block {
 display: flex !important;
 flex-direction: row !important;
 flex-wrap: nowrap !important;   /* widget CSS sets wrap -> Add dropped to its own line */
 align-items: center !important;
 gap: 14px !important;
 padding: 12px 14px !important;
 margin: 0 !important;
 background: #ffffff !important;
 border: 1px solid rgba(29, 44, 78, .12) !important;
 border-radius: 12px !important;
 box-shadow: 0 1px 2px rgba(29, 44, 78, .06) !important;
 grid-template-columns: none !important;
 grid-template-rows: none !important;
}

/* ---- Image 52x52 ---- */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-media {
 flex: 0 0 52px !important;
 width: 52px !important; height: 52px !important;
 grid-row: auto !important; grid-column: auto !important;
 border-radius: 8px !important;
 background: #f2efe6 !important;
 overflow: hidden !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-media a.rebuy-product-image {
 display: block !important; width: 100% !important; height: 100% !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-media img {
 width: 100% !important; height: 100% !important;
 max-width: none !important; max-height: none !important;
 object-fit: cover !important; border-radius: 8px !important; display: block !important;
}

/* ---- Info: title on its own line, rating + price on the next ---- */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-info {
 flex: 1 1 auto !important;
 display: flex !important; flex-wrap: wrap !important;
 align-items: baseline !important;
 column-gap: 9px !important; row-gap: 3px !important;
 min-width: 0 !important; width: auto !important; padding: 0 !important;
 grid-row: auto !important; grid-column: auto !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] h5.rebuy-product-title {
 flex: 1 0 100% !important;
 margin: 0 !important; padding: 0 !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] h5.rebuy-product-title,
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] a.rebuy-product-title-link {
 font-family: "PP Mori", sans-serif !important;
 font-size: 14px !important;
 font-weight: 600 !important;
 line-height: 1.3 !important;
 color: #111C35 !important;
 text-decoration: none !important;
}

/* ---- Rating: single star glyph + numeric score ----
  The widget renders a 5-star SPRITE (.rebuy-star-rating-background /
  -foreground); the number exists only inside .rebuy-star-rating-value,
  which is .sr-only and reads "4.8 stars out of 5 stars".
  So: hide the sprite, draw one star with ::before, un-hide the value
  and clip it to its first 3 characters.
  FRAGILE BIT -> the 3ch clip. A score like "5" shows "5", "4.85" shows
  "4.8". If your ratings render oddly, widen or remove that width. */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-review {
 display: inline-flex !important;
 align-items: center !important;
 gap: 4px !important;
 margin: 0 !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-star-rating {
 display: inline-flex !important;
 align-items: center !important;
 gap: 4px !important;
 position: static !important;
 width: auto !important;
 height: auto !important;
 min-width: 0 !important;    /* widget reserves width for the 5-star sprite */
 max-width: none !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-review { min-width: 0 !important; }
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-star-rating::before {
 content: "\2605";
 font-size: 13px;
 line-height: 1;
 color: #1D2C4E;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] :is(.rebuy-star-rating-background, .rebuy-star-rating-foreground) {
 display: none !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-star-rating-value {
 position: static !important;
 clip: auto !important;
 clip-path: none !important;
 display: inline-block !important;
 /* The string is "4.8 stars out of 5 stars". Rather than clipping by
    character width (3ch measured wider than 3 glyphs in PP Mori and
    leaked "4.8 s"), the box is narrowed until the text WRAPS at its
    first space, then only the first line is shown. 2.4em is wider than
    "4.8" and far narrower than "4.8 stars" in any font, so the first
    line is always just the score. */
 width: 2.4em !important;
 height: auto !important;        /* .sr-only pins height:1px — must be undone */
 max-height: 1.1em !important;
 /* The 2.4em box is deliberately wider than "4.8" so the string wraps
    at its first space — but that leaves ~13px of empty box before the
    price. The negative right margin reclaims it WITHOUT narrowing the
    box, so the wrap point is untouched and only the price shifts left. */
 margin: 0 -0.85em 0 0 !important;
 overflow: hidden !important;
 white-space: normal !important;
 word-break: normal !important;
 font-size: 13px !important;
 font-weight: 600 !important;
 line-height: 1.1 !important;
 color: #1D2C4E !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-review-count { display: none !important; }

/* ---- Price ---- */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-price { margin: 0 !important; }
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-price .rebuy-money {
 font-size: 15px !important;
 font-weight: 600 !important;
 color: #111C35 !important;
}

/* ---- Actions: Add pill only ----
  NOTE: .subscription-checkbox lives INSIDE .rebuy-product-actions, so
  the card cannot match the reference without hiding it. This REMOVES
  the "Upgrade to Subscription and Save 5%" upsell from the FBT cards.
  Delete this one rule to bring it back. */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-actions .subscription-checkbox { display: none !important; }

:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-actions {
 flex: 0 0 auto !important;
 width: auto !important; padding: 0 !important; margin: 0 !important;
 grid-row: auto !important; grid-column: auto !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-actions .rebuy-button {
 display: inline-flex !important;
 align-items: center !important; justify-content: center !important;
 height: 32px !important;
 padding: 0 18px !important;
 width: auto !important;
 background: #ffffff !important;
 border: 1px solid rgba(29, 44, 78, .30) !important;
 border-radius: 999px !important;
 font-family: "PP Mori", sans-serif !important;
 font-size: 14px !important;
 font-weight: 500 !important;
 line-height: 1 !important;
 color: #111C35 !important;
 white-space: nowrap !important;
 transition: background .15s ease, border-color .15s ease !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-actions .rebuy-button:hover {
 background: #f8fafc !important;
 border-color: rgba(29, 44, 78, .45) !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-actions .rebuy-button:is(:disabled, [disabled], .is-adding, .adding) {
 opacity: .6 !important;
}

/* ---- Button label: "Supply" -> "Add" ----
  CSS cannot change text, so the real label is zeroed and a new one
  painted. The button's accessible name is unaffected. PREFER changing
  the label on the widget in Rebuy and deleting this. */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-actions .rebuy-button > span { font-size: 0 !important; }
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-id="305019"] .rebuy-product-actions .rebuy-button > span::after {
 content: "Add";
 font-size: 14px !important;
 font-weight: 500 !important;
}


/* ==================================================================
  14. STYLE B — SUBTOTAL
  ------------------------------------------------------------------
  Pairs with 35694-subtotal.html.

  THE FOOTER BACKGROUND IS INCLUDED ON PURPOSE. 30535 paints the footer
  navy (#111C35) with near-white text. B's subtotal type is dark
  (#111C35 / navy-42%), which would be invisible on that. The two
  cannot be separated, so the footer surface flips with it.

  NOT included: the checkout button and express-wallet row, which are
  still 30535's. Those are the next chunk of chrome.
  ================================================================== */

/* ---- Footer surface ---- */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-cart-anchor="footer"] {
 background-color: #F6F4EC !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-cart-anchor="footer"] .rebuy-cart__flyout-subtotal {
 color: #111C35 !important;
 font-weight: 500 !important;
 font-size: 1rem !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-cart-anchor="footer"] .rebuy-cart__flyout-subtotal-final-amount {
 color: #111C35 !important;
}

/* ---- Component padding ---- */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="cart-subtotal"] {
 padding: 1rem 1.25rem .5rem !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="cart-subtotal"] .rebuy-cart__flyout-subtotal-label {
 color: #111C35 !important;
 font-weight: 500 !important;
}

/* ---- "(X items)" count ---- */
:is(.rebuy-cart, #rebuy-cart) .rebuy-cart__subtotal-text { margin-right: 4px !important; }
:is(.rebuy-cart, #rebuy-cart) .rebuy-cart__subtotal-count {
 font-family: "PP Mori", sans-serif !important;
 font-size: 14px !important;
 font-weight: 400 !important;
 letter-spacing: 0 !important;
 color: rgba(29, 44, 78, .42) !important;
}

/* ---- Amounts: compare BEFORE final ----
  subtotal() emits both prices inside one classless wrapper span, so the
  swap is done with flex `order` on that wrapper's children. */
:is(.rebuy-cart, #rebuy-cart) .rebuy-cart__flyout-subtotal-amount {
 display: inline-flex !important;
 align-items: baseline !important;
 gap: 8px !important;
}
:is(.rebuy-cart, #rebuy-cart) .rebuy-cart__flyout-subtotal-amount > span:not(.sr-only),
:is(.rebuy-cart, #rebuy-cart) .rebuy-cart__subtotal-with-discounts-row-amount > span:not(.sr-only) {
 display: inline-flex !important;
 align-items: baseline !important;
 gap: 6px !important;
}
:is(.rebuy-cart, #rebuy-cart) .rebuy-cart__flyout-subtotal-compare-amount { order: 1 !important; }
:is(.rebuy-cart, #rebuy-cart) .rebuy-cart__flyout-subtotal-final-amount { order: 2 !important; }

/* Compare amount styled like the count. The base sets it to #00b1ff with
  !important, so these have to be at least as specific AND later. */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-cart-anchor="footer"] .rebuy-cart__flyout-subtotal-amount .rebuy-cart__flyout-subtotal-compare-amount,
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-cart-anchor="footer"] .rebuy-cart__subtotal-with-discounts-row-amount .rebuy-cart__flyout-subtotal-compare-amount,
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="cart-subtotal"] .rebuy-cart__flyout-subtotal-compare-amount {
 font-family: "PP Mori", sans-serif !important;
 font-size: 14px !important;
 font-weight: 400 !important;
 letter-spacing: 0 !important;
 color: rgba(29, 44, 78, .42) !important;
 text-decoration: line-through !important;
}


/* ==================================================================
  15. STYLE B — CHECKOUT BUTTON
  ------------------------------------------------------------------
  Background per spec: rgb(29, 44, 78).

  THE TEXT COLOUR HAS TO FLIP WITH IT. 30535 paints this button
  #91CAEA with #111C35 text — navy text on the new navy fill would be
  unreadable, so the label goes white. Same reason the header rule in
  section 11 carries a colour.

  The 30535 hover (navy fill / light-blue text) would also collapse
  into the new background, so it gets a subtle darken instead.

  NOT changed: height, radius, font-size, and the express-wallet row —
  all still 30535's. 34954 has this as a 52px 999px-radius pill with a
  2-up wallet grid; say the word and I'll port that too. */

:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] .rebuy-button,
:is(.rebuy-cart, #rebuy-cart) .rebuy-cart__checkout-button.rebuy-button {
 background: rgb(29, 44, 78);
 background-color: rgb(29, 44, 78);
 color: #ffffff !important;
 border-color: rgb(29, 44, 78) !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] .rebuy-button span,
:is(.rebuy-cart, #rebuy-cart) .rebuy-cart__checkout-button.rebuy-button span {
 color: #ffffff !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] .rebuy-button:hover,
:is(.rebuy-cart, #rebuy-cart) .rebuy-cart__checkout-button.rebuy-button:hover {
 background: #17233f !important;
 background-color: #17233f !important;
 color: #ffffff !important;
}







:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] .rb-b-only { display: flex !important; }

/* ---- Reorder ----
  DOM order is A's. Everything defaults to 60 so unclassed children
  (installments, the pre-purchase mount) keep their relative DOM order,
  and only the pieces that move get explicit values. */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] {
 display: flex !important;
 flex-direction: column !important;
 gap: 5px !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] > * { order: 60; }
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] > .rebuy-cart__flyout-terms { order: 0; }
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] > [data-rebuy-cart-additional-checkout-buttons] { order: 10; }
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] > .rebuy-cart__or-divider { order: 20; }
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] > .rebuy-cart__checkout-button { order: 30; }
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] > .rebuy-cart__view-cart-button { order: 40; }
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] > .rebuy-cart__continue-shopping-button { order: 50; }
/* Shop Pay is an express option, so in B it sits in the express slot
  above the "or" divider rather than at the bottom of the stack. If both
  it and the wallets render, DOM order puts Shop Pay first. */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] > .rebuy-cart__shop-pay-button { order: 10; }

/* ---- Express wallet row ---- */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] > [data-rebuy-cart-additional-checkout-buttons],
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] #rebuy-additional-checkout-buttons {
 margin: 0 0 8px !important;
}
/* NOTE: no `display` here on purpose. #rebuy-additional-checkout-buttons
  carries an ID, so a display rule on this selector computes to (2,1,0)
  and would beat the empty-mount hide above — forcing an empty box to
  render. Rebuy already shows/hides the mount itself; this only sizes it. */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] [data-rebuy-cart-additional-checkout-buttons],
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] #rebuy-additional-checkout-buttons {
 width: 100% !important;
 max-width: 100% !important;
 margin: 0 !important;
 padding: 0 !important;
 overflow: hidden !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] #rebuy-additional-checkout-buttons > shopify-accelerated-checkout,
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] #rebuy-additional-checkout-buttons > shopify-accelerated-checkout-cart {
 --shopify-accelerated-checkout-button-block-size: 42px;
 --shopify-accelerated-checkout-button-inline-size: 42px;
 --shopify-accelerated-checkout-button-border-radius: 999px;
 --shopify-accelerated-checkout-button-box-shadow: none;
 --shopify-accelerated-checkout-inline-alignment: space-between;
 --shopify-accelerated-checkout-row-gap: 8px;
 display: block !important;
 width: 100% !important;
 max-width: 100% !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] #rebuy-additional-checkout-buttons .wallet-cart-grid {
 display: grid !important;
 grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
 gap: 8px !important;
 width: 100% !important;
 max-width: 100% !important;
 max-height: 42px !important;
 overflow: hidden !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] #rebuy-additional-checkout-buttons :is(.wallet-cart-button-container, .wallet-cart-button) {
 width: 100% !important;
 max-width: 100% !important;
 min-width: 0 !important;
 height: 42px !important;
 border-radius: 999px !important;
 overflow: hidden !important;
}

/* ---- Empty-wallet fallback: REMOVED ----
  Previously the mount and the "or" divider self-hid while the wallet
  mount had no children. Both settings are on merchant-side, so the
  mount is now forced visible instead (see below) — partly so an empty
  box is obvious rather than silently suppressed, and partly because
  some accelerated-checkout implementations skip initialising inside a
  display:none element, which the mount was computing to. */

/* Shop Pay counts as express payment, so the divider is meaningful even
  with an empty wallet mount. This sits AFTER the empty-wallet rules and
  ties them on specificity, so source order wins. The button carries
  v-if="hasShopPayButton()" — if it is off, it is not in the DOM, :has()
  fails, and the divider stays hidden.
  .rb-b-only is repeated in the selector purely for weight: the
  empty-wallet hide above computes to (1,4,0), so this has to match it
  and win on source order. Keep this rule BELOW that one. */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"]:has(> .rebuy-cart__shop-pay-button) .rebuy-cart__or-divider.rb-b-only {
 display: flex !important;
}


:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] [data-rebuy-cart-additional-checkout-buttons][data-rebuy-cart-additional-checkout-buttons],
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] #rebuy-additional-checkout-buttons {
 display: block !important;
 visibility: visible !important;
 position: static !important;
 left: auto !important;
 top: auto !important;
 height: auto !important;
 min-height: 0 !important;
 max-height: none !important;
 overflow: visible !important;
 opacity: 1 !important;
 z-index: auto !important;
 pointer-events: auto !important;
}

/* ---- "or" divider ---- */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] .rebuy-cart__or-divider {
 align-items: center !important;
 gap: 12px !important;
 margin: 5px 0 !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] .rebuy-cart__or-divider::before,
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] .rebuy-cart__or-divider::after {
 content: "";
 flex: 1;
 height: 1px;
 background: rgba(29, 44, 78, .18);
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] .rebuy-cart__or-divider span {
 font-size: 12px !important;
 color: rgba(29, 44, 78, .45) !important;
 text-transform: none !important;
 white-space: nowrap !important;
}

/* ---- Checkout button geometry ----
  Section 15 already set the fill to rgb(29,44,78). 34954 also makes it
  a 52px pill; included here so the button doesn't read half-converted
  next to the new pill wallets. Delete this rule to keep 30535's 48px
  square-cornered button. */
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] .rebuy-cart__checkout-button.rebuy-button {
 display: flex !important;
 align-items: center !important;
 justify-content: center !important;
 width: 100% !important;
 height: 42px !important;
 padding: 0 !important;
 border: none !important;
 border-radius: 999px !important;
 font-size: 16px !important;
 font-weight: 600 !important;
 line-height: 1 !important;
}
:is(.rebuy-cart, #rebuy-cart) [data-rebuy-component="checkout-area"] .rebuy-cart__checkout-button.rebuy-button:disabled {
 opacity: .5 !important;
 cursor: not-allowed !important;
}

/* Direct-child structure in the B-only template. */
.rebuy-cart [data-rebuy-component="cart-items"] > ul[data-smartcart-items] > .rebuy-cart__flyout-item > .rebuy-cart__flyout-item-info { min-width: 0; }
