/* ==========================================================================
   Folklore Wine — foaia de stil a temei WordPress
   Preluată din site-ul React (src/styles/global.css): aceleași tokenuri —
   Raleway, roșu #C0261C, colțuri aproape drepte, mult alb. La final:
   ce e specific WordPress și WooCommerce (formulare, notificări, cont).
   ========================================================================== */

:root {
  --ink: #111111;
  --ink-soft: #3a3a3a;
  --ink-muted: #6e6e6e;
  --ink-faint: #9a9a9a;
  --paper: #ffffff;
  --wash: #f5f5f5;
  --wash-warm: #faf8f5;
  --line: rgba(17, 17, 17, 0.1);
  --line-strong: rgba(17, 17, 17, 0.22);
  --accent: #c0261c;
  --accent-dark: #97180f;
  --success-bg: #eaf3ea;
  --success-fg: #2e6b36;
  --warn-bg: #fbf3e4;
  --warn-fg: #8a6314;
  --info-bg: #eef2fa;
  --info-fg: #2b4e8c;
  --danger-bg: #f7eceb;
  --danger-fg: #c0261c;

  --radius: 2px;
  --radius-lg: 4px;
  --shell: 1360px;
  --gutter: clamp(14px, 3.5vw, 40px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-soft: 0 10px 30px rgba(17, 17, 17, 0.08);
  --shadow-pop: 0 18px 48px rgba(17, 17, 17, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--ink);
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.icon {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  display: inline-block;
  /* Numele simbolului e o ligatură: majusculele sau spațierea părintelui o strică. */
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  user-select: none;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.icon--filled { font-variation-settings: 'FILL' 1; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Animații
   -------------------------------------------------------------------------- */
@keyframes fklPop { from { opacity: 0; transform: translateY(6px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes fklFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fklFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes fklRise { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes fklDrawer { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes fklDrawerOut { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes fklCartIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes fklCartOut { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes fklSearchIn { from { opacity: 0; transform: translateY(-18px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes fklSearchOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-12px) scale(0.99); } }
@keyframes fklToastIn { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: none; } }
@keyframes fklToastOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(110%); } }
@keyframes fklSpin { to { transform: rotate(360deg); } }
@keyframes fklMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Structură
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* `backwards`, nu `both`: după animație conținutul trebuie să rămână fără
   transform. Altfel Chrome îl păstrează ca translateY(0) scale(1), iar orice
   element `position: fixed` din pagină s-ar lega de ea în loc de ecran. */
.page {
  animation: fklRise 420ms var(--ease) backwards;
  min-height: 60vh;
}

.section {
  padding: clamp(40px, 6vw, 72px) 0;
}

.section--tight { padding: clamp(28px, 4vw, 44px) 0; }
.section--wash { background: var(--wash-warm); }

/* Primul raft de pe pagina de start, respectiv rafturile care urmează după o
   secțiune editorială (care își aduce propriul spațiu deasupra). */
.section--rail-first { padding: clamp(52px, 7vw, 96px) 0 clamp(44px, 6vw, 80px); }
.section--rail { padding: 0 0 clamp(52px, 7vw, 96px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.lead {
  max-width: 50ch;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
}

/* Rând de acțiuni din capul unui raft: link „vezi tot” + săgeți */
.rail-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rail-arrows { display: flex; gap: 6px; }

.rail-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease);
}

.rail-arrow:hover { background-color: rgba(17, 17, 17, 0.06); }
.rail-arrow:active { transform: scale(0.92); }

.link-underline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(192, 38, 28, 0.4);
  padding-bottom: 3px;
  white-space: nowrap;
}

.link-underline:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Secțiune editorială: imagine + text, una lângă alta */
.split {
  border-top: 1px solid var(--line);
}

.split__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(48px, 6vw, 88px) 0;
}

.split__inner--narrow {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(24px, 4vw, 60px);
  padding: clamp(48px, 6vw, 84px) 0;
}

.split__media {
  display: block;
  width: 100%;
  height: clamp(360px, 48vw, 620px);
  object-fit: cover;
  border-radius: var(--radius);
}

.split__media--tall { height: clamp(380px, 52vw, 680px); }

.split__title {
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.split__title--xl {
  font-size: clamp(34px, 4vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.split__text {
  margin: 20px 0 0;
  max-width: 50ch;
  font-size: clamp(16px, 1.5vw, 17px);
  line-height: 1.65;
  color: var(--ink-soft);
}

.split__text + .split__text { margin-top: 14px; }

.split__rule {
  width: 64px;
  height: 2px;
  margin: 26px 0;
  background: var(--accent);
}

.split__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  min-height: 52px;
  padding: 0 28px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease);
}

.split__cta:hover { background-color: var(--accent); color: var(--paper); }
.split__cta:active { transform: scale(0.98); }

.split__cta--outline {
  background: none;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.split__cta--outline:hover { background-color: var(--ink); color: var(--paper); }

/* Newsletter */
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter-form input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 54px;
  padding: 0 16px;
  background: var(--paper);
  border: 1px solid rgba(17, 17, 17, 0.25);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 15px;
  outline: none;
  transition: border-color 160ms ease;
}

.newsletter-form input:focus { border-color: var(--ink); }

.newsletter-form button {
  flex: 0 0 auto;
  min-height: 54px;
  padding: 0 30px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease);
}

.newsletter-form button:hover { background-color: var(--accent); }
.newsletter-form button:active { transform: scale(0.98); }

.newsletter-note {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.announcement {
  height: 34px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  transition: height 260ms var(--ease), opacity 180ms ease;
}

.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 34px;
  padding: 0 16px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.announcement__short { display: none; }

.site-header.is-compact .announcement { height: 0; opacity: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  transition: height 260ms var(--ease);
  height: 136px;
}

.site-header.is-compact .header-row { height: 84px; }

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.header-nav a {
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}

.header-nav a:hover,
.header-nav a.is-active {
  border-color: var(--accent);
}

.brand-mark {
  display: grid;
  grid-template-areas: 'logo';
  place-items: center;
  line-height: 0;
}

.brand-mark img {
  grid-area: logo;
  display: block;
  width: auto;
  transition: height 260ms var(--ease), opacity 240ms ease, transform 460ms var(--ease);
}

.brand-mark__icon { height: 46px; opacity: 0; transform: scale(0.45); }
.brand-mark__word { height: 74px; opacity: 1; transform: scale(1); }

.site-header.is-compact .brand-mark__icon { opacity: 1; transform: scale(1); }
.site-header.is-compact .brand-mark__word { height: 48px; opacity: 0; transform: scale(0.4); }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: none;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease);
}

.icon-button:hover { background-color: rgba(17, 17, 17, 0.06); }
.icon-button:active { transform: scale(0.94); }
.icon-button .icon { font-size: 25px; }

.badge-dot {
  position: absolute;
  top: 6px;
  right: 5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  animation: fklPop 200ms var(--ease);
}

.cart-button {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
  padding: 0 14px;
  height: 46px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms ease;
}

.cart-button:hover { background-color: var(--accent); }
.cart-button:active { transform: scale(0.97); }
.cart-button .icon { font-size: 22px; }

.cart-button__total {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.cart-button__count {
  display: inline-block;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-button__count.is-popped { transform: scale(1.28); }

.header-row--mobile { display: none; grid-template-columns: 1fr auto 1fr; height: 96px; }
.site-header.is-compact .header-row--mobile { height: 64px; }

/* --------------------------------------------------------------------------
   Meniu mobil (drawer) + căutare
   -------------------------------------------------------------------------- */
/* Fundalul întunecat coboară și pe sub bara browserului de jos (Safari pe
   telefon), ca pagina să nu se vadă dedesubt. */
.overlay {
  position: fixed;
  inset: 0 0 -160px 0;
  z-index: 80;
  background: rgba(17, 17, 17, 0.42);
  animation: fklFade 240ms ease;
}

.overlay.is-closing { animation: fklFadeOut 220ms ease forwards; }

.drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 90;
  width: min(84vw, 360px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  animation: fklDrawer 320ms cubic-bezier(0.32, 0.72, 0, 1);
}

.drawer.is-closing { animation: fklDrawerOut 260ms cubic-bezier(0.4, 0, 1, 1) forwards; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  overflow-y: auto;
  flex: 1;
}

.drawer__nav a {
  padding: 15px 22px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.drawer__foot {
  padding: 18px 22px calc(18px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 13px;
}

/* Pe telefon, bara browserului de jos stă peste marginea ecranului. Meniul și
   sertarul coșului se opresc deasupra ei, cu butoanele vizibile, dar fundalul
   lor alb continuă pe sub ea până jos. */
.drawer::after,
.cart-drawer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 160px;
  background: var(--paper);
}

/* Sertarul coșului: din dreapta, se deschide din butonul de coș din header. */
.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 90;
  width: min(92vw, 420px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-pop);
  animation: fklCartIn 320ms cubic-bezier(0.32, 0.72, 0, 1);
}

.cart-drawer.is-closing { animation: fklCartOut 260ms cubic-bezier(0.4, 0, 1, 1) forwards; }

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cart-drawer__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }

.mini-cart {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  transition: opacity 160ms ease;
}

.mini-cart.is-updating { opacity: 0.55; pointer-events: none; }

.mini-cart--empty {
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 22px;
  text-align: center;
}

.mini-cart--empty .icon { color: var(--ink-faint); }
.mini-cart--empty .empty__title,
.mini-cart--empty .empty__text { margin: 0; }
.mini-cart--empty .btn { margin-top: 8px; }

.mini-cart__items {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 22px;
}

.mini-cart__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.mini-cart__row .cart-thumb { width: 72px; height: 72px; }
.mini-cart__row .cart-thumb img { padding: 6px; }
.mini-cart__info { min-width: 0; }
.mini-cart__info .product-card__brand { margin: 0; }
.mini-cart__title { margin: 2px 0 4px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.mini-cart__title a { color: inherit; }
.mini-cart__title a:hover { color: var(--accent); }
.mini-cart__meta { margin: 0; color: var(--ink-muted); font-size: 12.5px; }
.mini-cart__controls { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.mini-cart__controls .qty button { width: 32px; height: 32px; }
.mini-cart__controls .qty output { min-width: 28px; font-size: 14px; }
.mini-cart__controls .link-button { font-size: 12.5px; }
.mini-cart__price { margin: 2px 0 0; font-size: 14.5px; font-weight: 800; white-space: nowrap; }

.mini-cart__foot {
  padding: 14px 22px calc(22px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
}

.mini-cart__foot .summary__row { padding: 6px 0; font-size: 14px; }
.mini-cart__foot .summary__row--total { margin-top: 6px; padding-top: 12px; font-size: 18px; }
.mini-cart__actions { display: grid; gap: 10px; margin-top: 14px; }
.mini-cart__note { margin: 12px 0 0; text-align: center; }
.mini-cart__error { margin: 22px; }

.search-panel {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: clamp(18px, 3vw, 28px) 0 clamp(20px, 3vw, 32px);
  max-height: 100vh;
  overflow-y: auto;
  animation: fklSearchIn 300ms var(--ease);
}

.search-panel.is-closing { animation: fklSearchOut 200ms cubic-bezier(0.4, 0, 1, 1) forwards; }

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
}

.search-field input {
  flex: 1;
  border: 0;
  outline: none;
  background: none;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.search-hint {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 13.5px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease,
    transform 160ms var(--ease);
}

.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(0.95); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Butoane
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease),
    border-color 160ms ease;
}

.btn:hover { background: var(--accent); color: var(--paper); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn .icon { font-size: 19px; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn--accent { background: var(--accent); }
.btn--accent:hover { background: var(--accent-dark); }

.btn--light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn--light:hover { background: var(--wash); color: var(--ink); }

.btn--block { width: 100%; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 11.5px; }

.link-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.link-button:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: #000000;
  color: var(--paper);
}

.hero__media {
  display: block;
  width: 100%;
  height: clamp(620px, 88vh, 940px);
  object-fit: cover;
  object-position: 62% center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.94) 0%,
    rgba(0, 0, 0, 0.78) 34%,
    rgba(0, 0, 0, 0.15) 62%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero__copy { max-width: 640px; }

.hero__eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero__title {
  font-size: clamp(44px, 5.4vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero__text {
  margin: 24px 0 0;
  max-width: 460px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  min-height: 52px;
  padding: 0 30px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease);
}

.hero__cta:hover { background-color: var(--accent); color: var(--paper); }
.hero__cta:active { transform: scale(0.98); }

/* Sub 860px poza ține tot heroul, încadrată pe mască și sticle, iar textul stă
   peste ea, jos, pe o umbră care urcă de jos. */
@media (max-width: 860px) {
  .hero {
    display: flex;
    align-items: flex-end;
    min-height: min(82vh, 720px);
    min-height: min(82svh, 720px);
  }

  .hero__media {
    position: absolute;
    inset: 0;
    height: 100%;
    object-position: 42% 30%;
  }

  .hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0) 18%,
      rgba(0, 0, 0, 0.6) 46%,
      rgba(0, 0, 0, 0.94) 100%
    );
  }

  .hero__inner {
    position: relative;
    display: block;
    width: 100%;
    padding: 0 0 34px;
  }

  .hero__title,
  .hero__text { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }

  .hero__copy { max-width: 560px; }

  .hero__eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.28em;
  }

  .hero__title { font-size: clamp(34px, 10vw, 48px); line-height: 0.96; }

  .hero__text {
    margin-top: 16px;
    max-width: none;
    font-size: 17px;
  }

  .hero__cta {
    display: flex;
    max-width: 420px;
    margin-top: 22px;
    min-height: 54px;
    padding: 0 20px;
  }
}

/* --------------------------------------------------------------------------
   Carduri produs + rafturi
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: clamp(10px, 1.6vw, 20px);
}

/* Magazinul: 4 produse pe rând, 3 cât e panoul de filtre deschis. */
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.rail {
  display: flex;
  gap: clamp(10px, 1.4vw, 18px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0 8px;
  scroll-padding-left: 2px;
}

.rail::-webkit-scrollbar { display: none; }

/* Raftul se poate trage cu mouse-ul, nu doar derula din săgeți. */
.rail--draggable { cursor: grab; }
.rail--draggable.is-dragging { cursor: grabbing; }

/* Cât ținem de raft, snap-ul ar trage cartonașele înapoi la fiecare pixel. */
.rail.is-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.rail.is-dragging * { pointer-events: none; }

.rail > .product-card {
  flex: 0 0 clamp(232px, 23vw, 288px);
  scroll-snap-align: start;
}

.product-card {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.product-card:hover {
  border-color: rgba(17, 17, 17, 0.32);
  box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.5);
}

.product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 18px;
  background: var(--paper);
  cursor: pointer;
  overflow: hidden;
}

.product-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 320ms var(--ease);
}

.product-card__media:hover img { transform: translateY(-6px) scale(1.04); }

.product-card__wish {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 160ms ease;
}

.product-card__wish:hover { background-color: #ffffff; }
.product-card__wish:active { transform: scale(0.88); }
.product-card__wish.is-on { color: var(--accent); }

.product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 7px;
  padding: 16px 16px 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.product-card__line {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Eticheta mică folosită și în coș / căutare */
.product-card__brand {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.product-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
}

.product-card__title a { color: inherit; }
.product-card__title a:hover { color: var(--accent); }

.product-card__sub {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-muted);
}

.product-card__price {
  margin: 6px 0 14px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.product-card__add {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  height: 48px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: var(--radius);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease);
}

.product-card__add:hover { background-color: var(--accent); }
.product-card__add:active { transform: scale(0.98); }

.product-card__add:disabled {
  background: rgba(17, 17, 17, 0.32);
  cursor: not-allowed;
  transform: none;
}

.price-old {
  margin-left: 8px;
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 600;
  text-decoration: line-through;
}

/* --------------------------------------------------------------------------
   Pagina produsului
   -------------------------------------------------------------------------- */
.pdp { padding-bottom: clamp(52px, 7vw, 96px); }

.pdp-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0 4px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.pdp-crumbs a { color: var(--ink-muted); }
.pdp-crumbs a:hover { color: var(--ink); }
.pdp-crumbs .is-current { color: var(--ink); }

.pdp-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(18px, 3vw, 36px) 0 clamp(40px, 5vw, 72px);
}

.pdp-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: clamp(18px, 3vw, 48px);
  background: var(--paper);
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

.pdp-media img { max-width: 100%; max-height: 100%; object-fit: contain; }

.pdp-media__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  background: var(--ink);
  color: var(--paper);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pdp-line {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.pdp-title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.pdp-sub {
  margin: 12px 0 0;
  font-size: 16.5px;
  color: var(--ink-muted);
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
}

.pdp-price {
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pdp-vat { font-size: 12.5px; color: var(--ink-muted); }

.pdp-sgr {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--wash);
  border-radius: var(--radius);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.pdp-sgr__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 22px;
  padding: 0 8px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.pdp-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 24px;
}

.pdp-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.pdp-qty button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 56px;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 160ms ease;
}

.pdp-qty button:hover { background-color: rgba(17, 17, 17, 0.06); }
.pdp-qty button:disabled { opacity: 0.35; cursor: not-allowed; }
.pdp-qty span { min-width: 34px; text-align: center; font-size: 16px; font-weight: 700; }

.pdp-add {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 240px;
  height: 56px;
  padding: 0 26px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease);
}

.pdp-add:hover { background-color: var(--accent); }
.pdp-add:active { transform: scale(0.985); }
.pdp-add:disabled { background: rgba(17, 17, 17, 0.32); cursor: not-allowed; transform: none; }

/* Două coloane egale, ca rândul să se termine unde se termină „Adaugă în coș”. */
.pdp-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.pdp-secondary .pdp-ghost { width: 100%; justify-content: center; }

.pdp-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 160ms ease, transform 160ms var(--ease);
}

.pdp-ghost:hover { border-color: var(--accent); }
.pdp-ghost:active { transform: scale(0.97); }
.pdp-ghost.is-on .icon { color: var(--accent); }

.pdp-share { position: relative; }

.pdp-share__menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  min-width: 216px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 3px;
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.6);
  transform-origin: top left;
  animation: fklPop 180ms var(--ease);
}

