/* Boutique IPL visual refresh. Presentation only: cart, checkout and tracking stay in store.js. */
:root {
  --ink: #29242b;
  --muted: #716a70;
  --accent: #854a62;
  --pale: #f7e9ee;
  --line: #e9dedf;
  --canvas: #fbf8f6;
}
html { scroll-behavior: smooth; }
body { background: var(--canvas) !important; color: var(--ink) !important; }
.container { max-width: 1320px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #9d5675 !important; outline-offset: 3px; }

/* A quiet, clear storefront header. */
.top-trust-bar { background: #392934 !important; border: 0 !important; color: #f9eef1 !important; }
.top-trust-inner strong { color: #fff !important; }
.trust-icon { color: #eebac9 !important; }
.header { background: rgba(255,253,251,.96) !important; border-bottom: 1px solid var(--line) !important; }
.header-inner { height: 74px !important; }
.desktop-nav .nav-link { color: var(--ink) !important; font-weight: 650 !important; }
.desktop-nav .nav-link:hover { color: var(--accent) !important; }
.cart-trigger { background: var(--ink) !important; border-radius: 999px !important; padding: 10px 18px !important; }
.cart-trigger:hover { background: var(--accent) !important; }
.nav-badge-pill { background: #f6e8ed !important; border-color: #eacbd5 !important; color: #79445c !important; }

/* Editorial hero with product imagery that exists in the catalogue. */
.hero { position: relative; overflow: hidden; background: #f4e9e7 !important; color: var(--ink) !important; }
.hero::before { content: ""; position: absolute; inset: auto auto -185px -125px; width: 530px; height: 530px; border-radius: 50%; background: #f9f1ed; }
.hero-grid { position: relative; min-height: 540px !important; grid-template-columns: 1.08fr .92fr !important; gap: 48px !important; }
.hero-copy { padding: 76px 0 !important; }
.hero-pill-tag { display: inline-flex !important; align-items: center; margin: 0 0 19px !important; padding: 0 !important; border: 0 !important; background: none !important; color: var(--accent) !important; letter-spacing: .14em !important; font-size: 11px !important; }
.hero h1 { max-width: 700px; margin: 0 0 22px !important; color: #322830 !important; font: 600 clamp(46px,5.2vw,76px)/1.035 Georgia,serif !important; letter-spacing: -.047em !important; }
.hero h1 em { color: #85556a !important; font-style: italic !important; font-weight: 400 !important; }
.hero-copy > p:not(.hero-footnote) { max-width: 570px; margin: 0 0 28px !important; color: #64565f !important; font-size: 16px !important; line-height: 1.65 !important; }
.hero-actions { margin: 0 0 26px !important; gap: 12px !important; }
.primary-link { min-height: 49px; background: var(--ink) !important; color: #fff !important; border-radius: 999px !important; box-shadow: none !important; gap: 18px !important; }
.primary-link:hover { background: var(--accent) !important; }
.hero-secondary-btn { min-height: 49px; background: transparent !important; border: 1px solid #bfaeb6 !important; border-radius: 999px !important; color: var(--ink) !important; }
.hero-secondary-btn:hover { background: #fff !important; border-color: var(--accent) !important; }
.hero-trust-row { gap: 14px 20px !important; color: #62575c !important; font-size: 12px !important; font-weight: 600 !important; }
.hero-visual { min-height: 500px !important; isolation: isolate; }
.hero-orbit { width: min(34vw,480px) !important; background: #faf6f2 !important; box-shadow: 0 0 0 36px #fff5f059,0 0 0 90px #fff5f037 !important; }
.hero-visual img { width: min(83%,440px) !important; height: 440px !important; object-fit: contain !important; mix-blend-mode: multiply; filter: drop-shadow(0 30px 25px #583a472e) !important; }
.hero-visual::after { content: "Une sélection pour votre routine"; position: absolute; right: 0; bottom: 62px; z-index: 2; max-width: 190px; padding: 13px 17px; border-radius: 14px; background: #fffdfa; color: #62515c; box-shadow: 0 12px 35px #50324018; font-size: 12px; font-weight: 700; line-height: 1.35; }

/* Three clear ways into the assortment, with no extra script or filtering state. */
.collection-section { padding: 46px 0 18px; }
.collection-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.collection-heading span { display: block; margin-bottom: 8px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.collection-heading h2 { margin: 0; color: var(--ink); font: 500 clamp(31px,3.5vw,44px)/1.12 Georgia,serif; letter-spacing: -.04em; }
.collection-heading p { max-width: 360px; margin: 0 0 2px; color: var(--muted); font-size: 14px; }
.collection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.collection-card { position: relative; min-height: 260px; display: flex; align-items: end; overflow: hidden; padding: 25px; border: 1px solid #eadfe1; border-radius: 20px; background: #f3e8e8; color: var(--ink); text-decoration: none; transition: transform .2s,box-shadow .2s; }
.collection-card:nth-child(2) { background: #ece9e4; }
.collection-card:nth-child(3) { background: #ede8ee; }
.collection-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px #4b2c3917; }
.collection-card img { position: absolute; right: 6px; top: 8px; width: 58%; height: 81%; object-fit: contain; mix-blend-mode: multiply; }
.collection-card__copy { position: relative; z-index: 1; max-width: 61%; padding: 8px 10px 8px 0; background: linear-gradient(90deg,#f3e8e8 68%,#f3e8e800); }
.collection-card:nth-child(2) .collection-card__copy { background: linear-gradient(90deg,#ece9e4 68%,#ece9e400); }
.collection-card:nth-child(3) .collection-card__copy { background: linear-gradient(90deg,#ede8ee 68%,#ede8ee00); }
.collection-card small { display: block; margin-bottom: 7px; color: #74535f; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.collection-card strong { display: block; font: 600 24px/1.1 Georgia,serif; letter-spacing: -.04em; }
.collection-card em { display: block; margin-top: 11px; color: #574b51; font-size: 12px; font-style: normal; font-weight: 700; }

/* Catalogue: strong image hierarchy, calmer badges and a consistent purchase area. */
.catalog { padding-top: 64px !important; }
.section-title h2 { color: var(--ink) !important; font: 500 clamp(32px,3.6vw,46px)/1.1 Georgia,serif !important; letter-spacing: -.04em !important; }
.section-title p { color: var(--muted) !important; }
.search-field { border-color: var(--line) !important; border-radius: 12px !important; }
.filters button { border-color: var(--line) !important; color: #625a60 !important; }
.filters button.active,.filters button:hover { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
.grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 20px !important; }
.card { border: 1px solid var(--line) !important; border-radius: 18px !important; box-shadow: 0 3px 18px #5030400a !important; }
.card:hover { border-color: #d4bac4 !important; box-shadow: 0 16px 40px #49303c16 !important; }
.card-media { display: grid !important; place-items: center !important; height: 305px !important; padding: 20px !important; background: #fff !important; border-bottom-color: var(--line) !important; }
.card-media img { max-width: 100%; max-height: 100%; padding: 0 !important; object-fit: contain !important; }
.card-body { padding: 20px !important; }
.card-brand { color: var(--accent) !important; font-size: 11px !important; }
.card-body h3 { color: var(--ink) !important; font-size: 17px !important; min-height: 46px; }
.card-body h3 a:hover { color: var(--accent) !important; }
.card-rating { color: #9c7542 !important; }
.card-summary { color: #675f64 !important; }
.card-footer { border-top-color: var(--line) !important; }
.card-price { flex-direction: row !important; flex-wrap: wrap !important; align-items: baseline !important; gap: 6px 10px !important; }
.card-current-price { color: var(--ink) !important; font-size: 23px !important; }
.card-old-price { color: #81777e !important; font-size: 13px !important; }
.card-stock-pill { color: #396d55 !important; background: #f0f8f2 !important; border: 1px solid #d2e6d7 !important; }
.btn-card-add { background: var(--ink) !important; min-height: 46px !important; border-radius: 10px !important; }
.btn-card-add:hover { background: var(--accent) !important; }
.card-view-link { color: var(--accent) !important; font-size: 12px !important; font-weight: 700 !important; }

/* Product detail: clear photo gallery and a restrained purchase panel. */
.product-page { padding-top: 28px !important; }
.breadcrumb { color: #81757b !important; }
.product-layout { grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr) !important; gap: 48px !important; padding: 34px !important; background: #fffdfa !important; border-color: var(--line) !important; border-radius: 20px !important; }
.product-visual { background: #fff !important; border: 1px solid #eee5e1 !important; border-radius: 16px !important; }
.product-visual img { object-fit: contain !important; }
.gallery-thumbnails { flex-wrap: nowrap !important; overflow-x: auto !important; scrollbar-width: thin; }
.gallery-thumb { flex: 0 0 72px; border-color: #e5dadd !important; border-radius: 10px !important; background: #fff !important; }
.gallery-thumb.active { border-color: var(--accent) !important; }
.product-copy h1 { color: var(--ink) !important; font-size: clamp(31px,3.2vw,44px) !important; line-height: 1.14 !important; letter-spacing: -.045em !important; }
.product-summary { color: #625a61 !important; font-size: 15px !important; line-height: 1.6 !important; }
.product-features-preview { gap: 7px !important; }
.product-features-preview .feat-badge { padding: 6px 9px !important; border: 1px solid #e9dce1 !important; border-radius: 8px !important; background: #faf5f6 !important; color: #59424c !important; font-size: 11px !important; }
.product-hook { border-left-color: var(--accent) !important; background: #f9f3f4 !important; }
.price-display { flex-direction: row !important; flex-wrap: wrap !important; align-items: baseline !important; gap: 12px !important; margin: 16px 0 !important; }
.price-display.price-has-discount .price-current { color: var(--ink) !important; font-size: 35px !important; }
.price-display.price-has-discount .price-old { color: #7e7279 !important; font-size: 16px !important; }
.product-purchase-box { padding: 18px !important; background: #fcf8f6 !important; border-color: #ebdde0 !important; border-radius: 14px !important; }
.btn-buy-now,.order-dialog-submit { background: #844258 !important; border-radius: 10px !important; box-shadow: none !important; }
.btn-buy-now:hover,.order-dialog-submit:hover { background: #693347 !important; }
.product-purchase-box .btn-add-cart { background: var(--ink) !important; border-radius: 10px !important; }
.product-purchase-box .btn-add-cart:hover { background: #51464f !important; }
.product-editorial-media,.guide-section,.purchase-confidence,.reviews-section { border-color: var(--line) !important; background: #fffdfa !important; }
.mobile-product-bar__button { background: #844258 !important; }

/* Catalog cards: keep every packshot visible and make the shopping hierarchy clear. */
.catalog .grid { align-items: stretch; }
.catalog .card { border-radius: 10px !important; box-shadow: none !important; overflow: hidden !important; }
.catalog .card:hover { transform: translateY(-2px) !important; box-shadow: 0 10px 28px #49303c12 !important; }
.catalog .card-media {
  position: relative !important;
  display: block !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  padding: 0 !important;
  overflow: hidden !important;
  background: #f5f2f0 !important;
}
.catalog .card-media img {
  position: absolute !important;
  inset: 18px !important;
  display: block !important;
  width: calc(100% - 36px) !important;
  height: calc(100% - 36px) !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}
.catalog .card:hover .card-media img { transform: none !important; }
.catalog .card-body { padding: 19px 20px 20px !important; }
.catalog .card-brand { color: #6a5860 !important; letter-spacing: 0 !important; text-transform: none !important; font-size: 12px !important; }
.catalog .card-body h3 { min-height: 46px; margin: 7px 0 8px !important; font-size: 17px !important; line-height: 1.33 !important; }
.catalog .card-rating { margin: 0 0 8px !important; font-size: 11px !important; }
.catalog .card-summary { min-height: 40px; margin: 0 0 15px !important; font-size: 12px !important; line-height: 1.55 !important; -webkit-line-clamp: 2 !important; }
.catalog .card-features { display: none !important; }
.catalog .card-footer { gap: 12px !important; margin-top: auto !important; padding-top: 15px !important; border-top: 1px solid #e8e1df !important; }
.catalog .card-price-stack { display: flex !important; align-items: flex-start !important; justify-content: space-between !important; gap: 10px !important; }
.catalog .card-price { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; }
.catalog .card-current-price { font-size: 23px !important; line-height: 1.1 !important; }
.catalog .card-old-price { color: #857e80 !important; font-size: 12px !important; line-height: 1.2 !important; }
.catalog .card-promo-badge { display: none !important; }
.catalog .card-stock-pill,.catalog .card-stock { flex: none; white-space: nowrap; font-size: 10px !important; }
.catalog .btn-card-add,.catalog .btn-add-cart,.catalog .btn-buy-now { min-height: 45px !important; border-radius: 9px !important; box-shadow: none !important; font-size: 13px !important; }
.catalog .btn-card-add,.catalog .btn-add-cart { background: #30272f !important; color: #fff !important; }
.catalog .btn-buy-now { background: #844258 !important; color: #fff !important; }
.catalog .card-view-link { text-align: left !important; font-size: 11px !important; }

/* Keep the established footer content while matching the new visual palette. */
.footer { background: #30272f !important; border-top-color: #493943 !important; }
.footer-trust { background: #3b3039 !important; border-bottom-color: #59464f !important; }
.footer-bottom { background: #271f27 !important; border-top-color: #493943 !important; }
.footer-col h3,.footer-contact-box a:hover { color: #e9bfc8 !important; }
.footer .logo,.footer .logo-wordmark,.footer .logo-main { color: #fff !important; }
.footer .logo-mark { background: #f4dce2 !important; color: #362a33 !important; }
.footer .trust-item p,.footer .footer-desc,.footer .footer-links a,.footer .footer-contact-box { color: #e5d6da !important; }
.footer .ssl-badge { background: #55404c !important; color: #f1cfd7 !important; }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .collection-card { min-height: 220px; }
  .collection-card strong { font-size: 21px; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .hero-copy { padding: 52px 0 0 !important; }
  .hero h1 { font-size: clamp(42px,8.3vw,60px) !important; }
  .hero-visual { min-height: 320px !important; }
  .hero-orbit { width: 300px !important; }
  .hero-visual img { width: min(67%,320px) !important; height: 295px !important; }
  .hero-visual::after { right: 9%; bottom: 30px; }
  .collection-heading { align-items: start; flex-direction: column; gap: 8px; }
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .collection-card:last-child { grid-column: 1/-1; }
  .product-layout { grid-template-columns: 1fr !important; gap: 24px !important; padding: 20px !important; }
}
@media (max-width: 600px) {
  .top-trust-bar { padding: 7px 0 !important; }
  .top-trust-inner .trust-item:nth-of-type(n+3),.top-trust-inner .trust-sep { display: none !important; }
  .header-inner { height: 60px !important; }
  .hero-copy { padding: 42px 0 0 !important; }
  .hero-pill-tag { font-size: 10px !important; }
  .hero h1 { font-size: clamp(40px,11vw,54px) !important; }
  .hero-copy > p:not(.hero-footnote) { font-size: 14px !important; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .primary-link,.hero-secondary-btn { width: 100%; justify-content: center; }
  .hero-trust-row { font-size: 11px !important; }
  .hero-visual { min-height: 250px !important; }
  .hero-visual img { height: 245px !important; }
  .hero-visual::after { bottom: 12px; right: 0; font-size: 10px; }
  .collection-section { padding-top: 32px; }
  .collection-grid { grid-template-columns: 1fr; gap: 11px; }
  .collection-card,.collection-card:last-child { grid-column: auto; min-height: 170px; padding: 20px; }
  .collection-card img { right: 10px; width: 50%; height: 95%; }
  .collection-card__copy { max-width: 57%; }
  .collection-card strong { font-size: 23px; }
  .catalog { padding-top: 44px !important; }
  .grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .card-media { height: 275px !important; }
  .card-body { padding: 18px !important; }
  .card-body h3 { font-size: 16px !important; min-height: 0; }
  .card-summary { display: -webkit-box !important; }
  .card-current-price { font-size: 21px !important; }
  .card-old-price { font-size: 13px !important; }
  .catalog .card-media { aspect-ratio: 5 / 4; }
  .catalog .card-body h3 { min-height: 0; }
  .catalog .card-summary { min-height: 0; }
  .product-layout { padding: 14px !important; }
  .product-copy h1 { font-size: clamp(27px,7vw,35px) !important; }
  .price-display.price-has-discount .price-current { font-size: 31px !important; }
  .gallery-thumb { flex-basis: 68px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .card,.collection-card { transition: none !important; }
}


/* ==========================================================================
   GLOBAL HORIZONTAL SCROLLBAR PREVENTION
   ========================================================================== */
html {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative !important;
  box-sizing: border-box !important;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

/* Ensure offscreen drawers do not trigger horizontal scroll when closed */
[data-cart-drawer]:not(.open) {
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(110%) !important;
}

.mobile-nav-drawer:not(.open) {
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-105%) !important;
}

/* Prevent layout containers from exceeding viewport while preserving desktop container max-width */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

.hero,
.vacuum-hero,
.coffee-hero,
.tools,
.filters,
.vacuum-type-filters,
main,
section,
header,
footer {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.container {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

@media (max-width: 520px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

img, svg, video, canvas, iframe {
  max-width: 100% !important;
}


/* Card Actions Buttons - Global Perfect Fit */
.card-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 82px !important;
  gap: 8px !important;
  width: 100% !important;
  margin-top: 10px !important;
  box-sizing: border-box !important;
}

.card-actions button,
.card-footer button.btn-buy-now,
.card-footer button.btn-add-cart,
.btn-buy-now,
.btn-add-cart,
.btn-card-add {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 10px !important;
  border-radius: 10px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  font-family: Manrope, system-ui, -apple-system, sans-serif !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.card-actions .btn-buy-now,
.card-footer button.btn-buy-now,
.btn-buy-now {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #ffffff !important;
  border: 1px solid #047857 !important;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25) !important;
  flex: 1 !important;
  width: 100% !important;
  letter-spacing: 0.02em !important;
}

.card-actions .btn-buy-now:hover,
.card-footer button.btn-buy-now:hover,
.btn-buy-now:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35) !important;
  transform: translateY(-1px) !important;
}

.card-actions .btn-add-cart,
.card-footer button.btn-add-cart,
.btn-add-cart {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  width: 82px !important;
  flex-shrink: 0 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

.card-actions .btn-add-cart:hover,
.card-footer button.btn-add-cart:hover,
.btn-add-cart:hover {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  transform: translateY(-1px) !important;
}


/* ==========================================================================
   CARD TRUST & OFFICIAL PAYMENT LOGOS
   ========================================================================== */
.card-trust-box {
  width: 100% !important;
  margin-top: 10px !important;
  padding-top: 8px !important;
  border-top: 1px solid #f1f5f9 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  box-sizing: border-box !important;
}

.card-trust-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px 8px !important;
}

.card-trust-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  color: #475569 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

.card-trust-pill strong {
  font-weight: 700 !important;
  color: #0f172a !important;
}

.card-trust-pill .trust-check {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 13px !important;
  height: 13px !important;
  border-radius: 50% !important;
  background: #dcfce7 !important;
  color: #15803d !important;
  font-size: 9.5px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.card-payment-strip {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding-top: 6px !important;
  border-top: 1px dashed #e2e8f0 !important;
}

.card-payment-caption {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  line-height: 1 !important;
}

.card-payment-icons {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.card-payment-icons img {
  height: 16px !important;
  width: auto !important;
  max-width: 40px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
  transition: transform 0.15s ease !important;
}

.card-payment-icons img:hover {
  transform: scale(1.08) !important;
}


/* ==========================================================================
   SYMMETRICAL BUTTONS & OVERFLOW PREVENTION (Catalog Cards & Product Pages)
   ========================================================================== */

/* 1. Catalog Cards: 50/50 Symmetrical Grid */
.card-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  margin-top: 10px !important;
  box-sizing: border-box !important;
}

.card-actions button,
.card-actions .btn-buy-now,
.card-actions .btn-add-cart {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 6px !important;
  margin: 0 !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  font-family: Manrope, system-ui, -apple-system, sans-serif !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.card-actions .btn-buy-now {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #ffffff !important;
  border: 1px solid #047857 !important;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.2) !important;
  flex: 1 1 50% !important;
}

.card-actions .btn-buy-now:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3) !important;
  transform: translateY(-1px) !important;
}

.card-actions .btn-add-cart {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  flex: 1 1 50% !important;
}

.card-actions .btn-add-cart:hover {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  transform: translateY(-1px) !important;
}

/* 2. Product Detail Pages (PDP): Symmetrical Buttons */
.product-purchase-box button,
.product-purchase-box .btn-buy-now,
.product-purchase-box .btn-add-cart,
.purchase-buttons-stack button,
.purchase-buttons-stack .btn-primary-add-cart,
.purchase-buttons-stack .btn-secondary-buy-now {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  box-sizing: border-box !important;
  padding: 0 16px !important;
  margin: 0 !important;
  border-radius: 11px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-family: Manrope, system-ui, -apple-system, sans-serif !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.purchase-buttons-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Responsive Overflows Prevention */
@media (max-width: 480px) {
  .card-actions {
    gap: 6px !important;
  }
  .card-actions button,
  .card-actions .btn-buy-now,
  .card-actions .btn-add-cart {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    font-size: 11.5px !important;
    padding: 0 4px !important;
    letter-spacing: -0.01em !important;
  }

  .product-purchase-box button,
  .product-purchase-box .btn-buy-now,
  .product-purchase-box .btn-add-cart,
  .purchase-buttons-stack button,
  .purchase-buttons-stack .btn-primary-add-cart,
  .purchase-buttons-stack .btn-secondary-buy-now {
    min-height: 44px !important;
    height: 44px !important;
    font-size: 13.5px !important;
    padding: 0 10px !important;
  }

  .card-trust-badges {
    gap: 3px 6px !important;
  }
  .card-trust-pill {
    font-size: 10px !important;
  }
  .card-payment-caption {
    font-size: 9.5px !important;
  }
  .card-payment-icons img {
    height: 14px !important;
  }
}


/* ==========================================================================
   COMPACT MOBILE PRODUCT BAR WITH TRUST RIBBON
   ========================================================================== */
.mobile-product-bar {
  position: fixed !important;
  inset: auto 0 0 !important;
  z-index: 300 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  gap: 0 !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12) !important;
  transform: translateY(110%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s !important;
  box-sizing: border-box !important;
}

.mobile-product-bar.is-visible {
  transform: translateY(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mobile-product-bar__ribbon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 4px 8px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #f1f5f9 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.mobile-product-bar__ribbon .mpb-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
}

.mobile-product-bar__ribbon .mpb-check {
  color: #16a34a !important;
  font-weight: 800 !important;
  font-size: 9.5px !important;
}

.mobile-product-bar__ribbon .mpb-sep {
  color: #cbd5e1 !important;
  font-size: 9px !important;
}

.mobile-product-bar__ribbon .mpb-secure {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  color: #334155 !important;
  font-weight: 700 !important;
}

.mobile-product-bar__ribbon .mpb-logos {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-left: 2px !important;
}

.mobile-product-bar__ribbon .mpb-logos img {
  height: 11px !important;
  width: auto !important;
  object-fit: contain !important;
  vertical-align: middle !important;
  display: inline-block !important;
}

.mobile-product-bar__content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)) !important;
  box-sizing: border-box !important;
}

.mobile-product-bar__price {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.mobile-product-bar__price span {
  color: #64748b !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.mobile-product-bar__price strong {
  color: #0f172a !important;
  font-size: 19px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

.mobile-product-bar__button {
  flex: 0 0 auto !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #844258 !important;
  color: #ffffff !important;
  font-family: Manrope, system-ui, -apple-system, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-shadow: 0 2px 8px rgba(132, 66, 88, 0.25) !important;
}

body.has-mobile-product-bar {
  padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
}

@media (max-width: 360px) {
  .mobile-product-bar__ribbon .mpb-colissimo {
    display: none !important;
  }
  .mobile-product-bar__button {
    padding: 0 12px !important;
    font-size: 12.5px !important;
  }
}


/* ==========================================================================
   DYSON-STYLE PAYMENT LOGOS (Sleek slightly grayish look)
   ========================================================================== */
.payment-methods-strip {
  margin-top: 16px !important;
  padding-top: 14px !important;
  border-top: 1px solid #e8edf3 !important;
  text-align: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.payment-strip-label {
  font-size: 11px !important;
  color: #94a3b8 !important;
  display: block !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.02em !important;
  text-align: center !important;
}

.payment-strip-icons {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.payment-strip-icons img,
.card-payment-icons img {
  height: 20px !important;
  width: auto !important;
  max-width: 44px !important;
  object-fit: contain !important;
  opacity: 0.72 !important;
  filter: grayscale(20%) !important;
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.15s ease !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.card-payment-icons img {
  height: 15px !important;
}

.payment-strip-icons img:hover,
.card-payment-icons img:hover {
  opacity: 1 !important;
  filter: grayscale(0%) !important;
  transform: scale(1.06) !important;
}
