/* ============================================================
   Boutique Kastel Duty Free Concept
   Deep teal + brass gold, ornamental serif luxury retail direction
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Sora:wght@300;400;500;600&display=swap');

:root {
  --teal-deep: #0a464e;
  --teal-darker: #062f34;
  --teal-mid: #0f5c66;
  --teal-line: rgba(232, 201, 135, 0.28);

  --gold: #cda05e;
  --gold-bright: #e8c987;
  --gold-dim: rgba(232, 201, 135, 0.35);
  /* --gold fails WCAG AA (2.1:1) as small text on the ivory/white product
     cards - use this darker variant for any readable gold text on a light
     background (e.g. .product-brand). --gold itself stays fine for
     decorative icons/flourishes and for gold text on the dark teal
     sections, where contrast is already good. */
  --gold-deep: #7d5a27;

  --ivory: #f6f1e6;
  --ivory-warm: #efe4cd;
  --ink: #16332f;
  --ink-soft: rgba(22, 51, 47, 0.7);

  --white: #fbf7ef;
  --white-dim: rgba(251, 247, 239, 0.72);
  --white-faint: rgba(251, 247, 239, 0.4);

  --font-display: 'Fraunces', 'Iowan Old Style', serif;
  --font-body: 'Sora', -apple-system, sans-serif;

  --container: 1240px;
  --edge: clamp(1.5rem, 5vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.5;
  -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; }
ul { list-style: none; }

/* ---------- Texture ---------- */

.grain {
  position: relative;
  isolation: isolate;
}
.grain::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* ---------- Ornamental flourish ---------- */

.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--gold);
  opacity: 0.9;
}
.flourish svg { width: 42px; height: 16px; flex-shrink: 0; }
.flourish .line {
  height: 1px;
  width: clamp(28px, 6vw, 90px);
  background: linear-gradient(90deg, transparent, currentColor);
}
.flourish .line.rev { background: linear-gradient(90deg, currentColor, transparent); }

.kicker {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- Utility bar ---------- */

.utility-bar {
  background: var(--teal-darker);
  color: var(--white-dim);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.utility-bar .wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.55rem var(--edge);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.utility-bar .wrap span::after {
  content: '·';
  margin-left: 0.7rem;
  color: var(--gold-dim);
}
.utility-bar a:hover { color: var(--gold-bright); }

/* ---------- Header ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 70, 78, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-dim);
}
.header-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
}
.logo .mark {
  width: 48px; height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.03em;
  padding-left: 0.12em;
  color: var(--gold-bright);
  flex-shrink: 0;
}
/* Header shows just the BK mark - the "Boutique Kastel / Duty Free
   Concept" wordmark is hidden here (it still appears elsewhere, e.g.
   the footer wordmark, which is a separate element). */
.logo .word {
  display: none;
}
.logo .word span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  color: var(--gold-bright);
  margin-top: 0.3rem;
  font-weight: 500;
}

nav.main-nav {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
}
nav.main-nav a {
  color: var(--white-dim);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0;
  position: relative;
  white-space: nowrap;
}
nav.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
nav.main-nav a:hover { color: var(--white); }
nav.main-nav a:hover::after { transform: scaleX(1); }

.header-icons {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--white-dim);
}
.header-icons button, .header-icons a {
  color: inherit;
  display: flex;
  position: relative;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
  transform-origin: bottom center;
}
.header-icons button:hover, .header-icons a:hover { color: var(--gold-bright); }
.header-icons svg { width: 19px; height: 19px; }

/* Dock-style magnify: the hovered icon grows, its immediate neighbor
   grows a little too (falls off with distance), like a macOS dock -
   same idea as React Bits' <Dock/>, done with :has() instead of
   motion/JS since this site has no build step. */
.header-icons button:hover, .header-icons a:hover { transform: scale(1.32) translateY(-3px); z-index: 3; }
.header-icons:has(> :nth-child(1):hover) > :nth-child(2),
.header-icons:has(> :nth-child(2):hover) > :nth-child(1),
.header-icons:has(> :nth-child(2):hover) > :nth-child(3),
.header-icons:has(> :nth-child(3):hover) > :nth-child(2),
.header-icons:has(> :nth-child(3):hover) > :nth-child(4),
.header-icons:has(> :nth-child(4):hover) > :nth-child(3),
.header-icons:has(> :nth-child(4):hover) > :nth-child(5),
.header-icons:has(> :nth-child(5):hover) > :nth-child(4) {
  transform: scale(1.14) translateY(-1px);
}

/* Tooltip pulled from each icon's aria-label - accountBtn already has
   its own dynamic .tooltip span (login-state text), so this is skipped
   there via :not(:has(.tooltip)). */
.header-icons button:not(:has(.tooltip))::after,
.header-icons a:not(:has(.tooltip))::after {
  content: attr(aria-label);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 0.68rem;
  padding: 0.4rem 0.65rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.header-icons button:hover:not(:has(.tooltip))::after,
.header-icons a:hover:not(:has(.tooltip))::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tooltip {
  position: absolute;
  top: calc(100% + 10px);
  right: -10px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.68rem;
  padding: 0.4rem 0.65rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.header-icons button:hover .tooltip, .header-icons a:hover .tooltip { opacity: 1; transform: translateY(0); }

.nav-toggle {
  display: none;
  color: var(--white);
}

.header-icons button.open { color: var(--gold-bright); }

/* ---------- Header search dropdown ---------- */

.header-search {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gold-dim);
  box-shadow: 0 18px 40px rgba(22,51,47,0.15);
  z-index: 49;
  animation: headerSearchIn 0.22s ease;
}
.header-search[hidden] { display: none; }
@keyframes headerSearchIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.header-search-form {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem var(--edge);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.header-search-icon {
  width: 19px;
  height: 19px;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.header-search-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
}
.header-search-form input::placeholder { color: var(--ink-soft); }
/* No visible border to shift on :focus like the other search-style inputs
   (catalog filters, popup) - this one's borderless by design, so give
   keyboard focus its own indicator instead of silently dropping it. */
.header-search-form input:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.header-search-close {
  color: var(--ink-soft);
  display: flex;
  flex-shrink: 0;
}
.header-search-close:hover { color: var(--teal-mid); }
.header-search-close svg { width: 18px; height: 18px; }

.header-search-results {
  list-style: none;
  margin: 0 auto;
  padding: 0 var(--edge) 0.6rem;
  max-width: var(--container);
  max-height: 60vh;
  overflow-y: auto;
}
.header-search-results[hidden] { display: none; }

.header-search-item + .header-search-item { border-top: 1px solid rgba(22,51,47,0.08); }

.header-search-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.6rem 0.3rem;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
}
.header-search-link:hover,
.header-search-link:focus-visible,
.header-search-link.is-active {
  background: var(--ivory-warm);
}
.header-search-link:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

.header-search-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.header-search-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-search-brand {
  font-size: 0.76rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-search-thumb {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--ivory);
  border-radius: 8px;
}

.header-search-seeall-btn {
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.3rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-mid);
  cursor: pointer;
  border-radius: 8px;
}
.header-search-seeall-btn:hover,
.header-search-seeall-btn:focus-visible,
.header-search-seeall-btn.is-active { background: var(--ivory-warm); }

