/*
Theme Name: Custom Blank
Author: JC Store
Description: Temă goală de pornire (blank canvas) cu suport WooCommerce — stilizată după referința fashion (header overlay + hero fullscreen).
Version: 3.20.1
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: custom-blank
*/

/* ==========================================================================
   0. MONTSERRAT — găzduit local (assets/fonts), fără dependență de Google:
   se încarcă instant de pe server, fără „săritura" de font de la display=swap
   ========================================================================== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: block; /* fără FOUT: textul așteaptă fontul (ms) în loc să pâlpâie */
  src: url('assets/fonts/montserrat-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: block; /* fără FOUT: textul așteaptă fontul (ms) în loc să pâlpâie */
  src: url('assets/fonts/montserrat-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* 400–800: fișierele montserrat-400…800 erau identice (fontul variabil al Google, copiat o dată
   pentru fiecare grosime), deci browserul descărca același font de 5 ori. Acum o singură
   declarație pe subset, cu interval de grosimi — un fișier latin + unul latin-ext. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: block; /* fără FOUT: textul așteaptă fontul (ms) în loc să pâlpâie */
  src: url('assets/fonts/montserrat-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: block; /* fără FOUT: textul așteaptă fontul (ms) în loc să pâlpâie */
  src: url('assets/fonts/montserrat-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins — DOAR pentru logo-ul „LOVE style" (textul din SVG-ul inline) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: block; /* fără FOUT: textul așteaptă fontul (ms) în loc să pâlpâie */
  src: url('assets/fonts/poppins-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  font-display: block; /* fără FOUT: textul așteaptă fontul (ms) în loc să pâlpâie */
  src: url('assets/fonts/poppins-900-latin.woff2') format('woff2');
}

/* ==========================================================================
   1. VARIABILE — culori/fonturi după site-ul de referință
   ========================================================================== */
:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b7280;
  --color-primary: #000000;   /* culoarea principală (butoane, accente) */
  --color-primary-text: #ffffff;
  --color-accent: #2563eb;
  --color-border: #e5e7eb;
  --color-surface: #f7f7f8;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --container: 1200px;
  --radius: 8px;
  --gap: 24px;

  --announcement-h: 40px;     /* înălțimea barei de anunțuri */
  --header-h: 76px;           /* înălțimea rândului principal din header */
  --hero-text: #33312a;       /* culoarea textului din hero (oliv închis, ca în referință) */
}

/* ==========================================================================
   2. RESET MINIMAL
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: clip; /* plasă de siguranță: nimic nu poate crea scroll orizontal */
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a { color: inherit; text-decoration: none; }
/* hoverul global al site-ului: fade discret, aceeași convenție ca pe pagina de produs
   (fără albastru — componentele cu hover propriu îl suprascriu punctual) */
a:hover { color: inherit; opacity: 0.7; }

ul, ol { margin: 0; padding: 0; }

button, input, select, textarea { font: inherit; }

body.drawer-open { overflow: hidden; }

/* ==========================================================================
   3. LAYOUT DE BAZĂ
   ========================================================================== */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.site-main { min-height: 60vh; padding-block: 40px; }

.section { padding-block: 64px; }
.section--alt { background: var(--color-surface); }

/* ==========================================================================
   4. BARA DE ANUNȚURI (marquee — textele care se plimbă)
   ========================================================================== */
.announcement-bar {
  height: var(--announcement-h);
  background: #000;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 60;
}

.announcement-track {
  display: flex;
  width: max-content;
  /* 6 copii identice; deplasăm exact o copie (100%/6) => buclă perfectă, fără gol */
  animation: announcement-marquee 14s linear infinite; /* 2 anunțuri; viteza de dinainte (3 anunțuri în 20s) */
  will-change: transform;
}

.announcement-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.a-item {
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.a-item::after {
  content: '•';
  margin: 0 36px;
  opacity: 0.5;
}

@keyframes announcement-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-16.6667%); }
}

/* ==========================================================================
   5. HEADER (negru pe paginile normale, transparent peste hero pe Acasă)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  color: #fff;
  transition: background 0.25s ease;
}

.site-header a { color: inherit; }
.site-header a:hover { color: inherit; opacity: 0.75; }

/* Rândul utilitar (limbă / monedă), ca în referință */
.header-utility {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  padding: 12px 28px 0;
  font-size: 13.5px;
  letter-spacing: 0.05em;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-weight: 500;
}

.utility-item .chev { width: 11px; height: 11px; }

.utility-item--currency {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Rândul principal: hamburger | logo centrat | iconițe */
/* selectorul de monedă din header — dropdown mic sub buton */
.currency-switch { position: relative; }

.currency-switch__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 74px;
  background: #fff;
  color: #111;
  border: 1px solid #e3e3e3;
  border-radius: 3px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  list-style: none;
  padding: 4px 0;
  display: none;
  z-index: 60;
}

.currency-switch.is-open .currency-switch__menu { display: block; }

.currency-switch__menu a {
  display: block;
  padding: 7px 14px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: #111;
}

.currency-switch__menu a:hover { background: #f5f5f5; opacity: 1; color: #111; }
.currency-switch__menu a.is-current { font-weight: 700; }

.header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  padding-inline: 28px;
}

.header-left { display: flex; justify-content: flex-start; }

.site-branding { text-align: center; }

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

.site-branding .cb-logo { height: 54px; width: auto; display: block; }

.header-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 6px;
  line-height: 0;
}

.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { opacity: 0.75; }

.cart-link { position: relative; }

.cart-count {
  position: absolute;
  top: -3px;
  right: -7px;
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

/* Varianta overlay (doar pe pagina principală): transparent peste hero */
.site-header--overlay {
  position: absolute;
  top: var(--announcement-h);
  left: 0;
  right: 0;
  background: transparent;
}

/* La scroll devine fix și negru */
.site-header--overlay.is-scrolled {
  position: fixed;
  top: 0;
  background: #000;
}

.site-header--overlay.is-scrolled .header-utility { display: none; }

/* Compensare pentru bara de admin WordPress (când ești logat) */
body.admin-bar .site-header:not(.site-header--overlay) { top: 32px; }
body.admin-bar .site-header--overlay { top: calc(var(--announcement-h) + 32px); }
body.admin-bar .site-header--overlay.is-scrolled { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header:not(.site-header--overlay) { top: 46px; }
  body.admin-bar .site-header--overlay { top: calc(var(--announcement-h) + 46px); }
  body.admin-bar .site-header--overlay.is-scrolled { top: 46px; }
}

/* ==========================================================================
   6. DRAWER (meniul lateral deschis de hamburger)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 140;
}

.drawer-backdrop.is-visible { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  color: #111;
  z-index: 150;
  transform: translateX(-105%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.drawer.is-open { transform: none; }

.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--color-border);
}

.drawer__logo { display: inline-flex; align-items: center; }
.drawer__logo .cb-logo { height: 42px; width: auto; display: block; }

.drawer__close { color: #111; }

.drawer__nav { padding: 6px 22px 18px; overflow: auto; flex: 1; }

.drawer__label {
  margin: 22px 0 4px;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.drawer__nav .drawer__label:first-child { margin-top: 12px; }

.drawer__list { list-style: none; }

.drawer__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
  border-bottom: 1px solid #f1f1f1;
}

.drawer__list li:last-child a { border-bottom: none; }

.drawer__list a:hover { color: var(--color-muted); opacity: 1; }

.drawer__count { font-size: 13.5px; font-weight: 400; color: #9ca3af; }

/* rândul „Colecție produse" cu dropdown de subcategorii */
.drawer__row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f1f1f1;
}

.drawer__row a { flex: 1; border-bottom: none; }

.drawer__sub-toggle {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  padding: 10px 2px 10px 16px;
  cursor: pointer;
  color: #111;
}

.drawer__sub-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.drawer__has-sub.is-open .drawer__sub-toggle svg { transform: rotate(180deg); }