.pdp-share__menu button,
.pdp-share__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-size: 13.5px;
  border-radius: var(--radius);
  transition: background-color 140ms ease;
}

.pdp-share__menu button:hover,
.pdp-share__menu a:hover { background-color: rgba(17, 17, 17, 0.06); color: var(--ink); }
.pdp-share__menu .icon { color: var(--ink-muted); }

.pdp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  font-size: 12.5px;
  color: var(--ink-muted);
}

.pdp-trust span { display: inline-flex; align-items: center; gap: 7px; }
.pdp-trust .icon { color: var(--accent); }

.pdp-about { margin-top: 30px; }

.pdp-about h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pdp-about p {
  margin: 0;
  max-width: 62ch;
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  white-space: pre-line;
}

.pdp-info {
  padding: clamp(28px, 4vw, 48px) 0 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.pdp-info__title {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.pdp-info__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(18px, 3vw, 44px);
}

.pdp-specs { margin: 0; }

.pdp-specs > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.pdp-specs dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.pdp-specs dd { margin: 0; font-size: 15px; text-align: right; }

.pdp-note {
  padding: 20px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: var(--radius);
}

.pdp-note + .pdp-note { margin-top: 14px; }
.pdp-note--filled { background: var(--wash); border: 0; }

.pdp-note h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pdp-note p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  white-space: pre-line;
}