.header-search-empty,
.header-search-loading {
  padding: 1.2rem var(--edge);
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(120% 140% at 50% -10%, var(--teal-mid), var(--teal-deep) 60%, var(--teal-darker) 130%);
  color: var(--white);
  padding: clamp(5rem, 12vw, 9rem) var(--edge) clamp(4.5rem, 10vw, 7rem);
  text-align: center;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 15% 10%, var(--gold-dim), transparent 60%),
    radial-gradient(50% 40% at 90% 90%, rgba(232,201,135,0.15), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.hero .kicker { color: var(--gold-bright); margin-bottom: 1.6rem; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--white);
  text-wrap: balance;
}
.hero .sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--white-dim);
  margin-top: 1.4rem;
}
.hero .flourish { margin: 2.2rem auto; }
.hero-ctas {
  margin-top: 2.6rem;
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s cubic-bezier(.2,.8,.2,1), color 0.3s cubic-bezier(.2,.8,.2,1), border-color 0.3s cubic-bezier(.2,.8,.2,1);
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--teal-darker);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(232,201,135,0.55); }
.btn-outline {
  border: 1px solid var(--white-faint);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.hero-corner {
  position: absolute;
  width: 90px;
  height: 90px;
  opacity: 0.5;
  color: var(--gold);
}
.hero-corner.tl { top: 28px; left: 28px; }
.hero-corner.br { bottom: 28px; right: 28px; transform: rotate(180deg); }

/* ---------- Section shell ---------- */

section { padding: clamp(4rem, 9vw, 6.5rem) var(--edge); }
.section-inner { max-width: var(--container); margin: 0 auto; }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
}
.section-head .kicker { color: var(--teal-mid); margin-bottom: 0.9rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--ink);
}
.section-head p {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.section-head .flourish { margin-top: 1.2rem; color: var(--teal-mid); }

/* ---------- Categories ---------- */

.categories { background: var(--ivory); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 190px;
  gap: 1.1rem;
}
.cat-card {
  position: relative;
  grid-column: span 2;
  grid-row: span 1;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--teal-mid), var(--teal-deep));
  color: var(--white);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid transparent;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -18px rgba(10,70,78,0.45);
  border-color: var(--gold-dim);
}
.cat-card.featured { grid-column: span 4; grid-row: span 2; }
.cat-card .cat-icon {
  width: 40px; height: 40px;
  color: var(--gold-bright);
  margin-bottom: auto;
}
.cat-card.featured .cat-icon { width: 54px; height: 54px; }
.cat-card .num {
  position: absolute;
  top: 1.4rem; right: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--white-faint);
}
.cat-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  margin-bottom: 0.4rem;
}
.cat-card .cat-count {
  display: block;
  font-size: 0.74rem;
  color: var(--white-faint);
  margin-bottom: 0.7rem;
}
.cat-card .cat-link {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cat-card .cat-link svg { width: 13px; height: 13px; transition: transform 0.3s ease; }
.cat-card:hover .cat-link svg { transform: translateX(4px); }
.cat-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 100% 100%, rgba(232,201,135,0.16), transparent 60%);
}

/* ---------- Product reviews (produs.html) ---------- */

.reviews-section { padding: clamp(2.5rem, 6vw, 4rem) var(--edge) 0; }
.reviews-section .section-inner { max-width: 760px; margin-inline: auto; }
.reviews-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(22,51,47,0.1);
  padding-bottom: 1.2rem;
  cursor: pointer;
  text-align: left;
  font-size: 1.3rem;
}
.reviews-toggle-arrow {
  width: 1em; height: 1em;
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.reviews-toggle.is-open .reviews-toggle-arrow { transform: rotate(180deg); }
.reviews-toggle h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: inherit;
  color: var(--ink);
}
.reviews-body { padding-top: 1.6rem; }
.reviews-body[hidden] { display: none; }
.reviews-average { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: var(--ink); margin-bottom: 1.2rem; }
.review-stars .star, .reviews-average .star {
  color: rgba(22,51,47,0.2);
  font-size: 1rem;
}
.review-stars .star.is-filled, .reviews-average .star.is-filled { color: var(--gold); }

.reviews-empty { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 2rem; }
.reviews-empty[hidden] { display: none; }
.reviews-list { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; }
.review-item {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(22,51,47,0.08);
  border-radius: 10px;
  background: var(--ivory);
}
.review-item-top { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.review-author { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.review-date { font-size: 0.78rem; color: var(--ink-soft); }
.review-text { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; margin: 0; }

.review-form-wrap { border-top: 1px solid rgba(22,51,47,0.1); padding-top: 1.6rem; margin-bottom: 2.5rem; }
.review-form-wrap h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.review-login-prompt { font-size: 0.9rem; color: var(--ink-soft); }
.review-login-prompt a { color: var(--ink); text-decoration: underline; }
.review-login-prompt a:hover { color: var(--gold); }
.review-login-prompt[hidden] { display: none; }

#reviewForm { display: flex; flex-direction: column; gap: 1rem; max-width: 460px; }
#reviewForm[hidden] { display: none; }
.review-star-input { display: flex; gap: 0.3rem; }
.review-star-input button {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: rgba(22,51,47,0.2);
  cursor: pointer;
  padding: 0.1rem;
  transition: color 0.15s;
}
.review-star-input button.is-selected { color: var(--gold); }
#reviewForm textarea {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(22,51,47,0.15);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  resize: vertical;
}
#reviewForm textarea:focus { outline: none; border-color: var(--gold); }
#reviewForm .btn { width: fit-content; }
.review-form-note { font-size: 0.85rem; color: var(--teal-mid); }

/* ---------- Editorial spotlight (Parfumuri, Băuturi, Cafea, Dulciuri) ---------- */

.editorial-spotlight { background: var(--ivory); padding: clamp(3rem, 6vw, 5rem) 0; }
.editorial-spotlight-split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.editorial-spotlight-photo {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 16px 34px rgba(22, 51, 47, 0.14);
}
.editorial-spotlight-photo img { width: 100%; height: 100%; object-fit: cover; }
.editorial-spotlight-content .kicker { color: var(--teal-mid); margin-bottom: 0.9rem; }
.editorial-spotlight-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.editorial-spotlight-content > p { color: var(--ink-soft); margin-bottom: 1.6rem; max-width: 32ch; }

/* Featured product - a bigger, more prominent card than the plain
   .product-card thumbnails below, since this is the one product being
   spotlighted next to the lifestyle photo. */
.editorial-featured-card {
  display: block;
  max-width: 260px;
  background: var(--white);
  border: 1px solid rgba(22,51,47,0.08);
  border-radius: 16px;
  padding: 1.3rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 14px 30px rgba(22,51,47,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.editorial-featured-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(22,51,47,0.16); }
.editorial-featured-card-img {
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.editorial-featured-card-img img { width: 100%; height: 100%; object-fit: contain; }
.editorial-featured-card .product-brand { display: block; }
.editorial-featured-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--ink); margin: 0.3rem 0; }
.editorial-featured-card .product-price { font-family: var(--font-display); color: var(--ink); font-weight: 500; }

/* Products below - a static full row on desktop, a one-at-a-time
   auto-advancing carousel on mobile (see the script at the bottom of
   index.html). */
.editorial-spotlight-more {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}
.editorial-spotlight-dots { display: none; justify-content: center; gap: 0.5rem; margin-top: 1.2rem; }
.editorial-spotlight-dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(22,51,47,0.2);
  cursor: pointer;
  padding: 0;
}
.editorial-spotlight-dots button.is-active { background: var(--teal-mid); }

