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

:root {
  --font-bebas: 'Bebas Neue';
  --font-dm: 'DM Sans';
  --black: #0a0a0a;
  --white: #f5f0e8;
  --cream: #ede8dc;
  --rust: #c94a2b;
  --rust-dark: #a03820;
  --sand: #d4c9b0;
  --muted: #7a7060;
  --surface: #111;
  --border: #2a2a2a;
  /* Secondary text on dark bg: ≥4.5:1 contrast on #0a0a0a */
  --text-secondary: #b0a898;
  /* Responsive breakpoints (use in media queries: max-width) */
  --bp-phone: 480px;
  --bp-tablet: 768px;
  --bp-tablet-lg: 1024px;
  --bp-desktop: 1280px;
  --touch-min: 44px;
  /* Header (dark storefront) — aliniat la look „GLOBAL OUTLET” */
  --nav-bg: #000000;
  --nav-link: #fdf5e6;
  --nav-link-hover: #ffffff;
  --nav-border-subtle: rgba(253, 245, 230, 0.12);
}

[data-theme="light"] {
  --black: #f2ede6;
  --white: #0a0a0a;
  --cream: #e8e2d8;
  --sand: #5a5248;
  --muted: #6b6358;
  --surface: #e8e4dc;
  --border: #d4cfc6;
  /* Secondary text on light bg: ≥4.5:1 on #e8e4dc */
  --text-secondary: #4a4238;
}

/* Performance: loading skeletons — instant feedback on navigation */
.loading-skeleton { min-height: 60vh; }
.loading-nav { height: 72px; background: var(--surface); }
.loading-main { padding: 1rem; }
.loading-hero { height: 280px; background: linear-gradient(90deg, var(--surface) 25%, var(--border) 50%, var(--surface) 75%); background-size: 200% 100%; animation: loading-shine 1.2s ease-in-out infinite; border-radius: 8px; margin-bottom: 2rem; }
.loading-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.loading-grid::before, .loading-grid::after { content: ""; height: 320px; background: var(--surface); border-radius: 8px; }
@keyframes loading-shine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.checkout-loading-skeleton { padding: 2rem 0; }
.checkout-loading-title { height: 2rem; width: 40%; background: var(--surface); border-radius: 4px; margin-bottom: 2rem; }
.checkout-loading-form { height: 400px; background: var(--surface); border-radius: 8px; }

/* SEO: hidden from view, read by crawlers & screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Light theme: hero — soft blend into photo (no hard cream/gray seam) */
[data-theme="light"] .hero {
  background: var(--black);
}
[data-theme="light"] .hero-right::after {
  opacity: 1;
  background: linear-gradient(
    to right,
    #f2ede6 0%,
    #f2ede6 6%,
    rgba(242, 237, 230, 0.95) 18%,
    rgba(242, 237, 230, 0.7) 34%,
    rgba(242, 237, 230, 0.35) 52%,
    rgba(242, 237, 230, 0.1) 70%,
    transparent 88%
  );
}
[data-theme="light"] .hero-slider-overlay {
  background:
    linear-gradient(
      to right,
      rgba(242, 237, 230, 0.55) 0%,
      rgba(242, 237, 230, 0.18) 40%,
      transparent 68%
    ),
    linear-gradient(to bottom, transparent 55%, rgba(242, 237, 230, 0.25) 100%);
}
[data-theme="light"] .hero-slider-img-wrap {
  background: linear-gradient(160deg, #e8e2d8 0%, #d4cfc6 50%, #c8c2b8 100%);
}
[data-theme="light"] .hero-slider-label {
  color: #1a1510;
  text-shadow: 0 1px 2px rgba(242, 237, 230, 0.8);
}
[data-theme="light"] .hero-badge span:first-child { color: #fff; }
[data-theme="light"] .hero-badge span:last-child { color: rgba(255, 255, 255, 0.9); }

[data-theme="light"] .product-card,
[data-theme="light"] .review-card,
[data-theme="light"] .cat-card { background: var(--surface); }
[data-theme="light"] .section.products-zone {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, transparent 30%, transparent 100%);
}
[data-theme="light"] .products-category-pill {
  border-color: rgba(201, 167, 96, 0.45);
  color: #4a3f2a;
  background: rgba(255, 255, 255, 0.65);
}
[data-theme="light"] .products-category-pill:hover {
  border-color: var(--rust);
  color: #1a1208;
  background: rgba(201, 74, 43, 0.15);
}
[data-theme="light"] .product-card-store {
  border-color: var(--border);
}
[data-theme="light"] .product-card-store:hover {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .testimonials { background: var(--surface); }
[data-theme="light"] .product-detail-image-wrap,
[data-theme="light"] .cart-item-image,
[data-theme="light"] .product-img-wrap { background: var(--surface); }
[data-theme="light"] .checkout-input,
[data-theme="light"] .checkout-country,
[data-theme="light"] .newsletter-form input,
[data-theme="light"] .cart-summary,
[data-theme="light"] .product-detail-size-btn,
[data-theme="light"] .cart-qty-btn { background: var(--surface); border-color: var(--border); }
[data-theme="light"] .product-detail-size-btn.selected { background: rgba(201, 74, 43, 0.15); }
[data-theme="light"] footer,
[data-theme="light"] .newsletter,
[data-theme="light"] .checkout-page,
[data-theme="light"] .cart-page,
[data-theme="light"] .product-page-wrap { background: var(--black); color: var(--white); }
[data-theme="light"] .checkout-order-summary {
  background: var(--surface);
  border-left-color: var(--border);
  color: var(--white);
}
[data-theme="light"] .checkout-summary-name,
[data-theme="light"] .checkout-summary-price,
[data-theme="light"] .checkout-summary-total-row,
[data-theme="light"] .checkout-summary-total-row strong {
  color: var(--white);
}
[data-theme="light"] .checkout-summary-meta,
[data-theme="light"] .checkout-summary-note {
  color: var(--muted);
}
[data-theme="light"] .checkout-summary-img {
  background: #ddd8ce;
  border: 1px solid var(--border);
}
[data-theme="light"] .checkout-summary-total-row {
  border-top-color: var(--border);
}
[data-theme="light"] .checkout-nav {
  background: var(--black);
  border-bottom-color: var(--border);
}
[data-theme="light"] .product-tag,
[data-theme="light"] .product-page-tag,
[data-theme="light"] .product-tag.product-card-tag {
  background: var(--rust);
  color: #fff;
}
[data-theme="light"] .categories { background: var(--cream); color: var(--black); }
[data-theme="light"] .cat-label h3,
[data-theme="light"] .categories .section-title { color: var(--white); }
[data-theme="light"] .cat-label p { color: rgba(10,10,10,0.6); }
[data-theme="light"] .stat-item { border-right-color: rgba(10,10,10,0.15); }
[data-theme="light"] .stat-label { color: rgba(10,10,10,0.7); }
[data-theme="light"] .stat-num { color: var(--black); }
[data-theme="light"] .marquee-track span:not(.dot) { color: var(--black); }
[data-theme="light"] .marquee-track span.dot { color: var(--sand); }
[data-theme="light"] .btn-add { background: var(--white); color: var(--black); }
[data-theme="light"] .btn-add:hover { background: var(--cream); }
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--black); }

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--sand);
  padding: 0.5rem 0.85rem;
  font-family: var(--font-dm), 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.theme-toggle:hover { color: var(--white); border-color: var(--muted); }
.theme-toggle-icon { font-size: 1rem; line-height: 1; }
.theme-toggle-label { }

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  /* Fără overflow pe html: dublu overflow-x (html+body) poate bloca scroll vertical în Chrome/Safari */
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-dm), 'DM Sans', sans-serif;
  font-weight: 300;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

button, a, [role="button"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

input, select, textarea {
  -webkit-tap-highlight-color: transparent;
  font-size: max(16px, 1rem);
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 2000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1.5rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  min-height: 4.25rem;
  mix-blend-mode: normal;
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border-subtle);
  box-sizing: border-box;
}
nav::before {
  display: none;
}
nav > * {
  position: relative;
  z-index: 1;
}
nav .nav-logo {
  justify-self: start;
}
nav .nav-center {
  justify-self: center;
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
nav .nav-links {
  justify-self: unset;
}
nav .nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
[data-theme="light"] nav {
  background-color: var(--black);
  border-bottom-color: rgba(10, 10, 10, 0.1);
}
[data-theme="light"] nav .nav-links a {
  color: var(--sand);
}
[data-theme="light"] nav .nav-links a:hover {
  color: var(--white);
}
[data-theme="light"] nav .theme-toggle {
  border-color: var(--border);
  color: var(--sand);
}
[data-theme="light"] nav .theme-toggle:hover {
  color: var(--white);
  border-color: var(--muted);
}
.nav-logo,
.checkout-nav-logo,
.product-page-nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
}
nav .nav-logo .site-logo-img {
  display: block;
  height: 40px;
  width: auto;
  flex-shrink: 0;
}
.site-logo-img {
  flex-shrink: 0;
  display: block;
  height: 38px;
  width: auto;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--nav-link);
  text-decoration: none;
  font-family: var(--font-dm), "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--nav-link-hover);
}
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rust);
  color: #ffffff;
  border: none;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-dm), "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.nav-cart:hover {
  background: var(--rust-dark);
  color: #ffffff;
}
/* Theme toggle în bara principală (dark): ghost ca în referință */
nav .theme-toggle {
  border: 1px solid rgba(253, 245, 230, 0.35);
  color: var(--nav-link);
  background: transparent;
  border-radius: 2px;
}
nav .theme-toggle:hover {
  color: var(--nav-link-hover);
  border-color: rgba(253, 245, 230, 0.55);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  position: relative;
  overflow: hidden;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 4rem 6rem;
  position: relative;
  z-index: 2;
}
.hero-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero-title em {
  font-style: normal;
  color: var(--rust);
  display: block;
}
.hero-sub {
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--sand);
  max-width: 360px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}
.hero-cta {
  margin-top: 3rem;
  display: flex; gap: 1rem; align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}
.btn-primary {
  background: var(--rust);
  color: #ffffff;
  border: none;
  padding: 1rem 2.5rem;
  font-family: var(--font-dm), 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--rust-dark); transform: translateY(-2px); }
.btn-ghost {
  color: var(--sand);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); }
.btn-ghost::after { content: '→'; }

.hero-right {
  position: relative;
  overflow: hidden;
}

/* Hero slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.hero-slider-loading {
  background: #111;
}
.hero-slider-track {
  position: absolute;
  inset: 0;
}
.hero-slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0 !important;
  z-index: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero-slider-slide.active {
  opacity: 1 !important;
  z-index: 1;
  pointer-events: auto;
}
.hero-slider-img-wrap {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a1a22 0%, #2a2a3a 50%, #1e1e28 100%);
}
.hero-slider-slide .hero-slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(10%) contrast(1.05);
}
.hero-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(10,10,10,0.3) 100%);
  pointer-events: none;
}
.hero-slider-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  z-index: 1;
}
.hero-slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
.hero-slider-dot:hover { background: rgba(255,255,255,0.3); }
.hero-slider-dot.active {
  background: var(--rust);
  border-color: var(--rust);
}

.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.1);
  transform-origin: center;
  animation: zoomIn 12s ease-in-out infinite alternate;
}
@keyframes zoomIn { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-right::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--black) 0%, transparent 40%);
}
.hero-badge {
  position: absolute;
  bottom: 3rem; right: 3rem;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--rust);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 3;
  animation: rotateBadge 12s linear infinite;
}
.hero-badge span:first-child {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}
.hero-badge span:last-child {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
@keyframes rotateBadge { to { transform: rotate(360deg); } }

/* MARQUEE */
.marquee-wrap {
  background: var(--rust);
  color: #ffffff;
  padding: 0.9rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
}
.marquee-track span {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  flex-shrink: 0;
  color: #ffffff;
}
.marquee-track span.dot { color: rgba(0, 0, 0, 0.35); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* BRANDS */
.brands-section {
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.brands-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-dm), 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.brand-pill:hover {
  border-color: var(--rust);
  color: var(--rust);
}
.brand-pill-logo {
  object-fit: contain;
  border-radius: 2px;
}
.brand-page-logo-wrap {
  margin-bottom: 1rem;
  max-width: 220px;
}
.brand-page-logo {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}
.product-page-brand {
  margin-top: 0.35rem;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product-page-brand a {
  color: var(--rust);
  text-decoration: none;
}
.product-page-brand a:hover {
  text-decoration: underline;
}

/* PRODUCTS */
.section {
  padding: 6rem 3rem;
  max-width: 100%;
  box-sizing: border-box;
}
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3rem;
}
.section-title {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 0.05em;
  line-height: 1;
}
.section-title small {
  display: block;
  font-family: var(--font-dm), 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.5rem;
}
.see-all {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex; align-items: center; gap: 0.4rem;
  transition: color 0.2s;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--muted);
}
.see-all:hover { color: var(--white); border-color: var(--white); }

/* Zona produse (landing): structură + navigare rapidă */
.section.products-zone {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 28%, transparent 100%);
}
.products-zone-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
}
.products-zone-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  margin-bottom: 0;
}
.products-zone-head-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
}
@media (min-width: 768px) {
  .products-zone-head-top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }
}
.products-zone-titles {
  min-width: 0;
}
.products-zone-intro {
  margin: 0.85rem 0 0;
  font-family: var(--font-dm), "DM Sans", sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--sand);
  max-width: 38rem;
}
.products-zone-actions {
  flex-shrink: 0;
}

/* Rând dedicat între titlul secțiunii și grila de produse */
.products-zone-pills-row {
  width: 100%;
  min-width: 0;
  margin: 0.85rem 0 1.75rem;
  padding: 0;
}

.products-category-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem 0.65rem;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.products-category-pill {
  font-family: var(--font-dm), "DM Sans", sans-serif;
  font-size: clamp(0.62rem, 1.1vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  line-height: 1.3;
  border: 1px solid rgba(201, 167, 96, 0.5);
  border-radius: 999px;
  color: #e8dcc4;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  max-width: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
}
.products-category-pill:hover {
  border-color: rgba(230, 200, 120, 0.65);
  color: #f5ecd4;
  background: rgba(201, 74, 43, 0.12);
}

/* Pastile în nav (desktop): înlocuiesc linkurile cât timp secțiunea #products e în viewport */
nav .products-category-pills--nav-bar {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  max-width: min(560px, 54vw);
  margin: 0 auto;
}
nav .products-category-pills--nav-bar .products-category-pill {
  font-size: clamp(0.56rem, 0.95vw, 0.66rem);
  padding: 0.35rem 0.7rem;
  letter-spacing: 0.1em;
}
.products-zone-grid {
  gap: 1.35rem;
}
.products-zone-empty {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.95rem;
  color: var(--sand);
}

/*
 * .reveal folosește translateY — transform nu ocupă spațiu în layout, deci titlul,
 * pastilele de categorii și cardurile par „lăsate în jos” și se suprapun peste rândul de dedesubt.
 * În zona produse folosim doar fade pe opacity.
 */
.section.products-zone .reveal {
  transform: none;
}
.section.products-zone .reveal.visible {
  transform: none;
}
.product-card-store {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.product-card-store:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.4);
}
.product-card-store .product-info {
  padding: 1rem 1.1rem 1.2rem;
}
.product-card-store .product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  min-height: 2.7em;
  margin-bottom: 0.5rem;
}
.product-card-store .product-meta {
  align-items: flex-end;
}

