/* =============================================================
   AMYREL CHILD — main.css
   Design system faithful to the Lovable / React prototype.
   ============================================================= */

/* ── 1. FONTS ──────────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap");

/* ── 2. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --radius: 0.625rem;
  --background: oklch(0.989 0.012 103);
  --foreground: oklch(0.35 0.05 164);
  --card: oklch(0.996 0.008 103);
  --card-foreground: oklch(0.35 0.05 164);
  --primary: oklch(0.5 0.072 163);
  --primary-foreground: oklch(0.995 0.008 103);
  --secondary: oklch(0.966 0.01 103);
  --secondary-foreground: oklch(0.39 0.048 164);
  --muted: oklch(0.972 0.008 103);
  --muted-foreground: oklch(0.55 0.03 158);
  --accent: oklch(0.74 0.14 70);
  --accent-foreground: oklch(0.995 0.008 103);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.91 0.012 103);
  --input: oklch(0.91 0.012 103);
  --ring: oklch(0.5 0.072 163);
  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --shadow-soft: 0 30px 60px -30px oklch(0.5 0.072 163 / 0.18);
  --surface-warm: oklch(0.978 0.015 92);
  --surface-glow: oklch(0.95 0.035 76);
  --max-w-7xl: 80rem;
}

/* ── 3. RESET / BASE ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

/* Override Astra body completely */
html,
body.amyrel-page {
  overflow-x: clip;
}

body.amyrel-page,
.amyrel-shell {
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  background-color: var(--background);
  background-image: radial-gradient(circle at top left,
      color-mix(in oklab, var(--surface-glow) 26%, transparent),
      transparent 30%);
  color: var(--foreground);
  margin: 0;
}

.amyrel-shell {
  background: linear-gradient(180deg, var(--background), var(--surface-warm));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Neutralise Astra layout interference */
body.amyrel-page #page,
body.amyrel-page .ast-container,
body.amyrel-page #content,
body.amyrel-page .entry-content {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.amyrel-page .site-content,
body.amyrel-page .ast-grid-right-column,
body.amyrel-page .ast-grid-common-col {
  padding: 0 !important;
}

/* ── 4. TYPOGRAPHY UTILITIES ───────────────────────────────── */
.font-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

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

.text-foreground {
  color: var(--foreground);
}

.text-primary-foreground {
  color: var(--primary-foreground);
}

.text-accent-foreground {
  color: var(--accent-foreground);
}

/* ── 5. SECTION / SHELL UTILITIES ──────────────────────────── */
.amyrel-section-glow {
  background: linear-gradient(180deg,
      color-mix(in oklab, var(--surface-glow) 24%, transparent),
      transparent 45%);
}

.max-w-7xl {
  max-width: var(--max-w-7xl);
  margin-left: auto;
  margin-right: auto;
}

.max-w-1400 {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ── 6. BOTANICAL DECORATIONS ──────────────────────────────── */
.botanical-ink {
  filter: brightness(0) saturate(100%) invert(28%) sepia(18%) saturate(900%) hue-rotate(105deg) brightness(92%) contrast(88%);
  mix-blend-mode: multiply;
}

.botanical-light {
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }

  50% {
    transform: translateY(-10px) rotate(calc(var(--rot, 0deg) + 1.5deg));
  }
}

.botanical-float {
  animation: float-slow 9s ease-in-out infinite;
}

.botanical-dec {
  pointer-events: none;
  user-select: none;
  position: absolute;
}

/* ── 7. HEADER ─────────────────────────────────────────────── */
.amyrel-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--background) 85%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
}

/* Topbar */
.amyrel-topbar {
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.amyrel-topbar__inner {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.amyrel-topbar__links {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .amyrel-topbar__links {
    display: flex;
  }
}

/* Main nav row */
.amyrel-header__inner {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.amyrel-logo {
  display: flex;
  align-items: center;
}

.amyrel-logo img {
  height: 3.5rem !important;
  width: auto !important;
}

@media (min-width: 768px) {
  .amyrel-logo img {
    height: 4.25rem !important;
    width: auto !important;
  }
}

/* Desktop nav */
.amyrel-nav {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  font-weight: 500;
}

@media (min-width: 1024px) {
  .amyrel-nav {
    display: flex;
  }
}

.amyrel-nav a,
.amyrel-nav button,
body.amyrel-page .amyrel-nav a,
body.amyrel-page .amyrel-nav button {
  padding: 0.5rem 0.75rem !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  color: inherit !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  transition: color 0.2s !important;
  text-decoration: none !important;
}

.amyrel-nav a:hover,
.amyrel-nav button:hover,
body.amyrel-page .amyrel-nav a:hover,
body.amyrel-page .amyrel-nav button:hover {
  color: var(--primary) !important;
  background: none !important;
  background-color: transparent !important;
}

/* Dropdown */
.amyrel-dropdown {
  position: relative;
}

.amyrel-dropdown__chevron {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0.6;
  transition: transform 0.2s;
}

.amyrel-dropdown:hover .amyrel-dropdown__chevron {
  transform: rotate(180deg);
}

.amyrel-dropdown__panel {
  position: absolute;
  left: 0;
  top: 100%;
  padding-top: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 50;
}

.amyrel-dropdown:hover .amyrel-dropdown__panel {
  opacity: 1;
  visibility: visible;
}

.amyrel-dropdown__panel-inner {
  width: 18rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.25);
  padding: 1rem;
}

.amyrel-dropdown__item {
  padding: 0.625rem 0.75rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sm, 0.375rem);
  margin-bottom: 0.25rem;
}

.amyrel-dropdown__item img {
  border-radius: 0.375rem;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.amyrel-dropdown__item:hover {
  background: var(--secondary);
}

.amyrel-dropdown__item:hover img {
  transform: scale(1.06);
}

.amyrel-dropdown__item-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  transition: color 0.2s ease;
}

.amyrel-dropdown__item:hover .amyrel-dropdown__item-label {
  color: var(--accent);
}

.amyrel-dropdown__see-all {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.375rem;
  padding: 0.75rem 0.25rem 0.25rem 0.25rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
  grid-column: 1 / -1;
  width: 100%;
}

.amyrel-dropdown__see-all:hover {
  opacity: 0.75;
}

.amyrel-dropdown__see-all svg {
  width: 0.75rem;
  height: 0.75rem;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.amyrel-dropdown__see-all:hover svg {
  transform: translateX(3px);
}

.amyrel-dropdown__item-desc {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
  text-transform: none;
  letter-spacing: normal;
}

/* Collection mega menu */
.amyrel-collection-panel {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 8.5rem;
  padding-top: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 50;
}

.amyrel-dropdown:hover .amyrel-collection-panel {
  opacity: 1;
  visibility: visible;
}

.amyrel-collection-panel__inner {
  width: min(92vw, 720px);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.amyrel-cat-col__title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.amyrel-cat-col__title:hover {
  color: var(--accent);
}

.amyrel-cat-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.amyrel-cat-col li {
  margin-bottom: 0.25rem;
}

.amyrel-cat-col__product {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--foreground);
}

.amyrel-cat-col__product:hover {
  color: var(--primary);
}

.amyrel-cat-col__product img {
  width: 2rem;
  height: 2rem;
  object-fit: cover;
  background: var(--secondary);
}

.amyrel-cat-col__product-name {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--foreground);
}

.amyrel-cat-col__product-base {
  font-size: 10px;
  color: var(--muted-foreground);
}

.amyrel-collection-footer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.amyrel-collection-footer span {
  font-size: 12px;
  color: var(--muted-foreground);
  text-transform: none;
  letter-spacing: normal;
}

.amyrel-collection-footer a {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

/* Brand mega menu */
.amyrel-dropdown__panel--brand {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 8.5rem;
  padding-top: 0;
}

.amyrel-dropdown__panel--brand .amyrel-dropdown__panel-inner {
  width: min(92vw, 900px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}

.amyrel-brand-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: opacity 0.2s;
}

.amyrel-brand-card:hover {
  opacity: 0.85;
}

.amyrel-brand-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  background: var(--secondary);
}

.amyrel-brand-card__title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Header actions */
.amyrel-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
}

.amyrel-header__actions a:not(.amyrel-btn-diag),
.amyrel-header__actions button,
body.amyrel-page .amyrel-header__actions a:not(.amyrel-btn-diag),
body.amyrel-page .amyrel-header__actions button {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  color: inherit !important;
  transition: color 0.2s !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.amyrel-header__actions a:not(.amyrel-btn-diag):hover,
.amyrel-header__actions button:hover,
body.amyrel-page .amyrel-header__actions a:not(.amyrel-btn-diag):hover,
body.amyrel-page .amyrel-header__actions button:hover {
  color: var(--primary) !important;
  background: none !important;
  background-color: transparent !important;
}

.amyrel-header__actions svg {
  width: 1.25rem;
  height: 1.25rem;
}

.amyrel-btn-diag {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.625rem 1rem;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.15s ease;
}

.amyrel-btn-diag:hover {
  background: color-mix(in oklab, var(--accent) 90%, transparent);
}

@media (min-width: 768px) {
  .amyrel-btn-diag {
    display: inline-flex;
  }
}

.amyrel-btn-diag svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* Mobile hamburger */
.amyrel-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

@media (min-width: 768px) {
  .amyrel-hamburger {
    display: none;
  }
}

.amyrel-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  transition: all 0.3s;
}

.amyrel-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.amyrel-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.amyrel-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.amyrel-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--background);
  flex-direction: column;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.amyrel-mobile-menu.is-open {
  display: flex;
}

.amyrel-mobile-menu__close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  margin-bottom: 2rem;
}

.amyrel-mobile-menu__close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.amyrel-mobile-menu nav a {
  display: block;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--foreground);
  text-decoration: none;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.amyrel-mobile-menu nav a:hover {
  color: var(--primary);
}

.amyrel-mobile-menu__diag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 1rem;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 2rem;
  transition: background 0.2s;
}

/* ── 8. HERO SECTION ───────────────────────────────────────── */
/* Mirrors exactly: src/routes/index.tsx function Hero()
   relative overflow-hidden min-h-[620px] flex flex-col justify-center */
.amyrel-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Background image — replaces <video autoPlay muted loop> */
.amyrel-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Botanical decorations — mix-blend-mode:multiply removes white JPG bg on light surfaces */
.amyrel-hero__bot {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.amyrel-hero__bot--hibiscus {
  top: -2.5rem;
  right: -4rem;
  width: 380px;
  opacity: 0.16;
  transform: rotate(-12deg);
}

.amyrel-hero__bot--olive {
  bottom: 2rem;
  left: 1rem;
  width: 220px;
  opacity: 0.18;
  transform: rotate(8deg);
}

/* Content overlay — mirrors max-w-7xl px-6 pt-24 pb-24 min-h-[620px] flex flex-col justify-center z-[3] */
.amyrel-hero__content {
  position: relative;
  max-width: var(--max-w-7xl);
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3;
}

/* Inner block — mirrors max-w-xl animate-[fade-in_0.8s_ease-out] */
.amyrel-hero__inner {
  max-width: 36rem;
  animation: fade-in 0.8s ease-out;
}

/* Eyebrow — text-[11px] tracking-[0.32em] uppercase text-accent font-semibold */
.amyrel-hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* H1 — font-display text-5xl md:text-6xl leading-[1.05] text-primary */
.amyrel-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  line-height: 1.05;
  color: var(--primary);
  margin: 0 0 1.5rem;
}