.drawer__sub {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.drawer__has-sub.is-open .drawer__sub { max-height: 420px; }

.drawer__sub a {
  font-size: 15.5px;
  font-weight: 500;
  padding: 9px 0;
  border-bottom: none;
}

.drawer__foot {
  padding: 16px 22px 20px;
  border-top: 1px solid var(--color-border);
}

/* butonul „Comandă pe WhatsApp" din meniul lateral — deasupra rețelelor sociale */
.drawer__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 11px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.drawer__wa img { display: block; width: 17px; height: 17px; }
.drawer__wa:hover { color: #fff; opacity: 0.92; }

.drawer__social {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.drawer__social img { display: block; width: 19px; height: 19px; filter: invert(1); /* svg-urile sunt albe (pt. footerul negru) — aici le vrem negre */ }
.drawer__social a:hover { opacity: 0.6; }

.drawer__usp {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   7. OVERLAY DE CĂUTARE
   ========================================================================== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: grid;
  place-items: start center;
  padding-top: 18vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 160;
}

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

.search-overlay form {
  width: min(640px, 90vw);
  display: flex;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.search-overlay input[type="search"] {
  flex: 1;
  border: none;
  padding: 18px 22px;
  font-size: 1.05rem;
  outline: none;
}

.search-overlay .search-submit {
  background: #000;
  color: #fff;
  border: none;
  padding: 0 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.search-overlay .search-submit svg { width: 20px; height: 20px; }

.search-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

/* ==========================================================================
   8. HERO FULLSCREEN (pagina principală — ca în referință)
   ========================================================================== */
.hero-fullscreen {
  position: relative;
  min-height: calc(100vh - var(--announcement-h));
  min-height: calc(100svh - var(--announcement-h));
  background: #9db4c0 center / cover no-repeat; /* fallback dacă imaginea nu se încarcă */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* voal închis peste poză — textul alb rămâne lizibil pe orice imagine */
.hero-fullscreen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.32) 55%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-fullscreen__content {
  position: relative;
  max-width: 920px;
  padding: 140px 20px 60px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero-kicker {
  display: inline-block;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 20px;
  padding: 7px 14px;
  background: #E1123B;
  text-shadow: none;
}

.hero-heading {
  font-size: clamp(32px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin: 0;
  color: inherit;
}

.hero-sub {
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 500;
  margin: 18px 0 0;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-btn {
  display: inline-block;
  min-width: 210px;
  padding: 16px 30px;
  background: #fff;
  color: #111;
  border: 1.5px solid #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.hero-btn:hover { background: #111; border-color: #111; color: #fff; opacity: 1; }
.hero-btn--ghost { background: transparent; color: #fff; }
.hero-btn--ghost:hover { background: #fff; border-color: #fff; color: #111; }

@media (max-width: 700px) {
  /* pe telefon hero-ul nu mai ocupă tot ecranul — produsele se văd mai repede */
  .hero-fullscreen { min-height: 78svh; }
  .hero-fullscreen__content { padding: 110px 18px 40px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-btn { min-width: 0; }
}

/* ==========================================================================
   8a. BARA DE BENEFICII + BLOCUL DE BRAND (sub hero)
   ========================================================================== */
.usp-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 30px 48px;
  background: #fff;
}

.usp-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.usp-item svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.usp-item__text h3 {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 3px;
}

.usp-item__text p {
  font-size: 13.5px;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.4;
}

.brand-intro {
  text-align: center;
  padding: 34px 20px 6px;
}

.brand-intro__lead {
  font-size: 17px;
  margin: 0 0 20px;
}

.brand-intro__lead strong { font-weight: 700; }

.brand-intro p:not(.brand-intro__lead) {
  font-size: 13.5px;
  color: #333;
  margin: 0 0 14px;
}

.brand-intro__cta {
  display: inline-block;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-intro__cta:hover { color: var(--color-text); opacity: 0.7; }

@media (max-width: 1100px) {
  .usp-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 26px 24px; row-gap: 26px; }
  .usp-item { justify-content: flex-start; }
}

@media (max-width: 560px) {
  /* 2×2 compact — înainte cele 4 beneficii, una sub alta, ocupau un ecran întreg */
  .usp-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding: 18px 16px; }
  .usp-item { gap: 9px; align-items: flex-start; }
  .usp-item svg { width: 28px; height: 28px; }
  .usp-item__text h3 { font-size: 11.5px; letter-spacing: 0.03em; }
  .usp-item__text p { font-size: 11.5px; }
}

/* ==========================================================================
   8b. NOUTĂȚI — grid produse full-width (ca în referință, 4 pe rând)
   ========================================================================== */
.featured-products {
  padding: 56px 40px 48px;   /* full-width, fără container */
}

.featured-products__head {
  text-align: center;
  margin-bottom: 48px;
}

.featured-title {
  display: inline-block;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  padding: 0 28px 14px;
  border-bottom: 3px solid #111;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
}

.product-card { text-align: center; }

.product-card__media {
  position: relative;
  display: block;
}

.product-card__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #f3f3f3;
}

.product-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #E1123B;   /* roșul de accent al brandului */
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  line-height: 1.2;
}

.product-card__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  margin: 16px auto 10px;
  max-width: 320px;
}

.product-card__title a:hover { color: var(--color-text); opacity: 0.7; }

.product-card__price {
  font-size: 14.5px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}

.product-card__price del {
  color: #9aa0a6;
  font-weight: 400;
}

.product-card__price .price-new {
  color: #222;
  font-weight: 500;
}

.product-card__sizes {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.size-box {
  min-width: 28px;
  height: 28px;
  padding-inline: 6px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #cfcfcf;
  font-size: 13.5px;
  font-weight: 500;
  color: #333;
  line-height: 1;
}

.featured-products__footer {
  text-align: center;
  margin-top: 52px;
}

.featured-note {
  font-size: 16px;
  margin: 0 0 10px;
}

.featured-note a strong { font-weight: 700; }
.featured-note a:hover { color: var(--color-text); opacity: 0.7; }

.featured-subnote {
  font-size: 13.5px;
  color: var(--color-muted);
  margin: 0;
}

@media (max-width: 1100px) {
  .featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .footer-extra { align-items: flex-start; }
}

@media (max-width: 860px) {
  .featured-products { padding: 40px 20px 36px; }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

/* „Vezi toate produsele" sub grila de noutăți */
.featured-products__more { text-align: center; margin-top: 44px; }

.btn-outline-dark {
  display: inline-block;
  min-width: 240px;
  padding: 15px 30px;
  border: 1.5px solid #111;
  color: #111;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-outline-dark:hover { background: #111; color: #fff; opacity: 1; }

/* Cumpără după categorie */
.home-cats { padding: 8px 40px 56px; }

.home-cats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.home-cat {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f3f3f3;
}

.home-cat img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-cat:hover img { transform: scale(1.04); }

.home-cat__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.home-cat__label small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* „La reducere" — aceleași carduri ca Noutăți, pe fundal alb;
   flex în loc de grilă, ca un rând incomplet (3 produse) să stea centrat, nu lipit în stânga */
.home-sale .featured-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.home-sale .featured-grid > * { width: calc((100% - 3 * 44px) / 4); }

@media (max-width: 1100px) {
  .home-sale .featured-grid > * { width: calc((100% - 2 * 32px) / 3); }
}

@media (max-width: 860px) {
  .home-sale .featured-grid > * { width: calc((100% - 20px) / 2); }
}

@media (max-width: 480px) {
  .home-sale .featured-grid > * { width: calc((100% - 12px) / 2); }
}

.home-sale__sub,
.how-order__sub {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--color-muted);
}

/* „Cum comanzi" — 3 pași */
.how-order { padding: 64px 40px 40px; }

.how-order__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  counter-reset: none;
}

.how-step {
  position: relative;
  text-align: center;
  padding: 30px 24px 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.how-step__nr {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #9e1717;   /* roșul buzelor din logo */
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 30px;
}

.how-step svg { width: 36px; height: 36px; margin-bottom: 12px; color: #111; }

.how-step h3 {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.how-step p { font-size: 13.5px; line-height: 1.6; color: #444; margin: 0; }

/* pe telefon: pași compacți, numărul în stânga, fără iconiță (altfel secțiunea are un ecran întreg) */
@media (max-width: 860px) {
  .how-order { padding: 44px 20px 24px; }
  .how-order__steps { grid-template-columns: 1fr; gap: 12px; }
  .how-step {
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 14px;
    align-items: start;
    text-align: left;
    padding: 16px;
  }
  .how-step__nr { position: static; transform: none; grid-row: 1 / span 2; }
  .how-step svg { display: none; }
  .how-step h3 { margin: 4px 0 4px; }
}

@media (max-width: 860px) {
  .home-cats { padding: 0 20px 40px; }
  .home-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

@media (max-width: 480px) {
  /* 2 pe rând și pe telefon — standardul la fashion; 1 pe rând lungea pagina de 2× */
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .product-card__title { font-size: 13.5px; margin: 12px auto 6px; }
  .product-card__price { font-size: 13.5px; gap: 5px; }
  .product-card__sizes { flex-wrap: wrap; gap: 4px; margin-top: 10px; }
  .product-card__sizes .size-box { min-width: 24px; height: 24px; padding-inline: 4px; font-size: 12px; }
  .product-card__badge { top: 6px; right: 6px; font-size: 12px; padding: 3px 7px; }
}

/* ==========================================================================
   8c. MAGAZIN — filtre stânga + grid 4/rând full-width
   ========================================================================== */
.shop-page { padding: 36px 40px 70px; }

.shop-head { text-align: center; margin-bottom: 18px; }

/* identic cu .featured-title („Noutăți" de pe prima pagină) */
.shop-title {
  display: inline-block;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  padding: 0 28px 14px;
  border-bottom: 3px solid #111;
}

.shop-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 30px;
}

/* Sidebar-ul cu filtre */
.fs { margin-bottom: 32px; }

.fs h4 {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.fs ul { list-style: none; }

.fs li { margin-bottom: 10px; }

.fs label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.35;
}

.fs input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #111;
  flex-shrink: 0;
}

.fs .cnt { color: var(--color-muted); font-size: 13.5px; }

.fs-cats a { font-size: 14px; }
.fs-cats li.is-current a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.fs-search input {
  width: 100%;
  border: 1px solid var(--color-border);
  padding: 9px 12px;
  font-size: 13.5px;
  outline: none;
  margin-bottom: 12px;
  background: #fff;
}

.fs-search input:focus { border-color: #111; }

.fs-colors li.is-extra.is-hidden { display: none; }

.js-see-more {
  display: inline-block;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Grila de produse */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 28px;
}

.shop-empty { color: var(--color-muted); padding: 40px 0; }

/* Paginare */
.woocommerce-pagination { text-align: center; margin-top: 52px; }

.woocommerce-pagination .page-numbers {
  display: inline-flex;
  gap: 8px;
  list-style: none;
}

.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  font-size: 14px;
  padding-inline: 6px;
}

.woocommerce-pagination .page-numbers li span.current {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Butonul „Filtre" (doar pe mobil) */
.shop-filters-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid #111;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  width: fit-content;
}

.shop-filters-toggle svg { width: 17px; height: 17px; }

@media (max-width: 1250px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; }
}

@media (max-width: 1000px) {
  .shop-page { padding: 28px 20px 56px; }
  .shop-layout { grid-template-columns: 1fr; gap: 22px; }
  .shop-filters-toggle { display: inline-flex; }
  .shop-sidebar { display: none; }
  .shop-sidebar.is-open { display: block; border: 1px solid var(--color-border); padding: 22px 20px 6px; }
}

@media (max-width: 700px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
}

@media (max-width: 420px) {
  .shop-grid { gap: 26px 12px; }
}

/* ==========================================================================
   8d. PAGINA DE PRODUS (ca în referință)
   ========================================================================== */
.product-page { padding: 0; }

.product-page__inner { padding-inline: 40px; }

/* Banda de breadcrumb — secțiune separată deasupra produsului */
.breadcrumb-bar {
  background: #fff;
  padding: 36px 40px 10px;  /* mai mult aer sus, puțin jos */
  margin-bottom: 14px;      /* aproape de produs */
}

.product-layout {
  display: grid;
  /* două coloane cu lățime limitată + justify-content: center =
     tot ansamblul (galerie + informații) stă centrat în pagină */
  grid-template-columns: minmax(0, 520px) minmax(0, 600px);
  justify-content: center;
  gap: 60px;
  align-items: start;
}

/* Galeria */
.pg-main { position: relative; }

.pg-main img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #f3f3f3;
}

/* banda de poze: swipe nativ cu scroll-snap, fără bibliotecă */
.pg-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.pg-track::-webkit-scrollbar { display: none; }

.pg-slide {
  flex: 0 0 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;          /* taie zoom-ul de la hover în cadrul pozei */
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #f3f3f3;
}

.pg-main .pg-slide img { height: 100%; }

/* punctele de sub poză — doar pe mobil (pe desktop sunt miniaturile) */
.pg-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 2;
  display: none;
  justify-content: center;
  gap: 7px;
  pointer-events: none;
}

.pg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.pg-dot.is-active { background: #fff; transform: scale(1.3); }

.pg-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #E1123B;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
}

.pg-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.pg-thumb {
  width: 62px;
  height: 78px;
  padding: 0;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

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

.pg-thumb.is-active { border: 2px solid #111; }

/* Informațiile */
.product-breadcrumb {
  font-size: 13.5px;
  color: #333;
  text-align: center;
}

.product-breadcrumb .current {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bc-sep { margin: 0 6px; }

.pp-title {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
}

.pp-brand {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.pp-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.pp-price del { color: #9aa0a6; font-size: 22px; }
.pp-price .price-new { font-size: 27px; font-weight: 500; }
.pp-price del + .price-new { color: #E1123B; }
.pp-save {
  font-size: 12.5px;
  font-weight: 600;
  color: #E1123B;
  background: #fdecef;
  padding: 4px 9px;
  border-radius: 3px;
}

/* descrierea scurtă, imediat sub preț */
.pp-short {
  font-size: 14.5px;
  line-height: 1.65;
  color: #333;
  margin: -8px 0 22px;
}

.pp-short p { margin: 0 0 8px; }
.pp-short p:last-child { margin-bottom: 0; }

.pp-label { font-size: 14px; margin: 0 0 10px; }
.pp-label strong { font-weight: 700; }

.pp-sizes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.pp-sizes-head .pp-label { margin: 0; }

.size-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.size-guide-link svg { width: 20px; height: 20px; }
.size-guide-link:hover { opacity: 0.7; }

.pp-sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }

.size-opt {
  min-width: 38px;
  height: 38px;
  padding-inline: 9px;
  border: 1px solid #cfcfcf;
  background: #fff;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}

.size-opt.is-active {
  border: 2px solid #111;
  font-weight: 700;
}

/* click pe „Alege mărimea" fără mărime aleasă: mesaj roșu + mărimile tresar o dată */
.pp-size-msg {
  margin: -12px 0 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #E1123B;
}

.pp-sizes.is-need { animation: pp-shake 0.4s ease; }
.pp-sizes.is-need .size-opt:not(.is-oos) { border-color: #E1123B; }

@keyframes pp-shake {
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .pp-sizes.is-need { animation: none; }
}

/* croiala + modelul din poze (câmpurile din tabul „Potrivire și îngrijire") */
.pp-fit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -6px 0 18px;
  padding: 11px 13px;
  background: #faf6f4;
  border-radius: 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #333;
}

.pp-fit svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; color: #111; }
.pp-fit p { margin: 0; }
.pp-fit span { display: block; }

.pp-attrs p { font-size: 14.5px; margin: 0 0 10px; }

.pp-stock {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #12b76a;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 20px 0 12px;
}

.pp-stock svg { width: 19px; height: 19px; }
.pp-stock--out { color: #dc2626; }

.pp-delivery { font-size: 14px; line-height: 1.75; margin: 0 0 24px; }

/* Cantitate + Adaugă în coș + wishlist */
.pp-cart {
  display: flex;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.qty-box {
  display: flex;
  border: 1px solid var(--color-border);
}

.qty-box button {
  width: 42px;
  background: #fff;
  border: none;
  font-size: 17px;
  cursor: pointer;
  color: #333;
}

.qty-box input {
  width: 44px;
  border: none;
  border-inline: 1px solid var(--color-border);
  text-align: center;
  font-size: 15px;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-box input::-webkit-outer-spin-button,
.qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.btn-add-cart {
  background: #000;
  color: #fff;
  border: none;
  padding: 14px 36px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn-add-cart:hover { opacity: 0.85; color: #fff; } /* și pe varianta <a> (sertar) — identic cu butonul de pe produs */
.btn-add-cart:disabled { opacity: 0.4; cursor: not-allowed; }

/* butonul negru umple rândul de lângă cantitate */
.pp-cart .btn-add-cart { flex: 1 1 auto; }

/* „Comandă rapid acum" — pe rândul de jos, exact cât cantitatea + Adaugă în coș */
.btn-buy-now {
  flex: 0 0 100%;
  width: 100%;
  background: #E1123B;   /* roșul de accent al brandului */
  color: #fff;
  border: none;
  padding: 14px 36px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn-buy-now:hover { opacity: 0.88; }
.btn-buy-now:disabled { opacity: 0.4; cursor: not-allowed; }

/* ce înseamnă „Comandă rapid acum", chiar sub buton */
.pp-qo-note {
  flex: 0 0 100%;
  margin: -6px 0 0;
  font-size: 12.5px;
  color: var(--color-muted);
  text-align: center;
}

.pp-sku {
  font-size: 14px;
  margin: 0;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

/* Butonul „Adaugă review" (sub accordions) */
.btn-add-review {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  background: #fff;
  color: #111;
  border: 1.5px solid #111;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-add-review svg { width: 17px; height: 17px; }

.btn-add-review:hover { background: #111; color: #fff; }

/* Review-urile din accordion */
.pp-reviews-list { margin: 2px 0 4px; }

.pp-review { border-bottom: 1px solid var(--color-border); padding: 12px 0; }
.pp-review:last-child { border-bottom: none; padding-bottom: 4px; }
.pp-review__meta { font-size: 13.5px; color: var(--color-muted); margin: 0 0 5px; }
.pp-review p { margin: 0; }

/* Modalul „Scrie un review" */
.review-modal .size-modal__box { width: min(540px, 94vw); }

.review-form-wrap .comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

.review-form-wrap .comment-form-comment,
.review-form-wrap .form-submit,
.review-form-wrap .logged-in-as,
.review-form-wrap .comment-form-cookies-consent { grid-column: 1 / -1; }

.review-form-wrap p { margin: 0 0 15px; }

.review-form-wrap .logged-in-as { font-size: 13.5px; color: var(--color-muted); }
.review-form-wrap .logged-in-as a { text-decoration: underline; text-underline-offset: 3px; }

.review-form-wrap label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.review-form-wrap input[type="text"],
.review-form-wrap input[type="email"],
.review-form-wrap textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 11px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.review-form-wrap input:focus,
.review-form-wrap textarea:focus { border-color: #111; }

.review-form-wrap textarea { resize: vertical; }

.review-form-wrap .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--color-muted);
}

.review-form-wrap .comment-form-cookies-consent input { width: auto; margin-top: 3px; }
.review-form-wrap .comment-form-cookies-consent label { display: inline; font-weight: 400; font-size: 13.5px; margin: 0; }

.review-form-wrap .form-submit { margin-bottom: 0; }

/* nota cu stele — radio-uri în ordine inversă (5→1), afișate 1→5 cu row-reverse */
.review-form-wrap .rv-rating {
  grid-column: 1 / -1;
  border: 0;
  padding: 0;
  margin: 0 0 14px;
  min-width: 0;
}

.review-form-wrap .rv-rating legend { font-size: 13.5px; font-weight: 600; padding: 0; margin-bottom: 4px; }

.rv-stars { display: inline-flex; flex-direction: row-reverse; }

.rv-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.review-form-wrap .rv-stars label {
  display: inline-block;
  margin: 0;
  padding: 0 4px 0 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  color: #d9d9d9;
  cursor: pointer;
  transition: color 0.12s ease;
}

.review-form-wrap .rv-stars input:checked ~ label,
.review-form-wrap .rv-stars label:hover,
.review-form-wrap .rv-stars label:hover ~ label { color: #f4652c; }

.rv-stars input:focus-visible + label { outline: 2px solid #111; outline-offset: 2px; }

.review-form-wrap .rv-rating__msg { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: #E1123B; }

.review-form-wrap input[type="submit"] {
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 14px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.review-form-wrap input[type="submit"]:hover { opacity: 0.85; }

@media (max-width: 520px) {
  .review-form-wrap .comment-form { grid-template-columns: 1fr; }
}

/* ── Popup „Comandă rapidă" ── */
.quick-order .size-modal__box { width: min(520px, 94vw); }

/* cardul produsului comandat (cu imagine) */
.qo-item {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #eefaf2;
  border: 1.5px solid #16a34a;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 2px 0 14px;
}

.qo-item img {
  width: 58px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
  background: #f3f3f3;
  flex-shrink: 0;
}

.qo-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.qo-item__name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
}

.qo-item__meta { font-size: 13.5px; color: #444; }

.qo-item__price { font-size: 15px; white-space: nowrap; }

.qo-summary {
  background: #f1f1f1;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.qo-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  padding: 3px 0;
}

.qo-row--total {
  border-top: 1px solid #dcdcdc;
  margin-top: 8px;
  padding-top: 10px;
  font-size: 15.5px;
}

.qo-row--total strong { font-size: 16.5px; }

/* reducerea din cod (ascunsă până se aplică un cod valid) */
.qo-row[hidden] { display: none; }
.qo-row--discount { color: #15803d; }

/* „Ai un cod de reducere?" în comanda rapidă */
.qo-coupon__toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.qo-coupon__row { display: flex; gap: 8px; margin-top: 10px; }
.qo-coupon__row[hidden] { display: none; }

.qo-coupon__row input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  text-transform: uppercase;
  outline: none;
}

.qo-coupon__row input:focus { border-color: #111; }

.qo-coupon__row button {
  border: none;
  border-radius: 8px;
  background: #111;
  color: #fff;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.qo-coupon__row button:disabled { opacity: 0.5; cursor: wait; }

.qo-coupon__msg { margin: 6px 0 0; font-size: 13px; min-height: 0; }
.qo-coupon__msg:empty { display: none; }
.qo-coupon__msg.is-ok { color: #15803d; font-weight: 600; }
.qo-coupon__msg.is-error { color: #b91c1c; font-weight: 600; }

.qo-form { display: flex; flex-direction: column; gap: 12px; }

.qo-field {
  display: flex;
  align-items: center;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s ease;
}

.qo-field:focus-within { border-color: #111; }

.qo-field > svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-left: 13px;
  color: #555;
}

.qo-field input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 13px 12px;
  font-size: 14px;
  outline: none;
  background: transparent;
}

.qo-field--select select {
  width: 100%;
  border: none;
  padding: 13px 12px;
  font-size: 14px;
  outline: none;
  background: transparent;
  color: #333;
  cursor: pointer;
}

.qo-field.is-hidden { display: none; }

/* metoda de plată */
.qo-pay {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.qo-pay__opt {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.qo-pay__opt input {
  accent-color: #111;
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}

.qo-pay__opt svg { width: 21px; height: 21px; flex-shrink: 0; color: #333; }

.qo-pay__opt.is-active {
  border: 2px solid #111;
  padding: 12px 13px; /* compensează borderul mai gros */
  background: #fafafa;
}

.qo-pay__opt.is-hidden { display: none; }

.qo-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
  background: #E1123B;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.qo-submit svg { width: 19px; height: 19px; }
.qo-submit:hover { opacity: 0.88; }
.qo-submit:disabled { opacity: 0.5; cursor: wait; }

.qo-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--color-muted);
  margin: 2px 0 0;
}

.qo-msg { min-height: 18px; text-align: center; font-size: 13.5px; margin: 0; }
.qo-msg.is-error { color: #dc2626; }

.qo-success { text-align: center; padding: 18px 6px 8px; }
.qo-success svg { width: 52px; height: 52px; color: #12b76a; margin-bottom: 14px; }
.qo-success h4 { font-size: 16px; margin: 0 0 10px; }
.qo-success p { font-size: 14px; color: #333; margin: 0; line-height: 1.6; }

.qo-summary.is-hidden,
.qo-item.is-hidden,
.qo-form.is-hidden,
.qo-success.is-hidden { display: none; }

/* ==========================================================================
   8f. FINALIZARE COMANDĂ (stil UFit)
   ========================================================================== */

/* Header simplificat */
.checkout-header { background: #fff; border-bottom: 1px solid var(--color-border); }

.checkout-header .cb-logo { height: 46px; width: auto; display: block; }

.checkout-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1500px;
  margin-inline: auto;
  padding: 16px 40px;
}

.checkout-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.checkout-login svg { width: 18px; height: 18px; }

body.woocommerce-checkout .usp-bar,
body.woocommerce-cart .usp-bar { padding: 24px 48px; border-bottom: 1px solid #f0f0f0; }

body.woocommerce-checkout .floating-actions,
body.woocommerce-cart .floating-actions { display: none; }

.checkout-page-main { padding: 30px 0 0; min-height: 60vh; } /* fără spațiu jos — stilizat de user */

.checkout-container { max-width: 1130px; margin-inline: auto; padding-inline: 24px; }

/* specificitate dublă ca să batem .page-title (2rem) definit mai jos în fișier */
.page-title.checkout-title {
  text-align: center;
  font-size: 16px;
  font-weight: 400; /* mic și aerisit, ca titlul din referință */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1f2937;
  margin: 4px 0 24px;
}

/* Layout: formular stânga + sumar dreapta */
.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  column-gap: 40px;
  align-items: start;
}

form.checkout .col2-set { width: 100%; float: none; grid-column: 1; }
form.checkout .col2-set .col-1,
form.checkout .col2-set .col-2 { float: none; width: 100%; margin: 0; }

form.checkout .cb-checkout-h { grid-column: 1; }
form.checkout #payment { grid-column: 1; }
form.checkout #order_review_heading { display: none; }

form.checkout #order_review {
  grid-column: 2;
  grid-row: 1 / span 4;
  position: sticky;
  top: 24px;
}

/* Titlurile secțiunilor — subțiri, cu linie în dreapta */
.woocommerce-billing-fields > h3,
.woocommerce-additional-fields > h3,
.cb-checkout-h {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16.5px;
  font-weight: 400;
  color: #444;
  letter-spacing: 0.01em;
  margin: 22px 0 14px;
}

.woocommerce-billing-fields > h3::after,
.woocommerce-additional-fields > h3::after,
.cb-checkout-h::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e3e3e3;
}

#cb-h-livrare { margin-top: 26px; }


/* Rândurile de câmpuri: etichetă în stânga (order:-1 = garantat prima), input în dreapta */
.woocommerce-checkout form.checkout .form-row {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: none;
  margin: 0 0 9px;
  padding: 0;
  float: none;
  width: auto;
}

.woocommerce-checkout form.checkout .form-row > label {
  order: -1;
  flex: 0 0 110px;
  margin: 0;
  text-align: right;
  font-size: 14px; /* mărit de user în DevTools */
  line-height: 1.35;
  font-weight: 400;
  color: #333;
}

.woocommerce-checkout .form-row label .required { color: #c40000; text-decoration: none; }

/* validare: eticheta + chenarul devin roșii (ca în referință) */
.woocommerce-checkout .form-row.woocommerce-invalid > label,
.woocommerce-checkout .form-row.cb-invalid > label { color: #c40000; }

.woocommerce-checkout .form-row.cb-invalid .input-text,
.woocommerce-checkout .form-row.cb-invalid select { border-color: #c40000; }

/* mesajul de eroare de sub câmp (ca în referință) */
.cb-field-err {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: #c40000;
  line-height: 1.35;
}

/* lățimi DIFERITE, ca în referință: text ~322px, selecturi ~256px, textarea ~446px */
.woocommerce-checkout form.checkout .form-row .woocommerce-input-wrapper {
  flex: 0 0 322px;
  min-width: 0;
}

#billing_country_field .woocommerce-input-wrapper,
#billing_state_field .woocommerce-input-wrapper,
#billing_city_field .woocommerce-input-wrapper,
#billing_postcode_field .woocommerce-input-wrapper,
#shipping_country_field .woocommerce-input-wrapper,
#shipping_state_field .woocommerce-input-wrapper,
#shipping_city_field .woocommerce-input-wrapper,
#shipping_postcode_field .woocommerce-input-wrapper {
  flex-basis: 256px;
}

.woocommerce-checkout form.checkout .form-row.cb-note-row .woocommerce-input-wrapper { flex-basis: 446px; }

/* specificitate ≥ woocommerce.css (.woocommerce form .form-row .input-text {padding:.5em})
   ca să deținem NOI valoarea — 6px e paddingul real, validat vizual pe desktop */
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-checkout form .form-row .input-text,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout form .form-row textarea {
  width: 100%;
  border: 1px solid #dbdbdb; /* chenar fin, exact ca în referință */
  border-radius: 2px;
  padding: 6px;
  font-size: 13.5px;
  background: #fff;
  outline: none;
}

.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus { border-color: #111; }

.woocommerce-checkout textarea { min-height: 90px; resize: vertical; }

/* Rândul „Metoda de livrare" din secțiunea Livrare (stil identic cu Plata) */
.cb-ship-row {
  display: flex;
  align-items: center;
  gap: 24px; /* eticheta se termină la 522, valoarea începe pe axa 546 — ca la inputuri */
  margin: 4px 0 10px;
}

.cb-ship-label {
  flex: 0 0 110px;
  text-align: right;
  font-size: 13.5px;
  color: #333;
}

.cb-ship-label .required { color: #c40000; text-decoration: none; }

.cb-ship-opt {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
}

.cb-ship-opt input[type="radio"] {
  accent-color: #111;
  width: 15px;
  height: 15px;
  margin: 0;
  pointer-events: none; /* preselectat — singura metodă */
}

.cb-ship-empty { font-size: 13.5px; color: var(--color-muted); }

/* Observatii (în zona de plată) */
.cb-observatii { margin-top: 16px; text-align: left; }
.cb-observatii .cb-checkout-h { margin-top: 6px; }
.cb-note-row { align-items: flex-start !important; }
.cb-note-row textarea { min-height: 120px; }

.woocommerce-checkout .form-row.woocommerce-invalid .input-text,
.woocommerce-checkout .form-row.woocommerce-invalid select { border-color: #dc2626; }

/* select2 (țară/județ) — text centrat vertical cu flex, identic cu inputurile */
.woocommerce-checkout .select2-container { width: 100% !important; }

.woocommerce-checkout .select2-container .select2-selection--single {
  height: 29px; /* identic cu inputurile: 15px text + 2×6px padding + 2×1px border */
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  display: flex;
  align-items: center;
}

.woocommerce-checkout .select2-selection__rendered {
  line-height: normal !important;
  font-size: 13.5px;
  flex: 1;
  min-width: 0;
  padding: 0 24px 0 6px !important; /* textul pornește la 7px de margine, ca în inputuri */
}

.woocommerce-checkout .select2-selection__arrow {
  height: 25px !important;
  top: 50% !important;
  transform: translateY(-50%);
  right: 4px;
}

/* dropdownul select2 (lista de opțiuni + căutare) — același font ca inputurile */
.woocommerce-checkout .select2-dropdown {
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  font-size: 13.5px;
}
.woocommerce-checkout .select2-results__option {
  font-size: 13.5px !important;
  line-height: 1.4;
  padding: 6px 8px;
}
.woocommerce-checkout .select2-search--dropdown .select2-search__field {
  font-size: 13.5px !important;
  padding: 6px;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
}

/* Secțiunea Plata — fără cutia mov implicită a WooCommerce */
.woocommerce-checkout #payment,
#payment { background: transparent !important; border-radius: 0; }

#payment ul.payment_methods {
  border: none !important;
  padding: 0 0 0 134px !important; /* axa reală a câmpurilor (măsurată: col + 134px) */
  margin: 0;
  list-style: none;
  position: relative;
}

/* eticheta secțiunii, pe coloana etichetelor — ca la referință
   (specificitate + !important ca să batem clearfix-ul WooCommerce) */
.woocommerce #payment ul.payment_methods::before,
#payment ul.payment_methods::before {
  content: 'Alege metoda de plată*' !important;
  display: block !important;
  position: absolute;
  left: auto;
  right: calc(100% - 110px); /* marginea dreaptă fix pe linia etichetelor */
  top: 9px;
  width: auto;
  height: auto;
  white-space: nowrap;       /* un singur rând */
  text-align: right;
  font-size: 13.5px;
  line-height: 1.35;
  color: #333;
}
#payment ul.payment_methods li { padding: 7px 0; line-height: 1.5; }
#payment ul.payment_methods input[type="radio"] { accent-color: #111; margin-right: 9px; width: 15px; height: 15px; vertical-align: -2px; }
#payment ul.payment_methods label { display: inline; font-size: 13.5px; font-weight: 500; }

.woocommerce-checkout #payment div.payment_box,
#payment div.payment_box {
  background: transparent !important;
  padding: 2px 0 0 26px;
  margin: 0;
  font-size: 13.5px;
  color: var(--color-muted);
}
.woocommerce-checkout #payment div.payment_box::before,
#payment div.payment_box::before { display: none !important; content: none; }

/* textul de confidențialitate */
.woocommerce-privacy-policy-text p {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 12px 0 6px;
  text-align: center;
}

/* nudge transport gratuit în sumar — aliniat cu etichetele (Woo dă celulelor 12px lateral) */
.woocommerce table.shop_table .cb-free-ship-nudge td,
.cb-free-ship-nudge td {
  color: #15803d; /* verde — e o veste bună, nu o eroare */
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left !important; /* pe aceeași verticală cu etichetele Total/Livrare/Sub-total */
  padding: 10px 0 4px !important;
  line-height: 1.5;
  white-space: normal !important;
}

/* eticheta termenilor — lată, pe un singur bloc */
.woocommerce-terms-and-conditions-wrapper label,
.cb-news-row label {
  width: 100%;
  max-width: none;
  flex: none !important;
  order: 0 !important;
}
.woocommerce-terms-and-conditions-wrapper label .woocommerce-terms-and-conditions-checkbox-text { flex: initial; }
.woocommerce-terms-and-conditions-wrapper label .required { margin-left: 2px; }

#payment div.form-row.place-order { display: block; max-width: none; padding: 0; margin-top: 4px; }

/* termeni + newsletter — centrate, mici, ca în referință */
.woocommerce-terms-and-conditions-wrapper { margin: 22px 0 0; border-top: 1px solid #ececec; padding-top: 16px; text-align: center; }
.woocommerce-terms-and-conditions-wrapper .form-row { display: block; max-width: none; margin: 0 0 8px; }
.cb-news-row { text-align: center; }
.cb-news-row .optional { display: none; } /* referința nu afișează „(opțional)" */
.woocommerce-terms-and-conditions-wrapper label,
.cb-news-row label {
  display: inline-flex !important;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px !important;
  text-align: left !important;
  font-weight: 400 !important;
}
.woocommerce-terms-and-conditions-wrapper a { text-decoration: underline; text-underline-offset: 3px; }
.cb-news-row { display: block !important; max-width: none !important; margin: 0 0 6px !important; }
.woocommerce-checkout input[type="checkbox"] { accent-color: #111; width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }

/* butonul „Trimite comanda" — RECONSTRUIT ca clonă a .cb-btn-dark (Finalizeaza comanda),
   full-width pe coloana lui, la orice lățime de ecran */
.woocommerce #payment #place_order,
#place_order {
  float: none !important;
  display: block;
  width: 100%;
  margin: 18px 0 2px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.woocommerce #payment #place_order:hover,
#place_order:hover { opacity: 0.85; color: #fff; }

/* Sumarul comenzii (sidebar) */
form.checkout #order_review {
  border: 1px solid #e3e3e3;
  background: #fff;
  padding: 16px 16px 18px;
}

.woocommerce #order_review table.shop_table,
.woocommerce-checkout-review-order-table {
  width: 100%;
  border: none !important;            /* Woo dă tabelului propriul chenar → linie dublă sus */
  border-collapse: collapse !important;
  border-radius: 0;
  font-size: 13.5px;
}
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table tbody tr:first-child td { border-top: none !important; }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td { border-left: none !important; border-right: none !important; }

/* specificitate ≥ woocommerce.css (care dă td padding lateral + vertical-align: middle) */
.woocommerce table.shop_table.woocommerce-checkout-review-order-table tbody td {
  padding: 0; /* compact — stilizat de user în DevTools */
  border-bottom: none;
  vertical-align: top; /* stepperul pornește SUS, la nivelul imaginii */
}

/* celula produsului: miniatura flotată în stânga, textele curg alături */
.woocommerce-checkout-review-order-table td.product-name { width: 70%; padding-right: 10px; }

.rev-thumb { float: left; margin: 0 13px 3px 0; }

.rev-thumb img {
  width: 64px;
  height: 85px;
  object-fit: cover;
  border-radius: 3px;
  background: #f3f3f3;
  display: block;
}

.rev-body { display: block; overflow: hidden; }

.rev-name { display: block; font-size: 12.5px; font-weight: 400; line-height: 1.45; color: #1f2937; }

/* prețul sub nume, ca în referință */
.cb-rev-price { display: block; }
.cb-rev-price del { color: #b5b5b5; font-size: 12px; font-weight: 400; }
.cb-rev-price strong { font-size: 13.5px; font-weight: 700; color: #111; }
/* atributele, fiecare pe rândul lui */
.cb-rev-attrs {
  list-style: none;
  font-size: 13.5px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.75;
}

/* stepperul din dreapta + Sterge sub el */
.cb-rev-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  overflow: hidden;
}

.cb-rev-qty button {
  width: 30px;
  height: 30px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.cb-rev-qty button:hover { background: #f5f5f5; }

.cb-rev-qty input {
  width: 36px;
  height: 30px;
  border: none;
  border-left: 1px solid #dbdbdb;
  border-right: 1px solid #dbdbdb;
  border-radius: 0;
  padding: 0;
  text-align: center;
  font-size: 13.5px;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
  background: #fff;
}

.cb-rev-qty input::-webkit-outer-spin-button,
.cb-rev-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* coloana de control: stepper sus + „Sterge" centrat dedesubt */
.cb-rev-ctrl {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cb-rev-remove {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
}

.cb-rev-remove:hover { color: #c40000; opacity: 1; }

.cb-rev-qty-static { font-size: 13.5px; color: #666; }

.woocommerce-checkout-review-order-table td.product-name .product-quantity {
  display: inline-block;
  margin-top: 3px;
  font-weight: 400;
  color: var(--color-muted);
  font-size: 13.5px;
}

.woocommerce-checkout-review-order-table dl.variation { margin: 4px 0 0; font-size: 13.5px; font-weight: 400; color: #64748b; overflow: hidden; }
.woocommerce-checkout-review-order-table dl.variation dt { float: left; clear: left; margin: 0 4px 0 0; font-weight: 400; }
.woocommerce-checkout-review-order-table dl.variation dd { margin: 0 0 2px; }

/* prețul: 40% din tabel — aceeași coloană e folosită și de valorile totalurilor */
.woocommerce-checkout-review-order-table td.product-total {
  width: 30%;
  text-align: right;
  white-space: nowrap;
  font-weight: 400;
}

/* selectori cu specificitate ≥ woocommerce.css (care dă tfoot th/td font-weight:700) */
.woocommerce table.shop_table.woocommerce-checkout-review-order-table tfoot th {
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000;
  padding: 12px 0;
  border-bottom: 1px solid #efefef; /* separator după fiecare rând, ca în referință */
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
  font-size: 14px;
  font-weight: 400;
  padding: 12px 0;
  border-bottom: 1px solid #efefef;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table tfoot td .amount {
  font-size: 14px;
  font-weight: 700;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table tr.cb-free-ship-nudge td { border-bottom: none; }

.woocommerce table.shop_table.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce table.shop_table.woocommerce-checkout-review-order-table tr.order-total td {
  border-top: 1px solid #dbdbdb;
  border-bottom: none;
  padding-top: 14px;
  font-size: 14px;
}
.woocommerce table.shop_table.woocommerce-checkout-review-order-table tr.order-total th { font-weight: 700; color: #111; }
.woocommerce table.shop_table.woocommerce-checkout-review-order-table tr.order-total td .amount { font-weight: 600; font-size: 15.5px; }

/* tfoot: aceeași grilă 60/40 ca rândurile de produse */
.woocommerce-checkout-review-order-table tfoot th { width: 60%; }

/* rândul LIVRARE: valoarea pe UN singur rând (nowrap forțează coloana să se lărgească) */
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { white-space: nowrap; }

/* rândul de cupon aplicat în sumar */
.woocommerce-checkout-review-order-table tr.cart-discount td { color: #12b76a; font-weight: 600; }

.woocommerce-checkout-review-order-table .woocommerce-remove-coupon {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 400;
  color: #999;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.woocommerce-checkout-review-order-table .woocommerce-remove-coupon:hover { color: #dc2626; opacity: 1; }

/* stare de încărcare la trimiterea comenzii */
.blockUI.blockOverlay { background: rgba(255, 255, 255, 0.7) !important; }

form.checkout.processing #place_order { opacity: 0.5; cursor: wait; }

#order_review ul#shipping_method { list-style: none; text-align: right; font-size: 13.5px; }
#order_review ul#shipping_method li { margin-bottom: 5px; }
#order_review ul#shipping_method label { display: inline; font-weight: 700; }
#order_review ul#shipping_method input[type="radio"] { accent-color: #111; margin-right: 5px; vertical-align: -2px; }
#order_review ul#shipping_method .woocommerce-Price-amount { font-weight: 700; } /* uniform cu restul valorilor din sumar */

/* cuponul — în sumarul din dreapta, ca la referință (fără form imbricat) */
.woocommerce-form-coupon-toggle { display: none; }

.cb-coupon-box { margin: 16px 0 0; }

.cb-coupon-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 4px 6px 4px 12px;
}

.cb-coupon-row input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 10px 0;
  font-size: 14px;
  outline: none;
  background: transparent;
}

.cb-coupon-row button {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #ddd; /* buton încadrat, ca în referință */
  border-radius: 2px;
  color: #b9b9b9;
  padding: 8px 15px;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.cb-coupon-row button:hover { color: #111; border-color: #999; }

.cb-coupon-msg { margin: 8px 0 0; font-size: 13.5px; color: #12b76a; min-height: 0; }
.cb-coupon-msg.is-error { color: #dc2626; }

/* ── Pagina de coș (clona referinței, pe stilul checkout-ului) ── */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cb-btn-dark {
  display: inline-block;
  background: #111;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700; /* identic cu „Adaugă în coș" */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 2px;
  transition: background 0.15s ease;
}

.cb-btn-dark:hover { background: #000; color: #fff; opacity: 1; }

.cb-cart-top { text-align: center; margin: 0 0 26px; }

.cb-cart-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #dbdbdb;
  background: #fff;
}

.cb-cart-table thead th {
  background: #f7f7f7;
  border-bottom: 1px solid #dbdbdb;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  text-align: left;
  padding: 11px 16px;
}

.cb-cart-table thead th.cb-ct-qty { text-align: center; }
.cb-cart-table thead th.cb-ct-price { text-align: right; }

.cb-cart-table td {
  padding: 18px 13px;
  vertical-align: top;
  border-bottom: 1px solid #ececec;
}

.cb-cart-table tbody tr:last-child td { border-bottom: none; }

.cb-ci-thumb { width: 76px; padding-right: 0; }
.cb-ci-thumb img {
  display: block;
  width: 76px;
  aspect-ratio: 3 / 4; /* portret, ca în referință — nu pătrat */
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: #f3f3f3;
}

.cb-ci-name { font-size: 13.5px; font-weight: 400; color: #111; } /* greutatea normală a textului de pe site */
.cb-ci-name:hover { text-decoration: underline; text-underline-offset: 2px; }

/* atributele variației, fiecare pe rândul lui („Mărime: S"), ca în referință */
.cb-ci-attrs {
  margin: 0;
  list-style: none;
  font-size: 13.5px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.75;
}

.cb-ci-priceline {
  margin: 0;
  font-size: 13.5px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.cb-ci-priceline del { color: #b5b5b5; font-size: 13.5px; font-weight: 400; }
.cb-ci-priceline strong { font-size: 15px; font-weight: 700; }
.cb-cart-table dl.variation { margin: 9px 0 0; font-size: 13.5px; color: #6b6b6b; line-height: 1.7; }
.cb-cart-table dl.variation dt { float: left; clear: left; margin: 0 5px 0 0; font-weight: 400; }
.cb-cart-table dl.variation dd { margin: 0; }
.cb-cart-table dl.variation dd p { margin: 0; display: inline; }

.cb-ci-qty { text-align: center; width: 150px; }

.cb-cart-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  overflow: hidden;
  vertical-align: middle;
}

.cb-cart-qty .quantity { display: contents; }

.cb-cart-qty button {
  width: 28px;
  height: 28px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.cb-cart-qty button:hover { background: #f5f5f5; }

.cb-cart-qty input.qty {
  width: 36px;
  height: 28px;
  border: none;
  border-left: 1px solid #dbdbdb;
  border-right: 1px solid #dbdbdb;
  border-radius: 0;
  padding: 0;
  text-align: center;
  font-size: 13.5px;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

.cb-cart-qty input.qty::-webkit-outer-spin-button,
.cb-cart-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cb-cart-remove {
  display: inline-block;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
}

.cb-cart-remove:hover { color: #c40000; opacity: 1; }

.cb-ci-total { text-align: right; width: 150px; white-space: nowrap; }
.cb-ci-total del { display: block; color: #b5b5b5; font-size: 13.5px; margin-bottom: 2px; }
.cb-ci-total strong { font-size: 13.5px; font-weight: 700; }

.cb-cart-actions { display: none; } /* butonul „Actualizeaza cosul" e apăsat de JS */

.cb-cart-bottom {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 48px;
  margin-top: 30px;
}

.cb-cart-left { flex: 0 1 360px; display: flex; flex-direction: column; }
.cb-cart-left .cb-coupon-box { margin: 0; }

.cb-cart-continue {
  align-self: flex-start;
  margin-top: auto;
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 700; /* identic cu „Adaugă în coș" */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  transition: border-color 0.15s ease;
}

.cb-cart-continue:hover { border-color: #111; opacity: 1; }

.cb-cart-totals { flex: 0 1 400px; display: flex; flex-direction: column; }

.cb-ct-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid #ececec;
}

.cb-ct-label {
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4b5563;
}

.cb-ct-value { font-size: 13.5px; font-weight: 400; }

.cb-ct-row.is-discount .cb-ct-label,
.cb-ct-row.is-discount .cb-ct-value { color: #12b76a; }

.cb-remove-coupon {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #999;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cb-remove-coupon:hover { color: #dc2626; opacity: 1; }

.cb-cart-nudge {
  margin: 0;
  padding: 9px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #15803d; /* verde — e o veste bună, nu o eroare */
  line-height: 1.5;
  text-align: left; /* aliniat cu etichetele din totaluri */
}

.cb-ct-row.cb-ct-total {
  border-bottom: none;
  border-top: 1px solid #dbdbdb;
  margin-top: 10px;
  padding-top: 13px;
}

/* fără nudge (≥300 lei), rândul dinaintea totalului și-ar lipi linia de cea a
   totalului (două linii paralele) — i-o scoatem când urmează direct totalul */
.cb-ct-row:has(+ .cb-ct-row.cb-ct-total) { border-bottom: none; }

.cb-ct-total .cb-ct-label { font-size: 13.5px; font-weight: 400; color: #111; }
.cb-ct-total .cb-ct-value { font-size: 14.5px; font-weight: 500; }

.cb-cart-checkout { align-self: flex-end; margin-top: 16px; }

/* coș gol */
.cb-cart-empty { text-align: center; padding: 40px 0 30px; }
.cb-cart-empty svg { width: 44px; height: 44px; color: #cfcfcf; margin-bottom: 14px; }
.cb-cart-empty p { font-size: 14px; color: #666; margin: 0 0 20px; }

@media (max-width: 700px) {
  .cb-cart-table { display: block; }
  .cb-cart-table thead,
  .cb-cart-table thead tr,
  .cb-cart-table tbody { display: block; }
  .cb-cart-table thead th { display: none; }
  .cb-cart-table thead th.cb-ct-products { display: block; }

  .cb-cart-table tbody tr.cart_item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0 14px;
    padding: 16px;
    border-bottom: 1px solid #ececec;
  }

  .cb-cart-table tbody tr.cart_item:last-child { border-bottom: none; }
  .cb-cart-table td { border: none; padding: 0; }

  .cb-ci-thumb { grid-row: 1 / span 3; width: auto; }
  .cb-ci-qty {
    grid-column: 2;
    width: auto;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }
  .cb-cart-remove { margin-top: 0; }
  .cb-ci-total { grid-column: 2; width: auto; margin-top: 10px; text-align: left; }
  .cb-ci-total del { display: inline; margin-right: 8px; }

  .cb-cart-bottom { flex-direction: column; gap: 24px; }
  .cb-cart-left,
  .cb-cart-totals { flex: none; width: 100%; }
  .cb-cart-continue { margin-top: 16px; }
  .cb-cart-checkout { align-self: stretch; text-align: center; }
}

/* ── Pagina de mulțumire (order received) ── */
.cb-ty-hero {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.cb-ty-hero > svg { width: 58px; height: 58px; color: #12b76a; margin-bottom: 16px; }

.cb-ty-hero h2 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }

.cb-ty-mail { font-size: 13.5px; color: var(--color-muted); margin: 0 0 26px; }

.cb-ty-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
  text-align: center;
}

.cb-ty-step { font-size: 13.5px; line-height: 1.5; color: #333; }

.cb-ty-step span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 auto 9px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}

.cb-ty-btn { display: inline-block; text-align: center; color: #fff; padding: 12px 30px; }

/* ascunde mesajul implicit Woo (îl înlocuiește hero-ul) */
.woocommerce-order > .woocommerce-thankyou-order-received { display: none; }

/* cardurile cu detaliile comenzii — specificitate mare (Woo le dă float + borduri dashed) */
.woocommerce ul.order_details,
ul.woocommerce-order-overview {
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto 30px !important;
  padding: 0 !important;
}

.woocommerce ul.order_details li,
ul.woocommerce-order-overview li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 10px 20px !important;
  border: 1px solid var(--color-border) !important;
  border-right: 1px solid var(--color-border) !important;
  border-radius: 6px;
  font-size: 13.5px !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-align: center;
}

.woocommerce ul.order_details li strong,
ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 4px;
  font-size: 14px !important;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text);
}

/* textul de sub carduri („Plătește cu numerar la livrare.") — centrat, simetric */
.woocommerce-order > p {
  text-align: center;
  font-size: 13.5px;
  color: #333;
  max-width: 640px;
  margin: 0 auto 28px;
}

.woocommerce-order-details,
.woocommerce-customer-details {
  max-width: 640px;
  margin: 0 auto 30px;
}

.woocommerce-order-details__title,
.woocommerce-column__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 14px;
  text-align: center;
}

table.woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  border: 1px solid var(--color-border);
}

table.woocommerce-table--order-details th,
table.woocommerce-table--order-details td {
  padding: 10px 14px;
  border-bottom: 1px solid #efefef;
  text-align: left;
}

table.woocommerce-table--order-details td:last-child { text-align: right; }
table.woocommerce-table--order-details tfoot th { font-weight: 500; }
table.woocommerce-table--order-details tfoot tr:last-child th,
table.woocommerce-table--order-details tfoot tr:last-child td { font-weight: 700; }

.woocommerce-customer-details address {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 16px 18px;
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .cb-ty-steps { grid-template-columns: 1fr; gap: 12px; }
  .cb-ty-step { display: flex; align-items: center; gap: 10px; text-align: left; }
  .cb-ty-step span { margin: 0; flex-shrink: 0; }
}

/* responsive */
@media (max-width: 1000px) {
  .woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
  form.checkout #order_review { grid-column: 1; grid-row: auto; order: -1; position: static; margin-bottom: 8px; }
}

@media (max-width: 560px) {
  .woocommerce-checkout form.checkout .form-row { flex-direction: column; align-items: stretch; gap: 5px; }
  .woocommerce-checkout form.checkout .form-row > label { flex: none; text-align: left; }

  /* pe coloană, flex-basis devine ÎNĂLȚIME — resetare cu !important ca să batem
     regulile cu ID (țară/județ/localitate/cod poștal) și pe cea a textarea-ului */
  .woocommerce-checkout form.checkout .form-row .woocommerce-input-wrapper,
  #billing_country_field .woocommerce-input-wrapper,
  #billing_state_field .woocommerce-input-wrapper,
  #billing_city_field .woocommerce-input-wrapper,
  #billing_postcode_field .woocommerce-input-wrapper,
  #shipping_country_field .woocommerce-input-wrapper,
  #shipping_state_field .woocommerce-input-wrapper,
  #shipping_city_field .woocommerce-input-wrapper,
  #shipping_postcode_field .woocommerce-input-wrapper,
  .woocommerce-checkout form.checkout .form-row.cb-note-row .woocommerce-input-wrapper {
    flex: none !important;
    display: block !important;
    width: 100% !important;
  }

  .checkout-header__inner { padding: 14px 18px; gap: 12px; }
  .checkout-header .cb-logo { height: 38px; }
  .checkout-login { white-space: nowrap; }

  #payment ul.payment_methods { padding-left: 0 !important; }

  /* eticheta secțiunii Plata: în flux, pe rândul ei (altfel rămâne absolută peste radio) */
  .woocommerce #payment ul.payment_methods::before,
  #payment ul.payment_methods::before {
    position: static !important;
    display: block !important;
    width: auto;
    right: auto;
    white-space: normal;
    text-align: left;
    margin: 0 0 8px;
  }


  .cb-ship-row { flex-direction: column; align-items: stretch; gap: 5px; }
  .cb-ship-label { flex: none; text-align: left; }
}

/* Notificările WooCommerce (adăugat în coș etc.) — componentă curată, centrată */
.site-main .woocommerce-message,
.site-main .woocommerce-info,
.site-main .woocommerce-error {
  position: static;
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  list-style: none;
  max-width: 1180px;
  margin: 0 auto 32px;
  padding: 12px 16px;
  background: #f2fbf6;
  border: 1px solid #b9e6cc;
  border-top: 1px solid #b9e6cc;
  border-left: 4px solid #12b76a;
  border-radius: 6px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--color-text);
}

/* Înlocuim iconița absolută a WooCommerce cu o bifă proprie, în flux */
.site-main .woocommerce-message::before,
.site-main .woocommerce-info::before,
.site-main .woocommerce-error::before {
  content: "✓";
  position: static;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin: 0;
  background: #12b76a;
  color: #fff;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
}

.site-main .woocommerce-error {
  background: #fef3f2;
  border-color: #f3c1bd;
  border-left-color: #dc2626;
}
.site-main .woocommerce-error::before { content: "✕"; background: #dc2626; }

.site-main .woocommerce-info {
  background: var(--color-surface);
  border-color: var(--color-border);
  border-left-color: #111;
}
.site-main .woocommerce-info::before { content: "i"; background: #111; font-style: italic; }

.site-main .woocommerce-message .button,
.site-main .woocommerce-info .button,
.site-main .woocommerce-error .button {
  float: none;
  margin-left: auto;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-main .woocommerce-error li { margin: 0; }

/* Pe coș/checkout, notificările intră în limbajul paginii: bară albă cu chenar
   fin #dbdbdb, radius 2, text compact — doar bifa păstrează accentul de succes */
.woocommerce-cart .site-main .woocommerce-message,
.woocommerce-cart .site-main .woocommerce-info,
.woocommerce-cart .site-main .woocommerce-error,
.woocommerce-checkout .site-main .woocommerce-message,
.woocommerce-checkout .site-main .woocommerce-info,
.woocommerce-checkout .site-main .woocommerce-error {
  max-width: none;
  margin: 0 0 22px;
  padding: 10px 14px;
  gap: 10px;
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  font-size: 13.5px;
  color: #111;
}

.woocommerce-cart .site-main .woocommerce-message::before,
.woocommerce-cart .site-main .woocommerce-info::before,
.woocommerce-cart .site-main .woocommerce-error::before,
.woocommerce-checkout .site-main .woocommerce-message::before,
.woocommerce-checkout .site-main .woocommerce-info::before,
.woocommerce-checkout .site-main .woocommerce-error::before {
  width: 17px;
  height: 17px;
  font-size: 13.5px;
}

.woocommerce-cart .site-main .woocommerce-error::before,
.woocommerce-checkout .site-main .woocommerce-error::before { background: #c40000; }

.woocommerce-cart .site-main .woocommerce-message a,
.woocommerce-cart .site-main .woocommerce-info a,
.woocommerce-cart .site-main .woocommerce-error a,
.woocommerce-checkout .site-main .woocommerce-message a,
.woocommerce-checkout .site-main .woocommerce-info a,
.woocommerce-checkout .site-main .woocommerce-error a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Modalul „Ghid de mărimi" */
.size-modal {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

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

.size-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.size-modal__box {
  position: relative;
  width: min(560px, 94vw);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 10px;
  padding: 26px 28px 28px;
  transform: translateY(10px);
  transition: transform 0.2s ease;
}

.size-modal.is-open .size-modal__box { transform: none; }

.size-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.size-modal__head h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.size-modal__close { color: #111; }

.size-modal__note {
  font-size: 13.5px;
  color: var(--color-muted);
  margin: 0 0 18px;
}

.size-table-wrap { overflow-x: auto; }

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
}

.size-table th {
  background: #111;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 12px;
}

.size-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--color-border);
}

.size-table td:first-child { font-weight: 700; }

.size-table tbody tr:nth-child(even) { background: #fafafa; }

.size-table tbody tr.is-highlight {
  background: #f1f1f1;
  box-shadow: inset 3px 0 0 #111;
}

.size-modal__tips { margin-top: 22px; }

.size-modal__tips h4 {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.size-modal__tips ul {
  list-style: none;
  font-size: 13.5px;
  line-height: 1.6;
}

.size-modal__tips li { margin-bottom: 7px; }

.size-modal__hint {
  font-size: 13.5px;
  color: var(--color-muted);
  margin: 14px 0 0;
}

/* Săgețile din galerie */
.pg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.pg-nav svg { width: 18px; height: 18px; }
.pg-nav--prev { left: 12px; }
.pg-nav--next { right: 12px; }
.pg-main:hover .pg-nav { opacity: 1; }
@media (hover: none) { .pg-nav { opacity: 1; } }

/* Zoom la hover pe imaginea principală */
.pg-main { overflow: hidden; }
.pg-main.has-zoom { cursor: zoom-in; }
.pg-main img { transition: transform 0.18s ease; }
.pg-main img.is-zoomed { transform: scale(1.8); }

/* Lightbox fullscreen */
.pg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.pg-lightbox.is-open { opacity: 1; pointer-events: auto; }

.pg-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pg-lightbox__close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.pg-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 54px;
  line-height: 1;
  cursor: pointer;
  padding: 10px 18px;
  z-index: 2;
}

.pg-lightbox__nav--prev { left: 8px; }
.pg-lightbox__nav--next { right: 8px; }

/* Mărimi fără stoc */
.size-opt.is-oos {
  opacity: 0.4;
  background: linear-gradient(to top right, transparent 46%, #9a9a9a 48%, #9a9a9a 52%, transparent 54%);
}

/* Stoc redus */
.pp-stock--low { color: #d97706; }

/* Badge-uri de încredere */
.pp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 26px;
}

.pp-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--color-muted);
}

.pp-trust svg { width: 17px; height: 17px; flex-shrink: 0; color: #111; }

/* Accordion livrare/compoziție */
.pp-accordions { margin-top: 4px; }

.pp-acc { border-bottom: 1px solid var(--color-border); }

.pp-acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 2px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.pp-acc summary::-webkit-details-marker { display: none; }

.pp-acc summary svg { width: 16px; height: 16px; transition: transform 0.2s ease; flex-shrink: 0; }
.pp-acc[open] summary svg { transform: rotate(180deg); }

.pp-acc__body { padding: 0 2px 18px; font-size: 14px; line-height: 1.65; color: #333; }
.pp-acc__body p { margin: 0 0 10px; }
.pp-acc__body ul { list-style: disc; padding-left: 20px; }
.pp-acc__body li { margin-bottom: 6px; }

/* Produse similare — același ritm de 84px ca restul secțiunilor */
.related-products { padding: 84px 40px 0; }

/* ── Caruselul „Ce spun clienții noștri?" ── */
.reviews-carousel { padding: 96px 0 8px; }

.rc-head { text-align: center; margin-bottom: 40px; }

.rc-title {
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 8px;
}

.rc-sub { margin: 0; font-size: 13.5px; }

.rc-sub a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rc-sub a:hover { color: var(--color-text); opacity: 0.7; }

/* spațiul lateral stă pe wrap (fix), nu pe track — nu defilează cu cardurile */
.rc-wrap { position: relative; padding-inline: 72px; }

.rc-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 12px;
  scrollbar-width: none;
}

.rc-track::-webkit-scrollbar { display: none; }

.rc-nav {
  position: absolute;
  top: 100px; /* centrat pe zona imaginilor */
  z-index: 5;
  width: 46px;
  height: 46px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.09);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.rc-nav:hover { transform: scale(1.05); }
.rc-nav svg { width: 19px; height: 19px; }
.rc-nav--prev { left: 12px; }
.rc-nav--next { right: 12px; }

.rc-card {
  flex: 0 0 calc((100% - 140px) / 6); /* 6 pe rând doar pe ecrane foarte late */
  scroll-snap-align: start;
  min-width: 0;
}

.rc-card__img {
  display: block;
  width: 62%;
  margin: 0 auto 16px;
}

.rc-card__img img {
  width: 100%;
  aspect-ratio: 7 / 10;
  object-fit: cover;
  background: #f3f3f3;
}

.rc-card__name {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rc-card__name a:hover { color: var(--color-text); opacity: 0.7; }

.rc-card__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.rc-stars { display: inline-flex; gap: 1px; color: #f4652c; }
.rc-stars svg { width: 15px; height: 15px; }
.rc-stars svg.is-empty { color: #d9d9d9; }

/* Nota de sub titlul produsului — duce la recenzii */
.pp-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -8px 0 18px;
  font-size: 13.5px;
  color: #333;
}

.pp-rating:hover { color: #111; opacity: 0.8; }

.pp-rating__stars {
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 1;
  background: linear-gradient(90deg, #f4652c var(--pp-fill, 100%), #d9d9d9 var(--pp-fill, 100%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pp-rating__txt { text-decoration: underline; text-underline-offset: 3px; }

.reviews-carousel { scroll-margin-top: 90px; }

.rc-verified {
  font-size: 13.5px;
  font-weight: 600;
  color: #16a34a;
}

.rc-card__author {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-muted);
  margin: 0 0 8px;
}

.rc-card__text {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1749px) {
  .rc-card { flex-basis: calc((100% - 112px) / 5); }
}

@media (max-width: 1400px) {
  .rc-card { flex-basis: calc((100% - 84px) / 4); }
}

@media (max-width: 1100px) {
  .rc-card { flex-basis: calc((100% - 56px) / 3); }
}

@media (max-width: 800px) {
  .reviews-carousel { padding-top: 64px; }
  .rc-wrap { padding-inline: 20px; }
  .rc-track { gap: 20px; }
  .rc-card { flex-basis: calc((100% - 20px) / 2); }
  /* săgețile rămân vizibile și pe mobil, doar mai compacte */
  .rc-nav { width: 38px; height: 38px; }
  .rc-nav svg { width: 16px; height: 16px; }
  .rc-nav--prev { left: 6px; }
  .rc-nav--next { right: 6px; }
}

@media (max-width: 520px) {
  .rc-card { flex-basis: 74%; }
}

/* Bara sticky de cumpărare (mobil) */
.pp-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 115;
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 10px 16px;
  display: none;
  align-items: center;
  gap: 12px;
  transform: translateY(105%);
  transition: transform 0.25s ease;
}

.pp-sticky-bar.is-visible { transform: none; }

.psb-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.psb-name {
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.psb-price { font-size: 14.5px; font-weight: 700; }
.psb-size { font-weight: 500; color: var(--color-muted); }

.psb-add { padding: 12px 20px; font-size: 13.5px; }

@media (max-width: 900px) {
  .pp-sticky-bar { display: flex; }
  body.sticky-bar-on .floating-actions { bottom: 84px; }
}

/* Mini-coșul (sertar dreapta) */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 185;
}

.cart-drawer-backdrop.is-visible { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 94vw);
  background: #fff;
  color: #111;
  z-index: 190;
  transform: translateX(105%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.is-open { transform: none; }

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer__title {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.cart-drawer__close { color: #111; }

.cart-drawer__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  list-style: none;
  padding: 6px 22px;
}

.cart-drawer__item {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.cdi-thumb img {
  width: 62px;
  height: 78px;
  object-fit: cover;
  background: #f3f3f3;
}

.cdi-name {
  display: block;
  font-size: 13.5px;
  font-weight: 400; /* greutatea normală, ca la coș/checkout */
  line-height: 1.4;
  margin-bottom: 4px;
  color: #1f2937;
}

.cdi-price { display: block; font-size: 13.5px; }
.cdi-price del { color: #b5b5b5; font-size: 13.5px; font-weight: 400; }
.cdi-price strong { font-size: 13.5px; font-weight: 700; color: #111; }
.cdi-times { font-size: 13.5px; color: #6b7280; }

.cdi-attrs {
  margin: 4px 0 0;
  list-style: none;
  font-size: 13.5px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.6;
}

.cdi-remove {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 6px;
  line-height: 0;
}

.cdi-remove svg { width: 15px; height: 15px; }
.cdi-remove:hover { color: #dc2626; }

.cart-drawer__footer {
  border-top: 1px solid var(--color-border);
  padding: 18px 22px 22px;
}

.cdf-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  margin-bottom: 6px;
}

.cdf-subtotal strong { font-size: 17px; }

.cdf-note { font-size: 13.5px; color: var(--color-muted); margin: 0 0 14px; }

.cdf-checkout {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
}

.cdf-viewcart {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-drawer__empty {
  flex: 1;
  display: grid;
  place-content: center;
  gap: 16px;
  text-align: center;
  padding: 30px;
}

/* ── „Purtat de voi" (UGC / Instagram) ── */
.ugc-gallery { padding: 84px 40px 0; }

.ugc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  max-width: 1500px;
  margin-inline: auto;
}

.ugc-tile {
  position: relative;
  display: block;
  overflow: hidden;
}

.ugc-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f3f3f3;
  transition: transform 0.3s ease;
}

.ugc-tile:hover img { transform: scale(1.04); }

.ugc-tile__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
}

.ugc-tile__badge img { width: 13px; height: 13px; }

/* ── „Croit să dureze" (detaliile premium) ── */
.craft-details { padding: 84px 40px 0; }

.craft-sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--color-muted);
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 1080px;
  margin-inline: auto;
  text-align: center;
}

.craft-item svg {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

.craft-item h3 {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.craft-item p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #333;
  margin: 0;
}

/* ── Întrebări frecvente ── */
.product-faq {
  max-width: 780px;
  margin-inline: auto;
  padding: 84px 20px 0;
}

.faq-list { margin-top: 6px; }

.faq-list .pp-acc summary {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  padding: 17px 2px;
}

.faq-list .pp-acc__body { font-size: 14px; }

/* ── Newsletter -10% — pe alb, cu o linie fină deasupra; lipit de footerul negru ── */
.newsletter-band {
  background: #fff;
  color: #111;
  margin-top: 84px;
  padding: 64px 20px;
  border-top: 1px solid var(--color-border);
}

.newsletter-band__inner {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.nb-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

.nb-sub {
  font-size: 14px;
  color: #444;
  margin: 0 0 26px;
  line-height: 1.6;
}

.nb-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: var(--radius);
  overflow: hidden;
}

.nb-form[hidden] { display: none; }

.nb-form input[type="email"] {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 15px 18px;
  font-size: 14px;
  outline: none;
  color: #111;
}

.nb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.nb-submit {
  background: #E1123B;   /* roșul brandului */
  color: #fff;
  border: none;
  padding: 0 26px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.nb-submit:hover { opacity: 0.88; }
.nb-submit:disabled { opacity: 0.5; cursor: wait; }

.nb-msg {
  min-height: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #15803d;
  margin: 14px 0 0;
}

.nb-msg.is-error { color: #b91c1c; }

/* codul de reducere afișat după abonare */
.nb-code-row {
  display: flex;
  width: fit-content;
  align-items: stretch;
  margin: 12px auto 0;
  border: 2px dashed #9e1717;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.nb-code {
  padding: 10px 20px;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: #9e1717;
}

.nb-copy {
  border: none;
  border-left: 2px dashed #9e1717;
  background: #fff;
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  color: #111;
}

.nb-copy:hover { background: #fff5f8; }

.nb-hint { margin: 10px 0 0; font-size: 13px; font-weight: 400; color: #444; }

.nb-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: #666;
  margin: 12px 0 0;
}

.nb-note a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .ugc-gallery, .craft-details { padding: 56px 20px 0; }
  .ugc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .craft-grid { grid-template-columns: 1fr; gap: 30px; }
  .product-faq { padding-top: 56px; }
  .newsletter-band { margin-top: 56px; }
  .nb-form { flex-direction: column; background: none; gap: 10px; border: none; }
  .nb-form input[type="email"] { border-radius: var(--radius); border: 1px solid #d6d6d6; }
  .nb-submit { padding: 14px; border-radius: var(--radius); }
}

/* Bara de beneficii pe pagina de produs — bandă albă curată, simetrică */
.product-page .usp-bar {
  margin-top: 0;
  padding: 56px 48px; /* sus = jos */
}

/* pe pagina de produs, spațiul de jos vine doar din bara de beneficii */
body.single-product .site-footer { margin-top: 0; }

@media (max-width: 900px) {
  .product-page__inner { padding-inline: 20px; }
  /* titlul + prețul trebuie să încapă în primul ecran: breadcrumb pe un rând, fără miniaturi */
  .breadcrumb-bar { padding: 12px 20px 4px; margin-bottom: 6px; }
  .product-breadcrumb {
    text-align: left;
    font-size: 12.5px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product-breadcrumb .current,
  .product-breadcrumb .bc-sep--last { display: none; }
  .product-layout { grid-template-columns: 1fr; gap: 18px; }
  .pg-thumbs, .pg-nav { display: none; }
  .pg-dots { display: flex; }
  .pp-title { font-size: 22px; line-height: 1.3; }
  .pp-brand { display: none; }
  .pp-price { margin-bottom: 20px; }
  .related-products { padding: 56px 20px 0; }
}

/* ==========================================================================
   9. BUTOANE
   ========================================================================== */
.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: var(--color-primary-text);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  opacity: 0.85;
  color: var(--color-primary-text);
}

/* ==========================================================================
   10. CONȚINUT / ARTICOLE
   ========================================================================== */
.page-title { font-size: 2rem; margin-bottom: 24px; }

.entry + .entry { margin-top: 48px; }

/* ==========================================================================
   11. AJUSTĂRI WOOCOMMERCE
   ========================================================================== */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1rem;
  font-weight: 600;
}

.woocommerce ul.products li.product .price {
  color: var(--color-text);
  font-weight: 600;
}

.woocommerce span.onsale {
  background: var(--color-accent);
  border-radius: 999px;
}

/* ==========================================================================
   12. FOOTER (negru, 3 coloane — ca în referință)
   ========================================================================== */
.site-footer {
  background: #0a0a0a;
  color: #fff;
  margin-top: 64px;
  padding: 72px 36px 56px;
}

.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; opacity: 0.7; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 430px)) minmax(280px, 1fr);
  column-gap: 32px;
}

/* Coloana din dreapta: social + plăți + ANPC */
.footer-extra {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* bannerele ANPC/SOL aliniate la stânga coloanei */
  gap: 26px;
}

.footer-social { display: flex; gap: 18px; }

.footer-social img { width: 21px; height: 21px; display: block; }

.footer-social a { display: inline-flex; transition: opacity 0.15s ease; }
.footer-social a:hover { opacity: 0.65; }

.footer-payments { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.netopia {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.netopia__name {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  white-space: nowrap;
}

.netopia__sub {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.54em;
  opacity: 0.9;
  white-space: nowrap;
}

.mc-mark { width: 40px; height: 25px; display: block; flex-shrink: 0; }

/* SVG-ul VISA are canvas pătrat (glyph-ul e lat, cu spațiu gol sus/jos) —
   46×46 dă un logo vizibil de ~46px lățime, aliniat pe centru. */
.visa-mark { width: 46px; height: 46px; display: block; flex-shrink: 0; }

/* Badge ANPC — Soluționarea alternativă a litigiilor */
.anpc-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  max-width: 300px;
}

.anpc-badge:hover { opacity: 0.9; color: inherit; }

.anpc-badge__logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.anpc-flag {
  display: inline-flex;
  width: 22px;
  height: 13px;
  border-radius: 2px;
  overflow: hidden;
}

.anpc-flag i { flex: 1; }
.anpc-flag i:nth-child(1) { background: #002B7F; }
.anpc-flag i:nth-child(2) { background: #FCD116; }
.anpc-flag i:nth-child(3) { background: #CE1126; }

.anpc-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #1a237e;
  letter-spacing: 0.06em;
  line-height: 1;
}

.anpc-badge__text {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a237e;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.anpc-badge__btn {
  flex-shrink: 0;
  background: #1d4ed8;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
}

.footer-col__title {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  margin: 0 0 26px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 8px; }

/* formularele de cereri (retur / schimb / contact) — stilul site-ului */
.cb-req-form {
  max-width: 560px;
  margin: 26px 0;
  display: grid;
  gap: 12px;
}

.cb-req-form label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.cb-req-form input,
.cb-req-form select,
.cb-req-form textarea {
  width: 100%;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 10px 12px;
  font-size: 13.5px;
  outline: none;
  background: #fff;
}

.cb-req-form input:focus,
.cb-req-form select:focus,
.cb-req-form textarea:focus { border-color: #111; }

.cb-req-form textarea { min-height: 110px; resize: vertical; }

.cb-req-form button[type="submit"] {
  justify-self: start;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 11px 24px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.cb-req-form button[type="submit"]:hover { opacity: 0.85; }
.cb-req-form button[type="submit"]:disabled { opacity: 0.5; cursor: wait; }

.js-req-msg { margin: 2px 0 0; font-size: 13.5px; color: #12b76a; min-height: 18px; }
.js-req-msg.is-error { color: #dc2626; }

.cb-req-hp { position: absolute !important; left: -9999px; }

/* FAQ — acordeoane ca în referință: întrebare bold + săgeată ⌄ care se rotește */
.cb-faq { max-width: 780px; margin: 10px auto 34px; }

.cb-faq details {
  border-bottom: 1px solid #e5e5e5;
}

.cb-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 40px 19px 0;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  position: relative;
}

.cb-faq summary::-webkit-details-marker { display: none; }

.cb-faq summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.cb-faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }

.cb-faq details p { margin: 0 0 18px; font-size: 13.5px; font-weight: 400; line-height: 1.65; color: #333; }

/* titlul secțiunii FAQ — ca „NOUTĂȚI" (centrat, spațiat, cu linia sub) */
.cb-faq-head { text-align: center; margin: 34px 0 8px; }

.cb-faq-title {
  display: inline-block;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  padding: 0 28px 14px;
  border-bottom: 3px solid #111;
}

/* titlurile paginilor Întrebări frecvente (82) și Contact (83) — ca „NOUTĂȚI" */
.page-id-82 .entry > .page-title,
.page-id-83 .entry > .page-title {
  display: block;
  text-align: center;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 4px auto 26px;
  width: fit-content;
  padding: 0 28px 14px;
  border-bottom: 3px solid #111;
}

/* intro-ul paginii de contact — text Light, centrat sub titlu */
.page-id-83 .entry > p:first-of-type {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: #444;
  max-width: 560px;
  margin: 0 auto 8px;
}

/* ── „Completează ținuta" (mini-coș) ── */
.cd-upsell {
  padding: 14px 18px 6px;
  border-top: 1px solid var(--color-border);
}

.cd-upsell__title {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 10px;
}

.cd-upsell__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }

.cd-upsell__list li { display: flex; align-items: center; gap: 10px; min-width: 0; } /* min-width:0 — altfel titlul nowrap lățește rândul și taie butonul Vezi */

.cdu-thumb img {
  width: 44px;
  height: 58px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.cdu-info { flex: 1; min-width: 0; }

.cdu-name {
  display: block;
  font-size: 13.5px;
  font-weight: 400;
  color: #111;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cdu-price { font-size: 13.5px; font-weight: 400; color: #444; }
.cdu-price del { color: #9ca3af; margin-right: 4px; }

.cdu-go {
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid #111;
  border-radius: 2px;
  padding: 6px 10px;
  color: #111;
  transition: all 0.15s ease;
}

.cdu-go:hover { background: #111; color: #fff; opacity: 1; }
button.cdu-go { background: #fff; cursor: pointer; font-family: inherit; }

/* mărimile din „Completează ținuta" — un click adaugă direct în coș */
.cdu-sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }

.cdu-size {
  min-width: 28px;
  height: 26px;
  padding: 0 6px;
  border: 1px solid #cfcfcf;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cdu-size:hover { border-color: #111; background: #111; color: #fff; }
.cdu-size.is-loading, button.cdu-go.is-loading { opacity: 0.45; cursor: wait; }

/* progresul spre transportul gratuit (mini-coș) */
.cdf-ship { margin-bottom: 14px; }
.cdf-ship__txt { font-size: 13.5px; margin: 0 0 7px; color: #222; }
.cdf-ship__bar { display: block; height: 6px; background: #eee; border-radius: 3px; overflow: hidden; }
.cdf-ship__bar span { display: block; height: 100%; background: #111; border-radius: 3px; transition: width 0.4s ease; }
.cdf-ship.is-done .cdf-ship__txt { color: #15803d; font-weight: 600; }
.cdf-ship.is-done .cdf-ship__bar span { background: #16a34a; }

/* ── „Anunță-mă când revine în stoc" (pagina de produs) ── */
.pp-restock {
  margin: 12px 0 4px;
  padding: 14px 16px;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  background: #fafafa;
}

.pp-restock__text { font-size: 13.5px; font-weight: 400; color: #444; margin: 0 0 10px; }

.pp-restock__form { display: flex; flex-wrap: wrap; gap: 8px; }

.pp-restock__form input[type="email"] {
  flex: 1;
  min-width: 180px;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 9px 12px;
  font-size: 13.5px;
  outline: none;
  background: #fff;
}

.pp-restock__form input[type="email"]:focus { border-color: #111; }

.pp-restock__form button {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.pp-restock__form button:hover { opacity: 0.85; }
.pp-restock__form button:disabled { opacity: 0.5; cursor: wait; }

.pp-restock__form .js-req-msg { width: 100%; margin: 0; min-height: 0; }

/* ── Pagina 404 ── */
.err-404 { text-align: center; padding: 26px 0 54px; }

.err-404__code {
  font-size: 88px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #111318;
  line-height: 1;
  margin: 18px 0 10px;
}

.err-404__title {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 auto 16px;
  width: fit-content;
  padding: 0 28px 14px;
  border-bottom: 3px solid #111;
}

.err-404__text {
  font-size: 14px;
  font-weight: 400;
  color: #444;
  max-width: 480px;
  margin: 0 auto 26px;
  line-height: 1.8;
}

.err-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.err-404__btn {
  display: inline-block;
  border: 1px solid #111;
  padding: 11px 26px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  color: #111;
  transition: all 0.15s ease;
}

.err-404__btn:hover { background: #111; color: #fff; opacity: 1; }

.err-404__btn--dark { background: #111; color: #fff; }
.err-404__btn--dark:hover { opacity: 0.85; }

.err-404__suggest { margin-top: 48px; text-align: left; }
.err-404__suggest .featured-grid { margin-top: 26px; }

/* rândul cu datele firmei — în josul footerului */
/* aceeași culoare și dimensiune ca linkurile din footer */
.footer-firm {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  margin: 10px 0 2px;
}

/* descrierea categoriei — sub titlul din magazin */
.shop-desc {
  max-width: 640px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 13.5px;
  font-weight: 400;
  color: #555;
  line-height: 1.8;
}

/* ── Toolbar magazin (număr produse + sortare) ── */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
}

.shop-count {
  font-size: 13.5px;
  font-weight: 400;
  color: #6b7280;
  letter-spacing: 0.04em;
}

.shop-sort {
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  background-color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 400;
  color: #111318;
  padding: 8px 32px 8px 12px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

.shop-sort:focus { border-color: #111; }

/* ── Paginile de conținut din footer (legale, formulare, urmărire colet) ──
   clasa cb-content-page vine din body_class (functions.php); doar copiii
   direcți ai lui .entry, ca să nu atingem interiorul formularelor */
.cb-content-page .entry {
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 34px;
}

.cb-content-page .entry > .page-title {
  display: block;
  text-align: center;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 4px auto 30px;
  width: fit-content;
  padding: 0 28px 14px;
  border-bottom: 3px solid #111;
}

.cb-content-page .entry > p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  color: #444;
  margin: 0 0 14px;
}

/* secțiunile — aceeași convenție ca la checkout și pe pagina de contact */
.cb-content-page .entry > h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16.5px;
  font-weight: 400;
  color: #444;
  letter-spacing: 0.01em;
  margin: 32px 0 14px;
}

.cb-content-page .entry > h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e3e3e3;
}

.cb-content-page .entry > ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.cb-content-page .entry > ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #444;
}

.cb-content-page .entry > ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 4px;
  height: 4px;
  background: #111318;
}

.cb-content-page .entry > p a,
.cb-content-page .entry > ul a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* tabelul din Ghid de mărimi refolosește EXACT clasele din modalul de produs
   (.size-table-wrap / .size-table) — doar spațierea față de restul paginii e proprie */
.cb-content-page .entry .size-table-wrap { margin: 0 0 18px; }

.cb-content-page .entry > p strong,
.cb-content-page .entry > ul strong { font-weight: 500; }

/* ── Pagina de contact ── */
.cb-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin: 26px 0 10px;
}

.cb-contact-cards { display: grid; gap: 12px; }

.cb-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 14px 16px;
  color: #111;
}

a.cb-contact-card:hover { border-color: #111; opacity: 1; }

.cb-contact-card svg { width: 21px; height: 21px; flex-shrink: 0; color: #111; }

.cb-contact-card__label { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #9ca3af; margin-bottom: 3px; }
.cb-contact-card__value { display: block; font-size: 14px; font-weight: 400; }

.cb-contact-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 2px;
}

.cb-contact-wa img { width: 18px; height: 18px; display: block; }
.cb-contact-wa:hover { color: #fff; opacity: 0.92; }

.cb-contact-forms { border: 1px solid #dbdbdb; border-radius: 2px; padding: 18px 18px 6px; margin-top: 16px; }

.cb-contact-forms h3 {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: #111;
}

.cb-contact-forms p { font-size: 13.5px; font-weight: 400; line-height: 1.6; margin: 0 0 10px; color: #333; }

.cb-form-link {
  display: inline-block;
  border: 1px solid #111;
  border-radius: 2px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 16px;
}

.cb-form-link:hover { background: #111; color: #fff; opacity: 1; }

.cb-firm-card { border: 1px solid #dbdbdb; border-radius: 2px; padding: 16px; margin-top: 16px; font-size: 13.5px; font-weight: 400; line-height: 1.7; color: #333; }
.cb-firm-card strong { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }

/* subtitlul „Scrie-ne un mesaj" — ca titlurile de secțiune din checkout */
.cb-contact-grid h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16.5px;
  font-weight: 400;
  color: #444;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}

.cb-contact-grid h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e3e3e3;
}

.cb-contact-social { display: flex; gap: 18px; margin-top: 18px; }
.cb-contact-social img { width: 20px; height: 20px; display: block; }
.cb-contact-social a:hover { opacity: 0.6; }

.cb-gdpr-note { font-size: 13.5px; font-weight: 400; color: #6b7280; margin: 4px 0 0; }
.cb-gdpr-note a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 800px) {
  .cb-contact-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* formularul de urmărire colet (pagina Urmărire colet) */
.track-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 14px;
  max-width: 560px;
}

.track-form__input {
  flex: 1 1 300px;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 11px 14px;
  font-size: 13.5px;
  outline: none;
}

.track-form__input:focus { border-color: #111; }

.track-form__btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.track-form__btn:hover { opacity: 0.85; }

.track-note { font-size: 13.5px; font-weight: 400; color: #6b7280; max-width: 560px; }

/* bannerele oficiale ANPC din footer (SAL + SOL) — imagini neatinse, doar dimensionate */
.footer-legal-badges { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-legal-badges img { display: block; width: 250px; max-width: 100%; height: auto; }
.footer-legal-badges a:hover { opacity: 0.9; }

/* prima coloană din footer = logo-ul alb + rețelele sociale dedesubt */
.footer-brand__logo { display: inline-block; }
.footer-brand .cb-logo { height: 50px; width: auto; display: block; }
.footer-brand .footer-social { margin-top: 18px; }

.footer-col a {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
}

.footer-bottom {
  text-align: center;
  margin-top: 52px;
}

.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.footer-lang .chev { width: 12px; height: 12px; }

.footer-powered {
  margin: 20px 0 0;
  font-size: 13.5px;
  font-weight: 400;
}

/* Butoanele plutitoare (chat + WhatsApp), colț dreapta-jos */
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 120;
}

/* Bannerul de consimțământ cookie — bară fixă jos, în limbajul site-ului
   (template-parts/cookie-consent.php; apare doar până la prima alegere) */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 135; /* peste WhatsApp (120), sub drawere (140+) */
  background: #fff;
  border-top: 1px solid #dbdbdb;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.07);
}

.cookie-bar__inner {
  max-width: 1130px;
  margin-inline: auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-bar__text {
  margin: 0;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
  color: #333;
  flex: 1 1 420px;
}

.cookie-bar__text a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.cookie-bar__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.cookie-bar__btn {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.cookie-bar__btn--dark { background: #111; color: #fff; border: 1px solid #111; }
.cookie-bar__btn--dark:hover { opacity: 0.85; }

/* „Doar necesare" are aceeași mărime și același contur ca „Accept toate" (refuzul la fel de ușor ca acordul) */
.cookie-bar__btn--ghost { background: #fff; color: #111; border: 1px solid #111; }
.cookie-bar__btn--ghost:hover { background: #f3f3f3; }

.cookie-bar__link {
  background: none;
  border: 0;
  padding: 10px 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* cât timp bannerul e afișat, WhatsApp-ul și bara sticky de pe produs urcă deasupra lui */
body.has-cookie-bar .floating-actions { bottom: calc(var(--cookie-bar-h, 0px) + 10px); }
body.has-cookie-bar .pp-sticky-bar { bottom: var(--cookie-bar-h, 0px); }

@media (max-width: 900px) {
  body.has-cookie-bar.sticky-bar-on .floating-actions { bottom: calc(var(--cookie-bar-h, 0px) + 84px); }
}

@media (max-width: 640px) {
  .cookie-bar__inner { padding: 14px 16px 12px; gap: 12px; }
  .cookie-bar__text { flex-basis: 100%; font-size: 13px; }
  .cookie-bar__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cookie-bar__btn { padding: 11px 8px; font-size: 12.5px; }
  .cookie-bar__link { grid-column: 1 / -1; order: 3; padding: 2px; font-size: 13px; }
}

/* fereastra „Setări cookie-uri" (aceeași bază ca popupurile .size-modal) */
.cookie-modal { z-index: 180; }
.cookie-modal .size-modal__box { width: min(500px, 94vw); }

.cookie-opt {
  display: block;
  padding: 14px 0;
  border-top: 1px solid #ececec;
  cursor: pointer;
}

div.cookie-opt { cursor: default; }

.cookie-opt__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.cookie-opt__head strong { font-size: 14.5px; font-weight: 700; }
.cookie-opt__desc { display: block; font-size: 13.5px; line-height: 1.55; color: #555; }
.cookie-opt__always { font-size: 12.5px; font-weight: 600; color: #2e7d46; }

/* comutator; selectorul e mai tare decât regulile de checkbox din checkout */
.cookie-modal input.cookie-switch[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  margin: 0;
  border-radius: 999px;
  background: #cfcfcf;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.cookie-modal input.cookie-switch[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}

.cookie-modal input.cookie-switch[type="checkbox"]:checked { background: #111; }
.cookie-modal input.cookie-switch[type="checkbox"]:checked::after { transform: translateX(18px); }
.cookie-modal input.cookie-switch[type="checkbox"]:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

.cookie-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid #ececec;
}

@media (max-width: 420px) {
  .cookie-modal__actions { grid-template-columns: 1fr; }
}

/* linkul „Setări cookie-uri" din footer — buton care arată ca linkurile din jur */
.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.footer-link-btn:hover { opacity: 0.7; }

/* lista cookie-urilor de pe pagina Politica de cookie-uri (template-parts/cookie-list.php) */
.cookie-table-wrap { overflow-x: auto; margin: 0 0 18px; }

.cookie-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.55;
  color: #444;
}

.cookie-table th,
.cookie-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid #e6e6e6;
}

.cookie-table th { font-weight: 700; color: #111; background: #f6f6f6; white-space: nowrap; }
.cookie-table code { font-size: 12.5px; word-break: break-word; }

/* pe telefon fiecare cookie devine un card (tabelul cu 4 coloane nu încape) */
@media (max-width: 640px) {
  .cookie-table { min-width: 0; }
  .cookie-table thead { display: none; }
  .cookie-table,
  .cookie-table tbody,
  .cookie-table tr,
  .cookie-table td { display: block; width: 100%; }
  .cookie-table tr { padding: 12px 0; border-bottom: 1px solid #e6e6e6; }
  .cookie-table td { padding: 2px 0; border: 0; }
  .cookie-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: #111; }
  .cookie-table td:first-child { margin-bottom: 4px; }
  .cookie-table code { font-weight: 700; color: #111; word-break: normal; overflow-wrap: anywhere; }
}

/* butonul „Comandă pe WhatsApp" — pastilă verde deasupra bulinelor */
.float-order-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366; /* verdele oficial WhatsApp */
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.float-order-wa img { display: block; width: 17px; height: 17px; }
.float-order-wa:hover { transform: translateY(-2px); opacity: 0.92; color: #fff; }


/* ==========================================================================
   13. RESPONSIVE
   ========================================================================== */
@media (max-width: 340px) {
  .site-branding .cb-logo { height: 30px !important; } /* telefoanele de 320px — altfel coșul iese din ecran */
}
@media (max-width: 860px) {
  .header-main { padding-inline: 16px; min-height: 64px; }
  /* iconițele complet lipite (gap 0 — stilizat de user); zona de atingere rămâne 33px */
  .header-icons { gap: 0; }
  .icon-btn svg { width: 21px; height: 21px; }
  /* logo-ul (3,9:1) la 37px are ~144px și rămâne centrat între meniu și cele 3 iconițe pe 375px */
  .site-branding .cb-logo { height: 37px; }
  .header-utility { padding: 10px 16px 0; gap: 12px; font-size: 13.5px; }
  .a-item::after { margin: 0 22px; }

  .site-footer { padding: 48px 20px 96px; }
  .footer-cols { grid-template-columns: 1fr; gap: 36px; }
  .footer-col__title { margin-bottom: 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   ZONA „CONTUL MEU"
   Pagina primește și CSS-ul WooCommerce (singura din site), deci
   selectorii sunt prefixați cu .woocommerce-account ca să câștige.
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-account .site-main .container { max-width: 1130px; }

.woocommerce-account .entry > .page-title,
.woocommerce-account .page-title {
  display: block;
  text-align: center;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 4px auto 30px;
  width: fit-content;
  padding: 0 28px 14px;
  border-bottom: 3px solid #111;
}

/* ── layout 2 coloane (doar când există meniul, adică logat) ── */
.woocommerce-account.logged-in .woocommerce {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 40px;
}

/* ── meniul lateral al contului ── */
.woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: auto; }

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; border-bottom: 1px solid #ececec; }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: none; }

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 400;
  color: #111318;
  text-decoration: none;
  transition: background 0.15s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: #f7f7f7; opacity: 1; }

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: #111318;
  color: #fff;
  font-weight: 500;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: #6b7280; }

/* ── conținutul din dreapta ── */
.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }

.woocommerce-account .woocommerce-MyAccount-content p {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.85;
  color: #444;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16.5px;
  font-weight: 400;
  color: #444;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}

.woocommerce-account .woocommerce-MyAccount-content h2::after,
.woocommerce-account .woocommerce-MyAccount-content h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e3e3e3;
}

/* ── tabele (comenzi, detalii comandă) ── */
.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
.woocommerce-account table.woocommerce-orders-table {
  width: 100%;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  border-collapse: collapse;
  margin: 0 0 22px;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
.woocommerce-account table.woocommerce-orders-table th {
  background: #f7f7f7;
  border-bottom: 1px solid #dbdbdb;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  text-align: left;
  padding: 11px 16px;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table td,
.woocommerce-account table.woocommerce-orders-table td {
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 400;
  color: #333;
  border-top: 1px solid #ececec;
  vertical-align: middle;
}

.woocommerce-account table.woocommerce-orders-table tbody tr:hover { background: #fbfbfb; }

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot td {
  background: #fff;
  font-size: 13.5px;
  text-transform: none;
  letter-spacing: 0;
  color: #111318;
}

/* ── butoane, uniforme cu restul site-ului ── */
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button.button,
.woocommerce-account .woocommerce-Button,
.woocommerce-account .woocommerce-form-login__submit,
.woocommerce-account .cb-acc-btn {
  display: inline-block;
  background: #111318;
  color: #fff;
  border: 1px solid #111318;
  border-radius: 2px;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account .woocommerce-Button:hover,
.woocommerce-account .woocommerce-form-login__submit:hover,
.woocommerce-account .cb-acc-btn:hover { background: #111318; color: #fff; opacity: 0.85; }

/* varianta secundară, cu contur */
.woocommerce-account .cb-acc-btn--ghost,
.woocommerce-account .woocommerce-orders-table .button.view {
  background: #fff;
  color: #111318;
  border: 1px solid #111318;
}

.woocommerce-account .cb-acc-btn--ghost:hover,
.woocommerce-account .woocommerce-orders-table .button.view:hover {
  background: #111318;
  color: #fff;
  opacity: 1;
}

/* ── formulare ── */
.woocommerce-account .woocommerce form .form-row,
.woocommerce-account .woocommerce-form-row { margin: 0 0 14px; padding: 0; }

.woocommerce-account .woocommerce form label,
.woocommerce-account .woocommerce-form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.woocommerce-account .woocommerce form .input-text,
.woocommerce-account .woocommerce-Input,
.woocommerce-account .woocommerce select {
  width: 100%;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13.5px;
  color: #111318;
  background: #fff;
  outline: none;
  box-sizing: border-box;
}

.woocommerce-account .woocommerce form .input-text:focus,
.woocommerce-account .woocommerce-Input:focus { border-color: #111; }

.woocommerce-account .woocommerce form .form-row-first,
.woocommerce-account .woocommerce form .form-row-last { width: 100%; float: none; }

.woocommerce-account fieldset {
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 18px;
  margin: 22px 0;
}

.woocommerce-account fieldset legend { font-size: 13.5px; font-weight: 600; padding: 0 8px; }

.woocommerce-account .woocommerce-form__label-for-checkbox { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; }
.woocommerce-account .woocommerce-form__input-checkbox { width: auto !important; accent-color: #111; }

/* formularul de autentificare, centrat, când nu ești logat */
.woocommerce-account:not(.logged-in) .woocommerce-form-login,
.woocommerce-account:not(.logged-in) .woocommerce-form-register {
  max-width: 430px;
  margin: 0 auto 40px;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 26px;
}

.woocommerce-account:not(.logged-in) .u-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.woocommerce-account .woocommerce-LostPassword { font-size: 13.5px; margin-top: 12px; }
.woocommerce-account .woocommerce-LostPassword a { text-decoration: underline; text-underline-offset: 3px; }

/* ── notificări WooCommerce ── */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
  border: 1px solid #dbdbdb;
  border-top: 2px solid #111318;
  border-radius: 2px;
  background: #fafafa;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #111318;
  list-style: none;
  margin: 0 0 20px;
}

.woocommerce-account .woocommerce-error { border-top-color: #c40000; }
.woocommerce-account .woocommerce-message { border-top-color: #12b76a; }
.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-info::before,
.woocommerce-account .woocommerce-error::before { display: none; }

/* ── adrese ── */
.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.woocommerce-account .woocommerce-Address { width: auto !important; float: none !important; border: 1px solid #dbdbdb; border-radius: 2px; padding: 18px; }
.woocommerce-account .woocommerce-Address-title h3 { margin-bottom: 10px; }
.woocommerce-account .woocommerce-Address address { font-style: normal; font-size: 13.5px; line-height: 1.8; color: #444; }

/* ── paginare ── */
.woocommerce-account .woocommerce-pagination ul { display: flex; gap: 6px; list-style: none; padding: 0; }
.woocommerce-account .woocommerce-pagination a,
.woocommerce-account .woocommerce-pagination span {
  display: block;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 7px 13px;
  font-size: 13.5px;
}
.woocommerce-account .woocommerce-pagination .current { background: #111318; color: #fff; border-color: #111318; }

/* ── mobil ── */
@media (max-width: 880px) {
  .woocommerce-account.logged-in .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; }
  .woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: none; border-right: 1px solid #ececec; flex: 1 1 auto; }
  .woocommerce-account .woocommerce-MyAccount-navigation li a { text-align: center; padding: 11px 14px; }
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table,
  .woocommerce-account table.woocommerce-orders-table { display: block; overflow-x: auto; }
}

/* ── urmărirea coletului, pe pagina comenzii ── */
.cb-order-track {
  border: 1px solid #dbdbdb;
  border-left: 3px solid #111318;
  border-radius: 2px;
  padding: 16px 18px;
  margin: 0 0 24px;
  background: #fafafa;
}

.cb-order-track__label { margin: 0 0 6px; font-size: 13.5px; font-weight: 400; color: #444; }
.cb-order-track__awb { margin: 0 0 12px; font-size: 13.5px; color: #111318; }
.cb-order-track__awb strong { letter-spacing: 0.06em; }

/* ── cererea de retur / schimb din contul clientului ── */
.cb-cerere {
  margin: 34px 0 0;
  border-top: 1px solid #ececec;
  padding-top: 26px;
}

.cb-cerere__intro { font-size: 13.5px; font-weight: 400; color: #444; margin: 0 0 16px; }

.cb-cerere__tabs { display: flex; gap: 10px; margin: 0 0 18px; }

.cb-cerere__tab {
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 9px 18px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cb-cerere__tab:hover { border-color: #111318; color: #111318; }
.cb-cerere__tab.is-active { background: #111318; border-color: #111318; color: #fff; }

.cb-cerere__form { max-width: 100%; }

.cb-cerere__produse {
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 14px 16px;
}

.cb-cerere__legend {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 10px;
}

.cb-cerere__prod {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
  font-weight: 400;
  color: #333;
  cursor: pointer;
}

.cb-cerere__prod input { width: auto !important; margin-top: 2px; accent-color: #111; }

/* ── tabelul cu cererile mele ── */
.cb-stare {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cb-stare--nou { background: #111318; color: #fff; }
.cb-stare--lucru { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.cb-stare--rezolvat { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

.cb-empty {
  border: 1px dashed #dbdbdb;
  border-radius: 2px;
  padding: 26px;
  text-align: center;
}

.cb-empty p { margin: 0 0 14px; }

/* ── mărimile mele ── */
.cb-marime-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 16px 18px;
  margin: 0 0 30px;
}

.cb-marime-form label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.cb-marime-form select { min-width: 190px; width: auto !important; }

.woocommerce-account .cb-istoric-table td strong { font-weight: 600; }

/* mărimea preferată, evidențiată pe pagina de produs */
.size-opt.is-pref { box-shadow: inset 0 0 0 2px #111318; }
.size-opt.is-pref::after {
  content: "★";
  font-size: 13.5px;
  margin-left: 4px;
  vertical-align: 1px;
}

/* ── căutarea comenzii fără cont (pagina Urmărire colet) ── */
.cb-lookup { margin: 10px 0 0; }

.cb-lookup__form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 16px 18px;
  background: #fafafa;
}

.cb-lookup__form > div { flex: 1 1 220px; }

.cb-lookup__form label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.cb-lookup__form input {
  width: 100%;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13.5px;
  background: #fff;
  outline: none;
  box-sizing: border-box;
}

.cb-lookup__form input:focus { border-color: #111; }

.cb-lookup__err {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: #c40000;
}

.cb-lookup__card {
  margin: 20px 0 0;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 20px;
}

.cb-lookup__nr {
  margin: 0 0 14px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111318;
}

.cb-lookup__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #ececec;
  font-size: 13.5px;
  color: #444;
}

.cb-lookup__row span { color: #6b7280; }
.cb-lookup__row strong { font-weight: 600; color: #111318; }

.cb-lookup__items {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}

.cb-lookup__items li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.9;
  color: #444;
}

.cb-lookup__items li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.8em;
  width: 4px;
  height: 4px;
  background: #111318;
}

.cb-lookup__note { font-size: 13.5px; color: #6b7280; margin: 12px 0 0; }

.cb-lookup__links { display: flex; gap: 18px; margin: 16px 0 0; }
.cb-lookup__links a { font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 560px) {
  .cb-lookup__form { flex-direction: column; align-items: stretch; }
  .cb-marime-form { flex-direction: column; align-items: stretch; }
  .cb-marime-form select { min-width: 0; width: 100% !important; }
}

/* ── panoul de control al contului ── */
.cb-dash-salut {
  font-size: 16.5px;
  font-weight: 500;
  color: #111318;
  margin: 0 0 4px;
}

.woocommerce-account .woocommerce-MyAccount-content .cb-dash-intro { margin: 0 0 22px; }

.cb-dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.cb-dash-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 18px;
}

.cb-dash-card__label {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
}

.woocommerce-account .woocommerce-MyAccount-content .cb-dash-card__val {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #111318;
  line-height: 1.3;
}

.woocommerce-account .woocommerce-MyAccount-content .cb-dash-card__val--big {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.woocommerce-account .woocommerce-MyAccount-content .cb-dash-card__sub {
  margin: 0;
  font-size: 13.5px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.6;
}

.cb-dash-card .cb-acc-btn { margin-top: auto; padding-top: 10px; }
.cb-dash-card > .cb-acc-btn { margin-top: 12px; }

/* zona de notificari trebuie sa ocupe tot randul, altfel ia prima celula
   a grilei si impinge continutul sub meniu */
.woocommerce-account.logged-in .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }

/* CAPCANA: clearfix-ul WooCommerce (.woocommerce::before/::after) devine GRID ITEM
   si ocupa prima celula, impingand meniul si continutul in celule gresite */
.woocommerce-account.logged-in .woocommerce::before,
.woocommerce-account.logged-in .woocommerce::after { display: none !important; }

/* spatiere si focus vizibil in blocurile de cerere din cont */
.cb-cerere__bloc > div + div { margin-top: 14px; }
.cb-cerere__bloc { margin-top: 16px; }
.woocommerce-account select:focus,
.woocommerce-account .cb-marime-form select:focus,
.cb-cerere__form select:focus,
.cb-cerere__form input:focus,
.cb-cerere__form textarea:focus { outline: 2px solid #111318; outline-offset: 1px; border-color: #111318; }
.cb-cerere__tab:focus-visible { outline: 2px solid #111318; outline-offset: 2px; }

/* ── pagina de autentificare / înregistrare (vizitator nelogat) ──
   WooCommerce dă coloanelor .col-1/.col-2 float + width 48%; într-o grilă
   asta le strânge la jumătate, de aceea trebuie resetate explicit. */
.woocommerce-account:not(.logged-in) .woocommerce > .u-columns,
.woocommerce-account:not(.logged-in) #customer_login {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 34px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto 40px;
  float: none;
}

.woocommerce-account:not(.logged-in) .u-columns > .col-1,
.woocommerce-account:not(.logged-in) .u-columns > .col-2,
.woocommerce-account:not(.logged-in) #customer_login > .col-1,
.woocommerce-account:not(.logged-in) #customer_login > .col-2 {
  width: auto !important;
  float: none !important;
  margin: 0;
}

/* clearfix-ul Woo devine element de grilă și strică ordinea coloanelor */
.woocommerce-account:not(.logged-in) .woocommerce > .u-columns::before,
.woocommerce-account:not(.logged-in) .woocommerce > .u-columns::after,
.woocommerce-account:not(.logged-in) #customer_login::before,
.woocommerce-account:not(.logged-in) #customer_login::after { display: none !important; }

.woocommerce-account:not(.logged-in) .u-column1 > h2,
.woocommerce-account:not(.logged-in) .u-column2 > h2,
.woocommerce-account:not(.logged-in) .u-columns h2 {
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111318;
  margin: 0 0 14px;
}

/* formularele umplu coloana, nu mai sunt centrate separat */
.woocommerce-account:not(.logged-in) .woocommerce-form-login,
.woocommerce-account:not(.logged-in) .woocommerce-form-register {
  max-width: none;
  margin: 0;
  padding: 24px;
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login .form-row,
.woocommerce-account:not(.logged-in) .woocommerce-form-register .form-row { margin-bottom: 16px; }

.woocommerce-account:not(.logged-in) .woocommerce-form-login label,
.woocommerce-account:not(.logged-in) .woocommerce-form-register label { line-height: 1.5; }

.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 400 !important;
  margin: 4px 0 14px;
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme input { width: auto !important; accent-color: #111; }

.woocommerce-account:not(.logged-in) .woocommerce-form-login__submit,
.woocommerce-account:not(.logged-in) .woocommerce-form-register__submit { width: 100%; text-align: center; }

/* nota de confidențialitate din formularul de înregistrare, aliniată la stânga
   (regula de la checkout o centrează și o micșorează) */
.woocommerce-account .woocommerce-privacy-policy-text p,
.woocommerce-account .woocommerce-form-register .woocommerce-privacy-policy-text p {
  text-align: left;
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.7;
  margin: 12px 0 16px;
}

.woocommerce-account .woocommerce-privacy-policy-text a { text-decoration: underline; text-underline-offset: 2px; }

/* mesajul „îți trimitem un link pe email" de deasupra butonului */
.woocommerce-account:not(.logged-in) .woocommerce-form-register > p:not(.form-row):not(.woocommerce-form-row) {
  font-size: 13.5px;
  color: #444;
  line-height: 1.7;
  margin: 0 0 14px;
}

@media (max-width: 700px) {
  .woocommerce-account:not(.logged-in) .woocommerce > .u-columns,
  .woocommerce-account:not(.logged-in) #customer_login { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ── autentificare (o singură coloană) și înregistrare (pagină separată) ── */
.cb-login,
.cb-inreg {
  max-width: 440px;
  margin: 0 auto 40px;
}

.woocommerce-account:not(.logged-in) .cb-login .woocommerce-form-login,
.cb-inreg .woocommerce-form-register {
  max-width: none;
  margin: 0;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 24px;
}

.cb-inreg .woocommerce-form-register .form-row { margin: 0 0 16px; }

.cb-inreg .woocommerce-form-register label,
.cb-login .woocommerce-form-login label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  line-height: 1.5;
}

.cb-inreg .woocommerce-form-register .input-text,
.cb-inreg .woocommerce-form-register .woocommerce-Input {
  width: 100%;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13.5px;
  background: #fff;
  outline: none;
  box-sizing: border-box;
}

.cb-inreg .woocommerce-form-register .input-text:focus { border-color: #111318; outline: 2px solid #111318; outline-offset: 1px; }

.cb-inreg__hint {
  display: block;
  margin: 6px 0 0;
  font-size: 13.5px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.6;
}

.cb-inreg .woocommerce-form-register__submit,
.cb-inreg .cb-acc-btn { width: 100%; text-align: center; }

/* caseta „Nu ai cont?" de sub formularul de autentificare */
.cb-login__nou {
  margin-top: 20px;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 20px 24px;
  text-align: center;
  background: #fafafa;
}

.cb-login__nou-titlu {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #111318;
}

.woocommerce-account .cb-login__nou-text,
.cb-login__nou-text {
  margin: 0 0 14px;
  font-size: 13.5px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.7;
}

.cb-login__nou .cb-acc-btn { display: inline-block; }
.cb-inreg .cb-login__nou { text-align: center; }
.cb-inreg .cb-login__nou .cb-acc-btn { width: auto; }

/* butoane și în afara zonei de cont (pagina de înregistrare e o pagină normală) */
.cb-acc-btn {
  display: inline-block;
  background: #111318;
  color: #fff;
  border: 1px solid #111318;
  border-radius: 2px;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.cb-acc-btn:hover { background: #111318; color: #fff; opacity: 0.85; }

.cb-acc-btn--ghost { background: #fff; color: #111318; }
.cb-acc-btn--ghost:hover { background: #111318; color: #fff; opacity: 1; }

/* titlul paginii de înregistrare, în stilul celorlalte pagini de conținut */
.page .entry > .page-title { }

/* ── pagina Adrese ──
   Clearfix-ul WooCommerce ocupa prima celula a grilei si arunca cardurile
   in coloane gresite (a treia oara aceeasi capcana). */
.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after,
.woocommerce-account .woocommerce-Address::before,
.woocommerce-account .woocommerce-Address::after,
.woocommerce-account .woocommerce-Address-title::before,
.woocommerce-account .woocommerce-Address-title::after { display: none !important; }

.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: start;
}

.woocommerce-account .woocommerce-Address {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* titlul cardului si linkul de editare, pe acelasi rand */
.woocommerce-account .woocommerce-Address-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #ececec;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3 {
  display: block;
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111318;
}

/* fara linia de sectiune in interiorul cardului */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2::after,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3::after { display: none; }

.woocommerce-account .woocommerce-Address-title a {
  float: none !important;
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 400;
  color: #111318;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.woocommerce-account .woocommerce-Address-title a:hover { opacity: 0.6; }

.woocommerce-account .woocommerce-Address address {
  font-style: normal;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.85;
  color: #444;
  margin: 0;
}

/* mesajul „inca nu ai configurat acest tip de adresa" */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address > p,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address address:empty + p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.7;
}

/* paragraful introductiv de deasupra cardurilor */
.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
  margin: 0 0 22px;
  color: #444;
}

@media (max-width: 620px) {
  .woocommerce-account .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); }
  .woocommerce-account .woocommerce-Address-title { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ═══════════════════════════════════════════════════════════════
   MENIUL CONTULUI — iconițe, bulină, dezautentificare separată
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  box-sizing: border-box;
}

.cb-nav-ico {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  opacity: 0.75;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a .cb-nav-ico { opacity: 1; }

.cb-nav-text { flex: 1; }

.cb-nav-badge {
  flex-shrink: 0;
  min-width: 19px;
  height: 19px;
  padding: 0 6px;
  border-radius: 99px;
  background: #E1123B;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 19px;
  text-align: center;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a .cb-nav-badge { background: #fff; color: #111318; }

/* dezautentificarea, scoasă din navigare */
.cb-acc-logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 2px;
  min-height: 44px;
  font-size: 13.5px;
  font-weight: 400;
  color: #6b7280;
}

.cb-acc-logout:hover { color: #111318; opacity: 1; }
.cb-acc-logout .cb-nav-ico { width: 16px; height: 16px; }

/* ── mobil: bară orizontală derulabilă ── */
@media (max-width: 880px) {
  .woocommerce-account .woocommerce-MyAccount-navigation {
    position: relative;
    margin-bottom: 4px;
  }

  .cb-nav-scroll {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-bottom: 1px solid #dbdbdb;
    padding-bottom: 10px;
  }

  .cb-nav-scroll::-webkit-scrollbar { display: none; }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: max-content;
    min-width: 100%;
    border: none;
    border-radius: 0;
    overflow: visible;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
    border: none;
    scroll-snap-align: start;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li a {
    border: 1px solid #dbdbdb;
    border-radius: 2px;
    padding: 10px 15px;
    white-space: nowrap;
    background: #fff;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: #111318;
    color: #fff;
    border-color: #111318;
  }

  .cb-nav-text { flex: 0 0 auto; }

  /* degrade la marginea dreaptă, indiciu că mai sunt secțiuni */
  .woocommerce-MyAccount-navigation::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 38px;
    height: calc(100% - 11px);
    pointer-events: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 78%);
    opacity: 1;
    transition: opacity 0.2s ease;
  }

  .woocommerce-MyAccount-navigation.is-scroll-end::after { opacity: 0; }

  .cb-acc-logout { margin-top: 10px; }
}


/* pe ecrane inguste, meniul scris cu majuscule si spatiat nu incape pe un rand
   la randul cu dropdown, asa ca il micsoram usor (aceeasi tipografie) */
@media (max-width: 420px) {
  .drawer__list a { font-size: 15.5px; }
  .drawer__sub a { font-size: 14px; }
}

/* subcategoriile din meniu au aceeasi tipografie ca restul meniului */
.drawer__sub a { text-transform: uppercase; letter-spacing: 0.14em; }