@media (max-width: 860px) {
  .editorial-spotlight-split { grid-template-columns: 1fr; }
  .editorial-spotlight-photo { aspect-ratio: 16 / 10; }
  .editorial-featured-card { max-width: 100%; }
}
@media (max-width: 640px) {
  /* One card visible at a time, JS toggles which one via .is-shown -
     stays a single row/line as requested, doesn't stack into a column. */
  .editorial-spotlight-more { grid-template-columns: 1fr; }
  .editorial-spotlight-more .product-card { display: none; }
  .editorial-spotlight-more .product-card.is-shown { display: block; }
  .editorial-spotlight-dots { display: flex; }
}

/* ---------- Preview products ---------- */

.recommended-section { background: var(--ivory); position: relative; }
.recommended-section .product-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) {
  .recommended-section .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- About / trust ---------- */

.about { background: var(--ivory); }
.about .kicker { color: var(--teal-mid); }
.about h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  margin: 0.9rem 0 1.3rem;
  line-height: 1.18;
}
.about p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1rem; }
.about-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}

/* Used by despre-noi.html's full about-grid layout (unchanged there) */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.trust-list { display: flex; flex-direction: column; gap: 1.3rem; }
.trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  padding: 1.2rem 1.3rem;
  border-radius: 6px;
  border: 1px solid rgba(22,51,47,0.08);
}
.trust-item svg { width: 26px; height: 26px; color: var(--teal-mid); flex-shrink: 0; margin-top: 2px; }
.trust-item h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; margin-bottom: 0.25rem; }
.trust-item p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* Short homepage intro (full story lives on despre-noi.html) */
.about-intro { max-width: 640px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.about-intro-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal-mid);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: gap 0.25s ease, color 0.2s ease;
}
.about-intro-link svg { width: 15px; height: 15px; }
.about-intro-link:hover { gap: 0.75rem; color: var(--gold-bright); }

/* Trust cards - gradient tiles replacing the old plain trust-list rows */
.trust-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.trust-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(22, 51, 47, 0.08);
  box-shadow: 0 14px 32px rgba(22, 51, 47, 0.1);
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.trust-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(22, 51, 47, 0.16); }
.trust-card-icon {
  position: absolute;
  right: -0.8rem;
  bottom: -0.8rem;
  width: 6.5rem;
  height: 6.5rem;
  opacity: 0.1;
  pointer-events: none;
}
.trust-card-gold { background: linear-gradient(155deg, #fdf3de, #f3dfae 130%); }
.trust-card-gold .trust-card-icon, .trust-card-gold .trust-card-badge span { color: var(--gold); }
.trust-card-teal { background: linear-gradient(155deg, #e4eeed, #bcd6d4 130%); }
.trust-card-teal .trust-card-icon, .trust-card-teal .trust-card-badge span { color: var(--teal-mid); }
.trust-card-ivory { background: linear-gradient(155deg, var(--white), #ece3d1 130%); }
.trust-card-ivory .trust-card-icon, .trust-card-ivory .trust-card-badge span { color: #a9825a; }
.trust-card-deep { background: linear-gradient(155deg, #dce7e6, #9fbdba 130%); }
.trust-card-deep .trust-card-icon, .trust-card-deep .trust-card-badge span { color: var(--teal-deep); }
.trust-card-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.trust-card-badge span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.trust-card h4 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.trust-card p {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: 22ch;
}
@media (max-width: 900px) {
  .trust-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .trust-cards { grid-template-columns: 1fr; }
}

/* About - extra story/offer/store blocks below the intro grid */
.about-block {
  max-width: 900px;
  margin: clamp(3.5rem, 7vw, 5.5rem) auto 0;
}
.about-block .flourish { margin-bottom: 2rem; }
.about-block h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  margin-bottom: 1.1rem;
  color: var(--ink);
}
.about-block p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 0.9rem; line-height: 1.65; }
.about-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--teal-mid);
  margin: 1.3rem 0 !important;
}
.about-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding-left: 1.1rem;
  margin: 1.2rem 0 !important;
}

.offer-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  margin: 1.3rem 0;
}
.offer-list li { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }
.offer-list strong { color: var(--ink); font-family: var(--font-display); font-weight: 500; }
@media (max-width: 640px) { .offer-list { grid-template-columns: 1fr; } }

.about-store address {
  font-style: normal;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0.8rem 0 1rem;
}
.about-store address a:hover { color: var(--teal-mid); }

.store-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.2rem;
}
.store-gallery-item {
  padding: 10px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 16px 34px rgba(22, 51, 47, 0.14);
  height: clamp(260px, 32vw, 440px);
}
.store-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
/* The second photo has the "Kastel" logo near the left edge - anchor the
   crop there so a wide viewport never cuts it off. */
.store-gallery-item:nth-child(2) img { object-position: left center; }
@media (max-width: 640px) {
  .store-gallery { grid-template-columns: 1fr; }
  .store-gallery-item { height: 220px; }
}

.store-map-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  margin: 2.6rem 0 1rem;
}
.store-map {
  height: 360px;
  border-radius: 14px;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 16px 34px rgba(22, 51, 47, 0.14);
  background: var(--white);
  z-index: 0;
}
.store-map .leaflet-popup-content { font-family: var(--font-body, inherit); font-size: 0.85rem; line-height: 1.5; }
.store-map .leaflet-popup-content a { color: var(--teal-mid); }
.store-map-marker span {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--teal-deep, var(--ink));
  border: 2px solid var(--gold-bright);
  box-shadow: 0 4px 10px rgba(22, 51, 47, 0.35);
}
@media (max-width: 640px) {
  .store-map { height: 280px; }
}