.pdp-legal {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.pdp-related { padding: clamp(44px, 6vw, 80px) 0 0; }

/* Selectorul de cantitate din coș — aceeași construcție ca pe pagina
   produsului, doar mai mic. */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 40px;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 160ms ease;
}

.qty button:hover:not(:disabled) { background-color: rgba(17, 17, 17, 0.06); }
.qty button:disabled { opacity: 0.35; cursor: not-allowed; }

.qty output {
  min-width: 34px;
  padding: 0 4px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Filtre magazin
   -------------------------------------------------------------------------- */
.filter-group + .filter-group { margin-top: 22px; }

.filter-group__title {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.filter-options { display: flex; flex-wrap: wrap; gap: 7px; }

/* Bara de deasupra grilei: butonul de filtre, filtrele active, sortarea. */
.shop-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.shop-bar__filters {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 160ms ease, transform 160ms var(--ease);
}

.shop-bar__filters:hover { border-color: var(--accent); }
.shop-bar__filters:active { transform: scale(0.97); }

.shop-bar__count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  font-size: 11px;
}

.shop-bar__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 200px;
}

.shop-bar__chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
}

.shop-bar__sort { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.shop-bar__filters.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* Grila și panoul de filtre stau una lângă alta, în pagină. */
.shop-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  align-items: start;
}

