/* Luxury-JHenMedia — design system + storefront components
 * Developer: JHenMedia
 */
/* Defaults — overridden live by Luxury-JHenMedia Theme Customizer (BO) */
:root {
  --black: #000000;
  --cream: #f8f5f0;
  --cream-deep: #f0ebe3;
  --gold: #c5a059;
  --gold-bright: #d4b36e;
  --gold-dim: #a88845;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --price: #b3122a;
  --border: rgba(197, 160, 89, 0.45);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-ui: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-size-base: 16px;
  --line-height: 1.55;
  --letter-spacing-ui: 0.08em;
  --heading-weight: 600;
  --max: 1280px;
  --rb-max: 1280px;
  --rb-gutter: clamp(1.25rem, 4vw, 2rem);
  --rb-section-y: clamp(2.75rem, 5vw, 4.5rem);
  --rb-cols: 4;
  --radius: 0px;
  --card-radius: 0px;
  --btn-radius: 0px;
  --border-width: 1px;
  --rb-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  --card-padding: 1.25rem;
  --btn-transform: uppercase;
  --btn-letter-spacing: 0.12em;
  --header-bg: #000000;
  --header-text: #ffffff;
  --announce-bg: #c5a059;
  --announce-text: #000000;
  --footer-bg: #000000;
  --footer-text: #ffffff;
  --link: #c5a059;
  --btn-bg: #c5a059;
  --btn-text: #000000;
  --btn-hover: #d4b36e;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), opacity 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-ghost:hover {
  background: rgba(197, 160, 89, 0.12);
}

.btn-block {
  width: 100%;
}

/* Announcement */
.announce,
.rb-announce-inner {
  background: linear-gradient(90deg, #b8924a 0%, #e5d5b8 45%, #c5a059 100%);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-height: 36px;
  display: block;
  overflow: hidden;
  padding: 0;
}

.rb-announce-track {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.rb-announce-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 0.45rem 1.25rem;
}

.announce span,
.rb-announce-inner span,
.rb-announce-group span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

.announce svg,
.rb-announce-group svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  stroke: var(--black);
  fill: none;
  stroke-width: 1.5;
}