.products-grid {
  display: grid;
  /* minmax(0,1fr) evită blowout în Chrome când conținutul are min-width implicit */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
}
.product-card {
  background: #111;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-card-link:hover .product-overlay { opacity: 1; }
.product-card-link:hover .product-img-wrap img { transform: scale(1.07); }
@media (hover: none) and (max-width: 640px) {
  .product-info::after {
    content: 'View product →';
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rust);
  }
}
.product-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: #1a1a1a;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(15%);
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }
.product-tag {
  position: absolute; top: 1rem; left: 1rem;
  z-index: 2;
  background: var(--rust);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.product-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  background: rgba(10,10,10,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover .product-overlay { opacity: 1; }
.btn-add {
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 0.8rem 2rem;
  font-family: var(--font-dm), 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(10px);
  transition: transform 0.3s, background 0.2s;
}
.product-card:hover .btn-add { transform: translateY(0); }
.btn-add:hover { background: var(--cream); }
.product-info { padding: 1.2rem; }
.product-name {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.product-meta {
  display: flex; justify-content: space-between; align-items: center;
}
.product-price {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--white);
}
.product-price s {
  font-size: 0.9rem;
  color: var(--muted);
  margin-right: 0.4rem;
}
.product-colors {
  display: flex; gap: 0.4rem;
}
.color-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid #333;
}

/* PLACEHOLDER GRADIENT IMAGES */
.placeholder-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: rgba(255,255,255,0.07);
  letter-spacing: 0.1em;
}
.p1 { background: linear-gradient(135deg, #1c1c1c 0%, #2a2a2a 100%); }
.p2 { background: linear-gradient(135deg, #1a1a20 0%, #25252f 100%); }
.p3 { background: linear-gradient(135deg, #1c1a18 0%, #2e2a24 100%); }
.p4 { background: linear-gradient(135deg, #1a1c1a 0%, #242824 100%); }
.p5 { background: linear-gradient(135deg, #1c1a1c 0%, #2a252a 100%); }
.p6 { background: linear-gradient(135deg, #1c1c18 0%, #2c2c20 100%); }

/* CATEGORIES */
.categories { background: var(--cream); color: var(--black); }
.categories .section-title { color: var(--black); }
.categories .section-title small { color: var(--rust); }
.categories .see-all { color: var(--muted); border-color: var(--muted); }
.cat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 1rem;
}
.cat-card {
  background: #222;
  position: relative;
  overflow: hidden;
}
.cat-card:first-child { grid-row: 1 / 3; }
.cat-bg {
  position: relative;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.cat-card:hover .cat-bg { transform: scale(1.05); }
.cat-label {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  z-index: 2;
  max-width: calc(100% - 3rem);
}
.cat-label h3 {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.cat-label p {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.85);
  margin-top: 0.35rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.cat-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
  pointer-events: none;
}
.cat-bg-hoodie { background-color: #1e2025; background-image: linear-gradient(160deg, #1e2025 0%, #2c3040 100%); }
.cat-bg-sweatshirt { background-color: #201a18; background-image: linear-gradient(160deg, #201a18 0%, #3c2820 100%); }
.cat-bg-tshirt { background-color: #1a1e18; background-image: linear-gradient(160deg, #1a1e18 0%, #28341e 100%); }
.cat-bg-mysterybox { background-color: #1a1520; background-image: linear-gradient(160deg, #1a1520 0%, #3a2048 100%); }
.cat-bg-extra { background-color: #181818; background-image: linear-gradient(160deg, #181818 0%, #2e2e2e 100%); }
.cat-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  font-size: 5rem;
  opacity: 0.15;
}

/* STATS */
.stats {
  background: var(--rust);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat-item {
  padding: 3.5rem 2rem;
  border-right: 1px solid rgba(245,240,232,0.2);
}
.stat-item:last-child { border: none; }
.stat-num {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  letter-spacing: 0.05em;
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.7);
  margin-top: 0.5rem;
}

/* TESTIMONIALS */
.testimonials { background: #0d0d0d; }
.testimonials .section-title { color: var(--white); }
.testimonials .section-title small { color: var(--rust); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: #161616;
  padding: 2rem;
  border-left: 3px solid var(--rust);
  transition: transform 0.3s;
}
.review-card:hover { transform: translateY(-4px); }
.review-stars { color: var(--rust); font-size: 0.9rem; margin-bottom: 1rem; }
.review-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--sand);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.review-author {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.review-author strong { color: var(--white); font-weight: 400; }

/* NEWSLETTER */
.newsletter {
  background: var(--black);
  border-top: 1px solid #1f1f1f;
  text-align: center;
  padding: 6rem 3rem;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: 'GLOBAL OUTLET';
  position: absolute;
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 22vw;
  color: rgba(255,255,255,0.02);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
}
.newsletter h2 {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.05em;
  position: relative;
}
.newsletter p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 1rem 0 2.5rem;
  position: relative;
}
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
.newsletter-form input {
  flex: 1;
  background: #111;
  border: 1px solid #2a2a2a;
  border-right: none;
  color: var(--white);
  padding: 1rem 1.5rem;
  font-family: var(--font-dm), 'DM Sans', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form input:focus { border-color: var(--rust); }
.newsletter-form button {
  background: var(--rust);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  font-family: var(--font-dm), 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--rust-dark); }

/* FOOTER */
footer {
  background: var(--black);
  border-top: 1px solid #1a1a1a;
  padding: 4rem 3rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { display: block; margin-bottom: 1rem; }
.footer-brand .site-logo-img { height: 44px; }
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 260px;
}
.footer-col .footer-col-heading,
.footer-col h2.footer-col-heading {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-secondary); }
.social-links { display: flex; gap: 1.5rem; }
.social-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.social-links a:hover { color: var(--white); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--rust); }

/* CHECKOUT */
.checkout-page {
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-dm), 'DM Sans', sans-serif;
}
.checkout-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  background: var(--surface);
}
.checkout-nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.checkout-nav-back {
  color: var(--sand);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.checkout-nav-back:hover { color: var(--white); }
.checkout-main {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  min-height: calc(100vh - 64px);
  align-items: start;
}
/* Checkout layout: form + order summary side by side on desktop */
.checkout-wrap-with-summary {
  padding: 3rem 2.5rem 4rem;
}
.checkout-wrap { }

/* Order summary sidebar */
.checkout-order-summary {
  background: var(--surface);
  border-left: 1px solid var(--border);
  color: var(--white);
  padding: 3rem 2rem 4rem;
  position: sticky;
  top: 64px;
  height: fit-content;
  min-height: calc(100vh - 64px);
}
.checkout-summary-title {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.5rem;
}
.checkout-summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.checkout-summary-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 0.85rem;
  align-items: center;
}
.checkout-summary-img {
  position: relative;
  width: 60px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--border);
  flex-shrink: 0;
}
.checkout-summary-img .placeholder-img {
  width: 100%;
  height: 100%;
}
.checkout-summary-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--rust);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.checkout-summary-info {
  min-width: 0;
}
.checkout-summary-name {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--white);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 0.25rem;
}
.checkout-summary-meta {
  font-size: 0.75rem;
  color: var(--muted);
}
.checkout-summary-price {
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--white);
}
.checkout-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.checkout-summary-total-row strong {
  font-size: 1.1rem;
  color: var(--white);
}
.checkout-summary-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Responsive: stack summary on top on mobile */
@media (max-width: 900px) {
  .checkout-main {
    grid-template-columns: 1fr;
  }
  .checkout-order-summary {
    border-left: none;
    border-bottom: 1px solid var(--border);
    position: static;
    min-height: 0;
    padding: 2rem 1.5rem;
    order: -1;
  }
}
@media (max-width: 600px) {
  .checkout-order-summary { padding: 1.5rem 1rem; }
  .checkout-summary-item { grid-template-columns: 56px 1fr auto; gap: 0.65rem; }
  .checkout-summary-img { width: 56px; height: 68px; }
}
.checkout-title {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.checkout-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}
.checkout-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
}
.checkout-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #1f1f1f;
}
.checkout-block:last-of-type { border-bottom: none; }
.checkout-block-title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1rem;
}
.checkout-block-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}
.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.checkout-field {
  margin-bottom: 1.25rem;
}
.checkout-field:last-child { margin-bottom: 0; }
.checkout-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.5rem;
}
.checkout-optional { color: var(--muted); font-weight: 300; }
.checkout-required { color: var(--rust); }
.checkout-input {
  width: 100%;
  background: #111;
  border: 1px solid #2a2a2a;
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.checkout-input::placeholder { color: var(--muted); }
.checkout-input:focus { border-color: var(--rust); }
.checkout-country-readonly {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: var(--sand) !important;
  cursor: not-allowed;
  opacity: 0.8;
}
.checkout-country {
  background: #111;
  border: 1px solid #2a2a2a;
  color: var(--sand);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
}
.checkout-payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.checkout-payment-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--white);
}
.checkout-payment-option input { accent-color: var(--rust); }
.checkout-err {
  display: block;
  font-size: 0.75rem;
  color: var(--rust);
  margin-top: 0.35rem;
}
.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #1f1f1f;
}
.checkout-link {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}
.checkout-link:hover { color: var(--white); }
.checkout-btn {
  background: var(--rust);
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  font-family: var(--font-dm), 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.checkout-btn:hover:not(:disabled) { background: var(--rust-dark); }
.checkout-btn:disabled { opacity: 0.8; cursor: not-allowed; }
.checkout-btn-link {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
.checkout-section {
  margin-bottom: 2rem;
}
.checkout-section-title {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--white);
}
.checkout-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.checkout-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  align-items: center;
}
.checkout-item-image {
  width: 70px;
  height: 85px;
  background: #1a1a1a;
  border-radius: 4px;
  overflow: hidden;
}
.checkout-item-image .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checkout-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.checkout-item-name {
  font-weight: 500;
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.3;
}
.checkout-item-meta {
  font-size: 0.8rem;
  color: var(--muted);
}
.checkout-item-price {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: var(--rust);
  white-space: nowrap;
}
.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  color: var(--muted);
}
.checkout-summary-value {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: var(--white);
}
.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  margin-top: 1rem;
  border-top: 2px solid rgba(255,255,255,0.1);
  font-size: 1.1rem;
}
.checkout-total-value {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  color: var(--rust);
}
.checkout-submit {
  width: 100%;
  padding: 1.25rem 2rem;
  background: var(--rust);
  border: none;
  border-radius: 6px;
  color: var(--white);
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}
.checkout-submit:hover:not(:disabled) {
  background: var(--rust-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(183, 101, 76, 0.3);
}
.checkout-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.checkout-error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.checkout-field-error {
  display: block;
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
.checkout-field-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: -0.5rem 0 0.75rem;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .checkout-item {
    grid-template-columns: 60px 1fr;
    gap: 0.75rem;
  }
  .checkout-item-image {
    width: 60px;
    height: 72px;
  }
  .checkout-item-price {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.25rem;
  }
}
.checkout-success-wrap {
  text-align: center;
  padding: 2rem 0;
}
.checkout-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--rust);
  color: var(--white);
  font-size: 2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.checkout-success-text {
  color: var(--sand);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.checkout-success-order-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  margin: 0 auto 1.25rem;
  max-width: 320px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
}
.checkout-success-order-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.checkout-success-order-value {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--rust);
}
.checkout-success-order-fallback {
  font-size: 0.9rem;
  color: var(--sand);
  margin: 0 auto 1.25rem;
  max-width: 420px;
}
.checkout-success-delivery-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  margin: 0 auto 2rem;
  max-width: 320px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
}
.checkout-success-delivery-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.checkout-success-delivery-value {
  font-size: 1rem;
  color: var(--sand);
}
.checkout-success-delivery {
  font-size: 0.95rem;
  color: var(--sand);
  margin-bottom: 2rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 600px) {
  .checkout-row { grid-template-columns: 1fr; }
  .checkout-nav { padding: 1rem 1.5rem; }
  .checkout-wrap-with-summary { padding: 2rem 1rem 3rem; }
}