.shop-body.is-filtering { grid-template-columns: minmax(0, 1fr) 260px; }

/* Fără `overscroll-behavior: contain`: cu el, rotița deasupra panoului nu mai
   derula pagina deloc când filtrele încap, iar când nu încap, se oprea la
   capătul panoului. */
.filter-panel {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: clamp(22px, 3vw, 34px);
  animation: fklPop 200ms var(--ease);
}

.filter-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 1;
  padding-bottom: 10px;
  background: var(--paper);
}

/* Opțiunile de filtrare: bife, una sub alta. */
.filter-checks { display: flex; flex-direction: column; gap: 2px; }

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 2px 4px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.3;
  transition: background-color 140ms ease;
}

.filter-check:hover { background-color: rgba(17, 17, 17, 0.05); }

.filter-check input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.filter-check span { min-width: 0; }
.filter-check:has(input:checked) span { font-weight: 700; }

.filter-more {
  margin-top: 8px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(192, 38, 28, 0.4);
  padding-bottom: 2px;
}

.filter-more:hover { color: var(--ink); border-bottom-color: var(--ink); }

.shop-grid { padding-top: clamp(22px, 3vw, 34px); }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.count-label { color: var(--ink-muted); font-size: 13.5px; font-weight: 600; }

.select {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Coș și checkout
   -------------------------------------------------------------------------- */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.cart-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  width: 96px;
  height: 96px;
  background: var(--wash-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cart-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

.cart-line-total { font-weight: 800; font-size: 16px; text-align: right; }

/* Linkul „Vezi coșul” pe care scriptul WooCommerce îl lipește lângă buton după
   adăugare. Tema anunță adăugarea cu notificarea ei și cu numărul din header. */
a.added_to_cart { display: none !important; }

.summary {
  position: sticky;
  top: 120px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--paper);
}

.summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 600;
}

.summary__row--muted { color: var(--ink-muted); }

.summary__row--total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.summary__hint { color: var(--ink-muted); font-size: 12.5px; }

.coupon-form { display: flex; gap: 8px; margin: 14px 0 6px; }

.coupon-form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
}

.notice--ok { color: var(--success-fg); }
.notice--error { color: var(--accent); }
.notice .icon { font-size: 17px; }

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 26px);
  margin-bottom: 20px;
}

.fieldset__title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
}

.fieldset__hint { margin: 0 0 18px; color: var(--ink-muted); font-size: 13.5px; }

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }

.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.field-hint { margin: 0; color: var(--ink-muted); font-size: 12.5px; }

/* Titlul unui grup de adrese din „Contul meu”. */
.addr-group {
  margin: 22px 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.addr-group:first-of-type { margin-top: 0; }

.field input,
.field select,
.field textarea {
  height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea { height: auto; min-height: 96px; padding: 12px 13px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.field input[aria-invalid='true'] { border-color: var(--accent); }

.field__error { color: var(--accent); font-size: 12px; font-weight: 600; }

.toggle-row {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}

.toggle-row button {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.toggle-row button.is-on { background: var(--ink); color: var(--paper); }

.pay-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.pay-option + .pay-option { margin-top: 10px; }
.pay-option.is-on { border-color: var(--accent); background: rgba(192, 38, 28, 0.03); }
.pay-option input { margin-top: 3px; accent-color: var(--accent); }
.pay-option__title { font-weight: 700; font-size: 15px; }
.pay-option__text { color: var(--ink-muted); font-size: 13px; }

/* Adresele salvate în cont, alese la checkout. */
.addr-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.addr-chip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.addr-chip.is-on { border-color: var(--accent); background: rgba(192, 38, 28, 0.03); }
.addr-chip input { margin-top: 3px; accent-color: var(--accent); }
.addr-chip > span { min-width: 0; }
.addr-chip__title { font-weight: 700; font-size: 14px; }
.addr-chip__text { color: var(--ink-muted); font-size: 12.5px; line-height: 1.45; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
}

.checkbox input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   Cont
   -------------------------------------------------------------------------- */
.account-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
}

.account-tabs { display: flex; flex-direction: column; gap: 6px; }

.account-tab {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 0;
  border-radius: var(--radius);
  background: var(--wash);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.account-tab.is-on { background: var(--ink); color: var(--paper); }
.account-tab .icon { font-size: 20px; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 26px);
}

.card + .card { margin-top: 16px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.stat__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.stat__value { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; margin-top: 6px; }
.stat__hint { font-size: 12.5px; color: var(--ink-muted); margin-top: 4px; }

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }

.data-table th {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.data-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tbody tr:hover { background: var(--wash-warm); }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }

.table-scroll { overflow-x: auto; }

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: var(--line-strong);
  cursor: pointer;
  transition: background-color 180ms ease;
  flex-shrink: 0;
}

.toggle-switch.is-on { background: var(--accent); }

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper);
  transition: transform 180ms var(--ease);
}