/* Description — text-base text-foreground/80 max-w-md leading-relaxed */
.amyrel-hero__desc {
  font-size: 1rem;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  max-width: 28rem;
  line-height: 1.7;
  margin: 0 0 2.25rem;
}

/* CTAs — flex flex-wrap gap-3 mt-9 */
.amyrel-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── 9. BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.875rem 1.75rem;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: color-mix(in oklab, var(--primary) 90%, transparent);
  transform: translateY(-2px);
  color: var(--primary-foreground);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  padding: 0.875rem 1.75rem;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-2px);
}

.btn-outline svg,
.btn-primary svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 1rem 1.75rem;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-accent:hover {
  background: color-mix(in oklab, var(--accent) 90%, transparent);
  transform: translateY(-2px);
  color: var(--accent-foreground);
}

.btn-accent svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ── 10. ASSURANCES BAR ────────────────────────────────────── */
.amyrel-assurances {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 60%, transparent);
}

.amyrel-assurances__grid {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .amyrel-assurances__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.amyrel-assurance {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.amyrel-assurance__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.amyrel-assurance__icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.amyrel-assurance__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  line-height: 1.4;
  font-weight: 500;
}

/* ── 11. BEST SELLERS ──────────────────────────────────────── */
.amyrel-bestsellers {
  position: relative;
  overflow: hidden;
}

.amyrel-bestsellers__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .amyrel-bestsellers__grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.amyrel-bestsellers__left {
  padding: 4rem 3rem 4rem 1.5rem;
}

@media (min-width: 768px) {
  .amyrel-bestsellers__left {
    padding: 4rem 3rem;
  }
}

.amyrel-bestsellers__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.amyrel-bestsellers__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.05;
  color: var(--primary);
  margin: 0 0 1rem;
}

.amyrel-bestsellers__desc {
  font-size: 14px;
  color: var(--muted-foreground);
  max-width: 28rem;
  margin: 0 0 2rem;
}

.amyrel-bestsellers__cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.amyrel-cat-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--secondary);
  display: block;
  text-decoration: none;
}

.amyrel-cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.amyrel-cat-card:hover img {
  transform: scale(1.1);
}

.amyrel-cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in oklab, var(--primary) 85%, transparent), color-mix(in oklab, var(--primary) 15%, transparent) 60%, transparent);
}

.amyrel-cat-card__info {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem;
  color: var(--primary-foreground);
}

.amyrel-cat-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.amyrel-cat-card__cta {
  margin-top: 0.25rem;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  opacity: 0.9;
}

.amyrel-cat-card__cta svg {
  width: 0.75rem;
  height: 0.75rem;
}

.amyrel-bestsellers__model {
  position: relative;
  min-height: 520px;
}

.amyrel-bestsellers__model img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amyrel-bestsellers__model::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, transparent 60%, color-mix(in oklab, var(--background) 40%, transparent));
}

/* ── 12. DIAGNOSTIC BANNER ─────────────────────────────────── */
/* bg-primary text-primary-foreground — React source: DiagnosticBanner() */
.amyrel-diag-banner {
  position: relative;
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  padding: 4rem 0;
  overflow: hidden;
}

/* Force ALL children to inherit white — prevents global .text-accent/.text-primary overrides */
.amyrel-diag-banner *:not(.btn-accent):not(.btn-accent *) {
  color: inherit !important;
}

.amyrel-diag-banner__inner {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .amyrel-diag-banner__inner {
    flex-direction: row;
    text-align: left;
  }
}

.amyrel-diag-banner__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.8;
}

.amyrel-diag-banner__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0.75rem 0 0;
  line-height: 1.1;
}

.amyrel-diag-banner__desc {
  opacity: 0.8;
  font-size: 14px;
  margin-top: 0.75rem;
  max-width: 36rem;
}

/* btn-accent: bg-accent text-accent-foreground — keeps its own colors */
.amyrel-diag-banner .btn-accent {
  background: var(--accent) !important;
  color: var(--accent-foreground) !important;
  flex-shrink: 0;
}

.amyrel-diag-banner .btn-accent:hover {
  background: color-mix(in oklab, var(--accent) 88%, black) !important;
  color: var(--accent-foreground) !important;
  transform: translateY(-2px);
}

/* ── 13. STATS ─────────────────────────────────────────────── */
.amyrel-stats {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .amyrel-stats {
    grid-template-columns: 1fr 2fr 1fr;
    align-items: stretch;
  }
}

.amyrel-stats__side {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  display: block;
}

@media (min-width: 768px) {
  .amyrel-stats__side {
    aspect-ratio: auto;
  }
}

.amyrel-stats__center {
  background: var(--secondary);
  padding: 5rem 2rem;
  text-align: center;
}

.amyrel-stats__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.amyrel-stats__divider {
  margin-top: 0.75rem;
  color: var(--accent);
}

.amyrel-stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .amyrel-stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.amyrel-stat {
  padding: 0 0.5rem;
}

.amyrel-stat+.amyrel-stat {
  border-top: 1px solid color-mix(in oklab, var(--primary) 15%, transparent);
}

@media (min-width: 768px) {
  .amyrel-stat+.amyrel-stat {
    border-top: none;
    border-left: 1px solid color-mix(in oklab, var(--primary) 15%, transparent);
  }
}

.amyrel-stat__value {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--primary);
}

.amyrel-stat__text {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
  line-height: 1.6;
}

.amyrel-stats__footnote {
  font-size: 10px;
  color: var(--muted-foreground);
  margin-top: 2.5rem;
}

/* ── 14. STORY SECTION ─────────────────────────────────────── */
.amyrel-story {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.amyrel-story__inner {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.amyrel-story-chapter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .amyrel-story-chapter {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .amyrel-story-chapter--left .amyrel-story-chapter__text {
    order: 2;
  }
}

.amyrel-story-chapter__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.amyrel-story-chapter__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--primary);
  margin: 1rem 0 0;
  line-height: 1.15;
}

.amyrel-story-chapter__text {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 1.5rem;
  line-height: 1.8;
}

.amyrel-story-chapter__img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.amyrel-story-chapter__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── 15. TESTIMONIALS ──────────────────────────────────────── */
.amyrel-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  background: color-mix(in oklab, var(--secondary) 60%, transparent);
}

@media (min-width: 768px) {
  .amyrel-testimonials {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.amyrel-testimonials__side {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

@media (min-width: 768px) {
  .amyrel-testimonials__side {
    display: block;
    aspect-ratio: auto;
  }
}

.amyrel-testimonials__center {
  padding: 5rem 2rem;
  text-align: center;
  min-width: 0;
}

.amyrel-testimonials__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.amyrel-testimonials__divider {
  margin-top: 0.75rem;
  color: var(--accent);
}

/* Embla carousel */
.amyrel-testimonials__carousel {
  overflow: hidden;
  margin-top: 2rem;
}

.amyrel-testimonials__track {
  display: flex;
}

.amyrel-testimonials__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 1rem;
}

.amyrel-testimonials__quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1.4;
  max-width: 36rem;
  margin: 0 auto;
}

.amyrel-testimonials__author {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 1rem;
  display: block;
}

.amyrel-testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.amyrel-testimonials__dot {
  height: 6px;
  border-radius: 9999px;
  border: none;
  background: color-mix(in oklab, var(--primary) 30%, transparent);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
  padding: 0;
  width: 6px;
}

.amyrel-testimonials__dot.is-active {
  width: 24px;
  background: var(--primary);
}

.amyrel-testimonials__dot:hover {
  background: color-mix(in oklab, var(--primary) 60%, transparent);
}

/* ── 16. INGREDIENTS RAIL ──────────────────────────────────── */
.amyrel-ingredients {
  padding: 6rem 0;
  background: var(--background);
}

.amyrel-ingredients__header {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.amyrel-ingredients__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.amyrel-ingredients__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--primary);
  margin: 0.75rem 0 0;
  max-width: 36rem;
  line-height: 1.25;
}

.amyrel-ingredients__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.amyrel-ingredients__journal {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.amyrel-ingredients__journal:hover {
  color: var(--accent);
}

.amyrel-ingredients__journal svg {
  width: 0.75rem;
  height: 0.75rem;
}

.amyrel-ingredients__nav {
  display: flex;
  gap: 0.5rem;
}

.amyrel-ingredients__btn {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.amyrel-ingredients__btn:hover:not(:disabled) {
  background: var(--primary);
  color: var(--primary-foreground);
}

.amyrel-ingredients__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.amyrel-ingredients__btn svg {
  width: 1rem;
  height: 1rem;
}

.amyrel-ingredients__track-wrap {
  overflow: hidden;
}

.amyrel-ingredients__track {
  display: flex;
  gap: 1.25rem;
  padding: 0 1.5rem 1rem;
}

.amyrel-ingredients__item {
  flex-shrink: 0;
  width: 260px;
}

@media (min-width: 768px) {
  .amyrel-ingredients__item {
    width: 300px;
  }
}

.amyrel-ingredient-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.amyrel-ingredient-card__img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--card);
}

.amyrel-ingredient-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}

.amyrel-ingredient-card:hover .amyrel-ingredient-card__img img {
  transform: scale(1.1);
}

.amyrel-ingredient-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in oklab, var(--primary) 70%, transparent), color-mix(in oklab, var(--primary) 10%, transparent) 50%, transparent);
  opacity: 0.8;
}

.amyrel-ingredient-card__info {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.25rem;
  color: var(--primary-foreground);
}

