/*
Theme Name: FOXLIGHT
Theme URI: https://shop.fox-light.com
Author: FOXLIGHT
Author URI: https://shop.fox-light.com
Description: Mood-first lighting store theme. Bilingual (EN/LT), WooCommerce-ready, with editorial product pages, cookie consent, mini-cart drawer, mobile nav, and warm cream/black palette designed for cozy evening-mood shopping.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: foxlight
Tags: e-commerce, woocommerce, custom-colors, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* ========== Reset & base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1612;
  background: #0a0908;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: #fff; padding: 8px 14px; z-index: 1000; }

/* ========== Color tokens ========== */
:root {
  --black: #0a0908;
  --black-soft: #15110d;
  --cream: #f5ede0;
  --cream-deep: #ebe0cc;
  --warm-white: #fbf6ec;
  /* Backgrounds for product imagery — soft milky cream, never pure white */
  --photo-bg: #f5efe4;
  --amber: #c89858;        /* deeper, more refined amber (less "yellow-cheap") */
  --amber-soft: #b88747;
  --amber-glow: #d4a76a;
  --text-dark: #1a1612;
  --text-muted: #7a6f60;
  --text-light: rgba(245, 237, 224, 0.85);
  --text-light-muted: rgba(245, 237, 224, 0.55);
  --border-cream: rgba(26, 22, 18, 0.12);
  --border-dark: rgba(245, 237, 224, 0.12);
  --shadow-soft: 0 16px 40px rgba(26, 22, 18, 0.08);
  --shadow-strong: 0 30px 80px rgba(26, 22, 18, 0.18);
}

/* ========== Typography ==========
   Marcellus is a low-contrast serif with very minimal terminals — no heavy
   "varnelės" / ornaments. Used for the FOXLIGHT wordmark and section heads.
*/
.serif, h1, h2, h3, h4 {
  font-family: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.05; }
h2 { font-size: clamp(1.85rem, 4.2vw, 3.2rem); line-height: 1.1; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }

/* ========== Layout ========== */
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

section { position: relative; }
.section-cream { background: var(--cream); color: var(--text-dark); }
.section-black { background: var(--black); color: var(--text-light); }

/* ========== Top nav ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 9, 8, 0.0);
  backdrop-filter: blur(0px);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease, color 0.3s;
}
.nav.scrolled {
  background: rgba(10, 9, 8, 0.85);
  backdrop-filter: blur(14px);
  padding: 12px 32px;
}
/* On pages where the body is light/cream (shop, single product, generic page),
   the fixed nav rides over a light bg — invert its colors. JS sets .nav-on-light
   by reading body class. */
.nav.nav-on-light {
  background: rgba(245, 237, 224, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-cream);
}
.nav.nav-on-light .nav-logo,
.nav.nav-on-light .nav-links a,
.nav.nav-on-light .nav-cart { color: var(--text-dark); }
.nav.nav-on-light .lang-toggle { border-color: var(--border-cream); }
.nav.nav-on-light .lang-toggle button { color: var(--text-muted); }
.nav.nav-on-light .lang-toggle button.active { background: var(--text-dark); color: var(--cream); }
.nav.nav-on-light .nav-burger span { background: var(--text-dark); }

.nav-logo { display: inline-flex; align-items: center; }
.nav-logo .nav-logo-text {
  font-family: 'Marcellus', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--cream);
  transition: color 0.3s;
}
.nav-logo .custom-logo {
  max-height: 40px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 36px; align-items: center; list-style: none; }
.nav-links a {
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber); }
.nav-right { display: flex; gap: 16px; align-items: center; }