.toggle-switch.is-on::after { transform: translateX(20px); }

/* --------------------------------------------------------------------------
   Pagini de conținut
   -------------------------------------------------------------------------- */
.prose { max-width: 76ch; color: var(--ink-soft); font-size: 15.5px; }
.prose h2 { margin: 32px 0 12px; font-size: 20px; color: var(--ink); }
.prose ul { margin: 0 0 18px; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(50px, 7vw, 90px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(40px, 5vw, 64px) 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(22px, 3vw, 44px);
}

.footer-title {
  margin: 0 0 14px;
  color: var(--paper);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: rgba(255, 255, 255, 0.78); font-size: 14px; }
.footer-links a:hover { color: var(--paper); }

.newsletter { display: flex; gap: 8px; margin-top: 12px; }

.newsletter input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper);
}

.newsletter input::placeholder { color: rgba(255, 255, 255, 0.5); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   Toast, modal, roata norocului
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 120;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-pop);
  animation: fklToastIn 280ms var(--ease);
  max-width: min(92vw, 460px);
}

.toast.is-leaving { animation: fklToastOut 200ms ease-in forwards; }
.toast .icon { font-size: 20px; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 17, 17, 0.5);
  animation: fklFade 200ms ease;
}

.modal {
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  animation: fklRise 280ms var(--ease);
}

.modal--wide { width: min(880px, 100%); }

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.wheel-pill {
  position: fixed;
  z-index: 70;
  left: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 20px 0 16px;
  background: var(--accent);
  color: var(--paper);
  border: 0;
  border-radius: 40px;
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 200ms var(--ease), background-color 160ms ease;
}

.wheel-pill:hover { background-color: var(--ink); }
.wheel-pill:active { transform: scale(0.95); }

.wheel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.62);
  overflow-y: auto;
  animation: fklFade 200ms ease;
}

.wheel-modal {
  position: relative;
  width: min(100%, 560px);
  padding: clamp(22px, 4vw, 38px);
  background: var(--paper);
  border-radius: 3px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
  animation: fklRise 320ms var(--ease);
}

.wheel-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink-muted);
  transition: color 160ms ease;
}

.wheel-close:hover { color: var(--ink); }

.wheel-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}

.wheel-title {
  margin: 0 0 4px;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
}

.wheel-sub {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--ink-muted);
  text-align: center;
}

.wheel-wrap {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.wheel__pointer {
  position: absolute;
  z-index: 3;
  top: -6px;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -11px;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 20px solid var(--ink);
}

.wheel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 6px solid var(--ink);
  overflow: hidden;
  transition: transform 4200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fiecare etichetă stă pe raza feliei ei, cu textul spre margine. */
.wheel__label {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  padding-top: 16px;
  pointer-events: none;
}

.wheel__label span {
  max-width: 9ch;
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
}

.wheel__hub {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: var(--paper);
  border: 6px solid var(--ink);
}

.wheel-spin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  margin-top: 24px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease);
}

.wheel-spin:hover { background-color: var(--accent); }
.wheel-spin:active { transform: scale(0.985); }

.wheel-status {
  margin: 24px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.wheel-panel {
  margin-top: 24px;
  animation: fklPop 240ms var(--ease);
}

.wheel-panel--center { text-align: center; }

.wheel-prize {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: var(--wash);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
}

.wheel-prize .icon { color: var(--accent); }

.wheel-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.wheel-form input {
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.25);
  border-radius: var(--radius);
  font-size: 15px;
  outline: none;
  transition: border-color 160ms ease;
}

.wheel-form input:focus { border-color: var(--ink); }

.wheel-claim {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  background: var(--accent);
  color: var(--paper);
  border: 0;
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease);
}

.wheel-claim:hover { background-color: var(--ink); }
.wheel-claim:active { transform: scale(0.985); }
.wheel-claim:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.wheel-note {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-muted);
  text-align: center;
}

.wheel-done-label {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--ink-soft);
}

.wheel-code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 2px dashed var(--accent);
  border-radius: 3px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

/* --------------------------------------------------------------------------
   Stări goale / încărcare
   -------------------------------------------------------------------------- */