.amyrel-ingredient-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.amyrel-ingredient-card__base {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.amyrel-ingredient-card__link {
  margin-top: 0.75rem;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.amyrel-ingredient-card:hover .amyrel-ingredient-card__link {
  color: var(--accent);
}

.amyrel-ingredient-card__link svg {
  width: 0.75rem;
  height: 0.75rem;
}

/* ── 17. FOOTER ────────────────────────────────────────────── */
.amyrel-footer {
  border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  background: var(--background);
  margin-top: auto;
}

.amyrel-footer__trust {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
}

@media (min-width: 768px) {
  .amyrel-footer__trust {
    grid-template-columns: repeat(4, 1fr);
  }
}

.amyrel-footer__trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.amyrel-footer__trust-item svg {
  width: 1.75rem;
  height: 1.75rem;
  color: color-mix(in oklab, var(--primary) 80%, transparent);
  flex-shrink: 0;
}

.amyrel-footer__trust-title {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--foreground);
}

.amyrel-footer__trust-sub {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.amyrel-footer__main {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
}

@media (max-width: 767px) {
  .amyrel-footer__main {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .amyrel-footer__brand,
  .amyrel-footer__newsletter {
    grid-column: 1 / -1 !important;
  }

  .amyrel-footer__brand p {
    max-width: 100% !important;
  }

  .amyrel-footer__col a {
    font-size: 13px !important;
  }
}

@media (min-width: 768px) {
  .amyrel-footer__main {
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  }
}

.amyrel-footer__brand img {
  height: 3.5rem;
  width: auto;
}

.amyrel-footer__brand p {
  margin-top: 1.5rem;
  font-size: 14px;
  color: var(--muted-foreground);
  max-width: 18rem;
}

.amyrel-footer__brand-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

.amyrel-footer__brand-social svg {
  width: 1rem;
  height: 1rem;
}

.amyrel-footer__brand-social a {
  color: inherit;
  transition: color 0.2s;
}

.amyrel-footer__brand-social a:hover {
  color: var(--primary);
}

.amyrel-footer__col-title {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 1rem;
}

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

.amyrel-footer__col li {
  margin-bottom: 0.75rem;
}

.amyrel-footer__col a {
  font-size: 14px;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.amyrel-footer__col a:hover {
  color: var(--primary);
}

.amyrel-footer__newsletter-title {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.amyrel-footer__newsletter p {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.amyrel-footer__newsletter-form {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 9999px;
  overflow: hidden;
  background: var(--card);
}

.amyrel-footer__newsletter-form input {
  flex: 1;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--foreground);
  font-family: var(--font-sans);
}

.amyrel-footer__newsletter-form button {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0 1rem;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.amyrel-footer__newsletter-form button:hover {
  background: color-mix(in oklab, var(--primary) 90%, transparent);
}

.amyrel-footer__bottom {
  border-top: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
}

.amyrel-footer__bottom-inner {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted-foreground);
  gap: 1rem;
}

.amyrel-footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 1023px) {
  .amyrel-footer {
    padding-bottom: 4.5rem !important;
  }

  .amyrel-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 0.75rem;
  }
}

/* ── 18. WHATSAPP FAB ──────────────────────────────────────── */
.amyrel-whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.amyrel-whatsapp-fab:hover {
  transform: scale(1.08);
  color: #ffffff;
}

.amyrel-whatsapp-fab__ping {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: rgba(37, 211, 102, 0.4);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

  75%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.amyrel-whatsapp-fab svg {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
}

/* ── 18b. BACK TO TOP BUTTON ───────────────────────────────── */
.amyrel-back-to-top {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 49;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: var(--card, #ffffff);
  color: var(--primary, #16302b);
  border: 1px solid color-mix(in oklab, var(--border, #ebe6df) 80%, transparent);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.amyrel-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.amyrel-back-to-top:hover {
  background: var(--primary, #16302b);
  color: var(--primary-foreground, #ffffff);
  border-color: var(--primary, #16302b);
}

.amyrel-back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (max-width: 1023px) {
  .amyrel-whatsapp-fab {
    bottom: 5.25rem !important;
    right: 1.25rem !important;
  }

  .amyrel-back-to-top {
    bottom: 8.75rem !important;
    right: 1.25rem !important;
  }
}

/* ── 18c. MOBILE HORIZONTAL SCROLL RAILS ENHANCEMENTS ─────── */
.amyrel-bestsellers-rail__track-wrapper,
.amyrel-ingredients__track-wrap,
.amyrel-collection-filters,
.amyrel-product-thumbs,
.amyrel-account-mobile-nav__list,
.amyrel-topbar__ticker {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.amyrel-bestsellers-rail__track-wrapper::-webkit-scrollbar,
.amyrel-ingredients__track-wrap::-webkit-scrollbar,
.amyrel-collection-filters::-webkit-scrollbar,
.amyrel-product-thumbs::-webkit-scrollbar,
.amyrel-account-mobile-nav__list::-webkit-scrollbar,
.amyrel-topbar__ticker::-webkit-scrollbar {
  display: none !important;
}

/* ── 18d. LIVE PRODUCT SEARCH MODAL ───────────────────────── */
.amyrel-search-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.amyrel-search-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.amyrel-search-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 48, 43, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.amyrel-search-modal__container {
  position: relative;
  width: 100%;
  max-width: 44rem;
  margin-top: 2rem;
  background: #FAF7F2;
  border: 1px solid #EBE6DF;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(-1rem);
  transition: transform 0.3s ease;
  z-index: 1;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 4rem);
}

.amyrel-search-modal.is-open .amyrel-search-modal__container {
  transform: translateY(0);
}

.amyrel-search-modal__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #EBE6DF;
  background: #FAF7F2;
}

.amyrel-search-modal__input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.amyrel-search-modal__icon {
  position: absolute;
  left: 0.75rem;
  width: 1.25rem;
  height: 1.25rem;
  color: #16302B;
  pointer-events: none;
}

.amyrel-search-modal__input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 2.75rem;
  background: #ffffff;
  border: 1px solid #EBE6DF;
  border-radius: 9999px;
  font-size: 15px;
  color: #16302B;
  font-family: var(--font-sans, sans-serif);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.amyrel-search-modal__input:focus {
  border-color: #16302B;
  box-shadow: 0 0 0 3px rgba(22, 48, 43, 0.1);
}

.amyrel-search-modal__clear {
  position: absolute;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: #6B7C75;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amyrel-search-modal__clear svg {
  width: 1rem;
  height: 1rem;
}

.amyrel-search-modal__close {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: #16302B;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.amyrel-search-modal__kbd {
  padding: 0.15rem 0.4rem;
  font-size: 10px;
  font-family: monospace;
  background: #EBE6DF;
  border-radius: 4px;
  color: #6B7C75;
}

.amyrel-search-modal__body {
  padding: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.amyrel-search-modal__label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6B7C75;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.amyrel-search-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.amyrel-search-chip {
  padding: 0.4rem 0.875rem;
  background: #ffffff;
  border: 1px solid #EBE6DF;
  border-radius: 9999px;
  font-size: 13px;
  color: #16302B;
  cursor: pointer;
  transition: all 0.2s ease;
}

.amyrel-search-chip:hover {
  background: #16302B;
  color: #ffffff;
  border-color: #16302B;
}

.amyrel-search-modal__results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) {
  .amyrel-search-modal__results-grid {
    grid-template-columns: 1fr;
  }
}

.amyrel-search-result-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: #ffffff;
  border: 1px solid #EBE6DF;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.amyrel-search-result-card:hover {
  border-color: #16302B;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.amyrel-search-result-card img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #FAF7F2;
  flex-shrink: 0;
}

.amyrel-search-result-card__info {
  flex: 1;
  min-width: 0;
}

.amyrel-search-result-card__title {
  font-family: var(--font-display, serif);
  font-size: 14px;
  font-weight: 700;
  color: #16302B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amyrel-search-result-card__tagline {
  font-size: 11px;
  color: #6B7C75;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amyrel-search-result-card__price {
  font-size: 13px;
  font-weight: 700;
  color: #E07A5F;
  margin-top: 0.25rem;
}

.amyrel-search-modal__no-results {
  text-align: center;
  padding: 2rem 1rem;
  color: #6B7C75;
  font-size: 14px;
}

/* ── 19. REVEAL ANIMATION ──────────────────────────────────── */
.amyrel-reveal {
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.amyrel-reveal--hidden {
  opacity: 0;
  transform: translateY(1.5rem);
}

.amyrel-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 20. PRODUCT SHOT BACKGROUNDS ──────────────────────────── */
.product-shot-bg {
  background:
    radial-gradient(ellipse at 50% 38%, oklch(0.86 0.05 158 / 0.55), transparent 62%),
    radial-gradient(ellipse at 50% 100%, oklch(0.42 0.08 162 / 0.55), transparent 70%),
    linear-gradient(180deg, oklch(0.55 0.075 163), oklch(0.32 0.06 162));
}

.product-shot-bg-soft {
  background:
    radial-gradient(ellipse at 50% 40%, oklch(0.96 0.02 140 / 0.9), transparent 65%),
    linear-gradient(180deg, oklch(0.92 0.04 158), oklch(0.78 0.06 160));
}

/* ── 21. PRODUCT CARD ──────────────────────────────────────── */
.amyrel-product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--card);
  overflow: hidden;
  position: relative;
  height: 100%;
}

.amyrel-product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.amyrel-product-card__img,
.amyrel-product-card__img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.amyrel-product-card__img-hover {
  opacity: 0;
}

.amyrel-product-card:hover .amyrel-product-card__img,
.amyrel-product-card-wrap:hover .amyrel-product-card .amyrel-product-card__img {
  opacity: 0;
  transform: scale(1.05);
}

.amyrel-product-card:hover .amyrel-product-card__img-hover,
.amyrel-product-card-wrap:hover .amyrel-product-card .amyrel-product-card__img-hover {
  opacity: 1;
  transform: scale(1.05);
}

#amyrel-quiz-results .amyrel-product-card:hover .amyrel-product-card__img {
  opacity: 1;
  transform: none;
}

.amyrel-product-card-wrap {
  position: relative;
  display: flex !important;
  flex-direction: column;
}

.amyrel-product-card__media,
.amyrel-product-card__visual {
  position: relative;
}

.amyrel-product-card__quick-add {
  position: absolute;
  inset-inline: 1rem;
  bottom: 1rem;
  transform: translateY(1rem);
  opacity: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.75rem;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s, opacity 0.3s;
  font-family: var(--font-sans);
  z-index: 2;
}

.amyrel-product-card__quick-add svg {
  width: 0.875rem;
  height: 0.875rem;
}

.amyrel-product-card:hover .amyrel-product-card__quick-add,
.amyrel-product-card-wrap:hover .amyrel-product-card__quick-add,
.amyrel-bestsellers-rail__card:hover .amyrel-product-card__quick-add {
  transform: translateY(0);
  opacity: 1;
}

.amyrel-product-card__quick-add.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.amyrel-product-card__quick-add.is-added {
  background: var(--accent);
  color: var(--accent-foreground);
}

.amyrel-product-card__body {
  padding: 1.25rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.amyrel-product-card__name {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.amyrel-product-card__base {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.amyrel-product-card__price {
  font-size: 14px;
  color: var(--foreground);
  margin-top: 0.75rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
}

/* Prix normal barré (promo) */
.amyrel-price-regular {
  font-size: 12px;
  color: var(--muted-foreground);
  text-decoration: none;
  font-weight: 400;
}

/* Prix promo */
.amyrel-price-sale {
  font-size: 15px;
  font-weight: 600;
  color: #c0392b;
  text-decoration: none;
}

/* Balises natives WooCommerce/WMC dans la card */
.amyrel-product-card__price del {
  text-decoration: line-through !important;
  color: var(--muted-foreground) !important;
  font-size: 12px !important;
}

.amyrel-product-card__price del * {
  text-decoration: line-through !important;
  color: var(--muted-foreground) !important;
  font-size: 12px !important;
}

.amyrel-product-card__price ins {
  text-decoration: none !important;
  font-weight: 600;
  color: #c0392b !important;
}

/* Prix simple ou variable */
.amyrel-price-amount {
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground);
}

/* "À partir de" label */
.amyrel-price-from {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 400;
  align-self: center;
}

/* Badges d'image produit */
.amyrel-badge,
.amyrel-badge-promo {
  position: absolute;
  top: 0.75rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  z-index: 3;
  pointer-events: none;
  text-transform: uppercase;
  line-height: 1.2;
}

.amyrel-badge-promo {
  left: 0.75rem;
  right: auto;
  background: #c0392b;
  color: #fff;
}

.amyrel-badge {
  right: 0.75rem;
  left: auto;
}

.amyrel-badge--new {
  background: #1B3629;
  color: #ffffff;
}

.amyrel-badge--bestseller {
  background: #D4A373;
  color: #121619;
}

.amyrel-badge--custom {
  background: #2D3748;
  color: #ffffff;
}



/* ── 22. COLLECTION PAGE ───────────────────────────────────── */
.amyrel-collection-hero {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
}

.amyrel-collection-hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.amyrel-collection-hero__title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--primary);
  margin-top: 1rem;
}

.amyrel-collection-hero__desc {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 1rem;
  max-width: 36rem;
  margin-inline: auto;
}

.amyrel-filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  padding: 0 1.5rem;
}

/* Hard reset — override Astra button/link styles */
.amyrel-filter-chip,
button.amyrel-filter-chip,
a.amyrel-filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  font-size: 11px;
  font-family: var(--font-sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid var(--border) !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--foreground) !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  line-height: 1;
}

.amyrel-filter-chip:hover,
button.amyrel-filter-chip:hover,
a.amyrel-filter-chip:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background: transparent !important;
}

.amyrel-filter-chip--active,
button.amyrel-filter-chip--active,
a.amyrel-filter-chip--active {
  background: var(--primary) !important;
  background-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border-color: var(--primary) !important;
}

.amyrel-filter-chip--active:hover,
button.amyrel-filter-chip--active:hover {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
}

.amyrel-products-grid {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .amyrel-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── 23. DIAGNOSTIC PAGE ───────────────────────────────────── */
.amyrel-diagnostic {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.amyrel-diagnostic__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.amyrel-diagnostic__eyebrow svg {
  width: 0.875rem;
  height: 0.875rem;
}

.amyrel-diagnostic__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin-top: 1rem;
  text-align: center;
}

.amyrel-diagnostic__subtitle,
.amyrel-diagnostic__desc {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
  margin-inline: auto;
  text-align: center;
  white-space: nowrap;
  max-width: none;
}

.amyrel-progress {
  margin-top: 2.5rem;
  height: 4px;
  background: var(--secondary);
  overflow: hidden;
}

.amyrel-progress__bar {
  height: 100%;
  background: var(--primary);
  transition: width 0.5s;
}

.amyrel-diagnostic__step {
  margin-top: 3rem;
  animation: fade-in 0.4s ease-out;
}

.amyrel-diagnostic__step-label {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  text-align: center;
}

.amyrel-diagnostic__question {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--primary);
  text-align: center;
  margin-top: 0.75rem;
}

.amyrel-diagnostic__options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.amyrel-diagnostic__option {
  text-align: left;
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--foreground);
}

.amyrel-diagnostic__option:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.15);
  color: var(--primary);
}

.amyrel-diagnostic__results-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}

