/* ============================================================
   Shared stylesheet for homepage + non-LUBA pages
   Covers: destockage banner, toast, empty cart drawer,
   suppression of the Klaviyo email-signup popup, mobile menu,
   dropdown menu fixes, scroll-perf hardening.
   ============================================================ */

/* --- Scroll perf: disable will-change on the body and add containment.
       Fixes micro-freezes from heavy on-scroll repaints. --- */
html { scroll-behavior: auto; }
html, body {
  /* Lock the page to the viewport horizontally — no accidental sideways scroll */
  max-width: 100vw;
  overflow-x: hidden;
  /* Disable iOS double-tap zoom and pinch-zoom that gets fired by accident */
  touch-action: pan-y manipulation;
  -webkit-text-size-adjust: 100%;
}
body {
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
}
[hidden] { content-visibility: hidden; }

/* ============================================================
   SCROLL JANK KILLER
   Force all reveal-on-scroll, parallax, and effect classes to their
   FINAL state. This eliminates the scroll-bound style/layout work that
   was causing the saccadé / freeze behavior on mobile.
   ============================================================ */
[data-sequence],
[data-sequence] *,
.reveal,
.reveal-on-scroll,
.split-lines,
split-lines,
.fade-in,
.fade-up,
.zoom-in,
.zoom-out,
.parallax,
[data-aos],
[data-reveal],
[reveal-on-scroll] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: none !important;
  animation: none !important;
  will-change: auto !important;
  filter: none !important;
}
/* Kill heavy GPU filters that thrash on scroll */
*,
*::before,
*::after {
  /* Backdrop-filter is the #1 cause of scroll jank on mobile Safari */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* Disable parallax on the slideshow / before-after / zoom-out-in scroll-bound sections */
[reveal-on-scroll],
slideshow-carousel[reveal-on-scroll] {
  --reveal-distance: 0 !important;
  --reveal-duration: 0s !important;
}
/* Smooth scrolling inside the swipers should not propagate to the page */
.swiper, .swiper-wrapper, .swiper-slide { overscroll-behavior: contain; }
/* Stop expensive transition repaints during user scroll */
@media (max-width: 1024px) {
  .ace,
  .ace-icon,
  .banner_text,
  .zoom-out-in-text,
  .zoom-out-in-text-mo,
  .zoom-out-in-follow-text-mo,
  .ba-text-before,
  .ba-text-after,
  .ba-divider,
  .new-swiper-content {
    will-change: auto !important;
  }
}
/* Mark frequently-redrawn fixed regions as their own layer to avoid full-document repaint.
   product-quick-add is INTENTIONALLY excluded — `contain: paint` was clipping the sticky
   bottom-bar's fixed-position children, making it render behind the page. */
.redesign-destockage,
.rd-cart-drawer,
.rd-mobile-menu,
.rd-toast-stack {
  contain: layout paint style;
  transform: translateZ(0);
}
/* Sticky ATC visibility — hidden when main ATC is on screen, slides up when it leaves view */
product-quick-add {
  transition: transform .28s cubic-bezier(.4,0,.2,1), opacity .22s ease !important;
  z-index: 90 !important; /* above page content but below the cart drawer (9999) and mobile menu (9997) */
}
product-quick-add.rd-sticky-hidden {
  transform: translateY(110%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* --- Site-wide cart icon swap: replace the native shopify cart-list icon with the LUBA shopping-bag.
       Done in pure CSS so the new icon shows immediately on first paint — no flash of the old icon. --- */
svg.icon.icon-cart,
svg.icon-cart {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/><line x1='3' y1='6' x2='21' y2='6'/><path d='M16 10a4 4 0 0 1-8 0'/></svg>") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  /* Slightly larger to match LUBA's icon proportion */
  min-width: 22px;
  min-height: 22px;
}
/* Hide the original native paths painted inside the SVG so only the background icon shows */
svg.icon.icon-cart > *,
svg.icon-cart > * { opacity: 0 !important; visibility: hidden !important; }

/* --- Hide the header "loupe" search button (does nothing — search is reachable from the side menu) --- */
a[aria-controls="search-drawer"],
.header__icon-list a[href$="/search"],
.header__icon-list a[href*="/search"] { display: none !important; }

/* --- Hide the account icon next to the cart (account is unavailable during destockage) --- */
hover-popup,
.rd-acct-trigger,
.header__icon-list .icon-account,
.header__icon-list a[href$="/account"],
.header__icon-list a[href*="/account"] { display: none !important; }
.header__secondary-nav .icon-account { display: none !important; }
/* Re-center the header: 3 equal columns become 1fr | auto | 1fr around the centered logo */
store-header .header__wrapper,
.header .header__wrapper {
  --header-grid-template: "main-nav logo secondary-nav" / minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
}
.header__main-nav { justify-self: start !important; }
.header__secondary-nav { justify-self: end !important; }
.header__logo { justify-self: center !important; }

/* --- Header sizing — match the Ticketster-style proportions --- */
store-header,
.header,
[id^="shopify-section-sections-"][id*="__header"] {
  --header-padding-block: 14px !important;
  --header-height: 70px !important;
}
store-header .header__wrapper,
.header .header__wrapper { padding-block: 14px !important; min-height: 70px !important; height: 70px !important; }
[id^="shopify-section-sections-"][id*="__header"] { height: 70px !important; min-height: 70px !important; }
.header__logo-image { max-height: 40px !important; height: auto !important; width: auto !important; }
.header__icon-list { gap: 8px !important; }
/* Trim padding around the gallery — push it close under the header */
#main { padding-top: 0 !important; }
.shopify-section--main-product { padding-top: 0 !important; margin-top: 0 !important; }
.shopify-section--main-product .product-media-wrapper { margin-top: 0 !important; padding-top: 0 !important; }
.product-gallery__media-list-wrapper { padding-top: 0 !important; margin-top: 0 !important; }
/* The shopify .section-settings has 16px margin-block-start that creates a visible gap above the gallery */
.shopify-section--main-product .section-settings,
.shopify-section--main-product .section {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.shopify-section--main-product .product { margin-top: 0 !important; padding-top: 0 !important; }

/* --- Kill the "Devenez membre" hover popup on the account icon --- */
/* High-specificity override to beat the theme's `#shopify-section-...__header hover-popup[ready] [slot="content"]` rule */
html body hover-popup [slot="content"],
html body hover-popup > [slot="content"],
html body hover-popup[ready] [slot="content"],
html body hover-popup .popup-content,
#shopify-section-sections--25770480959777__header hover-popup [slot="content"],
#shopify-section-sections--25770480959777__header hover-popup[ready] [slot="content"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
hover-popup { display: inline-block !important; pointer-events: auto !important; }
hover-popup [slot="trigger"] { pointer-events: auto !important; }

/* --- Kill the Shopify native drawers (they trap touch events on mobile
       even when invisible, breaking scroll). We use our own drawer. --- */
cart-drawer,
search-drawer,
#cart-drawer,
#search-drawer,
div[id$="__cart-drawer"] cart-drawer,
div[id$="__search-drawer"] search-drawer { display: none !important; }
/* Hide native mobile nav drawer (we render our own) */
navigation-drawer,
#header-sidebar-menu,
div[id$="__header"] navigation-drawer { display: none !important; }
html, body { overscroll-behavior: auto; }
body:not(.rd-cart-open):not(.rd-mm-open) { overflow: auto !important; }

/* --- Hide the Klaviyo popup everywhere --- */
[class*="klaviyo-form-"],
[class*="klaviyo-modal"],
[class*="klaviyo-popup"],
div[class*="needsclick"][class*="kl-private-reset-css-"],
iframe[src*="klaviyo.com"],
.klaviyo-outer-wrapper,
.kl-modal,
#klaviyo-form-VJdFhU,
div[data-klaviyo-form],
.klaviyo-close-form,
.klaviyo-form-version-cid-1 { display: none !important; visibility: hidden !important; }
html.klaviyo-form-opened,
body.klaviyo-form-opened,
html.kl-open,
body.kl-open { overflow: auto !important; }

/* --- Destockage banner --- */
/* Reserve space at the top of every page to avoid layout shift when the JS-injected banner mounts.
   The body::before placeholder draws an instant black bar on first paint; once the .redesign-destockage
   element is mounted (still by JS, but EARLY — before onReady), the placeholder hides itself. */
body:not(:has(.redesign-destockage))::before {
  content: "";
  display: block;
  width: 100%;
  height: 38px;
  background: #0b0b0b;
}
.redesign-destockage {
  background: #0b0b0b;
  color: #fff;
  text-align: center;
  padding: 9px 14px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  position: relative;
  z-index: 50;
  line-height: 1.35;
}
.redesign-destockage span { display: inline-flex; align-items: center; gap: 6px; }
.redesign-destockage .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff; display: inline-block;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: rd-pulse 1.6s infinite;
}
@keyframes rd-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
  70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Hide original Mammotion announcement bar on all shared pages */
#shopify-section-sections--25770480959777__announcement-bar { display: none !important; }

/* ------ Dropdown / mega-menu fix: ensure they actually display when open ------ */
details.disclosure-details > .dropdown-menu,
details.disclosure-details > .mega-menu {
  display: none;
}
details.disclosure-details[open] > .dropdown-menu,
details.disclosure-details[open] > .mega-menu {
  display: block;
}
details.disclosure-details > summary {
  list-style: none;
  cursor: pointer;
}
details.disclosure-details > summary::-webkit-details-marker { display: none; }
details.disclosure-details[open] > summary .icon-chevron-bottom {
  transform: rotate(180deg);
  transition: transform .2s ease;
}
/* Position the dropdown panel below the trigger */
details.disclosure-details {
  position: relative;
}
details.disclosure-details > .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 240px;
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  padding: 8px;
  margin-top: 8px;
}
details.disclosure-details > .dropdown-menu .dropdown-menu__item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #111;
  text-decoration: none;
  font-size: .95rem;
  line-height: 1.3;
}
details.disclosure-details > .dropdown-menu .dropdown-menu__item:hover {
  background: #f3f4f6;
}

/* ------ Toast stack ------ */
.rd-toast-stack {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: min(520px, calc(100vw - 24px));
}
.rd-toast {
  pointer-events: auto;
  background: #fff5f5;
  border: 1px solid #f8c9cd;
  color: #c0142b;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.35;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform .14s ease-out, opacity .14s ease-out;
}
.rd-toast.is-visible { transform: translateY(0); opacity: 1; }
.rd-toast .rd-toast-icon {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  background: #c0142b;
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
}
.rd-toast .rd-toast-title { font-weight: 700; margin-right: 4px; }
.rd-toast .rd-toast-close {
  margin-left: auto;
  appearance: none; border: 0; background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 2px;
}

/* ------ Mobile menu ------ */
.rd-mobile-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9996;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.rd-mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(360px, 92vw);
  background: #fff;
  z-index: 9997;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0,0,0,.18);
}
body.rd-mm-open .rd-mobile-backdrop { opacity: 1; pointer-events: auto; }
body.rd-mm-open .rd-mobile-menu { transform: translateX(0); }
body.rd-mm-open { overflow: hidden; }