.empty {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: clamp(40px, 7vw, 80px) 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.empty .icon { font-size: 44px; color: var(--ink-faint); }
.empty__title { font-size: 19px; font-weight: 800; }
.empty__text { color: var(--ink-muted); font-size: 14.5px; max-width: 44ch; }

.spinner {
  width: 26px;
  height: 26px;
  border: 3px solid var(--line-strong);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: fklSpin 700ms linear infinite;
}

.loading-block { display: grid; place-items: center; padding: 70px 0; }

.skeleton {
  background: linear-gradient(90deg, var(--wash) 25%, #ededed 37%, var(--wash) 63%);
  background-size: 400% 100%;
  animation: fklSkeleton 1.4s ease infinite;
  border-radius: var(--radius);
}

@keyframes fklSkeleton {
  from { background-position: 100% 50%; }
  to { background-position: 0 50%; }
}

.alert {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.alert--error { background: var(--danger-bg); color: var(--danger-fg); }
.alert--ok { background: var(--success-bg); color: var(--success-fg); }
.alert--info { background: var(--info-bg); color: var(--info-fg); }
.alert--warn { background: var(--warn-bg); color: var(--warn-fg); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.breadcrumbs a { color: var(--ink-muted); }
.breadcrumbs a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Responsiv
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .header-row { display: none; }
  .header-row--mobile { display: grid; gap: 6px; }

  /* Fără asta, sigla-cuvânt de 86px își impune lățimea naturală în coloana
     „auto” a gridului și împinge headerul peste marginea ecranului. */
  .header-row--mobile > * { min-width: 0; }
  .header-row--mobile .brand-mark { justify-self: center; overflow: hidden; }
  .header-row--mobile .brand-mark__word { height: clamp(52px, 15vw, 74px); }
  .header-row--mobile .brand-mark__icon { height: clamp(30px, 9vw, 40px); }
  .site-header.is-compact .header-row--mobile .brand-mark__word { height: clamp(30px, 8vw, 44px); }

  .account-layout { grid-template-columns: minmax(0, 1fr); }
  .account-tabs { flex-direction: row; flex-wrap: wrap; }

  .product-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-body.is-filtering { grid-template-columns: minmax(0, 1fr) 230px; }
  .shop-body.is-filtering .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  /* Sub 1000px panoul nu mai încape alături: trece deasupra grilei. */
  .shop-body,
  .shop-body.is-filtering { grid-template-columns: minmax(0, 1fr); }
  .shop-body.is-filtering > :first-child { order: 2; }
  .filter-panel {
    position: static;
    order: 1;
    margin-top: clamp(22px, 3vw, 34px);
    max-height: none;
    overflow: visible;
  }
  .filter-panel__head { position: static; }
  /* Alături de grilă bifele stau în coloană; deasupra ei, în rânduri. */
  .filter-checks { flex-direction: row; flex-wrap: wrap; gap: 4px 18px; }
  .filter-check { flex: 0 1 auto; }

  .product-grid--3,
  .product-grid--4,
  .shop-body.is-filtering .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-layout { grid-template-columns: minmax(0, 1fr); }
  .product-gallery { position: static; }
  .cart-layout,
  .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .announcement__long { display: none; }
  .announcement__short { display: inline; }
  .field-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { justify-content: center; text-align: center; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 165px), 1fr)); gap: 10px; }
  .product-grid--3,
  .product-grid--4,
  .shop-body.is-filtering .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* „Filtre” și sortarea stau pe același rând; filtrele active trec dedesubt. */
  .shop-bar { gap: 10px; }
  .shop-bar__filters { flex: 0 0 auto; padding: 0 14px; }
  .shop-bar__sort { flex: 1 1 auto; justify-content: flex-end; min-width: 0; margin-left: auto; }
  .shop-bar__sort .count-label { display: none; }
  .shop-bar__sort .select { min-width: 0; max-width: 100%; }
  .shop-bar__chips { order: 3; flex: 1 0 100%; }
  .rail > .product-card { flex-basis: 74vw; max-width: 288px; }
  .cart-row {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }
  .cart-thumb { width: 76px; height: 76px; }
  .cart-line-total { grid-column: 2; text-align: left; }
  .wheel-pill {
    left: 14px;
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }
  .wheel-pill__label { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .pdp-secondary { grid-template-columns: minmax(0, 1fr); }
  .pdp-share { width: 100%; }
  .pdp-share__menu { left: 0; right: 0; }

  /* Prima pagină și paginile de prezentare (body.fkl-showcase): titlurile și
     textele scurte stau centrate. Paragrafele lungi și formularele rămân la
     stânga, se citesc mai ușor așa. */
  .fkl-showcase .hero__copy { margin-inline: auto; text-align: center; }
  .fkl-showcase .hero__cta { margin-inline: auto; }
  .fkl-showcase .section-head { align-items: center; text-align: center; }
  .fkl-showcase .section-head .lead { margin-inline: auto; }
  .fkl-showcase .split .kicker,
  .fkl-showcase .split__title,
  .fkl-showcase .split__text,
  .fkl-showcase .newsletter-note { text-align: center; }
  .fkl-showcase .split__text { margin-inline: auto; }
  .fkl-showcase .split__rule { margin-inline: auto; }
  .fkl-showcase .split__cta { display: flex; width: fit-content; margin-inline: auto; }
  .fkl-showcase .shell > .kicker,
  .fkl-showcase .shell > .section-title { text-align: center; }
  .fkl-showcase .about-actions { justify-content: center; }
  .fkl-showcase .newsletter-form button { flex-basis: 100%; }
}

/* ==========================================================================
   WordPress și WooCommerce
   Tot ce urmează e specific temei: markup-ul generat de WooCommerce
   (formulare, notificări, plăți, cont) adus la limbajul vizual de mai sus.
   ========================================================================== */

[hidden] { display: none !important; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
}

.muted { color: var(--ink-muted); font-size: 14px; }

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  body.admin-bar .site-header { top: 0; }
}

.header-row__side { display: flex; align-items: center; }
.header-row__side--end { justify-content: flex-end; }