.amyrel-diagnostic__results-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--primary);
  text-align: center;
  margin-top: 0.75rem;
}

.amyrel-diagnostic__result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.amyrel-diagnostic__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

/* ── 24. SINGLE PRODUCT PAGE ───────────────────────────────── */
.amyrel-product-page {
  padding-bottom: 0;
}


.amyrel-breadcrumb {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
  font-size: 12px;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.amyrel-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.amyrel-breadcrumb a:hover {
  color: var(--primary);
}

.amyrel-breadcrumb svg {
  width: 0.75rem;
  height: 0.75rem;
}

.amyrel-product-hero {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .amyrel-product-hero {
    grid-template-columns: 1fr 1fr;
  }
}

.amyrel-product-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
}

.amyrel-product-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.amyrel-product-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
}

.amyrel-product-thumb.is-active {
  border-color: var(--primary);
}

.amyrel-product-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.amyrel-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.amyrel-product-main {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}

.amyrel-product-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2.5rem;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
  opacity: 0.85;
  transform: scale(0.96);
}

.amyrel-product-main.is-visible img {
  opacity: 1;
  transform: scale(1);
}

.amyrel-product-info {
  padding-top: 1.5rem;
}

.amyrel-product-info__tagline {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.amyrel-product-info__name {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--primary);
  margin-top: 0.75rem;
}

.amyrel-product-info__stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.amyrel-product-info__stars svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: var(--accent);
  color: var(--accent);
}

.amyrel-product-info__reviews {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-left: 0.5rem;
}

.amyrel-product-info__desc {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 1.5rem;
  line-height: 1.8;
}

.amyrel-product-info__format-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.amyrel-product-info__sizes {
  display: flex;
  gap: 0.75rem;
}

.amyrel-size-btn {
  padding: 0.75rem 1.25rem;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.amyrel-size-btn--active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.amyrel-product-info__buy-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.amyrel-product-info__price {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--primary);
}

.amyrel-qty-picker {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  gap: 0.5rem;
  padding: 0 0.25rem;
}

.amyrel-qty-picker button {
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
}

.amyrel-qty-picker button svg {
  width: 0.75rem;
  height: 0.75rem;
}

.amyrel-qty-picker__val {
  padding: 0 1.5rem;
  font-size: 14px;
  min-width: 2.5rem;
  text-align: center;
}

.amyrel-product-info__ctas {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.amyrel-product-info__ctas .btn-primary,
.amyrel-product-info__ctas .btn-outline {
  flex: 1;
  width: auto !important;
  justify-content: center;
}

.amyrel-product-info__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.amyrel-product-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.amyrel-product-trust-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.amyrel-product-trust-item span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  line-height: 1.4;
}

/* Product tabs */
.amyrel-product-tabs {
  background: var(--card);
  padding: 4rem 0;
}

.amyrel-product-tabs__inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.amyrel-product-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.amyrel-product-tab-btn {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  padding-bottom: 0.5rem;
  color: var(--muted-foreground);
  font-family: var(--font-sans);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.amyrel-product-tab-btn--active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.amyrel-product-tab-content {
  margin-top: 2rem;
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.8;
  text-align: center;
  max-width: 32rem;
  margin-inline: auto;
}

.amyrel-product-tab-pane {
  display: none;
}

.amyrel-product-tab-pane--active {
  display: block;
}

/* Benefits, Ritual, Ingredients, Reviews sections */
.amyrel-product-benefits {
  padding: 5rem 0;
}

.amyrel-product-benefits__inner {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.amyrel-product-benefits__title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--primary);
  margin-top: 0.75rem;
}

.amyrel-product-benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .amyrel-product-benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.amyrel-benefit-card {
  background: var(--card);
  padding: 2rem;
  text-align: left;
}

.amyrel-benefit-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.amyrel-benefit-card__icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.amyrel-benefit-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
}

.amyrel-benefit-card__text {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.amyrel-product-ritual {
  background: var(--secondary);
  padding: 5rem 0;
}

.amyrel-product-ritual__inner {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.amyrel-product-ritual__header {
  text-align: center;
}

.amyrel-product-ritual__title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--primary);
  margin-top: 0.75rem;
}

.amyrel-product-ritual__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .amyrel-product-ritual__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.amyrel-ritual-step {
  text-align: center;
}

.amyrel-ritual-step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
}

.amyrel-ritual-step__label {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 0.75rem;
}

.amyrel-ritual-step__text {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
  line-height: 1.7;
  max-width: 20rem;
  margin-inline: auto;
}

/* ── 25. BLOG PAGE ─────────────────────────────────────────── */
.amyrel-blog-hero {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
}

.amyrel-blog-hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.amyrel-blog-hero__title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--primary);
  margin-top: 1rem;
}

.amyrel-blog-hero__desc {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 1rem;
  max-width: 36rem;
  margin-inline: auto;
}

.amyrel-blog-search {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.amyrel-blog-search input {
  min-width: 0;
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font: inherit;
}

.amyrel-blog-search button {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1rem;
  font: 500 10px var(--font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.amyrel-blog-pagination {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem 6rem;
}

.amyrel-blog-pagination .page-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amyrel-blog-pagination .page-numbers li>* {
  display: grid;
  min-width: 2.5rem;
  min-height: 2.5rem;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--foreground);
  text-decoration: none;
  font-size: 13px;
}

.amyrel-blog-pagination .page-numbers .current,
.amyrel-blog-pagination .page-numbers a:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.amyrel-blog-grid {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .amyrel-blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.amyrel-article-card {
  display: block;
  text-decoration: none;
  background: var(--card);
  color: inherit;
}

.amyrel-article-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.amyrel-article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}

.amyrel-article-card:hover .amyrel-article-card__img img {
  transform: scale(1.05);
}

.amyrel-article-card__body {
  padding: 1.5rem;
}

.amyrel-article-card__cat {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.amyrel-article-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 0.75rem;
  transition: color 0.2s;
}

.amyrel-article-card:hover .amyrel-article-card__title {
  color: var(--accent);
}

.amyrel-article-card__excerpt {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
  line-height: 1.7;
}

/* ── 26. HERO RESPONSIVE ──────────────────────────────────── */
@media (max-width: 767px) {
  .amyrel-hero {
    min-height: 520px;
  }

  .amyrel-hero__content {
    min-height: 520px;
    padding: 4rem 1.5rem;
  }

  .amyrel-hero__title {
    font-size: 2.25rem;
  }

  .amyrel-bestsellers__left {
    padding: 3rem 1.5rem;
  }

  .amyrel-collection-panel__inner {
    display: none;
  }
}

/* ── 27. ASTRA NEUTRALISATION ──────────────────────────────── */
body.amyrel-page .ast-above-header-bar,
body.amyrel-page .ast-below-header-bar,
body.amyrel-page #ast-scroll-top,
body.amyrel-page .ast-breadcrumbs-wrapper {
  display: none !important;
}

body.amyrel-page #ast-desktop-header {
  display: none !important;
}

body.amyrel-page #ast-mobile-header {
  display: none !important;
}

body.amyrel-page .site-footer {
  display: none !important;
}

body.amyrel-page .ast-comment-list-wrap,
body.amyrel-page #comments {
  display: none;
}

/* Remove Astra gap between header and first section */
body.amyrel-page #page,
body.amyrel-page .site,
body.amyrel-page #content,
body.amyrel-page .ast-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.amyrel-page #primary,
body.amyrel-page .site-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.amyrel-page .ast-above-header-section {
  display: none !important;
}

/* Astra injects padding-top equal to header height via JS — override */
body.amyrel-page {
  padding-top: 0 !important;
}