/* ---------- Newsletter ---------- */

.newsletter {
  background: var(--teal-darker);
  color: var(--white);
  text-align: center;
  position: relative;
}
.newsletter .flourish { color: var(--gold); margin-bottom: 1.6rem; }
.newsletter h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
}
.newsletter p { color: var(--white-dim); margin-top: 0.8rem; max-width: 480px; margin-inline: auto; }
.newsletter-form {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  max-width: 460px;
  margin-inline: auto;
  flex-wrap: wrap;
}
.newsletter-form > input {
  flex: 1 1 240px;
  background: rgba(251,247,239,0.06);
  border: 1px solid var(--white-faint);
  color: var(--white);
  padding: 0.9rem 1.1rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.88rem;
}
.newsletter-form input::placeholder { color: var(--white-faint); }
.newsletter-form input:focus { outline: none; border-color: var(--gold-bright); }
.newsletter-note {
  margin-top: 1rem;
  font-size: 0.74rem;
  color: var(--white-faint);
  min-height: 1.2em;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.5;
  cursor: pointer;
}
.consent-check input[type="checkbox"] {
  /* Locked to a fixed flex-basis so a broader "input" rule on an ancestor
     form can never stretch this into an invisible full-width box again. */
  flex: 0 0 17px;
  margin-top: 0.15rem;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  accent-color: var(--gold-bright);
  cursor: pointer;
}
.newsletter-form .consent-check {
  flex-basis: 100%;
  color: var(--white-faint);
}
.newsletter-form .consent-check a { color: var(--white-dim); text-decoration: underline; }
.newsletter-form .consent-check a:hover { color: var(--gold-bright); }

/* ---------- Footer ---------- */

footer {
  background: var(--teal-darker);
  color: var(--white-dim);
  border-top: 1px solid var(--gold-dim);
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--edge) 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--white-faint); max-width: 260px; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a, .footer-col li { font-size: 0.86rem; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-social { display: flex; gap: 0.8rem; margin-bottom: 1.3rem; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--white-faint);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.footer-social svg { width: 15px; height: 15px; }

.footer-divider {
  height: 1px;
  background: rgba(251,247,239,0.1);
  max-width: var(--container);
  margin: 0 auto;
}
.footer-social-row {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.3rem var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-social-row .footer-social { margin-bottom: 0; }
.footer-social-row a {
  width: 38px; height: 38px;
  border: 1px solid var(--white-faint);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white-dim);
}
.footer-social-row a:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.footer-social-row svg { width: 16px; height: 16px; }
.footer-wordmark {
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 1.1rem;
}
.footer-wordmark span {
  color: var(--white-faint);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  margin-left: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(251,247,239,0.1);
  padding: 1.5rem var(--edge) 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-bottom-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.76rem;
  color: var(--white-faint);
}
.footer-badges {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.footer-badges img { display: block; height: 44px; width: auto; }
.footer-badge-netopia {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
}
.footer-badge-netopia img { height: 24px; }
.footer-legal-entity {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge) 1.6rem;
  font-size: 0.7rem;
  font-style: italic;
  color: var(--white-faint);
  opacity: 0.7;
}

.footer-creator {
  border-top: 1px solid rgba(251, 247, 239, 0.08);
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.4rem var(--edge) 1.8rem;
  text-align: center;
}
.footer-creator-label {
  font-size: 0.78rem;
  color: var(--white-faint);
  margin-bottom: 0.35rem;
}
.footer-creator-label strong { color: var(--gold-bright); font-weight: 600; }
.footer-creator-bio {
  font-size: 0.74rem;
  color: var(--white-faint);
  opacity: 0.75;
  margin-bottom: 0.9rem;
}
.footer-creator-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
}
.footer-creator-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--white-dim);
}
.footer-creator-links a:hover { color: var(--gold-bright); }
.footer-creator-links svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- Standalone legal pages ---------- */

.legal-page {
  min-height: 100vh;
  background: radial-gradient(120% 140% at 50% -10%, var(--teal-mid), var(--teal-deep) 60%, var(--teal-darker) 130%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 8vw, 5rem) var(--edge);
}
.legal-content { max-width: 640px; text-align: center; }
.legal-content .logo { justify-content: center; margin-bottom: 2.2rem; }
.legal-content .flourish { margin-bottom: 1.6rem; }
.legal-content h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.7rem);
  margin-bottom: 1.3rem;
}
.legal-content p {
  color: var(--white-dim);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2.3rem;
}

.legal-content.legal-doc {
  max-width: 760px;
  text-align: left;
}
.legal-content.legal-doc .logo,
.legal-content.legal-doc .flourish,
.legal-content.legal-doc h1 { text-align: center; }
.legal-content.legal-doc h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--gold-bright);
  margin: 2.2rem 0 0.9rem;
}
.legal-content.legal-doc h2:first-of-type { margin-top: 0; }
.legal-content.legal-doc p,
.legal-content.legal-doc li {
  color: var(--white-dim);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0.9rem;
}
.legal-content.legal-doc ul {
  margin: 0 0 0.9rem;
  padding-left: 1.3rem;
}
.legal-content.legal-doc strong { color: var(--white); font-weight: 600; }
.legal-content.legal-doc a { color: var(--gold-bright); }
.legal-content.legal-doc .legal-updated {
  color: var(--white-faint);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}
.legal-content.legal-doc .btn { display: block; margin: 2.6rem auto 0; width: fit-content; }
.legal-return-form-fields {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.6rem;
}
.legal-return-form-fields label span { color: var(--white-dim); }
.legal-return-form-fields input[type="date"] {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(22,51,47,0.15);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
}
.legal-return-form-fields input:focus { outline: none; border-color: var(--gold); }
.legal-return-form-fields .btn { width: 100%; }
.legal-return-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 560px) {
  .legal-return-form-row { grid-template-columns: 1fr; }
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Scroll-linked reveal - opacity/position track scroll progress directly
   (set inline by JS every frame) instead of a fixed-duration transition,
   so the text visibly appears at the same pace you're scrolling. */
.reveal-scroll {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}
.reveal-scroll-photo {
  transform: translateY(24px) scale(0.94);
}

.hero-inner > * {
  opacity: 0;
  animation: heroUp 0.9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-inner .kicker { animation-delay: 0.1s; }
.hero-inner h1 { animation-delay: 0.22s; }
.hero-inner .sub { animation-delay: 0.36s; }
.hero-inner .flourish { animation-delay: 0.48s; }
.hero-inner .hero-ctas { animation-delay: 0.6s; }

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

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .cat-card.featured { grid-column: span 2; grid-row: span 1; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; grid-auto-rows: 170px; }
  .cat-card.featured { grid-column: span 1; }
  .preview-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .utility-bar .wrap { justify-content: center; text-align: center; }
}

/* mobile nav - side drawer, not full screen */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 20, 20, 0.55);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-nav-backdrop.open { opacity: 1; pointer-events: auto; }