.rd-mm-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #eef0f2;
}
.rd-mm-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
  letter-spacing: .2px;
}
.rd-mm-close {
  appearance: none; border: 0; background: transparent;
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #111;
}
.rd-mm-close:hover { background: #f2f4f7; }

.rd-mm-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 16px 8px;
  background: #f6f7f9;
  border: 1px solid #e6e8eb;
  border-radius: 10px;
  padding: 10px 12px;
}
.rd-mm-search svg { color: #6b7280; flex: 0 0 auto; }
.rd-mm-search input {
  flex: 1 1 auto;
  appearance: none;
  border: 0;
  background: transparent;
  font-size: .95rem;
  outline: none;
  color: #111;
}
.rd-mm-search button {
  appearance: none; border: 0;
  background: #0b0b0b;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.rd-mm-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 12px 24px;
}
.rd-mm-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rd-mm-nav li > a,
.rd-mm-nav .rd-mm-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
}
.rd-mm-nav li > a:hover,
.rd-mm-nav .rd-mm-toggle:hover { background: #f2f4f7; }
.rd-mm-nav .rd-mm-toggle svg { transition: transform .2s ease; }
.rd-mm-nav .rd-mm-toggle.is-open svg { transform: rotate(180deg); }
.rd-mm-sub {
  display: none;
  padding-left: 8px;
  margin-bottom: 4px;
}
.rd-mm-sub.is-open { display: block; }
.rd-mm-sub a {
  display: block;
  padding: 11px 14px;
  font-size: .92rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  border-radius: 8px;
}
.rd-mm-sub a:hover { background: #f2f4f7; color: #111; }
/* Promo badge inside menu item */
.rd-mm-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: #e11d48;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .5px;
  border-radius: 999px;
  vertical-align: middle;
}

/* Simple black destockage banner at the top of the mobile menu */
.rd-mm-strip {
  background: #0b0b0b;
  color: #fff;
  text-align: center;
  padding: 9px 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  line-height: 1.35;
}
.rd-mm-strip span { display: inline-flex; align-items: center; gap: 6px; }
.rd-mm-strip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: rd-pulse 1.6s infinite;
}