/* ── 28. NEUTRALISE ASTRA BLUE LINK / BUTTON COLOURS ────────── */
/*
 * Astra's frontend.min.css ships two global rules that bleed into every page:
 *   a                { color: #4169e1 }   ← Royal Blue
 *   a:focus, a:hover { color: #191970 }   ← Midnight Blue
 * and the editor stylesheet adds:
 *   a                { color: #0274be }
 * Because Astra loads BEFORE our child stylesheet these are normally
 * overridden by specificity — but any <a> or <button> without an explicit
 * Amyrel colour rule will still flash blue on hover.
 * The block below resets ALL links and buttons inside .amyrel-page to the
 * Amyrel brand palette and removes Astra's "transition:all .2s linear" which
 * causes colour values to animate in from blue.
 */

/* 1. Kill the global "transition:all" that Astra adds — it animates from
      the browser default (blue) to our colour on every hover. */
body.amyrel-page a,
body.amyrel-page button,
body.amyrel-page input[type="submit"],
body.amyrel-page input[type="button"],
body.amyrel-page input[type="reset"] {
  transition-property: background-color, color, border-color, opacity, transform, box-shadow !important;
  transition-duration: 0.2s !important;
  transition-timing-function: ease !important;
}

/* 2. Reset base link color to foreground (not Astra blue).
      Use !important to beat Astra's specificity. */
body.amyrel-page a {
  color: var(--foreground) !important;
  text-decoration: none !important;
}

body.amyrel-page a:hover,
body.amyrel-page a:focus {
  color: var(--primary) !important;
  text-decoration: none !important;
}

/* 3. Restore specific Amyrel link colour overrides that the blanket reset
      above would otherwise nuke. Listed from least to most specific so
      the cascade works correctly. */

/* Muted / metadata links */
body.amyrel-page .amyrel-breadcrumb a,
body.amyrel-page .amyrel-footer__col a,
body.amyrel-page .amyrel-testimonials__author,
body.amyrel-page .amyrel-article-card {
  color: var(--muted-foreground) !important;
}

body.amyrel-page .amyrel-breadcrumb a:hover,
body.amyrel-page .amyrel-footer__col a:hover {
  color: var(--primary) !important;
}

/* Nav links — foreground, primary on hover */
body.amyrel-page .amyrel-nav a,
body.amyrel-page .amyrel-nav button {
  color: color-mix(in oklab, var(--foreground) 80%, transparent) !important;
}

body.amyrel-page .amyrel-nav a:hover,
body.amyrel-page .amyrel-nav button:hover {
  color: var(--primary) !important;
}

/* Dropdown items */
body.amyrel-page .amyrel-dropdown__item,
body.amyrel-page .amyrel-cat-col__product {
  color: var(--foreground) !important;
}

body.amyrel-page .amyrel-dropdown__item:hover,
body.amyrel-page .amyrel-cat-col__product:hover {
  color: var(--primary) !important;
}

/* Topbar links */
body.amyrel-page .amyrel-topbar a {
  color: var(--primary-foreground) !important;
}

/* Primary buttons */
body.amyrel-page .btn-primary,
body.amyrel-page .btn-primary:link,
body.amyrel-page .btn-primary:visited {
  color: var(--primary-foreground) !important;
  background-color: var(--primary) !important;
}

body.amyrel-page .btn-primary:hover,
body.amyrel-page .btn-primary:focus {
  color: var(--primary-foreground) !important;
  background-color: color-mix(in oklab, var(--primary) 90%, transparent) !important;
}

/* Outline buttons */
body.amyrel-page .btn-outline,
body.amyrel-page .btn-outline:link,
body.amyrel-page .btn-outline:visited {
  color: var(--primary) !important;
  background-color: transparent !important;
}

body.amyrel-page .btn-outline:hover,
body.amyrel-page .btn-outline:focus {
  color: var(--primary-foreground) !important;
  background-color: var(--primary) !important;
}

/* Accent buttons */
body.amyrel-page .btn-accent,
body.amyrel-page .btn-accent:link,
body.amyrel-page .btn-accent:visited {
  color: var(--accent-foreground) !important;
  background-color: var(--accent) !important;
}

body.amyrel-page .btn-accent:hover,
body.amyrel-page .btn-accent:focus {
  color: var(--accent-foreground) !important;
  background-color: color-mix(in oklab, var(--accent) 90%, transparent) !important;
}

/* Diagnostic button */
body.amyrel-page .amyrel-btn-diag,
body.amyrel-page .amyrel-btn-diag:link,
body.amyrel-page .amyrel-btn-diag:visited {
  color: var(--accent-foreground) !important;
  background-color: var(--accent) !important;
}

body.amyrel-page .amyrel-btn-diag:hover {
  color: var(--accent-foreground) !important;
  background-color: color-mix(in oklab, var(--accent) 90%, transparent) !important;
}

/* Product card links — transparent background, no blue */
body.amyrel-page .amyrel-product-card,
body.amyrel-page .amyrel-product-card:link,
body.amyrel-page .amyrel-product-card:visited {
  color: var(--foreground) !important;
  background-color: var(--card) !important;
}

body.amyrel-page .amyrel-product-card:hover {
  color: var(--foreground) !important;
  background-color: var(--card) !important;
}

/* Article cards */
body.amyrel-page .amyrel-article-card:hover {
  color: var(--foreground) !important;
}

/* Header action icons */
body.amyrel-page .amyrel-header__actions a,
body.amyrel-page .amyrel-header__actions button {
  color: color-mix(in oklab, var(--foreground) 80%, transparent) !important;
}

body.amyrel-page .amyrel-header__actions a:hover,
body.amyrel-page .amyrel-header__actions button:hover {
  color: var(--primary) !important;
}

body.amyrel-page .amyrel-header__actions .amyrel-btn-diag,
body.amyrel-page .amyrel-header__actions .amyrel-btn-diag:link,
body.amyrel-page .amyrel-header__actions .amyrel-btn-diag:visited,
body.amyrel-page .amyrel-header__actions .amyrel-btn-diag:hover {
  color: var(--accent-foreground) !important;
  padding: 0.625rem 1rem !important;
}

/* Mobile menu links */
body.amyrel-page .amyrel-mobile-menu nav a {
  color: var(--foreground) !important;
}

body.amyrel-page .amyrel-mobile-menu nav a:hover {
  color: var(--primary) !important;
}

/* Filter chips */
body.amyrel-page .amyrel-filter-chip {
  color: var(--foreground) !important;
}

body.amyrel-page .amyrel-filter-chip:hover {
  color: var(--primary) !important;
}

body.amyrel-page .amyrel-filter-chip--active {
  color: var(--primary-foreground) !important;
}

/* Accent-coloured text links (ingredient journal link, etc.) */
body.amyrel-page .amyrel-ingredients__journal,
body.amyrel-page .amyrel-ingredient-card__link {
  color: var(--primary) !important;
}

body.amyrel-page .amyrel-ingredients__journal:hover,
body.amyrel-page .amyrel-ingredient-card:hover .amyrel-ingredient-card__link {
  color: var(--accent) !important;
}

/* Footer social icons */
body.amyrel-page .amyrel-footer__brand-social a {
  color: color-mix(in oklab, var(--foreground) 70%, transparent) !important;
}

body.amyrel-page .amyrel-footer__brand-social a:hover {
  color: var(--primary) !important;
}

/* WooCommerce buttons inside amyrel pages — belt-and-suspenders override */
body.amyrel-page .woocommerce a.button,
body.amyrel-page .woocommerce button.button,
body.amyrel-page .woocommerce input.button,
body.amyrel-page .woocommerce #respond input#submit {
  color: var(--primary-foreground) !important;
  background-color: var(--primary) !important;
}

body.amyrel-page .woocommerce a.button:hover,
body.amyrel-page .woocommerce button.button:hover,
body.amyrel-page .woocommerce input.button:hover,
body.amyrel-page .woocommerce #respond input#submit:hover {
  color: var(--primary-foreground) !important;
  background-color: color-mix(in oklab, var(--primary) 85%, black) !important;
}

/* Size selector buttons */
body.amyrel-page .amyrel-size-btn {
  color: var(--foreground) !important;
  background-color: transparent !important;
}

body.amyrel-page .amyrel-size-btn--active {
  color: var(--primary-foreground) !important;
  background-color: var(--primary) !important;
}

/* Qty picker */
body.amyrel-page .amyrel-qty-picker button {
  color: var(--primary) !important;
  background: none !important;
}

/* Tab buttons */
body.amyrel-page .amyrel-product-tab-btn {
  color: var(--muted-foreground) !important;
  background: none !important;
}

body.amyrel-page .amyrel-product-tab-btn--active,
body.amyrel-page .amyrel-product-tab-btn:hover {
  color: var(--primary) !important;
}

/* Diagnostic options */
body.amyrel-page .amyrel-diagnostic__option {
  color: var(--foreground) !important;
  background: var(--card) !important;
}

body.amyrel-page .amyrel-diagnostic__option:hover {
  color: var(--primary) !important;
  background: var(--card) !important;
}

/* Footer bottom links */
body.amyrel-page .amyrel-footer__bottom-links a {
  color: var(--muted-foreground) !important;
}

body.amyrel-page .amyrel-footer__bottom-links a:hover {
  color: var(--primary) !important;
}

/* Cat column title */
body.amyrel-page .amyrel-cat-col__title {
  color: var(--primary) !important;
}

body.amyrel-page .amyrel-cat-col__title:hover {
  color: var(--accent) !important;
}

/* Collection footer link */
body.amyrel-page .amyrel-collection-footer a {
  color: var(--accent) !important;
}

/* ── 27. ACCOUNT / AUTH STYLES ─────────────────────────────── */

/* Header account menu */
.amyrel-account-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.amyrel-account-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0.5rem 0;
  cursor: pointer;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.05em;
  font-weight: 600;
  transition: color 0.2s;
  text-decoration: none;
}

.amyrel-account-menu__toggle:hover,
.amyrel-account-menu__toggle:focus {
  color: var(--primary);
}

.amyrel-account-menu__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.amyrel-account-menu__chevron {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.2s;
}

.amyrel-account-menu.is-open .amyrel-account-menu__chevron {
  transform: rotate(180deg);
}

.amyrel-account-menu__dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 240px;
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 50;
}

.amyrel-account-menu.is-open .amyrel-account-menu__dropdown,
.amyrel-account-menu:hover .amyrel-account-menu__dropdown,
.amyrel-account-menu:focus-within .amyrel-account-menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.amyrel-account-menu__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 4px);
  color: var(--foreground);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.amyrel-account-menu__item:hover,
.amyrel-account-menu__item:focus {
  background: var(--secondary);
  color: var(--primary);
}

