:root {
  /* Paletă „Natural & lemn" (Montessori). Numele vechi de token sunt păstrate ca alias,
     ca toate utilizările existente var(--purple/--orange/--green) să preia noile culori calde. */
  --terracotta: #c0794a;   /* primar — lemn/teracotă */
  --terracotta-mid: #cd8b5d;
  --terracotta-dark: #a5613a;
  --sage: #7c9a6e;         /* secundar — verde salvie */
  --sage-bright: #8fae80;
  --sage-dark: #5f7a52;
  --honey: #e8b04b;        /* accent — galben miere */
  --honey-soft: #f0c572;
  --clay: #c0492f;         /* reduceri / accent cald */

  /* Alias-uri către numele vechi — NU schimba: propagă paleta în tot CSS-ul existent */
  --purple: var(--terracotta);
  --purple-mid: var(--terracotta-mid);
  --purple-dark: var(--terracotta-dark);
  --orange: var(--honey);
  --orange-soft: var(--honey-soft);
  --green: var(--sage);
  --green-bright: var(--sage-bright);
  --green-dark: var(--sage-dark);
  --blue-feature: #6e9b8f;  /* teal-sage cald în loc de albastru rece */
  --yellow: var(--honey);
  --yellow-box: var(--honey-soft);

  --text: #3d352e;          /* maro-cald închis */
  --muted: #8a7e70;         /* maro estompat */
  --bg: #faf6ef;            /* crem cald */
  --white: #fff;
  --surface: #fff;
  --nav-link: #5a4f45;
  --page-bg-1: #faf6ef;
  --page-bg-2: #fdfbf6;
  --page-bg-3: #f6f0e6;
  --banner-cta-1: #f0c572;
  --banner-cta-2: #e8b04b;
  --banner-cta-text: #3d352e;
  --price-sale: var(--clay);
  --brand-rgb: 192, 121, 74;
  --brand-dark-rgb: 165, 97, 58;

  /* Tipografie */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --radius: 18px;
  --radius-pill: min(999px, calc(var(--radius) * 50));
  --radius-md: max(0px, calc(var(--radius) * 0.65));
  --radius-sm: max(0px, calc(var(--radius) * 0.4));
  --radius-lg: max(0px, calc(var(--radius) * 1.2));
  --radius-xl: max(0px, calc(var(--radius) * 1.4));
  /* Umbre calde și difuze (nu gri-rece) */
  --shadow: 0 10px 34px rgba(var(--brand-rgb), 0.14), 0 2px 8px rgba(61, 53, 46, 0.06);
  --shadow-soft: 0 6px 18px rgba(61, 53, 46, 0.08);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  overscroll-behavior-x: none;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at top center, color-mix(in srgb, var(--orange) 10%, transparent) 0%, color-mix(in srgb, var(--purple) 4%, transparent) 26%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, var(--page-bg-1) 0%, var(--page-bg-2) 34%, var(--page-bg-3) 100%);
}

/* Titluri cu serif cald (Fraunces) pentru aerul „natural" */
h1, h2, h3, h4, h5,
.shop-hero__title, .section-title, .product-title, .admin-page-title {
  font-family: var(--font-head);
  letter-spacing: -0.01em;
}

main {
  overflow-x: hidden;
  max-width: 100%;
}

a { color: inherit; text-decoration: none; }

img,
video {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  min-width: 0;
  box-sizing: border-box;
}

/* Spațiu lateral în pagină — fără dublare pe header (acolo rămâne doar .site-header__inner) */
.site-frame .container:not(.site-header__inner) {
  padding-left: clamp(1rem, 3.5vw, 1.85rem);
  padding-right: clamp(1rem, 3.5vw, 1.85rem);
}

/* Spațiu lavandă în jurul site-ului */
.page-shell--frame {
  padding: 18px max(14px, env(safe-area-inset-right)) 34px max(14px, env(safe-area-inset-left));
  box-sizing: border-box;
  max-width: 100%;
}

/* Card unic: header + pagini + footer, fără „fâșie” între ele */
.site-frame {
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 18px 55px rgba(var(--brand-rgb), 0.12),
    0 4px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(var(--brand-rgb), 0.08);
}

.store-card {
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 18px 55px rgba(var(--brand-rgb), 0.12),
    0 4px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(var(--brand-rgb), 0.08);
}

/* Conținutul paginilor în interiorul site-frame: fără al doilea „card” alb */
.store-card--framed {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  max-width: none;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.1);
  position: relative;
  top: 0;
  z-index: 50;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  box-sizing: border-box;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 0.75rem;
  padding: 0.9rem clamp(0.85rem, 3vw, 1.35rem) 1rem;
  min-width: 0;
  max-width: 100%;
}

.site-header .logo {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.site-header__end {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.site-header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--purple) 18%, var(--surface));
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--purple, var(--text));
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.site-header__menu-toggle:hover {
  background: color-mix(in srgb, var(--purple) 6%, var(--surface));
  border-color: color-mix(in srgb, var(--purple) 45%, var(--surface));
}

.site-header__menu-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.site-header.is-menu-open .site-header__menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .site-header__menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .site-header__menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 767px) {
  .site-header__menu-toggle {
    display: inline-flex;
  }

  .site-header .nav--main {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    flex: 1 1 100%;
    order: 10;
    gap: 0.5rem;
    padding-top: 0.55rem;
    margin-top: 0.15rem;
    border-top: 1px solid rgba(var(--brand-rgb), 0.12);
  }

  .site-header.is-menu-open .nav--main {
    display: flex;
  }

  .site-header .nav--main a {
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
  }

  .btn-fav-header__label {
    display: none;
  }

  .btn-fav-header {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  .btn-fav-header__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    font-size: 0.72rem;
  }
}

@media (min-width: 768px) {
  .site-header__inner {
    gap: 1rem 1.5rem;
    padding: 1rem clamp(1.1rem, 3.5vw, 1.85rem) 1.1rem;
  }

  .site-header .logo {
    flex: 0 1 auto;
  }

  .site-header .nav--main {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    order: unset;
    width: auto;
    padding-top: 0;
    margin-top: 0;
    border-top: none;
  }

  .site-header__end {
    flex: 0 0 auto;
    gap: 0.65rem 1.25rem;
  }
}

.logo {
  font-weight: 900;
  font-size: clamp(1.15rem, 4.2vw, 2.25rem);
  letter-spacing: 0.02em;
  background: linear-gradient(95deg, var(--purple) 0%, var(--purple-mid) 45%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.nav {
  display: flex;
  gap: 0.35rem 1.25rem;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--nav-link);
  row-gap: 0.5rem;
}

.nav a {
  padding: 0.45rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--purple);
  border-bottom-color: rgba(var(--brand-rgb), 0.4);
}

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  background: #25d366;
  color: #fff !important;
  padding: 0.38rem 0.78rem;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 800;
  border-bottom: none !important;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.35);
}

.nav-whatsapp:hover {
  filter: brightness(1.06);
  color: #fff !important;
  border-bottom: none !important;
}

/* Buton flotant WhatsApp (dreapta-jos), pe toate paginile cu footer shop */
.floating-whatsapp {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-whatsapp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.floating-whatsapp__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

@media (max-width: 480px) {
  .floating-whatsapp {
    width: 56px;
    height: 56px;
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(5.5rem, env(safe-area-inset-bottom));
  }
}

.site-header .nav--main {
  gap: 0.35rem 0.6rem;
}

/* Toate link-urile din navigarea principala se afiseaza ca pill-uri,
   asemenea butonului "Favorite" — pentru a avea un design unitar. */
.site-header .nav--main a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--nav-link, var(--text));
  border: 1px solid color-mix(in srgb, var(--purple) 18%, var(--surface));
  border-bottom: 1px solid color-mix(in srgb, var(--purple) 18%, var(--surface));
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.site-header .nav--main a:hover {
  color: var(--purple);
  background: color-mix(in srgb, var(--purple) 6%, var(--surface));
  border-color: color-mix(in srgb, var(--purple) 45%, var(--surface));
  border-bottom-color: color-mix(in srgb, var(--purple) 45%, var(--surface));
  transform: translateY(-1px);
}

.btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(180deg, var(--purple-mid), var(--purple));
  color: var(--white);
  padding: 0.72rem 1rem;
  border-radius: var(--radius);
  font-weight: 800;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(var(--brand-rgb), 0.35);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .btn-cart {
    padding: 0.55rem 0.72rem;
    font-size: 0.88rem;
    border-radius: var(--radius);
  }
}

.btn-cart:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(var(--brand-rgb), 0.4);
  color: var(--white);
  text-decoration: none;
}

.btn-cart__ico { font-size: 1rem; }

/* Dialog „Adăugat în coș” (mod multi) */
.cart-added-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.cart-added-modal.is-open {
  display: flex;
}

.cart-added-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
}

.cart-added-modal__box {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  padding: 1.5rem 1.35rem 1.4rem;
  box-shadow: 0 22px 50px rgba(var(--brand-dark-rgb), 0.22), 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(var(--brand-rgb), 0.12);
  text-align: center;
}

.cart-added-modal__icon {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.cart-added-modal__title {
  margin: 0 0 0.45rem;
  font-size: 1.22rem;
  font-weight: 900;
  color: #24324a;
  line-height: 1.25;
}

.cart-added-modal__product {
  margin: 0 0 1.15rem;
  font-size: 0.98rem;
  color: #5f6b76;
  line-height: 1.45;
  font-weight: 600;
}

.cart-added-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-cart-added {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  border: none;
  box-sizing: border-box;
}

.btn-cart-added--primary {
  background: linear-gradient(180deg, var(--purple-mid), var(--purple));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(var(--brand-dark-rgb), 0.25);
}

.btn-cart-added--primary:hover {
  filter: brightness(1.05);
}

.btn-cart-added--secondary {
  background: #f8fafc;
  color: #374151;
  border: 1px solid #e2e8f0;
}

.btn-cart-added--secondary:hover {
  background: #f1f5f9;
}

.hero {
  padding: 1.1rem 0 0.7rem;
  min-width: 0;
  max-width: 100%;
}

/* Mobil: titlu+subtitlu+text → imagine+comandă; desktop: stânga text, dreapta imagine+comandă */
.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: stretch;
  min-width: 0;
}

.hero-main-copy,
.hero-side {
  display: contents;
}

.hero-copy--intro {
  order: 1;
}

.hero-visual {
  order: 2;
}

.hero-copy--cta {
  order: 4;
}

.hero-lead-wrap--grid {
  order: 3;
}

@media (min-width: 900px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    gap: 2rem 2.5rem;
    align-items: start;
  }

  .hero-main-copy,
  .hero-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
  }

  .hero-main-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-side {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }
}

.hero-copy {
  max-width: 100%;
  min-width: 0;
  padding-top: 0.5rem;
  overflow-wrap: anywhere;
}