.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(85vw, 320px);
  background: linear-gradient(180deg, var(--teal-darker), #041f23);
  z-index: 101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
  box-shadow: -12px 0 40px rgba(0,0,0,0.35);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Matches .mobile-nav-list's padding (0.9rem) + .mobile-nav-link's own
     left padding (0.9rem), so the logo lines up with the icons below
     instead of sitting at the wider page --edge value. */
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-logo .mark {
  width: 38px; height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  letter-spacing: 0.03em;
  padding-left: 0.12em;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-bright);
}
.mobile-nav-close { color: var(--white-dim); transition: color 0.2s ease; }
.mobile-nav-close:hover { color: var(--gold-bright); }
.mobile-nav-close svg { width: 20px; height: 20px; }

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.2rem 0.9rem;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white-dim);
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-nav-link svg { display: none; }
.mobile-nav-link:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.mobile-nav-link.is-active {
  background: linear-gradient(135deg, var(--teal-mid), var(--teal-deep));
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.mobile-nav-link-plain { font-size: 0.88rem; color: var(--white-dim); }
.mobile-nav-list-secondary { padding-top: 0; padding-bottom: 0.6rem; gap: 0; }

.mobile-nav-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 var(--edge);
}

.mobile-nav-footer {
  margin-top: auto;
  padding: 1rem 0.9rem 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-account {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.mobile-nav-account:hover { background: rgba(255,255,255,0.06); }
.mobile-nav-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--teal-darker);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.mobile-nav-account-info { min-width: 0; display: flex; flex-direction: column; }
.mobile-nav-account-name { font-size: 0.88rem; font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-nav-account-email { font-size: 0.75rem; color: var(--white-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact-form-note {
  font-size: 0.76rem;
  color: var(--white-dim);
  line-height: 1.4;
}

/* ---------- Cart icon (header) ---------- */
.cart-btn {
  position: relative;
  display: inline-flex;
  color: var(--white-dim);
  transition: color 0.2s;
}
.cart-btn:hover, .cart-btn.nav-active { color: var(--gold-bright); }
.cart-btn svg { width: 19px; height: 19px; }
.cart-badge {
  position: absolute;
  top: -7px; right: -9px;
  min-width: 16px; height: 16px;
  padding: 0 3px;
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--teal-darker);
  font-size: 0.65rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.cart-badge[hidden] { display: none; }
.main-nav a.nav-active { color: var(--gold-bright); }

/* ---------- Catalog listing (Parfumuri, etc.) ---------- */
.catalog-main { background: var(--ivory); padding: clamp(2.5rem, 6vw, 4.5rem) var(--edge) 5rem; min-height: 60vh; }
.catalog-hero { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.catalog-hero .kicker { color: var(--teal-mid); }
.catalog-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3rem);
  color: var(--ink);
  margin: 0.4rem 0 0.6rem;
}
.catalog-hero p { color: var(--ink-soft); }

.catalog-filters {
  max-width: 620px;
  margin: 0 auto 1rem;
  display: flex;
  gap: 0.8rem;
}
.catalog-filters input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(22,51,47,0.15);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.catalog-filters input:focus { border-color: var(--gold); }

.btn-filter-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid rgba(22,51,47,0.15);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.btn-filter-toggle svg { width: 17px; height: 17px; }
.btn-filter-toggle:hover, .btn-filter-toggle.open { border-color: var(--teal-mid); background: var(--ivory-warm); }
.filter-active-badge {
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--teal-mid);
  color: var(--white);
  font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
}
.filter-active-badge[hidden] { display: none; }

.filters-panel {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(22,51,47,0.1);
  padding: 1.8rem;
  box-shadow: 0 18px 40px rgba(22,51,47,0.1);
}
.filters-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 2rem;
}
.filter-group-brand { grid-column: span 1; }
.filter-group h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.filters-panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(22,51,47,0.08);
}
.btn-apply-filters {
  padding: 0.65rem 1.6rem;
  background: var(--teal-deep);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-apply-filters:hover { background: var(--teal-mid); }
.filter-group select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(22,51,47,0.15);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
}
.price-range { display: flex; align-items: center; gap: 0.5rem; }
.price-range input {
  width: 0;
  flex: 1;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(22,51,47,0.15);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.price-range span { color: var(--ink-soft); font-size: 0.8rem; }

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
}
.filter-checkbox input[type="checkbox"] { accent-color: var(--teal-mid); width: 15px; height: 15px; }

.brand-search {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(22,51,47,0.15);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  margin-bottom: 0.7rem;
}
.brand-list {
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-right: 0.3rem;
}
.brand-item span:first-of-type { flex: 1; }
.brand-count { color: var(--ink-soft); font-size: 0.75rem; }

.btn-clear-filters {
  padding: 0.65rem 1.3rem;
  background: none;
  border: 1px solid rgba(22,51,47,0.15);
  border-radius: 999px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-clear-filters:hover { border-color: var(--teal-mid); color: var(--teal-mid); }

.product-brand {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-deep);
  margin-bottom: 0.25rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.6rem;
}

@media (max-width: 900px) {
  .filters-panel-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .catalog-filters { flex-direction: column; }
  .filters-panel-grid { grid-template-columns: 1fr; }
}
.product-card {
  display: block;
  background: var(--white);
  border: 1px solid rgba(22,51,47,0.08);
  border-radius: 14px;
  padding: 1.2rem;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(22,51,47,0.1); }
.product-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.9rem;
}
.product-card-img img { width: 100%; height: 100%; object-fit: contain; }
.stock-badge {
  position: absolute; top: 0; left: 0;
  font-size: 0.68rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(22,51,47,0.08);
  color: var(--ink-soft);
}