.amyrel-account-menu__item--logout {
  color: var(--destructive);
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

.amyrel-account-menu__item--logout:hover {
  color: var(--destructive);
  background: color-mix(in oklab, var(--destructive) 8%, transparent);
}

/* Auth pages sections */
.amyrel-auth-section {
  padding: 4rem 0 6rem;
}

.amyrel-auth-section--compact {
  padding: 3rem 0 6rem;
}

.amyrel-auth-welcome {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.amyrel-auth-welcome__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.amyrel-auth-welcome__desc {
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.6;
}

.amyrel-auth-card {
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  max-width: 540px;
  margin: 0 auto;
  overflow: hidden;
}

.amyrel-auth-card--message {
  max-width: 600px;
  text-align: center;
  padding: 3rem;
}

.amyrel-auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.amyrel-auth-tab {
  flex: 1;
  padding: 1rem;
  background: var(--secondary);
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.amyrel-auth-tab:hover {
  color: var(--primary);
}

.amyrel-auth-tab.is-active {
  background: var(--card);
  color: var(--primary);
  box-shadow: inset 0 -2px 0 0 var(--primary);
}

.amyrel-auth-pane {
  display: none;
  padding: 2rem;
}

.amyrel-auth-pane.is-active {
  display: block;
  animation: fade-in 0.4s ease-out;
}

/* Forms */
.amyrel-form-group {
  margin-bottom: 1.25rem;
}

.amyrel-form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.amyrel-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.amyrel-form-row>.amyrel-form-group {
  margin-bottom: 0;
}

.amyrel-form-row--flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 639px) {
  .amyrel-form-row {
    grid-template-columns: 1fr;
  }

  .amyrel-form-row--flex {
    flex-direction: column;
    align-items: stretch;
  }
}

.amyrel-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.amyrel-required {
  color: var(--destructive);
}

.amyrel-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.amyrel-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 15%, transparent);
}

.amyrel-input::placeholder {
  color: var(--muted-foreground);
}

.amyrel-form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.375rem;
}

.amyrel-checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.5;
}

.amyrel-checkbox__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.amyrel-checkbox__mark {
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--background);
  flex-shrink: 0;
  margin-top: 0.125rem;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, background 0.2s;
}

.amyrel-checkbox__input:checked+.amyrel-checkbox__mark {
  background: var(--primary);
  border-color: var(--primary);
}

.amyrel-checkbox__input:checked+.amyrel-checkbox__mark::after {
  content: "";
  width: 0.5rem;
  height: 0.25rem;
  border-left: 2px solid var(--primary-foreground);
  border-bottom: 2px solid var(--primary-foreground);
  transform: rotate(-45deg) translate(1px, -1px);
}

.amyrel-checkbox__input:focus+.amyrel-checkbox__mark {
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 15%, transparent);
}

.amyrel-checkbox a {
  color: var(--primary);
  text-decoration: underline;
}

.amyrel-form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.amyrel-form-actions .btn-primary,
.amyrel-form-actions .btn-outline {
  flex: 1;
  justify-content: center;
}

.amyrel-auth-extra-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.amyrel-auth-extra-link a {
  color: var(--primary);
  text-decoration: underline;
}

.amyrel-auth-intro {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.amyrel-auth-message__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  color: var(--primary);
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.amyrel-auth-message__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.amyrel-auth-message__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.amyrel-auth-message__desc {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Reassurance / trust bar */
.amyrel-account-reassurance {
  padding: 4rem 0 6rem;
  background: linear-gradient(180deg, var(--background), var(--surface-warm));
}

.amyrel-reassurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.amyrel-reassurance {
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s;
}

.amyrel-reassurance:hover {
  transform: translateY(-4px);
}

.amyrel-reassurance__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.25rem;
  color: var(--primary);
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.amyrel-reassurance__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.amyrel-reassurance__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.amyrel-reassurance__desc {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* Logged-in account layout */
.amyrel-account-wrap {
  background: var(--background);
}

.amyrel-account-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .amyrel-account-grid {
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
  }
}

.woocommerce-MyAccount-content {
  min-width: 0;
}

/* Override Astra legacy float/width on our custom account grid */
.amyrel-account-grid .woocommerce-MyAccount-navigation,
.amyrel-account-grid .woocommerce-MyAccount-content {
  width: auto !important;
  float: none !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Prevent Astra legacy styles from breaking our custom account nav */
.woocommerce-MyAccount-navigation-link a {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

/* Desktop sidebar */
.amyrel-account-sidebar {
  position: sticky;
  top: 8rem;
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
}

.amyrel-account-sidebar__profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
}

.amyrel-account-sidebar__avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  border: 2px solid color-mix(in oklab, var(--primary) 20%, transparent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 8%, transparent);
}

.amyrel-account-sidebar__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.amyrel-account-sidebar__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.125rem;
}

.amyrel-account-sidebar__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amyrel-account-sidebar__email {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.125rem;
}

.amyrel-account-sidebar__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.amyrel-account-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.amyrel-account-sidebar__link:hover {
  background: var(--secondary);
  color: var(--primary);
}

.amyrel-account-sidebar__item.is-active .amyrel-account-sidebar__link,
.amyrel-account-sidebar__link[aria-current="page"] {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 14px -6px color-mix(in oklab, var(--primary) 45%, transparent);
}

.amyrel-account-sidebar__link[data-logout="true"] {
  margin-top: 0.5rem;
  color: var(--destructive);
}

.amyrel-account-sidebar__link[data-logout="true"]:hover {
  background: color-mix(in oklab, var(--destructive) 10%, transparent);
  color: var(--destructive);
}

.amyrel-account-sidebar__item.is-active .amyrel-account-sidebar__link[data-logout="true"] {
  background: var(--destructive);
  color: var(--destructive-foreground);
  box-shadow: 0 4px 14px -6px color-mix(in oklab, var(--destructive) 35%, transparent);
}

.amyrel-account-sidebar__icon {
  display: grid;
  place-items: center;
  color: currentColor;
}

.amyrel-account-sidebar__text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile account navigation */
.amyrel-account-mobile-nav {
  margin-bottom: 1.5rem;
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 0.75rem;
  overflow: hidden;
}

.amyrel-account-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.amyrel-account-mobile-nav__list::-webkit-scrollbar {
  display: none;
}

.amyrel-account-mobile-nav__item {
  flex-shrink: 0;
}

.amyrel-account-mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.amyrel-account-mobile-nav__link:hover {
  background: var(--secondary);
  color: var(--primary);
}

.amyrel-account-mobile-nav__item.is-active .amyrel-account-mobile-nav__link,
.amyrel-account-mobile-nav__link[aria-current="page"] {
  background: var(--primary);
  color: var(--primary-foreground);
}

.amyrel-account-mobile-nav__link[data-logout="true"] {
  color: var(--destructive);
}

.amyrel-account-mobile-nav__link[data-logout="true"]:hover {
  background: color-mix(in oklab, var(--destructive) 10%, transparent);
  color: var(--destructive);
}

.amyrel-account-mobile-nav__item.is-active .amyrel-account-mobile-nav__link[data-logout="true"] {
  background: var(--destructive);
  color: var(--destructive-foreground);
}

.amyrel-account-mobile-nav__icon {
  display: grid;
  place-items: center;
  color: currentColor;
}

@media (max-width: 1023px) {
  .amyrel-reassurance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reserve space for the fixed mobile bottom nav */
  .amyrel-page {
    padding-bottom: 4rem;
  }
}

@media (max-width: 639px) {
  .amyrel-reassurance-grid {
    grid-template-columns: 1fr;
  }

  .amyrel-auth-welcome__title {
    font-size: 1.5rem;
  }

  .amyrel-auth-pane {
    padding: 1.5rem;
  }

  .amyrel-auth-card--message {
    padding: 2rem 1.5rem;
  }
}

/* Dashboard */
.amyrel-dashboard {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Hero welcome */
.amyrel-dashboard__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, var(--card) 0%, color-mix(in oklab, var(--primary) 8%, transparent) 100%);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.amyrel-dashboard__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, color-mix(in oklab, var(--accent) 14%, transparent), transparent 35%);
}

.amyrel-dashboard__hero-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.amyrel-dashboard__hero-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  border: 2px solid color-mix(in oklab, var(--primary) 20%, transparent);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--primary) 8%, transparent);
}

.amyrel-dashboard__hero-text {
  min-width: 0;
}

.amyrel-dashboard__hero-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.amyrel-dashboard__hero-desc {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 42ch;
}

.amyrel-dashboard__hero .btn-primary {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* Account summary */
.amyrel-dashboard__summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 1024px) {
  .amyrel-dashboard__summary {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 639px) {
  .amyrel-dashboard__summary {
    grid-template-columns: 1fr;
  }
}

.amyrel-summary-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}

.amyrel-summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px -25px color-mix(in oklab, var(--primary) 18%, transparent);
}

.amyrel-summary-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: color-mix(in oklab, var(--primary) 10%, transparent);
}

.amyrel-summary-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.amyrel-summary-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.amyrel-summary-card__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.amyrel-summary-card__value {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amyrel-summary-card__meta {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

.amyrel-summary-card__action {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  padding: 0.375rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  background: color-mix(in oklab, var(--primary) 8%, transparent);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.amyrel-summary-card__action:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Dashboard section */
.amyrel-dashboard__section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.amyrel-dashboard__section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

/* Quick action cards */
.amyrel-dashboard__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .amyrel-dashboard__cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 639px) {
  .amyrel-dashboard__cards {
    grid-template-columns: 1fr;
  }
}

.amyrel-account-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--foreground);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.amyrel-account-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 65px -30px color-mix(in oklab, var(--primary) 22%, transparent);
}

.amyrel-account-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.amyrel-account-card__icon svg,
.amyrel-account-card__svg {
  width: 1.5rem;
  height: 1.5rem;
}

.amyrel-account-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.amyrel-account-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.amyrel-account-card__desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.amyrel-account-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: auto;
}

.amyrel-account-card__link svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.2s;
}

.amyrel-account-card:hover .amyrel-account-card__link svg {
  transform: translateX(4px);
}

.amyrel-account-card--form {
  padding: 2rem;
  max-width: 720px;
}

.amyrel-account-card__form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.amyrel-account-card__form-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

.amyrel-dashboard__recent {
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}

.amyrel-dashboard__section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.amyrel-dashboard__orders {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.amyrel-order-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--background);
  border-radius: calc(var(--radius) - 4px);
}

@media (max-width: 767px) {
  .amyrel-order-mini {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .amyrel-order-mini .btn-outline--small {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

.amyrel-order-mini__col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.amyrel-order-mini__label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.amyrel-order-mini__value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.amyrel-dashboard__all-orders {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
}

.amyrel-dashboard__all-orders svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.2s;
}

.amyrel-dashboard__all-orders:hover svg {
  transform: translateX(4px);
}

/* Orders list */
.amyrel-orders {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.amyrel-orders__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 767px) {
  .amyrel-orders__grid {
    grid-template-columns: 1fr;
  }
}

.amyrel-order-card {
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.2s;
}

.amyrel-order-card:hover {
  transform: translateY(-4px);
}

.amyrel-order-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--secondary);
}

.amyrel-order-card__label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.amyrel-order-card__number {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  font-size: 1.125rem;
}

.amyrel-order-card__status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary);
}

.amyrel-order-card__status--pending,
.amyrel-order-card__status--on-hold,
.amyrel-order-card__status--processing {
  background: color-mix(in oklab, var(--accent) 15%, transparent);
  color: var(--accent);
}

.amyrel-order-card__status--completed {
  background: color-mix(in oklab, var(--primary) 15%, transparent);
  color: var(--primary);
}