.footer-logo { height: 44px; width: auto; filter: invert(1); }
.footer-text { margin-top: 16px; font-size: 14px; max-width: 38ch; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { color: rgba(255, 255, 255, 0.78); }
.footer-social a:hover { color: var(--paper); }

.split__text--flush { margin-top: 0; }

/* Imaginile au width/height din WordPress: le încadrăm în cutia pătrată,
   oricât de mari ar fi. */
.product-card__media,
.pdp-media {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

.product-card__media img,
.pdp-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Cardul de produs: imaginea e link, nu div cu clic. */
a.product-card__media { color: inherit; }
.product-card__wish.is-on .icon { font-variation-settings: 'FILL' 1; }
.product-card__add[href] { text-decoration: none; }
.product-card__add[href]:hover { color: var(--paper); }

.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.card__title { margin: 0 0 12px; font-size: 17px; font-weight: 800; }

/* --------------------------------------------------------------------------
   Pagina produsului — galerie și formular
   -------------------------------------------------------------------------- */
.pdp-gallery { min-width: 0; }

.pdp-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pdp-thumb {
  width: 72px;
  height: 72px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 160ms ease;
}

.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb.is-on,
.pdp-thumb:hover { border-color: var(--ink); }

.pdp-qty input,
.qty input {
  width: 46px;
  height: 100%;
  border: 0;
  background: none;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty input { width: 38px; font-size: 15px; }
.pdp-qty input:focus,
.qty input:focus { outline: none; }

.pdp-qty input::-webkit-outer-spin-button,
.pdp-qty input::-webkit-inner-spin-button,
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp-about__text p {
  margin: 0 0 1em;
  max-width: 62ch;
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink-soft);
}

.pdp-about__text p:last-child { margin-bottom: 0; }
.pdp-info__title--flush { margin-bottom: 0; }

.pdp-variations .variations { width: 100%; margin-top: 18px; border-collapse: collapse; }
.pdp-variations .variations th,
.pdp-variations .variations td { padding: 6px 0; text-align: left; }
.pdp-variations .single_variation_wrap { margin-top: 16px; }
.pdp-variations .woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Coș
   -------------------------------------------------------------------------- */
.cart-row__info { min-width: 0; }
.cart-row__title { margin: 2px 0; font-weight: 700; }
.cart-row__title a { color: inherit; }
.cart-row__title a:hover { color: var(--accent); }
.cart-row__meta { margin: 0; color: var(--ink-muted); font-size: 13px; }
.cart-row__remove { display: inline-block; margin-top: 8px; }
.cart-row .variation { margin: 4px 0; font-size: 12.5px; color: var(--ink-muted); }
.cart-row .variation dt,
.cart-row .variation dd { display: inline; margin: 0; }
.qty--single output { padding: 0 14px; }

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}

/* Cu JavaScript, cantitățile se trimit singure. */
.js .js-cart-update { display: none; }

.summary__title { margin: 0 0 10px; font-size: 18px; font-weight: 800; }
.summary__row--discount { color: var(--success-fg); }
.summary__row--discount a { color: var(--success-fg); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Formulare WooCommerce (checkout, cont, adrese)
   -------------------------------------------------------------------------- */
.woocommerce form .form-row,
.field-grid .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.field-grid .form-row-wide,
.field-grid .form-row.notes,
.field-grid .fkl-customer-type { grid-column: 1 / -1; }

.woocommerce form .form-row label,
.woocommerce-form label:not(.checkbox):not(.pay-option):not(.woocommerce-form__label-for-checkbox) {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.4;
}

.woocommerce form .form-row .required { color: var(--accent); border: 0; text-decoration: none; }
.woocommerce form .form-row .optional { text-transform: none; letter-spacing: 0; font-weight: 500; }

.woocommerce-input-wrapper { display: block; }

.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea,
.woocommerce-form .input-text,
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.woocommerce form textarea,
.field textarea { height: auto; min-height: 96px; padding: 12px 13px; resize: vertical; }

.woocommerce form .input-text:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.woocommerce form .form-row.woocommerce-invalid .input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.woocommerce-invalid .select2-selection { border-color: var(--accent); }

.woocommerce form .form-row.woocommerce-validated .input-text { border-color: var(--line-strong); }

.woocommerce form .form-row .checkbox,
.woocommerce form .woocommerce-form__label-for-checkbox,
.woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  cursor: pointer;
}

.woocommerce-form__label-for-checkbox input,
.woocommerce form .form-row .checkbox input,
.fkl-checkbox input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.fkl-checkbox .optional { display: none; }
.fkl-checkbox label { text-transform: none !important; letter-spacing: 0 !important; font-size: 13.5px !important; font-weight: 500 !important; color: var(--ink-soft) !important; }

/* Țara e mereu România: rândul nu are ce arăta. */
.fkl-country-row { display: none !important; }

/* Datele de firmă apar doar la „Persoană juridică”. */
.fkl-company-field { display: none !important; }
.is-company .fkl-company-field { display: flex !important; }

/* Comutatorul „Persoană fizică / juridică”. */
.toggle-row .toggle-row__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fkl-customer-type .toggle-row { align-self: flex-start; }

.toggle-row label,
.woocommerce form .form-row .toggle-row label {
  color: var(--ink);
  text-transform: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.toggle-row .toggle-row__input:checked + label,
.woocommerce form .form-row .toggle-row .toggle-row__input:checked + label { background: var(--ink); color: var(--paper); }
.toggle-row .toggle-row__input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: -2px; }
.fkl-customer-type .toggle-row { margin-bottom: 4px; }

/* selectWoo (județul) arată ca un câmp obișnuit. */
.select2-container .select2-selection--single {
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
  padding-left: 13px;
  color: var(--ink);
  font-size: 15px;
}

.select2-container .select2-selection--single .select2-selection__arrow { height: 46px; right: 6px; }
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single { border-color: var(--ink); }
.select2-dropdown { border-color: var(--line-strong); border-radius: var(--radius); font-family: inherit; }
.select2-results__option { padding: 8px 13px; font-size: 14.5px; }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--ink); color: var(--paper); }
.select2-search--dropdown .select2-search__field { height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0 10px; }

/* Butoanele generate de WooCommerce („button”) arată ca .btn. */
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce-Button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease);
}

.woocommerce .button:hover,
.woocommerce-Button:hover { background: var(--accent); color: var(--paper); }
.woocommerce .button:disabled,
.woocommerce .button.disabled { opacity: 0.45; cursor: not-allowed; }

/* --------------------------------------------------------------------------
   Notificările WooCommerce
   -------------------------------------------------------------------------- */
.woocommerce-notices-wrapper:empty { display: none; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
  display: block;
  position: relative;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 0;
  border-radius: var(--radius);
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.woocommerce-message { background: var(--success-bg); color: var(--success-fg); }
.woocommerce-info { background: var(--info-bg); color: var(--info-fg); }
.woocommerce-error,
.wc-block-components-notice-banner.is-error { background: var(--danger-bg); color: var(--danger-fg); }
.woocommerce-error li { margin: 0; }
.woocommerce-error li + li { margin-top: 6px; }
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a { color: inherit; text-decoration: underline; }

.woocommerce-message .button,
.woocommerce-info .button {
  float: right;
  min-height: 32px;
  margin: -6px 0 0 12px;
  padding: 0 12px;
  font-size: 11px;
  text-decoration: none;
}

.woocommerce-NoticeGroup { margin-bottom: 18px; }

/* --------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */
.checkout-main { min-width: 0; }

.fkl-shipping-options { margin-bottom: 4px; }
.fkl-ship-different { margin: 20px 0 0; }
.shipping_address .field-grid { margin-top: 16px; }

ul.payment_methods { margin: 0; padding: 0; list-style: none; }
ul.payment_methods > li { margin: 0; }
ul.payment_methods > li + li { margin-top: 10px; }
ul.payment_methods .pay-option { margin: 0; }
.pay-option .icon { flex: 0 0 auto; margin-top: 1px; }
.pay-option__logos { display: block; margin-top: 6px; }
.pay-option__logos img { display: inline-block; max-height: 22px; width: auto; margin-right: 6px; vertical-align: middle; }

.payment_box {
  margin: 8px 0 0;
  padding: 12px 16px;
  background: var(--wash);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.55;
}

.payment_box p:last-child { margin-bottom: 0; }
.payment_box fieldset { border: 0; margin: 0; padding: 0; }

.review-lines { margin-bottom: 6px; }

.review-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 14px;
}