.rb-announce-group--clone {
  display: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  background: var(--black);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.header-inner {
  position: relative;
  z-index: 151;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  min-height: 52px;
  padding:
    max(0.35rem, env(safe-area-inset-top, 0px))
    max(0.75rem, env(safe-area-inset-right, 0px))
    0.35rem
    max(0.75rem, env(safe-area-inset-left, 0px));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem 0.65rem;
  box-sizing: border-box;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.2rem;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--gold);
  line-height: 1;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.logo-sub {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  margin-top: 0.2rem;
  opacity: 0.9;
}

.logo-img img {
  display: block;
  height: 34px;
  width: auto;
  object-fit: contain;
}

.site-footer .logo-img img {
  height: 44px;
  filter: brightness(1.05);
}

/* Mobile-first nav: off-canvas drawer from the right until 1100px */
.nav-main {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  bottom: 0;
  width: min(86vw, 300px);
  z-index: 140;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.15rem;
  padding:
    calc(env(safe-area-inset-top, 0px) + 4.75rem)
    1.15rem
    max(1.5rem, env(safe-area-inset-bottom, 0px));
  background: #0a0a0a;
  border-left: 1px solid rgba(197, 160, 89, 0.28);
  border-right: 0;
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.45);
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-main.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-main a {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 0;
  position: relative;
  white-space: nowrap;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-main a:hover::after,
.nav-main a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-utils {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.2rem;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  color: var(--gold);
  background: none;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid rgba(197, 160, 89, 0.65);
  color: var(--gold);
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
}

.nav-toggle-bars {
  display: block;
  position: relative;
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.rb-nav-open .nav-toggle-bars {
  background: currentColor;
  box-shadow: none;
  transform: rotate(45deg);
}

body.rb-nav-open .nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transform: rotate(90deg);
}

.logo.logo-img {
  order: 1;
  justify-self: start;
  line-height: 0;
}

.header-actions {
  order: 2;
}

.nav-main {
  order: 3;
}

.rb-nav-drawer-title {
  display: block;
  margin: 0 0 0.85rem;
  font-family: var(--font-ui) !important;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.rb-nav-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 130;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: pointer;
}

.rb-nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.rb-nav-open {
  overflow: hidden;
  touch-action: none;
}

/* Hero home */
.hero {
  position: relative;
  width: 100%;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 40%, rgba(0, 0, 0, 0.15) 70%, rgba(0, 0, 0, 0.4) 100%),
    url("../img/scenes/hero-vials-clean.png") right 6% center / auto min(92%, 620px) no-repeat,
    url("../img/scenes/rock-bg.png") center / cover no-repeat,
    #050505;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--rb-max, var(--max));
  width: 100%;
  margin: 0 auto;
  padding: 5rem var(--rb-gutter) 4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  box-sizing: border-box;
}

.hero-eyebrow {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f5e6c4 0%, var(--gold) 55%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.2s forwards;
}

.hero-sub {
  margin: 1.25rem 0 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.32s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.42s forwards;
}

.hero-note {
  margin: 1.5rem 0 0;
  max-width: 42ch;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(197, 160, 89, 0.45);
  padding-top: 0.85rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.5s forwards;
}

.hero-rail {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.85;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 2rem;
}

/* Contact page hero — title art is baked into the image; do not overlay text or darken */
.contact-hero,
.rb-contact-hero {
  position: relative;
  width: 100%;
  /* Match contact-hero.jpg (~1024×374) so CONTACT / WE'RE HERE TO HELP stays in frame */
  aspect-ratio: 1024 / 374;
  min-height: 220px;
  max-height: min(42vw, 480px);
  overflow: hidden;
  background: #000;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/scenes/contact-hero.jpg") center center / cover no-repeat;
  /* No gradient overlay — would wash out / obscure baked-in title */
}

@media (max-width: 720px) {
  .contact-hero,
  .rb-contact-hero {
    aspect-ratio: auto;
    height: 28vw;
    min-height: 180px;
    max-height: 280px;
  }

  .contact-hero-bg {
    /* Keep left title block visible on narrow viewports */
    background-position: 28% center;
  }
}

/* Category hero PDP */
.category-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}

.category-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.55)),
    url("../img/scenes/rock-bg.png") center / cover no-repeat,
    #000;
}

.category-hero-inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.category-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-hero p,
.category-hero .rb-category-sub {
  margin: 0.75rem auto 0;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  max-width: 48rem;
}

.category-hero .hero-rail {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
}