.amyrel-order-card__status--cancelled,
.amyrel-order-card__status--refunded,
.amyrel-order-card__status--failed {
  background: color-mix(in oklab, var(--destructive) 12%, transparent);
  color: var(--destructive);
}

.amyrel-order-card__body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.amyrel-order-card__row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.amyrel-order-card__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
}

.amyrel-order-card__actions {
  display: flex;
  gap: 0.75rem;
  padding: 0 1.5rem 1.5rem;
}

.amyrel-orders__pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.amyrel-empty-state {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--card);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.amyrel-empty-state__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  color: var(--muted-foreground);
}

.amyrel-empty-state__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.amyrel-empty-state__desc {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* Fieldsets */
.amyrel-form-fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.amyrel-form-fieldset__legend {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0 0.75rem;
}

/* Addresses */
.amyrel-addresses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 767px) {
  .amyrel-addresses {
    grid-template-columns: 1fr;
  }
}

.amyrel-address-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.amyrel-address-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.amyrel-address-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--primary);
}

.amyrel-address-card__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary);
}

.amyrel-address-card__badge--empty {
  background: var(--muted);
  color: var(--muted-foreground);
}

.amyrel-address-card__address {
  font-style: normal;
  color: var(--foreground);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.amyrel-address-card__empty {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.amyrel-address-card__footer {
  margin-top: 1.25rem;
}

.woocommerce-address-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.woocommerce-address-fields__field-wrapper .form-row {
  margin: 0;
}

.woocommerce-address-fields__field-wrapper input,
.woocommerce-address-fields__field-wrapper select,
.woocommerce-address-fields__field-wrapper textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--foreground);
}

.woocommerce-address-fields__field-wrapper label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

@media (max-width: 639px) {
  .woocommerce-address-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Button variants */
.btn-outline--small,
.btn-primary--small {
  padding: 0.5rem 1rem;
  font-size: 10px;
}

/* WooCommerce notices restyle */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.woocommerce-error {
  background: color-mix(in oklab, var(--destructive) 8%, transparent);
  color: var(--destructive);
  border: 1px solid color-mix(in oklab, var(--destructive) 20%, transparent);
}

.woocommerce-message,
.woocommerce-info {
  background: color-mix(in oklab, var(--primary) 8%, transparent);
  color: var(--foreground);
  border: 1px solid color-mix(in oklab, var(--primary) 20%, transparent);
}

.woocommerce-error a,
.woocommerce-message a,
.woocommerce-info a {
  color: var(--primary);
  text-decoration: underline;
}

.woocommerce-error a.button,
.woocommerce-message a.button,
.woocommerce-info a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  margin-left: 0.75rem;
}

.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
  display: none;
}

/* Account page hero content spacing because of sticky header */
.amyrel-account-page .amyrel-hero__content {
  padding-top: 8rem;
}

/* Hide default Astra page title on account pages */
.amyrel-account-page .entry-header {
  display: none !important;
}

/* Allow the account layout to use the full page width */
.amyrel-account-page .entry-content {
  max-width: none !important;
}

.amyrel-account-page main .max-w-7xl,
.amyrel-account-page .amyrel-account-wrap .max-w-7xl,
.amyrel-account-page .amyrel-auth-section .max-w-7xl {
  margin-top: 2rem !important;
  margin-bottom: 3rem !important;
}

/* ── ASTRA LEGACY WOOCOMMERCE OVERRIDES ─────────────────────── */

/* Remove Astra borders on our custom auth/account forms */
body.woocommerce-page .amyrel-auth-card form.login,
body.woocommerce-page .amyrel-auth-card form.register,
body.woocommerce-page .amyrel-auth-card form.lost_reset_password,
body.woocommerce-page .amyrel-account-card--form .woocommerce-EditAccountForm,
body.woocommerce-page .amyrel-account-card--form .woocommerce-address-fields {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  text-align: left !important;
  background: transparent !important;
}

/* Hide duplicated WooCommerce privacy policy text under the register form */
.woocommerce-privacy-policy-text {
  display: none !important;
}

/* Align WooCommerce address form required/optional markers with the design system */
.woocommerce-address-fields .required {
  color: var(--destructive) !important;
}

.woocommerce-address-fields .optional {
  color: var(--muted-foreground);
  font-weight: 400;
}

/* Align Select2 dropdowns (country / state) with the design system */
.select2-container--default .select2-selection--single {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--background) !important;
  height: auto !important;
  padding: 0.625rem 1rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--foreground) !important;
  line-height: 1.5 !important;
  padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  right: 0.5rem !important;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default .select2-selection--single:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 15%, transparent) !important;
}

.select2-dropdown {
  border-color: var(--border) !important;
  background: var(--card) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: color-mix(in oklab, var(--primary) 12%, transparent) !important;
  color: var(--primary) !important;
}

/* ── 35. INTERIOR PAGE HERO ────────────────────────────────── */
.amyrel-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .amyrel-page-hero {
    min-height: 520px;
  }
}

.amyrel-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.amyrel-page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amyrel-page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--page-hero-overlay, rgba(255, 250, 245, 0.92));
}

.amyrel-page-hero__decor {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.18;
}

.amyrel-page-hero__decor--top {
  top: -1rem;
  right: -2rem;
  width: 220px;
}

.amyrel-page-hero__decor--bottom {
  bottom: 0;
  left: -1rem;
  width: 160px;
}

@media (min-width: 768px) {
  .amyrel-page-hero__decor--top {
    width: 340px;
  }

  .amyrel-page-hero__decor--bottom {
    width: 220px;
  }
}

.amyrel-page-hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w-7xl);
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  text-align: center;
}

.amyrel-page-hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.amyrel-page-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--primary);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  margin-top: 1rem;
}

.amyrel-page-hero__desc {
  font-size: 1rem;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  max-width: 42rem;
  margin: 1.25rem auto 0;
  line-height: 1.7;
}

.amyrel-page-hero__cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* ── 36. INTERIOR PAGE SECTIONS ────────────────────────────── */
.amyrel-page-section {
  padding: 5rem 1.5rem;
  max-width: var(--max-w-7xl);
  margin: 0 auto;
}

.amyrel-page-section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.amyrel-page-section__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.amyrel-page-section__title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  margin-top: 0.75rem;
  letter-spacing: -0.02em;
}

.amyrel-page-section__desc {
  font-size: 15px;
  color: var(--muted-foreground);
  max-width: 44rem;
  margin: 1rem auto 0;
  line-height: 1.8;
}

.amyrel-page-section__cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ── 37. INTERIOR PAGE CHAPTERS ────────────────────────────── */
.amyrel-page-chapters {
  padding: 5rem 0;
  overflow: hidden;
}

.amyrel-page-chapters__inner {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.amyrel-page-chapter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .amyrel-page-chapter {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .amyrel-page-chapter--left .amyrel-page-chapter__text {
    order: 2;
  }
}

.amyrel-page-chapter__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.amyrel-page-chapter__title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
  margin-top: 0.75rem;
  letter-spacing: -0.02em;
}

.amyrel-page-chapter__body {
  font-size: 15px;
  color: var(--muted-foreground);
  margin-top: 1.25rem;
  line-height: 1.9;
}

.amyrel-page-chapter__body p+p {
  margin-top: 1rem;
}

.amyrel-page-chapter__cta {
  margin-top: 1.75rem;
}

.amyrel-page-chapter__img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--secondary);
}

.amyrel-page-chapter__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.amyrel-page-chapter:hover .amyrel-page-chapter__img img {
  transform: scale(1.03);
}

/* ── 38. INTERIOR PAGE PROCESS ──────────────────────────────── */
.amyrel-page-process {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .amyrel-page-process {
    grid-template-columns: repeat(4, 1fr);
  }
}

.amyrel-page-process__step {
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border);
}

.amyrel-page-process__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

.amyrel-page-process__title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.amyrel-page-process__text {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ── 39. INTERIOR PAGE GRID & CARDS ────────────────────────── */
.amyrel-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .amyrel-page-grid--ingredients {
    grid-template-columns: repeat(2, 1fr);
  }

  .amyrel-page-grid--journal {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .amyrel-page-grid--ingredients {
    grid-template-columns: repeat(3, 1fr);
  }

  .amyrel-page-grid--journal {
    grid-template-columns: repeat(3, 1fr);
  }

  .amyrel-page-grid--pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.amyrel-page-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.amyrel-page-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--secondary);
}

.amyrel-page-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.amyrel-page-card:hover .amyrel-page-card__img img {
  transform: scale(1.05);
}

.amyrel-page-card__body {
  padding: 1.25rem;
}

.amyrel-page-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: 1.25rem;
}

.amyrel-page-card__baseline {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.25rem;
}

.amyrel-page-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 13px;
  color: var(--muted-foreground);
}

.amyrel-page-card--journal {
  height: 100%;
}

.amyrel-page-card--journal a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.amyrel-page-card--journal .amyrel-page-card__img {
  aspect-ratio: 16 / 10;
}

.amyrel-page-card__date {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.amyrel-page-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.amyrel-page-card__excerpt {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.amyrel-page-card--pillar {
  padding: 2rem;
  text-align: center;
}

.amyrel-page-card--pillar .amyrel-page-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  color: var(--primary);
}

.amyrel-page-card--pillar .amyrel-page-card__icon svg {
  width: 100%;
  height: 100%;
}

.amyrel-page-card--pillar .amyrel-page-card__title {
  margin-bottom: 0.75rem;
}

.amyrel-page-card--pillar .amyrel-page-card__text {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ── 40. INTERIOR PAGE RESPONSIVE ──────────────────────────── */
@media (max-width: 767px) {
  .amyrel-page-hero {
    min-height: 360px;
  }

  .amyrel-page-hero__content {
    padding: 4rem 1.5rem;
  }

  .amyrel-page-hero__decor--top {
    width: 160px;
  }

  .amyrel-page-hero__decor--bottom {
    width: 110px;
  }

  .amyrel-page-section {
    padding: 3.5rem 1.5rem;
  }

  .amyrel-page-chapters {
    padding: 3.5rem 0;
  }

  .amyrel-page-chapters__inner {
    gap: 3.5rem;
  }

  .amyrel-page-chapter__img {
    aspect-ratio: 3 / 2;
  }
}

/* ── 41. BEST SELLERS RAIL ─────────────────────────────────── */
.amyrel-bestsellers-rail {
  padding: 5rem 0;
  overflow: hidden;
  background: var(--secondary);
}

.amyrel-bestsellers-rail__header {
  text-align: center;
  padding: 0 1.5rem;
  margin-bottom: 2.5rem;
}

.amyrel-bestsellers-rail__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.amyrel-bestsellers-rail__title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  margin-top: 0.75rem;
  letter-spacing: -0.02em;
}

.amyrel-bestsellers-rail__track-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: auto;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.amyrel-bestsellers-rail__track-wrapper.is-dragging {
  cursor: grabbing;
}

.amyrel-bestsellers-rail__track-wrapper::-webkit-scrollbar {
  display: none;
}

.amyrel-bestsellers-rail__track-wrapper::before,
.amyrel-bestsellers-rail__track-wrapper::after {
  display: none;
}

.amyrel-bestsellers-rail__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0 1.5rem;
  will-change: scroll-position;
}

