/* ============================================================
   DESIGN SYSTEM - PREMIUM
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --bg: #f4f6fb;
    --surface: #ffffff;
    --surface-2: #f1f4f9;
    --ink: #0d1117;
    --text: #2d3748;
    --muted: #64748b;
    --faint: #94a3b8;
    --line: #e2e8f0;
    --brand: #0f766e;
    --brand-2: #14b8a6;
    --brand-bg: #f0fdfa;
    --accent: #f59e0b;
    --danger: #e11d48;
    --shadow-xs: 0 1px 4px rgba(16,24,40,.07),0 2px 4px rgba(16,24,40,.04);
    --shadow-sm: 0 4px 16px rgba(16,24,40,.09),0 2px 6px rgba(16,24,40,.05);
    --shadow:    0 12px 36px rgba(16,24,40,.12),0 4px 14px rgba(16,24,40,.07);
    --shadow-lg: 0 28px 64px rgba(16,24,40,.15),0 10px 24px rgba(16,24,40,.08);
    --shadow-brand: 0 14px 38px rgba(15,118,110,.28);
    --radius: 20px;
    --radius-sm: 12px;
    --container: 1200px;
    --ease: cubic-bezier(.16,1,.3,1);
    --ease-out: cubic-bezier(0,0,.2,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { width:100%;max-width:100%;overflow-x:hidden;scroll-behavior:smooth;-webkit-text-size-adjust:100%; }
body { margin:0;font-family:var(--font);font-size:15px;line-height:1.6;color:var(--ink);background:var(--bg);width:100%;max-width:100%;overflow-x:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale; }
main { width:100%;max-width:100%;overflow-x:clip; }
a { color:inherit;text-decoration:none; }
img { display:block;max-width:100%; }
button,input,textarea,select { font:inherit; }
h1,h2,h3,h4,h5,h6 { line-height:1.18;letter-spacing:-0.025em; }

input,textarea,select { width:100%;border:1.5px solid var(--line);border-radius:var(--radius-sm);padding:11px 14px;background:#fff;color:var(--ink);outline:none;transition:border-color .2s var(--ease-out),box-shadow .2s var(--ease-out);font-size:14px; }
input:focus,textarea:focus,select:focus { border-color:var(--brand-2);box-shadow:0 0 0 4px rgba(20,184,166,.16),0 2px 8px rgba(20,184,166,.08); }
textarea { min-height:124px;resize:vertical; }
label { display:grid;gap:7px;color:var(--text);font-size:14px;font-weight:600; }

/* BUTOANE */
.btn { display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 20px;border:1.5px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-size:14px;font-weight:600;letter-spacing:-0.01em;cursor:pointer;transition:transform .2s var(--ease),box-shadow .2s var(--ease),background .18s var(--ease-out),border-color .18s var(--ease-out),color .18s var(--ease-out);white-space:nowrap; }
.btn:hover { transform:translateY(-2px);box-shadow:var(--shadow-sm); }
.btn:active { transform:translateY(0); }
.btn.primary { border-color:transparent;background:linear-gradient(135deg,#0a5e57,var(--brand) 45%,var(--brand-2) 80%,var(--brand));color:#fff;box-shadow:var(--shadow-brand);background-size:200% auto; }
.btn.primary:hover { box-shadow:0 16px 40px rgba(15,118,110,.32);transform:translateY(-2px); }
.btn.dark { border-color:#111827;background:linear-gradient(135deg,#0d1117,#1e293b);color:#fff; }
.btn.dark:hover { box-shadow:0 12px 30px rgba(13,17,23,.28); }
.btn.ghost { background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.28);backdrop-filter:blur(8px); }
.btn.ghost:hover { background:rgba(255,255,255,.18); }
.btn.glass { color:#fff;border-color:rgba(255,255,255,.4);background:rgba(255,255,255,.12);backdrop-filter:blur(12px); }
.btn.glass:hover { background:rgba(255,255,255,.22); }
.btn.small { min-height:36px;padding:0 14px;font-size:13px; }
.btn.large { min-height:52px;padding:0 28px;font-size:16px;font-weight:700; }

/* HEADER */
.site-header { position:relative;z-index:30;width:min(calc(var(--container) + 80px),calc(100% - 24px));margin:12px auto 0;display:grid;grid-template-columns:minmax(160px,auto) minmax(220px,1fr) auto;gap:16px;align-items:center;padding:14px 22px;background:rgba(255,255,255,.95);border:1px solid rgba(226,232,240,.8);border-radius:22px;backdrop-filter:blur(28px) saturate(180%);box-shadow:0 4px 24px rgba(16,24,40,.08),0 1px 4px rgba(16,24,40,.04);transition:box-shadow .3s var(--ease-out); }
.site-header:hover { box-shadow:var(--shadow); }
.modern-nav { /* alias */ }
.brand { display:inline-flex;align-items:center;gap:10px;color:var(--brand);font-size:22px;font-weight:800;letter-spacing:-0.03em;transition:opacity .2s; }
.brand:hover { opacity:.8; }
.brand img { width:40px;height:40px;object-fit:contain;border-radius:11px; }
.brand span { background:linear-gradient(135deg,#0a5e57,var(--brand) 45%,var(--brand-2));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.site-header nav { min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap;color:var(--text);font-size:14px;font-weight:600; }
.site-header nav a,.nav-drop-btn { min-height:38px;display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--text);cursor:pointer;transition:background .18s var(--ease-out),color .18s var(--ease-out),border-color .18s;position:relative; }
.site-header nav a:hover,.nav-drop-btn:hover { background:var(--brand-bg);color:var(--brand); }
.site-header nav a.admin-link { border-color:var(--line);background:var(--surface-2); }
.nav-icon-link b { min-width:20px;height:20px;display:grid;place-items:center;border-radius:999px;background:var(--brand);color:#fff;font-size:11px;font-weight:700; }
.nav-dropdown { position:relative; }
.nav-menu { position:absolute;top:calc(100% + 10px);right:0;min-width:200px;display:none;padding:8px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.98);box-shadow:var(--shadow-lg);animation:menu-in .15s var(--ease) forwards;backdrop-filter:blur(24px); }
.nav-dropdown:hover .nav-menu,.nav-dropdown:focus-within .nav-menu { display:grid;gap:3px; }
.nav-menu a { justify-content:flex-start;border-radius:10px; }
.nav-menu a:hover { background:var(--brand-bg);color:var(--brand); }
@keyframes menu-in { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
.nav-ico { position:relative;width:18px;height:18px;flex:0 0 18px;display:inline-block;color:currentColor; }
.nav-cart::before { content:"";position:absolute;left:3px;top:6px;width:12px;height:9px;border:2px solid currentColor;border-radius:3px; }
.nav-cart::after  { content:"";position:absolute;left:6px;top:2px;width:6px;height:7px;border:2px solid currentColor;border-bottom:0;border-radius:8px 8px 0 0; }
.nav-user::before { content:"";position:absolute;left:6px;top:2px;width:6px;height:6px;border:2px solid currentColor;border-radius:999px; }
.nav-user::after  { content:"";position:absolute;left:3px;bottom:2px;width:12px;height:7px;border:2px solid currentColor;border-radius:999px 999px 4px 4px; }
.nav-logout::before { content:"";position:absolute;left:2px;top:3px;width:8px;height:12px;border:2px solid currentColor;border-right:0;border-radius:3px 0 0 3px; }
.nav-logout::after  { content:"";position:absolute;right:1px;top:7px;width:10px;height:2px;background:currentColor;box-shadow:4px -3px 0 -1px currentColor,4px 3px 0 -1px currentColor; }
.nav-plus::before,.nav-plus::after { content:"";position:absolute;inset:8px 3px auto 3px;height:2px;background:currentColor;border-radius:2px; }
.nav-plus::after { transform:rotate(90deg); }
.nav-admin::before { content:"";position:absolute;inset:3px;border:2px solid currentColor;border-radius:999px; }
.nav-admin::after  { content:"";position:absolute;left:7px;top:7px;width:4px;height:4px;border-radius:999px;background:currentColor; }
.mobile-menu-btn { display:none;width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow-xs);cursor:pointer; }
.mobile-menu-btn span { display:block;width:18px;height:2px;margin:4px auto;border-radius:2px;background:var(--ink);transition:transform .22s var(--ease),opacity .18s; }
.site-menu-open .mobile-menu-btn span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
.site-menu-open .mobile-menu-btn span:nth-child(2) { opacity:0; }
.site-menu-open .mobile-menu-btn span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
.mobile-bottom-nav,.mobile-ai-fab { display:none; }
.mega-dropdown { position:static; }
.mega-dropdown .mega-menu { left:50%;right:auto;width:min(960px,calc(100vw - 48px));min-width:0;transform:translateX(-50%) translateY(0);grid-template-columns:240px 1fr 180px;gap:16px;padding:18px;border-radius:22px;background:rgba(255,255,255,.98);box-shadow:0 28px 72px rgba(15,23,42,.16);backdrop-filter:blur(24px); }
.mega-dropdown:hover .mega-menu,.mega-dropdown:focus-within .mega-menu { display:grid;animation:mega-in .18s var(--ease) forwards; }
@keyframes mega-in { from{opacity:0;transform:translateX(-50%) translateY(10px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }
.mega-intro { display:grid;align-content:start;gap:10px;padding:20px;border-radius:16px;background:linear-gradient(145deg,#0d1117,#0f766e);color:#fff; }
.mega-intro strong { font-size:20px;font-weight:700; }
.mega-intro span   { color:#a7f3d0;font-size:13px;line-height:1.5; }
.mega-cats { display:grid;grid-template-columns:repeat(2,1fr);gap:8px; }
.mega-cats a { display:grid;grid-template-columns:44px 1fr;align-items:center;gap:10px;padding:9px;border:1px solid var(--line);border-radius:14px;background:#fff;transition:border-color .18s,background .18s,transform .18s; }
.mega-cats a:hover { border-color:rgba(20,184,166,.4);background:var(--brand-bg);transform:translateY(-1px); }
.mega-cats img { width:44px;height:44px;object-fit:cover;border-radius:11px;background:var(--surface-2); }
.mega-links { display:grid;align-content:start;gap:6px; }
.mega-links a { border:1px solid var(--line);background:var(--surface-2); }

/* SEARCH */
.search { position:relative; }
.search input { border-radius:999px;background:var(--surface-2);padding-left:18px;border-color:var(--line); }
.search input:focus { background:#fff; }
.suggestions { position:absolute;top:calc(100% + 8px);left:0;right:0;display:none;overflow:hidden;background:rgba(255,255,255,.98);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-lg);z-index:40;backdrop-filter:blur(20px); }
.suggestions a { display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;padding:12px;border-bottom:1px solid var(--line);transition:background .15s; }
.suggestions a:hover { background:var(--brand-bg); }
.suggestions a:last-child { border-bottom:0; }
.suggestions img { width:48px;height:48px;object-fit:cover;border-radius:10px; }

/* BENEFIT BAR */
.benefit-bar { width:min(calc(var(--container) + 80px),calc(100% - 40px));margin:8px auto 0;display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:12px 20px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(240,253,250,.95));box-shadow:0 2px 12px rgba(15,118,110,.08),var(--shadow-xs);color:var(--brand);font-size:13px;font-weight:700;text-align:center;backdrop-filter:blur(16px); }
.benefit-bar span { padding:0 12px; }
.benefit-bar span + span { border-left:1px solid var(--line); }

/* SHOP CATEGORIES STRIP */
.shop-categories { width:min(var(--container),calc(100% - 40px));margin-left:auto;margin-right:auto;display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:0 0 18px;scrollbar-width:none; }
.shop-categories::-webkit-scrollbar { display:none; }
.shop-categories a { flex:0 0 auto;padding:9px 16px;border:1.5px solid var(--line);border-radius:999px;background:#fff;color:var(--text);font-size:13px;font-weight:600;white-space:nowrap;transition:transform .2s var(--ease),border-color .18s,background .18s,color .18s; }
.shop-categories a:hover,.shop-categories a.active { transform:translateY(-2px);border-color:rgba(20,184,166,.5);background:var(--brand-bg);color:var(--brand); }

/* HOME HERO */
.home-hero { max-width:var(--container);margin:22px auto 0;padding:0 20px;display:grid;grid-template-columns:280px 1fr;gap:18px;align-items:stretch; }
.hero-cats,.hero-stage,.panel,.filters,.product-card,.trust-band div,.promo-banners a,.install-box { border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm); }
.hero-cats { height:490px;overflow:hidden; }
.hero-cats h2 { margin:0;padding:18px 18px 14px;border-bottom:1px solid var(--line);font-size:16px;font-weight:700;color:var(--ink); }
.hero-cats > div { height:calc(100% - 58px);overflow-y:auto;padding:10px;display:grid;gap:4px;scrollbar-width:thin;scrollbar-color:var(--line) transparent; }
.hero-cats a { display:grid;grid-template-columns:44px 1fr;align-items:center;gap:11px;padding:10px;border-radius:12px;font-size:14px;font-weight:600;color:var(--text);transition:background .18s,transform .18s var(--ease),color .18s; }
.hero-cats a:hover { background:var(--brand-bg);color:var(--brand);transform:translateX(3px); }
.hero-cats img { width:44px;height:44px;object-fit:cover;border-radius:10px; }
/* Comutare desktop / mobil pentru cele 2 blocuri hero-cats cu ordine separata */
.hero-cats-mobile { display: none !important; }
.hero-cats-desktop { display: block; }
.hero-stage { min-height:490px;display:grid;align-content:end;padding:clamp(28px,5vw,52px);color:#fff;overflow:hidden;background:linear-gradient(150deg,rgba(8,12,22,.97) 0%,rgba(13,82,78,.85) 60%,rgba(15,118,110,.7) 100%),url('../img/hero.svg') center/cover;border-radius:20px;position:relative; }
.hero-content { max-width:680px;position:relative;z-index:2; }
.hero-slides { position:absolute;inset:0;z-index:0; }
.hero-slides span { position:absolute;inset:0;opacity:.26;background-position:center;background-size:cover; }
.hero-slider .hero-slides span { animation:hero-fade 18s infinite;opacity:0; }
.hero-slider .hero-slides span:nth-child(2) { animation-delay:4.5s; }
.hero-slider .hero-slides span:nth-child(3) { animation-delay:9s; }
.hero-slider .hero-slides span:nth-child(4) { animation-delay:13.5s; }
@keyframes hero-fade { 0%,28%{opacity:.3} 36%,100%{opacity:0} }
.hero-content span,.shop-hero span { color:#6ee7d3;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.1em; }
.hero-content h1 { margin:12px 0 14px;font-size:clamp(38px,6.5vw,68px);line-height:1.0;letter-spacing:-0.035em;font-weight:800; }
.hero-content p { margin:0 0 28px;max-width:560px;color:#cff4ee;font-size:clamp(16px,1.8vw,19px);font-weight:400;line-height:1.65; }
.actions { display:flex;flex-wrap:wrap;gap:10px; }
.hero-proof { display:flex;flex-wrap:wrap;gap:8px;margin-top:24px; }
.hero-proof span { display:inline-flex;align-items:center;padding:7px 14px;border:1px solid rgba(255,255,255,.22);border-radius:999px;color:#a7f3d0;font-size:12px;font-weight:600;background:rgba(255,255,255,.1);backdrop-filter:blur(10px);letter-spacing:.01em; }
.eyebrow { display:inline-flex;align-items:center;color:var(--brand);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em; }

/* SECTIUNI */
.section,.cta,.panel,.shop-layout,.product-page,.trust-band,.promo-banners,.category-showcase,.shop-hero,.shop-categories { max-width:var(--container);margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px; }
.section { padding-top:60px;padding-bottom:16px; }
.section.alt { max-width:none;padding-left:max(20px,calc((100vw - var(--container)) / 2));padding-right:max(20px,calc((100vw - var(--container)) / 2));background:linear-gradient(180deg,rgba(240,253,250,.6),rgba(255,255,255,0)); }
.section-head { display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:26px; }
.section-head h1,.section-head h2 { margin:0;font-size:clamp(24px,2.8vw,36px);font-weight:800;letter-spacing:-0.025em;color:var(--ink); }
.section-head a { color:var(--brand);font-size:14px;font-weight:600;white-space:nowrap;transition:opacity .18s; }
.section-head a:hover { opacity:.7; }

/* TRUST BAND */
.trust-band { margin-top:24px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px; }
.trust-band div { padding:20px 18px;transition:all .22s var(--ease); }
.trust-band.conversion div { border-color:rgba(20,184,166,.22);background:linear-gradient(160deg,#fff,var(--brand-bg)); }
.trust-band div:hover { border-color:rgba(20,184,166,.4);transform:translateY(-2px);box-shadow:var(--shadow); }
.trust-band strong { display:block;font-size:15px;font-weight:700; }
.trust-band span { display:block;margin-top:4px;color:var(--muted);font-size:13px; }
.editorial-band { margin-top:28px;padding-top:8px; }
.editorial-band div { position:relative;overflow:hidden;min-height:110px;padding:22px; }
.editorial-band div::before { content:"";position:absolute;right:-30px;top:-30px;width:80px;height:80px;border-radius:999px;background:rgba(20,184,166,.1); }

/* PROMO BANNERS */
.promo-banners,.category-showcase { margin-top:22px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px; }
.promo-banners a,.category-showcase a { min-height:165px;position:relative;overflow:hidden;display:grid;align-content:end;padding:22px;color:#fff;background:#0f172a;border-radius:18px;border:none;transition:transform .28s var(--ease),box-shadow .28s var(--ease); }
.promo-banners a:hover,.category-showcase a:hover { transform:translateY(-4px);box-shadow:var(--shadow-lg); }
.promo-banners img,.category-showcase img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.45;transition:transform .4s var(--ease),opacity .3s; }
.promo-banners a:hover img,.category-showcase a:hover img { transform:scale(1.05);opacity:.55; }
.promo-banners strong,.category-showcase strong { position:relative;z-index:1;font-size:20px;font-weight:700; }
.promo-banners span,.category-showcase span { position:relative;z-index:1;font-size:13px;color:rgba(255,255,255,.7);margin-top:2px;display:block; }

/* CTA */
.cta { margin-top:56px;margin-bottom:60px;padding-top:52px;padding-bottom:52px;border-radius:24px;color:#fff;background:linear-gradient(140deg,#060b14 0%,#0d4a46 45%,#0f766e 80%,#14b8a6 100%);box-shadow:0 24px 64px rgba(15,118,110,.24);position:relative;overflow:hidden; }
.cta::before { content:"";position:absolute;right:-60px;top:-60px;width:260px;height:260px;border-radius:999px;background:radial-gradient(circle,rgba(20,184,166,.22),transparent 70%); }
.cta h2 { font-size:clamp(26px,3vw,38px);font-weight:800;margin:0 0 10px; }
.cta p { max-width:680px;color:#9df1e7;font-size:16px;margin:0 0 22px; }
.cta span { display:block;color:#6ee7d3;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;margin-bottom:6px; }

/* PRODUCT GRID */
.product-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px; }
.product-card { position:relative;overflow:visible;display:flex;flex-direction:column;min-height:100%;border-radius:18px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-xs);transition:transform .26s var(--ease),box-shadow .26s var(--ease),border-color .22s; }
.product-card:hover { transform:translateY(-6px) scale(1.004);border-color:rgba(20,184,166,.5);box-shadow:var(--shadow-lg); }
.product-media { position:relative;overflow:hidden; }
.product-card img { width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff;transition:transform .4s var(--ease); }
.product-card:hover img { transform:scale(1.04); }
.product-card h3 { margin:16px 16px 6px;font-size:15px;font-weight:700;line-height:1.3;min-height:44px;color:var(--ink); }
.product-card p { margin:0 16px 10px;color:var(--muted);font-size:13px;min-height:40px;line-height:1.5; }
.product-title-link { color:inherit; }
.card-badges { position:absolute;top:0;left:0;right:0;z-index:2;display:flex;flex-wrap:wrap;align-items:flex-start;gap:5px;pointer-events:none; }
.discount-badge,.top-badge,.stock-badge { padding:4px 9px;border-radius:999px;font-size:11px;line-height:1;font-weight:700;letter-spacing:.02em;box-shadow:0 4px 12px rgba(15,23,42,.12); }
.discount-badge { background:rgba(225,29,72,.9);color:#fff; }
.top-badge { margin-left:auto;background:rgba(15,23,42,.88);color:#fff; }
.stock-badge { background:rgba(245,158,11,.9);color:#111827; }
.heart-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #e11d48;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: transform .2s, color .15s;
}
.heart-btn:hover { transform:scale(1.1);background:#ffe4e6; }
.heart-btn.is-favorite { background:#e11d48;color:#fff; }
.rating,.stock-line,.card-row { display:flex;align-items:center;justify-content:space-between;gap:10px;padding-left:16px;padding-right:16px; }
.rating { color:var(--accent);font-weight:700;font-size:14px; }
.rating small,.stock-line { color:var(--muted);font-size:12px;font-weight:500; }
.card-row { padding-top:12px;padding-bottom:10px;align-items:flex-end; }
.card-row strong { font-size:20px;font-weight:800;color:var(--ink); }
.price-stack { width:100%;display:grid;gap:3px; }
.price-stack span { display:flex;align-items:center;justify-content:space-between;gap:8px; }
.price-stack em { padding:4px 8px;border-radius:999px;background:#fff1f2;color:#be123c;font-style:normal;font-size:11px;font-weight:700; }
.card-row del { display:block;color:var(--faint);font-size:12px; }
.card-actions { display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 14px 16px; }
.card-actions .btn { min-height:38px;padding:0 10px;font-size:13px; }
.delivery-chip { margin:0 16px 10px;padding:6px 12px;border-radius:999px;background:linear-gradient(90deg,#ecfdf5,#d1fae5);color:var(--brand);font-weight:700;font-size:12px;text-align:center; }

/* CAROUSEL */
.best-sellers { padding-top:44px; }
.carousel-shell { overflow:hidden;border-radius:18px; }
.carousel-track { display:flex;width:max-content;animation:carousel-slide 32s linear infinite; }
.carousel-track:hover { animation-play-state:paused; }
.carousel-track .product-card { width:265px;flex:0 0 265px; }
@keyframes carousel-slide { from{transform:translateX(0)} to{transform:translateX(-45%)} }

/* WHY BUY */
.why-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:14px; }
.why-grid div,.reviews-home article { padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-xs);transition:transform .22s var(--ease),border-color .2s,box-shadow .22s var(--ease); }
.why-grid div:hover,.reviews-home article:hover { transform:translateY(-4px);border-color:rgba(20,184,166,.35);box-shadow:var(--shadow); }
.why-grid strong,.why-grid span,.reviews-home small { display:block; }
.why-grid strong { font-size:15px;font-weight:700;color:var(--ink); }
.why-grid span { margin-top:6px;color:var(--muted);font-size:13px;line-height:1.55; }
.editorial-section { padding-top:70px; }
.editorial-section .section-head,.editorial-feature .section-head { align-items:center;padding:16px 0;border-top:1px solid var(--line); }
.editorial-feature { margin-top:44px;padding:44px;border-radius:26px;background:linear-gradient(160deg,rgba(255,255,255,.7),rgba(240,253,250,.75));border:1px solid rgba(20,184,166,.18); }
.editorial-feature .section-head p { max-width:400px;margin:0;color:var(--muted);font-size:14px; }
.reviews-home .review-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px; }
.reviews-home article span { color:var(--accent);font-weight:700;display:block;margin:6px 0; }
.reviews-home article strong { font-size:15px;font-weight:700; }
.reviews-home article p { margin:4px 0 8px;color:var(--text);font-size:14px;line-height:1.55; }
.reviews-home small { color:var(--muted);font-size:12px; }

/* SHOP HERO */
.shop-hero { padding-top:32px;padding-bottom:16px; }
.shop-hero > div { min-height:185px;display:grid;align-content:end;padding:30px;border-radius:20px;color:#fff;background:linear-gradient(135deg,rgba(13,17,23,.92),rgba(11,75,71,.8)),url('../img/hero.svg') center/cover;box-shadow:var(--shadow); }
.shop-hero h1 { margin:8px 0;font-size:clamp(36px,5.5vw,58px);line-height:1.0;font-weight:800; }
.shop-hero p { margin:0;color:#a7f3d0;font-size:17px; }

/* SHOP LAYOUT */
.shop-layout { display:grid;grid-template-columns:280px 1fr;gap:22px;align-items:start;padding-top:10px;padding-bottom:52px; }
.filters { position:sticky;top:24px;padding:20px;border-radius:18px; }
.filter-title,.products-toolbar { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.filter-title { margin-bottom:16px; }
.filter-title h2,.products-toolbar h2 { margin:0;font-size:16px;font-weight:700; }
.filter-title a { color:var(--brand);font-size:13px;font-weight:600; }
.filters form,.grid-form,.admin-form { display:grid;gap:14px; }
.priority-filters { display:grid;gap:8px;padding:12px;border:1px solid rgba(20,184,166,.22);border-radius:14px;background:var(--brand-bg); }
.mobile-filter-toggle { display:none;width:min(100% - 40px,var(--container));margin:16px auto 0; }
.check { display:flex;align-items:center;gap:10px; }
.check input { width:auto; }
.dynamic-filters,.filter-picker { display:grid;gap:12px; }
.filter-group { display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2); }
.products-toolbar { margin-bottom:18px;padding:14px 18px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow-xs); }
#products-results { transition:opacity .2s; }
#products-results.is-loading { opacity:.4; }

/* PRODUCT PAGE */
.product-page { display:grid;grid-template-columns:minmax(300px,1fr) minmax(300px,1fr);gap:40px;padding-top:44px;padding-bottom:28px; }
.premium-product { grid-template-columns:minmax(360px,1.1fr) minmax(320px,.9fr);gap:52px;align-items:start; }
.premium-product .gallery { position:sticky;top:100px;align-self:start; }
.main-product-img { width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:22px;background:#fff;box-shadow:0 24px 64px rgba(16,24,40,.1); }
.thumbs { display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px; }
.thumbs img { aspect-ratio:1/1;object-fit:contain;background:#fff;border:2px solid transparent;border-radius:12px;cursor:pointer;transition:border-color .18s,transform .18s var(--ease),opacity .18s; }
.thumbs img:hover { border-color:var(--brand-2);transform:translateY(-2px);opacity:.9; }
.product-info h1 { margin:8px 0 14px;font-size:clamp(28px,4.5vw,50px);line-height:1.08;letter-spacing:-0.03em;font-weight:800; }
.buy-box { position:sticky;top:100px;padding:28px;border:1px solid rgba(226,232,240,.9);border-radius:24px;background:rgba(255,255,255,.98);box-shadow:var(--shadow-lg);backdrop-filter:blur(24px) saturate(180%); }
.price { color:var(--brand);font-size:28px;font-weight:800;letter-spacing:-0.03em; }
.price del { margin-left:8px;color:var(--faint);font-size:17px;font-weight:400; }
.inline-discount { display:inline-flex;margin-left:8px;padding:4px 10px;border-radius:999px;background:var(--danger);color:#fff;font-size:13px;font-weight:700;vertical-align:middle; }
.product-meta,.variant-list { display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 16px; }
.product-meta span,.variant-list span { padding:8px 13px;border:1px solid var(--line);border-radius:999px;background:var(--surface-2);color:var(--text);font-weight:600;font-size:13px; }
.variant-list { display:grid;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:#fff; }
.variant-list h3 { margin:0;font-size:14px;font-weight:700; }
.product-buy-form { display:grid;gap:14px; }
.description { color:var(--text);line-height:1.8;font-size:15px; }
.urgency-box { display:grid;gap:3px;margin:16px 0;padding:14px;border:1px solid #fed7aa;border-radius:12px;background:#fff7ed;color:#9a3412; }
.urgency-box span { color:#9a3412;font-size:13px; }
.smart-stock { display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:14px 0; }
.smart-stock div { padding:13px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow-xs); }
.smart-stock strong { display:block;font-weight:700;color:var(--ink);font-size:15px; }
.smart-stock span { display:block;margin-top:3px;color:var(--muted);font-size:12px;font-weight:500; }
.buy-now { min-width:180px; }
.buy-box .actions { display:grid;grid-template-columns:minmax(170px,1fr) auto;gap:10px; }
.buy-benefits { display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0; }
.buy-benefits div { padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);text-align:center; }
.buy-benefits strong { display:block;font-size:13px;font-weight:700;color:var(--ink); }
.buy-benefits span { display:block;color:var(--muted);font-size:12px;margin-top:2px; }
.mobile-buy-bar { display:none;position:fixed;left:12px;right:12px;bottom:12px;z-index:45;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:999px;background:#111827;color:#fff;box-shadow:var(--shadow-lg); }
.product-detail-tabs { padding-top:24px; }
.product-tab-nav { display:inline-flex;gap:6px;padding:6px;border:1px solid var(--line);border-radius:999px;background:#fff;box-shadow:var(--shadow-xs); }
.product-tab-nav button { border:0;border-radius:999px;padding:10px 18px;background:transparent;color:var(--muted);font-size:14px;font-weight:600;cursor:pointer;transition:background .18s,color .18s,transform .18s; }
.product-tab-nav button.active { background:var(--brand);color:#fff; }
.product-tab-nav button:hover:not(.active) { background:var(--surface-2);color:var(--ink); }
.product-tab-panel { display:none;margin-top:14px;padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-xs); }
.product-tab-panel.active { display:block; }
.tag-marquee { overflow:hidden;margin-top:20px;padding:10px 0;border-top:1px solid var(--line); }
.tag-marquee div { display:flex;width:max-content;gap:10px;animation:tag-slide 28s linear infinite; }
.tag-marquee:hover div { animation-play-state:paused; }
.tag-marquee a { display:inline-flex;padding:7px 13px;border:1px solid var(--line);border-radius:999px;background:var(--brand-bg);color:var(--brand);font-size:13px;font-weight:600; }
@keyframes tag-slide { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.spec-list { display:grid;grid-template-columns:repeat(2,minmax(200px,1fr));gap:10px;margin:0; }
.spec-list div { padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2); }
.spec-list dt { color:var(--muted);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em; }
.spec-list dd { margin:5px 0 0;color:var(--ink);font-weight:700;font-size:15px; }
.product-faq-section { padding-top:18px; }
.reviews-section .review-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-bottom:20px; }
.reviews-section article,.review-form { border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-xs); }
.reviews-section article { padding:18px;transition:transform .22s var(--ease),box-shadow .22s var(--ease); }
.reviews-section article:hover { transform:translateY(-3px);box-shadow:var(--shadow); }
.reviews-section article span { display:block;margin:6px 0;color:var(--accent);font-weight:700; }
.review-form { display:grid;grid-template-columns:repeat(2,minmax(200px,1fr));gap:14px;padding:20px; }
.review-form label:has(textarea),.review-form button { grid-column:1/-1; }
.product-faq,.checkout-faq { display:grid;gap:8px;margin-top:16px; }
.product-faq details,.checkout-faq details { padding:13px 16px;border:1px solid var(--line);border-radius:12px;background:#fff; }
.product-faq summary,.checkout-faq summary { cursor:pointer;font-weight:700;font-size:14px;color:var(--ink); }

/* PAGINATION */
.pagination { display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px; }
.pagination a { display:grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border:1.5px solid var(--line);border-radius:999px;background:#fff;font-weight:700;font-size:14px;transition:background .18s,border-color .18s,color .18s,transform .18s var(--ease); }
.pagination a:hover { border-color:var(--brand);color:var(--brand);transform:translateY(-1px); }
.pagination a.active { background:linear-gradient(135deg,#0d6b64,var(--brand));color:#fff;border-color:var(--brand);box-shadow:var(--shadow-brand); }

/* TOAST */
.site-toast { position:fixed;right:22px;bottom:22px;z-index:120;max-width:min(340px,calc(100vw - 32px));padding:14px 18px;border-radius:16px;background:#0f172a;color:#fff;box-shadow:var(--shadow-lg);font-size:14px;font-weight:600;transform:translateY(20px);opacity:0;pointer-events:none;transition:opacity .22s var(--ease-out),transform .22s var(--ease); }
.site-toast.show { opacity:1;transform:translateY(0); }

/* PANEL */
.panel { padding:30px;margin-top:32px;border-radius:24px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm); }

/* CART */
.cart-page { max-width:var(--container);margin:32px auto;padding:0 20px;display:grid;grid-template-columns:1fr 340px;gap:22px;align-items:start; }
.cart-main.panel { margin-top:0; }
.cart-items { display:grid;gap:12px;margin-top:18px; }
.cart-item { display:grid;grid-template-columns:90px 1fr 180px 120px;gap:16px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow-xs);transition:transform .2s var(--ease),border-color .18s,box-shadow .2s var(--ease); }
.cart-item:hover { transform:translateY(-3px);border-color:rgba(20,184,166,.4);box-shadow:var(--shadow-sm); }
.cart-item img { width:90px;height:90px;object-fit:cover;border-radius:12px;background:var(--surface-2); }
.cart-item h3 { margin:0;font-size:15px;font-weight:700; }
.cart-item p { margin:4px 0 0;color:var(--muted);font-size:13px; }
.cart-product-img { display:block; }
.cart-item-tools { display:flex;flex-wrap:wrap;gap:10px;margin-top:10px; }
.cart-item-tools a,.cart-item-tools button { border:0;padding:0;background:transparent;color:var(--brand);font-size:13px;font-weight:600;cursor:pointer; }
.cart-item-tools button { color:var(--danger); }
.cart-actions { display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:18px; }
.cart-summary { position:sticky;top:108px;display:grid;gap:12px;padding:24px;border:1px solid rgba(20,184,166,.22);border-radius:22px;background:linear-gradient(160deg,#fff 40%,var(--brand-bg));box-shadow:var(--shadow); }
.cart-summary div { display:flex;justify-content:space-between;font-size:19px;font-weight:600; }
.cart-summary p { color:var(--muted);font-size:13px; }

/* CHECKOUT */
.checkout-page { width:min(1440px,calc(100% - 36px));margin:32px auto;padding:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,420px);gap:28px;align-items:start; }
.checkout-main.panel { margin-top:0;padding:30px;border-radius:22px; }
.checkout-main h2 { margin:16px 0 0;font-size:17px;font-weight:700; }
.checkout-steps { display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0 22px;counter-reset:step; }
.checkout-steps span { display:grid;place-items:center;min-height:42px;border:1.5px solid var(--line);border-radius:999px;background:var(--surface-2);color:var(--muted);font-size:13px;font-weight:700; }
.checkout-steps span.active,.checkout-steps span:first-child { background:var(--brand-bg);color:var(--brand);border-color:rgba(20,184,166,.3); }
.checkout-step-panel { padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow-xs);margin-bottom:14px; }
.checkout-confirm p { margin:0;color:var(--muted); }
.coupon-row { display:grid;grid-template-columns:1fr auto;gap:10px; }
.checkout-submit { width:100%;min-height:56px;font-size:16px;font-weight:700;box-shadow:0 18px 42px rgba(15,118,110,.28);letter-spacing:.01em; }
.checkout-summary { position:sticky;top:108px;padding:22px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(160deg,#fff,var(--brand-bg));box-shadow:var(--shadow); }
.summary-item,.summary-total,.summary-grand { display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line); }
.summary-grand { border:0;font-size:20px;font-weight:700; }
.summary-grand strong { color:var(--brand); }
.secure-note { margin-top:16px;padding:14px;border-radius:12px;background:var(--brand-bg);color:#065f46;font-size:13px; }

/* GENERAL */
.narrow { max-width:700px; }
.table { width:100%;margin-top:16px;border-collapse:collapse;background:#fff;border-radius:16px;overflow:hidden; }
.table th,.table td { padding:14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-size:14px; }
.table th { font-weight:700;color:var(--text);background:var(--surface-2); }
.total-line { font-size:19px;font-weight:700;text-align:right; }
.empty { color:var(--muted); }
.auth-panel { max-width:480px;margin:44px auto; }
.auth-panel h1 { font-size:28px;font-weight:800;margin:0 0 6px; }
.alert { padding:12px 16px;border-radius:12px;background:#fff1f2;color:#be123c;border:1px solid #fecdd3;font-size:14px; }
.alert.success { background:var(--brand-bg);border-color:#a7f3d0;color:#047857; }

/* MINI CART */
.mini-cart { position:fixed;inset:0;z-index:80;display:grid;place-items:end;background:rgba(13,17,23,.55);backdrop-filter:blur(4px);opacity:0;pointer-events:none;transition:opacity .26s var(--ease-out); }
.mini-cart.open { opacity:1;pointer-events:all; }
.mini-cart-panel { width:min(400px,100vw);height:100vh;display:grid;align-content:start;gap:12px;padding:22px;background:#fff;box-shadow:-20px 0 60px rgba(13,17,23,.18);overflow-y:auto;transform:translateX(100%);transition:transform .26s cubic-bezier(.16,1,.3,1); }
.mini-cart.open .mini-cart-panel { transform:translateX(0); }
.mini-cart-head { display:flex;justify-content:space-between;align-items:center; }
.mini-cart-head strong { font-size:17px;font-weight:700; }
.mini-cart-head a { color:var(--brand);font-size:13px;font-weight:600; }
.mini-cart-item { display:grid;grid-template-columns:64px 1fr;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2); }
.mini-cart-item img { width:64px;height:64px;object-fit:cover;border-radius:10px; }
.mini-cart-item strong { display:block;font-size:14px;font-weight:700; }
.mini-cart-item span { color:var(--muted);font-size:13px; }
.mini-cart-total { display:flex;justify-content:space-between;align-items:center;padding:14px;border-radius:12px;background:var(--brand-bg);font-weight:700; }
.mini-cart-total strong { font-size:18px;color:var(--brand); }

/* ORDER STEPS */
.order-steps { display:flex;gap:8px;flex-wrap:wrap; }
.order-steps span { padding:9px 14px;border-radius:999px;background:var(--surface-2);color:var(--muted);font-weight:700;font-size:13px; }
.order-steps span.done { background:#ccfbf1;color:#0f766e; }

/* ACCOUNT */
.account-hero,.account-layout,.contact-page { max-width:var(--container);margin:32px auto;padding:0 20px;display:grid;gap:22px; }
.account-hero { grid-template-columns:1fr auto;align-items:end;padding:32px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,#0d1117,#0f766e);color:#fff;box-shadow:var(--shadow); }
.account-hero h1 { margin:8px 0;font-size:clamp(32px,5vw,56px);line-height:1.0;font-weight:800; }
.account-tabs.panel { margin-top:0;border-radius:22px; }
.account-panel { display:none; }
.account-panel.active { display:block; }
.account-panel h2 { margin-top:0;font-size:20px;font-weight:700; }
.client-badge { display:inline-flex;padding:4px 10px;border-radius:999px;background:var(--brand-bg);color:var(--brand);font-size:12px;font-weight:700; }
.account-tools a { display:grid;gap:8px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff;transition:transform .22s var(--ease),border-color .2s,box-shadow .22s var(--ease); }
.account-tools a:hover { transform:translateY(-3px);border-color:rgba(20,184,166,.38);box-shadow:var(--shadow); }

/* CONTACT */
.contact-page { grid-template-columns:.9fr 1.1fr;align-items:start; }
.contact-copy,.contact-form { border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow-sm);padding:28px; }
.contact-copy span { color:var(--brand);font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:12px; }
.contact-copy h1 { font-size:clamp(32px,5vw,56px);margin:10px 0;font-weight:800; }
.contact-form { display:grid;gap:14px; }

/* RETURNS */
.return-request p { color:var(--muted); }
.returns-board { display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px; }
.return-card { padding:18px;border:1px solid rgba(148,163,184,.18);border-radius:18px;background:#111827;color:#e5e7eb;box-shadow:var(--shadow-sm); }
.return-card form { display:grid;gap:12px; }
.return-card p { margin:0;color:#cbd5e1; }
.return-head { display:flex;justify-content:space-between;gap:12px;align-items:center; }
.return-image img { width:100%;max-height:185px;object-fit:cover;border-radius:14px;border:1px solid rgba(148,163,184,.2); }

/* BLOG */
.blog-hero,.blog-layout,.blog-post { max-width:var(--container);margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px; }
.blog-hero { display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:stretch;padding-top:36px; }
.blog-hero > div,.blog-featured { border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow-sm); }
.blog-hero > div { display:grid;align-content:end;min-height:340px;padding:clamp(26px,5vw,52px);color:#fff;background:linear-gradient(145deg,rgba(13,17,23,.96),rgba(11,75,71,.84)),url('../img/hero.svg') center/cover; }
.blog-hero h1 { margin:10px 0;font-size:clamp(36px,6.5vw,68px);line-height:1.0;font-weight:800; }
.blog-hero p { max-width:640px;color:#a7f3d0;font-size:17px; }
.blog-search { display:grid;grid-template-columns:1fr auto;gap:10px;max-width:580px;margin-top:14px; }
.blog-featured { display:grid;align-content:end;gap:10px;padding:26px;background:linear-gradient(160deg,#fff,var(--brand-bg));transition:transform .22s var(--ease),box-shadow .22s var(--ease); }
.blog-featured:hover { transform:translateY(-4px);box-shadow:var(--shadow); }
.blog-featured span { color:var(--brand);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em; }
.blog-featured strong { font-size:24px;line-height:1.2;font-weight:700; }
.blog-featured p { color:var(--muted);font-size:14px; }
.blog-layout { display:grid;grid-template-columns:260px 1fr;gap:22px;padding-top:28px;padding-bottom:56px;align-items:start; }
.blog-sidebar { position:sticky;top:108px;display:grid;gap:6px;padding:16px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow-sm); }
.blog-sidebar h2 { margin:0 0 8px;font-size:15px;font-weight:700; }
.blog-sidebar a { display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;color:var(--text);font-weight:600;font-size:14px;transition:background .18s,color .18s; }
.blog-sidebar a.active,.blog-sidebar a:hover { background:var(--brand-bg);color:var(--brand); }
.blog-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px; }
.blog-grid.compact { grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); }
.blog-card { overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-xs);transition:transform .24s var(--ease),border-color .2s,box-shadow .24s var(--ease); }
.blog-card:hover { transform:translateY(-6px);border-color:rgba(20,184,166,.4);box-shadow:var(--shadow); }
.blog-card img { width:100%;aspect-ratio:16/10;object-fit:cover;background:var(--surface-2); }
.blog-card div { display:grid;align-content:start;gap:8px;padding:18px; }
.blog-card span { color:var(--brand);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.07em; }
.blog-card h2 { margin:0;font-size:20px;line-height:1.25;font-weight:700; }
.blog-card p { margin:0;color:var(--muted);font-size:14px;line-height:1.55; }
.blog-post { padding-top:40px;padding-bottom:56px; }
.blog-post header { max-width:860px;margin:0 auto 24px;text-align:center; }
.blog-post h1 { margin:10px 0;font-size:clamp(36px,6.5vw,68px);line-height:1.0;font-weight:800; }
.blog-post header p { color:var(--muted);font-size:18px; }
.blog-post-image { width:min(100%,1020px);max-height:500px;margin:0 auto 26px;object-fit:cover;border-radius:24px;box-shadow:var(--shadow-lg); }
.blog-content { max-width:820px;margin:0 auto;padding:30px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow-xs);color:var(--text);font-size:16px;line-height:1.82; }
.blog-content h2,.blog-content h3 { color:var(--ink);line-height:1.22;font-weight:700; }
.blog-content a { color:var(--brand);font-weight:600;text-decoration:underline;text-underline-offset:3px; }
.blog-tags { max-width:820px;margin:16px auto 0;display:flex;flex-wrap:wrap;gap:8px; }
.blog-tags a { padding:7px 13px;border:1px solid var(--line);border-radius:999px;background:var(--brand-bg);color:var(--brand);font-size:13px;font-weight:600;transition:background .18s,color .18s; }
.blog-tags a:hover { background:var(--brand);color:#fff; }
.blog-editor label:has(textarea[name="content"]),.blog-ai-form .title-queue,.blog-ai-form .prompt-box { grid-column:1/-1; }
.blog-ai-form .title-queue,.blog-ai-form .prompt-box { min-height:240px; }
.blog-ai-form code,.admin-card code { display:block;overflow-x:auto;padding:14px;border-radius:12px;background:#0f172a;color:#99f6e4;font-size:13px; }

/* FOOTER */
.site-footer { display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:28px;margin-top:44px;padding:48px max(20px,calc((100vw - var(--container)) / 2));background:linear-gradient(150deg,#060b14 0%,#0d1a18 50%,#0f2a28 100%);color:#fff; }
.site-footer p { color:#94a3b8;font-size:14px;line-height:1.7; }
.footer-brand { display:grid;justify-items:start;gap:12px; }
.footer-brand h3 { margin:0;font-size:18px;font-weight:700; }
.footer-links { display:grid;gap:8px;min-width:200px; }
.footer-links a { color:#cbd5e1;font-size:14px;font-weight:500;transition:color .18s;padding:2px 0; }
.footer-links a:hover { color:#a7f3d0; }
.anpc-links { display:grid;gap:10px;justify-items:end;align-content:start; }
.anpc-links img { width:240px;max-width:100%;padding:6px;border-radius:10px;background:transparent; }

/* COOKIE */
.cookie-banner { position:fixed;left:18px;right:18px;bottom:18px;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:760px;margin:0 auto;padding:14px 18px;border-radius:16px;background:#111827;color:#fff;box-shadow:var(--shadow-lg);font-size:14px; }
.cookie-banner a { color:#5eead4;text-decoration:underline; }

/* INSTALL */
.install-page,.admin-body { min-height:100vh; }
.install-page { background:var(--bg); }
.install-box { max-width:740px;margin:48px auto;padding:26px; }

/* ADMIN */
.admin-body { display:grid;grid-template-columns:256px 1fr;background:#0b1020;color:#e5eef7; }
.admin-sidebar { min-height:100vh;position:sticky;top:0;width:256px;padding:18px;background:linear-gradient(180deg,#060a16 0%,#090f1e 50%,#0c1525 100%);border-right:1px solid rgba(20,184,166,.12);overflow-y:auto; }
.admin-brand { padding:8px 10px 18px;border-bottom:1px solid rgba(148,163,184,.12);margin-bottom:14px; }
.admin-brand h2 { margin:0;background:linear-gradient(135deg,#34d399,#14b8a6,#5eead4);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-size:18px;font-weight:800;letter-spacing:-.02em; }
.admin-brand span,.admin-profile small,.admin-topbar p { color:#64748b;font-size:12px; }
.nav-group { display:grid;gap:4px;margin-bottom:14px; }
.nav-group > strong { padding:8px 10px 4px;color:#2dd4bf;font-size:11px;text-transform:uppercase;letter-spacing:.08em; }
.admin-sidebar a { display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 12px;border-radius:12px;color:#94a3b8;font-weight:600;font-size:13px;transition:background .18s,color .18s,transform .18s; }
.admin-sidebar a:hover,.admin-sidebar a.active { background:rgba(20,184,166,.14);color:#e2e8f0;transform:translateX(2px); }
.admin-sidebar em { min-width:22px;padding:2px 6px;border-radius:999px;background:#14b8a6;color:#042f2e;font-style:normal;font-size:11px;text-align:center;font-weight:700; }
.admin-main { width:100%;max-width:1440px;padding:0 26px 28px; }
.admin-topbar { position:sticky;top:0;z-index:20;display:grid;grid-template-columns:auto minmax(180px,1fr) minmax(240px,420px) auto auto auto;align-items:center;gap:12px;padding:16px 0;background:rgba(6,10,22,.92);backdrop-filter:blur(28px) saturate(160%);border-bottom:1px solid rgba(20,184,166,.1); }
.admin-topbar h1,.admin-topbar p { margin:0; }
.admin-topbar h1 { font-size:20px;font-weight:700;color:#f1f5f9; }
.admin-menu { display:none;width:40px;height:40px;border-radius:12px;border:1px solid rgba(148,163,184,.2);background:#111827;color:#fff; }
.admin-search input,.admin-body input,.admin-body textarea,.admin-body select { background:#1a2235;border-color:rgba(148,163,184,.18);color:#f1f5f9;min-height:40px; }
.admin-search input:focus,.admin-body input:focus,.admin-body textarea:focus,.admin-body select:focus { border-color:#14b8a6;box-shadow:0 0 0 3px rgba(20,184,166,.16); }
.admin-body .check input,.admin-body input[type="checkbox"] { width:auto; }
.admin-profile { padding:8px 12px;border:1px solid rgba(148,163,184,.16);border-radius:14px;background:#111827; }
.admin-profile span { display:block;font-weight:700;color:#f1f5f9; }
.admin-main h1,.admin-main h2 { color:#f1f5f9; }
.admin-form,.admin-card { grid-template-columns:repeat(2,minmax(250px,1fr));padding:24px;border:1px solid rgba(20,184,166,.14);border-radius:22px;background:linear-gradient(160deg,#111827,#0e1523);box-shadow:0 24px 64px rgba(0,0,0,.24); }
.admin-form label { color:#dbeafe;gap:6px; }
.admin-form h2 { color:#f1f5f9; }
.admin-form h2,.admin-form label:has(textarea),.admin-form .check,.admin-form button,.filter-picker { grid-column:1/-1; }
.admin-form.compact { grid-template-columns:1fr;max-width:760px; }
.stats,.admin-split { display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px; }
.stat { position:relative;overflow:hidden;padding:20px;border:1px solid rgba(20,184,166,.14);border-radius:20px;background:linear-gradient(145deg,#111827,#0d1520);transition:transform .22s var(--ease),border-color .2s,box-shadow .22s; }
.stat::after { content:"";position:absolute;right:-24px;bottom:-30px;width:90px;height:90px;border-radius:999px;background:rgba(45,212,191,.07); }
.stat:hover,.admin-card:hover { border-color:rgba(45,212,191,.32);transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,0,0,.28); }
.stat span { color:#5eead4;font-weight:700;font-size:13px; }
.stat strong { display:block;margin-top:6px;font-size:28px;font-weight:800;color:#f1f5f9; }
.stat small { color:#64748b;font-size:12px; }
.admin-body .table { background:#111827;color:#e5eef7;border-radius:16px; }
.admin-body .table th { color:#5eead4;font-size:11px;text-transform:uppercase;letter-spacing:.06em;background:#0f172a; }
.admin-body .table td { color:#dbeafe;border-color:rgba(148,163,184,.1); }
.table.modern tr:hover td { background:rgba(20,184,166,.05); }
.table.compact th,.table.compact td { padding:10px; }
.badge { display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:2px 9px;border-radius:999px;background:#334155;color:#e2e8f0;font-size:11px;font-weight:700;letter-spacing:.02em; }
.badge.ok,.status-completed,.status-paid { background:rgba(16,185,129,.18);color:#6ee7b7; }
.badge.danger,.status-cancelled,.status-failed { background:rgba(244,63,94,.18);color:#fda4af; }
.badge.muted { background:rgba(148,163,184,.14);color:#94a3b8; }
.status-new,.status-pending { background:rgba(251,191,36,.18);color:#fde68a; }
.status-processing { background:rgba(59,130,246,.18);color:#93c5fd; }
.tab-nav { grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;padding:8px;border:1px solid rgba(148,163,184,.12);border-radius:16px;background:#0f172a; }
.tab-nav button { border:0;border-radius:999px;padding:9px 14px;background:transparent;color:#94a3b8;font-weight:700;font-size:13px;cursor:pointer;transition:background .18s,color .18s,transform .18s; }
.tab-nav button.active { background:#14b8a6;color:#042f2e; }
.tab-nav button:hover:not(.active) { background:rgba(148,163,184,.1);transform:translateY(-1px); }
.tab-panel { grid-column:1/-1;display:none;grid-template-columns:repeat(2,minmax(210px,1fr));gap:14px; }
.tab-panel.active { display:grid; }
.tab-panel label:has(textarea),.tab-panel .filter-picker { grid-column:1/-1; }
.form-sticky-actions { grid-column:1/-1;position:sticky;bottom:16px;display:flex;justify-content:flex-end;padding:12px;border-radius:999px;background:rgba(11,16,32,.78);backdrop-filter:blur(14px); }
.timeline { display:grid;gap:10px; }
.timeline div { padding:12px 14px;border-left:3px solid #14b8a6;background:#0f172a;border-radius:0 14px 14px 0; }
.timeline span { display:block;color:#64748b;font-size:12px; }
.media-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px; }
.media-grid article { display:grid;gap:8px;padding:10px;border:1px solid rgba(148,163,184,.12);border-radius:14px;background:#0f172a; }
.media-grid img { width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;background:#1a2235; }
.gallery-admin-list { grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px; }
.gallery-admin-list h2 { grid-column:1/-1; }
.gallery-admin-list article { display:grid;gap:10px;padding:12px;border:1px solid rgba(148,163,184,.12);border-radius:14px;background:#0f172a; }
.gallery-admin-list img { width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;background:#1a2235; }
.spec-admin-row { display:grid;grid-template-columns:minmax(150px,.7fr) 1fr auto;gap:10px;margin-bottom:10px; }
.variant-admin-row { display:grid;grid-template-columns:repeat(6,minmax(105px,1fr)) auto;gap:8px;align-items:center; }
.home-editor { display:grid;gap:10px; }
.home-editor div { display:grid;grid-template-columns:32px 130px 1fr 100px auto;gap:10px;align-items:center;padding:12px;border:1px solid rgba(148,163,184,.12);border-radius:14px;background:#0f172a; }
.drag-handle { cursor:grab;color:#2dd4bf;font-weight:700; }
.dragging { opacity:.5; }
.admin-product-preview { grid-column:1/-1;padding:18px;border:1px solid rgba(20,184,166,.22);border-radius:18px;background:linear-gradient(135deg,rgba(20,184,166,.12),rgba(11,16,32,.9)); }
.admin-product-preview span { color:#5eead4;font-weight:700; }
.admin-product-preview h3 { margin:8px 0;color:#fff; }
.admin-product-preview p { color:#94a3b8; }
.export-bar { display:grid;grid-template-columns:1fr repeat(2,minmax(170px,210px)) auto;align-items:end;gap:12px;margin-bottom:16px; }
.todo-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:12px; }
.todo-grid a { padding:16px;border-radius:14px;background:#0f172a;border:1px solid rgba(148,163,184,.12);display:block; }
.todo-grid strong { display:block;color:#5eead4;font-size:24px;font-weight:800; }
.todo-grid span { color:#94a3b8;font-size:13px; }
.notification-list { display:grid;gap:8px; }
.notification-list a { display:grid;gap:4px;padding:12px;border:1px solid rgba(148,163,184,.12);border-radius:12px;background:#0f172a; }
.notification-list strong { color:#5eead4;font-size:14px; }
.notification-list span { color:#e2e8f0;font-size:13px; }
.notification-list small { color:#64748b;font-size:12px; }
.hero-banner-editor { grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px; }
.hero-banner-editor article { display:grid;gap:12px;padding:14px;border:1px solid rgba(148,163,184,.12);border-radius:14px;background:#0f172a; }
.hero-banner-editor img { width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;background:#1a2235; }
.chart-bars { height:250px;display:flex;align-items:end;gap:10px;padding-top:18px; }
.chart-bars div { flex:1;min-width:28px;display:grid;align-items:end;gap:6px;text-align:center;color:#64748b;font-size:11px; }
.chart-bars span { height:var(--h);min-height:8px;border-radius:10px 10px 4px 4px;background:linear-gradient(180deg,#2dd4bf,#0f766e);box-shadow:0 8px 24px rgba(20,184,166,.16); }
.chart-bars em { font-style:normal;color:#94a3b8;writing-mode:vertical-rl;justify-self:center;max-height:86px;overflow:hidden;font-size:11px; }
.status-chart { display:grid;gap:10px; }
.status-chart div,.table-toolbar,.bulk-bar { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.table-toolbar,.bulk-bar { margin:0 0 12px; }
.table-toolbar form { max-width:340px;flex:1; }
.bulk-bar { flex-wrap:wrap;padding:14px;border:1px solid rgba(148,163,184,.14);border-radius:16px;background:#111827; }
.bulk-bar select,.bulk-bar input { max-width:210px; }
.admin-body .filter-picker,.admin-body .filter-group { background:#f8fafc;color:#111827; }
.admin-body .filter-picker h2,.admin-body .filter-group strong { color:#111827; }
.admin-body .filter-picker label,.admin-body .filter-group label { color:#344054; }
.dashboard-grid,.order-detail { display:grid;grid-template-columns:repeat(2,minmax(270px,1fr));gap:16px;margin:18px 0; }
.admin-card { display:block; }
.admin-quick-actions { display:flex;flex-wrap:wrap;gap:12px;margin:14px 0 4px; }
.courier-inline { display:flex;flex-wrap:wrap;align-items:end;gap:10px; }
.courier-inline label { min-width:160px; }

/* RESPONSIVE TABLET */
@media (max-width:960px) {
    .site-header,.home-hero,.shop-layout,.product-page,.cart-page,.checkout-page,.site-footer,.admin-body,.account-hero,.account-layout,.contact-page,.blog-hero,.blog-layout { grid-template-columns:1fr; }
    .site-header { width:min(100% - 24px,var(--container)); }
    .site-header nav { justify-content:flex-start;flex-wrap:wrap; }
    /* Comutare hero-cats: pe mobil ascundem versiunea desktop si afisam cea mobile (cu ordine marquee) */
    .hero-cats-desktop { display: none !important; }
    .hero-cats-mobile { display: block !important; }
    /* Pe mobil categoriile sunt deja vizibile in marquee-ul de sus — ascundem sectiunea duplicata de jos */
    .category-showcase { display: none !important; }
    .hero-cats { height:250px; }
    .hero-stage { min-height:400px; }
    .trust-band { grid-template-columns:repeat(2,1fr); }
    .benefit-bar { grid-template-columns:repeat(2,1fr);border-radius:16px; }
    .benefit-bar span + span { border-left:0; }
    .mobile-filter-toggle { display:inline-flex;justify-content:center; }
    .filters { position:static;display:none; }
    .filters.open { display:block; }
    .account-card { position:static; }
    .buy-box,.cart-summary,.checkout-summary { position:static; }
    .blog-sidebar { position:static; }
    .buy-benefits,.account-stats,.account-tools,.order-highlight,.why-grid,.todo-grid,.export-bar { grid-template-columns:1fr; }
    .admin-sidebar { position:fixed;inset:0 auto 0 0;z-index:60;transform:translateX(-110%);transition:transform .22s var(--ease); }
    .admin-nav-open .admin-sidebar { transform:translateX(0); }
    .admin-main { padding:0 16px 24px; }
    .admin-topbar { grid-template-columns:auto 1fr; }
    .admin-topbar .admin-search,.admin-profile,.admin-topbar > .btn { grid-column:1/-1; }
    .admin-menu { display:inline-grid;place-items:center; }
    .admin-form { grid-template-columns:1fr; }
    .dashboard-grid,.order-detail,.tab-panel.active { grid-template-columns:1fr; }
    .home-editor div { grid-template-columns:1fr; }
    .mega-dropdown { position:relative; }
    .mega-dropdown .mega-menu { left:0;width:min(90vw,500px);transform:none;grid-template-columns:1fr; }
    .mega-dropdown:hover .mega-menu,.mega-dropdown:focus-within .mega-menu { animation:menu-in .15s var(--ease); }
    .mega-cats { grid-template-columns:1fr; }
    .premium-product,.checkout-page,.cart-page { grid-template-columns:1fr; }
    .premium-product .gallery { position:static; }
    .checkout-main.panel { padding:22px; }
    .editorial-feature { border-radius:0; }
    .smart-stock,.buy-benefits { grid-template-columns:repeat(2,1fr); }
    .review-form { grid-template-columns:1fr; }
}

/* RESPONSIVE MOBIL */
/* ============================================================
   MOBIL 620px  STIL eMARKETPLACE (inspirat din referinta)
   ============================================================ */
@media (max-width: 620px) {

    /*  Layout de baza  */
    body {
        padding-bottom: 72px;
        background: #f5f5f5;
        font-size: 14px;
    }

    /*  HEADER  bara top alba pe fond albastru  */
    .site-header {
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 50;
        width: 100%;
        margin: 0;
        padding: 10px 12px 10px;
        grid-template-columns: 1fr auto;
        gap: 10px;
        align-items: center;
        background: #1565c0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 2px 8px rgba(0,0,0,.18);
        backdrop-filter: none;
    }

    /* Brand ascuns  search preia tot spatiul */
    .brand { display: none; }

    /* Search bar  alb, pill, cu icon */
    .search {
        order: 0;
        grid-column: 1 / 2;
        position: relative;
    }
    .search input {
        min-height: 42px;
        padding: 0 44px 0 40px;
        border: 0;
        border-radius: 8px;
        background: rgba(255,255,255,.97);
        box-shadow: none;
        font-size: 14px;
        font-weight: 400;
        color: #333;
        caret-color: #1565c0;
    }
    .search input::placeholder { color: #999; font-weight: 400; }
    /* Icon lupa CSS */
    .search::before {
        content: "";
        position: absolute;
        left: 13px; top: 50%;
        width: 15px; height: 15px;
        border: 2.5px solid #888;
        border-radius: 999px;
        transform: translateY(-52%);
        z-index: 2;
        pointer-events: none;
    }
    .search::after {
        content: "";
        position: absolute;
        left: 26px; top: calc(50% + 4px);
        width: 6px; height: 2.5px;
        background: #888;
        border-radius: 2px;
        transform: rotate(45deg);
        z-index: 2;
        pointer-events: none;
    }
    .search:focus-within::before { border-color: #1565c0; }
    .search:focus-within::after  { background: #1565c0; }
    .suggestions { top: 50px; border-radius: 10px; border-top-left-radius: 0; border-top-right-radius: 0; }

    /* Clopotel notificari (buton mobil) */
    .mobile-menu-btn {
        display: grid;
        place-items: center;
        width: 40px; height: 40px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        box-shadow: none;
    }
    .mobile-menu-btn span {
        display: none;
    }
    /* Icon clopotel CSS */
    .mobile-menu-btn::before {
        content: "";
        font-size: 20px;
        display: block;
        filter: brightness(10);
    }

    /* Nav expandabil */
    .site-header nav {
        grid-column: 1 / -1;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        background: #fff;
        border-radius: 0 0 12px 12px;
        transition: max-height .3s ease, padding .3s ease;
    }
    .site-menu-open .site-header nav {
        max-height: 420px;
        padding: 8px 12px 12px;
    }
    .site-header nav a, .nav-drop-btn {
        width: 100%;
        flex: none;
        justify-content: flex-start;
        border: 0;
        border-bottom: 1px solid #f0f0f0;
        background: transparent;
        border-radius: 0;
        padding: 12px 4px;
        color: #333;
        font-size: 14px;
    }
    .site-header nav a:last-child { border-bottom: 0; }

    /* Spatiu pentru header fix */
    main { padding-top: 62px; }

    /* Benefit bar  ascuns pe mobil */
    .benefit-bar { display: none; }

    /*  HOME HERO  banner colorat in stil marketplace  */
    .home-hero {
        margin-top: 0;
        padding: 0;
        gap: 0;
        display: block;
    }

    /* Hero stage  banner albastru cu text stanga, imagine dreapta */
    .hero-stage {
        order: 1;
        min-height: 130px;
        width: 100%;
        border: 0;
        border-radius: 0;
        padding: 16px 16px 16px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: linear-gradient(135deg, #1565c0 0%, #1976d2 60%, #1e88e5 100%);
        box-shadow: none;
        position: relative;
        overflow: hidden;
    }
    /* Forma decorativa fundal */
    .hero-stage::after {
        content: "";
        position: absolute;
        right: -30px; top: -30px;
        width: 160px; height: 160px;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
    }
    .hero-stage::before { display: none; }

    /* Continut text hero */
    .hero-content {
        max-width: 58%;
        z-index: 2;
        position: relative;
    }
    .hero-content > span {
        display: none;
    }
    .hero-content h1 {
        font-size: 18px;
        line-height: 1.25;
        font-weight: 800;
        color: #fff;
        margin: 0 0 8px;
        letter-spacing: -0.01em;
    }
    .hero-content p {
        font-size: 12px;
        color: rgba(255,255,255,.82);
        margin: 0 0 12px;
        line-height: 1.45;
    }
    .hero-content .btn {
        min-height: 30px;
        padding: 0 14px;
        font-size: 13px;
        font-weight: 700;
        border-radius: 6px;
        background: #e53935;
        color: #fff;
        border: 0;
        box-shadow: 0 3px 8px rgba(229,57,53,.4);
    }
    .hero-content .btn.primary {
        background: #e53935;
        box-shadow: 0 3px 8px rgba(229,57,53,.4);
        border: 0;
    }
    .hero-content .btn.glass { display: none; }
    .actions { gap: 8px; }
    .hero-proof { display: none; }
    .hero-slides span { opacity: .12; }

    /* Dots paginare banner */
    .hero-dots {
        position: absolute;
        bottom: 10px; left: 50%;
        transform: translateX(-50%);
        display: flex; gap: 5px; z-index: 3;
    }
    .hero-dots span {
        width: 6px; height: 6px;
        border-radius: 999px;
        background: rgba(255,255,255,.5);
    }
    .hero-dots span.active {
        width: 18px;
        background: #fff;
    }

    /*  GRID CATEGORII  2 coloane cu iconuri colorate  */
    .hero-cats {
        order: 2;
        height: auto;
        margin: 0;
        padding: 12px 12px 4px;
        border: 0;
        border-radius: 0;
        background: #fff;
        box-shadow: 0 1px 0 rgba(0,0,0,.06);
        overflow: visible;
    }
    .hero-cats h2 { display: none; }
    .hero-cats > div {
        height: auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        padding: 0;
        overflow: visible;
        scroll-snap-type: none;
    }
    .hero-cats a {
        flex: none;
        width: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 10px 4px 12px;
        border: 0;
        border-radius: 10px;
        background: transparent;
        box-shadow: none;
        scroll-snap-align: none;
        text-align: center;
        transition: background .15s;
    }
    .hero-cats a:active { background: #f0f4ff; }
    .hero-cats img {
        width: 52px; height: 52px;
        border-radius: 14px;
        object-fit: cover;
    }
    .hero-cats span {
        color: #333;
        font-size: 11px;
        line-height: 1.3;
        font-weight: 500;
    }

    /*  SECTIUNI PRINCIPALE  */
    .section {
        padding: 16px 12px 8px;
        background: #fff;
        margin-top: 8px;
        border-radius: 0;
    }
    .section.alt {
        max-width: none;
        padding: 16px 12px 8px;
        background: #fff;
    }
    .section-head {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 14px;
        gap: 8px;
    }
    .section-head h1, .section-head h2 {
        font-size: 16px;
        font-weight: 700;
        color: #111;
        letter-spacing: -0.01em;
    }
    .section-head a {
        font-size: 13px;
        color: #1565c0;
        font-weight: 600;
        white-space: nowrap;
    }
    .section-head > div { display: flex; flex-direction: column; gap: 0; }

    /* Trust band  ascuns */
    .trust-band { display: none; }

    /*  PRODUCT GRID  carduri in stil marketplace  */
    .section .product-grid, .carousel-track {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        overflow: visible;
        width: auto;
        animation: none;
        padding: 0 0 4px;
        scroll-snap-type: none;
    }
    .section .product-grid::-webkit-scrollbar,
    .carousel-track::-webkit-scrollbar { display: none; }

    .section .product-card, .carousel-track .product-card {
        flex: none;
        width: 100%;
        border-radius: 10px;
        scroll-snap-align: none;
        border: 1px solid #eee;
        box-shadow: none;
    }
    .section .product-card:hover,
    .carousel-track .product-card:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0,0,0,.08);
    }
    .product-card::after { display: none; }

    .product-card img {
        aspect-ratio: 1 / 1;
        border-radius: 10px 10px 0 0;
    }
    .product-card h3 {
        min-height: auto;
        margin: 8px 10px 4px;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.35;
        color: #333;
        /* 2 linii max */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-card p { display: none; }

    .rating {
        padding-left: 10px; padding-right: 10px;
        font-size: 12px;
        color: #f5a623;
    }
    .rating small { color: #999; font-size: 11px; }

    .stock-line { padding-left: 10px; padding-right: 10px; }

    .card-row {
        padding: 6px 10px 4px;
        align-items: center;
    }
    .card-row strong {
        font-size: 16px;
        font-weight: 800;
        color: #1565c0;
    }
    .card-row del { font-size: 11px; color: #999; }

    .discount-badge {
        background: #e53935;
        font-size: 10px;
        font-weight: 700;
        border-radius: 4px;
        padding: 2px 6px;
    }
    .top-badge {
        background: #333;
        font-size: 10px;
        border-radius: 4px;
        padding: 2px 6px;
    }

    /* Buton add to cart  plin, albastru */
    .card-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 6px 10px 10px;
    }
    .card-actions .btn {
        min-height: 34px;
        font-size: 13px;
        font-weight: 700;
        border-radius: 6px;
        background: #1565c0;
        color: #fff;
        border: 0;
        box-shadow: none;
    }
    .card-actions .btn:hover { background: #1976d2; transform: none; }
    .card-actions .btn.ghost { display: none; }

    .delivery-chip {
        margin: 0 10px 6px;
        padding: 4px 8px;
        font-size: 11px;
        background: #e8f5e9;
        color: #388e3c;
        border-radius: 4px;
        font-weight: 600;
    }

    .heart-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #e11d48;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: transform .2s, color .15s;
}

    /*  PROMO BANNERS  */
    .promo-banners {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        margin-top: 8px;
        padding: 0 12px 8px;
        scroll-snap-type: x mandatory;
    }
    .promo-banners a {
        flex: 0 0 88%;
        min-height: 120px;
        border-radius: 10px;
        scroll-snap-align: start;
    }

    /*  EDITORIAL / WHY BUY  */
    .editorial-section { padding-top: 16px; }
    .editorial-feature {
        margin-top: 8px;
        padding: 16px 12px;
        border-radius: 0;
        border: 0;
        border-top: 6px solid #f5f5f5;
        background: #fff;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .why-grid div {
        border-radius: 0;
        border: 0;
        border-bottom: 1px solid #f0f0f0;
        padding: 14px 0;
        box-shadow: none;
    }
    .why-grid div:last-child { border-bottom: 0; }
    .why-grid div:hover { transform: none; box-shadow: none; }

    /*  REVIEWS  */
    .reviews-home .review-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .reviews-home article {
        padding: 14px;
        border-radius: 10px;
        box-shadow: none;
        border: 1px solid #eee;
    }
    .reviews-home article::before { display: none; }
    .reviews-home article:hover { transform: none; box-shadow: none; }

    /*  CTA  */
    .cta {
        margin: 8px 0 0;
        padding: 20px 16px;
        border-radius: 0;
        border: 0;
        border-top: 6px solid #f5f5f5;
    }
    .cta h2 { font-size: 20px; }
    .cta .actions { flex-direction: column; }
    .cta .btn.glass { display: none; }

    /*  PRODUCT PAGE  */
    .product-page { padding-bottom: 80px; padding-top: 16px; }
    .buy-box .actions { grid-template-columns: 1fr; }
    .product-tab-nav { overflow-x: auto; justify-content: flex-start; border-radius: 0; }
    .product-tab-nav button { flex: 0 0 auto; }
    .product-tab-panel { padding: 16px 12px; }
    .smart-stock, .buy-benefits { grid-template-columns: 1fr; }

    /*  CHECKOUT  */
    .checkout-main.panel { padding: 16px 12px; }
    .checkout-steps span { min-height: 36px; font-size: 12px; }

    /*  CART  */
    .cart-item { grid-template-columns: 72px 1fr; }
    .cart-item label, .cart-item strong { grid-column: 1 / -1; }
    .card-actions, .coupon-row { grid-template-columns: 1fr; }

    /*  BLOG  */
    .blog-search { grid-template-columns: 1fr; }
    .blog-hero > div { min-height: 260px; }
    .blog-content { padding: 16px; }
    .spec-list { grid-template-columns: 1fr; }
    .review-form { grid-template-columns: 1fr; }

    /*  ADMIN  */
    .admin-topbar { position: relative; }

    /*  FOOTER  ascuns pe mobil  */
    .site-footer { display: none; }

    /*  MISC  */
    .products-toolbar { align-items: flex-start; flex-direction: column; }
    .table { display: block; overflow-x: auto; }
    .cookie-banner { flex-direction: column; align-items: stretch; border-radius: 12px 12px 0 0; left: 0; right: 0; bottom: 0; }
    .mobile-buy-bar { display: flex; }
    .order-steps { flex-wrap: wrap; }
    .anpc-links { justify-items: start; }

    /*  BOTTOM NAVIGATION  stil tab bar marketplace  */
    .mobile-bottom-nav {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 90;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        padding: 0;
        border: 0;
        border-top: 1px solid #e8e8e8;
        border-radius: 0;
        background: #fff;
        box-shadow: 0 -2px 12px rgba(0,0,0,.08);
        backdrop-filter: none;
    }
    .mobile-bottom-nav a {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-height: 56px;
        border-radius: 0;
        color: #757575;
        font-size: 10px;
        font-weight: 600;
        transition: color .15s;
        padding: 8px 4px 6px;
    }
    .mobile-bottom-nav a.active {
        color: #1565c0;
        background: transparent;
    }
    .mobile-bottom-nav a.active::after {
        content: "";
        position: absolute;
        top: 0; left: 20%; right: 20%;
        height: 2px;
        background: #1565c0;
        border-radius: 0 0 3px 3px;
    }
    .mobile-bottom-nav em {
        position: absolute;
        top: 6px; right: calc(50% - 18px);
        display: grid;
        place-items: center;
        min-width: 17px; height: 17px;
        padding: 0 4px;
        border-radius: 999px;
        background: #e53935;
        color: #fff;
        font-size: 10px;
        font-style: normal;
        font-weight: 700;
    }

    /* Iconuri bottom nav  redesenate */
    .bottom-ico { position: relative; width: 22px; height: 22px; display: block; }

    /* Home */
    .bottom-home::before { content: ""; position: absolute; left: 3px; top: 9px; width: 16px; height: 11px; border: 2px solid currentColor; border-top: 0; border-radius: 3px; }
    .bottom-home::after  { content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); border-radius: 2px; }

    /* Heart/Favorite */
    .bottom-heart::before { content: ""; position: absolute; inset: -8px 0 0; font-size: 32px; line-height: 1; }

    /* Cart */
    .bottom-cart::before { content: ""; position: absolute; left: 2px; top: 8px; width: 18px; height: 11px; border: 2px solid currentColor; border-radius: 3px; }
    .bottom-cart::after  { content: ""; position: absolute; left: 6px; bottom: 0; width: 4px; height: 4px; border-radius: 999px; background: currentColor; box-shadow: 8px 0 0 currentColor; }

    /* User */
    .bottom-user::before { content: ""; position: absolute; left: 7px; top: 2px; width: 8px; height: 8px; border: 2px solid currentColor; border-radius: 999px; }
    .bottom-user::after  { content: ""; position: absolute; left: 2px; bottom: 1px; width: 18px; height: 10px; border: 2px solid currentColor; border-radius: 999px 999px 5px 5px; }

    /*  FAB Contact  ascuns, nu mai e nevoie  */
    .mobile-ai-fab { display: none; }

    /* Padding general sectiuni */
    .home-hero, .section, .cta, .panel, .shop-layout, .product-page,
    .cart-page, .checkout-page, .account-hero, .account-layout,
    .trust-band, .promo-banners, .category-showcase, .shop-hero,
    .shop-categories, .blog-hero, .blog-layout, .blog-post {
        padding-left: 12px;
        padding-right: 12px;
    }
    .hero-stage, .shop-hero > div { padding: 16px; }

    /* Shop hero */
    .shop-hero { padding-top: 8px; padding-bottom: 4px; }
    .shop-hero > div { min-height: 130px; border-radius: 10px; }
    .shop-hero h1 { font-size: 24px; }

    /* Shop categories strip */
    .shop-categories {
        gap: 6px;
        padding: 8px 12px 12px;
    }
    .shop-categories a {
        padding: 7px 14px;
        font-size: 12px;
        border-radius: 6px;
    }
}

/* WILL-CHANGE */
.btn,.product-card,.panel,.admin-card,.account-tools a { will-change:transform; }

/* ============================================================
   DETALII PREMIUM SUPLIMENTARE
   ============================================================ */

/* Focus vizibil  accesibilitate + aspect curat */
:focus-visible {
    outline: 2.5px solid var(--brand-2);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Selectie text cu culoare brand */
::selection { background: rgba(20,184,166,.22); color: var(--ink); }

/* Scrollbar discreta global */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong, #cbd5e1); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-2); }

/* Separatoare subtile intre sectiuni mari */
.section + .section::before,
.editorial-section::before {
    content: none;
}

/* Animatie de intrare pentru card-uri la scroll (clasa adaugata de JS) */
@media (prefers-reduced-motion: no-preference) {
    .fade-up {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity .48s var(--ease-out), transform .48s var(--ease);
    }
    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Eticheta hero mai proeminenta */
.hero-content > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #a7f3d0;
    margin-bottom: 4px;
}

/* Hero stage  linie de lumina subtila la baza */
.hero-stage::before {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20,184,166,.5), transparent);
    z-index: 3;
}

/* Product card  linie accent la hover */
.product-card::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    opacity: 0;
    transition: opacity .25s var(--ease-out);
    border-radius: 0 0 18px 18px;
}
.product-card:hover::after { opacity: 1; }

/* Buton primary  shimmer subtil */
@keyframes btn-shimmer {
    from { background-position: -200% center; }
    to   { background-position: 200% center; }
}
.btn.primary {
    background-size: 200% auto;
    background-image: linear-gradient(135deg, #0d6b64 0%, var(--brand) 40%, var(--brand-2) 60%, var(--brand) 80%, #0d6b64 100%);
}
.btn.primary:hover {
    animation: btn-shimmer 1.6s linear infinite;
}

/* Testimonial cards  avatar initials - DEZACTIVAT (v16) - apar deja in review-author-row */
.reviews-home article::before,
.reviews-section article::before {
    content: none !important;
    display: none !important;
}

/* Section head  eyebrow mai definit */
.eyebrow {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--brand-bg);
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 6px;
}

/* Input search  icon de cautare CSS */
.search { position: relative; }
.search input { padding-left: 44px; }
.search::before {
    content: "";
    position: absolute;
    left: 16px; top: 50%;
    width: 14px; height: 14px;
    border: 2px solid var(--muted);
    border-radius: 999px;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    transition: border-color .18s;
}
.search:focus-within::before { border-color: var(--brand-2); }
.search::after {
    content: "";
    position: absolute;
    left: 28px; top: calc(50% + 5px);
    width: 7px; height: 2px;
    background: var(--muted);
    border-radius: 2px;
    transform: rotate(45deg);
    z-index: 1;
    pointer-events: none;
    transition: background .18s;
}
.search:focus-within::after { background: var(--brand-2); }

/* Benefit bar  highlight la hover pe fiecare item */
.benefit-bar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .18s;
    cursor: default;
}
.benefit-bar span:hover { color: var(--brand); }

/* CTA section  separator vizual */
.cta { border: 1px solid rgba(255,255,255,.06); }

/* Blog card  overlay gradient pe imagine */
.blog-card img { transition: transform .35s var(--ease); }
.blog-card:hover img { transform: scale(1.03); }

/* Auth form  card mai elegant */
.auth-panel.panel {
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.auth-panel h1 { letter-spacing: -0.03em; }

/* Checkout steps  animatie progres */
.checkout-steps span.done {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    border-color: transparent;
}

/* Table hover row */
.table tbody tr:hover td { background: rgba(240,253,250,.6); transition: background .15s; }

/* Footer  link-uri cu sageata la hover */
.footer-links a::after {
    content: " ";
    opacity: 0;
    transition: opacity .18s;
}
.footer-links a:hover::after { opacity: 1; }

/* Pagination  curent mai vizibil */
.pagination a.active {
    box-shadow: var(--shadow-brand);
}

/* Variantele produsului  selected state */
.variant-list span.selected,
.variant-list span:has(input:checked) {
    border-color: var(--brand);
    background: var(--brand-bg);
    color: var(--brand);
    font-weight: 700;
}

/* Cookie banner  border subtil */
.cookie-banner { border: 1px solid rgba(255,255,255,.06); }

/* Back-to-top smooth */
html { scroll-behavior: smooth; }

/* Reduce motion  respecta preferintele utilizatorului */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .carousel-track { animation: none; }
    .tag-marquee div { animation: none; }
}

/* Print  ascunde navigatia */
@media print {
    .site-header, .site-footer, .mobile-bottom-nav,
    .mobile-ai-fab, .cookie-banner, .mini-cart { display: none !important; }
    body { background: #fff; color: #000; }
}

/*  DOTS hero banner  */
@media (max-width: 620px) {
    .hero-dots {
        position: absolute;
        bottom: 10px;
        left: 0; right: 0;
        display: flex;
        justify-content: center;
        gap: 5px;
        z-index: 3;
        pointer-events: none;
    }
    .hero-dots span {
        width: 6px; height: 6px;
        border-radius: 999px;
        background: rgba(255,255,255,.45);
        transition: width .3s ease, background .3s ease;
        display: block;
    }
    .hero-dots span.active {
        width: 18px;
        background: #fff;
    }

    /* Separator vizual intre sectiuni */
    .section + .section,
    .section.alt,
    .best-sellers,
    .reviews-home,
    .editorial-section {
        border-top: 6px solid #f5f5f5;
    }

    /* Genius badge / promo badge pe card */
    .discount-badge {
        border-radius: 3px;
        font-size: 10px;
        padding: 2px 5px;
        letter-spacing: 0;
    }

    /* Stele rating galben-portocaliu */
    .rating { color: #f57c00; }

    /* Price albastru marketplace */
    .price { color: #1565c0; font-size: 22px; }
    .price del { color: #999; }

    /* Panel compact pe mobil */
    .panel { padding: 16px 14px; border-radius: 10px; margin-top: 8px; }

    /* Input-uri mai curate */
    input, textarea, select {
        border-radius: 8px;
        font-size: 14px;
    }

    /* Buton primary albastru pe mobil */
    .btn.primary {
        background: #1565c0;
        background-image: none;
        box-shadow: 0 3px 8px rgba(21,101,192,.3);
        animation: none;
    }
    .btn.primary:hover { background: #1976d2; animation: none; box-shadow: 0 4px 12px rgba(21,101,192,.35); }

    /* Checkout submit */
    .checkout-submit { background: #1565c0; background-image: none; }

    /* Card actions buton */
    .card-actions .btn.primary { background: #1565c0; background-image: none; }

    /* Product card price */
    .card-row strong { color: #1565c0; }

    /* Search input placeholder specific */
    .search input::placeholder {
        color: #aaa;
        font-size: 14px;
    }

    /* Categorii  prima vizibila e "Toate" */
    .hero-cats a:first-child span { font-weight: 700; color: #1565c0; }

    /* Eyebrow pe mobil */
    .eyebrow {
        background: rgba(21,101,192,.1);
        color: #1565c0;
        font-size: 10px;
    }

    /* Section-head eyebrow + titlu */
    .section-head > div > .eyebrow { margin-bottom: 2px; }
    .section-head > div > h2 { margin: 0; }
}

/* Back to top + scroll arrow */
@keyframes bounce-down { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }
#back-to-top { transition: opacity .3s, transform .2s; }
#back-to-top:hover { transform: scale(1.1) !important; }

/* Heart button - empty vs full */
.heart-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #e11d48;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: transform .2s, color .15s;
}
.heart-btn.is-favorite { background: #e11d48 !important; color: #fff !important; }

/* Checkbox center fix */
input[type=checkbox] { vertical-align: middle; position: relative; top: -1px; }
.check { display: flex; align-items: center; gap: 8px; }
.check input[type=checkbox] { flex-shrink: 0; top: 0; }

/* Heart langa pret in pagina produsului */
.prod-fav-heart {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 50% !important;
  color: #94a3b8 !important;
  font-size: 22px !important;
  background: #fff !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  transition: all .2s !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.prod-fav-heart:hover,
.prod-fav-heart.is-favorite {
  border-color: #e11d48 !important;
  color: #e11d48 !important;
}

/* Product badge/label */
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  background: #dc2626;
  color: #fff;
  box-shadow: 0 2px 6px rgba(220,38,38,.35);
  pointer-events: none;
}

/* Badge general */
.product-badge {
    position: absolute;
    z-index: 4;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2px;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    pointer-events: none;
    line-height: 1.4;
}

/* Stanga sus - langa/sub discount */
.badge-tl { top: 10px; left: 10px; background: #dc2626; }

/* Dreapta sus */
.badge-tr { right: 10px; }
.badge-tr1 { top: 10px; }
.badge-tr2 { top: 32px; }

/* Stanga jos */
.badge-bl { left: 10px; }
.badge-bl1 { bottom: 10px; }
.badge-bl2 { bottom: 32px; }

/* Discount badge ramanea in stanga sus */
.card-badges .discount-badge {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 4;
}
/* Daca exista badge_label, discount se muta mai jos */
.card-badges .badge-tl ~ .discount-badge,
/* badge-tl + discount handled by has-badge-label class */

/* === SISTEM 5 BADGE-URI PE CARD PRODUS === */
.product-card { position: relative; }

/* Badge general */
.product-badge {
    position: absolute;
    z-index: 4;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2px;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    pointer-events: none;
    line-height: 1.5;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Stanga sus: badge_label custom */
.badge-tl {
    top: 10px;
    left: 10px;
    background: #dc2626;
}

/* Dreapta sus: badge_tr1 (sus) si badge_tr2 (sub el) */
.badge-tr1 {
    top: 10px;
    right: 10px;
    left: auto;
}
.badge-tr2 {
    top: 34px;
    right: 10px;
    left: auto;
}

/* Stanga jos: badge_bl1 (sus) si badge_bl2 (sub el) */
.badge-bl1 {
    bottom: 34px;
    left: 10px;
    right: auto;
}
.badge-bl2 {
    bottom: 10px;
    left: 10px;
    right: auto;
}

/* Discount badge - STANGA SUS, sub badge_label daca exista */
.card-badges .discount-badge {
    position: absolute !important;
    top: 10px;
    left: 10px;
    z-index: 4;
    background: #dc2626 !important;
}
/* Daca exista badge_label, discount-ul se muta jos */
.product-card.has-badge-label .card-badges .discount-badge,
.has-badge-label .card-badges .discount-badge {
    top: 34px !important;
}

/* ═══════════════════════════════════════════════════════════
   ACCOUNT PAGE MODERN
═══════════════════════════════════════════════════════════ */
.acc-wrap { max-width: 1100px; margin: 0 auto; padding: 24px 16px 80px; }

/* Banner header */
.acc-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #6366f1 100%);
  border-radius: 20px;
  padding: 32px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.acc-banner-inner { display: flex; align-items: center; gap: 20px; flex: 1; }
.acc-avatar {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900; color: #fff;
  flex-shrink: 0;
}
.acc-banner-hello { font-size: 13px; opacity: .8; margin-bottom: 4px; }
.acc-banner-name { font-size: 26px; font-weight: 900; margin: 0 0 2px; line-height: 1.1; }
.acc-banner-email { font-size: 13px; opacity: .75; }
.acc-pts-badge {
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 14px; padding: 10px 18px;
  color: #fff; text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; transition: .2s; flex-shrink: 0;
}
.acc-pts-badge strong { font-size: 20px; font-weight: 900; }
.acc-pts-badge:hover { background: rgba(255,255,255,.28); }
.acc-banner-cta {
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff; text-decoration: none;
  padding: 10px 20px; border-radius: 10px;
  font-size: 13px; font-weight: 700;
  transition: .2s; white-space: nowrap; flex-shrink: 0;
}
.acc-banner-cta:hover { background: rgba(255,255,255,.25); }

/* Stats */
.acc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.acc-stat {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
}
.acc-stat strong { display: block; font-size: 22px; font-weight: 900; color: #1e293b; }
.acc-stat span { font-size: 12px; color: #64748b; font-weight: 500; }
.acc-stat-purple { border-color: #c4b5fd; background: #faf5ff; }
.acc-stat-purple strong { color: #7c3aed; }

/* Progress bar */
.acc-progress-bar {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

/* Tabs */
.acc-tabs-wrap { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 18px; overflow: hidden; }
.acc-tabs-nav {
  display: flex; gap: 2px; flex-wrap: wrap;
  padding: 12px 12px 0;
  border-bottom: 1.5px solid #f1f5f9;
  background: #f8fafc;
}
.acc-tab {
  padding: 9px 16px; border: none; border-radius: 10px 10px 0 0;
  background: transparent; color: #64748b;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: .15s;
  text-decoration: none; display: inline-block;
  white-space: nowrap;
}
.acc-tab:hover { background: #fff; color: #374151; }
.acc-tab.active { background: #fff; color: #2563eb; box-shadow: 0 -2px 0 #2563eb inset; }
.acc-tab-purple.active { color: #7c3aed; box-shadow: 0 -2px 0 #7c3aed inset; }
.acc-tab-logout { color: #ef4444; margin-left: auto; }
.acc-tab-logout:hover { background: #fef2f2; }

/* Panels */
.acc-panel { display: none; padding: 28px 28px 32px; }
.acc-panel.active { display: block; }
.acc-panel-title { font-size: 18px; font-weight: 800; margin: 0 0 20px; color: #1e293b; }

/* Orders list */
.acc-orders-list { display: grid; gap: 10px; }
.acc-order-row {
  display: grid;
  grid-template-columns: 60px 1fr auto auto auto;
  gap: 12px; align-items: center;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  transition: .15s;
}
.acc-order-row:hover { border-color: #2563eb20; background: #f0f7ff; }
.acc-order-num { font-size: 14px; font-weight: 800; color: #2563eb; }
.acc-order-info strong { display: block; font-size: 14px; font-weight: 700; color: #1e293b; }
.acc-order-info span { font-size: 12px; color: #94a3b8; }
.acc-order-total { font-size: 15px; font-weight: 800; color: #1e293b; }
.acc-order-actions { display: flex; gap: 6px; }
.acc-status {
  padding: 4px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.status-pending, .status-new { background: #fef3c7; color: #92400e; }
.status-processing { background: #dbeafe; color: #1e40af; }
.status-shipped { background: #d1fae5; color: #065f46; }
.status-delivered, .status-completed { background: #d1fae5; color: #065f46; }
.status-cancelled, .status-canceled { background: #fee2e2; color: #991b1b; }

/* Favorites grid */
.acc-favorites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.acc-fav-card {
  background: #f8fafc; border: 1.5px solid #e2e8f0;
  border-radius: 14px; overflow: hidden; text-align: center;
  transition: .2s;
}
.acc-fav-card:hover { border-color: #2563eb40; box-shadow: 0 4px 16px rgba(37,99,235,.1); }
.acc-fav-card a { display: block; text-decoration: none; padding: 14px; color: inherit; }
.acc-fav-card img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; margin-bottom: 10px; }
.acc-fav-card strong { display: block; font-size: 12px; color: #1e293b; margin-bottom: 4px;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.acc-fav-card span { font-size: 14px; font-weight: 800; color: #2563eb; }
.acc-fav-card .btn { margin: 0 14px 14px; width: calc(100% - 28px); box-sizing: border-box; }

/* Form */
.acc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.acc-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #374151; }
.acc-form input[type="text"], .acc-form input[type="email"],
.acc-form input[type="tel"], .acc-form input[type="password"] {
  height: 40px; border: 1.5px solid #e2e8f0; border-radius: 10px;
  padding: 0 12px; font-size: 14px; transition: .15s;
}
.acc-form input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.1); }

/* Check label */
.acc-check { display: flex !important; flex-direction: row !important; align-items: center; gap: 14px; padding: 14px; background: #f8fafc; border-radius: 12px; cursor: pointer; }
.acc-check input { width: 20px; height: 20px; flex-shrink: 0; }
.acc-check strong { display: block; font-size: 14px; color: #1e293b; }
.acc-check small { font-size: 12px; color: #64748b; }

/* Empty state */
.acc-empty { text-align: center; padding: 48px 20px; }
.acc-empty span { font-size: 48px; display: block; margin-bottom: 16px; }
.acc-empty strong { display: block; font-size: 18px; font-weight: 800; color: #1e293b; margin-bottom: 8px; }
.acc-empty p { color: #64748b; margin-bottom: 20px; }

/* Loyalty */
.acc-loyalty-hero {
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  border-radius: 18px; padding: 28px 32px;
  color: #fff; display: flex; justify-content: space-between;
  align-items: center; gap: 24px; margin-bottom: 24px; flex-wrap: wrap;
}
.acc-loyalty-label { font-size: 12px; font-weight: 600; opacity: .8; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.acc-loyalty-pts { font-size: 52px; font-weight: 900; line-height: 1; }
.acc-loyalty-pts span { font-size: 22px; font-weight: 600; opacity: .8; }
.acc-loyalty-value { font-size: 15px; margin-top: 10px; opacity: .9; }
.acc-loyalty-ok { margin-top: 12px; background: rgba(255,255,255,.2); border-radius: 8px; padding: 8px 14px; font-size: 13px; font-weight: 600; }
.acc-loyalty-need { margin-top: 12px; background: rgba(255,255,255,.15); border-radius: 8px; padding: 8px 14px; font-size: 12px; opacity: .9; }
.acc-loyalty-right { display: flex; flex-direction: column; gap: 12px; }
.acc-loyalty-stat { background: rgba(255,255,255,.15); border-radius: 12px; padding: 14px 20px; text-align: center; min-width: 120px; }
.acc-loyalty-stat strong { display: block; font-size: 22px; font-weight: 900; }
.acc-loyalty-stat span { font-size: 11px; opacity: .8; }
.acc-loyalty-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 24px; }
.acc-loyalty-steps > div { background: #faf5ff; border: 1.5px solid #e9d5ff; border-radius: 14px; padding: 18px; text-align: center; }
.acc-loyalty-steps span { font-size: 28px; display: block; margin-bottom: 8px; }
.acc-loyalty-steps strong { display: block; font-size: 14px; font-weight: 700; color: #7c3aed; margin-bottom: 4px; }
.acc-loyalty-steps p { font-size: 12px; color: #64748b; margin: 0; }
.acc-loyalty-history { background: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: 14px; overflow: hidden; }
.acc-loyalty-history-header { padding: 14px 20px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: #374151; }
.acc-loyalty-row { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-bottom: 1px solid #f1f5f9; }
.acc-loyalty-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.acc-loyalty-icon.earn { background: #f0fdf4; color: #16a34a; }
.acc-loyalty-icon.spend { background: #fef2f2; color: #dc2626; }
.acc-loyalty-desc { flex: 1; }
.acc-loyalty-desc strong { display: block; font-size: 13px; font-weight: 700; color: #374151; }
.acc-loyalty-desc span { font-size: 11px; color: #94a3b8; }
.acc-loyalty-amount { font-size: 15px; font-weight: 800; }
.acc-loyalty-amount.pos { color: #16a34a; }
.acc-loyalty-amount.neg { color: #dc2626; }

@media (max-width: 768px) {
  .acc-banner { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .acc-order-row { grid-template-columns: 1fr; }
  .acc-form-grid { grid-template-columns: 1fr; }
  .acc-loyalty-hero { flex-direction: column; }
  .acc-loyalty-steps { grid-template-columns: 1fr; }
  .acc-loyalty-right { flex-direction: row; flex-wrap: wrap; }
  .acc-panel { padding: 20px 16px 24px; }
  .acc-tabs-nav { gap: 4px; }
  .acc-tab { font-size: 12px; padding: 8px 10px; }
  .acc-banner-name { font-size: 22px; }
  .acc-banner-cta { display: none; }
}

/* ════════════════════════════════════════════
   REVIEWS SECTION - MODERN DESIGN
════════════════════════════════════════════ */
.reviews-section { background: #fff; border-radius: 20px; padding: 32px; margin-top: 32px; border: 1.5px solid #e2e8f0; }

/* Header */
.rev-header { margin-bottom: 32px; }
.rev-title { font-size: 22px; font-weight: 800; margin: 0 0 20px; color: #1e293b; }
.rev-summary { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.rev-score-box { text-align: center; min-width: 100px; }
.rev-big-score { font-size: 56px; font-weight: 900; color: #1e293b; line-height: 1; }
.rev-big-stars { font-size: 22px; color: #f59e0b; margin: 4px 0; }
.rev-total-count { font-size: 13px; color: #64748b; }
.rev-bars { flex: 1; min-width: 200px; display: grid; gap: 8px; }
.rev-bar-row { display: grid; grid-template-columns: 60px 1fr 30px; gap: 8px; align-items: center; }
.rev-bar-label { font-size: 12px; color: #64748b; white-space: nowrap; }
.rev-bar-track { height: 8px; background: #f1f5f9; border-radius: 99px; overflow: hidden; }
.rev-bar-fill { height: 100%; border-radius: 99px; transition: width .6s ease; }
.rev-bar-count { font-size: 12px; color: #64748b; text-align: right; }

/* Review card */
.rev-list { display: grid; gap: 16px; margin-bottom: 32px; }
.rev-card {
  background: #fff; border: 1.5px solid #e2e8f0;
  border-radius: 16px; padding: 20px 22px;
  transition: box-shadow .2s;
}
.rev-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.rev-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.rev-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.rev-card-name { font-size: 15px; font-weight: 700; color: #1e293b; }
.rev-card-date { font-size: 12px; color: #94a3b8; margin-top: 2px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rev-source { padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; background: #eff6ff; color: #2563eb; }
.rev-source-verified { background: #f0fdf4; color: #16a34a; }
.rev-card-title { font-size: 16px; font-weight: 800; color: #1e293b; margin-bottom: 6px; }
.rev-card-stars { font-size: 18px; margin-bottom: 10px; }
.rev-card-text { font-size: 14px; color: #374151; line-height: 1.6; margin: 0 0 14px; }

/* Review images */
.rev-images { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.rev-img-thumb { display: block; border-radius: 10px; overflow: hidden; border: 1.5px solid #e2e8f0; transition: .2s; }
.rev-img-thumb:hover { border-color: #6366f1; transform: scale(1.02); }
.rev-img-thumb img { width: 72px; height: 72px; object-fit: cover; display: block; }

/* Actions */
.rev-card-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid #f1f5f9; padding-top: 12px; }
.rev-helpful-btn {
  background: none; border: 1.5px solid #e2e8f0; border-radius: 8px;
  padding: 6px 14px; font-size: 13px; font-weight: 600; color: #64748b;
  cursor: pointer; transition: .15s;
}
.rev-helpful-btn:hover { border-color: #2563eb; color: #2563eb; background: #eff6ff; }
.rev-helpful-btn.voted { background: #eff6ff; color: #2563eb; border-color: #2563eb; }

/* Reply admin */
.rev-reply {
  background: #f8fafc; border-left: 3px solid #6366f1;
  border-radius: 0 10px 10px 0; padding: 14px 16px; margin-top: 14px;
}
.rev-reply-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rev-reply-badge { background: #6366f1; color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.rev-reply-text { font-size: 13px; color: #374151; margin: 0; line-height: 1.6; }

/* Form */
.rev-form-wrap { background: #f8fafc; border-radius: 16px; padding: 24px; border: 1.5px solid #e2e8f0; }
.rev-form-title { font-size: 18px; font-weight: 800; margin: 0 0 20px; color: #1e293b; }
.rev-form { display: grid; gap: 16px; }
.rev-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rev-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #374151; }
.rev-form input[type="text"], .rev-form input[type="email"], .rev-form input:not([type="radio"]):not([type="file"]):not([type="checkbox"]) {
  height: 42px; border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 0 14px; font-size: 14px; transition: .15s;
}
.rev-form input:focus, .rev-form textarea:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.1); }
.rev-form textarea { border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; font-size: 14px; resize: vertical; font-family: inherit; transition: .15s; }

/* Star picker */
.rev-star-picker { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin-top: 6px; }
.rev-star-picker input[type="radio"] { display: none; }
.rev-star-picker label { font-size: 32px; color: #e2e8f0; cursor: pointer; transition: .1s; }
.rev-star-picker input:checked ~ label,
.rev-star-picker label:hover,
.rev-star-picker label:hover ~ label { color: #f59e0b; }

/* Image upload */
.rev-img-upload { border: 2px dashed #e2e8f0; border-radius: 12px; padding: 16px; transition: .2s; }
.rev-img-upload:hover { border-color: #6366f1; }
.rev-img-label { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; color: #64748b; }
.rev-img-label span:first-child { font-size: 32px; }
.rev-img-label span:last-child { font-size: 13px; font-weight: 600; }
.rev-img-previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.rev-submit-btn { justify-self: start; }

@media (max-width: 768px) {
  .rev-summary { gap: 20px; }
  .rev-form-grid { grid-template-columns: 1fr; }
  .reviews-section { padding: 20px 16px; }
  .rev-img-thumb img { width: 60px; height: 60px; }
}

/* ── Back in Stock Widget ───────────────────────────── */
.bis-widget {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1.5px solid #fcd34d;
    border-radius: 16px; padding: 20px 22px; margin: 16px 0;
    display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
}
.bis-icon { font-size: 28px; }
.bis-content strong { display: block; font-size: 15px; font-weight: 800; color: #92400e; margin-bottom: 4px; }
.bis-content p { font-size: 13px; color: #78350f; margin: 0 0 12px; }
.bis-form { grid-column: 1/-1; }
.bis-success {
    grid-column: 1/-1; background: #f0fdf4; border-radius: 10px;
    padding: 10px 16px; color: #166534; font-size: 14px; font-weight: 600;
}

/* Emoji icons in navbar */
.ui-icon-emoji { font-size: 1.1em; line-height: 1; display: inline-flex; align-items: center; justify-content: center; font-style: normal; }
.nav-icon .ui-icon-emoji { font-size: 1.2em; }

/* Imagine pictograma navbar */
.ui-icon-img { width: 1.2em; height: 1.2em; object-fit: contain; display: inline-block; vertical-align: middle; }
.nav-icon .ui-icon-img { width: 32px; height: 32px; }


  .pcard-badges-left { left: 8px; }
  .pcard-badges-right { right: 8px; }
}

/* ════════════════════════════════════════════
   BADGE-URI PRODUS — 4 colturi, elegante
════════════════════════════════════════════ */
.product-media { position: relative; overflow: visible; }
.product-media > a img { border-radius: inherit; }

.pcard-badge.corner {
  position: absolute;
  z-index: 7;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;          /* simplu, fara bold */
  letter-spacing: .2px;
  color: #fff;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  pointer-events: none;
  max-width: 46%;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Colturi — usor in afara/pe marginea imaginii */
.pcard-badge.corner.tl { top: 8px;  left: 8px; }
.pcard-badge.corner.tr { top: 8px;  right: 8px; }
.pcard-badge.corner.bl { bottom: 8px; left: 8px; }
.pcard-badge.corner.br { bottom: 8px; right: 8px; }

@media (max-width: 600px) {
  .pcard-badge.corner { font-size: 10px; padding: 3px 9px; }
  .pcard-pill { font-size: 10px; padding: 3px 8px; }
}

/* ════════════════════════════════════════════
   ETICHETE SUB PRODUS (pills) — stil emag
════════════════════════════════════════════ */
.pcard-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 4px;
}
.pcard-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  border: 1px solid transparent;
}
.pcard-pill .pp-ic { font-size: 13px; line-height: 1; }

/* Variante de culoare — fundal soft + text/border culoare profilatica */
.pp-green  { background: #ecfdf5; color: #15803d; border-color: #bbf7d0; }
.pp-purple { background: #f5f3ff; color: #7c3aed; border-color: #ddd6fe; }
.pp-blue   { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.pp-orange { background: #fff7ed; color: #ea580c; border-color: #fed7aa; }
.pp-pink   { background: #fdf2f8; color: #db2777; border-color: #fbcfe8; }
.pp-teal   { background: #f0fdfa; color: #0d9488; border-color: #99f6e4; }
.pp-gray   { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }

@media (max-width: 600px) {
  .pcard-pill { font-size: 11px; padding: 4px 9px; }
}

/* ════════════════════════════════════════════
   PRODUCT CARD FINAL — badge-uri + favorite + rating
════════════════════════════════════════════ */
.product-card .product-media {
  position: relative;
  overflow: visible;
  margin: 16px 12px 22px;
  border-radius: 18px;
}
.product-card .product-media > a {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(226,232,240,.9);
}

/* Inimioara simpla dreapta jos, fara cerc/patrat/fundal */
.product-card .heart-btn,
.product-card .heart-btn:hover,
.product-card .heart-btn:focus,
.product-card .heart-btn.is-favorite,
.product-card .heart-btn.is-favorite:hover {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 10;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
  color: #e11d48 !important;
  font-size: 25px;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(15, 23, 42, .22);
}
.product-card .heart-btn:hover { transform: scale(1.12); }
.product-card .heart-btn:not(.is-favorite) { color: #e11d48 !important; }
.product-card .heart-btn.is-favorite { color: #e11d48 !important; }

/* Badge default reducere stanga sus */
.pcard-badge.corner.discount-default {
  background: #dc2626 !important;
  color: #fff;
  font-weight: 800;
  top: -12px;
  left: 0;
}

/* Grupuri badge: dreapta sus 2, stanga jos 2 */
.pcard-badge-stack {
  position: absolute;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 48%;
  pointer-events: none;
}
.pcard-badge-stack.stack-tr {
  top: -12px;
  right: 0;
  align-items: flex-end;
}
.pcard-badge-stack.stack-bl {
  left: 0;
  bottom: -12px;
  align-items: flex-start;
}
.pcard-badge-stack .pcard-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 4px 11px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

/* Rating card: stele votabile + numar real recenzii in dreapta */
.product-card .pcard-rating {
  padding: 0 16px 8px;
  align-items: center;
}
.product-card .pcard-stars {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 1px;
  line-height: 1;
}
.product-card .pcard-stars a {
  color: #e2e8f0;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s ease, color .15s ease;
}
.product-card .pcard-stars a.filled,
.product-card .pcard-stars a:hover,
.product-card .pcard-stars a:hover ~ a {
  color: #f59e0b;
}
.product-card .pcard-stars:hover a { color: #f59e0b; }
.product-card .pcard-stars a:hover ~ a { color: #e2e8f0; }
.product-card .pcard-stars a:hover { transform: scale(1.16); }
.product-card .pcard-rating small {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Sub imagine: doar In stoc verde + Livrare rapida mov */
.product-card .pcard-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 16px 4px;
}
.product-card .pcard-pill.pp-green {
  background: #ecfdf5;
  color: #15803d;
  border-color: #bbf7d0;
}
.product-card .pcard-pill.pp-purple {
  background: #f5f3ff;
  color: #7c3aed;
  border-color: #ddd6fe;
}

@media (max-width: 600px) {
  .product-card .product-media { margin: 14px 10px 20px; }
  .pcard-badge-stack { gap: 4px; max-width: 49%; }
  .pcard-badge-stack .pcard-badge,
  .pcard-badge.corner.discount-default { font-size: 10px; padding: 3px 9px; }
  .pcard-badge.corner.discount-default { top: -10px; }
  .pcard-badge-stack.stack-tr { top: -10px; }
  .pcard-badge-stack.stack-bl { bottom: -10px; }
  .product-card .heart-btn { font-size: 24px; }
  .product-card .pcard-rating { padding-left: 14px; padding-right: 14px; }
  .product-card .pcard-pills { margin-left: 14px; margin-right: 14px; }
}


/* ===== Update final: badge-uri complet in afara imaginii + pills egale/centrate ===== */
.product-card .product-media {
  position: relative;
  display: grid;
  gap: 8px;
  margin: 16px 12px 12px;
  overflow: visible;
  border-radius: 0;
}
.product-card .product-media > a {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(226,232,240,.9);
}
.product-card .pcard-badges-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.product-card .pcard-badges-bar.top .pcard-badges-left,
.product-card .pcard-badges-bar.top .pcard-badges-right,
.product-card .pcard-badges-bar.bottom .pcard-badges-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-card .pcard-badges-bar.top .pcard-badges-left,
.product-card .pcard-badges-bar.bottom .pcard-badges-left {
  align-items: flex-start;
}
.product-card .pcard-badges-bar.top .pcard-badges-right {
  align-items: flex-end;
  margin-left: auto;
}
.product-card .pcard-badges-bar.bottom {
  align-items: center;
  margin-top: 2px;
}
.product-card .pcard-heart-wrap {
  margin-left: auto;
  align-self: center;
}
.product-card .pcard-badge.pcard-badge-outside {
  position: static !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 11px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .pcard-badge.pcard-badge-outside.discount-default {
  background: #dc2626 !important;
  color: #fff !important;
}
.product-card .heart-btn,
.product-card .heart-btn:hover,
.product-card .heart-btn:focus,
.product-card .heart-btn.is-favorite,
.product-card .heart-btn.is-favorite:hover {
  position: static !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 2px 0 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #e11d48 !important;
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
  text-shadow: none;
}
.product-card .pcard-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 16px 6px;
}
.product-card .pcard-pill {
  width: 100%;
  justify-content: center;
  text-align: center;
  min-height: 38px;
  padding: 7px 10px;
}
.product-card .pcard-pill .pp-ic {
  display: inline-flex;
  align-items: center;
}
@media (max-width: 600px) {
  .product-card .product-media {
    margin: 14px 10px 12px;
    gap: 7px;
  }
  .product-card .pcard-badge.pcard-badge-outside {
    font-size: 10px;
    padding: 4px 9px;
  }
  .product-card .pcard-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 6px 14px 6px;
  }
  .product-card .pcard-pill {
    min-height: 36px;
    font-size: 11px;
    padding: 6px 8px;
  }
}


/* ===== Update v4: badge-uri inapoi peste imagine, bine asezate, fara bold ===== */
.product-card { overflow: hidden; }
.product-card .product-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  display: block;
  border-radius: 18px 18px 0 0;
}
.product-card .product-media > a {
  display: block;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #fff;
  border: 0;
}
.product-card .product-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
}
.product-card .pcard-badge.corner,
.product-card .pcard-badge-stack .pcard-badge {
  font-weight: 500 !important;
  letter-spacing: .15px;
}
.product-card .pcard-badge.corner.tl {
  top: 10px;
  left: 10px;
}
.product-card .pcard-badge.corner.discount-default {
  background: #dc2626 !important;
  color: #fff !important;
  font-weight: 500 !important;
}
.product-card .pcard-badge-stack {
  position: absolute;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 48%;
  pointer-events: none;
}
.product-card .pcard-badge-stack.stack-tr {
  top: 10px;
  right: 10px;
  align-items: flex-end;
}
.product-card .pcard-badge-stack.stack-bl {
  left: 10px;
  bottom: 10px;
  align-items: flex-start;
}
.product-card .pcard-badge-stack .pcard-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(0,0,0,.16);
}
.product-card .heart-btn,
.product-card .heart-btn:hover,
.product-card .heart-btn:focus,
.product-card .heart-btn.is-favorite,
.product-card .heart-btn.is-favorite:hover {
  position: absolute !important;
  right: 10px;
  bottom: 10px;
  z-index: 10;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: 0 2px 8px rgba(15, 23, 42, .18);
  color: #e11d48 !important;
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
}
.product-card .heart-btn:not(.is-favorite) {
  color: #e11d48 !important;
}
.product-card .heart-btn.is-favorite {
  color: #e11d48 !important;
}
.product-card .pcard-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 16px 4px;
}
.product-card .pcard-pill {
  width: 100%;
  min-height: 38px;
  justify-content: center;
  text-align: center;
  font-weight: 600;
}
.product-card .pcard-pill .pp-ic {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
/* produs individual - inimioara goala/plina consecvent */
.prod-fav-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e11d48;
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
}
.prod-fav-heart.is-favorite { color: #e11d48; }

@media (max-width: 600px) {
  .product-card .pcard-badge.corner,
  .product-card .pcard-badge-stack .pcard-badge {
    font-size: 10px;
    padding: 4px 9px;
  }
  .product-card .pcard-badge.corner.tl,
  .product-card .pcard-badge-stack.stack-tr {
    top: 8px;
  }
  .product-card .pcard-badge.corner.tl,
  .product-card .pcard-badge-stack.stack-bl {
    left: 8px;
  }
  .product-card .pcard-badge-stack.stack-tr,
  .product-card .heart-btn { right: 8px; }
  .product-card .pcard-badge-stack.stack-bl,
  .product-card .heart-btn { bottom: 8px; }
  .product-card .pcard-pills {
    margin: 6px 14px 4px;
    gap: 7px;
  }
  .product-card .pcard-pill {
    min-height: 36px;
    font-size: 11px;
    padding: 6px 8px;
  }
}


/* ===== Update v5: badge-uri dreptunghiulare, lipite de marginile imaginii ===== */
.product-card .pcard-badge.corner,
.product-card .pcard-badge-stack .pcard-badge {
  border-radius: 0 !important;
  padding: 5px 10px !important;
  font-weight: 500 !important;
  line-height: 1.25;
}
.product-card .pcard-badge.corner.tl,
.product-card .pcard-badge.corner.discount-default {
  top: 0 !important;
  left: 0 !important;
}
.product-card .pcard-badge-stack {
  gap: 4px !important;
}
.product-card .pcard-badge-stack.stack-tr {
  top: 0 !important;
  right: 0 !important;
  align-items: flex-end;
}
.product-card .pcard-badge-stack.stack-bl {
  left: 0 !important;
  bottom: 0 !important;
  align-items: flex-start;
}
.product-card .pcard-badge-stack.stack-tr .pcard-badge,
.product-card .pcard-badge-stack.stack-bl .pcard-badge {
  position: relative;
}
@media (max-width: 600px) {
  .product-card .pcard-badge.corner,
  .product-card .pcard-badge-stack .pcard-badge {
    border-radius: 0 !important;
    padding: 4px 8px !important;
  }
  .product-card .pcard-badge.corner.tl,
  .product-card .pcard-badge.corner.discount-default,
  .product-card .pcard-badge-stack.stack-tr {
    top: 0 !important;
  }
  .product-card .pcard-badge.corner.tl,
  .product-card .pcard-badge.corner.discount-default,
  .product-card .pcard-badge-stack.stack-bl {
    left: 0 !important;
  }
  .product-card .pcard-badge-stack.stack-tr {
    right: 0 !important;
  }
  .product-card .pcard-badge-stack.stack-bl {
    bottom: 0 !important;
  }
}


/* ===== Update v6: colt dreapta-sus plin cu eticheta + toggle favorite clar ===== */
.product-card .product-media {
  overflow: hidden !important;
}
.product-card .pcard-badge.corner.discount-default {
  border-top-left-radius: 18px !important;
}
.product-card .pcard-badge-stack.stack-tr {
  top: 0 !important;
  right: 0 !important;
  gap: 0 !important;
}
.product-card .pcard-badge-stack.stack-tr .pcard-badge {
  margin: 0 !important;
}
.product-card .pcard-badge-stack.stack-tr .pcard-badge:first-child {
  border-top-right-radius: 18px !important;
  padding-right: 12px !important;
}
.product-card .pcard-badge-stack.stack-bl {
  left: 0 !important;
  bottom: 0 !important;
}
.product-card .pcard-badge-stack.stack-bl .pcard-badge:last-child {
  border-bottom-left-radius: 18px !important;
}
.product-card .pcard-badge.corner,
.product-card .pcard-badge-stack .pcard-badge {
  box-shadow: 0 2px 8px rgba(0,0,0,.14);
  background-clip: padding-box;
}
@media (max-width: 600px) {
  .product-card .pcard-badge-stack.stack-tr {
    top: 0 !important;
    right: 0 !important;
  }
  .product-card .pcard-badge-stack.stack-tr .pcard-badge:first-child {
    border-top-right-radius: 18px !important;
  }
  .product-card .pcard-badge-stack.stack-bl {
    left: 0 !important;
    bottom: 0 !important;
  }
}


/* ===== Update v7: fara spatiu alb pe colturi la badge-uri ===== */
.product-card .product-media,
.product-card .product-media > a {
  overflow: hidden !important;
}
.product-card .pcard-badge.corner.discount-default {
  top: 0 !important;
  left: 0 !important;
  border-top-left-radius: 18px !important;
  border-top-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 10px !important;
}
.product-card .pcard-badge-stack.stack-tr {
  top: 0 !important;
  right: 0 !important;
  gap: 0 !important;
}
.product-card .pcard-badge-stack.stack-tr .pcard-badge {
  border-radius: 0 !important;
}
.product-card .pcard-badge-stack.stack-tr .pcard-badge:first-child {
  border-top-right-radius: 18px !important;
  border-top-left-radius: 0 !important;
}
.product-card .pcard-badge-stack.stack-bl {
  left: 0 !important;
  bottom: 0 !important;
  gap: 0 !important;
}
.product-card .pcard-badge-stack.stack-bl .pcard-badge {
  border-radius: 0 !important;
}
.product-card .pcard-badge-stack.stack-bl .pcard-badge:last-child {
  border-bottom-left-radius: 18px !important;
}
.product-card .pcard-badge.corner,
.product-card .pcard-badge-stack .pcard-badge {
  margin: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 600px) {
  .product-card .pcard-badge.corner.discount-default,
  .product-card .pcard-badge-stack.stack-tr,
  .product-card .pcard-badge-stack.stack-bl {
    top: 0 !important;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .product-card .pcard-badge.corner.discount-default { left: 0 !important; }
  .product-card .pcard-badge-stack.stack-tr { right: 0 !important; top: 0 !important; }
  .product-card .pcard-badge-stack.stack-bl { left: 0 !important; bottom: 0 !important; }
}


/* ===== Update v8: colturi de sus complet acoperite + mic spatiu intre badge-urile stivuite ===== */
.product-card .product-media {
  border-top-left-radius: 18px !important;
  border-top-right-radius: 18px !important;
  overflow: hidden !important;
  background: #fff !important;
}
.product-card .product-media > a {
  border-top-left-radius: 18px !important;
  border-top-right-radius: 18px !important;
  overflow: hidden !important;
}

/* badge stanga sus - acopera complet coltul */
.product-card .pcard-badge.corner.discount-default {
  top: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  border-top-left-radius: 18px !important;
  border-top-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 12px !important;
  box-shadow: none !important;
}

/* grupul din dreapta sus - primul badge acopera complet coltul, intre badge-uri exista putin spatiu */
.product-card .pcard-badge-stack.stack-tr {
  top: 0 !important;
  right: 0 !important;
  gap: 4px !important;
  align-items: flex-end !important;
}
.product-card .pcard-badge-stack.stack-tr .pcard-badge {
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.product-card .pcard-badge-stack.stack-tr .pcard-badge:first-child {
  border-top-right-radius: 18px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 12px !important;
  border-bottom-right-radius: 0 !important;
}

/* grupul din stanga jos - mic spatiu intre ele, ultimul badge acopera coltul de jos */
.product-card .pcard-badge-stack.stack-bl {
  left: 0 !important;
  bottom: 0 !important;
  gap: 4px !important;
  align-items: flex-start !important;
}
.product-card .pcard-badge-stack.stack-bl .pcard-badge {
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.product-card .pcard-badge-stack.stack-bl .pcard-badge:last-child {
  border-bottom-left-radius: 18px !important;
  border-top-right-radius: 12px !important;
}

@media (max-width: 600px) {
  .product-card .pcard-badge.corner.discount-default {
    border-top-left-radius: 18px !important;
    border-bottom-right-radius: 10px !important;
  }
  .product-card .pcard-badge-stack.stack-tr {
    top: 0 !important;
    right: 0 !important;
    gap: 4px !important;
  }
  .product-card .pcard-badge-stack.stack-tr .pcard-badge:first-child {
    border-top-right-radius: 18px !important;
    border-bottom-left-radius: 10px !important;
  }
  .product-card .pcard-badge-stack.stack-bl {
    left: 0 !important;
    bottom: 0 !important;
    gap: 4px !important;
  }
  .product-card .pcard-badge-stack.stack-bl .pcard-badge:last-child {
    border-bottom-left-radius: 18px !important;
    border-top-right-radius: 10px !important;
  }
}


/* ===== Update v9: toate badge-urile dreptunghiulare ===== */
.product-card .product-media,
.product-card .product-media > a,
.product-card .product-media img {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}
.product-card .pcard-badge.corner,
.product-card .pcard-badge-stack .pcard-badge {
  border-radius: 0 !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}
.product-card .pcard-badge.corner.discount-default,
.product-card .pcard-badge-stack.stack-tr .pcard-badge:first-child,
.product-card .pcard-badge-stack.stack-bl .pcard-badge:last-child {
  border-radius: 0 !important;
}
.product-card .pcard-badge.corner.discount-default {
  top: 0 !important;
  left: 0 !important;
}
.product-card .pcard-badge-stack.stack-tr {
  top: 0 !important;
  right: 0 !important;
  gap: 4px !important;
}
.product-card .pcard-badge-stack.stack-bl {
  left: 0 !important;
  bottom: 0 !important;
  gap: 4px !important;
}
@media (max-width: 600px) {
  .product-card .product-media,
  .product-card .product-media > a,
  .product-card .product-media img {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
  }
  .product-card .pcard-badge.corner,
  .product-card .pcard-badge-stack .pcard-badge {
    border-radius: 0 !important;
  }
}


/* ===== Update v10: toate badge-urile 100% dreptunghiulare + favorite salveaza real ===== */
.product-card .pcard-badge,
.product-card .pcard-badge.corner,
.product-card .pcard-badge.corner.discount-default,
.product-card .pcard-badge-stack .pcard-badge,
.product-card .pcard-badge-stack.stack-tr .pcard-badge,
.product-card .pcard-badge-stack.stack-tr .pcard-badge:first-child,
.product-card .pcard-badge-stack.stack-bl .pcard-badge,
.product-card .pcard-badge-stack.stack-bl .pcard-badge:last-child {
  border-radius: 0 !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}
.product-card .pcard-badge-stack.stack-tr,
.product-card .pcard-badge-stack.stack-bl {
  gap: 4px !important;
}


/* Ajustare finala: text badge-uri fara bold */
.pcard-badge,
.pcard-badge.corner,
.pcard-badge.corner.discount-default,
.pcard-badge-stack .pcard-badge,
.pcard-pill,
.discount-badge,
.top-badge,
.stock-badge,
.product-badge {
  font-weight: 400 !important;
}
.site-toast.success { background:#0f172a; color:#fff; }
.site-toast.error { background:#991b1b; color:#fff; }


/* === Product cards rectangular corners === */
.product-card,
.section .product-card,
.carousel-track .product-card,
.product-media,
.product-card img,
.product-card picture,
.product-card picture img {
  border-radius: 0 !important;
}


/* ============================================================
   Update v11: FIX layout badge pe MOBIL (clean reset)
   Regula clara, fara ambiguitati:
   - TL (corner.discount-default) = doar reducerea, COLT STANGA SUS
   - TR (stack-tr) = doua badge-uri, COLT DREAPTA SUS
   - BL (stack-bl) = doua badge-uri, COLT STANGA JOS
   - BR = inimioara favorite (separat, in heart-btn)

   Reset agresiv pe top/bottom/left/right pentru a invinge orice
   regula veche din v5/v6/v7/v8/v9 care a setat valori gresite.
   ============================================================ */
.product-card .pcard-badge.corner.discount-default {
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
}
.product-card .pcard-badge-stack.stack-tr {
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  bottom: auto !important;
  align-items: flex-end !important;
  flex-direction: column !important;
}
.product-card .pcard-badge-stack.stack-bl {
  bottom: 0 !important;
  left: 0 !important;
  top: auto !important;
  right: auto !important;
  align-items: flex-start !important;
  flex-direction: column !important;
}

/* MOBIL: aceeasi structura — repetam !important pentru a fi siguri */
@media (max-width: 600px) {
  .product-card .pcard-badge.corner.discount-default {
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
  }
  .product-card .pcard-badge-stack.stack-tr {
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    align-items: flex-end !important;
    flex-direction: column !important;
  }
  .product-card .pcard-badge-stack.stack-bl {
    bottom: 0 !important;
    left: 0 !important;
    top: auto !important;
    right: auto !important;
    align-items: flex-start !important;
    flex-direction: column !important;
  }
  /* pe mobil, max-width-ul stack-urilor ramane <= 50% sa nu acopere imaginea */
  .product-card .pcard-badge-stack {
    max-width: 55% !important;
  }
  /* heart in BR, mereu vizibil */
  .product-card .heart-btn {
    bottom: 8px !important;
    right: 8px !important;
    top: auto !important;
    left: auto !important;
    z-index: 10 !important;
  }
}


/* ============================================================
   v12: Avatar profil pe recenzii (homepage + produs)
   ============================================================ */
.review-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-author-row > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.review-author-row strong {
  font-weight: 700;
  font-size: 14px;
  color: #1e293b;
  line-height: 1.2;
}
.review-author-row .review-stars-inline {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  background: #f1f5f9;
}
.review-avatar-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
}
/* Pe pagina produs, in tab-ul recenzii, foloseste acelasi pattern */
.product-reviews-list .review-item .review-author-row {
  margin-bottom: 8px;
}


/* ============================================================
   v13: Gallery slider produs (stanga-dreapta)
   ============================================================ */
.prod-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.prod-main-wrap {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #f8fafc !important;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-height: 560px;
}
.prod-slides {
  display: flex !important;
  height: 100% !important;
  width: 100%;
  transition: transform .35s cubic-bezier(.4,0,.2,1) !important;
  will-change: transform;
}
.prod-slides > div {
  min-width: 100% !important;
  width: 100%;
  height: 100%;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.prod-slides img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  cursor: zoom-in;
}
/* Sageti slider */
.prod-main-wrap > button {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.95) !important;
  border: 0 !important;
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  z-index: 5;
  transition: all .2s;
  color: #1e293b;
}
.prod-main-wrap > button:hover {
  background: #fff !important;
  transform: translateY(-50%) scale(1.08) !important;
}
/* Thumbnails */
.prod-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.prod-thumbs::-webkit-scrollbar { height: 4px; }
.prod-thumbs::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.prod-thumb {
  width: 76px !important;
  height: 76px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .2s;
  opacity: .65;
}
.prod-thumb:hover { opacity: 1; transform: translateY(-2px); }
.prod-thumb.active {
  border-color: var(--primary, #2563eb) !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .prod-main-wrap { aspect-ratio: 1 / 1; max-height: 420px; }
  .prod-main-wrap > button { width: 36px; height: 36px; font-size: 18px; }
  .prod-thumb { width: 60px !important; height: 60px !important; }
}


/* ============================================================
   v14: Why-buy section redesign (image + title row, desc below)
   ============================================================ */
.why-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
}
.why-grid .why-card {
  padding: 24px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04) !important;
  transition: transform .22s, border-color .2s, box-shadow .22s !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.why-grid .why-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(20, 184, 166, .35) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08) !important;
}
/* HEADER: imagine + titlu unul langa altul */
.why-grid .why-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}
.why-grid .why-icon {
  flex-shrink: 0 !important;
  width: 56px !important;
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #f0f9ff, #ede9fe) !important;
  border-radius: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.why-grid .why-icon img {
  max-width: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}
.why-grid .why-icon-emoji {
  font-size: 30px !important;
  line-height: 1 !important;
}
.why-grid .why-card strong {
  flex: 1 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #1e293b !important;
  margin: 0 !important;
  display: block !important;
}
.why-grid .why-card span {
  display: block !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* Mobile: stack cards vertical, header ramane orizontal */
@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .why-grid .why-card { padding: 18px !important; }
  .why-grid .why-icon { width: 48px !important; height: 48px !important; }
  .why-grid .why-icon img { max-width: 30px !important; max-height: 30px !important; }
  .why-grid .why-icon-emoji { font-size: 26px !important; }
}

/* Product comparison: available only inside the product page. */
.product-compare-option {
  margin-top: 18px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #dbe5ef;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f5f9fc);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}
.product-compare-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.product-compare-heading > div { min-width: 0; }
.product-compare-heading strong {
  display: block;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.25;
}
.product-compare-heading > div > span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}
.product-compare-badge {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 118, 110, .2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.product-compare-option form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px;
  gap: 10px;
  margin: 0;
}
.product-compare-option select {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 0 40px 0 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
}
.product-compare-submit.btn {
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0a5e57, var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 118, 110, .2);
  font-weight: 750;
}
.product-compare-submit.btn:hover {
  background: linear-gradient(135deg, #084c47, var(--brand));
  color: #fff;
}
.product-compare-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}
.product-compare-category-link span { min-width: 0; }
.product-compare-category-link b {
  flex: 0 0 auto;
  font-size: 18px;
  transition: transform .2s;
}
.product-compare-category-link:hover b { transform: translateX(3px); }

.comparison-hero {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 38px clamp(20px, 5vw, 64px);
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
}
.comparison-hero > span {
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.comparison-hero h1 {
  max-width: 900px;
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}
.comparison-hero p,
.comparison-intro { max-width: 850px; margin: 0; color: #dbeafe; line-height: 1.7; }
.comparison-page,
.comparison-library { max-width: 1180px; margin-inline: auto; }
.comparison-notice {
  margin-bottom: 14px;
  padding: 12px 16px;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  background: #f0f9ff;
  color: #0c4a6e;
  font-size: 13px;
}
.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
.comparison-mobile-wrap { display: none; }
.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.comparison-table th,
.comparison-table td {
  padding: 15px;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #eef2f7;
  text-align: left;
  vertical-align: top;
}
.comparison-table thead th { background: #f8fafc; }
.comparison-table thead th:first-child,
.comparison-table tbody th { width: 180px; color: #334155; }
.comparison-table thead a {
  display: grid;
  gap: 9px;
  color: #0f172a;
  font-weight: 800;
}
.comparison-table thead img {
  width: 110px;
  height: 90px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}
.comparison-table tr.is-different > th,
.comparison-table tr.is-different > td { background: #fffdf2; }
.comparison-table th small {
  display: block;
  margin-top: 4px;
  color: #b45309;
  font-size: 10px;
  text-transform: uppercase;
}
.comparison-actions-row td { min-width: 190px; }
.comparison-insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.comparison-insights article,
.comparison-guide,
.comparison-library-grid article {
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
}
.comparison-insights span,
.comparison-library-grid article > span { color: #64748b; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.comparison-insights h2 { margin: 7px 0; font-size: 17px; }
.comparison-insights p { margin: 0; color: #475569; font-size: 14px; }
.comparison-guide { margin-top: 14px; }
.comparison-guide h2 { margin: 0 0 8px; font-size: 21px; }
.comparison-guide p { margin: 0; color: #475569; line-height: 1.7; }
.comparison-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.comparison-library-grid article { display: flex; flex-direction: column; align-items: flex-start; }
.comparison-library-grid h2 { margin: 10px 0 8px; font-size: 20px; }
.comparison-library-grid p { flex: 1; margin: 0 0 16px; color: #64748b; line-height: 1.6; }
.comparison-mini-images {
  display: flex;
  min-height: 74px;
  margin-bottom: 14px;
}
.comparison-mini-images img {
  width: 68px;
  height: 68px;
  margin-right: -12px;
  padding: 5px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f8fafc;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
}

@media (max-width: 900px) {
  .comparison-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .product-compare-option {
    margin-top: 14px;
    padding: 16px;
    border-radius: 16px;
  }
  .product-compare-heading { align-items: flex-start; margin-bottom: 13px; }
  .product-compare-badge { flex-basis: 38px; width: 38px; height: 38px; border-radius: 11px; }
  .product-compare-heading strong { font-size: 16px; }
  .product-compare-heading > div > span { font-size: 12px; }
  .product-compare-option form { grid-template-columns: 1fr; gap: 8px; }
  .product-compare-option select,
  .product-compare-submit.btn { min-height: 50px; width: 100%; }
  .product-compare-category-link { line-height: 1.4; }

  .comparison-hero {
    width: calc(100% - 24px);
    margin: 12px auto 0;
    padding: 24px 18px;
    border-radius: 18px;
  }
  .comparison-hero h1 { margin: 8px 0 10px; font-size: 27px; }
  .comparison-hero p,
  .comparison-intro { font-size: 14px; line-height: 1.6; }
  .comparison-page,
  .comparison-library { padding: 18px 12px 10px; }
  .comparison-notice { margin-bottom: 12px; padding: 11px 13px; line-height: 1.5; }
  .comparison-table-wrap { display: none; }
  .comparison-mobile-wrap { display: block; min-width: 0; }
  .comparison-mobile-hint {
    margin: 0 0 9px;
    color: #64748b;
    font-size: 12px;
    font-weight: 650;
  }
  .comparison-mobile-cards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, calc(100vw - 46px));
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    -webkit-overflow-scrolling: touch;
  }
  .comparison-mobile-card {
    min-width: 0;
    overflow: hidden;
    padding: 16px;
    border: 1px solid #dbe5ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
    scroll-snap-align: start;
  }
  .comparison-mobile-product {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 84px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
  }
  .comparison-mobile-product img {
    width: 76px;
    height: 76px;
    padding: 5px;
    border-radius: 13px;
    background: #f8fafc;
    object-fit: contain;
  }
  .comparison-mobile-product h2 { margin: 0; color: #0f172a; font-size: 16px; line-height: 1.35; }
  .comparison-mobile-card dl { margin: 0 0 14px; }
  .comparison-mobile-card dl > div {
    display: grid;
    grid-template-columns: minmax(105px, 42%) minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
  }
  .comparison-mobile-card dt { color: #64748b; font-size: 12px; font-weight: 700; }
  .comparison-mobile-card dd { min-width: 0; margin: 0; color: #1e293b; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
  .comparison-mobile-card > .btn { width: 100%; min-height: 46px; border-radius: 12px; }
  .comparison-insights,
  .comparison-library-grid { grid-template-columns: 1fr; }
  .comparison-insights { gap: 10px; margin-top: 16px; }
  .comparison-insights article,
  .comparison-guide,
  .comparison-library-grid article { padding: 16px; border-radius: 15px; }
  .comparison-guide { margin-top: 10px; }
  .comparison-guide h2 { font-size: 19px; }
  .comparison-mini-images img { width: 58px; height: 58px; }
}

/* Pagina articol blog pe toata latimea ecranului */
.blog-post {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 40px clamp(14px, 3vw, 48px) 56px;
    box-sizing: border-box;
}
.blog-post header,
.blog-post-image,
.blog-content,
.blog-tags {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}
.blog-post header { margin: 0 0 24px; }
.blog-post-image {
    display: block;
    max-height: 680px;
    margin: 0 0 26px;
    border-radius: 0;
}
.blog-content {
    margin: 0;
    padding: clamp(18px, 3vw, 40px) 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.blog-tags { margin: 16px 0 0; }

@media (max-width: 700px) {
    .blog-post { padding: 24px 12px 40px; }
    .blog-post header { text-align: left; }
    .blog-post h1 { font-size: clamp(30px, 10vw, 44px); }
    .blog-post-image { margin-bottom: 18px; }
    .blog-content { padding: 12px 0; }
}