/* ----- Language toggle: works on dark AND light backgrounds. ----- */
.lang-toggle {
  display: flex; gap: 2px;
  border: 1px solid rgba(245, 237, 224, 0.35);
  border-radius: 999px;
  padding: 3px;
  transition: border-color 0.3s;
}
.lang-toggle button {
  color: rgba(245, 237, 224, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  transition: all 0.25s;
  font-weight: 500;
}
.lang-toggle button.active { background: var(--amber); color: var(--black); }

.nav-cart {
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color 0.2s;
}
.nav-cart .cart-pill { font-size: 0.78rem; }
.nav-cart:hover { color: var(--amber); }

/* ----- Mobile burger ----- */
.nav-burger {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.2s, background 0.3s;
}
.nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav { padding: 14px 20px; }
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(82vw, 360px);
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 96px 32px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
    z-index: 90;
    border-left: 1px solid var(--border-dark);
  }
  .nav.menu-open .nav-links { transform: translateX(0); }
  .nav-on-light .nav-links { background: var(--cream); border-color: var(--border-cream); }
  .nav-links a { font-size: 1.05rem; letter-spacing: 0.14em; }
  .nav-right { gap: 12px; }
  /* Cart label compact on mobile */
  .nav-cart [data-i18n="nav_cart"] { display: none; }
  .nav-cart::before {
    content: "";
    display: inline-block;
    width: 18px; height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5ede0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='21' r='1'/><circle cx='20' cy='21' r='1'/><path d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/></svg>");
    background-size: contain; background-repeat: no-repeat;
    margin-right: 6px;
  }
  .nav-on-light .nav-cart::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1612' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='21' r='1'/><circle cx='20' cy='21' r='1'/><path d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/></svg>");
  }
}
@media (max-width: 480px) {
  .lang-toggle button { padding: 3px 8px; font-size: 0.65rem; }
  .nav-logo .nav-logo-text { font-size: 1.15rem; letter-spacing: 0.18em; }
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  background: var(--black);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* Optional photographic header image (set as inline style background-image) */
.hero.has-photo::before {
  background:
    linear-gradient(135deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.25) 50%, rgba(10,9,8,0.78) 100%),
    var(--hero-photo, none);
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 45%, rgba(200, 152, 88, 0.20), transparent 60%),
    radial-gradient(ellipse 40% 35% at 88% 70%, rgba(200, 152, 88, 0.15), transparent 65%),
    radial-gradient(ellipse 30% 25% at 25% 80%, rgba(200, 152, 88, 0.07), transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -5%;
  top: 10%;
  width: 70%;
  height: 80%;
  background:
    linear-gradient(transparent 49.5%, rgba(0,0,0,0.35) 49.5%, rgba(0,0,0,0.35) 50.5%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(0,0,0,0.35) 49.5%, rgba(0,0,0,0.35) 50.5%, transparent 50.5%);
  background-size: 33% 33%;
  opacity: 0.32;
  z-index: 2;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 30%, transparent 75%);
}
.hero.has-photo::after { opacity: 0; }
.hero-content {
  position: relative;
  z-index: 5;
  padding-top: 120px;
  padding-bottom: 80px;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber-glow);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeIn 1.2s ease 0.3s forwards;
}

.hero-logo {
  font-family: 'Marcellus', serif;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(245, 237, 224, 0.92);
  margin-bottom: 28px;
  line-height: 1;
  text-shadow: none;
  animation: lampOn 3.5s ease-out 0.6s forwards;
}
.hero-logo .dot { display: none; }
.footer-logo .dot { display: none; }
@keyframes lampOn {
  0%   { color: rgba(245, 237, 224, 0.95); text-shadow: none; }
  35%  { color: rgba(245, 237, 224, 0.95); text-shadow: none; }
  40%  { color: rgba(245, 220, 180, 0.98); text-shadow: 0 0 8px rgba(220, 180, 110, 0.4); }
  45%  { color: rgba(245, 237, 224, 0.95); text-shadow: none; }
  50%  { color: rgba(245, 220, 180, 0.98); text-shadow: 0 0 12px rgba(220, 180, 110, 0.5); }
  55%  { color: rgba(245, 237, 224, 0.95); text-shadow: none; }
  70%  { color: rgb(240, 220, 180); text-shadow: 0 0 30px rgba(220, 180, 110, 0.5), 0 0 60px rgba(200, 152, 88, 0.28); }
  100% { color: rgb(245, 222, 188); text-shadow: 0 0 35px rgba(220, 180, 110, 0.55), 0 0 80px rgba(200, 152, 88, 0.32); }
}