/* ------ Cart drawer (empty / upsell variant) ------ */
.rd-cart-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.48);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.rd-cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  height: 100%;
  height: 100dvh; /* iOS dynamic viewport — accounts for the URL bar */
  max-height: 100vh;
  max-height: 100dvh;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,.18);
  overflow: hidden; /* container does not scroll — only inner body does */
}
body.rd-cart-open .rd-cart-backdrop { opacity: 1; pointer-events: auto; }
body.rd-cart-open .rd-cart-drawer { transform: translateX(0); }
/* iOS-friendly body scroll lock — preserves current scroll position.
   We do NOT add `touch-action: none` here because it would also block the drawer's
   internal scroll. Body `overflow: hidden` + drawer `overscroll-behavior: contain`
   is enough to prevent rubber-band scroll behind the drawer. */
body.rd-cart-open { overflow: hidden !important; }
html.rd-cart-open { overflow: hidden !important; }
/* The cart body fills the remaining height with internal scroll;
   header + footer stay pinned via flex layout above. */
.rd-cart-drawer .rd-cart-body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
}
.rd-cart-drawer .rd-cart-timer,
.rd-cart-drawer .rd-cart-header,
.rd-cart-drawer .rd-cart-footer { flex: 0 0 auto !important; }

.rd-cart-timer {
  background: #0b0b0b;
  color: #fff;
  padding: 11px 14px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rd-cart-timer svg { color: #fff; flex: 0 0 auto; }
.rd-cart-timer .rd-clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  padding: 3px 10px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  margin-left: 4px;
}
.rd-cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #eef0f2;
}
.rd-cart-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
}
.rd-cart-close {
  appearance: none; border: 0; background: transparent;
  cursor: pointer;
  width: 34px; height: 34px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #111;
}
.rd-cart-close:hover { background: #f2f4f7; }
.rd-cart-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 20px 18px;
}