.amyrel-bestsellers-rail__card {
  flex: 0 0 auto;
  width: 260px;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.amyrel-bestsellers-rail__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.amyrel-bestsellers-rail__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--secondary);
}

.amyrel-bestsellers-rail__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.amyrel-bestsellers-rail__img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.amyrel-bestsellers-rail__card:hover .amyrel-bestsellers-rail__img {
  opacity: 0;
}

.amyrel-bestsellers-rail__card:hover .amyrel-bestsellers-rail__img-hover {
  opacity: 1;
}

.amyrel-bestsellers-rail__body {
  padding: 1.25rem;
  text-align: center;
}

.amyrel-bestsellers-rail__name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.3;
}

.amyrel-bestsellers-rail__base {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.amyrel-bestsellers-rail__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.75rem;
}

.amyrel-bestsellers-rail__footer {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  padding: 0 1.5rem;
}

@media (max-width: 767px) {
  .amyrel-bestsellers-rail {
    padding: 3.5rem 0;
  }

  .amyrel-bestsellers-rail__card {
    width: 200px;
  }

  .amyrel-bestsellers-rail__track {
    gap: 1rem;
    animation-duration: 24s;
  }
}

/* ── FICHE PRODUIT : LIRE PLUS ─────────────────────────────── */
.amyrel-product-info__tagline-badge {
  background: #FDF3EB;
  color: #D97757;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 8px;
}

/* ── FICHE PRODUIT : FORMAT SELECTOR ───────────────────────── */
.amyrel-product-info__format-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.amyrel-product-info__sizes {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.amyrel-size-btn {
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-sm, 0.25rem);
  border: 1.5px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.amyrel-size-btn--active,
.amyrel-size-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.amyrel-product-info__buy-box {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md, 0.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.amyrel-wishlist-btn {
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.amyrel-wishlist-btn svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.2s ease, fill 0.2s ease, stroke 0.2s ease;
}

.amyrel-wishlist-btn:hover,
.amyrel-wishlist-btn--active,
.amyrel-wishlist-btn.amyrel-wishlist-btn--active {
  color: #e11d48 !important;
  border-color: #f43f5e !important;
  background: #fff1f2 !important;
}

.amyrel-wishlist-btn--active svg,
.amyrel-wishlist-btn.amyrel-wishlist-btn--active svg {
  fill: #e11d48 !important;
  stroke: #e11d48 !important;
  transform: scale(1.15) !important;
}

.amyrel-wishlist-btn--active svg path,
.amyrel-wishlist-btn.amyrel-wishlist-btn--active svg path {
  fill: #e11d48 !important;
  stroke: #e11d48 !important;
}

/* ── HIDE PRODUCT META (UGS / CATEGORIE) ─────────────────── */
.product_meta {
  display: none !important;
}

.amyrel-read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 0.5rem;
  transition: color 0.2s ease;
}

.amyrel-read-more-link:hover {
  color: var(--accent);
}

.amyrel-read-more-link svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.2s ease;
}

.amyrel-read-more-link:hover svg {
  transform: translateY(2px);
}

/* ── FICHE PRODUIT : INGRÉDIENTS PHARES RECTANGULAR BOX ──────── */
.amyrel-product-key-ingredients-box {
  background: #FAF8F5;
  border: 1px solid #E8E2D9;
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin-top: 1.75rem;
  box-shadow: 0 6px 24px rgba(27, 54, 41, 0.04);
}

.amyrel-product-key-ingredients-box__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1B3629;
  font-weight: 700;
}

.amyrel-product-key-ingredients-box__header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #D4A373;
}

.amyrel-product-key-ingredients-box__subtitle {
  font-size: 12px;
  color: #666666;
  text-align: center;
  margin-top: 0.35rem;
}

.amyrel-product-key-ingredients-box__items {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2.25rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.amyrel-key-ing-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 140px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.amyrel-key-ing-item:hover {
  transform: translateY(-3px);
}

.amyrel-key-ing-item__img {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid #E8E2D9;
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 14px rgba(27, 54, 41, 0.08);
  transition: all 0.35s ease;
}

.amyrel-key-ing-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.amyrel-key-ing-item:hover .amyrel-key-ing-item__img {
  border-color: #D4A373;
  box-shadow: 0 8px 24px rgba(27, 54, 41, 0.15);
}

.amyrel-key-ing-item:hover .amyrel-key-ing-item__img img {
  transform: scale(1.14);
}

.amyrel-key-ing-item__name {
  font-size: 12px;
  font-weight: 700;
  color: #1B3629;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.amyrel-key-ing-item__desc {
  font-size: 11px;
  color: #666666;
  margin-top: 0.25rem;
  line-height: 1.35;
}


/* ── FICHE PRODUIT : SUMMARY TABS (REFINED LUXURY SEGMENTED DESIGN) ── */
.amyrel-product-summary-tabs {
  background: #FAF8F5 !important;
  border: 1px solid #E8E2D9 !important;
  border-radius: 12px !important;
  margin-top: 1.75rem !important;
  overflow: hidden !important;
  box-shadow: 0 6px 24px rgba(27, 54, 41, 0.04) !important;
}

.amyrel-product-summary-tabs__nav {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  background: #F4F0EA !important;
  padding: 6px !important;
  gap: 6px !important;
  border-bottom: 1px solid #E8E2D9 !important;
}

.amyrel-summary-tab-btn {
  padding: 0.75rem 0.5rem !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.amyrel-summary-tab-btn:hover {
  background: rgba(255, 255, 255, 0.6) !important;
}

.amyrel-summary-tab-btn__header {
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  color: #555555 !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 0.03em !important;
  font-family: var(--font-display, serif) !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
}

.amyrel-summary-tab-btn__header svg {
  width: 0.9rem !important;
  height: 0.9rem !important;
  color: #777777 !important;
  flex-shrink: 0 !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}


.amyrel-summary-tab-btn__sub {
  font-size: 10px !important;
  color: #777777 !important;
  margin-top: 0.25rem !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  transition: color 0.2s ease !important;
}

/* Active tab state */
.amyrel-summary-tab-btn--active {
  background: #FFFFFF !important;
  border-color: #E2DBD0 !important;
  box-shadow: 0 4px 14px rgba(27, 54, 41, 0.08) !important;
}

.amyrel-summary-tab-btn--active .amyrel-summary-tab-btn__header {
  color: #1B3629 !important;
}

.amyrel-summary-tab-btn--active .amyrel-summary-tab-btn__header svg {
  color: #D4A373 !important;
  transform: scale(1.08) !important;
}

.amyrel-summary-tab-btn--active .amyrel-summary-tab-btn__sub {
  color: #1B3629 !important;
  font-weight: 500 !important;
}

@media (max-width: 640px) {
  .amyrel-product-summary-tabs__nav {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 4px !important;
    padding: 4px !important;
  }

  .amyrel-summary-tab-btn {
    padding: 0.75rem 0.6rem !important;
  }

  .amyrel-summary-tab-btn__header {
    font-size: 10px !important;
    letter-spacing: 0.03em !important;
    gap: 0.3rem !important;
  }

  .amyrel-summary-tab-btn__header svg {
    width: 0.85rem !important;
    height: 0.85rem !important;
  }

  .amyrel-summary-tab-btn__sub {
    font-size: 9px !important;
    line-height: 1.25 !important;
  }
}

.amyrel-product-summary-tabs__content {
  padding: 1.75rem 2rem !important;
  background: #FFFFFF !important;
  min-height: 120px !important;
  border-top: none !important;
  color: #2D3748 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}


.amyrel-summary-tab-pane {
  display: none !important;
}

.amyrel-summary-tab-pane--active {
  display: block !important;
}

/* ── SIDE MINI-CART DRAWER ─────────────────────────────────── */
.amyrel-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  transition: visibility 0.35s ease;
}

.amyrel-cart-drawer.is-open {
  visibility: visible;
}

.amyrel-cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.amyrel-cart-drawer.is-open .amyrel-cart-drawer__overlay {
  opacity: 1;
}

.amyrel-cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);
  border-left: 1px solid var(--border);
}

.amyrel-cart-drawer.is-open .amyrel-cart-drawer__panel {
  transform: translateX(0);
}

.amyrel-cart-drawer__header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-b: 1px solid var(--border);
}

.amyrel-cart-drawer__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.amyrel-cart-drawer__count-badge {
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 11px;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

.amyrel-cart-drawer__close {
  background: transparent;
  border: none;
  color: var(--foreground);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.amyrel-cart-drawer__close:hover {
  background: var(--secondary);
  color: var(--primary);
}

.amyrel-cart-drawer__close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.amyrel-cart-drawer__shipping-bar {
  padding: 0.75rem 1.5rem;
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
}

.amyrel-cart-drawer__shipping-text {
  font-size: 12px;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.amyrel-cart-drawer__shipping-progress {
  height: 6px;
  background: var(--border);
  border-radius: 9999px;
  overflow: hidden;
}

.amyrel-cart-drawer__shipping-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 9999px;
  transition: width 0.4s ease;
}

.amyrel-cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.amyrel-cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.amyrel-cart-item__media {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--radius-sm, 0.375rem);
  overflow: hidden;
  background: var(--secondary);
  flex-shrink: 0;
}

.amyrel-cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amyrel-cart-item__details {
  flex: 1;
  min-width: 0;
}

.amyrel-cart-item__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: block;
  line-height: 1.25;
}

.amyrel-cart-item__tagline {
  font-size: 11px;
  color: var(--muted-foreground);
  margin-top: 0.2rem;
}

.amyrel-cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.625rem;
}

.amyrel-cart-item__price {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.amyrel-cart-item__qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  overflow: hidden;
  background: var(--background);
}

.amyrel-cart-qty-btn {
  width: 1.5rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s;
}

.amyrel-cart-qty-btn:hover {
  background: var(--secondary);
  color: var(--primary);
}

.amyrel-cart-item__qty span {
  padding: 0 0.5rem;
  font-size: 12px;
  font-weight: 600;
}

.amyrel-cart-item__remove {
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
  align-self: flex-start;
}

.amyrel-cart-item__remove:hover {
  color: var(--destructive);
}

.amyrel-cart-item__remove svg {
  width: 1rem;
  height: 1rem;
}

.amyrel-cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 3rem 1rem;
  color: var(--muted-foreground);
}

.amyrel-cart-drawer__empty svg {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--border);
  margin-bottom: 1rem;
}

.amyrel-cart-drawer__empty p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.amyrel-cart-drawer__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--background);
}

.amyrel-cart-drawer__total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.amyrel-cart-drawer__ctas {
  display: flex;
  flex-direction: row;
  gap: 0.625rem;
}

.amyrel-cart-drawer__ctas .btn-primary,
.amyrel-cart-drawer__ctas .btn-outline {
  flex: 1;
  justify-content: center;
  text-align: center;
  padding: 0.75rem 1rem;
}

/* ── Account menu: icon-only in navbar ── */
.amyrel-account-menu__label,
.amyrel-account-menu__chevron {
  display: none;
}