.favorite-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(22,51,47,0.15);
  transition: transform 0.15s ease, color 0.15s ease;
}
.favorite-btn svg { width: 17px; height: 17px; }
.favorite-btn:hover { transform: scale(1.08); color: #b23a5b; }
.favorite-btn.is-active { color: #b23a5b; }

.product-unit-price-sm {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-soft);
  margin-top: 0.1rem;
}
.stock-badge.out { background: rgba(180,60,60,0.1); color: #a83a3a; }
.product-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}
.catalog-empty { text-align: center; color: var(--ink-soft); padding: 3rem 0; }
.sgr-note { display: block; font-size: 0.74rem; color: var(--ink-soft); margin-top: 0.15rem; }

/* ---------- Product detail page ---------- */
.product-main { padding: clamp(2.5rem, 6vw, 4.5rem) var(--edge) 5rem; background: var(--ivory); min-height: 60vh; }
.product-loading { text-align: center; color: var(--ink-soft); padding: 4rem 0; }
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.product-gallery-main {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.product-gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-gallery-thumbs { display: flex; gap: 0.7rem; margin-top: 0.9rem; }
.thumb {
  width: 64px; height: 64px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--white);
  padding: 0.3rem;
  cursor: pointer;
  transition: border-color 0.2s;
}
.thumb.active, .thumb:hover { border-color: var(--gold); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }

.product-info { padding-top: 0.5rem; }
.product-category {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--teal-mid);
  margin-bottom: 0.5rem;
}
.product-info h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.product-info .product-price {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.2rem;
}
.product-vat-note {
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink-soft);
  vertical-align: middle;
}
.product-unit-price {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.product-stock { font-size: 0.85rem; margin-bottom: 1.6rem; }
.product-stock.in-stock { color: #3f7a4f; }
.product-stock.out-of-stock { color: #a83a3a; }

.product-qty { margin-bottom: 1.3rem; }
.product-qty label { display: block; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(22,51,47,0.15);
  border-radius: 10px;
  overflow: hidden;
}
.qty-control button {
  width: 38px; height: 38px;
  background: var(--white);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
}
.qty-control button:hover { background: var(--ivory-warm); }
.qty-control input {
  width: 48px; height: 38px;
  text-align: center;
  border: none;
  border-left: 1px solid rgba(22,51,47,0.1);
  border-right: 1px solid rgba(22,51,47,0.1);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.btn-cart {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--teal-deep);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-cart:hover { background: var(--teal-mid); }
.btn-cart:disabled { background: rgba(22,51,47,0.2); cursor: not-allowed; }
.cart-confirm { color: #3f7a4f; font-size: 0.88rem; margin-top: 0.8rem; text-align: center; }

.product-story {
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--gold-dim);
}
.story-flourish { margin-bottom: 1.5rem; color: var(--gold); }
.product-description {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.8rem;
}
.notes-pyramid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.notes-tier-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-mid);
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.notes-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.note-tag {
  font-size: 0.78rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: var(--ivory);
  border: 1px solid var(--gold-dim);
  color: var(--ink);
}
.product-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(22, 51, 47, 0.08);
}
.fact-item dt {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-mid);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.fact-item dd { margin: 0; font-size: 0.9rem; color: var(--ink); }
@media (max-width: 480px) {
  .product-facts { grid-template-columns: 1fr; }
}

.back-link {
  display: block;
  width: fit-content;
  margin: 1.6rem auto 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  text-align: center;
}
.back-link:hover { color: var(--teal-mid); }

/* ---------- Cart page ---------- */
.cart-main { padding: clamp(2.5rem, 6vw, 4.5rem) var(--edge) 5rem; background: var(--ivory); min-height: 60vh; }
.cart-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.cart-main h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.cart-main h1 svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.cart-heading-count { font-size: 0.85rem; color: var(--ink-soft); white-space: nowrap; }
.cart-empty { color: var(--ink-soft); }
.cart-empty a { color: var(--teal-mid); }
.cart-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.cart-breakdown-line { display: flex; justify-content: space-between; }
.cart-breakdown-tbd { font-style: italic; }
.cart-items { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto auto auto;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
}
.cart-item-link { display: contents; }
.cart-item-link img,
.cart-item-link .cart-item-info { cursor: pointer; }
.cart-item img { width: 64px; height: 64px; object-fit: contain; }
.cart-item-info h4 { font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; color: var(--ink); margin-bottom: 0.2rem; }
.cart-item-info span { font-size: 0.8rem; color: var(--ink-soft); }
.cart-item-link:hover .cart-item-info h4 { color: var(--teal-mid); }
.cart-item-total { font-weight: 600; color: var(--ink); min-width: 5.5rem; text-align: right; }
.cart-item-remove { background: none; border: none; color: var(--ink-soft); cursor: pointer; font-size: 1rem; }
.cart-item-remove:hover { color: #a83a3a; }
.qty-control-sm button { width: 30px; height: 30px; font-size: 0.95rem; }
.qty-control-sm input { width: 38px; height: 30px; font-size: 0.85rem; }

@media (max-width: 640px) {
  .cart-item { grid-template-columns: 48px 1fr; grid-template-areas: "img info" "img qty" "img total" "img remove"; row-gap: 0.5rem; }
  .cart-item img { grid-area: img; width: 48px; height: 48px; }
  .cart-item-info { grid-area: info; }
  .qty-control { grid-area: qty; }
  .cart-item-total { grid-area: total; text-align: left; }
  .cart-item-remove { grid-area: remove; justify-self: start; }
}
.cart-summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(22,51,47,0.12);
  margin-bottom: 1.3rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}
.cart-note { text-align: center; font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.9rem; }
.cart-note a { color: var(--teal-mid); }

.checkout-payment-method {
  background: var(--white);
  border: 1px solid rgba(22,51,47,0.1);
  border-radius: 10px;
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.3rem;
}
.checkout-payment-method h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.payment-method-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
}
.payment-method-option input { accent-color: var(--teal-mid); width: 1.05rem; height: 1.05rem; }

.checkout-address {
  background: var(--white);
  border: 1px solid rgba(22,51,47,0.1);
  border-radius: 10px;
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.3rem;
}
.checkout-address h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.checkout-address-view address {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.checkout-address form.account-form { gap: 0.8rem; }
.checkout-address-actions { display: flex; align-items: center; gap: 1rem; }
.checkout-address-actions .btn { width: auto; flex: 1; }
.btn-text {
  background: none;
  border: none;
  color: var(--teal-mid);
  font-size: 0.85rem;
  font-family: var(--font-body);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.btn-text:hover { color: var(--gold-bright); }
.cart-address-warning {
  text-align: center;
  font-size: 0.84rem;
  color: #b23a3a;
  background: rgba(178,58,58,0.08);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  margin-top: 0.9rem;
}
.cart-address-warning a { color: #b23a3a; text-decoration: underline; }

.cart-confirm-block { text-align: center; padding: 2.5rem 0; }
.cart-confirm-block h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 1.9rem);
  color: var(--teal-mid);
  margin-bottom: 0.8rem;
}
.cart-confirm-block p { color: var(--ink-soft); margin-bottom: 1.6rem; }
.cart-confirm-block .btn-outline { border-color: rgba(22,51,47,0.25); color: var(--ink); }
.cart-confirm-block .btn-outline:hover { border-color: var(--teal-mid); color: var(--teal-mid); }

/* ---------- Simple footer (catalog/product/cart pages) ---------- */
@media (max-width: 720px) {
  .product-detail { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
}

/* ---------- Newsletter popup ---------- */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 47, 52, 0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 200;
  animation: popupOverlayIn 0.3s ease;
}
.popup-overlay[hidden] { display: none; }
@keyframes popupOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.popup-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(6, 47, 52, 0.4);
  animation: popupCardIn 0.35s cubic-bezier(.2,.8,.2,1);
}
@keyframes popupCardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.popup-banner {
  height: 130px;
  background: linear-gradient(180deg, var(--teal-mid), var(--teal-darker)) center/cover;
  background-image: url('assets/newsletter-popup-banner.jpg');
  background-size: cover;
  background-position: center;
}

.popup-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(6, 47, 52, 0.55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.popup-close:hover { background: var(--teal-darker); }
.popup-close svg { width: 15px; height: 15px; }

.popup-body { padding: 1.8rem 1.9rem 2rem; text-align: center; }
.popup-kicker { color: var(--gold-deep); margin-bottom: 0.7rem; }
.popup-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 4vw, 1.6rem);
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.7rem;
}
.popup-body p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 340px;
  margin: 0 auto;
}