.hero-copy--cta {
  padding-top: 0;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  margin: 0 0 0.9rem;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.hero-title__p1 { color: var(--purple); }
.hero-title__p2 { color: var(--green); }
.hero-title__p3 { color: var(--orange); }

.hero-title__comma {
  color: var(--text);
  font-weight: 800;
}

.hero .subtitle {
  font-size: clamp(1.15rem, 2vw, 1.9rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.55rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.hero p.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  max-width: none;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.hero .hero-lead-wrap,
.hero .hero-lead-wrap--grid {
  margin: 0;
  max-width: none;
}

.hero .hero-lead-wrap .catalog-hero__text-p,
.hero .hero-lead-wrap--grid .catalog-hero__text-p {
  margin: 0 0 0.85em;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.hero .hero-lead-wrap .catalog-hero__text-p:last-child,
.hero .hero-lead-wrap--grid .catalog-hero__text-p:last-child {
  margin-bottom: 0;
}

/* Rich text (Quill în admin): paragrafe, liste, titluri — hero + tab-uri „Detalii produs” */
.product-prose {
  font-family: inherit;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.65;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.product-prose > *:first-child {
  margin-top: 0;
}

.product-prose > *:last-child {
  margin-bottom: 0 !important;
}

.product-prose p {
  margin: 0 0 0.85em;
}

.product-prose li > p {
  margin: 0.35em 0;
}

.product-prose ul,
.product-prose ol {
  margin: 0 0 0.85em;
  padding-left: 1.35rem;
  box-sizing: border-box;
}

.product-prose ul {
  list-style-type: disc;
  list-style-position: outside;
}

.product-prose ol {
  list-style-type: decimal;
  list-style-position: outside;
}

.product-prose li {
  margin: 0.35em 0;
  padding-left: 0.15em;
  display: list-item;
}

.product-prose ul ul,
.product-prose ol ol,
.product-prose ul ol,
.product-prose ol ul {
  margin-top: 0.35em;
  margin-bottom: 0.35em;
}

.product-prose h2,
.product-prose h3 {
  margin: 1em 0 0.5em;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
}

.product-prose h2:first-child,
.product-prose h3:first-child {
  margin-top: 0;
}

.product-prose blockquote {
  margin: 0.65em 0;
  padding: 0.6rem 0.85rem;
  border-left: 4px solid rgba(var(--brand-rgb), 0.35);
  background: rgba(var(--brand-rgb), 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
}

.product-prose a {
  color: var(--purple-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-prose a:hover {
  color: var(--purple);
}

.product-prose strong,
.product-prose b {
  font-weight: 800;
  color: var(--text);
}

.hero-main-zoom {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: inherit;
  font: inherit;
  color: inherit;
  text-align: left;
}

.hero-main-zoom:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.hero-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.hero-lightbox[hidden] {
  display: none !important;
}

.hero-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  cursor: pointer;
}

.hero-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-lightbox__close:hover {
  background: #fff;
}

.hero-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-lightbox__nav--prev { left: 0.75rem; }
.hero-lightbox__nav--next { right: 0.75rem; }
.hero-lightbox__nav:hover { background: #fff; }

.hero-lightbox__img {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1100px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.price-box {
  background: linear-gradient(165deg,
    color-mix(in srgb, var(--banner-cta-1) 45%, #fff) 0%,
    var(--banner-cta-1) 45%,
    var(--banner-cta-2) 100%);
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px color-mix(in srgb, var(--banner-cta-2) 32%, transparent);
  margin-bottom: 1rem;
  border: 1px solid color-mix(in srgb, var(--banner-cta-2) 55%, transparent);
}

/* Aceeași lățime ca rândul „Cumpără acum”; centrat în coloana de text */
.hero-copy .price-box {
  display: block;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  text-align: center;
  padding: 1.1rem 1.35rem 1.15rem;
}

.hero-copy .product-purchase-card .price-box,
.hero-copy--cta .product-purchase-card .price-box {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0 0 0.85rem;
}

.hero-copy .product-purchase-card .price-box__line,
.hero-copy--cta .product-purchase-card .price-box__line {
  justify-content: flex-start;
}

.price-box__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}

.price-box__label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}

.price-box__price-kind {
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.price-box__promo-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
}

.price-box__current {
  font-weight: 800;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  color: var(--price-sale);
}

.price-box__old {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 1rem;
  margin-top: 0.4rem;
  font-weight: 600;
}

.hero-copy .price-box__old {
  font-size: 1.08rem;
  color: #4b5563;
  font-weight: 700;
  margin-top: 0.55rem;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  letter-spacing: 0.01em;
}

.hero-copy .price-box__save {
  margin-top: 0.65rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--green-dark, #15803d);
  background: color-mix(in srgb, var(--green, #22c55e) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--green, #22c55e) 35%, transparent);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.85rem;
  display: inline-block;
}

.product-delivery-info {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 1rem;
  padding: 0.15rem 0 0.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text);
}

.product-purchase-card .product-delivery-info {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.product-delivery-info__row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.product-delivery-info__row--eta .product-delivery-info__icon {
  font-size: 1.15rem;
  line-height: 1.2;
}

.product-delivery-info__icon {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--green-dark, #15803d);
  border: 1.5px solid color-mix(in srgb, var(--green, #22c55e) 55%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--green, #22c55e) 10%, #fff);
}

.product-delivery-info__row--eta .product-delivery-info__icon {
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  border-radius: 0;
  color: inherit;
  font-weight: 400;
}

.product-delivery-info__text strong {
  font-weight: 800;
}

.product-variant-picker {
  margin-bottom: 0.9rem;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.product-variant-picker__title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.product-variant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.product-variant-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.55rem 0.75rem;
  min-width: 0;
  max-width: 100%;
  border-radius: var(--radius);
  border: 2px solid #e5e7eb;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.product-variant-chip:hover {
  border-color: color-mix(in srgb, var(--accent, #6366f1) 40%, #e5e7eb);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.product-variant-chip.is-selected {
  border-color: var(--accent, #6366f1);
  background: color-mix(in srgb, var(--accent, #6366f1) 10%, var(--surface));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, #6366f1) 28%, transparent);
}

.product-variant-chip.is-unavailable:not(.is-selected) {
  opacity: 0.58;
}

.product-variant-chip__attrs {
  font-weight: 700;
  text-align: left;
}

.product-variant-chip__stock {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.product-variant-chip__stock--ok {
  color: var(--green-dark, #15803d);
}

.product-variant-chip__stock--bad {
  color: #b91c1c;
}

.product-variant-chip__stock--warn {
  color: #b45309;
}

.product-variant-chip__stock--muted {
  color: var(--muted);
}

.hero-buy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0.75rem;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buy__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 0.65rem;
  width: 100%;
  align-items: stretch;
}

.hero-buy__row:not(:has(.btn-hero--whatsapp)) {
  grid-template-columns: 1fr;
}

.hero-buy__form {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.hero-buy__row .btn-hero {
  width: 100%;
  min-height: 58px;
  padding: 1rem 1rem;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.2;
}

.hero-buy__row .btn-hero__text {
  text-align: center;
  line-height: 1.15;
}

.hero-buy__row .btn-hero__icon {
  flex-shrink: 0;
}

.hero-buy__row .btn-hero__text-full {
  display: none;
}

@media (min-width: 400px) {
  .hero-buy__row .btn-hero {
    min-height: 58px;
    font-size: 1.08rem;
    padding: 1rem 0.85rem;
  }

  .hero-buy__row .btn-hero__text-short {
    display: none;
  }

  .hero-buy__row .btn-hero__text-full {
    display: inline;
  }
}

.input-qty {
  width: 84px;
  height: 58px;
  flex-shrink: 0;
  padding: 0.65rem 0.35rem;
  border-radius: var(--radius);
  border: 2px solid #e0e0e0;
  font-size: 1.1rem;
  text-align: center;
  font-weight: 700;
  font-family: inherit;
}

.btn-hero {
  flex: none;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--purple-mid) 75%, #fff) 0%, var(--purple-mid) 35%, var(--purple) 70%, var(--purple-dark) 100%);
  color: var(--white);
  padding: 1rem 1.65rem;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1.18rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(var(--brand-dark-rgb), 0.38);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.btn-hero:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 28px rgba(var(--brand-rgb), 0.45);
}

.btn-hero--whatsapp {
  margin-top: 0;
  background: linear-gradient(180deg, #34d97c 0%, #25d366 45%, #1faa53 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(var(--brand-dark-rgb), 0.38);
}

.btn-hero--whatsapp:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 28px rgba(var(--brand-rgb), 0.45);
}

.btn-hero--whatsapp .btn-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero__icon { font-size: 1.2rem; }

/* Butoane magazin — raza din Admin → Site (theme_border_radius → --radius / --radius-pill) */
.page-shell--frame :is(
  .btn-hero,
  .btn-banner,
  .btn-cart,
  .btn-cart-added,
  .btn-checkout,
  .btn-checkout-confirm,
  .btn-card-primary,
  .btn-card-secondary,
  .btn-primary,
  .btn-voucher-apply,
  .fav-toggle--inline,
  .hero-buy .fav-toggle--hero-buy,
  .hero-buy .fav-toggle--inline,
  .account-pay-btn,
  .input-qty,
  .product-variant-chip,
  .product-review-compose .btn-primary,
  .hero-thumb
) {
  border-radius: var(--radius);
}

.page-shell--frame :is(
  .nav-whatsapp,
  .btn-fav-header,
  .catalog-filter-btn
) {
  border-radius: var(--radius-pill);
}

.page-shell--frame .fav-toggle--card,
.page-shell--frame .floating-whatsapp {
  border-radius: var(--radius-pill);
}

/* Chenare magazin — colțuri din Admin → Site (theme_border_radius) */
.page-shell--frame :is(
  .price-box,
  .product-card,
  .product-card__media,
  .product-card__placeholder,
  .product-purchase-card,
  .product-card__qty-offers,
  .product-card__qty-offer,
  .hero-image-wrap,
  .placeholder-img,
  .features-bar,
  .feature-item,
  .catalog-hero__copy,
  .catalog-hero__card,
  .cart-lines-card,
  .cart-line--mockup,
  .cart-line__media img,
  .cart-line__placeholder,
  .cart-empty,
  .cart-voucher-card,
  .cart-added-modal__box,
  .checkout-card,
  .checkout-empty,
  .product-review-compose,
  .product-review-flash,
  .review-card,
  .video-card,
  .badge-safe,
  .progress-ship,
  .cart-page .alert,
  .trust-card-mini,
  .qty-btn,
  .summary-box,
  .cart-lines-card,
  .product-review-compose__row select,
  .product-review-compose__row textarea,
  .catalog-filter-select,
  .hero-lightbox__img,
  .cart-line__qty-flash
) {
  border-radius: var(--radius);
}

.page-shell--frame :is(
  .product-card__qty-offer-badge,
  .product-card__badge,
  .price-box__unit-hint,
  .price-box__save,
  .catalog-badge,
  .badge-safe__check
) {
  border-radius: var(--radius-pill);
}

.hero-visual {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  max-width: 100%;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(var(--brand-rgb), 0.14), 0 4px 16px rgba(0, 0, 0, 0.08);
  background: var(--white);
  border: 1px solid #eceff1;
}

.hero-image-wrap--main {
  background: linear-gradient(180deg, #fbf5fd 0%, #fff 100%);
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}

.badge-safe {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius);
  text-transform: uppercase;
  max-width: 190px;
  line-height: 1.25;
  box-shadow: 0 3px 12px rgba(76, 175, 80, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.badge-safe__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.6rem;
}

/* Miniaturi sub imaginea mare pe mobil */
.hero-visual__media {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-visual__media .hero-image-wrap--main,
.hero-visual__media .placeholder-img.hero-image-wrap {
  order: 1;
}

.hero-visual .hero-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
  order: 2;
}

.hero-visual .hero-thumbs--right {
  order: 3;
}

.hero-thumb {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #f8fafc;
  aspect-ratio: 1;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-thumb:hover {
  border-color: rgba(var(--brand-rgb), 0.45);
}

.hero-thumb.is-active {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.22);
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle;
}

@media (min-width: 900px) {
  .hero-visual--with-thumbs .hero-visual__media {
    display: grid;
    grid-template-columns: minmax(82px, 96px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
  }

  .hero-visual--thumbs-split .hero-visual__media {
    grid-template-columns: minmax(82px, 96px) minmax(0, 1fr) minmax(82px, 96px);
  }

  .hero-visual--with-thumbs .hero-visual__media .hero-image-wrap--main,
  .hero-visual--with-thumbs .hero-visual__media .placeholder-img.hero-image-wrap {
    grid-column: 2;
    grid-row: 1;
    order: 0;
  }

  .hero-visual--with-thumbs .hero-visual__media .hero-thumbs--left {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-visual--with-thumbs .hero-visual__media .hero-thumbs--right {
    grid-column: 3;
    grid-row: 1;
  }

  .hero-visual .hero-thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    align-self: start;
  }

  .hero-visual .hero-thumb {
    width: 100%;
    min-height: 82px;
  }
}

.features-bar {
  background: var(--white);
  margin: 0.5rem 0 1.5rem;
  padding: 1.15rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), 0 1px 0 rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  border: 1px solid #eeeeee;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 700px) {
  .features-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-md);
}

.feature-label {
  display: block;
  margin-top: 0;
  line-height: 1.25;
  font-size: 1rem;
  font-weight: 800;
}

.feature-item:nth-child(1) {
  background: linear-gradient(145deg, rgba(225, 190, 231, 0.45), rgba(206, 147, 216, 0.3));
  box-shadow: 0 2px 10px rgba(var(--brand-rgb), 0.15);
}

.feature-item:nth-child(2) {
  background: linear-gradient(145deg, rgba(255, 224, 178, 0.55), rgba(255, 183, 77, 0.28));
  box-shadow: 0 2px 10px rgba(255, 152, 0, 0.14);
}

.feature-item:nth-child(3) {
  background: linear-gradient(145deg, rgba(200, 230, 201, 0.55), rgba(129, 199, 132, 0.28));
  box-shadow: 0 2px 10px rgba(76, 175, 80, 0.12);
}

.feature-item:nth-child(4) {
  background: linear-gradient(145deg, rgba(187, 222, 251, 0.55), rgba(100, 181, 246, 0.28));
  box-shadow: 0 2px 10px rgba(66, 165, 245, 0.12);
}

.section-title {
  text-align: center;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 1.75rem 0 1rem;
  color: #24324a;
  text-transform: uppercase;
}

.video-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}

.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(var(--brand-rgb),0.12);
}

.video-card__media {
  position: relative;
  background: #212121;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.video-card__media iframe,
.video-card__media video {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  border: 0;
  display: block;
  vertical-align: middle;
}

.video-card__placeholder {
  aspect-ratio: 16 / 8.5;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #f5f5f5;
}

.video-card__play {
     display: none !important;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4.7rem;
  height: 4.7rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--purple);
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.2rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 1;
}

.video-card__bar {
  background: linear-gradient(180deg, var(--purple-mid) 0%, var(--purple) 45%, var(--purple-dark) 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  text-align: center;
  padding: 0.85rem 1rem;
  letter-spacing: 0.02em;
}

.product-review-flash {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.product-review-flash--ok {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.product-review-flash--err {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}

.product-review-compose {
  background: linear-gradient(165deg, #faf8fc 0%, #fff 100%);
  border: 1px solid #ede7f6;
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem 1.25rem;
  margin: 0 0 1.35rem;
  max-width: 100%;
  box-sizing: border-box;
}

.product-review-compose__title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #24324a;
}

.product-review-compose__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.product-review-compose__hint a {
  font-weight: 700;
  color: var(--purple);
}

.product-review-compose__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 32rem;
}

.product-review-compose__row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-review-compose__row label {
  font-weight: 700;
  font-size: 0.88rem;
  color: #334155;
}

.product-review-compose__row select,
.product-review-compose__row textarea {
  font: inherit;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  max-width: 100%;
  box-sizing: border-box;
}

.product-review-compose__note {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

.product-review-compose__submit {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.reviews {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

.review-card {
  background: var(--white);
  padding: 1rem 1.05rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
  min-height: 170px;
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.review-card__head .stars {
  margin: 0;
}

.review-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  object-fit: cover;
  border: 3px solid #ede9fe;
  flex-shrink: 0;
}

.review-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f3e8ff, #e9d5ff);
  font-size: 1.35rem;
}

.stars { color: #fbbf24; letter-spacing: 2px; font-size: 1rem; }

.review-card__quote {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.review-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin-top: 0.15rem;
}

.review-card .who {
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.review-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1b5e20;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border: 1px solid rgba(76, 175, 80, 0.45);
  padding: 0.28rem 0.55rem 0.3rem;
  border-radius: var(--radius-pill);
  line-height: 1.2;
  box-shadow: 0 1px 4px rgba(76, 175, 80, 0.2);
}

.review-card__verified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-pill);
  font-size: 0.55rem;
  font-weight: 900;
  color: #2e7d32;
}

.banner-urgency {
  background: linear-gradient(100deg, var(--purple) 0%, var(--purple-mid) 42%, var(--purple-dark) 100%);
  color: var(--white);
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  margin: 2rem 0 2.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 14px 44px rgba(var(--brand-dark-rgb), 0.35);
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.banner-urgency__left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.banner-urgency__gift { font-size: 1.75rem; }

.banner-urgency p {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
}

.banner-urgency__form { margin: 0; }

.btn-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(180deg,
    var(--banner-cta-1) 0%,
    var(--banner-cta-2) 55%,
    color-mix(in srgb, var(--banner-cta-2) 82%, #000) 100%);
  color: var(--banner-cta-text);
  padding: 0.9rem 1.6rem;
  min-height: 58px;
  min-width: 0;
  max-width: 100%;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1.08rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

@media (min-width: 520px) {
  .btn-banner {
    min-width: min(250px, 100%);
  }
}

.btn-banner__icon { font-size: 1.1rem; line-height: 1; }

.btn-banner:hover {
  filter: brightness(1.05);
}

.footer-trust {
  background: transparent;
  padding: 1.5rem 0 1.25rem;
  margin-top: 0;
  border-top: 1px solid rgba(var(--brand-rgb), 0.1);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  min-width: 0;
}

@media (min-width: 700px) {
  .trust-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.trust-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.trust-cell__ico {
  font-size: 1.5rem;
  line-height: 1;
}

/* Cart page */
.page-title {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.progress-ship {
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.progress-ship .bar {
  height: 10px;
  background: #e5e7eb;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-ship .fill {
  height: 100%;
  background: var(--green);
  border-radius: var(--radius-pill);
  transition: width 0.3s;
}

.progress-ship .msg {
  font-weight: 700;
  color: var(--green-dark);
}

.cart-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .cart-layout { grid-template-columns: 1fr 340px; }
}

.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.cart-line img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cart-line .price-now { color: var(--price-sale); font-weight: 800; }
.cart-line .price-old { text-decoration: line-through; color: var(--muted); font-size: 0.9rem; }

.qty-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  border: 1px solid #d1d5db;
  background: var(--surface);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
}

.link-delete {
  margin-top: 0.5rem;
  color: #dc2626;
  font-size: 0.9rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.summary {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: fit-content;
}

.summary h3 { margin-top: 0; }

.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 0.35rem 0;
  color: var(--muted);
}

.summary-total {
  margin-top: 1rem;
  padding: 1rem;
  background: #f3f4f6;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1.15rem;
}

.savings {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0 1rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 600px) {
  .trust-cards { grid-template-columns: 1fr; }
}

.ssl-bar {
  background: var(--purple);
  color: rgba(255,255,255,0.95);
  text-align: center;
  padding: 0.65rem;
  font-size: 0.85rem;
  margin-top: 2rem;
}

/* ===== ADMIN PANEL (layout + formulare + tabele) ===== */

.admin-body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  background: #f1f5f9;
  -webkit-font-smoothing: antialiased;
  --admin-sidebar-w: 272px;
  --admin-sidebar-bg: #0f172a;
  --admin-sidebar-text: #e2e8f0;
  --admin-sidebar-muted: #94a3b8;
  --admin-accent: #2563eb;
  --admin-accent-soft: rgba(37, 99, 235, 0.18);
  --admin-border: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.admin-skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 500;
  padding: 0.5rem 1rem;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.admin-skip-link:focus {
  left: 0.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-shell {
  height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #f1f5f9;
}

.admin-shell--login {
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.08), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  height: auto;
  min-height: 100vh;
}

.admin-shell--login .admin-login-card {
  width: 100%;
  max-width: 420px;
}

.admin-login-title {
  margin: 0 0 1rem;
  font-size: 1.65rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  text-align: center;
}

.admin-card--login {
  margin-bottom: 0;
}

.admin-login-back {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: 0.92rem;
}

.admin-login-back a {
  color: #64748b;
  font-weight: 700;
  text-decoration: none;
}

.admin-login-back a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Sidebar + zonă principală */
.admin-sidebar {
  width: var(--admin-sidebar-w);
  flex-shrink: 0;
  height: 100vh;
  background: var(--admin-sidebar-bg);
  color: var(--admin-sidebar-text);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--admin-border);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 280;
}

.admin-sidebar__brand {
  padding: 1.25rem 1.15rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.admin-sidebar__brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.admin-sidebar__logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.35);
}

.admin-sidebar__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.admin-sidebar__brand-title {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.admin-sidebar__brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--admin-sidebar-muted);
}

.admin-sidebar__nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0.6rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.admin-sidebar__primary {
  margin-bottom: 0.7rem;
}

.admin-sidebar__group {
  margin-bottom: 0.95rem;
}

.admin-sidebar__group:last-of-type {
  margin-bottom: 0.35rem;
}

.admin-sidebar__group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: transparent;
  border: 0;
  padding: 0.32rem 0.58rem 0.4rem;
  cursor: pointer;
}

.admin-sidebar__group-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--admin-sidebar-muted);
}

.admin-sidebar__group-caret {
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  transition: transform 0.16s ease;
  opacity: 0.8;
}

.admin-sidebar__group--open .admin-sidebar__group-caret {
  transform: rotate(225deg);
}

.admin-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0.1rem;
  display: none;
}

.admin-sidebar__group--open .admin-sidebar__list {
  display: block;
}

.admin-sidebar__item {
  margin: 0;
}

.admin-sidebar__item--subsection {
  margin-top: 0.35rem;
}

.admin-sidebar__item--subsection:first-child {
  margin-top: 0;
}

.admin-sidebar__sublabel {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #64748b;
  padding: 0.35rem 0.68rem 0.15rem;
}

.admin-sidebar__sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 0.15rem 0.45rem;
  border-left: 1px solid rgba(148, 163, 184, 0.14);
}

.admin-sidebar__subitem {
  margin: 0;
}

.admin-sidebar__sublist .admin-sidebar__link {
  padding: 0.34rem 0.55rem;
  font-size: 0.86rem;
}

.admin-sidebar__link {
  display: block;
  padding: 0.42rem 0.68rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.admin-sidebar__link:hover {
  background: rgba(148, 163, 184, 0.14);
  color: #f8fafc;
}

.admin-sidebar__link--active {
  background: rgba(148, 163, 184, 0.12);
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: inset 3px 0 0 rgba(148, 163, 184, 0.55);
}

.admin-sidebar__footer {
  padding: 0.85rem 1rem 1.15rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  margin-top: auto;
}

.admin-sidebar__logout {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fca5a5;
  text-decoration: none;
  border: 1px solid rgba(248, 113, 113, 0.25);
  background: rgba(248, 113, 113, 0.08);
  transition: background 0.15s ease, color 0.15s ease;
}

.admin-sidebar__logout:hover {
  background: rgba(248, 113, 113, 0.18);
  color: #fecaca;
}

.admin-sidebar__logout-icon {
  opacity: 0.85;
}

.admin-sidebar-backdrop {
  display: none;
}

.admin-workspace {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  margin-left: var(--admin-sidebar-w);
  overflow: hidden;
}

.admin-mobile-bar {
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem clamp(0.85rem, 3vw, 1.25rem);
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.admin-mobile-bar__title {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-mobile-bar__spacer {
  width: 2.75rem;
  flex-shrink: 0;
}

.admin-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-menu-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.admin-menu-btn__bars {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: #334155;
  border-radius: 1px;
  box-shadow: 0 -6px 0 #334155, 0 6px 0 #334155;
}

.admin-main {
  flex: 1;
  width: 100%;
  padding: 1rem 0 1.5rem;
  overflow: auto;
}

.admin-container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(0.85rem, 2vw, 1.1rem);
  box-sizing: border-box;
}

.admin-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.admin-page-head h1 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.admin-page-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.admin-card {
  background: #fff;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  margin-bottom: 0.85rem;
}

.admin-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 900;
  color: #1e293b;
}

.admin-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: #334155;
}

/* Butoane folosite în admin (accent enterprise — albastru) */
.admin-body .btn-primary,
.admin-shell .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.52rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  color: #1e293b;
  background: #fff;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.admin-body .btn-primary:hover,
.admin-shell .btn-primary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.admin-body .btn-primary:active,
.admin-shell .btn-primary:active {
  background: #f1f5f9;
}

.form-row { margin-bottom: 0.95rem; }

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: #334155;
}

.admin-body .form-row input,
.admin-body .form-row textarea,
.admin-body .form-row select,
.admin-shell .form-row input,
.admin-shell .form-row textarea,
.admin-shell .form-row select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-body .form-row input:focus,
.admin-body .form-row textarea:focus,
.admin-body .form-row select:focus,
.admin-shell .form-row input:focus,
.admin-shell .form-row textarea:focus,
.admin-shell .form-row select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th,
.table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 0.5rem;
  text-align: left;
}

.admin-main .table {
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.26);
  font-size: 0.88rem;
}

.admin-main .table th {
  background: #f8fafc;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.admin-main .table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

.admin-main .table tr:last-child td {
  border-bottom: none;
}

.admin-main .table tbody tr:hover td {
  background: rgba(37, 99, 235, 0.05);
}

@media (max-width: 900px) {
  .admin-body {
    overflow: auto;
  }
  .admin-shell:not(.admin-shell--login) {
    flex-direction: row;
    height: auto;
    min-height: 100vh;
  }

  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(300px, 88vw);
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100dvh;
    min-height: 100dvh;
    box-shadow: none;
  }

  .admin-shell--nav-open .admin-sidebar {
    transform: translateX(0);
    box-shadow: 12px 0 48px rgba(0, 0, 0, 0.35);
  }

  .admin-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 250;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .admin-shell--nav-open .admin-sidebar-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .admin-mobile-bar {
    display: flex;
  }

  .admin-workspace {
    width: 100%;
    min-height: 100dvh;
    height: auto;
    margin-left: 0;
    overflow: visible;
  }

  .admin-main {
    overflow: visible;
  }
}

@media (min-width: 901px) {
  .admin-sidebar-backdrop {
    display: none !important;
  }
}

.alert {
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.alert-ok { background: #d1fae5; color: #065f46; }
.alert-err { background: #fee2e2; color: #991b1b; }

.placeholder-img {
  background: linear-gradient(135deg, #e9d5ff, #bae6fd);
  min-height: 220px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 899px) {
  .site-frame {
    border-radius: var(--radius);
    box-shadow:
      0 8px 28px rgba(var(--brand-rgb),0.09),
      0 2px 10px rgba(0,0,0,0.04);
  }

  .store-card:not(.store-card--framed) {
    border-radius: var(--radius);
    box-shadow:
      0 8px 28px rgba(var(--brand-rgb),0.09),
      0 2px 10px rgba(0,0,0,0.04);
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .price-box {
    min-width: 0;
    width: 100%;
  }

  .hero-copy .price-box {
    max-width: none;
  }

  .hero-buy {
    max-width: none;
  }

  .hero-image-wrap {
    box-shadow: 0 6px 22px rgba(var(--brand-rgb), 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 0.45rem;
  }

  .hero-visual img {
    aspect-ratio: 1 / 1;
  }

  .banner-urgency {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    box-shadow: 0 6px 22px rgba(var(--brand-dark-rgb), 0.22);
  }

  .btn-banner {
    width: 100%;
    min-width: 0;
  }

  .cart-lines-card,
  .summary--mockup {
    box-shadow: 0 4px 16px rgba(var(--brand-rgb),0.07), 0 1px 4px rgba(0,0,0,0.04);
  }
}

/* ===== CART MOCKUP ===== */

.cart-page{
  padding-top: 1.2rem;
  padding-bottom: 2rem;
}

.cart-header-block{
  margin-bottom: 1rem;
}

.page-title{
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.25rem;
  color: var(--text, #24324a);
}

.page-title__icon{
  font-size: 1.2em;
}

.cart-header-block__sub{
  margin: 0;
  color: #64748b;
  font-size: 1rem;
}

.progress-ship--mockup{
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--green, #8fae80) 14%, #fff) 0%,
    color-mix(in srgb, var(--green, #8fae80) 6%, #fff) 100%);
  border: 1px solid color-mix(in srgb, var(--green, #8fae80) 28%, #fff);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1.3rem;
  box-shadow: none;
}

.progress-ship__top{
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.progress-ship__icon{
  font-size: 1.8rem;
  line-height: 1;
}

.progress-ship__text{
  flex: 1;
}

.progress-ship--mockup .msg{
  color: var(--green-dark, #2e7d32);
  font-weight: 800;
}

.progress-ship__hint{
  font-size: 0.94rem;
  color: #5f6b76;
  margin-top: 0.15rem;
}

.progress-ship--mockup .bar{
  height: 10px;
  background: color-mix(in srgb, var(--green, #8fae80) 18%, #fff);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 0.8rem;
}

.progress-ship--mockup .fill{
  background: linear-gradient(90deg, var(--green, #8fae80) 0%, var(--green-dark, #43a047) 100%);
}

.cart-layout--mockup{
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

@media (min-width: 980px){
  .cart-layout--mockup{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 1.4rem;
    align-items: start;
  }
}

.cart-lines-card{
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 10px 35px rgba(var(--brand-rgb),0.08), 0 3px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(var(--brand-rgb),0.08);
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.cart-line--mockup{
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1rem;
  background: #fff;
  padding: 1rem 0.2rem;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  border-bottom: 1px solid #eee8f7;
}

.cart-line--mockup:last-child{
  border-bottom: 0;
}

.cart-line__media img,
.cart-line__placeholder{
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.cart-line__content{
  min-width: 0;
}

.cart-line__top{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.cart-line__info{
  min-width: 0;
}

.cart-line__title{
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 800;
  color: #1f2937;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cart-line__attr{
  color: #6b7280;
  font-size: 0.95rem;
}

.cart-line__pricebox{
  text-align: right;
  flex-shrink: 0;
}

.cart-line__pricebox .price-now{
  color: #d32f2f;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.1;
}

.cart-line__pricebox .price-old{
  display: block;
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 0.92rem;
  margin-top: 0.2rem;
}

.cart-line__qty-offers-wrap{
  margin-top: 0.65rem;
  width: 100%;
}

.cart-line__qty-offers-wrap .product-card__qty-offers{
  margin: 0;
}

.cart-line__qty-offers-wrap .product-card__qty-offer-price{
  font-size: 1.05rem;
}

.cart-line__actions{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}

.qty-row--mockup{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 0.35rem;
}

.qty-row--mockup .qty-btn{
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid #d8dce2;
  background: var(--surface);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 800;
  color: #374151;
}

.qty-value{
  min-width: 2.2rem;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
}

.cart-line__remove-form{
  margin: 0;
}

.link-delete{
  margin-top: 0;
  color: var(--price-sale);
  font-size: 0.95rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-weight: 700;
}

.summary--mockup{
  background: #fff;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 35px rgba(var(--brand-rgb),0.08), 0 3px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(var(--brand-rgb),0.08);
}

.summary--mockup h3{
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text, #24324a);
}

/* Rezumat comandă — layout aerisit (coș + checkout) */
.order-summary.summary--mockup {
  padding: 1.5rem 1.4rem 1.35rem;
}

.order-summary__title {
  margin: 0 0 1.15rem;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text, #24324a);
  letter-spacing: -0.02em;
}

.order-summary__body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.order-summary__section {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.order-summary__line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.15rem 0;
  line-height: 1.45;
}

.order-summary__label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4b5563;
}

.order-summary__amount {
  flex: 0 0 auto;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}

.order-summary__amount--strong {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
}

.order-summary__amount--minus {
  color: #15803d;
  font-weight: 800;
}

.order-summary__amount--muted {
  color: #94a3b8;
}

.order-summary__line--discount {
  padding-left: 0.65rem;
  border-left: 3px solid #bbf7d0;
}

.order-summary__line--subtotal-after {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px dashed #e2e8f0;
}

.order-summary__divider {
  height: 1px;
  margin: 1.1rem 0;
  background: linear-gradient(90deg, transparent, #e2e8f0 12%, #e2e8f0 88%, transparent);
  border: 0;
}

.order-summary__tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.order-summary__tag--free {
  background: #dcfce7;
  color: #166534;
}

.order-summary__total {
  margin-top: 1.15rem;
  padding: 1.15rem 1.2rem;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--purple, #c0794a) 7%, #fff) 0%,
    color-mix(in srgb, var(--purple, #c0794a) 3%, #fff) 100%);
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--purple, #c0794a) 16%, #fff);
}

.order-summary__total-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.order-summary__total-value {
  display: block;
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  line-height: 1.15;
  font-weight: 900;
  color: var(--purple, #c0794a);
  font-variant-numeric: tabular-nums;
}

.order-summary__total-hint {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #6b7280;
}

.order-summary__savings {
  margin: 0.85rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  color: #166534;
  font-weight: 800;
  font-size: 0.92rem;
  text-align: center;
}

.order-summary__note {
  margin: 0.75rem 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #6b7280;
}

.order-summary__actions {
  margin-top: 1.25rem;
  padding-top: 0.25rem;
}

.order-summary__cta-hint {
  display: block;
  margin-top: 0.5rem;
  color: #92400e;
  font-size: 0.88rem;
  line-height: 1.4;
}

/* Banner voucher UTM (?UTM_VOUCHER=) */
.voucher-utm-banner {
  border-bottom: 1px solid #c4b5fd;
  background: linear-gradient(90deg, #f5f3ff 0%, #ecfdf5 100%);
}
.voucher-utm-banner--ok {
  background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 100%);
  border-bottom-color: #86efac;
}
.voucher-utm-banner--warn {
  background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
  border-bottom-color: #fcd34d;
}
.voucher-utm-banner--pending {
  background: linear-gradient(90deg, #eff6ff 0%, #f5f3ff 100%);
  border-bottom-color: #93c5fd;
}
.voucher-utm-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding: 0.85rem 0;
}
.voucher-utm-banner__icon {
  font-size: 1.6rem;
  line-height: 1;
}
.voucher-utm-banner__text {
  flex: 1 1 12rem;
  min-width: 0;
}
.voucher-utm-banner__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #1e293b;
}
.voucher-utm-banner__msg {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #475569;
}
.voucher-utm-banner__scope {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
}
.voucher-utm-banner__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--purple, #c0794a);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
}
.voucher-utm-banner__cta:hover {
  filter: brightness(1.05);
}

/* Popup voucher campanie */
body.voucher-popup-open { overflow: hidden; }
.voucher-popup-root {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.voucher-popup-root[hidden] { display: none !important; }
.voucher-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}
.voucher-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: 1.35rem 1.4rem 1.2rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
  border: 1px solid #e2e8f0;
}
.voucher-popup__close {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}
.voucher-popup__close:hover { background: #f1f5f9; color: #0f172a; }
.voucher-popup__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #6d28d9;
}
.voucher-popup__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #0f172a;
}
.voucher-popup__msg {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #475569;
}
.voucher-popup__product {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: #334155;
}
.voucher-popup__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  margin: 0.65rem 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.voucher-popup__price-old {
  font-size: 1.05rem;
  color: #6b7280;
  text-decoration: line-through;
  font-weight: 700;
}
.voucher-popup__price-new {
  font-size: 1.45rem;
  font-weight: 900;
  color: #059669;
}
.voucher-popup__price-badge {
  font-size: 0.82rem;
  font-weight: 800;
  color: #6d28d9;
  background: #ede9fe;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}
.voucher-popup__code-line {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}
.voucher-popup__wa {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  text-align: center;
}
.voucher-popup__wa--primary {
  margin-top: 0.5rem;
  padding: 1rem 0.85rem;
}
.voucher-popup__wa-msg {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #166534;
}
.voucher-popup__wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #22c55e;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35);
}
.voucher-popup__wa-btn:hover {
  background: #16a34a;
  color: #fff !important;
}
.voucher-popup__wa-btn::before {
  content: "💬";
  font-size: 1rem;
}
.voucher-popup__actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.voucher-popup__apply {
  width: 100%;
  justify-content: center;
}
.voucher-popup__later {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.25rem;
}
.voucher-popup__err {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #b91c1c;
}
.voucher-popup__err[hidden] { display: none !important; }

.voucher-product-notice {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #c4b5fd;
  background: linear-gradient(135deg, #f5f3ff 0%, #ecfdf5 100%);
  text-align: center;
}
.voucher-product-notice__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #4c1d95;
}
.voucher-product-notice__msg {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #334155;
}
.price-box--voucher .price-box__full {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.35rem;
  width: 100%;
}
.price-box--voucher .price-box__line--voucher-sale {
  justify-content: center;
}
.price-box--voucher .price-box__full-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-box--voucher .price-box__full-amount {
  font-size: clamp(1.65rem, 2.4vw, 2.05rem);
  font-weight: 800;
  color: #6b7280;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.price-box--voucher .price-box__line--voucher-sale {
  margin-top: 0.15rem;
}
.price-box--voucher .price-box__current {
  color: #059669;
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
}
.price-box__voucher-applied {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #6d28d9;
  font-weight: 600;
}
.product-card__prices--voucher {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}
.product-card__prices--voucher .product-card__old-price--voucher-full {
  font-size: 1.2rem;
  font-weight: 800;
  color: #6b7280;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  order: 1;
}
.product-card__prices--voucher .product-card__price--voucher {
  color: #059669;
  font-weight: 900;
  font-size: 1.45rem;
  order: 2;
}
.product-card__prices--voucher .product-card__price-label {
  order: 0;
}
.product-card__badge--voucher {
  background: #6d28d9;
}
.product-card__voucher-msg {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #475569;
}
.product-card__voucher-msg .product-card__voucher-name {
  color: #5b21b6;
  font-weight: 800;
}
.product-card__voucher-msg .product-card__voucher-discount {
  color: #059669;
  font-weight: 800;
}

.catalog-voucher-shop__all {
  margin-left: 0.35rem;
  font-weight: 700;
  color: var(--purple, #c0794a);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.catalog-voucher-shop__all:hover {
  filter: brightness(0.95);
}

.summary-row{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.55rem 0;
  color: #667085;
  font-size: 0.98rem;
}

.summary-total--mockup{
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--purple, #c0794a) 6%, #fff) 0%,
    color-mix(in srgb, var(--purple, #c0794a) 3%, #fff) 100%);
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--purple, #c0794a) 18%, #fff);
}

.summary-total__label{
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.summary-total__value{
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  line-height: 1.1;
  font-weight: 900;
  color: var(--purple);
}

.summary-total__hint{
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.35;
}

.savings{
  color: var(--green-dark, #2e7d32);
  font-weight: 800;
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

.summary-cta{
  margin: 1rem 0 0.8rem;
}

.btn-checkout{
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--purple, #c0794a) 82%, #fff) 0%,
    var(--purple, #c0794a) 50%,
    var(--purple-dark, #a5613a) 100%);
  color: var(--white);
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 10px 24px rgba(var(--brand-dark-rgb, 123, 31, 162), 0.32);
}

.btn-checkout:hover{
  filter: brightness(1.04);
}

.btn-voucher-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid color-mix(in srgb, var(--orange, #f97316) 85%, #000);
  background: linear-gradient(135deg, var(--orange, #f97316), color-mix(in srgb, var(--orange, #f97316) 80%, #000));
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
  padding: 0.52rem 0.92rem;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.btn-voucher-apply:hover {
  filter: brightness(0.98);
}

.page-shell--frame .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(180deg, var(--purple-mid) 0%, var(--purple) 45%, var(--purple-dark) 100%);
  box-shadow: 0 6px 18px rgba(var(--brand-dark-rgb), 0.28);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.page-shell--frame .btn-primary:hover {
  filter: brightness(1.05);
}

.summary-back{
  text-align: center;
  margin: 0;
}

.summary-back a{
  display: inline-block;
  color: #667085;
  font-weight: 700;
}

.trust-cards--mockup{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
}

@media (min-width: 700px){
  .trust-cards--mockup{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 980px){
  .trust-cards--mockup{
    grid-template-columns: 1fr;
  }
}

.trust-card-mini{
  background: #f7fcf6;
  border: 1px solid #d9ecd7;
  border-radius: var(--radius);
  padding: 0.95rem 1rem;
  text-align: center;
}

.trust-card-mini__icon{
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.trust-card-mini__title{
  font-size: 0.98rem;
  font-weight: 800;
  color: #1f2937;
}

.trust-card-mini__text{
  font-size: 0.86rem;
  color: #6b7280;
  margin-top: 0.15rem;
}

.cart-empty{
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 35px rgba(var(--brand-rgb),0.08), 0 3px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(var(--brand-rgb),0.08);
  margin: 1.5rem 0 2rem;
}

.cart-empty__icon{
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.ssl-bar--mockup{
  background: color-mix(in srgb, var(--purple, #c0794a) 10%, #fff);
  color: color-mix(in srgb, var(--purple-dark, #5b3f8c) 70%, #000);
  text-align: center;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  margin-top: 0;
  border-top: 1px solid color-mix(in srgb, var(--purple, #c0794a) 20%, #fff);
}

@media (max-width: 700px){
  .cart-line--mockup{
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .cart-line__media img,
  .cart-line__placeholder{
    width: 76px;
    height: 76px;
  }

  .cart-line__top{
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-line__pricebox{
    text-align: left;
  }

  .cart-line__actions{
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===== CHECKOUT ===== */

.checkout-page{
  padding-top: 1.2rem;
  padding-bottom: 2rem;
}

.checkout-header{
  margin-bottom: 1.1rem;
}

.checkout-header__sub{
  margin: 0;
  color: #64748b;
  font-size: 1rem;
}

.checkout-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: start;
}

@media (min-width: 980px){
  .checkout-layout{
    grid-template-columns: minmax(0, 1fr) 390px;
  }
}

.checkout-card{
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: 0 10px 35px rgba(var(--brand-rgb),0.08), 0 3px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(var(--brand-rgb),0.08);
}

.checkout-card__title{
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: #24324a;
}

.checkout-form__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px){
  .checkout-form__grid{
    grid-template-columns: 1fr 1fr;
  }

  .form-row--full{
    grid-column: 1 / -1;
  }
}

.checkout-card .form-row{
  margin-bottom: 0;
}

.checkout-card .form-row label{
  display: block;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #24324a;
}

.checkout-card .form-row input,
.checkout-card .form-row textarea{
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #d9dee7;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.checkout-card .form-row input:focus,
.checkout-card .form-row textarea:focus{
  outline: none;
  border-color: rgba(var(--brand-rgb),0.45);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb),0.10);
}

.checkout-card .form-row textarea{
  resize: vertical;
  min-height: 120px;
}

.checkout-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.btn-checkout-confirm{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--green-bright) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 1rem 1.5rem;
  min-height: 56px;
  border: none;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--green-dark) 35%, transparent);
}

.btn-checkout-confirm:hover{
  filter: brightness(1.04);
}

.checkout-back-link{
  color: #667085;
  font-weight: 700;
}

.checkout-summary{
  margin-bottom: 1rem;
}

.checkout-trust{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.checkout-success,
.checkout-empty{
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 35px rgba(var(--brand-rgb),0.08), 0 3px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(var(--brand-rgb),0.08);
  margin: 1.5rem 0 2rem;
}

.checkout-success__icon,
.checkout-empty__icon{
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.checkout-success h2,
.checkout-empty h2{
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
  color: #24324a;
}

.checkout-success p,
.checkout-empty p{
  margin: 0 0 1rem;
  color: #64748b;
}

.checkout-success__actions{
  margin-top: 1rem;
}

@media (max-width: 700px){
  .checkout-card{
    padding: 1rem;
  }

  .checkout-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .btn-checkout-confirm{
    width: 100%;
  }

  .checkout-back-link{
    text-align: center;
  }
}
/* ===== VIDEO HERO (vedeta paginii) ===== */

.video-hero{
  display: flex;
  justify-content: center;
  margin: 2.5rem 0 3rem;
}

.video-hero--multi{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.video-hero .video-card{
  width: min(380px, 90vw);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(var(--brand-rgb),0.18),
    0 10px 30px rgba(0,0,0,0.10);
}

/* Video landscape (16:9) — lat, pentru YouTube standard / filmuletele late */
.video-hero .video-card--landscape{
  width: min(720px, 92vw);
  border: 1px solid rgba(var(--brand-rgb),0.15);
  background: #000;
}

.video-hero.video-hero--multi .video-card{
  width: 100%;
  max-width: 380px;
  justify-self: center;
}
.video-hero.video-hero--multi .video-card--landscape{
  max-width: 640px;
}

.video-hero .video-card__media{
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}
.video-hero .video-card--landscape .video-card__media{
  aspect-ratio: 16 / 9;
}

.video-hero .video-card__media iframe,
.video-hero .video-card__media video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border: 0;
}
/* Pentru videoclipuri late (landscape) folosim contain pe iframe
   ca sa nu taie conținutul standard 16:9 (ex: YouTube embed). */
.video-hero .video-card--landscape .video-card__media iframe,
.video-hero .video-card--landscape .video-card__media video{
  object-fit: contain;
  background: #000;
}

.video-hero .video-card__placeholder{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.video-hero .video-card__play{
  width: 5.5rem;
  height: 5.5rem;
  font-size: 1.4rem;
}

.video-hero .video-card__bar{
  font-size: 1.2rem;
  padding: 1rem;
  background: linear-gradient(180deg, var(--purple-mid), var(--purple));
}

/* mobile */
@media (max-width: 700px){
  .video-hero{
    margin: 1.5rem 0 2rem;
  }

  .video-hero--multi{
    grid-template-columns: 1fr;
  }

  .video-hero .video-card{
    border-radius: var(--radius);
  }
}

/* ===== PRODUCT DETAIL SECTIONS (după video) ===== */

.product-details-wrap {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.product-purchase-card {
  max-width: min(100%, 560px);
  margin: 0 auto;
  padding: 1.1rem 1.15rem 1rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe7f3;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.hero-copy--cta .product-purchase-card {
  width: 100%;
  max-width: none;
  margin: 0;
}

.product-purchase-card__intro {
  margin-bottom: 1rem;
}

.product-purchase-card__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.2;
  color: #0f172a;
}

.product-purchase-card__text {
  margin: 0;
  color: #64748b;
  font-size: 0.96rem;
  line-height: 1.55;
}

.product-purchase-card .product-variant-picker,
.product-purchase-card .price-box,
.product-purchase-card__rating,
.product-purchase-card .product-card__qty-offers,
.product-purchase-card .hero-buy,
.product-purchase-card__note,
.product-purchase-card__info {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.product-purchase-card .product-variant-picker {
  margin-bottom: 0.95rem;
}

.product-purchase-card__rating {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  margin: 0.2rem 0 0.35rem;
  padding: 0;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s ease;
}

.product-purchase-card__rating:hover,
.product-purchase-card__rating:focus-visible {
  opacity: 0.88;
  text-decoration: none;
}

.product-purchase-card__rating:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

.product-purchase-card__rating .stars {
  font-size: 0.95rem;
  letter-spacing: 1px;
  line-height: 1;
}

.product-purchase-card__rating-meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}

.product-purchase-card .price-box {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 0 0 0.65rem;
  margin-bottom: 0.55rem;
  background: none;
  border: none;
  box-shadow: none;
}

.product-purchase-card .price-box__line {
  justify-content: flex-start;
  align-items: baseline;
  gap: 0.65rem 0.85rem;
}

.product-purchase-card .price-box__current .price-amt .price-cur {
  font-size: 1em;
  font-weight: inherit;
  vertical-align: baseline;
  margin-left: 0.35rem;
  letter-spacing: 0;
}

.product-purchase-card .price-box__full-amount .price-amt .price-cur,
.product-purchase-card .price-box__old .price-amt .price-cur {
  font-size: 0.85em;
  vertical-align: baseline;
  margin-left: 0.25rem;
}

.product-purchase-card .price-box__old {
  font-size: 1.08rem;
  color: #4b5563;
  font-weight: 700;
  margin-top: 0.55rem;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  letter-spacing: 0.01em;
}

.product-purchase-card .price-box__save {
  margin-top: 0.65rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--green-dark, #15803d);
  background: color-mix(in srgb, var(--green, #22c55e) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--green, #22c55e) 35%, transparent);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.85rem;
  display: inline-block;
}

.product-purchase-card__note {
  margin: 0.5rem auto 0;
  font-size: 0.92rem;
  color: #78350f;
  line-height: 1.45;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.product-purchase-card__info {
  margin: 0.45rem auto 0;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.45;
  text-align: left;
}

.product-detail-supplementary {
  margin: 0 0 1.35rem;
  padding: 0 0 1.15rem;
  border-bottom: 2px solid #e8ecf1;
  text-align: left;
  min-width: 0;
}

.product-detail-tabs {
  margin: 0 0 1.75rem;
  max-width: 100%;
}

.product-detail-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0 0 0.65rem;
  border-bottom: 2px solid #e8ecf1;
}

.product-detail-tabs__tab {
  appearance: none;
  margin: 0;
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-detail-tabs__tab:hover {
  color: #334155;
  background: #e8eef5;
  border-color: #cbd5e1;
}

.product-detail-tabs__tab.is-active,
.product-detail-tabs__tab[aria-selected="true"] {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-mid), var(--purple));
  border-color: rgba(var(--brand-rgb), 0.35);
  box-shadow: 0 4px 14px rgba(var(--brand-rgb), 0.28);
}

.product-detail-tabs__tab:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.product-detail-tabs__panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0;
  border: 1px solid #eceff1;
  box-shadow: 0 8px 28px rgba(var(--brand-rgb), 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  text-align: left;
  min-width: 0;
}

.product-detail-tabs__panel[hidden] {
  display: none !important;
}

.product-detail-tabs__panel-inner {
  padding: 1.15rem 1.35rem 1.25rem;
  min-width: 0;
}

.product-detail-section__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 800;
  line-height: 1.3;
  color: #0f172a;
}

.product-detail-section__content {
  min-width: 0;
}

/* Tipografie pentru secțiuni detalii: vezi .product-prose (commun cu hero) */

.product-detail-card__p {
  margin: 0 0 0.8em;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.product-detail-card__p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .product-detail-supplementary {
    margin-bottom: 1.1rem;
    padding-bottom: 1rem;
  }

  .product-detail-tabs__list {
    gap: 0.35rem;
    padding-bottom: 0.5rem;
  }

  .product-detail-tabs__tab {
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
  }

  .product-detail-tabs__panel {
    border-radius: var(--radius);
  }

  .product-detail-tabs__panel-inner {
    padding: 1rem 1.1rem 1.1rem;
  }

  .product-detail-section__title {
    margin-bottom: 0.55rem;
    font-size: 1.02rem;
  }

  .product-purchase-card {
    padding: 1rem 0.9rem 0.95rem;
    border-radius: var(--radius);
  }
}

/* ===== MULTI PRODUCTS HOMEPAGE ===== */

.catalog-hero{
  padding: 1.25rem 0 0.4rem;
}

.catalog-hero__inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 980px){
  .catalog-hero__inner{
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.25rem;
  }
}

/* Mobil: text hero sus, produse la mijloc, imagine promo jos */
@media (max-width: 979px){
  .store-card--framed{
    display: flex;
    flex-direction: column;
  }

  .store-card--framed > .catalog-hero,
  .store-card--framed > .catalog-hero > .container,
  .store-card--framed > .catalog-hero > .container > .catalog-hero__inner{
    display: contents;
  }

  .store-card--framed .catalog-hero__copy{
    order: 1;
    margin-top: 1.25rem;
    margin-inline: clamp(1rem, 3.5vw, 1.85rem);
  }

  .store-card--framed .catalog-section{
    order: 2;
  }

  .store-card--framed .catalog-hero__card{
    order: 3;
    margin-top: 0.75rem;
    margin-inline: clamp(1rem, 3.5vw, 1.85rem);
    margin-bottom: 0.4rem;
  }
}

.catalog-hero__copy{
  min-width: 0;
  background: linear-gradient(135deg, #fdfbf6 0%, #fff7ed 100%);
  border: 1px solid rgba(var(--brand-rgb),0.10);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem;
  box-shadow: 0 10px 30px rgba(var(--brand-rgb),0.08);
}

.catalog-hero__eyebrow{
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.catalog-hero__title{
  margin: 0 0 0.65rem;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.08;
  font-weight: 900;
  color: #24324a;
}

.catalog-hero__text-wrap{
  margin: 0;
  max-width: 52rem;
}

.catalog-hero__text-p{
  margin: 0 0 0.85em;
  color: #5f6b76;
  font-size: 1rem;
  line-height: 1.65;
}

.catalog-hero__text-p:last-child{
  margin-bottom: 0;
}

/* compat: vechi markup cu un singur <p class="catalog-hero__text"> */
.catalog-hero__text{
  margin: 0;
  color: #5f6b76;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 52rem;
}

.catalog-hero__badges{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.catalog-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--purple) 20%, var(--surface));
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 800;
  color: #3c4858;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.catalog-badge__img{
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  flex-shrink: 0;
}

.catalog-badge__emoji{
  font-size: 1.2em;
  line-height: 1;
  flex-shrink: 0;
}

.catalog-hero__card{
  min-width: 0;
  background: linear-gradient(180deg, var(--purple-mid), var(--purple));
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: 0 14px 34px rgba(var(--brand-rgb),0.20);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.catalog-hero__card--full-image{
  padding: 0;
  overflow: hidden;
  min-height: 220px;
  position: relative;
  background: #ede9fe;
}

.catalog-hero__card-cover{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
}

.catalog-hero__card-cover--video{
  background: #000;
  pointer-events: none;
}

.catalog-hero__card-icon-img{
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  margin-bottom: 0.7rem;
  flex-shrink: 0;
}

.catalog-hero__card-icon{
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.catalog-hero__card-title{
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
}

.catalog-hero__card-text{
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
}

.catalog-section{
  padding: 0.8rem 0 2rem;
}

.catalog-section__head{
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.catalog-section__title{
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 900;
  color: #24324a;
}

.catalog-section__sub{
  margin: 0.25rem 0 0;
  color: #64748b;
  font-size: 0.96rem;
}

.catalog-section__count{
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--purple) 20%, var(--surface));
  border-radius: var(--radius-pill);
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--purple);
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.catalog-subsection{
  margin-top: 1.75rem;
}
.catalog-subsection:first-of-type{
  margin-top: 0;
}
.catalog-subsection:not(:first-of-type){
  content-visibility: auto;
  contain-intrinsic-size: 1200px;
}
.catalog-subsection__title{
  margin: 0 0 0.85rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: #334155;
  letter-spacing: -0.02em;
}

.catalog-filters{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin:0 0 .9rem;
  max-width:100%;
}
.catalog-filter{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.45rem .85rem;
  border-radius: var(--radius-pill);
  border:1px solid color-mix(in srgb, var(--purple) 25%, var(--surface));
  background: var(--surface);
  color:#6b7280;
  font-weight:700;
  font-size:.9rem;
}
.catalog-filter.is-active,
.catalog-filter:hover{
  background:linear-gradient(180deg,var(--purple-mid),var(--purple));
  color:#fff;
  border-color:transparent;
}

.catalog-filters-form{
  margin:0 0 .9rem;
  width:100%;
}
.catalog-filters-row{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem .85rem;
  align-items:flex-end;
  justify-content:flex-end;
  width:100%;
}
.catalog-filter-label{
  display:block;
  font-size:.78rem;
  font-weight:800;
  color:#64748b;
  letter-spacing:.02em;
}
.catalog-filter-field{
  display:flex;
  flex-direction:column;
  gap:.28rem;
  min-width:min(100%, 13rem);
}
.catalog-filter-field--cats{
  min-width:min(100%, 15.5rem);
  position:relative;
  z-index:5;
}
.catalog-filter-field--tip{
  min-width:min(100%, 17.5rem);
  position:relative;
  z-index:2;
}
.catalog-filter-dd{
  position:relative;
  width:100%;
  max-width:18rem;
  margin-left:auto;
}
.catalog-filter-trigger{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.5rem;
  width:100%;
  padding:.52rem .75rem;
  border-radius: var(--radius-md);
  border:1px solid color-mix(in srgb, var(--purple) 22%, var(--surface));
  background:linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--purple) 4%, var(--surface)));
  color:#334155;
  font-weight:700;
  font-size:.9rem;
  cursor:pointer;
  text-align:left;
  box-shadow:0 2px 8px rgba(15,23,42,.05);
  transition:border-color .15s, box-shadow .15s;
}
.catalog-filter-trigger:hover{
  border-color:color-mix(in srgb, var(--purple) 40%, var(--surface));
  box-shadow:0 4px 12px rgba(91,33,182,.08);
}
.catalog-filter-trigger:focus-visible{
  outline:2px solid color-mix(in srgb, var(--purple) 45%, transparent);
  outline-offset:2px;
}
.catalog-filter-trigger__text{
  flex:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.catalog-filter-trigger__chev{
  flex-shrink:0;
  width:.65rem;
  height:.65rem;
  border-right:2px solid color-mix(in srgb, var(--purple) 55%, #64748b);
  border-bottom:2px solid color-mix(in srgb, var(--purple) 55%, #64748b);
  transform:rotate(45deg) translateY(-2px);
  margin-top:2px;
  opacity:.85;
}
/* [hidden] trebuie să câștige față de display:flex — altfel panoul rămâne mereu vizibil */
.catalog-filter-dd__panel[hidden]{
  display:none !important;
}
.catalog-filter-dd__panel:not([hidden]){
  display:flex;
  flex-direction:column;
}
.catalog-filter-dd__panel{
  position:absolute;
  right:0;
  top:calc(100% + 6px);
  min-width:min(100vw - 2rem, 18rem);
  max-width:min(100vw - 2rem, 22rem);
  max-height:min(70vh, 22rem);
  border-radius: var(--radius-md);
  border:1px solid color-mix(in srgb, var(--purple) 18%, var(--surface));
  background: var(--surface);
  box-shadow:0 12px 40px rgba(15,23,42,.12);
  z-index:100;
  overflow:hidden;
}
.catalog-filter-dd__scroll{
  overflow:auto;
  padding:.35rem .45rem;
  flex:1;
}
.catalog-filter-check{
  display:flex;
  align-items:flex-start;
  gap:.5rem;
  padding:.42rem .5rem;
  border-radius: var(--radius-sm, 8px);
  cursor:pointer;
  font-size:.88rem;
  font-weight:600;
  color:#334155;
  line-height:1.35;
  transition:background .12s;
}
.catalog-filter-check:hover{
  background:color-mix(in srgb, var(--purple) 8%, var(--surface));
}
.catalog-filter-check input{
  margin-top:.2rem;
  width:1rem;
  height:1rem;
  accent-color: var(--purple);
  flex-shrink:0;
}
.catalog-filter-dd__footer{
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:.45rem;
  padding:.5rem .55rem;
  border-top:1px solid color-mix(in srgb, var(--purple) 12%, var(--surface));
  background:color-mix(in srgb, var(--purple) 4%, var(--surface));
}
.catalog-filter-btn{
  border-radius: var(--radius-pill);
  padding:.38rem .85rem;
  font-size:.82rem;
  font-weight:800;
  cursor:pointer;
  border:1px solid transparent;
  transition:background .15s, color .15s, border-color .15s;
}
.catalog-filter-btn--primary{
  background:linear-gradient(180deg,var(--purple-mid),var(--purple));
  color:#fff;
  border-color:transparent;
}
.catalog-filter-btn--primary:hover{
  filter:brightness(1.03);
}
.catalog-filter-btn--ghost{
  background: var(--surface);
  color:#475569;
  border-color:color-mix(in srgb, var(--purple) 22%, var(--surface));
}
.catalog-filter-btn--ghost:hover{
  background:color-mix(in srgb, var(--purple) 10%, var(--surface));
}
.catalog-filter-select-wrap{
  width:100%;
  max-width:18rem;
  margin-left:auto;
}
.catalog-filter-select{
  width:100%;
  max-width:18rem;
  padding:.52rem 2.25rem .52rem .75rem;
  border-radius: var(--radius-md);
  border:1px solid color-mix(in srgb, var(--purple) 22%, var(--surface));
  background-color: var(--surface);
  color:#334155;
  font-weight:700;
  font-size:.9rem;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(15,23,42,.05);
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236366f1' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E"), linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--purple) 4%, var(--surface)));
  background-repeat:no-repeat, no-repeat;
  background-position:right .65rem center, 0 0;
  background-size:.65rem auto, 100% 100%;
}
.catalog-filter-select:hover{
  border-color:color-mix(in srgb, var(--purple) 40%, var(--surface));
}
.catalog-filter-select:focus{
  outline:2px solid color-mix(in srgb, var(--purple) 45%, transparent);
  outline-offset:2px;
}
@media (max-width: 640px){
  .catalog-filters-row{
    justify-content:stretch;
  }
  .catalog-filter-field--cats,
  .catalog-filter-field--tip{
    min-width:100%;
    max-width:100%;
  }
  .catalog-filter-dd,
  .catalog-filter-select-wrap{
    max-width:none;
    margin-left:0;
  }
  .catalog-filter-dd__panel{
    right:0;
    left:0;
    max-width:none;
  }
}

.products-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 700px){
  .products-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px){
  .products-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-similar-wrap{
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--brand-rgb),0.12);
}

.product-card{
  background: var(--surface);
  border: 1px solid rgba(var(--brand-rgb),0.10);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(var(--brand-rgb),0.07), 0 3px 10px rgba(0,0,0,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.product-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(var(--brand-rgb),0.12), 0 8px 18px rgba(0,0,0,0.06);
  border-color: rgba(var(--brand-rgb),0.18);
}

.product-card__media{
  position: relative;
  display: block;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.07);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-card__media img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 1rem;
  transition: transform 0.22s ease;
}

.product-card:hover .product-card__media img{
  transform: scale(1.03);
}

.product-card__placeholder{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-weight: 700;
  background: linear-gradient(135deg,#f3e8ff,#e0f2fe);
}

.product-card__badge{
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(180deg, #ff7a59, #ff5722);
  color: #fff;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(255,87,34,0.25);
}

.product-card__body{
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1rem 1.05rem;
  flex: 1;
}

.product-card__kicker{
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple);
}

.product-card__title{
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 900;
  color: #1f2937;
  overflow-wrap: anywhere;
}

.product-card__title a{
  color: inherit;
  text-decoration: none;
}

.product-card__text{
  margin: 0;
  color: #667085;
  font-size: 0.94rem;
  line-height: 1.55;
}

.product-card__price-row{
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.product-card__rating {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0.15rem 0 0;
  padding: 0.05rem 0;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s ease;
}

.product-card__rating:hover,
.product-card__rating:focus-visible {
  opacity: 0.88;
  text-decoration: none;
}

.product-card__rating:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

.product-card__rating .stars {
  font-size: 0.88rem;
  letter-spacing: 1px;
  line-height: 1;
}

.product-card__rating-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}

.product-card__prices{
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.product-card__price-label{
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-card__price{
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--price-sale);
}

.product-card__old-price{
  font-size: 0.95rem;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 700;
}

.product-card__qty-offers{
  margin: 0.55rem 0 0;
  padding: 0.65rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(14, 165, 233, 0.28);
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
}

.product-card__qty-offers-label{
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0369a1;
}

.product-card__qty-offers-list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-card__qty-offer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.product-card__qty-offer-left{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.product-card__qty-offer-qty{
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.product-card__qty-offer-badge{
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-pill);
  background: #0ea5e9;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
}

.product-card__qty-offer-saves{
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  align-items: flex-start;
}

.product-card__qty-offer-save{
  font-size: 0.76rem;
  font-weight: 700;
  color: #15803d;
  line-height: 1.2;
}

.product-card__qty-offer-save-total{
  font-size: 0.8rem;
  font-weight: 800;
  color: #166534;
  line-height: 1.2;
}

.product-card__qty-offer-price-wrap{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  text-align: right;
}

.product-card__qty-offer-price{
  font-size: 1.22rem;
  font-weight: 900;
  color: var(--price-sale);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.product-card__qty-offer-unit{
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  line-height: 1.2;
}

.product-purchase-card .product-card__qty-offers{
  margin-top: 0.5rem;
  margin-bottom: 0.35rem;
}

.product-purchase-card .product-card__qty-offer-price{
  font-size: 1.38rem;
}

.product-purchase-card .hero-buy{
  margin-top: 0.15rem;
  gap: 0.55rem;
}

.product-purchase-card .hero-buy__row{
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.product-purchase-card .hero-buy__row .btn-hero{
  min-height: 58px;
  padding: 1rem 1.15rem;
  font-size: 1.12rem;
  box-shadow: 0 8px 24px rgba(var(--brand-dark-rgb), 0.32);
}

.product-purchase-card .hero-buy__row .btn-hero--whatsapp{
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.product-purchase-card .hero-buy__row .btn-hero__icon{
  font-size: 1.25rem;
}

.product-purchase-card .hero-buy__row .btn-hero__icon svg{
  width: 22px;
  height: 22px;
}

@media (min-width: 400px) {
  .product-purchase-card .hero-buy__row .btn-hero{
    min-height: 58px;
    font-size: 1.12rem;
    padding: 1rem 1rem;
  }
}

.product-purchase-card .hero-buy .fav-toggle--hero-buy,
.product-purchase-card .hero-buy .fav-toggle--inline{
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  font-size: 1.06rem;
}

.price-box__unit-hint{
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
  background: #e2e8f0;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  vertical-align: middle;
}

.product-card__actions{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.product-card__buy-form{
  margin: 0;
}

.btn-card-secondary,
.btn-card-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 0.98rem;
  text-decoration: none;
}

.btn-card-secondary{
  background: var(--surface);
  color: var(--purple);
  border: 1px solid color-mix(in srgb, var(--purple) 28%, #e9e5ec);
}

.btn-card-secondary:hover{
  background: #fdfbf6;
}

.btn-card-primary{
  border: none;
  cursor: pointer;
  color: var(--white);
  background: linear-gradient(180deg, var(--purple-mid), var(--purple));
  box-shadow: 0 8px 18px rgba(var(--brand-rgb),0.18);
}

.btn-card-primary:hover{
  filter: brightness(1.04);
}

@media (max-width: 699px){
  .catalog-hero__copy,
  .catalog-hero__card{
    border-radius: var(--radius);
  }

  .product-card{
    border-radius: var(--radius);
  }

  .product-card__body{
    padding: 0.9rem;
  }

  .products-grid .product-card:nth-child(n+5){
    content-visibility: auto;
    contain-intrinsic-size: 520px;
  }
}

@media (hover: none){
  .product-card:hover{
    transform: none;
    box-shadow: 0 10px 30px rgba(var(--brand-rgb),0.07), 0 3px 10px rgba(0,0,0,0.04);
    border-color: rgba(var(--brand-rgb),0.10);
  }

  .product-card:hover .product-card__media img{
    transform: none;
  }
}

/* ===== ADMIN CONTENT PAGE ===== */

.shop-admin-page{
  padding: 1.25rem;
  border-radius: var(--radius-lg);
}

.shop-admin-page__top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.shop-admin-form{
  display: grid;
  gap: 1rem;
}

.shop-admin-section{
  margin-bottom: 0;
  border: 1px solid rgba(var(--brand-rgb),0.08);
  box-shadow: 0 8px 24px rgba(var(--brand-rgb),0.06), 0 2px 8px rgba(0,0,0,0.03);
  border-radius: var(--radius);
}

.shop-admin-section__head{
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #f3ebdd;
}

.shop-admin-section__head h3{
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  color: #24324a;
}

.shop-admin-section__head p{
  margin: 0;
  color: #6b7280;
  font-size: 0.94rem;
}

/* Setări site — secțiuni pliabile (details + summary) */
details.shop-admin-section.site-settings-section{
  overflow: hidden;
}
details.shop-admin-section.site-settings-section > summary.site-settings-section__summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0;
  margin: 0;
}
details.shop-admin-section.site-settings-section > summary.site-settings-section__summary::-webkit-details-marker{
  display: none;
}
details.shop-admin-section.site-settings-section > summary .shop-admin-section__head{
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
  padding-bottom: 0.75rem;
  border-bottom: 0;
}
details.shop-admin-section.site-settings-section > summary .site-settings-section__chev{
  flex-shrink: 0;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  color: #64748b;
  transition: transform 0.2s ease;
}
details.shop-admin-section.site-settings-section[open] > summary .site-settings-section__chev{
  transform: rotate(180deg);
}
details.shop-admin-section.site-settings-section .shop-admin-section__body{
  padding: 0 1rem 1rem;
  border-top: 1px solid #f3ebdd;
}

.shop-admin-grid{
  display: grid;
  gap: 1rem;
}

.shop-admin-grid--2{
  grid-template-columns: 1fr;
}

.shop-admin-grid--3{
  grid-template-columns: 1fr;
}

@media (min-width: 860px){
  .shop-admin-grid--2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-admin-grid--3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.shop-admin-select,
.shop-admin-page select,
.shop-admin-page input,
.shop-admin-page textarea{
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid #d8dee8;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.98rem;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.shop-admin-page input:focus,
.shop-admin-page textarea:focus,
.shop-admin-page select:focus{
  outline: none;
  border-color: rgba(var(--brand-rgb),0.45);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb),0.10);
}

.shop-admin-page textarea{
  resize: vertical;
  min-height: 110px;
}

.shop-admin-stat{
  background: linear-gradient(135deg, #fdfbf6 0%, #fff 100%);
  border: 1px solid #eadcfb;
  border-radius: var(--radius);
  padding: 1rem;
}

.shop-admin-stat__label{
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 0.3rem;
}

.shop-admin-stat__value{
  font-size: 1.05rem;
  font-weight: 900;
  color: #24324a;
  line-height: 1.35;
}

.shop-admin-stat__meta{
  margin-top: 0.35rem;
  color: #6b7280;
  font-size: 0.9rem;
}

.shop-admin-actions{
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.form-row--full{
  grid-column: 1 / -1;
}

@media (max-width: 700px){
  .shop-admin-page{
    padding: 1rem;
  }

  .shop-admin-actions{
    justify-content: stretch;
  }

  .shop-admin-actions .btn-primary{
    width: 100%;
  }
}

/* ===== ADMIN PRODUCTS PAGE ===== */

.products-admin-list{
  display: grid;
  gap: 1rem;
}

.product-admin-card{
  border: 1px solid rgba(var(--brand-rgb),0.08);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(var(--brand-rgb),0.05), 0 2px 8px rgba(0,0,0,0.03);
}

.product-admin-card__top{
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.product-admin-card__media{
  width: 110px;
  height: 110px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #fdfbf6, #fff);
  border: 1px solid #eadcfb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-admin-card__media img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0.35rem;
}

.product-admin-card__placeholder{
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 700;
  text-align: center;
  padding: 0.5rem;
}

.product-admin-card__main{
  min-width: 0;
}

.product-admin-card__meta{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.product-admin-card__id{
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  background: #f3e8ff;
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 900;
}

.product-admin-card__price{
  font-size: 1rem;
  font-weight: 900;
  color: #d32f2f;
}

.product-admin-edit-form{
  display: grid;
  gap: 0.75rem;
}

.product-admin-card__actions{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.product-admin-links{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.9rem;
}

.product-admin-links a{
  color: var(--purple);
  font-weight: 800;
  text-decoration: none;
}

.product-admin-links a:hover{
  text-decoration: underline;
}

.product-admin-categories{
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3ebdd;
}

.product-admin-categories__label{
  font-size: 0.9rem;
  font-weight: 900;
  color: #24324a;
  margin-bottom: 0.65rem;
}

.product-admin-categories__list{
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.category-pill{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.category-pill input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.category-pill span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid #e3d4f5;
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: all .15s ease;
}

.category-pill input:checked + span{
  background: linear-gradient(180deg, var(--purple-mid), var(--purple));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(var(--brand-rgb),0.18);
}

.product-admin-categories__actions{
  margin-top: 0.85rem;
}

@media (max-width: 860px){
  .product-admin-card__top{
    grid-template-columns: 1fr;
  }

  .product-admin-card__media{
    width: 100%;
    height: 220px;
  }

  .product-admin-card__actions{
    flex-direction: column;
    align-items: stretch;
  }

  .product-admin-links{
    justify-content: flex-start;
  }
}

/* ===== ADMIN MEDIA PAGE ===== */

.media-admin-hero{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 900px){
  .media-admin-hero{
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
  }
}

.media-admin-hero__preview{
  background: linear-gradient(135deg, #fdfbf6 0%, #fff 100%);
  border: 1px solid #eadcfb;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-admin-hero__preview img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0.5rem;
}

.media-admin-placeholder{
  min-height: 220px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#f3e8ff,#e0f2fe);
  color: #64748b;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}

.media-admin-placeholder--small{
  min-height: 110px;
}

.media-admin-file-note{
  margin: 0.2rem 0 0.8rem;
  font-size: 0.9rem;
  color: #6b7280;
  word-break: break-word;
}

.media-admin-gallery{
  display: grid;
  gap: 0.8rem;
}

.media-admin-gallery__hint{
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.45;
}

.media-admin-gallery__status{
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: #166534;
}

.media-admin-gallery__status.is-error{
  color: #b91c1c;
}

.media-admin-gallery--sortable.is-saving{
  opacity: 0.72;
  pointer-events: none;
}

.media-admin-gallery__item{
  display: grid;
  grid-template-columns: auto auto 88px minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid #f3ebdd;
  border-radius: var(--radius-md);
  background: #fff;
}

.media-admin-gallery--sortable .media-admin-gallery__item.is-dragging{
  opacity: 0.55;
}

.media-admin-gallery--sortable .media-admin-gallery__item.is-drop-target{
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.media-admin-gallery__handle{
  border: 0;
  background: #f1f5f9;
  color: #64748b;
  border-radius: var(--radius-sm);
  width: 2rem;
  height: 2rem;
  font-size: 0.95rem;
  line-height: 1;
  cursor: grab;
  padding: 0;
}

.media-admin-gallery__handle:active{
  cursor: grabbing;
}

.media-admin-gallery__pos{
  font-size: 0.82rem;
  font-weight: 800;
  color: #94a3b8;
  min-width: 1.6rem;
}

.media-admin-gallery__thumb{
  width: 88px;
  height: 88px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg,#fdfbf6,#fff);
  border: 1px solid #eadcfb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-admin-gallery__thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0.3rem;
}

.media-admin-gallery__meta{
  min-width: 0;
}

.media-admin-gallery__label{
  font-weight: 900;
  color: #24324a;
  margin-bottom: 0.2rem;
}

.media-admin-gallery__file{
  color: #6b7280;
  font-size: 0.88rem;
  word-break: break-word;
}

.media-admin-gallery__delete{
  margin: 0;
}

.media-admin-empty{
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: #faf7ff;
  border: 1px dashed #dcc8f5;
  color: #6b7280;
  font-weight: 600;
}

.media-admin-videos{
  display: grid;
  gap: 1rem;
}

.media-admin-video-card{
  border: 1px solid #f3ebdd;
  border-radius: var(--radius);
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  box-shadow: 0 8px 24px rgba(var(--brand-rgb),0.05), 0 2px 8px rgba(0,0,0,0.03);
}

.media-admin-video-card__preview{
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111827;
}

.media-admin-video-card__preview iframe,
.media-admin-video-card__preview video{
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

@media (max-width: 720px){
  .media-admin-gallery__item{
    grid-template-columns: auto auto 1fr;
    justify-items: start;
  }

  .media-admin-gallery__thumb{
    grid-column: 1 / -1;
  }

  .media-admin-gallery__meta{
    grid-column: 1 / -1;
  }

  .media-admin-gallery__delete{
    grid-column: 1 / -1;
  }

  .media-admin-gallery__thumb{
    width: 100%;
    height: 180px;
  }
}

/* ===== ADMIN DASHBOARD ===== */

.dashboard-grid{
  display: grid;
  gap: 1rem;
}

.dashboard-grid--kpi{
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}

.dashboard-grid--2{
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

@media (min-width: 860px){
  .dashboard-grid--kpi{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dashboard-grid--2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dashboard-stat-card{
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  border: 1px solid rgba(var(--brand-rgb),0.10);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.05rem;
  box-shadow: 0 8px 24px rgba(var(--brand-rgb),0.05), 0 2px 8px rgba(0,0,0,0.03);
}

.dashboard-stat-card__icon{
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 0.55rem;
}

.dashboard-stat-card__label{
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: #8b5fbf;
  margin-bottom: 0.35rem;
}

.dashboard-stat-card__value{
  font-size: 1.6rem;
  font-weight: 900;
  color: #24324a;
  line-height: 1.15;
  word-break: break-word;
}

.dashboard-stat-card__sub{
  margin-top: 0.4rem;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 700;
}

.dashboard-compare-list{
  display: grid;
  gap: 0.9rem;
}

.dashboard-compare-card{
  background: #fff;
  border: 1px solid #f3ebdd;
  border-radius: var(--radius);
  padding: 1rem;
}

.dashboard-compare-card__label{
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: #8b5fbf;
  margin-bottom: 0.35rem;
}

.dashboard-compare-card__main{
  font-size: 1.45rem;
  font-weight: 900;
  color: #24324a;
  line-height: 1.15;
}

.dashboard-compare-card__sub{
  margin-top: 0.35rem;
  color: #6b7280;
  font-size: 0.92rem;
}

.dashboard-orders-list{
  display: grid;
  gap: 0.75rem;
}

.dashboard-order-row{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid #f3ebdd;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
}

.dashboard-order-row__main{
  min-width: 0;
}

.dashboard-order-row__title a{
  font-weight: 900;
  color: #24324a;
  text-decoration: none;
}

.dashboard-order-row__title a:hover{
  text-decoration: underline;
}

.dashboard-order-row__meta{
  margin-top: 0.2rem;
  color: #6b7280;
  font-size: 0.9rem;
}

.dashboard-order-row__side{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.dashboard-order-row__price{
  font-weight: 900;
  color: #d32f2f;
}

.dashboard-ranking-list{
  display: grid;
  gap: 0.75rem;
}

.dashboard-ranking-row{
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid #f3ebdd;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.8rem 0.9rem;
}

.dashboard-ranking-row__rank{
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--purple-mid), var(--purple));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(var(--brand-rgb),0.18);
}

.dashboard-ranking-row__main{
  min-width: 0;
}

.dashboard-ranking-row__title{
  font-weight: 900;
  color: #24324a;
  line-height: 1.3;
}

.dashboard-ranking-row__meta{
  margin-top: 0.2rem;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.4;
}

.dashboard-ranking-row__value{
  font-weight: 900;
  color: #d32f2f;
  white-space: nowrap;
}

@media (max-width: 700px){
  .dashboard-order-row__side{
    align-items: flex-start;
  }

  .dashboard-ranking-row{
    grid-template-columns: 42px 1fr;
  }

  .dashboard-ranking-row__value{
    grid-column: 2;
  }
}
/* dashboard 5 carduri sus */
.dashboard-grid--kpi-5{
  grid-template-columns: 1fr;
}

@media (min-width: 860px){
  .dashboard-grid--kpi-5{
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.dashboard-highlight-card{
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid #f3c7c7;
  background: linear-gradient(180deg, #fff5f5 0%, #fff 100%);
  text-align: center;
}

.dashboard-highlight-card--cancelled{
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.06), 0 2px 8px rgba(0,0,0,0.03);
}

.dashboard-highlight-card__icon{
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.dashboard-highlight-card__label{
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: #b42318;
  margin-bottom: 0.35rem;
}

.dashboard-highlight-card__value{
  font-size: 2rem;
  font-weight: 900;
  color: #b42318;
  line-height: 1.1;
}

/* dashboard 6 carduri */
.dashboard-grid--kpi-6{
  grid-template-columns: 1fr;
}

@media (min-width: 860px){
  .dashboard-grid--kpi-6{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px){
  .dashboard-grid--kpi-6{
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* dashboard 7 carduri */
.dashboard-grid--kpi-7{
  grid-template-columns: 1fr;
}

@media (min-width: 860px){
  .dashboard-grid--kpi-7{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px){
  .dashboard-grid--kpi-7{
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

.dashboard-stat-card--link {
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s ease, transform .15s ease;
}
.dashboard-stat-card--link:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, .08);
  transform: translateY(-1px);
}

.dashboard-grid--full{
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.status-breakdown-list{
  display: grid;
  gap: 0.9rem;
}

.status-breakdown-row{
  display: grid;
  gap: 0.45rem;
}

.status-breakdown-row__top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.status-breakdown-row__numbers{
  font-size: 0.92rem;
  font-weight: 800;
  color: #6b7280;
}

.status-breakdown-row__bar{
  width: 100%;
  height: 12px;
  background: #f3ebdd;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.status-breakdown-row__fill{
  height: 100%;
  border-radius: var(--radius-pill);
}

.status-breakdown-row__fill--pending{
  background: linear-gradient(90deg, #f5b041, #d68910);
}

.status-breakdown-row__fill--paid{
  background: linear-gradient(90deg, #58d68d, #239b56);
}

.status-breakdown-row__fill--shipped{
  background: linear-gradient(90deg, #5dade2, #2e86c1);
}

.status-breakdown-row__fill--cancelled{
  background: linear-gradient(90deg, #ec7063, #c0392b);
}

.sales-chart-card{
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  border: 1px solid #f3ebdd;
  border-radius: var(--radius);
  padding: 1rem;
}

.sales-chart-card__svg-wrap{
  width: 100%;
  height: 280px;
  background:
    linear-gradient(to top, rgba(var(--brand-rgb),0.05) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(180deg, #faf7ff 0%, #fff 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 0.7rem;
}

.sales-chart{
  width: 100%;
  height: 100%;
  display: block;
}

.sales-chart-card__footer{
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.8rem;
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 700;
  flex-wrap: wrap;
}

.sales-chart-card__meta{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid #f3ebdd;
  color: #6b7280;
  font-size: 0.92rem;
}

@media (max-width: 700px){
  .sales-chart-card__svg-wrap{
    height: 220px;
  }
}

/* ===== CHECKOUT PRO ===== */

.checkout-page--pro{
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.checkout-hero{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid #f3ebdd;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fdfbf6 0%, #fff7ed 100%);
}

@media (min-width: 980px){
  .checkout-hero{
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
  }
}

.checkout-hero__eyebrow{
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--purple);
}

.checkout-hero__steps{
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.checkout-step{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 800;
  background: #fff;
  border: 1px solid #eadcfb;
  color: #64748b;
}

.checkout-step.is-active{
  color: var(--purple);
  border-color: #d7b7f5;
  background: #fff;
}

.checkout-hero__trust{
  display: grid;
  gap: 0.65rem;
}

.checkout-hero__trust-item{
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.8);
  border: 1px solid #eadcfb;
  font-weight: 800;
  color: #24324a;
}

.checkout-layout--pro{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.checkout-main--flow{
  width: 100%;
}

.checkout-form--steps{
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.checkout-step-card{
  background: #fff;
  border: 1px solid #e8e0f4;
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 2px 14px rgba(var(--brand-rgb),0.06);
}

.checkout-step-card__title-row{
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.checkout-step-num{
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: var(--radius-pill);
  background: #374151;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.checkout-step-card__heading{
  margin: 0;
  font-size: 1.1rem;
  font-weight: 900;
  color: #24324a;
}

.checkout-step-card__lead{
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.45;
}

.checkout-final-summary{
  margin-top: 0.25rem;
}

.checkout-final-summary .checkout-summary--inline{
  position: static;
  margin: 0;
  max-width: none;
}

.checkout-card{
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: 0 10px 35px rgba(var(--brand-rgb),0.08), 0 3px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(var(--brand-rgb),0.08);
}

.checkout-card + .checkout-card{
  margin-top: 1rem;
}

.checkout-card__head{
  margin-bottom: 1rem;
}

.checkout-card__title{
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: #24324a;
}

.checkout-card__desc{
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.checkout-account-box{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid #e8dcfb;
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #fdfbf6 0%, #fff 100%);
}

.checkout-account-box__icon{
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--purple-mid), var(--purple));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.checkout-account-box__title{
  font-weight: 900;
  color: #24324a;
}

.checkout-account-box__text{
  color: #6b7280;
  font-size: 0.92rem;
  margin-top: 0.15rem;
}

.checkout-form__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.checkout-form__grid--login{
  grid-template-columns: 1fr;
}

@media (min-width: 760px){
  .checkout-form__grid{
    grid-template-columns: 1fr 1fr;
  }

  .form-row--full{
    grid-column: 1 / -1;
  }

  .checkout-company-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.checkout-card .form-row{
  margin-bottom: 0;
}

.checkout-card .form-row label{
  display: block;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #24324a;
}

.checkout-card .form-row input,
.checkout-card .form-row textarea,
.checkout-card .form-row select{
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #d9dee7;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.checkout-card .form-row input:focus,
.checkout-card .form-row textarea:focus,
.checkout-card .form-row select:focus{
  outline: none;
  border-color: rgba(var(--brand-rgb),0.45);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb),0.10);
}

.checkout-card .form-row input[readonly]{
  background: #f8fafc;
}

.checkout-card .form-row input.checkout-field--error,
.checkout-card .form-row textarea.checkout-field--error,
.checkout-card .form-row select.checkout-field--error {
  border-color: #dc2626;
  background-color: #fef2f2;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.checkout-card .form-row input.checkout-field--error:focus,
.checkout-card .form-row textarea.checkout-field--error:focus,
.checkout-card .form-row select.checkout-field--error:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.18);
}

.checkout-card .form-row textarea{
  resize: vertical;
  min-height: 110px;
}

.checkout-divider{
  height: 1px;
  background: #f3ebdd;
  margin: 1.15rem 0;
}

.checkout-subsection__title{
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
  font-weight: 900;
  color: #24324a;
}

.payment-methods{
  display: grid;
  gap: 0.8rem;
}

@media (min-width: 760px){
  .payment-methods{
    grid-template-columns: 1fr 1fr;
  }
}

/* O singură coloană, mai compact — card apoi ramburs */
.payment-methods--stack{
  grid-template-columns: 1fr !important;
  gap: 0.55rem;
  max-width: 26rem;
}

.payment-methods--in-pay-row{
  max-width: none;
}

/* Plată stânga, rezumat comandă dreapta */
.checkout-pay-with-summary{
  display: grid;
  gap: 1rem 1.25rem;
  align-items: start;
}

@media (min-width: 720px){
  .checkout-pay-with-summary{
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  }
}

.checkout-pay-with-summary__aside .checkout-summary--inline{
  margin: 0;
  position: sticky;
  top: 0.75rem;
}

.checkout-summary-box__title{
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 900;
  color: #24324a;
}

.checkout-summary.order-summary .order-summary__total {
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.checkout-summary.order-summary .order-summary__total-label {
  font-size: 1rem;
}

.checkout-summary.order-summary .order-summary__total-value {
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
}

.checkout-summary-box__hint{
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #6b7280;
}

.payment-method-card--compact{
  grid-template-columns: 40px 1fr;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
}

.payment-method-card--compact .payment-method-card__icon{
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
}

.payment-method-card--compact .payment-method-card__content small{
  font-size: 0.85rem;
  line-height: 1.35;
}

.payment-method-card{
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid #e4d6f6;
  border-radius: var(--radius);
  padding: 1rem;
  background: #fff;
  cursor: pointer;
  transition: all .15s ease;
}

.payment-method-card input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-method-card.is-selected{
  border-color: rgba(var(--brand-rgb),0.45);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb),0.10);
  background: linear-gradient(135deg, #fdfbf6 0%, #fff 100%);
}

.payment-method-card.is-disabled{
  opacity: 0.65;
  cursor: not-allowed;
}

.payment-method-card__icon{
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #f4ebff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.payment-method-card__content strong{
  display: block;
  color: #24324a;
  margin-bottom: 0.15rem;
}

.payment-method-card__content small{
  display: block;
  color: #6b7280;
  font-size: 0.9rem;
}

.checkout-company-toggle{
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 800;
  color: #24324a;
  margin-bottom: 0.9rem;
  cursor: pointer;
  line-height: 1.35;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
}

.checkout-company-toggle input[type="checkbox"]{
  margin: 0.15rem 0 0;
  width: 1rem;
  height: 1rem;
  accent-color: var(--purple,#c0794a);
  flex-shrink: 0;
}

.checkout-company-toggle span{
  display: block;
}

.checkout-company-field{
  transition: opacity .15s ease, transform .15s ease;
}

.checkout-company-fields{
  margin-top: 0.35rem;
}

.checkout-company-fields[hidden]{
  display: none !important;
}

.checkout-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.btn-checkout-confirm{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--green-bright) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 1rem 1.5rem;
  min-height: 56px;
  border: none;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--green-dark) 35%, transparent);
}

.btn-checkout-confirm:hover{
  filter: brightness(1.04);
}

.checkout-back-link{
  color: #667085;
  font-weight: 700;
}

.checkout-login-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
  margin-top: 0.2rem;
}

.checkout-login-links{
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  font-size: 0.95rem;
}

.checkout-summary--sticky{
  position: sticky;
  top: 20px;
}

.checkout-side-note{
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid #f3ebdd;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkout-trust--stacked{
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

@media (max-width: 760px){
  .checkout-card{
    padding: 1rem;
  }

  .checkout-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .btn-checkout-confirm{
    width: 100%;
  }

  .checkout-back-link{
    text-align: center;
  }

  .checkout-login-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .checkout-login-links{
    justify-content: center;
  }

  .checkout-summary--sticky{
    position: static;
  }
}

/* Footer Netopia badge — evită overflow orizontal pe mobil */
.netopia-widget-wrap {
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.progress-ship--mockup .bar {
  max-width: 100%;
}

/* ===========================
   Cont client (account)
   =========================== */

.account-page {
  padding: 2rem 0;
}

.account-shell {
  width: 100%;
  box-sizing: border-box;
}

.account-card {
  background: #fff;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06), 0 2px 10px rgba(15, 23, 42, 0.04);
  margin-bottom: 1.15rem;
}

/* Detaliu comandă în cont: umple lățimea containerului (fără coloană îngustă centrată). */
.account-card.account-card--order-detail {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

.account-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: #1e293b;
}

.account-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 900;
  color: #334155;
}

.account-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.account-page-head__left {
  min-width: 0;
}

.account-page-head__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
}

.account-page-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* Navigație cont */
.account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.account-nav__link {
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  color: #334155;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1.1;
}

.account-nav__link:hover {
  border-color: rgba(var(--brand-rgb), 0.45);
}

.account-nav__link--active {
  background: rgba(var(--brand-rgb), 0.08);
  border-color: rgba(var(--brand-rgb), 0.35);
  color: #4c1d95;
}

/* Buton primar în paginile de cont */
.account-shell .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(180deg, var(--purple-mid) 0%, var(--purple) 45%, var(--purple-dark) 100%);
  box-shadow: 0 4px 14px rgba(var(--brand-dark-rgb), 0.35);
  transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.account-shell .btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 20px rgba(var(--brand-dark-rgb), 0.4);
}

.account-shell .btn-primary:active {
  transform: scale(0.98);
}

/* Formulare cont */
.account-shell .form-row {
  margin-bottom: 0.95rem;
}

.account-shell .form-row label {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #24324a;
}

.account-shell .form-row input,
.account-shell .form-row textarea,
.account-shell .form-row select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #d9dee7;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.account-shell .form-row input:focus,
.account-shell .form-row textarea:focus,
.account-shell .form-row select:focus {
  outline: none;
  border-color: rgba(var(--brand-rgb), 0.45);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.1);
}

.account-shell .form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.account-shell .form-row--full {
  width: 100%;
}

/* Înregistrare cont — formular lat, mai multe câmpuri pe rând pe desktop */
.account-card--register {
  max-width: min(72rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.register-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem 1.15rem;
  align-items: start;
}

.register-form__grid > .form-row {
  margin-bottom: 0;
}

@media (min-width: 720px) {
  .register-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .register-form__grid > .form-row--full,
  .register-form__grid > .register-form__section-title {
    grid-column: 1 / -1;
  }

  .register-form__grid--company {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .register-form__grid--company {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.register-form__section-title {
  margin: 0.35rem 0 0;
  padding-top: 0.65rem;
  font-size: 1rem;
  font-weight: 900;
  color: #334155;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.register-company-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  color: #24324a;
  margin: 0;
  cursor: pointer;
}

.register-company-fields[hidden] {
  display: none !important;
}

.register-form__actions {
  margin-top: 0.25rem;
}

.register-addr-rows {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.95rem 1.15rem;
  width: 100%;
  grid-column: 1 / -1;
}

.checkout-addr-rows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  width: 100%;
  grid-column: 1 / -1;
  align-items: start;
}

.register-addr-rows > .form-row,
.checkout-addr-rows > .form-row {
  margin-bottom: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.checkout-addr-rows > .form-row label {
  display: block;
  min-height: 2.65em;
  margin: 0;
  line-height: 1.35;
  font-size: 0.9rem;
}

.checkout-addr-optional {
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
}

.checkout-addr-rows > .form-row input {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .register-addr-rows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .register-addr-rows,
  .checkout-addr-rows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .register-addr-rows,
  .checkout-addr-rows {
    grid-template-columns: 1fr;
  }

  .checkout-addr-rows > .form-row label {
    min-height: 0;
  }
}

/* Table cont */
.account-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.account-card .table {
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.88rem;
}

/* Badges livrare */
.account-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  font-weight: 1000;
  font-size: 0.85rem;
  white-space: nowrap;
  border: 1px solid transparent;
}

.account-status-badge--pending {
  background: rgba(245, 158, 11, 0.1);
  color: #92400e;
  border-color: rgba(245, 158, 11, 0.28);
}

.account-status-badge--paid {
  background: rgba(59, 130, 246, 0.08);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.24);
}

.account-status-badge--shipped {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.2);
}

.account-status-badge--cancelled {
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.24);
}

.account-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Butoane plată (mai explicite) */
.account-pay-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.6rem 1rem;
  min-height: 52px;
  border-radius: var(--radius);
  font-weight: 1000;
  text-decoration: none;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.account-pay-btn__sub {
  font-weight: 800;
  font-size: 0.8rem;
  opacity: 0.95;
}

.account-pay-btn--card {
  background: #0b5ed7;
}

.account-pay-btn--cod {
  background: #4b5563;
}

/* =========================
   Favorite (wishlist)
   ========================= */

/* Heart button header */
.btn-fav-header {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--nav-link, var(--text));
  border: 1px solid color-mix(in srgb, var(--purple) 18%, var(--surface));
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
  position: relative;
}
.btn-fav-header:hover {
  color: var(--purple, var(--text));
  border-color: color-mix(in srgb, var(--purple) 45%, var(--surface));
  background: color-mix(in srgb, var(--purple) 6%, var(--surface));
  transform: translateY(-1px);
}
.btn-fav-header__icon {
  color: var(--purple, var(--text));
}
.btn-fav-header__label {
  display: inline-block;
}
.btn-fav-header__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.4rem;
  border-radius: var(--radius-pill);
  background: var(--purple, #c0794a);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}
.btn-fav-header__count[hidden] {
  display: none !important;
}
@media (max-width: 640px) {
  .btn-fav-header__label { display: none; }
  .btn-fav-header { padding: 0.55rem 0.7rem; }
}

/* Heart toggle button (product cards + hero) */
.fav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.15s ease, transform 0.12s ease;
}
.fav-toggle:focus-visible {
  outline: 2px solid var(--purple, #c0794a);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.fav-toggle .fav-toggle__icon-fill {
  fill-opacity: 0;
  transition: fill-opacity 0.15s ease;
}
.fav-toggle.is-active {
  color: var(--price-sale, #dc2626);
}
.fav-toggle.is-active .fav-toggle__icon-fill {
  fill-opacity: 1;
}
.fav-toggle.is-animating {
  transform: scale(1.18);
}

/* Variant: floating on product cards (top-right of media) */
.product-card {
  position: relative;
}
.fav-toggle--card {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  color: #6b7280;
}
.fav-toggle--card:hover {
  color: var(--price-sale, #dc2626);
  background: #fff;
  transform: scale(1.06);
}
.fav-toggle--card.is-active {
  color: var(--price-sale, #dc2626);
  background: #fff;
}

/* Variant: inline button under the Buy button (product page) — matches btn-hero width */
.fav-toggle--inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 420px;
  min-height: 58px;
  margin: 0.75rem auto 0;
  padding: 1rem 1.65rem;
  border-radius: var(--radius);
  background: var(--surface, #fff);
  border: 2px solid color-mix(in srgb, var(--purple) 25%, var(--surface));
  color: var(--muted, #6b7280);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
@media (max-width: 900px) {
  .fav-toggle--inline { max-width: none; }
}
.fav-toggle--inline:hover {
  color: var(--price-sale, #dc2626);
  border-color: color-mix(in srgb, var(--price-sale) 40%, var(--surface));
  background: color-mix(in srgb, var(--price-sale) 5%, var(--surface));
  transform: translateY(-1px);
}
.fav-toggle--inline.is-active {
  color: var(--price-sale, #dc2626);
  border-color: color-mix(in srgb, var(--price-sale) 55%, var(--surface));
  background: color-mix(in srgb, var(--price-sale) 6%, var(--surface));
}
.hero-buy .fav-toggle--hero-buy,
.hero-buy .fav-toggle--inline {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(var(--brand-rgb), 0.08);
}

@media (max-width: 360px) {
  .hero-buy__row .btn-hero {
    min-height: 58px;
  }

  .product-purchase-card .hero-buy__row .btn-hero {
    min-height: 56px;
  }
}
.fav-toggle__label-inline {
  display: inline-block;
}
.fav-toggle--inline [data-fav-label-active] { display: none; }
.fav-toggle--inline [data-fav-label-inactive] { display: inline-block; }
.fav-toggle--inline.is-active [data-fav-label-active] { display: inline-block; }
.fav-toggle--inline.is-active [data-fav-label-inactive] { display: none; }

/* Favorites page */
.favorites-page {
  padding-top: 1.6rem;
  padding-bottom: 2.5rem;
}
.favorites-page__head {
  margin-bottom: 1.25rem;
}
.favorites-page__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--text);
}
.favorites-page__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.favorites-page__hint a {
  color: var(--purple, #c0794a);
  font-weight: 700;
  text-decoration: underline;
}
.favorites-page__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1rem;
  flex-wrap: wrap;
}
.favorites-page__count {
  color: var(--muted);
  font-size: 0.95rem;
}
.favorites-page__clear {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--price-sale) 30%, var(--surface));
  color: var(--price-sale, #dc2626);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}
.favorites-page__clear:hover {
  background: color-mix(in srgb, var(--price-sale) 8%, var(--surface));
}
.favorites-empty {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--purple) 15%, var(--surface));
  border-radius: var(--radius);
}
.favorites-empty__icon {
  font-size: 3.5rem;
  color: var(--purple, #c0794a);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.favorites-empty__title {
  margin: 0 0 0.4rem;
  color: var(--text);
}
.favorites-empty__text {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

/* Cookie banner + formulare magazin */
.cookie-banner {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10001;
  background: #111827;
  color: #f9fafb;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  padding: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-banner__btn {
  border: 0;
  background: #2563eb;
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.cookie-banner__btn--ghost {
  border: 1px solid #4b5563;
  background: transparent;
  color: #f9fafb;
}

.cart-voucher-card {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  background: #fafafa;
}

.cart-voucher-card__hint {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.45;
}

.cart-voucher-form input[type="text"] {
  flex: 1;
  min-width: 140px;
  padding: 0.5rem 0.65rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: inherit;
}

.cart-alert--mixed {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid #f59e0b;
  background: #fffbeb;
  border-radius: var(--radius);
  color: #78350f;
}

.theme-pill-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.08rem 0.45rem;
  border-radius: var(--radius-pill);
  background: #b45309;
  color: #fff;
  font-weight: 900;
}

.page-shell--frame :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]) {
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Admin — visitor intel (rapoarte / vizitatori / coșuri abandonate)
   Reguli partajate, consolidate aici din <style>-urile inline ale paginilor.
   ========================================================================== */
.voucher-admin-tag { display: inline-block; padding: 0.1rem 0.4rem; border-radius: 6px; background: #f5f3ff; border: 1px solid #c4b5fd; color: #5b21b6; font-size: 0.78rem; font-weight: 700; }
.voucher-admin-tag--pending { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.voucher-admin-display { display: inline-flex; flex-direction: column; gap: 0.2rem; line-height: 1.35; }

.reports-source-block { display: flex; flex-direction: column; gap: 0.35rem; }
.reports-source__line { display: block; font-size: 0.88rem; }
.reports-source__sep { color: #64748b; font-weight: 500; }
.reports-source__utm { color: #5b21b6; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.reports-source__utm:hover { color: #4c1d95; }
.reports-source__ref { color: #0369a1; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.reports-source__ref:hover { color: #0c4a6e; }

.reports-kpi-strip { margin-bottom: 1rem; padding: 0.85rem 1rem; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 10px; }
.reports-kpi-strip__period { margin: 0 0 0.5rem; font-size: 0.82rem; color: #0369a1; font-weight: 600; }
.reports-kpi-strip__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 0.5rem 0.75rem; }
.reports-kpi-strip__label { display: block; font-size: 0.72rem; color: #64748b; }
.reports-kpi-strip__value { font-size: 1rem; color: #0f172a; }

/* Cross-link chips (lista vizitatori) */
.sv-xlink { display: inline-block; padding: 0.1rem 0.45rem; border-radius: 999px; font-size: 0.74rem; font-weight: 700; text-decoration: none; border: 1px solid transparent; }
.sv-xlink--cart { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.sv-xlink--order { background: #ecfdf5; border-color: #6ee7b7; color: #065f46; }
.sv-xlink--order:hover { text-decoration: underline; }

/* Panouri detaliu vizitator */
.sv-intel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
@media (max-width: 900px) { .sv-intel-grid { grid-template-columns: 1fr; } }
.sv-panel { padding: 1rem 1.1rem; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.sv-panel__title { margin: 0 0 0.75rem; font-size: 0.95rem; font-weight: 800; color: #0f172a; }
.sv-subtitle { margin: 1rem 0 0.5rem; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: #64748b; }
.sv-stats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sv-stat { flex: 1 1 5rem; min-width: 5rem; padding: 0.5rem 0.55rem; text-align: center; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }
.sv-stat__val { display: block; font-size: 1rem; font-weight: 800; color: #0f172a; line-height: 1.2; }
.sv-stat__lbl { display: block; margin-top: 0.15rem; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: #64748b; }
.sv-stat--flag.is-on { background: #ecfdf5; border-color: #6ee7b7; }
.sv-stat--flag.is-on .sv-stat__val { color: #065f46; }
.sv-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.sv-cat { display: grid; grid-template-columns: 6rem 1fr 2.5rem; align-items: center; gap: 0.5rem; font-size: 0.85rem; }
.sv-cat__name { color: #334155; font-weight: 600; }
.sv-cat__bar { height: 8px; background: #e2e8f0; border-radius: 4px; overflow: hidden; }
.sv-cat__fill { display: block; height: 100%; background: linear-gradient(90deg, #7c3aed, #4f46e5); border-radius: 4px; }
.sv-cat__count { text-align: right; font-weight: 700; color: #0f172a; font-variant-numeric: tabular-nums; }
.sv-toppaths { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.84rem; }
.sv-toppaths code { word-break: break-all; }
.sv-sessions { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.sv-session { padding: 0.5rem 0.6rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }
.sv-session__head { display: block; font-weight: 700; color: #334155; font-size: 0.85rem; }
.sv-session__time { display: block; margin-top: 0.2rem; font-size: 0.77rem; line-height: 1.35; }
.sv-rel { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.sv-rel__item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 0.75rem; padding: 0.5rem 0.6rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.85rem; }
.sv-rel__item a { font-weight: 700; color: #2563eb; text-decoration: none; }
.sv-rel__item a:hover { text-decoration: underline; }
.sv-tag { display: inline-block; padding: 0.05rem 0.4rem; border-radius: 6px; font-size: 0.72rem; font-weight: 700; }
.sv-tag--open { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

/* Canale de trafic (badge + carduri pe dashboard / listă) */
.sv-channel { display: inline-block; padding: 0.1rem 0.45rem; border-radius: 999px; font-size: 0.72rem; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.reports-channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.75rem; }
.reports-channel-card { padding: 0.75rem 0.85rem; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.reports-channel-card__top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.4rem; }
.reports-channel-card__share { font-size: 0.78rem; font-weight: 800; color: #64748b; }
.reports-channel-card__val { font-size: 1.25rem; font-weight: 800; color: #0f172a; line-height: 1.2; }
.reports-channel-card__val span { font-size: 0.74rem; font-weight: 600; color: #64748b; }
.reports-channel-card__sub { margin-top: 0.4rem; font-size: 0.76rem; color: #64748b; }

/* ============================================================
   Natural redesign — finisaje componente (paletă lemn/Montessori)
   Adăugat la final: suprascrie blând, fără a atinge regulile vechi.
   ============================================================ */

/* Titluri — serif cald Fraunces, ton maro */
.catalog-hero__title, .product-card__title, .section-title,
.shop-section__title, .product-title, h1, h2 {
  font-family: var(--font-head);
  color: var(--text);
  font-weight: 600;
}
.catalog-hero__eyebrow {
  color: var(--purple-dark);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Carduri produs — margine caldă subtilă, umbră difuză, ridicare blândă la hover.
   Folosesc token-urile controlate din admin (--purple/--green/--brand-rgb). */
.product-card {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--purple) 14%, #efe6d8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(var(--brand-rgb), 0.16), 0 4px 12px rgba(61,53,46,.08);
  border-color: color-mix(in srgb, var(--purple) 32%, transparent);
}
.product-card__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.07);
}
.product-card__title { line-height: 1.3; }
.product-card__price { color: var(--purple-dark); }

/* Butoane — urmează culoarea din Admin → Site (--purple / --green) */
.btn-card-primary, .catalog-filter-btn--primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(var(--brand-rgb), 0.28);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-card-primary:hover, .catalog-filter-btn--primary:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(var(--brand-rgb), 0.34);
}
.btn-card-secondary {
  background: color-mix(in srgb, var(--green) 14%, #fff);
  color: var(--green-dark);
  border: 1px solid color-mix(in srgb, var(--green) 38%, transparent);
}
.btn-card-secondary:hover { background: color-mix(in srgb, var(--green) 22%, #fff); }

/* Linkuri și focus accesibil — urmează culoarea primară din admin */
a { color: var(--purple-dark); }
a:hover:not(.btn-cart):not(.btn-card-primary):not(.btn-card-secondary):not(.nav-whatsapp):not(.btn-fav-header):not(.btn-hero):not(.btn-banner):not(.btn-checkout):not(.btn-checkout-confirm) {
  color: var(--purple);
}
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Header — fundal crem cu separator cald */
.site-header {
  background: color-mix(in srgb, var(--bg) 85%, #fff);
  border-bottom: 1px solid color-mix(in srgb, var(--purple) 14%, #ece3d4);
  backdrop-filter: saturate(1.05) blur(6px);
}
.nav--main a:hover { color: var(--purple); }

/* Badge reducere / preț */
.product-card__price--old { color: var(--muted); }

/* ----- Preț cu zecimale ridicate (superscript) ----- */
.price-amt { white-space: nowrap; }
.price-amt .price-dec {
  font-size: 0.62em;
  font-weight: 700;
  vertical-align: 0.5em;
  margin-left: 2px;
}
.price-amt .price-cur {
  font-size: 0.6em;
  font-weight: 700;
  vertical-align: 0.35em;
  margin-left: 3px;
  letter-spacing: 0.01em;
}

/* ----- PDP mobil: cele 3 butoane (coș / WhatsApp / favorite) stivuite, la dimensiunea celui de favorite ----- */
@media (max-width: 640px) {
  .hero-buy__row {
    gap: 0.6rem;
  }
  .hero-buy__row .btn-hero,
  .product-purchase-card .hero-buy__row .btn-hero,
  .hero-buy .fav-toggle--hero-buy,
  .product-purchase-card .hero-buy .fav-toggle--hero-buy {
    min-height: 54px;
    padding: 0.95rem 1.4rem;
    font-size: 1.06rem;
    width: 100%;
  }
  /* la lățime plină încape textul complet pe butonul WhatsApp */
  .hero-buy__row .btn-hero__text-full { display: inline; }
  .hero-buy__row .btn-hero__text-short { display: none; }
}