.hero-headline {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  color: var(--cream);
  font-size: clamp(1.85rem, 4.8vw, 4rem);
  line-height: 1.1;
  max-width: 780px;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 1.4s ease 1.6s forwards;
}
.hero-headline em { font-style: italic; color: var(--amber-glow); font-weight: 400; }
.hero-sub {
  color: var(--text-light-muted);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 1.4s ease 2s forwards;
}
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.4s ease 2.3s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(.2,.8,.2,1);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--amber); color: var(--black); }
.btn-primary:hover {
  background: var(--amber-glow);
  box-shadow: 0 8px 30px rgba(200, 152, 88, 0.32);
  transform: translateY(-1px);
}
.btn-ghost { color: var(--cream); border-color: rgba(245, 237, 224, 0.4); }
.btn-ghost:hover { border-color: var(--amber-glow); color: var(--amber-glow); }
.btn-ghost-light { color: var(--cream); border-color: rgba(245, 237, 224, 0.3); }
.btn-ghost-light:hover { background: rgba(245, 237, 224, 0.08); }
.btn-dark { background: var(--text-dark); color: var(--cream); }
.btn-dark:hover { background: #2a2218; transform: translateY(-1px); }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  color: var(--text-light-muted);
  font-size: 0.65rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  z-index: 6;
  opacity: 0;
  animation: fadeIn 1s ease 3s forwards;
}
.scroll-cue .line {
  display: block;
  width: 1px; height: 40px;
  margin: 12px auto 0;
  background: linear-gradient(var(--amber-glow), transparent);
  animation: drop 2.4s ease infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========== Why Lighting Matters ========== */
.why { padding: 120px 0; }
@media (max-width: 720px) { .why { padding: 80px 0; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head .eyebrow {
  font-size: 0.7rem; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--amber-soft); margin-bottom: 14px; display: block;
}
.section-head p { color: var(--text-muted); margin-top: 14px; font-size: 1rem; }
.section-black .section-head p { color: var(--text-light-muted); }
.section-black .section-head .eyebrow { color: var(--amber-glow); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

.why-card { cursor: pointer; transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.why-card:hover { transform: translateY(-6px); }
.why-card .img-frame {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  background: var(--photo-bg);
}
.why-card .img-frame img { width: 100%; height: 100%; object-fit: cover; }

.lamp-vis { position: absolute; inset: 0; }
.lamp-table {
  background:
    radial-gradient(ellipse 60% 35% at 50% 38%, rgba(245, 215, 160, 0.5), transparent 70%),
    linear-gradient(180deg, #2a2218 0%, #181410 100%);
}
.lamp-table::before {
  content: ""; position: absolute; left: 50%; top: 38%;
  transform: translate(-50%, -50%);
  width: 38%; height: 32%;
  background: linear-gradient(180deg, #e6cfa3 0%, #c9a878 100%);
  border-radius: 50% 50% 8% 8% / 65% 65% 8% 8%;
  box-shadow: 0 0 60px rgba(220, 180, 120, 0.45), inset 0 -8px 20px rgba(120, 80, 30, 0.3);
}
.lamp-table::after { content: ""; position: absolute; left: 50%; top: 70%; transform: translate(-50%, 0); width: 4%; height: 25%; background: #1a1410; }
.lamp-ambient {
  background:
    radial-gradient(ellipse 35% 22% at 30% 60%, rgba(220, 180, 120, 0.4), transparent 70%),
    radial-gradient(ellipse 35% 22% at 70% 75%, rgba(220, 180, 120, 0.32), transparent 70%),
    radial-gradient(ellipse 25% 18% at 50% 35%, rgba(220, 180, 120, 0.45), transparent 70%),
    linear-gradient(180deg, #1a1410 0%, #0a0908 100%);
}
.lamp-outdoor {
  background:
    radial-gradient(ellipse 50% 25% at 50% 25%, rgba(220, 180, 120, 0.36), transparent 70%),
    linear-gradient(180deg, #14110d 0%, #1f1a14 50%, #0a0908 100%);
}
.lamp-led {
  background:
    radial-gradient(ellipse 70% 12% at 50% 50%, rgba(245, 215, 160, 0.36), transparent 75%),
    linear-gradient(180deg, #14110d 0%, #1a1612 100%);
}

.why-card h3 { font-size: 1.25rem; margin-bottom: 4px; font-weight: 400; }
.why-card .meta { font-size: 0.74rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* ========== Big Light vs Warm Light ========== */
.contrast { padding: 0; min-height: 90vh; display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) { .contrast { grid-template-columns: 1fr; min-height: auto; } }
.contrast-side {
  padding: 100px 60px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  min-height: 480px;
}
@media (max-width: 600px) { .contrast-side { padding: 70px 28px; min-height: 380px; } }
.contrast-bright { background: linear-gradient(180deg, #f5ede0 0%, #ebe0cc 100%); color: var(--text-dark); }
.contrast-bright::before {
  content: ""; position: absolute; right: -10%; top: 40%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, #ffffff 0%, #fff8e8 50%, transparent 70%);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(255, 255, 255, 0.6);
  transform: translateY(-50%);
}
.contrast-warm { background: var(--black); color: var(--cream); }
.contrast-warm::before {
  content: ""; position: absolute; right: -15%; bottom: -10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(220, 180, 120, 0.78) 0%, rgba(200, 152, 88, 0.36) 30%, transparent 65%);
  border-radius: 50%;
}
.contrast-side h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 18px; position: relative; z-index: 2; max-width: 360px; }
.contrast-side p { max-width: 400px; position: relative; z-index: 2; font-size: 1rem; color: inherit; opacity: 0.85; }
.contrast-side .label {
  font-size: 0.68rem; letter-spacing: 0.36em; text-transform: uppercase;
  margin-bottom: 16px; position: relative; z-index: 2; opacity: 0.6;
}

/* ========== Find Your Lighting Quiz ========== */
.quiz { padding: 110px 0; background: var(--black); color: var(--cream); }
@media (max-width: 720px) { .quiz { padding: 70px 0; } }
.quiz-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.quiz-stage {
  background: var(--black-soft);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 48px 44px;
  margin-top: 32px;
  text-align: left;
  min-height: 380px;
  position: relative;
}
@media (max-width: 600px) { .quiz-stage { padding: 32px 22px; } }
.quiz-step { display: none; animation: fadeUp 0.5s ease forwards; }
.quiz-step.active { display: block; }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.quiz-progress span { flex: 1; height: 2px; background: rgba(245, 237, 224, 0.15); border-radius: 999px; transition: background 0.4s ease; }
.quiz-progress span.active { background: var(--amber-glow); }

.quiz-q { font-family: 'Marcellus', serif; font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: 24px; font-weight: 400; }
.quiz-q span { color: var(--amber-glow); margin-right: 12px; font-style: italic; }

.quiz-options { display: grid; gap: 10px; }
.quiz-options.cols-2 { grid-template-columns: 1fr 1fr; }
.quiz-options.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .quiz-options.cols-2, .quiz-options.cols-3 { grid-template-columns: 1fr; } }
.quiz-option {
  text-align: left;
  padding: 16px 20px;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  color: var(--cream);
  font-size: 0.92rem;
  transition: all 0.25s;
  display: flex; align-items: center; gap: 12px;
}
.quiz-option .icon { font-size: 1.15rem; opacity: 0.65; }
.quiz-option:hover { border-color: var(--amber-glow); background: rgba(200, 152, 88, 0.06); }
.quiz-option.selected { border-color: var(--amber-glow); background: rgba(200, 152, 88, 0.12); color: var(--amber-glow); }
.quiz-actions { display: flex; justify-content: space-between; margin-top: 28px; }
.quiz-back { color: var(--text-light-muted); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 12px 0; transition: color 0.2s; }
.quiz-back:hover { color: var(--amber-glow); }
.quiz-result { text-align: center; }
.quiz-result h3 { font-size: clamp(1.55rem, 2.8vw, 2rem); color: var(--amber-glow); margin-bottom: 8px; }
.quiz-result p { color: var(--text-light); margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.quiz-recs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
@media (max-width: 600px) { .quiz-recs { grid-template-columns: 1fr; } }
.quiz-rec {
  background: var(--black);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: 18px;
  text-align: left;
  transition: border-color 0.25s;
}
.quiz-rec:hover { border-color: var(--amber-glow); }
.quiz-rec .rec-img {
  aspect-ratio: 1; border-radius: 4px; margin-bottom: 12px;
  background: linear-gradient(180deg, #1f1a14 0%, #14110d 100%);
  position: relative; overflow: hidden;
}
.quiz-rec .rec-img img { width: 100%; height: 100%; object-fit: cover; }
.quiz-rec .rec-img:not(.has-img)::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 30% at 50% 45%, rgba(220, 180, 120, 0.45), transparent 70%);
  pointer-events: none;
}
.quiz-rec h4 { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.92rem; margin-bottom: 4px; }
.quiz-rec .price { color: var(--amber-glow); font-size: 0.86rem; }

/* ========== Inspiration Room (hoverable hotspots) ========== */
.inspiration { padding: 110px 0; background: var(--cream); }
@media (max-width: 720px) { .inspiration { padding: 70px 0; } }
.room-frame {
  position: relative; margin-top: 32px;
  border-radius: 6px; overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(180deg, #14110d 0%, #1a1612 60%, #0a0908 100%);
  box-shadow: var(--shadow-strong);
}
.room-frame::before {
  content: ""; position: absolute; left: 6%; top: 12%;
  width: 36%; height: 60%;
  background:
    linear-gradient(180deg, rgba(40,38,55,0.6), rgba(20,18,30,0.85)),
    radial-gradient(circle at 70% 30%, rgba(220, 180, 120, 0.15), transparent 50%);
  border: 8px solid #1f1a14;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.6);
}
.room-frame::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 25% 20% at 78% 50%, rgba(220, 180, 120, 0.4), transparent 70%),
    radial-gradient(ellipse 20% 15% at 60% 18%, rgba(220, 180, 120, 0.36), transparent 70%),
    radial-gradient(ellipse 18% 12% at 25% 80%, rgba(220, 180, 120, 0.28), transparent 70%);
  pointer-events: none;
}
.hotspot {
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(245, 220, 180, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 0 rgba(220, 180, 120, 0.55), 0 0 20px rgba(220, 180, 120, 0.65);
  cursor: pointer; z-index: 5;
  transform: translate(-50%, -50%);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 180, 120, 0.55), 0 0 20px rgba(220, 180, 120, 0.65); }
  50% { box-shadow: 0 0 0 12px rgba(220, 180, 120, 0), 0 0 30px rgba(220, 180, 120, 0.85); }
}
.hotspot::after {
  content: "+"; position: absolute; inset: 0;
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 600;
}
.hotspot-card {
  position: absolute; transform: translate(-50%, calc(-100% - 20px));
  background: var(--cream);
  color: var(--text-dark);
  border-radius: 6px;
  padding: 12px;
  width: 200px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 6;
}
.hotspot:hover + .hotspot-card,
.hotspot-card:hover {
  opacity: 1; pointer-events: auto;
  transform: translate(-50%, calc(-100% - 28px));
}
.hotspot-card .ph {
  aspect-ratio: 1;
  background: linear-gradient(180deg, #2a2218, #14110d);
  border-radius: 4px; margin-bottom: 10px;
  position: relative; overflow: hidden;
}
.hotspot-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.hotspot-card .ph:not(.has-img)::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 30% at 50% 40%, rgba(220, 180, 120, 0.55), transparent 70%);
}
.hotspot-card h5 { font-size: 0.82rem; font-weight: 500; margin-bottom: 2px; }
.hotspot-card .price { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 8px; }
.hotspot-card .shop {
  display: inline-block;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber-soft);
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}

/* ========== Products grid ========== */
.products { padding: 110px 0; }
@media (max-width: 720px) { .products { padding: 70px 0; } }
.products-tabs { display: flex; justify-content: center; gap: 24px; margin: 32px 0 48px; flex-wrap: wrap; }
.products-tab {
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); padding-bottom: 6px;
  border-bottom: 1px solid transparent; transition: all 0.25s;
}
.products-tab.active, .products-tab:hover { color: var(--text-dark); border-color: var(--amber-soft); }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } }
.product-card { cursor: pointer; }
.product-card .img-frame {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--photo-bg);
  position: relative;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.product-card:hover .img-frame { transform: translateY(-4px); }
.product-card .img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* CSS placeholder silhouettes (used when product has no image) */
.prod-pendant, .prod-wall, .prod-table, .prod-floor,
.prod-lantern, .prod-strip, .prod-sconce, .prod-outdoor {
  background: linear-gradient(180deg, #ebe0cc 0%, #d6c7a8 100%);
}
.prod-pendant::before { content: ""; position: absolute; left: 50%; top: 12%; width: 1px; height: 25%; background: #6b5a3d; transform: translateX(-50%); }
.prod-pendant::after { content: ""; position: absolute; left: 50%; top: 36%; transform: translateX(-50%); width: 50%; height: 38%; background: linear-gradient(180deg, #b8945c 0%, #8a6b3f 100%); border-radius: 50% 50% 8% 8% / 50% 50% 8% 8%; box-shadow: 0 4px 20px rgba(120, 80, 30, 0.25); }
.prod-wall::before { content: ""; position: absolute; left: 30%; top: 35%; width: 4%; height: 30%; background: #6b5a3d; }
.prod-wall::after { content: ""; position: absolute; left: 38%; top: 40%; width: 22%; height: 22%; border-radius: 50%; background: radial-gradient(circle, #fff5dc 0%, #f0d9a8 60%, #b8945c 100%); box-shadow: 0 0 40px rgba(220, 180, 120, 0.5); }
.prod-table::before { content: ""; position: absolute; left: 50%; top: 22%; width: 38%; height: 35%; background: linear-gradient(180deg, #c9a878 0%, #9a7c4f 100%); border-radius: 8px 8px 4px 4px; transform: translateX(-50%); box-shadow: inset 0 -10px 20px rgba(120, 80, 30, 0.3); }
.prod-table::after { content: ""; position: absolute; left: 50%; top: 56%; width: 4%; height: 22%; background: #4a3e2a; transform: translateX(-50%); }

.product-card .name {
  font-size: 0.95rem;
  margin-bottom: 2px;
  font-family: 'Marcellus', serif;
  font-weight: 400;
}
.product-card .price { color: var(--text-muted); font-size: 0.86rem; }
.product-card .price ins { text-decoration: none; color: var(--amber-soft); }
.product-card .price del { opacity: 0.5; margin-right: 6px; }

/* ========== Story / Brand ========== */
.story { padding: 110px 0; background: var(--black); color: var(--cream); }
@media (max-width: 720px) { .story { padding: 70px 0; } }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
@media (max-width: 800px) { .story-grid { grid-template-columns: 1fr; gap: 36px; } }
.story-vis {
  aspect-ratio: 4/5;
  border-radius: 6px;
  background:
    radial-gradient(ellipse 40% 25% at 50% 35%, rgba(220, 180, 120, 0.45), transparent 70%),
    linear-gradient(180deg, #1f1a14 0%, #0a0908 100%);
  position: relative; overflow: hidden;
}
.story-vis::before {
  content: ""; position: absolute; left: 50%; top: 30%;
  transform: translate(-50%, -50%);
  width: 30%; height: 28%;
  background: linear-gradient(180deg, #e6cfa3 0%, #c9a878 100%);
  border-radius: 50% 50% 8% 8% / 70% 70% 8% 8%;
  box-shadow: 0 0 80px rgba(220, 180, 120, 0.55);
}
.story-vis::after {
  content: ""; position: absolute; left: 50%; top: 60%;
  transform: translateX(-50%);
  width: 2.5%; height: 35%;
  background: #2a2218;
}
.story h2 { margin-bottom: 22px; max-width: 460px; }
.story p { color: var(--text-light); margin-bottom: 14px; max-width: 460px; font-size: 1rem; }

/* ========== Newsletter ========== */
.newsletter { padding: 90px 0; background: var(--cream); text-align: center; }
.newsletter-form { max-width: 480px; margin: 28px auto 0; display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  border: 1px solid var(--border-cream);
  background: transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.25s;
}
.newsletter-form input:focus { border-color: var(--amber); }
@media (max-width: 520px) {
  .newsletter-form { flex-direction: column; }
}

/* ========== Footer ========== */
footer.site-footer {
  background: var(--black);
  color: var(--text-light-muted);
  padding: 70px 0 28px;
  border-top: 1px solid var(--border-dark);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
footer h4 {
  font-family: 'Inter', sans-serif;
  color: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-logo {
  font-family: 'Marcellus', serif;
  font-size: 1.5rem;
  color: var(--cream);
  letter-spacing: 0.22em;
  margin-bottom: 16px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; font-size: 0.9rem; }
footer ul li a:hover { color: var(--amber-glow); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
  display: flex; justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: var(--amber-glow); }
.footer-link-btn {
  font-size: inherit;
  letter-spacing: inherit;
  color: inherit;
  padding: 0;
  background: none;
  border: none;
  text-decoration: underline;
  text-decoration-color: rgba(245, 237, 224, 0.3);
  text-underline-offset: 3px;
  cursor: pointer;
}
.footer-link-btn:hover { color: var(--amber-glow); }

/* ========== WooCommerce overrides ========== */
.woocommerce-page main, .single-product main, .archive main {
  padding-top: 96px;          /* less padding so shop sits higher */
  padding-bottom: 60px;
  background: var(--cream);
  color: var(--text-dark);
}
.woocommerce-page main .container,
.single-product main .container,
.archive main .container { padding-bottom: 48px; }

/* Hide the standard "Showing all results: 5" / page title block — too generic */
.woocommerce-result-count,
.woocommerce-products-header__title,
.archive .page-title { display: none !important; }

/* But keep a custom, leaner page header (rendered by our category banner partial) */

/* Restyle the sort dropdown to fit the warm theme */
.woocommerce-ordering {
  margin-bottom: 32px;
}
.woocommerce-ordering select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1612' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  border: 1px solid var(--border-cream);
  border-radius: 999px;
  padding: 10px 40px 10px 18px;
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.25s;
}
.woocommerce-ordering select:hover,
.woocommerce-ordering select:focus { border-color: var(--amber-soft); outline: none; }

/* Hide the stock counter EVERYWHERE — not relevant for boutique vibe */
.stock,
.product .stock,
.woocommerce .stock,
.woocommerce-Tabs-panel .stock { display: none !important; }

.woocommerce ul.products li.product .price { color: var(--text-dark); }
.woocommerce ul.products li.product .button {
  /* Make "Add to cart" a smaller, refined ghost-style button — not a yellow shout */
  background: transparent !important;
  color: var(--text-dark) !important;
  border: 1px solid var(--text-dark) !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  margin-top: 14px !important;
  display: inline-block;
  /* Always anchor at same vertical position regardless of title length */
  align-self: flex-start;
  transition: all 0.25s !important;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--text-dark) !important;
  color: var(--cream) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Make each product card a flex-column so title length never shifts the button */
.woocommerce ul.products li.product {
  display: flex !important;
  flex-direction: column;
  margin-bottom: 32px !important;
}
.woocommerce ul.products li.product a img {
  background: var(--photo-bg);
  border-radius: 4px;
  margin-bottom: 14px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Marcellus', serif !important;
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  padding: 0 !important;
  margin-bottom: 4px !important;
  /* Reserve consistent vertical space so a 2-line title doesn't jolt the
     "Add to cart" button below it */
  min-height: 2.6em;
}
.woocommerce ul.products li.product .price {
  font-size: 0.92rem !important;
  margin-bottom: 0 !important;
}

/* On listing page, hide the "Added to cart / View cart" duplicate flash */
.woocommerce .added_to_cart {
  display: none !important;
}

/* On single product page we keep the "View cart" inline message */
.single-product .added_to_cart { display: inline-block !important; }

.woocommerce-breadcrumb { color: var(--text-muted); font-size: 0.82rem; }
.woocommerce-breadcrumb a { color: var(--amber-soft); }

/* Generic page wrapper */
.page-wrap {
  padding: 120px 0 70px;
  background: var(--cream);
  color: var(--text-dark);
  min-height: 60vh;
}
.page-wrap h1 { margin-bottom: 22px; }
.page-wrap p { margin-bottom: 14px; max-width: 720px; }

/* Custom shop header (replaces the dropped Woo headers) */
.shop-header {
  padding-top: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-cream);
  padding-bottom: 24px;
}
.shop-header h1 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  margin-bottom: 6px;
}
.shop-header p { color: var(--text-muted); font-size: 0.95rem; }

/* ========== Single product (Articolo-inspired editorial layout) ========== */
.single-product-wrap {
  padding: 120px 0 70px;
  background: var(--cream);
  color: var(--text-dark);
}
.single-product-wrap .woocommerce-breadcrumb {
  margin-bottom: 28px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.fl-product-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .fl-product-grid { grid-template-columns: 1fr; gap: 32px; } }
.fl-product-gallery img { border-radius: 6px; width: 100%; height: auto; background: var(--photo-bg); }
.fl-product-summary { position: sticky; top: 100px; align-self: start; padding-left: 0; }
@media (max-width: 900px) { .fl-product-summary { position: static; } }
.fl-product-sku {
  font-size: 0.7rem; color: var(--text-muted);
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 14px;
}
.fl-product-title { font-size: clamp(1.85rem, 3.6vw, 2.8rem); margin-bottom: 14px; line-height: 1.1; font-weight: 400; }
.fl-product-price {
  font-size: 1.4rem;
  margin-bottom: 22px;
  color: var(--text-dark);
  font-family: 'Marcellus', serif;
  font-weight: 400;
}
.fl-product-price ins { text-decoration: none; color: var(--amber-soft); }
.fl-product-price del { color: var(--text-muted); margin-right: 8px; opacity: 0.7; }
.fl-product-short-desc { font-size: 1rem; margin-bottom: 26px; color: var(--text-dark); line-height: 1.65; }
.fl-product-cart { margin-bottom: 32px; }

.fl-product-cart input.qty {
  border: 1px solid var(--border-cream);
  border-radius: 6px;
  padding: 11px;
  width: 70px;
  margin-right: 8px;
  font-size: 1rem;
  background: var(--warm-white);
}

/* Single-product Add-to-cart: refined dark button (matches Articolo vibe) */
.single-product .single_add_to_cart_button.button {
  background: var(--text-dark) !important;
  color: var(--cream) !important;
  border: 1px solid var(--text-dark) !important;
  border-radius: 999px !important;
  padding: 14px 30px !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  transition: all 0.3s !important;
}
.single-product .single_add_to_cart_button.button:hover {
  background: var(--amber) !important;
  border-color: var(--amber) !important;
  color: var(--black) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200, 152, 88, 0.25) !important;
}

.fl-spec-table { border-top: 1px solid var(--border-cream); padding-top: 26px; }
.fl-spec-heading {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px;
  font-family: 'Inter', sans-serif; font-weight: 500;
}
.fl-spec-table dl {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 8px 24px; font-size: 0.9rem;
}
.fl-spec-table dt { color: var(--text-muted); font-weight: 500; }
.fl-spec-table dd { color: var(--text-dark); }

.fl-product-story {
  margin-top: 90px;
  padding: 70px 0 30px;
  border-top: 1px solid var(--border-cream);
}
.fl-product-story-empty {
  background: rgba(200, 152, 88, 0.06);
  border-radius: 6px;
  padding: 44px;
  border-top: none;
  margin-top: 56px;
}
.fl-product-story-inner { max-width: 720px; margin: 0 auto; }
.fl-product-story .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--amber-soft); display: block; margin-bottom: 18px; text-align: center;
}
.fl-product-story-body { font-size: 1.05rem; line-height: 1.75; color: var(--text-dark); }
.fl-product-story-body p { margin-bottom: 16px; }
.fl-product-story-body h2, .fl-product-story-body h3 { margin: 28px 0 14px; }
.fl-product-story-body h2 { font-size: 1.7rem; }
.fl-product-story-body h3 { font-size: 1.3rem; }
.fl-product-story-body img { border-radius: 6px; margin: 18px 0; }

.related.products, .upsells.products {
  margin-top: 70px;
  padding-top: 56px;
  border-top: 1px solid var(--border-cream);
}
.related.products h2, .upsells.products h2 {
  text-align: center;
  margin-bottom: 36px;
  font-size: 1.85rem;
}

/* ========== Cart page (kept inline, no extra page hop unless explicit) ========== */
.woocommerce-cart .woocommerce { padding-top: 100px; }
.woocommerce-cart .cart_totals h2,
.woocommerce-cart h2 { font-size: 1.5rem; }
.woocommerce-cart .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-cart .coupon input[type="text"] {
  border: 1px solid var(--border-cream);
  border-radius: 999px;
  padding: 11px 18px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--warm-white);
}

/* ========== MINI CART DRAWER ========== */
.mini-cart {
  position: fixed; inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s;
}
.mini-cart.open { pointer-events: auto; visibility: visible; }
.mini-cart-overlay {
  position: absolute; inset: 0;
  background: rgba(10, 9, 8, 0.45);
  opacity: 0;
  transition: opacity 0.3s;
}
.mini-cart.open .mini-cart-overlay { opacity: 1; }
.mini-cart-panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--cream);
  color: var(--text-dark);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.18);
}
.mini-cart.open .mini-cart-panel { transform: translateX(0); }
.mini-cart-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--border-cream);
}
.mini-cart-head h3 { margin: 0; font-size: 1.25rem; }
.mini-cart-close { font-size: 1.6rem; line-height: 1; padding: 0 4px; color: var(--text-dark); }
.mini-cart-body { flex: 1; overflow-y: auto; padding: 18px 24px; font-size: 0.92rem; }
.mini-cart-body .woocommerce-mini-cart__empty-message { text-align: center; padding: 30px 0; color: var(--text-muted); }
.mini-cart-body .woocommerce-mini-cart {
  list-style: none; padding: 0; margin: 0 0 12px;
}
.mini-cart-body .woocommerce-mini-cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-cream);
  align-items: center;
}
.mini-cart-body .woocommerce-mini-cart-item img {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: 4px; background: var(--photo-bg);
}
.mini-cart-body .woocommerce-mini-cart__total {
  display: flex; justify-content: space-between;
  padding: 18px 0 6px;
  font-size: 1.05rem;
  border-top: 1px solid var(--border-cream);
  margin-top: 8px;
  font-family: 'Marcellus', serif;
}
.mini-cart-body .woocommerce-mini-cart__buttons {
  display: flex; flex-direction: column; gap: 8px; margin-top: 16px;
}
.mini-cart-body .woocommerce-mini-cart__buttons .button {
  display: block !important; text-align: center;
  background: var(--text-dark) !important; color: var(--cream) !important;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}
.mini-cart-body .woocommerce-mini-cart__buttons .checkout {
  background: var(--amber) !important; color: var(--black) !important;
}
.mini-cart-body .remove {
  color: var(--text-muted) !important;
  font-size: 1.1rem;
  text-decoration: none !important;
}
.mini-cart-coupon { padding: 16px 24px 24px; border-top: 1px solid var(--border-cream); }
.mini-cart-coupon details summary {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber-soft); cursor: pointer; list-style: none;
}
.mini-cart-coupon details summary::-webkit-details-marker { display: none; }
.mini-cart-coupon details[open] summary { margin-bottom: 12px; }
.mini-cart-coupon-form { display: flex; gap: 8px; }
.mini-cart-coupon-form input {
  flex: 1; padding: 10px 14px;
  border: 1px solid var(--border-cream); border-radius: 999px;
  background: var(--warm-white); font-family: inherit;
}
.mini-cart-coupon-form .btn { padding: 10px 18px; }
.mini-cart-coupon-msg { font-size: 0.78rem; color: var(--text-muted); margin-top: 8px; }
.mini-cart-coupon-msg.is-success { color: #5d7a3d; }
.mini-cart-coupon-msg.is-error { color: #b04030; }

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 250;
  background: var(--black);
  color: var(--cream);
  border-radius: 12px;
  padding: 22px 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border: 1px solid var(--border-dark);
  max-width: 720px;
  margin: 0 auto;
  animation: cookieRise 0.5s cubic-bezier(.2,.8,.2,1) 0.3s both;
}
@keyframes cookieRise {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 22px; align-items: center;
}
@media (max-width: 720px) {
  .cookie-banner-inner { grid-template-columns: 1fr; }
}
.cookie-banner-text strong {
  font-family: 'Marcellus', serif;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 4px;
  font-weight: 400;
}
.cookie-banner-text p {
  font-size: 0.86rem;
  color: var(--text-light-muted);
  line-height: 1.55;
  max-width: 480px;
}
.cookie-banner-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-banner-actions .btn { padding: 10px 18px; font-size: 0.7rem; }
.cookie-settings {
  border-top: 1px solid var(--border-dark);
  margin-top: 16px;
  padding-top: 16px;
}
.cookie-settings label {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.86rem;
  margin-bottom: 8px;
  color: var(--text-light);
  cursor: pointer;
}
.cookie-settings .btn { margin-top: 12px; }

/* ========== 404 ========== */
.error-404 {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--black); color: var(--cream);
  text-align: center;
  padding: 120px 32px 80px;
}

/* ========== Helpers ========== */
.center { text-align: center; }
.hidden, [hidden] { display: none !important; }
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}

/* Body lock scroll when overlay open */
body.has-overlay { overflow: hidden; }