/* Featured → view all products */
.rb-view-all {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.rb-view-all .btn {
  min-width: 14rem;
}

/* Below-hero critical + info notices */
.rb-home-alerts {
  background: var(--cream-deep, #f0ebe3);
  padding: 2rem 1.5rem 2.25rem;
  text-align: center;
}

.rb-home-alerts-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.rb-critical-msg {
  margin: 0 0 1.35rem;
  font-family: var(--font-ui);
  font-size: clamp(0.72rem, 1.35vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
  color: #ff7f6f;
}

.rb-home-alerts a,
.rb-critical-msg a,
.rb-info-msg a {
  color: #1a5fb4 !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-weight: 700;
}

.rb-home-alerts a:hover,
.rb-home-alerts a:focus,
.rb-critical-msg a:hover,
.rb-critical-msg a:focus,
.rb-info-msg a:hover,
.rb-info-msg a:focus {
  color: #15539c !important;
}

.rb-info-msg {
  margin: 0;
}

.rb-info-msg-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-ui);
  font-size: var(--rb-info-msg-size, 15px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--black, #000);
}

.rb-info-msg-sub {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(0.78rem, 1.25vw, 0.9rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--black, #000);
  text-transform: none;
  letter-spacing: 0;
}

.rb-announce-group a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

/* Homepage image slider (above Shop by category) */
.rb-home-slider {
  width: 100%;
  background: var(--cream-deep, #f0ebe3);
  padding: clamp(0.75rem, 2vw, 1.25rem) var(--rb-gutter, 1.5rem);
}

.rb-home-slider-viewport {
  position: relative;
  max-width: var(--rb-max, var(--max, 1280px));
  margin: 0 auto;
  overflow: hidden;
  background: #111;
  aspect-ratio: 21 / 8;
  min-height: 180px;
}

.rb-home-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.rb-home-slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  pointer-events: none;
}

.rb-home-slider-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.rb-home-slider-link {
  display: block;
  width: 100%;
  height: 100%;
}

.rb-home-slider-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.rb-home-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.rb-home-slider-nav:hover,
.rb-home-slider-nav:focus {
  background: rgba(0, 0, 0, 0.6);
  border-color: var(--gold, #c5a059);
  outline: none;
}

.rb-home-slider-prev {
  left: 0.65rem;
}

.rb-home-slider-next {
  right: 0.65rem;
}

.rb-home-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.rb-home-slider-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.rb-home-slider-dot.is-active,
.rb-home-slider-dot:hover {
  background: var(--gold, #c5a059);
  border-color: var(--gold, #c5a059);
}

@media (max-width: 700px) {
  .rb-home-slider-viewport {
    aspect-ratio: 16 / 9;
  }

  .rb-home-slider-nav {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1.25rem;
  }
}

/* Sections */
.section {
  width: 100%;
  padding: var(--rb-section-y) var(--rb-gutter);
}

.section-cream {
  background: var(--cream);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 0 0 2.75rem;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.section-title .rule {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Collection */
.collection-grid {
  display: grid;
  /* 2×2 so landscape category banners stay readable (4×16:9 was too short) */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.collection-card {
  position: relative;
  /* Match category banner assets (~16:9); portrait crops left/right text + product */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 1.35rem;
  min-width: 0;
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.6s var(--ease);
}

.collection-card:nth-child(1)::before {
  background-image: url("../img/promo-vials.png");
}

.collection-card:nth-child(2)::before {
  background-image: url("../img/cat-wellness.png");
}

.collection-card:nth-child(3)::before {
  background-image: url("../img/cat-bundles.png");
}

.collection-card:nth-child(4)::before {
  background-image: url("../img/cat-coas.png");
}

.collection-card:hover::before {
  transform: scale(1.04);
}

.collection-card.has-label::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.collection-card h3,
.collection-card .explore {
  position: relative;
  z-index: 1;
}

.collection-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.collection-card .explore {
  margin-top: 0.5rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.collection-card.image-led h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.collection-card.image-led .explore {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.collection-card.image-led:hover .explore {
  opacity: 1;
  transform: translateY(0);
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
}

.product-grid.cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 1.25rem 1.25rem 1.35rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.product-card-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #f3f1ec;
  margin-bottom: 1.15rem;
  overflow: hidden;
}

.product-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card-media img {
  transform: scale(1.05);
}

.product-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.product-card .meta {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.product-card .price {
  margin: 0.55rem 0 1rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.product-card .btn {
  margin-top: auto;
}

/* Commitment */
.commitment {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.commitment::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(197, 160, 89, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(197, 160, 89, 0.06), transparent 40%),
    linear-gradient(135deg, #0c0c0c, #000);
  pointer-events: none;
}

.commitment .section-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.commitment .section-title {
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.commitment .section-title h2 {
  color: var(--white);
}

.commitment-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.commitment-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
}

.commitment-item .icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.commitment-item .icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}

.commitment-item h3 {
  margin: 0 0 0.35rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.commitment-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  max-width: 42ch;
}

.commitment-quote {
  text-align: center;
  padding: 2rem;
  border-left: 1px solid rgba(197, 160, 89, 0.35);
}

.commitment-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
  color: var(--gold);
}

.commitment-quote cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Newsletter */
.newsletter {
  position: relative;
  padding: 4.5rem 1.5rem;
  background: var(--cream-deep);
  overflow: hidden;
  text-align: center;
}

.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(197, 160, 89, 0.28), transparent 42%),
    radial-gradient(ellipse at 85% 40%, rgba(197, 160, 89, 0.2), transparent 45%),
    linear-gradient(120deg, #f7f2e8, #efe6d6 50%, #f8f5f0);
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
}

.newsletter h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.newsletter-note {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.bulk-note {
  margin: 0 0 1.15rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.bulk-note a {
  color: var(--gold-dim);
  text-decoration: underline;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--white);
}

.newsletter-form input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.95rem 1.1rem;
  outline: none;
  min-width: 0;
}

.newsletter-form .btn {
  min-height: 100%;
  border: 0;
  padding-inline: 1.75rem;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 1.5rem 1.5rem;
}

.site-footer .rb-footer-hooks[hidden] {
  display: none !important;
}

.site-footer .social:empty {
  min-width: 0;
}

.footer-top {
  max-width: var(--max);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.5rem;
}

.footer-nav a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.footer-nav a:hover {
  color: var(--gold);
}

.social {
  display: flex;
  gap: 0.85rem;
}

.social a {
  color: var(--gold);
  display: inline-flex;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(197, 160, 89, 0.25);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
}

.footer-bottom-meta p {
  margin: 0;
}

.footer-bottom .footer-legal {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 160, 89, 0.35);
  padding-bottom: 1px;
}

.footer-bottom .footer-legal:hover {
  color: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(197, 160, 89, 0.7);
}

.footer-bottom .disclaimer {
  max-width: 48ch;
  text-align: right;
}

/* Product page */
.pdp {
  background: var(--cream);
  padding: 2rem 1.5rem 4rem;
}

.pdp-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.breadcrumbs,
.breadcrumb,
.rb-breadcrumb-bar {
  margin: 0 !important;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.breadcrumbs a:hover,
.breadcrumb a:hover {
  color: var(--gold-dim);
}

.pdp-main {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.gallery {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
}

.thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.thumb {
  aspect-ratio: 1;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  padding: 0.35rem;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.75;
  transition: opacity 0.2s, border-color 0.2s;
}

.thumb.is-active,
.thumb:hover {
  opacity: 1;
  border-color: var(--gold);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main {
  aspect-ratio: 1;
  background: #f3f1ec;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buybox h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.buybox .subtitle {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  color: var(--gold);
  font-size: 0.8rem;
}

.rating .count {
  color: var(--text-muted);
}

.buybox .price-range {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.buybox .lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 48ch;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0 0 1.75rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.trust-row svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.4;
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field select {
  width: 100%;
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 0;
  background: var(--white);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.purchase-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.qty {
  display: inline-flex;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: var(--white);
}

.qty button {
  width: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text);
}

.qty input {
  width: 48px;
  border: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  text-align: center;
  background: transparent;
  outline: none;
}

.checkout-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.checkout-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.checkout-trust svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

/* Tabs */
.pdp-tabs {
  max-width: var(--max);
  margin: 3.5rem auto 0;
  padding: 0 1.5rem;
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.tab {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.85rem 0;
  margin-bottom: -1px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
}

.tab[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--gold);
}

.tabpanel {
  display: none;
}

.tabpanel.is-active {
  display: block;
  animation: fade 0.35s var(--ease);
}

.tab-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.tab-split p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.key-features {
  background: #f3ebdd;
  border: 1px solid rgba(197, 160, 89, 0.35);
  padding: 1.5rem 1.5rem 1.25rem;
}

.key-features h3 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.key-features li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
}

.key-features .check {
  color: var(--gold);
  font-weight: 700;
  line-height: 1.3;
}

.lab-note {
  margin: 1rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
}

.related {
  padding: 4rem 1.5rem 1rem;
  background: var(--cream);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .product-grid.cols-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .collection-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop nav — single row */
@media (min-width: 1100px) {
  .nav-toggle {
    display: none !important;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 72px;
    gap: 1rem 1.25rem;
    padding: 0.55rem var(--rb-gutter);
  }

  .logo.logo-img {
    order: 1;
  }

  .nav-main {
    order: 2;
    display: flex !important;
    position: static;
    width: auto;
    height: auto;
    right: auto;
    left: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0 clamp(0.85rem, 1.6vw, 1.65rem);
    padding: 0;
    border: 0;
    border-left: 0;
    border-right: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
    transition: none;
  }

  .header-actions {
    order: 3;
    gap: 0.85rem;
  }

  .header-utils {
    gap: 0.85rem;
  }

  .logo-img img {
    height: 48px;
  }

  .rb-nav-drawer-title,
  .rb-nav-backdrop {
    display: none !important;
  }

  .nav-main a {
    padding: 0.4rem 0.15rem;
    font-size: clamp(0.6rem, 0.7vw, 0.68rem);
    letter-spacing: 0.12em;
  }
}

@media (max-width: 1099px) {
  .announce,
  .rb-announce .announce,
  .rb-announce .rb-announce-inner {
    display: block !important;
    min-height: 32px;
    padding: 0;
    font-size: 0.56rem;
    letter-spacing: 0.08em;
    overflow: hidden;
  }

  .rb-announce-track {
    display: flex;
    width: max-content;
    justify-content: flex-start;
    will-change: transform;
    animation: rb-announce-marquee 28s linear infinite;
  }

  .rb-announce-group {
    flex: 0 0 auto;
    gap: 1.75rem;
    padding: 0.4rem 1.5rem;
  }

  .rb-announce-group--clone {
    display: flex;
  }

  @keyframes rb-announce-marquee {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-50%, 0, 0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .rb-announce-track {
      width: 100%;
      animation: none;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .rb-announce-group--clone {
      display: none;
    }
  }

  .header-utils .hidden-sm-down,
  .header-utils span.hidden-sm-down,
  #_desktop_user_info .hidden-sm-down {
    display: none !important;
  }

  .header-utils a,
  .header-utils .cart-preview,
  .header-utils .blockcart .header a {
    min-width: 36px;
    min-height: 36px;
    padding: 0.35rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .site-header {
    z-index: 150;
  }

  .hero-inner,
  .commitment .section-inner,
  .pdp-main,
  .tab-split,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-rail,
  .category-hero .hero-rail {
    display: none;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .thumbs {
    flex-direction: row;
    order: 2;
  }

  .thumb {
    width: 64px;
  }

  .commitment-quote {
    border-left: 0;
    border-top: 1px solid rgba(197, 160, 89, 0.35);
    padding: 2rem 0 0;
  }

  .footer-bottom .disclaimer {
    text-align: left;
  }

  .purchase-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .collection-grid,
  .product-grid,
  .product-grid.cols-5 {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

/* —— PrestaShop bridge —— */
body#index,
body#category,
body#product,
body#cms,
body#checkout,
body#cart {
  background: var(--cream, #f8f5f0);
}

#header {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.rb-announce,
.rb-announce .announce {
  width: 100%;
}

#header .header-nav,
#header .header-top {
  max-width: none;
  padding: 0;
}

.product-miniature.product-card {
  margin-bottom: 1.5rem;
}

.product-miniature .product-title a {
  color: var(--text, #1a1a1a);
  text-decoration: none;
}

.product-miniature .product-title a:hover {
  color: var(--gold-dim, #a88845);
}

.product-miniature a.btn-gold {
  color: var(--btn-text, #000);
  text-decoration: none;
}

#products .products,
.featured-products .products,
.product-accessories .products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
}

#products .products > *,
.featured-products .products > *,
.product-accessories .products > * {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 1100px) {
  #products .products,
  .featured-products .products,
  .product-accessories .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  #products .products,
  .featured-products .products,
  .product-accessories .products {
    grid-template-columns: minmax(0, 1fr);
  }

  .featured-products .products-section-title::before,
  .featured-products .products-section-title::after {
    display: none;
  }
}

/* Custom tile background from BO image URL */
.collection-card[style*="--rb-tile-img"]::before {
  background-image: var(--rb-tile-img) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

#wrapper,
#content-wrapper,
#wrapper > .container {
  background: transparent !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
  box-shadow: none !important;
}

/* Full-bleed homepage chrome */
.rb-hero,
.hero,
.rb-announce,
.rb-header,
.site-header,
.rb-collection,
.rb-commitment,
.rb-home-alerts,
.featured-products,
.rb-footer,
.site-footer {
  width: 100%;
  max-width: none;
}

.btn-primary,
.btn-primary:hover,
.add-to-cart,
.product-add-to-cart .add-to-cart {
  background: var(--gold, #c5a059) !important;
  border-color: var(--gold, #c5a059) !important;
  color: #000 !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.page-product #main {
  background: var(--cream, #f8f5f0);
}

.rb-product-title {
  font-family: var(--font-display, "Playfair Display", Georgia, serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin-top: 1.5rem;
}