.popup-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.popup-form > input {
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(22,51,47,0.15);
  border-radius: 999px;
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  text-align: center;
  transition: border-color 0.2s;
}
.popup-form > input:focus { border-color: var(--gold); }
.popup-form .btn { justify-content: center; }
.popup-form .consent-check { color: var(--ink-soft); }
.popup-form .consent-check a { color: var(--ink); text-decoration: underline; }
.popup-form .consent-check a:hover { color: var(--gold); }

.popup-note {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.popup-confirm {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--teal-mid);
}

/* Age gate (age-gate.js) - sits above the newsletter popup and everything
   else (no close/dismiss affordance, so it must always win visually). */
.age-gate-overlay { z-index: 400; animation: none; }
.age-gate-card { animation: none; }
body.age-gate-lock { overflow: hidden; }
.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.age-gate-actions .btn { width: 100%; justify-content: center; }
.age-gate-actions .btn-outline { border-color: rgba(22,51,47,0.25); color: var(--ink); }
.age-gate-actions .btn-outline:hover { border-color: var(--teal-mid); color: var(--teal-mid); }

/* Shown wherever an alcohol purchase is blocked for a visitor who confirmed
   they're under 18 (produs.html's add-to-cart, bauturi.html, cos.html). */
.age-restricted-notice {
  background: rgba(178,58,58,0.08);
  color: #8a3030;
  border: 1px solid rgba(178,58,58,0.2);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 1rem 0;
}

.gpsr-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 1.2rem 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(22,51,47,0.08);
}
.gpsr-note a { color: var(--teal-mid); text-decoration: underline; }
.gpsr-note a:hover { color: var(--gold); }

/* Cookie consent banner (cookie-consent.js) - a non-blocking bottom bar,
   unlike the age gate: the site is fully usable behind/around it. */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  background: var(--teal-darker);
  color: var(--white-dim);
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.2);
  animation: cookieBarIn 0.35s ease;
}
@keyframes cookieBarIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-bar p { max-width: 640px; font-size: 0.82rem; line-height: 1.5; margin: 0; }
.cookie-bar p a { color: var(--gold-bright); text-decoration: underline; }
.cookie-bar-actions { display: flex; gap: 0.7rem; flex-shrink: 0; }
.cookie-bar-actions .btn { padding: 0.65rem 1.2rem; font-size: 0.8rem; white-space: nowrap; }
.cookie-bar-actions .btn-outline { border-color: var(--white-faint); color: var(--white); }
.cookie-bar-actions .btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
@media (max-width: 640px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-bar-actions { justify-content: center; }
}

/* ---------- Account page (cont.html) ---------- */

.account-main {
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--edge) 6rem;
  background: var(--ivory);
  min-height: 65vh;
  display: flex;
  justify-content: center;
}
.account-box {
  width: 100%;
  max-width: 440px;
}
.account-box:has(#accountLoggedIn:not([hidden])) { max-width: 1080px; }
.account-box-narrow { max-width: 440px; margin: 0 auto; }

/* ---- Admin panel (panou-8f2k1.html) ---- */
.admin-header .header-wrap { justify-content: flex-start; gap: 1.2rem; }
.admin-header-title {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--white);
  font-size: 1.05rem;
  flex: 1;
}
.admin-header .btn-text { color: var(--white-dim); }
.admin-header .btn-text:hover { color: var(--gold-bright); }
.admin-h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 1.4rem;
  text-align: center;
}
#adminPanel.admin-dashboard {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.admin-sidebar {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(22,51,47,0.08);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: sticky;
  top: 1.5rem;
}
.admin-sidebar-nav { display: flex; flex-direction: column; gap: 0.3rem; }
.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}
.admin-sidebar-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-sidebar-link:hover { background: var(--ivory-warm); color: var(--ink); }
.admin-sidebar-link.is-active { background: var(--teal-deep); color: var(--white); }
.admin-sidebar-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--teal-darker);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-sidebar-logout {
  border-top: 1px solid rgba(22,51,47,0.1);
  padding-top: 1rem;
  text-align: left;
  color: #b23a3a;
}
.admin-sidebar-logout:hover { color: #8f2e2e; }
.admin-content { min-width: 0; }
.admin-panel-section { display: none; }
.admin-panel-section.is-active { display: block; }
.admin-section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 1.2rem;
}
@media (max-width: 720px) {
  #adminPanel.admin-dashboard { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; flex-direction: row; overflow-x: auto; }
  .admin-sidebar-nav { flex-direction: row; }
  .admin-sidebar-logout { border-top: none; border-left: 1px solid rgba(22,51,47,0.1); padding-top: 0; padding-left: 1rem; }
}
.admin-orders { display: flex; flex-direction: column; gap: 1rem; }
.admin-order {
  background: var(--white);
  border: 1px solid rgba(22,51,47,0.1);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
}
.admin-order-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-display);
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.admin-order-top strong { font-size: 1.05rem; }
.admin-order-top span { font-size: 0.85rem; color: var(--ink-soft); font-family: var(--font-body); }
.admin-order-status {
  margin-left: auto;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(22,51,47,0.15);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
}
.admin-order-customer { font-size: 0.88rem; color: var(--ink); margin-bottom: 0.3rem; }
.admin-order-shipping { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 0.6rem; }
.admin-order-items { font-size: 0.85rem; color: var(--ink-soft); padding-left: 1.1rem; }
.admin-orders-empty { text-align: center; color: var(--ink-soft); }
.account-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(22,51,47,0.12);
}
.account-tab {
  flex: 1;
  padding: 0.8rem 0.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.account-tab.is-active { color: var(--ink); border-bottom-color: var(--gold); font-weight: 600; }

.account-form { display: flex; flex-direction: column; gap: 1.1rem; }
.account-form[hidden] { display: none; }
#accountLoggedOut[hidden], #accountLoggedIn[hidden] { display: none; }
.account-form label { display: flex; flex-direction: column; gap: 0.4rem; }
.account-form label span {
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"],
.account-form input[type="tel"],
.account-form textarea {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(22,51,47,0.15);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  resize: vertical;
}
.account-form input:focus,
.account-form textarea:focus { outline: none; border-color: var(--gold); }

.password-field { position: relative; display: flex; }
.password-field input { flex: 1; padding-right: 4.2rem; }
.password-toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: var(--teal-mid);
  font-size: 0.76rem;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
}
.password-toggle:hover { color: var(--gold); }

/* Contact page (contact.html) - WhatsApp/email details above the form */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1.4rem 0 1.8rem;
  padding: 1.1rem 1.2rem;
  background: rgba(22,51,47,0.04);
  border-radius: 10px;
}
.contact-details a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink);
}
.contact-details a:hover { color: var(--gold); }
.contact-details svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--teal-mid); }
.account-box .contact-form-note { color: var(--ink-soft); }
.account-form .consent-check { color: var(--ink-soft); }
.account-form .consent-check a { color: var(--ink); text-decoration: underline; }
.account-form .consent-check a:hover { color: var(--gold); }
.account-form .btn { width: 100%; justify-content: center; margin-top: 0.3rem; }