/* Real cart items list (rendered when localStorage has items) */
.rd-cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.rd-cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e6e8eb;
  border-radius: 12px;
  align-items: center;
  position: relative;
}
.rd-cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8faf9;
  padding: 4px;
  flex: 0 0 auto;
}
.rd-cart-item-body {
  flex: 1 1 auto;
  min-width: 0;
}
.rd-cart-item-title {
  font-size: .92rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin-bottom: 4px;
}
.rd-cart-item-qty {
  font-size: .76rem;
  color: #6b7280;
  margin-bottom: 4px;
}
.rd-cart-item-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: .9rem;
}
.rd-cart-item-sale {
  font-weight: 800;
  color: #e11d48;
}
.rd-cart-item-compare {
  font-size: .8rem;
  color: #9ca3af;
  text-decoration: line-through;
}
.rd-cart-item-remove {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  background: transparent;
  color: #9aa0a6;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease;
}
.rd-cart-item-remove:hover {
  background: #fef2f2;
  color: #b91c1c;
}
.rd-cart-totals {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 4px 4px;
  border-top: 1px solid #eef0f2;
}
.rd-cart-totals-label {
  font-size: .9rem;
  font-weight: 700;
  color: #4b5563;
  letter-spacing: .3px;
}
.rd-cart-totals-value {
  font-size: 1.15rem;
  font-weight: 900;
  color: #111;
  font-variant-numeric: tabular-nums;
}