.review-line span { color: var(--ink-soft); }
.review-line strong { white-space: nowrap; }
.review-totals { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }

.checkout-summary .place-order { margin-top: 18px; }
.checkout-summary #place_order { margin-top: 14px; }

.woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text p { margin: 0 0 12px; }
.woocommerce-terms-and-conditions-wrapper .form-row { margin: 0; }
.woocommerce-terms-and-conditions {
  max-height: 220px;
  overflow-y: auto;
  margin: 10px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12.5px;
}

.woocommerce-additional-fields__field-wrapper { display: grid; gap: 14px; }

/* Blocarea în timpul recalculării (jQuery BlockUI). */
.blockUI.blockOverlay { background: rgba(255, 255, 255, 0.6) !important; }

/* --------------------------------------------------------------------------
   Mulțumire și detaliile comenzii
   -------------------------------------------------------------------------- */
.fkl-thankyou { max-width: 820px; margin: 0 auto; }
.fkl-thankyou__head { text-align: center; margin-bottom: 32px; }
.fkl-thankyou__head .icon { color: var(--success-fg); }
.fkl-thankyou__head .section-title { margin-top: 14px; }
.fkl-thankyou__head .lead { margin: 10px auto 0; }
.fkl-thankyou__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.fkl-order-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.fkl-order-head__number { font-size: 24px; }
.fkl-order-head__meta { margin: 4px 0 0; color: var(--ink-muted); font-size: 13.5px; }
.fkl-order-head__status { text-align: right; }

.order-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.order-line strong { font-size: 14.5px; }
.order-line__meta { margin: 2px 0 0; color: var(--ink-muted); font-size: 13px; }
.order-line__total { white-space: nowrap; }
.order-line .wc-item-meta { margin: 4px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--ink-muted); }
.order-line .wc-item-meta p { display: inline; margin: 0; }
.order-totals { margin-top: 14px; }
.order-address { margin: 0; color: var(--ink-soft); font-size: 14.5px; font-style: normal; line-height: 1.6; }

/* Instrucțiunile metodei de plată (ex. datele bancare) pe pagina de mulțumire. */
.woocommerce-bacs-bank-details,
.fkl-thankyou .wc-bacs-bank-details {
  margin-top: 16px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wc-bacs-bank-details { margin: 0; padding: 0; list-style: none; }

/* --------------------------------------------------------------------------
   Cont
   -------------------------------------------------------------------------- */
.account-head__who { display: flex; align-items: center; gap: 16px; }
.account-head__name { font-size: 28px; }
.account-head__email { margin: 0; color: var(--ink-muted); font-size: 14px; }
.account-head__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

a.account-tab { color: var(--ink); text-decoration: none; }
a.account-tab:hover { background: rgba(17, 17, 17, 0.1); color: var(--ink); }
a.account-tab.is-on,
a.account-tab.is-on:hover { background: var(--ink); color: var(--paper); }

.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content > .stat-grid { margin-bottom: 18px; }

.account-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.account-pagination { display: flex; gap: 10px; justify-content: space-between; margin-top: 18px; }

.address-card__row { display: flex; justify-content: space-between; gap: 12px; }

/* Formularele implicite din cont (editare adresă, date cont, parolă). */
.woocommerce-MyAccount-content form,
.woocommerce-ResetPassword,
.fkl-woo-page .woocommerce-form-login {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 26px);
}

.woocommerce-MyAccount-content form h3,
.woocommerce-address-fields h3 { margin: 0 0 16px; font-size: 17px; }

.woocommerce-address-fields__field-wrapper,
.woocommerce-EditAccountForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.woocommerce-EditAccountForm > *,
.woocommerce-address-fields__field-wrapper > .form-row-wide { grid-column: 1 / -1; }
.woocommerce-EditAccountForm > .form-row-first,
.woocommerce-EditAccountForm > .form-row-last { grid-column: auto; }

.woocommerce-EditAccountForm fieldset {
  display: grid;
  gap: 14px;
  margin: 8px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.woocommerce-EditAccountForm legend { padding: 0 6px; font-weight: 800; }
.woocommerce-address-fields > p:last-child,
.woocommerce-EditAccountForm > p:last-of-type { margin-top: 18px; }
.woocommerce-MyAccount-content .clear { display: none; }

.woocommerce-password-strength { margin-top: 6px; font-size: 12.5px; font-weight: 600; }
.woocommerce-password-strength.bad,
.woocommerce-password-strength.short { color: var(--accent); }
.woocommerce-password-strength.good { color: var(--warn-fg); }
.woocommerce-password-strength.strong { color: var(--success-fg); }
.woocommerce-password-hint { display: block; margin-top: 4px; color: var(--ink-muted); font-size: 12.5px; }
.show-password-input { display: none; }

/* Autentificare / cont nou */
.auth { max-width: 460px; margin: 0 auto; }
.auth__head { text-align: center; margin-bottom: 26px; }
.auth__head .muted { margin-top: 8px; font-size: 14.5px; }
.auth .card { display: grid; gap: 14px; }
.auth__links { margin-top: 18px; text-align: center; font-size: 14px; }
.auth__links p { margin: 10px 0 0; }

/* --------------------------------------------------------------------------
   Pagini: contact, despre
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.contact-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row__value { margin: 3px 0 0; font-size: 14px; }

.about-hero { display: block; width: 100%; margin-bottom: 32px; border-radius: var(--radius); }
.about-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.entry + .entry { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.entry__title { font-size: 22px; margin-bottom: 10px; }
.entry__title a { color: var(--ink); }

/* Conținutul paginilor scrise în editor. */
.prose p { margin: 0 0 1em; }
.prose a { text-decoration: underline; }
.prose img { height: auto; border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.prose th,
.prose td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }

@media (max-width: 1000px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .woocommerce-address-fields__field-wrapper,
  .woocommerce-EditAccountForm { grid-template-columns: minmax(0, 1fr); }
  .fkl-order-head__status { text-align: left; }
  .woocommerce-message .button,
  .woocommerce-info .button { float: none; display: flex; margin: 10px 0 0; }
  .cart-row .qty { grid-column: 2; justify-self: start; }
}