.account-forgot-link {
  align-self: flex-start;
  margin-top: -0.5rem;
  font-size: 0.8rem;
  color: var(--teal-mid);
  text-decoration: underline;
}
.account-forgot-link:hover { color: var(--gold); }

.account-error {
  font-size: 0.82rem;
  color: #b23a3a;
  background: rgba(178,58,58,0.08);
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
}

#accountGreeting {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  color: var(--ink);
}
.account-email { color: var(--ink-soft); font-size: 0.85rem; margin-top: 0.15rem; word-break: break-all; }

/* ---- Account dashboard: sidebar + panel layout ---- */
.account-dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: start;
  gap: 2.5rem;
}
.account-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid rgba(22,51,47,0.1);
  border-radius: 14px;
  position: sticky;
  top: 1.5rem;
}
.account-sidebar-user { display: flex; align-items: center; gap: 0.8rem; }
.account-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.account-sidebar-user-info { min-width: 0; }
.account-sidebar-user-info .kicker { margin-bottom: 0.1rem; }

.account-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.account-nav-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(22,51,47,0.12);
  border-radius: 10px;
  background: var(--ivory);
  box-shadow: 0 1px 2px rgba(10,70,78,0.06);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.account-nav-item svg { width: 19px; height: 19px; flex-shrink: 0; }
.account-nav-item:hover { border-color: var(--gold); color: var(--ink); box-shadow: 0 2px 6px rgba(10,70,78,0.1); }
.account-nav-item:active { transform: scale(0.97); box-shadow: 0 1px 2px rgba(10,70,78,0.06); }
.account-nav-item.is-active {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: var(--gold-bright);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(10,70,78,0.18);
}

.account-logout { margin-top: 0.2rem; }

.account-content { min-width: 0; }
.account-panel {
  display: none;
  padding: 1.8rem 2rem;
  background: var(--white);
  border: 1px solid rgba(22,51,47,0.1);
  border-radius: 14px;
}
.account-panel.is-active { display: block; }

.account-panel h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.account-address-note { color: var(--ink-soft); font-size: 0.82rem; margin-bottom: 1.2rem; }
.account-address-saved { color: var(--teal-mid); font-size: 0.84rem; }

#panel-address .account-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1rem;
}
#panel-address .account-form label:has(input#shipAddress),
#panel-address .account-form label:has(input#shipNotes),
#panel-address .account-form .consent-check,
#panel-address .account-form .account-company-fields,
#panel-address .account-form .account-address-saved,
#panel-address .account-form .btn { grid-column: 1 / -1; }
@media (max-width: 560px) {
  #panel-address .account-form { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .account-dashboard { display: block; }
  .account-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.4rem;
    padding: 1.2rem;
  }
  .account-sidebar-user { flex: 1 1 100%; }
  .account-nav { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; gap: 0.4rem; padding-top: 0.6rem; border-top: 1px solid rgba(22,51,47,0.08); }
  .account-nav-item { flex: 1 1 auto; justify-content: center; white-space: nowrap; padding: 0.65rem 0.7rem; font-size: 0.82rem; }
  .account-logout { flex: 1 1 100%; }
  .account-panel { padding: 1.4rem 1.2rem; }
}

.account-company-fields {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1rem 1.1rem;
  background: rgba(22,51,47,0.04);
  border-radius: 10px;
}
.account-company-fields[hidden] { display: none; }

.account-orders-empty { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 0.4rem; }

.account-favorites-empty { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 0.4rem; }
.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.9rem;
  margin-top: 0.8rem;
}
.favorites-item {
  display: flex;
  flex-direction: column;
  padding: 0.6rem;
  border: 1px solid rgba(22,51,47,0.08);
  border-radius: 10px;
}
.favorites-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 0.5rem;
}
.favorites-item-name {
  font-size: 0.8rem;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.favorites-item-price { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.order-item {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(22,51,47,0.08);
  font-size: 0.88rem;
  color: var(--ink);
}
.order-item-top { display: flex; justify-content: space-between; align-items: center; }
.order-status { font-size: 0.76rem; color: var(--teal-mid); }
.order-item-meta { color: var(--ink-soft); font-size: 0.8rem; margin-top: 0.2rem; }
.order-cancel-btn {
  margin-top: 0.6rem;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #b23a3a;
  text-decoration: underline;
  cursor: pointer;
}
.order-cancel-btn:hover { color: #8f2e2e; }
.order-cancel-btn:disabled { color: var(--ink-soft); cursor: default; text-decoration: none; }

.order-return-toggle {
  margin-top: 0.6rem;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--teal-mid);
  text-decoration: underline;
  cursor: pointer;
}
.order-return-toggle:hover { color: var(--gold); }
.order-return-form {
  margin-top: 0.8rem;
  padding: 0.9rem 1rem;
  background: var(--ivory-warm);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.order-return-form label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.8rem; color: var(--ink-soft); }
.order-return-form select,
.order-return-form textarea {
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(22,51,47,0.15);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
  resize: vertical;
}
.order-return-actions { display: flex; align-items: center; gap: 1rem; }
.order-return-actions .btn { width: auto; padding: 0.5rem 1.1rem; font-size: 0.78rem; }
.order-return-sent { margin-top: 0.6rem; font-size: 0.8rem; color: #3f7a4f; }

.header-icons a.is-logged-in { color: var(--gold-bright); }

.account-box .btn-outline { border-color: rgba(22,51,47,0.25); color: var(--ink); }
.account-box .btn-outline:hover { border-color: var(--teal-mid); color: var(--teal-mid); }