.rd-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 8px;
  gap: 14px;
}
.rd-cart-empty svg {
  width: 64px; height: 64px;
  color: #d1d5db;
}
.rd-cart-empty h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
}
.rd-cart-empty p {
  margin: 0;
  font-size: .9rem;
  color: #6b7280;
  line-height: 1.45;
}

.rd-upsell {
  margin-top: 4px;
  border: 1px solid #e6ebe8;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8faf9 0%, #f2f6f4 100%);
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
  width: 100%;
  text-decoration: none;
}
.rd-upsell img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
  flex: 0 0 auto;
}
.rd-upsell-info {
  flex: 1 1 auto;
  min-width: 0;
}
.rd-upsell-title {
  margin: 0 0 4px;
  font-size: .92rem;
  font-weight: 800;
  color: #111;
  line-height: 1.25;
}
.rd-upsell-prices {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.rd-upsell-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: #e11d48;
}
.rd-upsell-compare {
  font-size: .8rem;
  color: #9aa0a6;
  text-decoration: line-through;
}
.rd-upsell-chip {
  display: inline-block;
  font-size: .65rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  padding: 2px 7px;
  border-radius: 999px;
  margin-top: 4px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.rd-cart-footer {
  border-top: 1px solid #eef0f2;
  padding: 14px 18px 18px;
  background: #fff;
}
.rd-cta-btn {
  width: 100%;
  appearance: none; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #1f2937 0%, #0b0b0b 100%);
  color: #fff;
  border-radius: 12px;
  padding: 15px 20px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .3px;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .08s ease, box-shadow .15s ease;
}
.rd-cta-btn:hover {
  box-shadow: 0 8px 22px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.15);
  transform: translateY(-1px);
  color: #fff;
}
/* Loading state on Pay buttons (Fantom redirect in flight) — grey out + spinner */
.rd-cta-btn.is-loading,
.rd-pay-btn.is-loading,
[data-rd-checkout].is-loading {
  pointer-events: none !important;
  cursor: wait !important;
  background: linear-gradient(180deg, #6b7280 0%, #4b5563 100%) !important;
  color: rgba(255,255,255,.85) !important;
  box-shadow: none !important;
  transform: none !important;
}
.rd-cta-btn.is-loading > svg,
.rd-pay-btn.is-loading > svg,
[data-rd-checkout].is-loading > svg { display: none !important; }
.rd-cta-btn.is-loading::before,
.rd-pay-btn.is-loading::before,
[data-rd-checkout].is-loading::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  border-radius: 50%;
  animation: rd-pay-spin 0.7s linear infinite;
  margin-right: 10px;
  vertical-align: -3px;
  flex: 0 0 auto;
}
@keyframes rd-pay-spin { to { transform: rotate(360deg); } }
.rd-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 10px;
  color: #4b5563;
  font-size: .78rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.35;
}
.rd-secure svg { color: #00b67a; flex: 0 0 auto; }

.rd-cart-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e6e8eb;
}
.rd-cart-payments .rd-pay-label {
  width: 100%;
  text-align: center;
  font-size: .72rem;
  color: #6b7280;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 4px;
}
.rd-cart-payments .rd-pay-ic {
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  background: #fff;
  border: 1px solid #e6e8eb;
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.rd-cart-payments .rd-pay-ic img,
.rd-cart-payments .rd-pay-ic svg { display: block; height: 18px; width: auto; }