/* PRODUCT DETAIL PAGE */
.product-page-wrap {
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-dm), 'DM Sans', sans-serif;
}
.product-page-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  background: transparent;
}
.product-page-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.product-page-nav-back {
  color: var(--sand);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.product-page-nav-back:hover { color: var(--white); }
.product-page-nav-cart {
  background: var(--rust);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.product-page-nav-cart:hover { background: var(--rust-dark); }
.product-page-main {
  padding: 3rem 1.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}
.product-page-notfound {
  color: var(--sand);
  margin-bottom: 1.5rem;
}
.product-page-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
.product-page-gallery {
  position: relative;
  aspect-ratio: 3/4;
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
}
.product-page-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-page-tag {
  display: inline-block;
  background: var(--rust);
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: fit-content;
}
.product-page-name {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin: 0;
}
.product-page-price-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.product-page-price {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.03em;
  color: var(--rust);
}
.product-page-price-old {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  color: var(--muted);
  text-decoration: line-through;
  opacity: 0.7;
}
.product-page-price-display {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.03em;
  color: var(--rust);
}
.product-page-price-display s {
  font-size: 1.25rem;
  color: var(--muted);
  text-decoration: line-through;
  opacity: 0.7;
  margin-right: 0.75rem;
}
.product-page-desc {
  color: var(--sand);
  font-size: 0.95rem;
  line-height: 1.75;
}
.product-page-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-page-specs li {
  font-size: 0.9rem;
  color: var(--sand);
}
.product-page-specs li strong {
  color: var(--white);
}
.product-page-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1rem 0;
}
.product-page-colors,
.product-page-sizes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-page-option-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.product-page-color-list,
.product-page-size-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.product-page-color-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.product-page-color-btn:hover {
  transform: scale(1.1);
}
.product-page-color-btn.selected {
  border-color: var(--white);
  box-shadow: 0 0 0 2px var(--rust);
}
.product-page-size-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: var(--sand);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.product-page-size-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}
.product-page-size-btn.selected {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--white);
}
.product-page-add-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--rust);
  border: none;
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}
.product-page-add-btn:hover:not(:disabled) {
  background: var(--rust-dark);
  transform: translateY(-2px);
}
.product-page-add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.product-added-actions {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(93, 216, 121, 0.1);
  border: 1px solid rgba(93, 216, 121, 0.3);
  border-radius: 8px;
}
.product-added-message {
  color: #5dd879;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}
.product-added-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.product-added-btn-primary {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--rust);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  transition: all 0.2s ease;
}
.product-added-btn-primary:hover {
  background: var(--rust-dark);
  transform: translateY(-2px);
}
.product-added-btn-secondary {
  display: block;
  width: 100%;
  padding: 0.875rem;
  background: transparent;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--rust);
  border-radius: 4px;
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  transition: all 0.2s ease;
}
.product-added-btn-secondary:hover {
  background: var(--rust);
  color: var(--white);
}
.product-added-btn-tertiary {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  color: var(--sand);
  text-align: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.product-added-btn-tertiary:hover {
  color: var(--white);
}
@media (max-width: 768px) {
  .product-page-main {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .product-page-gallery {
    aspect-ratio: 1;
  }
}
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.product-detail-image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #1a1a1a;
}
.product-detail-image-wrap .placeholder-img {
  width: 100%;
  height: 100%;
}
.product-detail-image-wrap .product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}
.product-detail-info { }
.product-detail-title {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.product-detail-price {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}
.product-detail-price s {
  font-size: 1.1rem;
  color: var(--muted);
  margin-right: 0.5rem;
}
.product-detail-desc {
  color: var(--sand);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.product-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0.5rem;
}
.product-detail-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 0.2rem 0.75rem;
  font-size: 0.78rem;
  color: var(--sand);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.product-detail-tag:hover { opacity: 1; }
.product-detail-specs {
  margin-bottom: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
}
.product-detail-spec-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.6rem;
}
.product-detail-spec-row:last-child { margin-bottom: 0; }
.product-detail-spec-row dt {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rust);
  min-width: 5rem;
}
.product-detail-spec-row dd {
  color: var(--sand);
  font-size: 0.9rem;
  margin: 0;
}
.product-detail-option {
  margin-bottom: 1.5rem;
}
.product-detail-option-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.75rem;
}
.product-detail-colors {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}
.product-detail-color-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
  padding: 0;
  transition: border-color 0.2s, transform 0.2s;
}
.product-detail-color-btn:hover {
  transform: scale(1.08);
}
.product-detail-color-btn.selected {
  border-color: var(--white);
  box-shadow: 0 0 0 1px var(--white);
}
.product-detail-color-name {
  font-size: 0.85rem;
  color: var(--sand);
}
.product-detail-sizes {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.product-detail-size-btn {
  min-width: 48px;
  padding: 0.65rem 1rem;
  background: #111;
  border: 1px solid #2a2a2a;
  color: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.product-detail-size-btn:hover {
  border-color: var(--muted);
}
.product-detail-size-btn.selected {
  border-color: var(--rust);
  background: rgba(201, 74, 43, 0.15);
  color: var(--white);
}
.product-detail-add-btn {
  margin-top: 0.5rem;
  width: 100%;
  background: var(--rust);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  font-family: var(--font-dm), 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.product-detail-add-btn:hover:not(:disabled) {
  background: var(--rust-dark);
}
.product-detail-add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.product-detail-size-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.product-added-box {
  margin-top: 1.75rem;
  padding: 1.5rem;
  background: rgba(201, 74, 43, 0.12);
  border: 1px solid var(--rust);
}
.product-added-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.product-added-sub {
  font-size: 0.85rem;
  color: var(--sand);
  margin-bottom: 1.25rem;
}
.product-added-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.product-added-btn-primary,
.product-added-btn-secondary {
  display: block;
  text-align: center;
  padding: 1rem 1.25rem;
  font-family: var(--font-dm), 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.product-added-btn-primary {
  background: var(--rust);
  color: var(--white);
  border: none;
}
.product-added-btn-primary:hover { background: var(--rust-dark); }
.product-added-btn-secondary {
  background: transparent;
  color: var(--sand);
  border: 1px solid var(--muted);
}
.product-added-btn-secondary:hover {
  border-color: var(--white);
  color: var(--white);
}
@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-page-nav { padding: 1rem 1.5rem; }
}

/* LEGAL PAGES (Terms, Privacy, Shipping) */
.legal-page {
  min-height: calc(100vh - 68px);
  width: 100%;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-dm), 'DM Sans', sans-serif;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}
.legal-main {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) 4rem;
  box-sizing: border-box;
}
.legal-title {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}
.legal-updated {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}
.legal-content {
  line-height: 1.65;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.legal-content section {
  margin-bottom: 2rem;
}
.legal-content section:last-of-type {
  margin-bottom: 0;
}
.legal-content h2 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.65rem;
}
.legal-content p {
  color: var(--sand);
  font-size: 0.95rem;
  margin: 0;
  max-width: 62ch;
}
.legal-content a { color: var(--rust); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }
.legal-list {
  margin: 0.75rem 0 0 1.25rem;
  padding: 0;
  color: var(--sand);
  font-size: 0.95rem;
  line-height: 1.6;
}
.legal-list li { margin-bottom: 0.5rem; }
.legal-list li:last-child { margin-bottom: 0; }
.legal-back {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.contact-form { max-width: 480px; }
.contact-field { margin-bottom: 1.25rem; }
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact-success { color: var(--sand); }
.contact-success p { margin-bottom: 1rem; }

/* CART PAGE */
.cart-page {
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-dm), 'DM Sans', sans-serif;
}
.cart-main {
  padding: 2rem 1.5rem 4rem;
  max-width: 720px;
  margin: 0 auto;
}
.cart-container { }
.cart-title {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}
.cart-sub {
  color: var(--sand);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.cart-empty {
  padding: 2rem 0;
}
.cart-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.cart-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #1f1f1f;
}
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #1f1f1f;
}
.cart-item-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #1a1a1a;
  position: relative;
}
.cart-item-image .placeholder-img {
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
}
.cart-item-details { }
.cart-item-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}
.cart-item-name:hover { color: var(--rust); }
.cart-item-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.cart-item-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.cart-qty-btn {
  width: 32px;
  height: 32px;
  background: #111;
  border: 1px solid #2a2a2a;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.cart-qty-btn:hover { border-color: var(--rust); }
.cart-qty-num {
  min-width: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}
.cart-item-price {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  margin-left: auto;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: var(--rust); }
.cart-summary {
  background: #111;
  border: 1px solid #1f1f1f;
  padding: 1.5rem 1.75rem;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.cart-summary-total {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}
.cart-summary-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.cart-summary-total-row {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #2a2a2a;
  font-weight: 600;
}
.cart-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cart-btn-primary,
.cart-btn-secondary {
  display: block;
  text-align: center;
  padding: 1rem 1.5rem;
  font-family: var(--font-dm), 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cart-btn-primary {
  background: var(--rust);
  color: var(--white);
  border: none;
}
.cart-btn-primary:hover { background: var(--rust-dark); }
.cart-btn-secondary {
  background: transparent;
  color: var(--sand);
  border: 1px solid #2a2a2a;
}
.cart-btn-secondary:hover {
  border-color: var(--muted);
  color: var(--white);
}
@media (max-width: 600px) {
  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding: 1.25rem 0;
  }
  .cart-item-image .placeholder-img { font-size: 1.1rem; }
}

/* Tablet (până la 900px): 2 coloane produse, hero stivuit, nav compact */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { height: 50vh; min-height: 280px; }
  .hero-right::after { background: linear-gradient(to top, var(--black) 0%, transparent 60%); }
  [data-theme="light"] .hero-right::after {
    background: linear-gradient(
      to top,
      #f2ede6 0%,
      rgba(242, 237, 230, 0.92) 18%,
      rgba(242, 237, 230, 0.55) 45%,
      rgba(242, 237, 230, 0.15) 72%,
      transparent 100%
    );
  }
  .hero-left { padding: 5rem 2rem 4rem; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 2.5rem 1rem; }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 0.75rem; }
  .cat-card:first-child { grid-row: auto; }
  .cat-grid .cat-bg { min-height: 180px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  nav { padding: 1rem 1.5rem; background: var(--black); border-bottom: 1px solid rgba(245,240,232,0.08); }
  nav::before { display: none; }
  .nav-links { display: none; }
  .section { padding: 4rem 1.5rem; }
}

/* Mobil (1 produs per rând, layout optimizat touch) */
@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .product-info { padding: 1rem; }
  .product-name { font-size: 0.95rem; }
  .section { padding: 3rem 1rem; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-bottom: 2rem; }
  .section-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-grid .cat-bg { min-height: 200px; }
  .stats { grid-template-columns: 1fr; }
  .stat-item { padding: 2rem 1rem; border-right: none; border-bottom: 1px solid rgba(245,240,232,0.2); }
  .stat-item:last-child { border-bottom: none; }
  .stat-num { font-size: 2.5rem; }
  nav { padding: 0.75rem 1rem; background: var(--black); border-bottom: 1px solid rgba(245,240,232,0.08); }
  nav::before { display: none; }
  .nav-logo .site-logo-img { height: 26px; }
  .nav-cart { padding: 0.5rem 1rem; font-size: 0.7rem; }
  .hero-left { padding: 4.5rem 1.25rem 3rem; }
  .hero-title { font-size: clamp(3rem, 12vw, 4.5rem); }
  .hero-sub { max-width: none; }
  .hero-cta { flex-wrap: wrap; gap: 0.75rem; }
  .btn-primary, .btn-ghost { padding: 0.85rem 1.5rem; }
  .hero-slider-label { font-size: 1rem; bottom: 1rem; left: 1rem; }
  .hero-slider-dots { bottom: 1rem; }
  .hero-slider-dot { width: 10px; height: 10px; }
  .hero-badge { width: 80px; height: 80px; bottom: 1.5rem; right: 1.5rem; }
  .hero-badge span:first-child { font-size: 1.4rem; }
  .hero-badge span:last-child { font-size: 0.55rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: left; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .newsletter { padding: 4rem 1.5rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1px solid #2a2a2a; }
  .product-detail-grid { gap: 2rem; }
  .product-page-nav { padding: 1rem; }
  .product-page-nav-links { flex-wrap: wrap; gap: 0.75rem; }
  .product-page-main { padding: 2rem 1rem; }
  .checkout-nav, .cart-main { padding-left: 1rem; padding-right: 1rem; }
  .checkout-main { grid-template-columns: 1fr; }
  .checkout-wrap-with-summary { padding: 2rem 1rem; }
  .cart-summary-actions .cart-btn-primary,
  .cart-summary-actions .cart-btn-secondary { min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .theme-toggle { min-height: 44px; padding: 0.5rem 0.75rem; }
  /* Buline culori rotunde pe mobil (touch 44px) */
  .product-page-color-btn,
  .product-detail-color-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}

/* Zone sigure pentru notch (iOS) */
@supports (padding: max(0px)) {
  body { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
  nav { padding-left: max(1rem, calc(1rem + env(safe-area-inset-left))); padding-right: max(1rem, calc(1rem + env(safe-area-inset-right))); }
}
@media (max-width: 640px) {
  @supports (padding: max(0px)) {
    nav { padding-left: max(0.75rem, calc(0.75rem + env(safe-area-inset-left))); padding-right: max(0.75rem, calc(0.75rem + env(safe-area-inset-right))); }
  }
}

/* ADMIN */
.admin-page {
  min-height: 100vh;
  background: #fff;
  color: #1d2327;
  font-family: var(--font-dm), 'DM Sans', sans-serif;
}
.admin-login-box {
  max-width: 360px;
  margin: 4rem auto;
  padding: 2rem;
}
.admin-login-box h1 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.admin-login-box p { color: var(--sand); font-size: 0.9rem; margin-bottom: 1.5rem; }
.admin-captcha {
  background: rgba(255,255,255,0.03);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.admin-captcha-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-family: var(--font-bebas), 'Bebas Neue', monospace;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--sand);
  background: #111;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px dashed #444;
}
.admin-captcha-refresh {
  background: transparent;
  border: 1px solid #444;
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.admin-captcha-refresh:hover {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
}
.admin-captcha .admin-input {
  margin-bottom: 0;
}
.admin-input {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #333;
  color: var(--white);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  margin-bottom: 1rem;
  outline: none;
  border-radius: 6px;
}
.admin-input:focus { border-color: var(--rust); box-shadow: 0 0 0 2px rgba(180, 95, 73, 0.2); }
.admin-error { color: #e07c6c; font-size: 0.9rem; margin-bottom: 0.5rem; }
.admin-message { color: #4ade80; margin-bottom: 1rem; font-size: 0.9rem; }
.admin-btn {
  background: var(--rust);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  font-weight: 500;
}
.admin-btn:hover:not(:disabled) { background: var(--rust-dark); color: #fff; }
.admin-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.admin-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  border-radius: 6px;
}
.admin-btn-ghost:hover { border-color: var(--rust); color: #fff; }
.admin-btn-success {
  background: #22c55e;
  border: none;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
}
.admin-btn-success:hover {
  background: #16a34a;
  color: #fff;
}
.admin-btn-success:disabled {
  background: #86efac;
  cursor: not-allowed;
}
.admin-back { color: var(--muted); font-size: 0.9rem; margin-top: 1.5rem; display: inline-block; }
.admin-back:hover { color: var(--white); }
.admin-link-out { color: var(--rust); text-decoration: none; }
.admin-link-out:hover { text-decoration: underline; }

/* Admin layout – WordPress / OpenCart style: sidebar stânga + top bar + conținut deschis */
.wp-admin-wrap {
  display: flex;
  min-height: 100vh;
  background: #f0f0f1;
}
.wp-admin-sidebar {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  height: 100vh;
  flex-shrink: 0;
  box-sizing: border-box;
  background: #23282d;
  color: #a0a5aa;
  font-size: 14px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #191e23;
  overflow-x: hidden;
  overflow-y: auto;
}
/* Prevent main site nav styles (fixed + gradient overlay) from affecting admin sidebar */
.wp-admin-sidebar nav {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
  padding: 0;
  display: flex;
}
.wp-admin-sidebar nav::before {
  display: none;
}
.wp-admin-sidebar-brand {
  flex-shrink: 0;
  width: 220px;
  max-width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid #191e23;
  order: 1;
}
.wp-admin-sidebar-logo {
  display: block;
  padding: 8px 16px;
  color: #a0a5aa;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.wp-admin-sidebar-logo:hover { color: #00b9eb; }
.wp-admin-sidebar-site {
  display: block;
  padding: 6px 16px;
  color: #72aee6;
  text-decoration: none;
  font-size: 13px;
}
.wp-admin-sidebar-site:hover { color: #00b9eb; }
.wp-admin-sidebar-nav {
  flex: 1 1 0;
  min-height: 200px;
  width: 220px;
  max-width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 0 0;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  order: 2;
  border-top: 1px solid #191e23;
}
.wp-admin-menu-group {
  flex-shrink: 0;
  width: 100%;
  margin-bottom: 8px;
}
.wp-admin-menu-group-title {
  padding: 8px 16px 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6c7781;
}
.wp-admin-menu-list { list-style: none; margin: 0; padding: 0; }
.wp-admin-menu-list li { margin: 0; }
.wp-admin-menu-item {
  display: block;
  padding: 10px 16px 10px 20px;
  color: #a0a5aa;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-size: 14px;
  font-family: inherit;
  border-left: 4px solid transparent;
  transition: color 0.1s, background 0.1s;
  box-sizing: border-box;
}
.wp-admin-menu-item:hover {
  color: #fff;
  background: #32373c;
}
.wp-admin-menu-item-active {
  color: #fff;
  background: #2271b1;
  border-left-color: #135e96;
}
.wp-admin-menu-item-active:hover {
  color: #fff;
  background: #2271b1;
}
.wp-admin-menu-footer {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid #191e23;
}
.wp-admin-menu-item-logout { color: #a0a5aa; }
.wp-admin-menu-item-logout:hover { color: #dc3232; background: rgba(220, 50, 50, 0.1); }

.wp-admin-body {
  flex: 1;
  margin-left: 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.wp-admin-main {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 24px 24px 40px;
  color: #1d2327;
  background: #fff;
  overflow-x: hidden;
}
.wp-admin-page-title {
  font-size: 23px;
  font-weight: 400;
  margin: 0 0 20px;
  color: #1d2327;
  padding: 0;
  line-height: 1.3;
}
.admin-page .wp-admin-main .admin-count,
.admin-page .wp-admin-main .admin-info,
.admin-page .wp-admin-main .admin-products-list { color: #50575e; }
.admin-page .wp-admin-main .admin-order-card {
  background: #fff;
  border: 1px solid #c3c4c7;
  box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}
.admin-page .wp-admin-main .admin-order-card p,
.admin-page .wp-admin-main .admin-order-card ul { color: #50575e; }
.admin-page .wp-admin-main .admin-order-card strong { color: #1d2327; }
.admin-page .wp-admin-main .admin-order-total { color: #1d2327; }
.admin-page .wp-admin-main .admin-form-card {
  background: #fff;
  border: 1px solid #c3c4c7;
  box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}
.admin-page .wp-admin-main .admin-form-card h3 { color: #1d2327; }
.admin-page .wp-admin-main .admin-form-card label { color: #50575e; }
.admin-page .wp-admin-main code { background: #f0f0f1; color: #1d2327; border: 1px solid #c3c4c7; }
.admin-page .wp-admin-main .admin-products-list a { color: #2271b1; }
.admin-page .wp-admin-main .admin-products-list a:hover { color: #135e96; }
.admin-page .wp-admin-main .admin-btn { background: #2271b1; color: #fff; }
.admin-page .wp-admin-main .admin-btn:hover:not(:disabled) { background: #135e96; color: #fff; }
.admin-page .wp-admin-main .admin-btn-ghost {
  border: none;
  background: #2271b1;
  color: #fff;
  text-decoration: none;
}
.admin-page .wp-admin-main .admin-btn-ghost:hover {
  background: #135e96;
  color: #fff;
  border: none;
  text-decoration: none;
}
.admin-page .wp-admin-main .admin-link-out { color: #2271b1; }
.admin-page .wp-admin-main .admin-input {
  background: #fff;
  border-color: #8c8f94;
  color: #1d2327;
}
.admin-page .wp-admin-main .admin-input:focus { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; }
.admin-page .wp-admin-main .admin-error { color: #d63638; }
.admin-page .wp-admin-main .admin-message { color: #00a32a; }
.admin-page .wp-admin-main .admin-order-paid { color: #00a32a; }
.admin-page .wp-admin-main .admin-order-pending { color: #dba617; }
.admin-page .wp-admin-main .admin-order-storno { color: #dc3545; }
.admin-page .wp-admin-main .admin-order-actions { margin-top: 1rem; }
.admin-page .wp-admin-main .admin-orders-toolbar { border-bottom-color: #c3c4c7; }
.admin-page .wp-admin-main .admin-orders-subtitle { color: #50575e; }
.admin-page .wp-admin-main .admin-orders-results-count { color: #50575e; }
.admin-page .wp-admin-main .admin-orders-empty { background: #f9f9f9; border-color: #c3c4c7; color: #50575e; }
.admin-page .wp-admin-main .ao-table-wrap { border-color: #c3c4c7; }
.admin-page .wp-admin-main .ao-thead-row { background: #f6f7f7; }
.admin-page .wp-admin-main .ao-th { color: #50575e; border-bottom-color: #c3c4c7; }
.admin-page .wp-admin-main .ao-data-row:hover { background: #f9f9f9; }
.admin-page .wp-admin-main .ao-data-row--open { background: #f0f0f1 !important; }
.admin-page .wp-admin-main .ao-td { color: #1d2327; border-bottom-color: #e2e4e7; }
.admin-page .wp-admin-main .ao-td-id { color: #50575e; }
.admin-page .wp-admin-main .ao-td-name { color: #1d2327; }
.admin-page .wp-admin-main .ao-email-link { color: #2271b1; }
.admin-page .wp-admin-main .ao-td-phone { color: #50575e; }
.admin-page .wp-admin-main .ao-td-addr {
  color: #787c82;
  max-width: 22rem;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  overflow: visible;
}
.admin-page .wp-admin-main .ao-addr-line { color: #787c82; }
.admin-page .wp-admin-main .ao-td-oras,
.admin-page .wp-admin-main .ao-td-locality { color: #50575e; max-width: 11rem; white-space: normal; word-break: break-word; }
.admin-page .wp-admin-main .ao-td-postal { color: #50575e; }
.admin-page .wp-admin-main .ao-ship-dl dt { color: #787c82; }
.admin-page .wp-admin-main .ao-ship-dl dd { color: #1d2327; }
.admin-page .wp-admin-main .ao-details-shipping { border-bottom-color: #c3c4c7; }
.admin-page .wp-admin-main .ao-td-total { color: #1d2327; }
.admin-page .wp-admin-main .ao-td-date { color: #787c82; }
.admin-page .wp-admin-main .ao-expand-btn { background: #f0f0f1; border-color: #c3c4c7; color: #50575e; }
.admin-page .wp-admin-main .ao-expand-btn:hover { background: #e2e4e7; color: #1d2327; }
.admin-page .wp-admin-main .ao-details-row { background: #f9f9f9; }
.admin-page .wp-admin-main .ao-details { border-top-color: #c3c4c7; }
.admin-page .wp-admin-main .ao-items-table th { background: #f0f0f1; color: #787c82; border-color: #c3c4c7; }
.admin-page .wp-admin-main .ao-items-table td { color: #1d2327; border-color: #c3c4c7; }
.admin-page .wp-admin-main .ao-items-table tr:nth-child(even) td { background: #f6f7f7; }
.admin-page .wp-admin-main .ao-details-total, .admin-page .wp-admin-main .ao-details-total strong { color: #1d2327; }
.admin-page .wp-admin-main .ao-details-info { color: #50575e; }
.admin-page .wp-admin-main .ao-details-info strong { color: #1d2327; }
.admin-page .wp-admin-main .ao-fulfill-badge--pickup {
  background: #d5f4e6;
  color: #1e4620;
  border-color: #a9dfbf;
}
.admin-page .wp-admin-main .ao-fulfill-badge--delivered {
  background: #d6eaf8;
  color: #1a5276;
  border-color: #aed6f1;
}
.admin-page .wp-admin-main .ao-pay-badge { background: #f0f0f1; color: #50575e; border-color: #c3c4c7; }
.admin-page .wp-admin-main .ao-page-btn { background: #f0f0f1; border-color: #c3c4c7; color: #50575e; }
.admin-page .wp-admin-main .ao-page-btn:hover:not(:disabled) { background: #e2e4e7; color: #1d2327; }
.admin-page .wp-admin-main .admin-order-card-v2-actions { background: transparent; border-top: none; }
.admin-page .wp-admin-main .admin-order-card-v2-awb { color: #50575e; }
.admin-page .wp-admin-main .admin-order-card-v2-awb strong { color: #1d2327; }
.admin-page .wp-admin-main .admin-users-item { background: #fff; border-color: #c3c4c7; }
.admin-page .wp-admin-main .admin-users-item-email { color: #1d2327; }
.admin-page .wp-admin-main .admin-users-item-name { color: #50575e; }
.admin-page .wp-admin-main .admin-users-item-role { background: #f0f0f1; color: #50575e; }
.admin-page .wp-admin-main .admin-btn-secondary { border-color: #2271b1; color: #fff; }
.admin-page .wp-admin-main .admin-btn-secondary:hover { color: #fff; border-color: #135e96; }
.admin-page .wp-admin-main .admin-awb { color: #50575e; }
.admin-page .wp-admin-main .admin-awb strong { color: #1d2327; }
.admin-page .wp-admin-main .admin-products-toolbar { border-bottom-color: #c3c4c7; }
.admin-page .wp-admin-main .admin-products-subtitle { color: #50575e; }
.admin-page .wp-admin-main .admin-products-results-count { color: #50575e; }
.admin-page .wp-admin-main .admin-products-table-wrap {
  border-color: #c3c4c7;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}
.admin-page .wp-admin-main .admin-products-th {
  background: #f6f7f7;
  color: #50575e;
  border-bottom-color: #c3c4c7;
}
.admin-page .wp-admin-main .admin-products-tr:nth-child(even) { background: #fcfcfc; }
.admin-page .wp-admin-main .admin-products-tr:hover { background: #f0f6fc; }
.admin-page .wp-admin-main .admin-products-td { border-bottom-color: #f0f0f1; }
.admin-page .wp-admin-main .admin-products-thumb { background: #f0f0f1; }
.admin-page .wp-admin-main .admin-products-thumb.p1 { background: linear-gradient(135deg, #e8e8e8 0%, #ddd 100%); }
.admin-page .wp-admin-main .admin-products-thumb.p2 { background: linear-gradient(135deg, #e0e0e5 0%, #d5d5dd 100%); }
.admin-page .wp-admin-main .admin-products-thumb.p3 { background: linear-gradient(135deg, #e0e8e0 0%, #d5ddd5 100%); }
.admin-page .wp-admin-main .admin-products-thumb.p4 { background: linear-gradient(135deg, #e8e2e0 0%, #ddd5d2 100%); }
.admin-page .wp-admin-main .admin-products-thumb.p5 { background: linear-gradient(135deg, #e2e0e8 0%, #d5d2dd 100%); }
.admin-page .wp-admin-main .admin-products-thumb.p6 { background: linear-gradient(135deg, #e0e5e5 0%, #d2d8d8 100%); }
.admin-page .wp-admin-main .admin-products-thumb-label { color: rgba(0,0,0,0.35); }
.admin-page .wp-admin-main .admin-products-product-name { color: #1d2327; }
.admin-page .wp-admin-main .admin-products-product-slug { color: #787c82; }
.admin-page .wp-admin-main .admin-products-price { color: #50575e; }
.admin-page .wp-admin-main .admin-products-price s { color: #787c82; }
.admin-page .wp-admin-main .admin-products-pill { background: #f0f0f1; color: #50575e; }
.admin-page .wp-admin-main .admin-products-muted { color: #a7aaad; }
.admin-page .wp-admin-main .admin-products-table-select {
  border-color: #8c8f94;
  background: #fff;
  color: #1d2327;
}
.admin-page .wp-admin-main .admin-products-saving-dot { color: #787c82; }
.admin-page .wp-admin-main .admin-products-action-link { color: #2271b1; }
.admin-page .wp-admin-main .admin-products-action-link:hover { color: #135e96; }
.admin-page .wp-admin-main .admin-products-action-link--danger { color: #b32d2e; }
.admin-page .wp-admin-main .admin-products-action-link--danger:hover:not(:disabled) { color: #8a2424; }
.admin-page .wp-admin-main .admin-products-empty { background: #f9f9f9; border-color: #c3c4c7; color: #50575e; }
.admin-page .wp-admin-main .admin-sitemap-url { background: #f0f0f1; color: #1d2327; }
.admin-page .wp-admin-main .admin-sitemap-steps { color: #50575e; }
.admin-page .wp-admin-main .admin-sitemap-steps code { background: #f0f0f1; color: #1d2327; }
.admin-page .wp-admin-main .admin-muted { color: #50575e; }

.admin-count { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.admin-orders { display: flex; flex-direction: column; gap: 1rem; }
.admin-order-card {
  background: #151515;
  border: 1px solid #252525;
  padding: 1.5rem;
  border-radius: 8px;
}
.admin-order-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.admin-order-card p { font-size: 0.95rem; color: #d0d0d0; margin: 0.4rem 0; line-height: 1.5; }
.admin-order-card ul { margin: 0.5rem 0; padding-left: 1.25rem; font-size: 0.95rem; color: #d0d0d0; line-height: 1.5; }
.admin-order-card strong { color: #fff; }
.admin-order-total { font-weight: 600; color: #fff; margin-top: 0.75rem; font-size: 1.05rem; }
.admin-order-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }

/* Comenzi – layout modern cu search */
.admin-orders-header { margin-bottom: 0.5rem; }
.admin-orders-subtitle { color: var(--muted); font-size: 0.9rem; margin: 0 0 1rem; }
.admin-orders-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #252525;
}
.admin-orders-search-wrap {
  flex: 1;
  min-width: 220px;
  max-width: 400px;
  position: relative;
}
.admin-orders-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 1rem; opacity: 0.6; pointer-events: none; }
.admin-orders-search { width: 100%; padding-left: 2.25rem; border-radius: 8px; }
.admin-orders-filter-wrap { min-width: 140px; }
.admin-orders-filter-label { display: block; font-size: 0.7rem; color: var(--muted); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-orders-filter-select { width: 100%; border-radius: 8px; }
.admin-orders-results-count { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; }
.admin-orders-list { display: flex; flex-direction: column; gap: 1rem; }
.admin-orders-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--muted);
  background: #151515;
  border: 1px dashed #333;
  border-radius: 8px;
}

/* ── Orders table ── */
.ao-table-wrap { overflow-x: auto; border: 1px solid #252525; border-radius: 10px; }
.ao-table { width: 100%; border-collapse: collapse; min-width: 1200px; }
.ao-thead-row { background: #1c1c1c; }
.ao-th {
  padding: 7px 10px;
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #999;
  text-align: left;
  border-bottom: 1px solid #2e2e2e;
  white-space: nowrap;
}
.ao-th-r { text-align: right; }
.ao-data-row { border-bottom: 1px solid #1a1a1a; transition: background .1s; }
.ao-data-row:last-child { border-bottom: none; }
.ao-data-row:hover { background: #161616; }
.ao-data-row--open { background: #131313 !important; }
.ao-td {
  padding: 7px 10px;
  font-size: 0.82rem;
  color: #d8d8d8;
  vertical-align: middle;
  white-space: nowrap;
}
.ao-td-id {
  font-family: ui-monospace, monospace;
  font-size: 0.74rem;
  color: #aaa;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ao-td-name { font-weight: 600; color: #efefef; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.ao-td-email { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.ao-email-link { color: #7ab4e8; text-decoration: none; font-size: 0.8rem; }
.ao-email-link:hover { text-decoration: underline; }
.ao-td-phone { color: #bbb; font-size: 0.8rem; }
.ao-th-addr { min-width: 11rem; }
.ao-th-oras { min-width: 5.5rem; }
.ao-th-locality { min-width: 6.5rem; }
.ao-th-postal { min-width: 5.5rem; white-space: nowrap; }
.ao-td-addr {
  color: #bbb;
  font-size: 0.8rem;
  vertical-align: top;
  max-width: 22rem;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  overflow: visible;
}
.ao-addr-stack { display: flex; flex-direction: column; gap: 0.25rem; }
.ao-addr-line { line-height: 1.4; }
.ao-addr-empty { color: #666; }
.ao-td-oras,
.ao-td-locality {
  color: #ccc;
  font-size: 0.8rem;
  vertical-align: top;
  max-width: 11rem;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}
.ao-td-postal {
  color: #ccc;
  font-size: 0.8rem;
  vertical-align: top;
  white-space: nowrap;
}
.ao-td-status {
  white-space: normal;
  vertical-align: top;
  min-width: 5.75rem;
}
.ao-fulfill-badges {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  align-items: flex-start;
}
.ao-fulfill-badge {
  font-size: 0.62rem;
  padding: 3px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  line-height: 1.2;
}
.ao-fulfill-badge--pickup {
  background: #1e3a2f;
  color: #7dcea0;
  border: 1px solid #2d5a45;
}
.ao-fulfill-badge--delivered {
  background: #1a2d4a;
  color: #85c1e9;
  border: 1px solid #2e5984;
}
.ao-td-total { text-align: right; font-weight: 700; color: #efefef; white-space: nowrap; }
.ao-td-date { font-size: 0.78rem; color: #999; white-space: nowrap; }
.ao-td-btn { text-align: center; width: 38px; padding: 4px; }
.ao-sub { font-size: 0.74rem; color: #888; }
.ao-pay-badge {
  display: inline-block;
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: #2a2a2a;
  color: #aaa;
  border: 1px solid #333;
  margin-left: 4px;
}
.ao-expand-btn {
  width: 26px; height: 26px;
  border: 1px solid #2e2e2e;
  border-radius: 5px;
  background: #1e1e1e;
  color: #888;
  cursor: pointer;
  font-size: 0.65rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
  font-family: inherit;
}
.ao-expand-btn:hover { background: #2e2e2e; color: #fff; }
.ao-empty { text-align: center; padding: 2.5rem; color: #666; font-size: 0.9rem; }
/* Expanded details */
.ao-details-row { background: #0f0f0f; }
.ao-details-cell { padding: 0 !important; }
.ao-details {
  padding: 14px 16px;
  border-top: 1px solid #2a2a2a;
}
.ao-details-label { font-size: 0.69rem; text-transform: uppercase; letter-spacing: .07em; color: #777; margin-bottom: 8px; }
.ao-items-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; margin-bottom: 8px; }
.ao-items-table th { background: #1a1a1a; color: #999; font-size: 0.69rem; text-transform: uppercase; letter-spacing: .05em; padding: 5px 8px; border: 1px solid #252525; text-align: left; }
.ao-items-table td { padding: 5px 8px; border: 1px solid #1e1e1e; color: #d0d0d0; }
.ao-items-table tr:nth-child(even) td { background: #141414; }
.ao-details-total { font-size: 0.88rem; color: #e8e8e8; text-align: right; margin-bottom: 10px; }
.ao-details-total strong { color: #fff; }
.ao-details-info { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.8rem; color: #888; margin-bottom: 10px; }
.ao-details-info strong { color: #ddd; }
.ao-details-shipping {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #252525;
}
.ao-ship-dl {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: 6px 18px;
  font-size: 0.82rem;
  margin: 0;
  max-width: 52rem;
}
.ao-ship-dl dt {
  margin: 0;
  color: #888;
  font-weight: 600;
}
.ao-ship-dl dd {
  margin: 0;
  color: #d8d8d8;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.ao-details-products { margin-bottom: 6px; }

/* Pagination */
.ao-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.ao-page-btn {
  min-width: 32px; height: 32px;
  padding: 0 8px;
  border: 1px solid #2e2e2e;
  border-radius: 6px;
  background: #1a1a1a;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background .15s, color .15s;
  font-family: inherit;
}
.ao-page-btn:hover:not(:disabled) { background: #2a2a2a; color: #fff; }
.ao-page-btn:disabled { opacity: .35; cursor: default; }
.ao-page-btn--active { background: var(--rust) !important; color: #fff !important; border-color: var(--rust) !important; font-weight: 700; }
.ao-page-ellipsis { color: var(--muted); font-size: 0.82rem; padding: 0 4px; }

/* Old card styles kept for actions reuse */
.admin-order-card-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.admin-order-card-v2-awb { font-size: 0.9rem; color: var(--sand); }
.admin-order-card-v2-awb strong { color: #fff; }

.admin-clients-export { }
.admin-clients-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem 1rem;
  align-items: center;
}
.admin-clients-check-all { grid-column: 1 / -1; font-weight: 600; color: var(--white); }
.admin-clients-checkbox,
.admin-clients-check-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--sand);
}
.admin-clients-table-wrap { overflow-x: auto; margin-top: 0.75rem; }
.admin-clients-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.admin-clients-table th,
.admin-clients-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #252525;
}
.admin-clients-table th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.admin-clients-table td { color: var(--sand); }
.admin-clients-table tbody tr:hover { background: #1a1a1a; }

/* Mesaje contact – design inbox */
.admin-msg-empty {
  text-align: center;
  padding: 3rem 2rem;
  background: #f9f9f9;
  border: 1px dashed #c3c4c7;
  border-radius: 12px;
  color: #50575e;
}
.admin-msg-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.admin-msg-empty-hint {
  font-size: 0.9rem;
  color: #787c82;
  margin-top: 0.5rem;
}
.admin-msg-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.admin-msg-card {
  background: #fff;
  border: 1px solid #c3c4c7;
  border-radius: 12px;
  overflow: hidden;
  border-left: 4px solid var(--rust);
  box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}
.admin-msg-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0.75rem;
}
.admin-msg-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rust);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-msg-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  min-width: 0;
}
.admin-msg-name {
  font-weight: 600;
  color: #1d2327;
  font-size: 1rem;
}
.admin-msg-email {
  color: #2271b1;
  text-decoration: none;
  font-size: 0.9rem;
}
.admin-msg-email:hover { text-decoration: underline; }
.admin-msg-date {
  color: #787c82;
  font-size: 0.8rem;
  margin-left: auto;
}
.admin-msg-card-body {
  padding: 0 1.25rem 1rem;
  padding-left: calc(1.25rem + 44px + 1rem);
}
@media (max-width: 600px) {
  .admin-msg-card-body { padding-left: 1.25rem; }
}
.admin-msg-preview {
  color: #50575e;
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}
.admin-msg-toggle {
  margin-top: 0.5rem;
  padding: 0;
  background: none;
  border: none;
  color: #2271b1;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}
.admin-msg-toggle:hover { text-decoration: underline; }
.admin-msg-card-actions {
  padding: 0.75rem 1.25rem 1rem;
  border-top: 1px solid #c3c4c7;
  background: #f6f7f7;
}
.admin-msg-card-actions .admin-btn-ghost {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.admin-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.8);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.admin-btn-secondary:hover { opacity: 0.9; color: #fff; }
.admin-awb { font-size: 0.95rem; color: var(--sand); }
.admin-awb strong { color: #fff; }
.admin-order-paid { color: #5dd879; font-weight: 600; }
.admin-order-pending { color: #e8957a; font-weight: 600; }
.admin-order-storno { color: #dc3545; font-weight: 600; }
.admin-form-card {
  background: #151515;
  border: 1px solid #252525;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  border-radius: 8px;
}
.admin-form-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--white); }
.admin-form-card label { display: block; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.35rem; }
.admin-form-row { margin-bottom: 1rem; }
.admin-form-row label { display: block; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.35rem; }
.admin-form-actions { margin-top: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.admin-settings-form .admin-form-card { margin-bottom: 1.25rem; }
.admin-sitemap-card { margin-bottom: 1.5rem; }
.admin-sitemap-card h3 { margin-bottom: 0.5rem; }
.admin-sitemap-url-row { margin: 1rem 0; }
.admin-sitemap-url { display: block; padding: 0.75rem 1rem; background: #252525; border-radius: 6px; font-size: 0.9rem; word-break: break-all; margin-bottom: 0.75rem; }
.admin-sitemap-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.admin-sitemap-steps { margin: 1rem 0; padding-left: 1.5rem; color: var(--sand); line-height: 1.7; }
.admin-sitemap-steps li { margin-bottom: 0.5rem; }
.admin-sitemap-steps code { background: #252525; padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.85em; }
.admin-muted { font-size: 0.9rem; color: var(--muted); margin-top: 0.75rem; }
.admin-form-row-inline { display: flex; gap: 1rem; flex-wrap: wrap; }
.admin-form-row-inline > div { flex: 1; min-width: 120px; }
.admin-textarea { resize: vertical; min-height: 80px; }
/* Admin products – header, toolbar, grid, cards */
.admin-products-header { margin-bottom: 0.5rem; }
.admin-products-subtitle { color: var(--muted); font-size: 0.9rem; margin: 0 0 1rem; }
.admin-products-hint { margin-bottom: 1rem; }
.admin-products-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0 0.85rem;
  border-bottom: 1px solid #252525;
}
.admin-products-toolbar-search {
  flex: 1;
  min-width: 160px;
  max-width: 320px;
  position: relative;
}
.admin-products-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 1rem; opacity: 0.6; pointer-events: none; }
.admin-products-search-input { width: 100%; padding-left: 2.25rem; border-radius: 8px; }
.admin-products-toolbar-filter { min-width: 140px; }
.admin-products-filter-label { display: block; font-size: 0.7rem; color: var(--muted); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-products-filter-select { width: 100%; border-radius: 8px; }
.admin-products-add-btn { flex-shrink: 0; border-radius: 8px; }
.admin-products-results { margin-bottom: 0.5rem; }
.admin-products-results-count { font-size: 0.8rem; color: var(--muted); }
.admin-products-catalog { width: 100%; }
.admin-products-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #252525;
  border-radius: 10px;
  background: #121212;
}
.admin-products-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.admin-products-th {
  text-align: left;
  font-weight: 600;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  padding: 0.6rem 0.45rem;
  border-bottom: 1px solid #2a2a2a;
  background: #161616;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 1px 0 #2a2a2a;
}
.admin-products-th-thumb {
  width: 52px;
  padding-left: 0.65rem;
}
.admin-products-th-vitrine { min-width: 150px; }
.admin-products-th-actions {
  width: 1%;
  padding-right: 0.65rem;
  text-align: right;
}
.admin-products-tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.admin-products-tr:hover { background: rgba(201, 74, 43, 0.07); }
.admin-products-td {
  padding: 0.4rem 0.45rem;
  vertical-align: middle;
  border-bottom: 1px solid #222;
  color: var(--sand);
}
.admin-products-td-thumb {
  width: 52px;
  padding-left: 0.65rem;
  vertical-align: middle;
}
.admin-products-thumb {
  width: 40px;
  height: 52px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}
.admin-products-thumb.p1 { background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); }
.admin-products-thumb.p2 { background: linear-gradient(135deg, #252530 0%, #1a1a22 100%); }
.admin-products-thumb.p3 { background: linear-gradient(135deg, #1e2a1e 0%, #1a221a 100%); }
.admin-products-thumb.p4 { background: linear-gradient(135deg, #2a2520 0%, #221a18 100%); }
.admin-products-thumb.p5 { background: linear-gradient(135deg, #25222a 0%, #1a1a22 100%); }
.admin-products-thumb.p6 { background: linear-gradient(135deg, #1a2525 0%, #1a1f22 100%); }
.admin-products-thumb-label {
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
  line-height: 1.15;
  padding: 2px;
  max-width: 100%;
  word-break: break-word;
}
.admin-products-thumb-tag {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 0.42rem;
  font-weight: 600;
  padding: 1px 3px;
  border-radius: 2px;
  background: var(--rust);
  color: #fff;
  max-width: 34px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-products-product-cell {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  max-width: 280px;
}
.admin-products-product-name {
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  font-size: 0.82rem;
}
.admin-products-product-slug {
  font-size: 0.68rem;
  color: var(--muted);
  font-family: ui-monospace, monospace;
  word-break: break-all;
}
.admin-products-td-price { white-space: nowrap; }
.admin-products-price { color: var(--sand); font-size: 0.78rem; }
.admin-products-price s { color: var(--muted); margin-right: 0.35rem; }
.admin-products-pill {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #252525;
  color: var(--muted);
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  vertical-align: middle;
}
.admin-products-pill-brand { max-width: 120px; }
.admin-products-muted { color: var(--muted); font-size: 0.75rem; }
.admin-products-td-vitrine { min-width: 140px; }
.admin-products-vitrine-cell {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.admin-products-table-select {
  flex: 1;
  min-width: 0;
  padding: 0.25rem 0.4rem;
  font-size: 0.72rem;
  line-height: 1.25;
  border-radius: 6px;
  min-height: 30px;
}
.admin-products-saving-dot {
  font-size: 0.7rem;
  color: var(--muted);
  flex-shrink: 0;
}
.admin-products-td-actions { text-align: right; vertical-align: middle; }
.admin-products-action-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}
.admin-products-action-link {
  background: none;
  border: none;
  padding: 0.1rem 0;
  font: inherit;
  font-size: 0.72rem;
  color: var(--rust);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.admin-products-action-link:hover { color: #e8a090; }
a.admin-products-action-link { text-decoration: underline; }
.admin-products-action-link:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.admin-products-action-link--danger { color: #c26868; }
.admin-products-action-link--danger:hover:not(:disabled) { color: #f0a0a0; }
.admin-products-empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  color: var(--muted);
  background: #151515;
  border: 1px dashed #333;
  border-radius: 10px;
}
.admin-btn-small { padding: 0.4rem 0.75rem; font-size: 0.8rem; margin-left: 0.5rem; }
.admin-product-form { margin-bottom: 1.5rem; }
.admin-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.admin-cat-upload { min-height: 220px; padding: 0; }
.admin-cat-upload .admin-upload-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; }

/* Card header */
.admin-cat-card-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.admin-cat-card-num { background: #c94a2b; color: #fff; border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
.admin-cat-card-slug { font-size: 0.78rem; opacity: 0.5; font-family: monospace; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Drag handle */
.admin-cat-drag-handle {
  cursor: grab;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1;
  padding: 0 2px;
  flex-shrink: 0;
  user-select: none;
}
.admin-cat-drag-handle:active { cursor: grabbing; }

/* Delete button */
.admin-cat-delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  opacity: 0.4;
  padding: 2px 4px;
  border-radius: 4px;
  line-height: 1;
  transition: opacity 0.15s, background 0.15s;
  flex-shrink: 0;
  margin-left: auto;
}
.admin-cat-delete-btn:hover { opacity: 1; background: rgba(201,74,43,0.15); }

/* Dragging states */
.admin-cat-dragging {
  opacity: 0.4;
  cursor: grabbing;
}
.admin-cat-dragover {
  outline: 2px dashed var(--rust);
  outline-offset: 2px;
  background: rgba(201,74,43,0.06);
}

/* Add new card button */
.admin-cat-add-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 2rem 1rem;
  min-height: 160px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  font-family: var(--font-dm), 'DM Sans', sans-serif;
}
.admin-cat-add-card:hover {
  border-color: var(--rust);
  color: var(--white);
  background: rgba(201,74,43,0.06);
}
.admin-cat-fields { display: flex; flex-direction: column; gap: 0.1rem; margin-top: 0.75rem; }

/* ── Image upload zone ── */
.admin-upload-zone {
  position: relative;
  border: 2px dashed #333;
  border-radius: 8px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  background: #111;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}
.admin-upload-zone:hover,
.admin-upload-zone:focus-visible {
  border-color: #c94a2b;
  background: #181818;
  outline: none;
}
.admin-upload-zone--over {
  border-color: #c94a2b;
  background: rgba(201,74,43,0.07);
}
.admin-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: #666;
  font-size: 0.85rem;
  text-align: center;
  padding: 1.5rem;
  pointer-events: none;
}
.admin-upload-icon { font-size: 2.2rem; line-height: 1; }
.admin-upload-preview {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}
.admin-upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.admin-upload-zone:hover .admin-upload-overlay { opacity: 1; }

/* ── Color rows in product form ── */
.admin-colors-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.25rem; }
.admin-color-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
}
.admin-color-picker {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: none;
  border-radius: 4px;
  padding: 2px;
  background: transparent;
  cursor: pointer;
}
.admin-color-name-input { flex: 1; min-width: 80px; }
.admin-color-sizes-input {
  min-width: 100px;
  max-width: 160px;
  font-size: 0.85rem;
}
.admin-color-sizes-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  min-width: 120px;
}
.admin-color-sizes-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-right: 0.25rem;
}
.admin-color-size-chk {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}
.admin-color-size-chk input { margin: 0; cursor: pointer; }
.admin-color-img-zone {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(255,255,255,0.04);
}
.admin-color-img-zone:hover { border-color: #c94a2b; background: rgba(201,74,43,0.08); }
.admin-color-img-zone.admin-upload-zone--over { border-color: #c94a2b; background: rgba(201,74,43,0.15); }
.admin-color-img-placeholder { font-size: 1.1rem; line-height: 1; }
.admin-color-img-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-color-spinner { border-radius: 6px; }
.admin-color-img-remove, .admin-color-remove-btn {
  flex-shrink: 0;
  padding: 0 0.4rem;
  font-size: 0.85rem;
  min-width: 28px;
  height: 28px;
}
.admin-color-add-btn { align-self: flex-start; margin-top: 0.25rem; font-size: 0.85rem; }

/* ── SEO section in product form ── */
.admin-seo-section {
  border: 1px solid rgba(201,74,43,0.35);
  border-radius: 10px;
  padding: 1.1rem 1.1rem 0.5rem;
  margin: 0.5rem 0;
  background: rgba(201,74,43,0.04);
}
.admin-seo-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c94a2b;
  margin-bottom: 0.9rem;
}
.admin-field-hint {
  font-weight: 400;
  font-size: 0.78rem;
  opacity: 0.55;
  margin-left: 0.25rem;
}
.admin-char-hint {
  display: block;
  font-size: 0.75rem;
  opacity: 0.45;
  margin-top: 0.25rem;
  text-align: right;
}
.admin-char-counter {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  text-align: right;
  opacity: 0.5;
  transition: color 0.2s;
}
.admin-char-counter-ok { color: #4caf50; opacity: 1; }
.admin-char-counter-over { color: #e53935; opacity: 1; font-weight: 700; }
.admin-input-error { border-color: #e53935 !important; }
.admin-slug-change-warn {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #ff9800;
  line-height: 1.4;
}
.admin-slug-change-warn code {
  background: rgba(255,152,0,0.12);
  border-radius: 3px;
  padding: 0.1em 0.35em;
  font-size: 0.9em;
}
.admin-meta-desc { resize: vertical; }
.admin-tags-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.admin-tag-chip {
  background: rgba(201,74,43,0.15);
  border: 1px solid rgba(201,74,43,0.4);
  color: #c94a2b;
  border-radius: 20px;
  padding: 0.15rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ── Slider admin page ── */
.admin-slider-list { display: flex; flex-direction: column; gap: 1rem; margin: 1.25rem 0; }
.admin-slider-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0.75rem;
}
.admin-slider-order {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}
.admin-slider-order-btn { padding: 0 0.4rem; font-size: 0.75rem; min-width: 26px; height: 26px; }
.admin-slider-index { font-size: 0.75rem; color: var(--sand); opacity: 0.6; }
.admin-slider-img-zone {
  position: relative;
  width: 160px;
  height: 90px;
  flex-shrink: 0;
  border: 2px dashed rgba(255,255,255,0.18);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  transition: border-color 0.2s, background 0.2s;
}
.admin-slider-img-zone:hover { border-color: #c94a2b; background: rgba(201,74,43,0.08); }
.admin-slider-img-zone.admin-upload-zone--over { border-color: #c94a2b; background: rgba(201,74,43,0.15); }
.admin-slider-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-slider-fields { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; min-width: 0; }
.admin-slider-remove-btn { flex-shrink: 0; padding: 0 0.5rem; font-size: 1rem; }
.admin-slider-actions { display: flex; gap: 0.75rem; margin-top: 0.5rem; flex-wrap: wrap; }

/* ── Admin Sitemap / SEO page ── */
.admin-seo-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.admin-seo-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  color: var(--sand);
  opacity: 0.7;
}
.admin-sitemap-url-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.admin-sitemap-url-code {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  word-break: break-all;
  color: #c94a2b;
}
.admin-sitemap-copy-btn { font-size: 0.82rem; white-space: nowrap; }
.admin-sitemap-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.admin-sitemap-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 1rem 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.admin-sitemap-stat-num { font-size: 2rem; font-weight: 700; line-height: 1; }
.admin-sitemap-stat-label { font-size: 0.75rem; opacity: 0.5; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-sitemap-ping-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.admin-btn-success { background: #4caf50 !important; border-color: #4caf50 !important; color: #fff !important; }
.admin-btn-error { background: #e53935 !important; border-color: #e53935 !important; color: #fff !important; }
.admin-seo-steps { padding-left: 1.25rem; color: var(--sand); font-size: 0.9rem; line-height: 2; margin: 0; }
.admin-seo-steps a { color: #c94a2b; }
.admin-seo-steps code { background: rgba(255,255,255,0.08); padding: 0.1em 0.4em; border-radius: 3px; font-size: 0.88em; }
.admin-seo-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.admin-seo-check { font-size: 0.88rem; padding-left: 1.5rem; position: relative; line-height: 1.4; }
.admin-seo-check::before { position: absolute; left: 0; }
.admin-seo-check.ok { color: var(--sand); }
.admin-seo-check.ok::before { content: "✓"; color: #4caf50; }
.admin-seo-check.info { color: var(--sand); opacity: 0.6; }
.admin-seo-check.info::before { content: "→"; color: #ff9800; }
.admin-sitemap-table-wrap { overflow-x: auto; }
.admin-sitemap-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.admin-sitemap-table th { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.08); opacity: 0.5; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.admin-sitemap-table td { padding: 0.45rem 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
.admin-sitemap-table tr:last-child td { border-bottom: none; }
.admin-sitemap-type-badge { padding: 0.15rem 0.5rem; border-radius: 20px; font-size: 0.72rem; font-weight: 700; border: 1px solid; white-space: nowrap; }
.admin-sitemap-entry-url { color: var(--sand); text-decoration: none; font-size: 0.8rem; opacity: 0.8; }
.admin-sitemap-entry-url:hover { opacity: 1; color: #c94a2b; }
.admin-sitemap-priority { font-weight: 700; text-align: center; }
.admin-sitemap-freq { opacity: 0.5; font-size: 0.78rem; }
@media (max-width: 600px) {
  .admin-sitemap-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .admin-slider-row { flex-wrap: wrap; }
  .admin-slider-img-zone { width: 100%; height: 120px; }
  .admin-slider-fields { width: 100%; }
}
.admin-upload-spinner {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-upload-spinner::after {
  content: "";
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: #c94a2b;
  border-radius: 50%;
  animation: admin-spin 0.7s linear infinite;
}
@keyframes admin-spin { to { transform: rotate(360deg); } }
.admin-info, .admin-products-list { color: var(--sand); font-size: 0.9rem; margin: 1rem 0; line-height: 1.5; }
.admin-products-list { list-style: none; padding: 0; }
.admin-products-list li { margin-bottom: 0.5rem; padding: 0.25rem 0; }
.admin-products-list a { color: var(--rust); text-decoration: none; }
.admin-products-list a:hover { text-decoration: underline; }
.admin-page code { background: #252525; padding: 0.2rem 0.5rem; font-size: 0.85em; border-radius: 4px; }

.admin-users-list { list-style: none; padding: 0; margin: 0; }
.admin-users-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #252525;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: #151515;
}
.admin-users-item-email { font-weight: 500; color: #fff; }
.admin-users-item-name { color: var(--sand); font-size: 0.9rem; }
.admin-users-item-role {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: #252525;
  color: var(--sand);
}
.admin-users-item .admin-btn-small { margin-left: auto; }
@media (max-width: 782px) {
  .wp-admin-wrap { flex-direction: column; }
  .wp-admin-sidebar {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .wp-admin-body { margin-left: 0; }
  .wp-admin-main { padding: 16px; }
}

/* ── Admin Categorii & Produse page ── */
.admin-cattabs-wrap { margin-bottom: 1.25rem; }
.admin-cattabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.admin-cattab {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  color: var(--sand);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.admin-cattab:hover { background: rgba(255,255,255,0.08); }
.admin-cattab.active { background: #c94a2b; border-color: #c94a2b; color: #fff; font-weight: 600; }
.admin-cattab-add { border-style: dashed; color: #c94a2b; border-color: #c94a2b44; }
.admin-cattab-add:hover { background: rgba(201,74,43,0.08); }
.admin-newcat-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.9rem;
  padding: 0.9rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}
.admin-newcat-form .admin-input { max-width: 200px; }
.admin-cattab-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.admin-cattab-current { font-size: 1rem; font-weight: 600; }
.admin-cattab-action-btn { font-size: 0.78rem; padding: 0.25rem 0.6rem; }

/* Product grid in category view */
.admin-catprod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}
.admin-catprod-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.admin-catprod-card:hover { border-color: rgba(255,255,255,0.18); }
.admin-catprod-img {
  width: 100%;
  aspect-ratio: 3/4;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.admin-catprod-body {
  padding: 0.65rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}
.admin-catprod-name {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
}
.admin-catprod-price { font-size: 0.78rem; opacity: 0.55; margin: 0; }
.admin-catprod-badge {
  display: inline-block;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 0.1rem 0.55rem;
  font-size: 0.72rem;
  color: var(--sand);
  align-self: flex-start;
  margin-top: auto;
}
.admin-catprod-actions { display: flex; gap: 0.4rem; margin-top: 0.5rem; }
.admin-catprod-move-btn { font-size: 0.75rem; padding: 0.25rem 0.5rem; flex: 1; text-align: center; }
.admin-catprod-move-row { display: flex; gap: 0.4rem; margin-top: 0.5rem; align-items: center; }
.admin-catprod-select { font-size: 0.78rem; padding: 0.3rem 0.4rem; flex: 1; }
@media (max-width: 600px) {
  .admin-catprod-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* ─── PERFORMANCE & MOBILE UX ──────────────────────────────────────── */

/* Smooth scrolling — disable on users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Prevent font size inflation on iOS landscape */
html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/* GPU-accelerated hero slider */
.hero-slider-track { will-change: transform; }
.hero-slider-slide { will-change: opacity; }

/* GPU layer for product cards on hover */
.product-card { will-change: auto; }
.product-card:hover { will-change: transform; }

/* Prevent overscroll bounce on iOS body */
body { overscroll-behavior-y: none; }

/* Better image rendering */
img { image-rendering: auto; }

/* ─── TABLET RESPONSIVE FIXES (481px – 900px) ──────────────────────── */
@media (min-width: 481px) and (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .product-card { min-height: 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .hero-title { font-size: clamp(3.5rem, 9vw, 6rem); }
  .hero-left { padding: 6rem 2.5rem 4rem; }
  .section { padding: 4rem 2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* ─── MOBILE TOUCH TARGETS (min 44×44px per Apple / Google guidelines) */
.nav-cart,
.btn-primary,
.btn-ghost,
.btn-add,
.hero-slider-dot,
.product-detail-size-btn,
.product-detail-color-btn,
.cart-qty-btn,
.cart-btn-primary,
.cart-btn-secondary,
.theme-toggle {
  min-height: 44px;
  min-width: 44px;
}

/* ─── iOS SAFE AREA (notch / dynamic island / home indicator) ─────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  nav {
    padding-top: max(1rem, calc(0.75rem + env(safe-area-inset-top)));
  }
  footer {
    padding-bottom: max(2rem, calc(2rem + env(safe-area-inset-bottom)));
  }
}

/* ─── SMALL PHONE: 360px – 480px ────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-left { padding: 4rem 1rem 2.5rem; }
  .hero-sub { font-size: 0.85rem; }
  .section { padding: 2.5rem 1rem; }
  .section-title { font-size: clamp(1.8rem, 9vw, 2.5rem); }
  .products-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .cat-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .cat-grid .cat-bg { min-height: 190px; }
  .stat-num { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-logo .site-logo-img { height: 24px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1px solid var(--border); border-bottom: none; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; justify-content: center; }
  .hero-cta { flex-direction: column; }
  .marquee-track { animation-duration: 18s; }
}

/* ─── PRODUCT GRID: prevent image stretch on odd aspect ratios ─────── */
.product-img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.product-img-wrap .placeholder-img {
  height: 100%;
  width: 100%;
}

/* ─── INPUT zoom-fix: iOS zooms in on inputs smaller than 16px ─────── */
@media (max-width: 900px) {
  .admin-input,
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="tel"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   FINANCIAR DASHBOARD
═══════════════════════════════════════════════════════════════════════ */
.fin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.fin-period-tabs {
  display: flex;
  gap: 0.25rem;
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 3px;
}
.fin-period-btn {
  background: none;
  border: none;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.fin-period-btn:hover { color: var(--white); background: #1a1a1a; }
.fin-period-btn-active { background: var(--rust); color: #fff; font-weight: 600; }

/* KPI Cards */
.fin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.fin-kpi {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #141414;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  border-left: 3px solid #333;
}
.fin-kpi-revenue { border-left-color: #3aa86b; }
.fin-kpi-pending { border-left-color: #e07840; }
.fin-kpi-storno  { border-left-color: #b44; }
.fin-kpi-expenses{ border-left-color: #4a90d9; }
.fin-kpi-profit-pos { border-left-color: #3aa86b; background: #0d1f14; }
.fin-kpi-profit-neg { border-left-color: #b44; background: #1f0d0d; }
.fin-kpi-icon { font-size: 1.5rem; flex-shrink: 0; }
.fin-kpi-val {
  font-size: 1.4rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--white);
  line-height: 1.2;
}
.fin-kpi-label { font-size: 0.72rem; color: var(--muted); margin-top: 0.2rem; }
.fin-kpi-pct { color: #3aa86b; }

/* Warning */
.fin-no-costs-warn {
  background: #1e1600;
  border: 1px solid #c47a00;
  border-radius: 6px;
  padding: 0.7rem 1rem;
  font-size: 0.83rem;
  color: #e8c060;
  margin-bottom: 1rem;
}
.fin-warn-link { color: #e07840; text-decoration: underline; }

/* Chart layout */
.fin-charts-row {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1rem;
  margin-bottom: 1rem;
}
.fin-chart-card {
  background: #111;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 1rem 1.25rem;
}
.fin-chart-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #1e1e1e;
}
.fin-chart-wide { grid-column: span 1; }
.fin-chart-donut { }
.fin-chart-half { }
.fin-chart-empty {
  color: #666;
  font-size: 0.84rem;
  text-align: center;
  padding: 2.5rem 1rem;
}

/* SVG Charts */
.admin-chart-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.admin-chart-donut-svg {
  width: 100%;
  max-width: 220px;
  display: block;
  margin: 0 auto;
}

/* Donut legend */
.fin-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.fin-donut-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}
.fin-donut-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fin-donut-legend-label { flex: 1; color: var(--muted); }
.fin-donut-legend-val { color: var(--white); font-variant-numeric: tabular-nums; }

/* Top products table */
.fin-top-table-wrap { overflow-x: auto; }
.fin-top-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.fin-top-table thead tr { background: #1c1c1c; }
.fin-top-table th {
  color: #aaa;
  font-size: 0.71rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 8px 10px;
  border-bottom: 2px solid #2a2a2a;
  text-align: left;
  white-space: nowrap;
}
.fin-top-table td {
  padding: 7px 10px;
  border-bottom: 1px solid #1e1e1e;
  color: #e0e0e0;
  vertical-align: middle;
}
.fin-top-table tbody tr:hover td { background: #181818; }
.fin-top-table tr:last-child td { border-bottom: none; }
.fin-top-rank {
  color: #666;
  font-size: 0.75rem;
  width: 28px;
  text-align: center;
  font-weight: 700;
}
.fin-top-name {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e8e8e8;
  font-weight: 500;
}
.fin-top-qty {
  color: #aaa;
  text-align: right;
  white-space: nowrap;
}
.fin-top-rev {
  color: #f0c060;
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}

/* Expense breakdown table */
.fin-expense-table-wrap { overflow-x: auto; }
.fin-expense-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.88rem;
  table-layout: fixed;
}
.fin-expense-table col:nth-child(1) { width: 30%; }
.fin-expense-table col:nth-child(2) { width: 48%; }
.fin-expense-table col:nth-child(3) { width: 22%; }
.fin-expense-table th {
  color: #aaa;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid #2a2a2a;
  text-align: left;
  background: #161616;
}
.fin-expense-table th:last-child { text-align: right; }
.fin-expense-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #1e1e1e;
  color: #e0e0e0;
  vertical-align: middle;
  white-space: normal;
  word-break: break-word;
}
.fin-expense-table tr:hover td { background: #161616; }
.fin-exp-basis {
  color: #bbb;
  font-size: 0.82rem;
}
.fin-exp-val {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #e8e8e8;
  white-space: nowrap;
}
.fin-exp-total td {
  border-top: 2px solid #333;
  border-bottom: none;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background: #151515;
  font-size: 0.9rem;
}
.fin-exp-profit td {
  background: #111;
  border-top: 1px solid #2a2a2a;
  border-bottom: none;
  font-size: 0.92rem;
}
.fin-pos { color: #4cbb7f; }
.fin-neg { color: #e06060; }

/* Settings: Cheltuieli tab */
.admin-cost-percent-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.admin-cost-percent-symbol {
  position: absolute;
  right: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  pointer-events: none;
}
.admin-cost-custom-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.admin-cost-custom-row {
  display: grid;
  grid-template-columns: 1fr 140px 130px 36px;
  gap: 0.5rem;
  align-items: center;
}
.admin-cost-del {
  padding: 0.4rem 0.6rem !important;
  font-size: 0.8rem !important;
  color: #e06060 !important;
}

/* Responsive */
@media (max-width: 900px) {
  .fin-charts-row { grid-template-columns: 1fr; }
  .fin-kpi-grid { grid-template-columns: 1fr 1fr; }
  .admin-cost-custom-row { grid-template-columns: 1fr 1fr; }
  .admin-cost-custom-row .admin-cost-custom-val,
  .admin-cost-custom-row .admin-cost-del { grid-column: span 1; }
}
@media (max-width: 480px) {
  .fin-kpi-grid { grid-template-columns: 1fr; }
  .fin-period-tabs { flex-wrap: wrap; }
}

/* ─── SCROLLBAR THIN for Webkit (desktop) ────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ═══════════════════════════════════════════════════════════════════════
   SETTINGS TABS & NUMBERING
═══════════════════════════════════════════════════════════════════════ */
.admin-settings-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #252525;
  margin-bottom: 1.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.admin-settings-tabs::-webkit-scrollbar { display: none; }
.admin-settings-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
  white-space: nowrap;
}
.admin-settings-tab:hover { color: var(--white); }
.admin-settings-tab-active {
  color: var(--white);
  border-bottom-color: var(--rust);
  font-weight: 600;
}
.admin-settings-numbering-info {
  background: #0f1e2e;
  border: 1px solid #1a3a5f;
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  font-size: 0.84rem;
  color: #a0c4e8;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.admin-settings-numbering-info strong { color: #7ecfff; }
.admin-settings-numbering-info code {
  background: #1a2a3a;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-size: 0.82em;
  color: #e8c060;
}
.admin-settings-numbering-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #141414;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.25rem;
}
.admin-settings-preview-label { font-size: 0.8rem; color: var(--muted); }
.admin-settings-preview-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e8c060;
  font-variant-numeric: tabular-nums;
}
.admin-settings-numbering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.admin-form-hint {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 0.2rem;
  font-weight: 400;
}
.admin-toggle-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--sand);
}
.admin-toggle-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--rust);
  cursor: pointer;
}
.admin-settings-counter-info {
  background: #0e0e0e;
  border: 1px solid #1f1f1f;
  border-radius: 6px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.admin-settings-counter-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.admin-settings-counter-val { color: var(--white); font-size: 0.9rem; }
.admin-settings-reset-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.5;
}
.admin-settings-reset-label input { margin-top: 3px; flex-shrink: 0; }
.admin-settings-reset-warn { color: #e06060; font-size: 0.78rem; }

/* ═══════════════════════════════════════════════════════════════════════
   FACTURI PAGE
═══════════════════════════════════════════════════════════════════════ */
.admin-facturi-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-facturi-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.admin-facturi-period {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}
.admin-facturi-period-label {
  font-size: 0.9rem;
  color: var(--muted, #888);
  white-space: nowrap;
}
.admin-facturi-period-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
}
.admin-facturi-period-date span {
  color: var(--muted, #888);
  white-space: nowrap;
}
.admin-input-date {
  min-width: 140px;
}
.admin-btn-green {
  background: #1a7a3a;
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: background 0.2s;
}
.admin-btn-green:hover { background: #145e2c; }

.admin-facturi-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-facturi-stat {
  background: #1c1c1c;
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.admin-facturi-stat-warn { border-color: #c47a00; background: #1e1600; }
.admin-facturi-stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rust);
  font-variant-numeric: tabular-nums;
}
.admin-facturi-stat-label { font-size: 0.75rem; color: var(--muted); }

.admin-facturi-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
  align-items: center;
}
.admin-facturi-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.admin-facturi-toggle input { cursor: pointer; }

/* Table */
.admin-facturi-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.admin-facturi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
}
.admin-facturi-table th {
  background: var(--surface);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.7rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-facturi-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #1a1a1a;
  vertical-align: middle;
}
.admin-facturi-table tr:last-child td { border-bottom: none; }
.admin-facturi-table tr:hover td { background: rgba(255,255,255,0.02); }
.admin-facturi-row-storno td { opacity: 0.7; }
.admin-facturi-invnum { font-weight: 600; font-size: 0.8rem; color: #e8c060; }
.admin-facturi-orderid { font-family: monospace; font-size: 0.75rem; color: var(--muted); }
.admin-facturi-date { white-space: nowrap; color: var(--muted); font-size: 0.8rem; }
.admin-facturi-client { display: flex; flex-direction: column; gap: 0.1rem; }
.admin-facturi-email { font-size: 0.75rem; color: var(--muted); }
.admin-facturi-awb { font-family: monospace; font-size: 0.78rem; color: #7ecfff; }
.admin-facturi-none { color: var(--border); }
.admin-facturi-link { font-size: 0.78rem; text-decoration: none; color: #e06060; }
.admin-facturi-link:hover { text-decoration: underline; }
.admin-facturi-link-storno { color: #e06060; }
.admin-facturi-empty { text-align: center; color: var(--muted); padding: 3rem 1rem; }
.admin-facturi-row-actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.admin-facturi-btn {
  border: none;
  border-radius: 4px;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.admin-facturi-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.admin-facturi-btn-view { background: #1f3a5f; color: #7ecfff; }
.admin-facturi-btn-view:hover { background: #1a3050; }
.admin-facturi-btn-storno { background: #3a1f1f; color: #e06060; }
.admin-facturi-btn-storno:hover { background: #501a1a; }
.admin-facturi-btn-gen { background: var(--rust); color: #fff; }
.admin-facturi-btn-gen:hover { background: var(--rust-dark); }
.admin-facturi-btn-paid { background: #198754; color: #fff; }
.admin-facturi-btn-paid:hover { background: #157347; }

.admin-flash {
  padding: 0.65rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.admin-flash-ok { background: #1a3a1f; color: #6fcf97; border: 1px solid #2d6b3a; }
.admin-flash-err { background: #3a1a1a; color: #e06060; border: 1px solid #6b2d2d; }

/* ═══════════════════════════════════════════════════════════════════════
   BORDEROU PAGE
═══════════════════════════════════════════════════════════════════════ */
.admin-borderou-header { margin-bottom: 1.5rem; }

.admin-borderou-info {
  background: #0f1e2e;
  border: 1px solid #1a3a5f;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #a0c4e8;
}
.admin-borderou-info strong { color: #7ecfff; }
.admin-borderou-steps {
  margin: 0.5rem 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #a0c4e8;
}

/* Dropzone */
.admin-borderou-dropzone {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--surface);
}
.admin-borderou-dropzone:hover,
.admin-borderou-dropzone-active {
  border-color: var(--rust);
  background: rgba(200, 80, 40, 0.05);
}
.admin-borderou-file-input { display: none; }
.admin-borderou-dropzone-content { pointer-events: none; }
.admin-borderou-upload-icon { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; }
.admin-borderou-drop-text { font-size: 1rem; margin: 0 0 0.4rem; color: var(--white); }
.admin-borderou-click { color: var(--rust); text-decoration: underline; }
.admin-borderou-drop-hint { font-size: 0.8rem; color: var(--muted); }

/* Steps */
.admin-borderou-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}
.admin-borderou-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.admin-borderou-step-header h2 { margin: 0; font-size: 1.1rem; }
.admin-borderou-filename {
  font-size: 0.82rem;
  color: var(--muted);
  background: #1a1a1a;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.admin-borderou-step-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.admin-btn-sm { padding: 0.3rem 0.75rem !important; font-size: 0.78rem !important; }

/* Column grid */
.admin-borderou-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-borderou-col-item { display: flex; flex-direction: column; gap: 0.4rem; }
.admin-borderou-preview { font-size: 0.75rem; color: var(--muted); font-style: italic; }

/* Preview table */
.admin-borderou-preview-table-wrap { margin-bottom: 1.5rem; }
.admin-borderou-preview-table-wrap h3 { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
.admin-borderou-table-scroll { overflow-x: auto; }
.admin-borderou-preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  min-width: 600px;
}
.admin-borderou-preview-table th,
.admin-borderou-preview-table td {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-borderou-preview-table th { background: #111; color: var(--muted); font-size: 0.72rem; }
.admin-borderou-col-highlight-awb { background: rgba(126,207,255,0.08) !important; }
.admin-borderou-col-highlight-amt { background: rgba(111,207,151,0.08) !important; }
.admin-borderou-col-highlight-acc { background: rgba(240,180,70,0.08) !important; }
.admin-borderou-col-badge {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  margin-left: 0.35rem;
  background: #1a3a5f;
  color: #7ecfff;
  vertical-align: middle;
}
.admin-borderou-col-badge-amt { background: #1a3a25; color: #6fcf97; }
.admin-borderou-col-badge-acc { background: #3a2e10; color: #e8c060; }

/* Step footer */
.admin-borderou-step-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

/* Match results */
.admin-borderou-match-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.admin-borderou-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}
.admin-borderou-chip-ok { background: #1a3a25; color: #6fcf97; }
.admin-borderou-chip-warn { background: #3a2e10; color: #e8c060; }
.admin-borderou-chip-info { background: #1a2a3a; color: #7ecfff; }
.admin-borderou-chip-sel { background: #2a1a3a; color: #c07cf4; }

.admin-borderou-match-toolbar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

/* Match table */
.admin-borderou-match-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  min-width: 700px;
}
.admin-borderou-match-table th {
  background: #111;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-borderou-match-table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid #1a1a1a;
  vertical-align: middle;
}
.admin-borderou-row-notfound td { opacity: 0.45; }
.admin-borderou-row-paid td { background: rgba(111,207,151,0.04); }
.admin-borderou-row-selected td { background: rgba(126,207,255,0.05); }
.admin-borderou-awb-cell { font-family: monospace; font-weight: 600; color: #7ecfff; }
.admin-borderou-order-id { font-family: monospace; font-size: 0.75rem; color: var(--muted); }
.admin-borderou-notfound { color: #e06060; font-style: italic; font-size: 0.75rem; }
.admin-borderou-account { font-size: 0.75rem; color: #e8c060; }
.admin-borderou-check { width: 16px; height: 16px; cursor: pointer; }

/* Quick action box */
.admin-borderou-quick-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.15) 100%);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  margin-bottom: 1rem;
}
.admin-borderou-quick-action-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-borderou-quick-icon {
  font-size: 1.5rem;
}
.admin-borderou-quick-action-info strong {
  color: #22c55e;
  display: block;
  font-size: 0.9rem;
}
.admin-borderou-quick-action-info div {
  font-size: 0.85rem;
  color: var(--muted);
}
.admin-btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Done screen */
.admin-borderou-done {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.admin-borderou-done-icon {
  font-size: 3rem;
  color: #6fcf97;
  margin-bottom: 1rem;
  display: block;
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  background: #1a3a25;
  margin: 0 auto 1.25rem;
}
.admin-borderou-done h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.admin-borderou-done p { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.admin-borderou-done-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════════════════════
   LOGO DROPZONE
═══════════════════════════════════════════════════════════════════════════════ */
.admin-logo-dropzone {
  border: 2px dashed #333;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #0a0a0a;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-logo-dropzone:hover {
  border-color: #555;
  background: #111;
}
.admin-logo-dropzone-active {
  border-color: var(--rust) !important;
  background: rgba(201,74,43,0.08) !important;
}
.admin-logo-dropzone-uploading {
  opacity: 0.7;
  pointer-events: none;
}
.admin-logo-dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.admin-logo-dropzone-icon {
  font-size: 2rem;
  opacity: 0.5;
}
.admin-logo-dropzone-text {
  font-size: 0.85rem;
  color: var(--muted);
}
.admin-logo-dropzone-text strong {
  color: var(--rust);
}
.admin-logo-dropzone-hint {
  font-size: 0.7rem;
  color: #555;
}
.admin-logo-uploading {
  color: var(--rust);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Logo preview */
.admin-logo-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
.admin-logo-preview img {
  background: #fff;
  padding: 8px;
  border-radius: 6px;
  max-width: 140px;
}
.admin-logo-preview-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  flex: 1;
}
.admin-logo-preview-path {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: monospace;
  background: #1a1a1a;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  word-break: break-all;
}
.admin-logo-preview-change {
  background: transparent;
  border: 1px solid var(--rust);
  color: var(--rust);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.admin-logo-preview-change:hover {
  background: var(--rust);
  color: #fff;
}
.admin-logo-preview-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #333;
  border: none;
  color: #999;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.admin-logo-preview-remove:hover {
  background: #c94a2b;
  color: #fff;
}
.admin-logo-dropzone {
  position: relative;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   COUNTRIES LIST
═══════════════════════════════════════════════════════════════════════════════ */
.admin-countries-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.admin-country-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 8px;
  transition: all 0.15s ease;
}
.admin-country-row:hover {
  border-color: #333;
  background: #111;
}
.admin-country-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  flex: 1;
}
.admin-country-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--rust);
  cursor: pointer;
}
.admin-country-toggle input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.admin-country-flag {
  font-size: 1.5rem;
  line-height: 1;
}
.admin-country-name {
  font-size: 0.9rem;
  color: #e8e8e8;
  font-weight: 500;
}
.admin-country-currency-select {
  width: auto;
  min-width: 7rem;
  max-width: 10rem;
  margin: 0;
  padding: 0.35rem 0.5rem;
  font-size: 0.8rem;
}
.admin-country-info {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  align-items: center;
  color: var(--muted);
}
.admin-country-code {
  font-family: monospace;
  background: #1a1a1a;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.admin-country-shipping {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.admin-country-shipping-label {
  white-space: nowrap;
  font-size: 0.75rem;
  color: var(--muted);
}
.admin-country-shipping-input {
  width: 4.5rem;
  padding: 0.3rem 0.4rem;
  font-size: 0.8rem;
  margin: 0;
}
.admin-country-shipping-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.admin-country-freeship {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.admin-country-freeship input { margin: 0; }
.admin-country-currency {
  color: #6fcf97;
}
.admin-country-preview {
  font-size: 0.75rem;
  color: var(--rust);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--rust);
  border-radius: 4px;
  transition: all 0.15s ease;
}
.admin-country-preview:hover {
  background: var(--rust);
  color: #fff;
}
.admin-country-card {
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all 0.15s ease;
}
.admin-country-card:hover {
  border-color: #333;
}
.admin-country-card.admin-country-enabled {
  border-color: rgba(183, 101, 76, 0.3);
  background: rgba(183, 101, 76, 0.03);
}
.admin-country-card .admin-country-row {
  border: none;
  border-radius: 0;
  background: transparent;
  margin: 0;
}
.admin-country-card .admin-country-row:hover {
  background: rgba(255,255,255,0.02);
}
.admin-country-numbering {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid #222;
}
.admin-country-numbering-section {
  background: rgba(255,255,255,0.02);
  padding: 0.75rem;
  border-radius: 6px;
}
.admin-country-numbering-section h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sand);
  margin: 0 0 0.75rem 0;
}
.admin-country-numbering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem;
  align-items: end;
}
.admin-country-numbering-field label {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.admin-input-sm,
.admin-country-numbering-field .admin-input-sm {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #333;
  color: var(--white);
  padding: 0.4rem 0.5rem;
  font-size: 0.8rem;
  height: auto;
  outline: none;
  border-radius: 4px;
}
.admin-input-sm:focus {
  border-color: var(--rust);
}
.admin-country-counter {
  display: inline-block;
  padding: 0.4rem 0.5rem;
  background: rgba(183, 101, 76, 0.1);
  border: 1px solid rgba(183, 101, 76, 0.2);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rust);
  min-width: 60px;
  text-align: center;
}
@media (max-width: 768px) {
  .admin-country-numbering {
    grid-template-columns: 1fr;
  }
}

/* Locale selector in products */
.admin-products-locale-selector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-products-locale-selector label {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}
.admin-products-locale-selector select {
  min-width: 200px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ADMIN HEADER
═══════════════════════════════════════════════════════════════════════════════ */
.wp-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: #0d0d0d;
  border-bottom: 1px solid #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 100;
}
.wp-admin-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.wp-admin-header-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0;
}
.wp-admin-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ADMIN COUNTRY SWITCHER
═══════════════════════════════════════════════════════════════════════════════ */
.admin-country-switcher {
  position: relative;
}
.admin-country-switcher-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  color: #e8e8e8;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.admin-country-switcher-btn:hover {
  background: #222;
  border-color: #444;
}
.admin-country-switcher-loading {
  opacity: 0.6;
  cursor: default;
}
.admin-country-switcher-name {
  font-weight: 500;
}
.admin-country-switcher-currency {
  color: var(--muted);
  font-size: 0.75rem;
}
.admin-country-switcher-arrow {
  color: var(--muted);
  transition: transform 0.2s ease;
  margin-left: 0.25rem;
}
.admin-country-switcher-arrow.open {
  transform: rotate(180deg);
}

.admin-country-switcher-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 280px;
  background: #0d0d0d;
  border: 1px solid #333;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow: hidden;
  animation: adminDropdownIn 0.15s ease;
}
@keyframes adminDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.admin-country-switcher-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #222;
  font-size: 0.75rem;
  color: var(--muted);
}
.admin-country-switcher-hint {
  font-size: 0.7rem;
  color: #666;
}
.admin-country-switcher-list {
  padding: 0.5rem;
  max-height: 300px;
  overflow-y: auto;
}
.admin-country-switcher-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #e8e8e8;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.1s ease;
  text-align: left;
}
.admin-country-switcher-item:hover {
  background: #1a1a1a;
}
.admin-country-switcher-item.active {
  background: rgba(201, 74, 43, 0.15);
  color: var(--rust);
}
.admin-country-switcher-item-flag {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.admin-country-switcher-item-flag .locale-flag-img {
  width: 28px;
  height: 21px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.admin-country-switcher-flag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.admin-country-switcher-flag .locale-flag-img {
  width: 26px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.admin-country-switcher-flag .locale-flag-emoji {
  font-size: 1.2rem;
  line-height: 1;
}
.admin-country-switcher-item-name {
  flex: 1;
  font-weight: 500;
}
.admin-country-switcher-item-currency {
  font-size: 0.75rem;
  color: var(--muted);
  background: #1a1a1a;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.admin-country-switcher-item.active .admin-country-switcher-item-currency {
  background: rgba(201, 74, 43, 0.2);
  color: var(--rust);
}
.admin-country-switcher-item-check {
  color: var(--rust);
  font-weight: 600;
}

/* Country chooser popup (visitors from non-active countries) */
.country-chooser-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.country-chooser-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}
.country-chooser-modal {
  position: relative;
  background: var(--black);
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.country-chooser-header {
  padding: 1.5rem 1.5rem 0.75rem;
  padding-right: 3rem;
}
.country-chooser-title {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin: 0 0 0.5rem 0;
}
.country-chooser-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}
.country-chooser-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--sand);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}
.country-chooser-close:hover {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
}
.country-chooser-list {
  list-style: none;
  padding: 0.75rem 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.country-chooser-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--white);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}
.country-chooser-item:hover {
  background: rgba(183, 101, 76, 0.15);
  border-color: rgba(183, 101, 76, 0.3);
}
.country-chooser-item.current {
  border-color: var(--rust);
  background: rgba(183, 101, 76, 0.1);
}
.country-chooser-item .locale-flag-img {
  width: 36px;
  height: 27px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.country-chooser-item .locale-flag-emoji {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.country-chooser-body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex-wrap: wrap;
}
.country-chooser-code {
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.95;
}
.country-chooser-sep {
  opacity: 0.4;
  font-weight: 400;
}
.country-chooser-name {
  font-weight: 500;
}
.country-chooser-badge {
  font-size: 0.75rem;
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Country chooser: mobil și tabletă – full width, touch-friendly, safe area */
@media (max-width: 768px) {
  .country-chooser-overlay {
    padding: 0;
    align-items: stretch;
  }
  .country-chooser-modal {
    max-width: none;
    width: 100%;
    max-height: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    display: flex;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .country-chooser-header {
    padding: max(1rem, env(safe-area-inset-top)) 3rem 1rem 1rem;
  }
  .country-chooser-title {
    font-size: 1.35rem;
  }
  .country-chooser-subtitle {
    font-size: 0.85rem;
  }
  .country-chooser-close {
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
    width: var(--touch-min, 44px);
    height: var(--touch-min, 44px);
    min-width: var(--touch-min, 44px);
    min-height: var(--touch-min, 44px);
  }
  .country-chooser-list {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 1rem 1.5rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }
  .country-chooser-item {
    min-height: var(--touch-min, 44px);
    padding: 1rem 1.25rem;
  }
}

.admin-country-switcher-empty {
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid #222;
}
.admin-country-switcher-empty a {
  display: block;
  margin-top: 0.5rem;
  color: var(--rust);
  text-decoration: none;
}
.admin-country-switcher-empty a:hover {
  text-decoration: underline;
}

/* Country badge in page titles */
.admin-products-country-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7em;
  font-weight: 400;
  background: rgba(201, 74, 43, 0.15);
  color: var(--rust);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  margin-left: 0.75rem;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SKELETON LOADING & PERFORMANCE ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 4px;
}
.skeleton-text {
  height: 1em;
  margin: 0.5em 0;
}
.skeleton-image {
  aspect-ratio: 3/4;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .skeleton,
  .reveal,
  .product-card,
  .product-img-wrap,
  .hero-badge {
    animation: none !important;
    transition: none !important;
  }
}

.content-visibility-auto {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MOBILE NAVIGATION DRAWER
   ═══════════════════════════════════════════════════════════════════════════════ */

.mobile-nav {
  display: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  padding-top: max(0.75rem, env(safe-area-inset-top));
  background: var(--black);
  border-bottom: 1px solid rgba(245,240,232,0.08);
  justify-content: space-between;
  align-items: center;
}
.mobile-nav-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--touch-min, 44px);
}
.mobile-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.35rem 0.5rem 0;
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  min-height: var(--touch-min, 44px);
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-back:hover,
.mobile-nav-back:active {
  color: var(--rust);
}
.mobile-nav-back-text {
  font-family: var(--font-dm), sans-serif;
}
.mobile-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mobile-nav-cart {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--white);
}
.mobile-nav-cart-count {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  background: var(--rust);
  color: var(--white);
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-nav-toggle-bar {
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.mobile-nav-toggle.open .mobile-nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-nav-toggle.open .mobile-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open .mobile-nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: var(--black);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-right: env(safe-area-inset-right, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
  pointer-events: none;
}
.mobile-nav-drawer.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-nav-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  padding-top: max(1rem, env(safe-area-inset-top));
  padding-right: max(1rem, env(safe-area-inset-right));
  border-bottom: 1px solid rgba(245,240,232,0.08);
}
.mobile-nav-drawer-logo {
  height: 28px;
}
.mobile-nav-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(245,240,232,0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-nav-close:hover {
  background: var(--rust);
  border-color: var(--rust);
}
.mobile-nav-links {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
  flex: 1;
}
.mobile-nav-links li {
  border-bottom: 1px solid rgba(245,240,232,0.05);
}
.mobile-nav-links a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}
.mobile-nav-links a:hover,
.mobile-nav-links a:active {
  background: rgba(183, 101, 76, 0.1);
  color: var(--rust);
}
.mobile-nav-sale {
  color: var(--rust) !important;
}
.mobile-nav-footer {
  padding: 1rem;
  border-top: 1px solid rgba(245,240,232,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-nav-footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-cart-btn,
.mobile-nav-checkout-btn {
  display: block;
  width: 100%;
  padding: 0.875rem;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.mobile-nav-cart-btn {
  background: transparent;
  border: 2px solid var(--rust);
  color: #ffffff;
}
.mobile-nav-cart-btn:hover {
  background: rgba(201, 74, 43, 0.2);
}
.mobile-nav-checkout-btn {
  background: var(--rust);
  border: 2px solid var(--rust);
  color: #ffffff;
}
.mobile-nav-checkout-btn:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
}
.mobile-nav-drawer .theme-toggle {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}
.mobile-nav-drawer .theme-toggle:hover {
  color: var(--sand);
  border-color: var(--sand);
}

@media (max-width: 900px) {
  nav:not(.mobile-nav) {
    display: none !important;
  }
  .mobile-nav {
    display: flex !important;
  }
}

/* ─── Category page nav (meniu același ca pe homepage) ─── */
.category-page-wrap {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.category-page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1rem;
  box-sizing: border-box;
}
.category-page-h1 {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
  color: var(--white);
}
.category-page-intro {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--sand);
  max-width: 42rem;
}
.category-page-empty {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--sand);
}
.category-page-empty .btn-primary {
  margin-top: 1.25rem;
  display: inline-block;
}
.category-page-grid {
  display: grid;
  /* min(260px,100%) evită overflow orizontal când zona e mai îngustă de 260px (Chrome tăia conținutul) */
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  box-sizing: border-box;
  min-width: 0;
}
.category-page-grid .product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-height: 0;
}
.category-page-grid .product-card:hover .product-card-name {
  color: var(--rust);
}
/* Categorii / brand: aceleași clase ca landing, dar cu product-card-image */
.product-card-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1a1a1a;
  min-height: 0;
}
.product-card-image .placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 0;
}
.product-card-info {
  padding: 1rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.product-card-tag {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}
/* Overlay badge on image: keep white text on rust (not rust-on-rust) */
.product-tag.product-card-tag {
  color: #fff;
  background: var(--rust);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.product-card-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.35;
}
.product-card-price {
  font-family: var(--font-bebas), 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--rust);
}
.product-card-price-old {
  margin-left: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: line-through;
  opacity: 0.75;
}
.category-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--black);
  border-bottom: 1px solid rgba(245,240,232,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}
.category-page-nav-logo {
  height: 28px;
}
.category-page-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.category-page-nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-dm), 'DM Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.category-page-nav-menu a:hover {
  color: var(--rust);
}
.category-page-nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.category-page-nav-back,
.category-page-nav-cart {
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.category-page-nav-back:hover,
.category-page-nav-cart:hover {
  color: var(--rust);
}
@media (max-width: 900px) {
  .category-page-nav-menu {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE - MOBILE & TABLET (gândire: phone → tablet → desktop)
   Breakpoints: 480 = telefon, 768 = tablet portrait, 1024 = tablet landscape / desktop mic
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Category page: padding și spacing pe mobil/tabletă ── */
@media (max-width: 1024px) {
  .category-page-wrap {
    padding-bottom: 2rem;
  }
  .category-page-nav {
    padding: 0.75rem 1rem;
    padding-left: max(1rem, calc(1rem + env(safe-area-inset-left)));
    padding-right: max(1rem, calc(1rem + env(safe-area-inset-right)));
  }
  .category-page-header {
    padding: 1.5rem 1rem 1rem;
    padding-left: max(1rem, calc(1rem + env(safe-area-inset-left)));
    padding-right: max(1rem, calc(1rem + env(safe-area-inset-right)));
  }
  .category-page-grid {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}
@media (max-width: 480px) {
  .category-page-header {
    padding: 1.25rem 0.75rem 1rem;
  }
  .category-page-h1 {
    font-size: 1.75rem;
  }
  .category-page-intro {
    font-size: 0.9rem;
  }
}

/* ── TABLET (max-width: 1024px) ── */
@media (max-width: 1024px) {
  /* Admin sidebar collapse */
  .wp-admin-sidebar {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
  }
  .wp-admin-body {
    margin-left: 200px;
  }
  .wp-admin-sidebar-brand,
  .wp-admin-sidebar-nav {
    width: 200px;
  }
  
  /* Admin tables scroll horizontally */
  .ao-table-wrap,
  .admin-facturi-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ao-table,
  .admin-facturi-table {
    min-width: 900px;
  }
  
  /* Product grid: 2 coloane pe tablet, ca să nu suprascrie mobilul */
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── TABLET PORTRAIT (max-width: 900px) ── */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  /* Admin layout - vertical */
  .wp-admin-wrap {
    flex-direction: column;
  }
  .wp-admin-sidebar {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: auto;
  }
  .wp-admin-sidebar-brand,
  .wp-admin-sidebar-nav {
    width: 100%;
  }
  .wp-admin-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0.5rem;
    overflow-x: auto;
  }
  .wp-admin-menu-group {
    flex: 0 0 auto;
    margin: 0;
  }
  .wp-admin-menu-group-title {
    display: none;
  }
  .wp-admin-menu-list {
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
    flex-wrap: nowrap;
  }
  .wp-admin-menu-item {
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  .wp-admin-menu-footer {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.5rem;
  }
  .wp-admin-body {
    margin-left: 0;
  }
  .wp-admin-main {
    padding: 1rem;
  }
  .wp-admin-header {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }
  .wp-admin-header-left,
  .wp-admin-header-right {
    width: 100%;
  }
  .wp-admin-header-right {
    justify-content: flex-end;
  }
  
  /* Admin form cards */
  .admin-form-card {
    padding: 1.25rem;
  }
  .admin-settings-numbering-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Facturi table */
  .admin-facturi-table {
    font-size: 0.8rem;
  }
  .admin-facturi-table th,
  .admin-facturi-table td {
    padding: 0.5rem;
  }
  
  /* Orders toolbar */
  .admin-orders-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .admin-orders-filters {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  /* Checkout page */
  .checkout-form {
    max-width: 100%;
    padding: 1.5rem 1rem;
  }
  .checkout-row {
    grid-template-columns: 1fr;
  }
}

/* ── MOBILE LANDSCAPE (max-width: 768px) ── */
@media (max-width: 768px) {
  /* Grilă produse: 1 coloană pe mobil */
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  /* Admin page titles */
  .wp-admin-page-title {
    font-size: 1.4rem;
  }
  
  /* Admin country switcher */
  .admin-country-switcher {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }
  .admin-country-switcher-dropdown {
    width: 260px;
    right: 0;
  }
  
  /* Product cards: pe telefon imagine mare full-width, datele sub poza */
  .product-card,
  .product-card-link {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
  }
  .product-card-link .product-img-wrap {
    width: 100%;
    order: 1;
    aspect-ratio: 3/4;
    min-height: 280px;
    max-height: 75vh;
  }
  .product-card-link .product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .product-card-link .product-info {
    order: 2;
    width: 100%;
    padding: 1rem 1rem 1.25rem;
  }
  .product-info {
    padding: 0.875rem;
  }
  .product-name {
    font-size: 0.9rem;
  }
  .product-price {
    font-size: 1rem;
  }
  
  /* Admin settings tabs */
  .admin-settings-tabs {
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .admin-settings-tab {
    flex: 1 0 auto;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    text-align: center;
    white-space: nowrap;
  }
  
  /* Country numbering grid in settings */
  .admin-country-numbering {
    grid-template-columns: 1fr;
  }
  
  /* Hero section */
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .btn-primary,
  .btn-ghost {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  /* Product detail page */
  .product-page-wrap {
    padding: 1rem;
  }
  .product-page-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .product-page-gallery {
    max-height: 400px;
  }
  .product-page-name {
    font-size: 1.5rem;
  }
}

/* ── MOBILE PORTRAIT (max-width: 480px) ── */
@media (max-width: 480px) {
  /* Global touch targets */
  button,
  .admin-btn,
  input[type="submit"],
  a.admin-btn {
    min-height: 44px;
  }
  
  /* Navigation */
  nav {
    padding: 0.5rem 0.75rem;
  }
  .nav-logo .site-logo-img {
    height: 22px;
  }
  .nav-cart {
    padding: 0.4rem 0.75rem;
    font-size: 0.65rem;
  }
  
  /* Hero */
  .hero-left {
    padding: 3.5rem 1rem 2.5rem;
  }
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  .hero-badge {
    width: 70px;
    height: 70px;
    bottom: 1rem;
    right: 1rem;
  }
  
  /* Products: o coloană, lățime stabilă (fără calc+margin negativ — evită overflow și bandă goală) */
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  .product-card,
  .product-card-link {
    min-width: 0;
  }
  .product-card-link .product-img-wrap {
    aspect-ratio: 3/4;
    min-height: 320px;
    max-height: 80vh;
  }
  .product-info {
    padding: 1rem 1rem 1.25rem;
  }
  .product-name {
    font-size: 0.9rem;
  }
  
  /* Section headers */
  .section-title {
    font-size: 1.8rem;
  }
  
  /* Stats */
  .stat-num {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
  
  /* Reviews */
  .review-card {
    padding: 1.25rem;
  }
  .review-text {
    font-size: 0.9rem;
  }
  
  /* Footer */
  .footer-title {
    font-size: 0.85rem;
  }
  .footer-link {
    font-size: 0.85rem;
  }
  
  /* Checkout */
  .checkout-title {
    font-size: 1.8rem;
  }
  .checkout-section-title {
    font-size: 1.2rem;
  }
  .checkout-item {
    grid-template-columns: 60px 1fr;
  }
  .checkout-item-image {
    width: 60px;
    height: 72px;
  }
  .checkout-item-price {
    grid-column: 2;
    margin-top: 0.25rem;
  }
  .checkout-submit {
    font-size: 1.2rem;
    padding: 1rem;
  }
  
  /* Cart */
  .cart-title {
    font-size: 1.8rem;
  }
  .cart-item {
    grid-template-columns: 70px 1fr;
    gap: 0.75rem;
  }
  .cart-item-image {
    width: 70px;
    height: 84px;
  }
  
  /* Product page */
  .product-page-name {
    font-size: 1.3rem;
  }
  .product-page-price-display {
    font-size: 1.4rem;
  }
  .product-page-add-btn {
    font-size: 1rem;
    padding: 1rem;
  }
  .product-added-buttons {
    gap: 0.5rem;
  }
  .product-added-btn-primary,
  .product-added-btn-secondary {
    padding: 0.875rem;
    font-size: 0.95rem;
  }
  
  /* Admin mobile adjustments */
  .wp-admin-header-title {
    font-size: 1.1rem;
  }
  .admin-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  .admin-input {
    padding: 0.625rem 0.75rem;
    font-size: 0.9rem;
  }
  .admin-orders-search {
    font-size: 0.9rem;
  }
  
  /* Admin orders */
  .ao-table {
    font-size: 0.75rem;
  }
  .ao-th,
  .ao-td {
    padding: 0.4rem 0.5rem;
  }
  .ao-details-products {
    overflow-x: auto;
  }
  .ao-items-table {
    min-width: 500px;
    font-size: 0.75rem;
  }
  
  /* Admin dashboard actions */
  .admin-order-card-v2-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .admin-order-card-v2-actions .admin-btn {
    flex: 1 0 45%;
    justify-content: center;
    text-align: center;
  }
  
  /* Facturi actions */
  .admin-facturi-row-actions {
    flex-direction: column;
    gap: 0.4rem;
  }
  .admin-facturi-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── EXTRA SMALL SCREENS (max-width: 360px) ── */
@media (max-width: 360px) {
  .hero-title {
    font-size: 2rem;
  }
  .products-grid {
    gap: 0.75rem;
  }
  /* Nu forțăm height fix: intra în conflict cu aspect-ratio și poate strica layout-ul */
  .product-img-wrap {
    min-height: 140px;
  }
  .product-name {
    font-size: 0.8rem;
  }
  .checkout-item {
    grid-template-columns: 50px 1fr;
  }
  .checkout-item-image {
    width: 50px;
    height: 60px;
  }
  .cart-item {
    grid-template-columns: 60px 1fr;
  }
  .cart-item-image {
    width: 60px;
    height: 72px;
  }
}

/* ── LANDSCAPE MODE OPTIMIZATIONS ── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }
  .hero-left {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
  .hero-right {
    height: 100vh;
    min-height: 250px;
  }
}

/* ── PRINT STYLES ── */
@media print {
  .wp-admin-sidebar,
  .wp-admin-header,
  nav,
  .admin-btn,
  .theme-toggle,
  .nav-cart {
    display: none !important;
  }
  .wp-admin-body,
  .wp-admin-main {
    margin: 0 !important;
    padding: 0 !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
}

/* ── TOUCH DEVICE IMPROVEMENTS ── */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .product-card {
    cursor: pointer;
  }
  .nav-links a,
  .footer-link,
  .admin-menu-item {
    padding: 0.75rem 1rem;
  }
  
  /* Remove hover states on touch */
  .product-card:hover .product-img-wrap {
    transform: none;
  }
  .btn-primary:hover,
  .btn-ghost:hover {
    transform: none;
  }
  
  /* Tap highlight */
  a, button {
    -webkit-tap-highlight-color: rgba(201, 74, 43, 0.2);
  }
}

/* ── HIGH DPI SCREENS ── */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .product-img-wrap img,
  .hero-right img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Laravel storefront chrome */
.storefront-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 1.25rem; background: var(--nav-bg, #000); border-bottom: 1px solid var(--nav-border-subtle, rgba(255,255,255,.12));
  position: sticky; top: 0; z-index: 40;
}
.storefront-header .brand { font-family: var(--font-bebas, Impact, sans-serif); font-size: 1.6rem; letter-spacing: .06em; color: var(--nav-link, #fdf5e6); text-decoration: none; }
.storefront-header .main-nav { display: flex; gap: 1rem; align-items: center; }
.storefront-header .main-nav a { color: var(--nav-link, #fdf5e6); text-decoration: none; font-size: .95rem; }
.storefront-header .cart-count { margin-left: .25rem; opacity: .85; }
.storefront-header .locale-switcher select { background: #111; color: #fdf5e6; border: 1px solid #333; border-radius: 4px; padding: .35rem .5rem; }
.storefront-main { min-height: 60vh; }
.storefront-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.25rem; border-top: 1px solid var(--border, #2a2a2a); color: var(--text-secondary, #b0a898); }
.storefront-footer a { color: inherit; margin-left: .75rem; }
.alert { margin: 1rem 1.25rem; padding: .75rem 1rem; border-radius: 8px; }
.alert-success { background: #143524; color: #b6f3c8; }
.alert-error { background: #3a1515; color: #ffc9c9; }
.page-header { padding: 1.5rem 1.25rem 0.5rem; }
.products-grid, .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; padding: 1rem 1.25rem 2rem; }
.button, .button-primary { display: inline-block; background: var(--rust, #c94a2b); color: #fff; border: 0; border-radius: 6px; padding: .65rem 1rem; text-decoration: none; cursor: pointer; }
.cart-page, .checkout-page, .contact-page, .product-page { padding: 0 1.25rem 2rem; }
.legal-page { padding: 0 0 2rem; }

/* Laravel layout fixes vs Next legacy CSS */
.storefront-header {
  position: sticky; top: 0; z-index: 3000;
  display: flex !important; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem 1.25rem;
  background: var(--nav-bg, #000) !important;
  border-bottom: 1px solid var(--nav-border-subtle);
  mix-blend-mode: normal;
}
.storefront-header .main-nav { display: flex; gap: 1.25rem; align-items: center; position: static !important; }
.storefront-header .main-nav a { color: var(--nav-link); text-decoration: none; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.storefront-footer {
  position: static !important;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 2rem 1.25rem;
  border-top: 1px solid #1a1a1a;
}
.storefront-footer .footer-legal { display: flex; gap: 1rem; position: static !important; }
.storefront-footer .footer-legal a { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; }
.storefront-main { padding-top: 0; }
.hero--laravel .hero-slider { min-height: 100%; }
.hero--laravel .hero-slider-slide:not(.active) { opacity: 0; pointer-events: none; }

/* Mystery Box gift progress */
.mystery-progress{margin:0 0 1.25rem;padding:1rem 1.1rem;border:1px solid var(--border,#2a2a2a);background:rgba(255,255,255,.03);border-radius:8px}
.mystery-progress.is-unlocked{border-color:#2a6e3f;background:rgba(42,110,63,.12)}
.mystery-progress-top{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.9rem;margin-bottom:.55rem}
.mystery-progress-bar{height:8px;background:rgba(255,255,255,.08);border-radius:999px;overflow:hidden}
.mystery-progress-bar>span{display:block;height:100%;background:linear-gradient(90deg,#c45c26,#e8b86d);border-radius:999px;transition:width .3s ease}
.mystery-progress.is-unlocked .mystery-progress-bar>span{background:#2a6e3f}
.mystery-progress-note{margin:.5rem 0 0;font-size:.78rem;opacity:.75}
.gift-badge{display:inline-block;margin-left:.35rem;padding:.1rem .4rem;font-size:.65rem;letter-spacing:.04em;background:#2a6e3f;color:#fff;border-radius:3px;vertical-align:middle}
.cart-item.is-gift{outline:1px dashed rgba(42,110,63,.5)}
