/* ════════════════════════════════════════════════════════════════════
   BIBLIOTECA TEHNICĂ — bibliotecatehnica.ro — OMNI TECHMEDIA SRL
   Stil "magazin clasic": antet alb, bară de categorii albastră,
   casete albe cu chenar, butoane portocalii, text 14px.
   Fișierul acoperă magazinul public. Admin-ul folosește main.css.
   ════════════════════════════════════════════════════════════════════ */

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

:root {
  --navy:        #0D3B66;
  --navy-dark:   #082A4A;
  --navy-pale:   #EEF3F8;
  --orange:      #F28C28;
  --orange-dark: #D9771A;
  --orange-pale: #FDF1E3;
  --green:       #1E8E3E;
  --green-pale:  #E6F4EA;
  --red:         #C62828;
  --red-pale:    #FBE9E7;
  --amber:       #B8791B;
  --amber-pale:  #FFF4DD;

  --bg:          #F2F3F5;
  --panel:       #FFFFFF;
  --panel-2:     #F7F8FA;
  --border:      #E3E6EA;
  --border-2:    #C9CED6;
  --border-soft: #EEF0F2;

  --text:        #222222;
  --text-2:      #555555;
  --text-3:      #888888;

  --radius:      3px;
  --font:        'Open Sans', Arial, Helvetica, sans-serif;

  /* Alias-uri folosite inline de template-urile încă nerefăcute
     (coș, checkout, cont). Nu le ștergeți. */
  --ink: #222222; --ink-2: #0D3B66; --ink-3: #082A4A;
  --ink-soft: #555555; --ink-mute: #666666; --ink-faint: #888888;
  --paper: #F2F3F5; --paper-2: #FFFFFF; --paper-3: #F7F8FA;
  --line: #E3E6EA; --line-soft: #EEF0F2;
  --wine: #0D3B66; --wine-2: #0B4F8A; --wine-deep: #082A4A; --wine-pale: #EEF3F8;
  --brass: #F28C28; --brass-2: #D9771A; --brass-pale: #FDF1E3;
  --forest: #1E8E3E; --forest-deep: #166B2E; --forest-pale: #E6F4EA;
  --green2: #166B2E; --green-light: #F28C28;
  --dark: #222222; --dark2: #0D3B66; --dark3: #082A4A;
  --gray: #555555; --gray2: #666666; --gray3: #888888;
  --light: #F2F3F5; --white: #FFFFFF; --accent: #0D3B66; --accent2: #082A4A;
  --blue: #0D3B66; --blue-light: #EEF3F8; --purple: #5B4A7A;
  --radius-lg: 3px; --shadow: none; --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
  --transition: .15s ease; --serif: var(--font);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font); font-size: 14px; line-height: 1.45;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── CASETE ───────────────────────────────────────────────────── */
.box { background: var(--panel); border: 1px solid var(--border); }
.box-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
}
.box-head h2, .box-head h1 { font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.box-head .more { font-size: 13px; }
.box-head-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.box-head-tabs h2 { font-size: 15px; text-transform: uppercase; padding: 11px 0; border-bottom: 3px solid var(--orange); margin-bottom: -1px; }
.box-head-tabs a { color: var(--text-2); font-weight: 600; padding: 11px 0; }
.box-head-tabs .more { margin-left: auto; color: var(--navy); font-weight: 400; font-size: 13px; }
.box-body { padding: 16px; }

/* ── BUTOANE ──────────────────────────────────────────────────── */
.btn, .btn-primary, .btn-outline, .btn-cart, .btn-navy, .btn-danger, .btn-success {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 700; font-size: 14px; line-height: 1; text-decoration: none; cursor: pointer;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary, .btn-cart { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover, .btn-cart:hover { background: var(--orange-dark); border-color: var(--orange-dark); text-decoration: none; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); text-decoration: none; color: #fff; }
.btn-outline { background: var(--panel); color: var(--navy); border-color: var(--navy); font-weight: 600; }
.btn-outline:hover { background: var(--navy-pale); text-decoration: none; }
.btn-danger { background: var(--red); color: #fff; }
.btn-success { background: var(--green); color: #fff; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled], .btn-cart[disabled], .btn-primary[disabled] { opacity: .5; cursor: not-allowed; }

/* ── BARA UTILITARĂ ───────────────────────────────────────────── */
.utilbar { background: var(--panel); border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-2); }
.utilbar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 6px 0; }
.utilbar-links { display: flex; flex-wrap: wrap; gap: 16px; }
.utilbar a { color: var(--text-2); }

/* ── ANTET ────────────────────────────────────────────────────── */
.header { background: var(--panel); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; color: inherit; }
.logo:hover { text-decoration: none; }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-size: 21px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.logo-domain { font-size: 11px; color: var(--text-2); letter-spacing: .04em; }

.search { flex: 1 1 380px; min-width: 0; display: flex; height: 42px; }
.search select {
  height: 42px; padding: 0 10px; border: 1px solid var(--border-2); border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius); background: var(--panel-2); color: #333; font-size: 13px; max-width: 170px;
}
.search input {
  flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--border-2);
  background: var(--panel); color: var(--text); font-size: 14px;
}
.search input:focus, .search select:focus { outline: 2px solid var(--navy); outline-offset: -2px; }
.search button {
  width: 52px; height: 42px; border: 0; border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center;
}
.search button:hover { background: var(--orange-dark); }

.header-phone { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone svg { width: 30px; height: 30px; color: var(--navy); flex: none; }
.header-phone small { display: block; font-size: 11px; color: var(--text-2); line-height: 1.2; }
.header-phone a { font-size: 16px; font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 20px; flex: none; }
.hact { display: flex; align-items: center; gap: 8px; color: var(--text); position: relative; }
.hact:hover { text-decoration: none; }
.hact svg { width: 27px; height: 27px; color: var(--navy); flex: none; }
.hact small { display: block; font-size: 11px; color: var(--text-2); line-height: 1.2; }
.hact strong { display: block; font-size: 14px; line-height: 1.2; }
.hact-icon { position: relative; display: flex; }
.cart-badge {
  position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.user-menu { position: relative; }
.user-menu .dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 200px;
  background: var(--panel); border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 6px 0;
}
.user-menu:hover .dropdown, .user-menu:focus-within .dropdown { display: block; }
.user-menu .dropdown a { display: block; padding: 9px 14px; color: var(--text); font-size: 13px; }
.user-menu .dropdown a:hover { background: var(--panel-2); text-decoration: none; }
.user-menu .dropdown hr { border: 0; border-top: 1px solid var(--border); margin: 6px 0; }
.user-menu .dropdown .logout { color: var(--red); }

.hamburger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border-2); border-radius: var(--radius);
  background: var(--panel); color: var(--navy); align-items: center; justify-content: center; margin-left: auto;
}

/* ── BARA DE CATEGORII ────────────────────────────────────────── */
.catnav { background: var(--navy); }
.catnav-inner { display: flex; flex-wrap: wrap; align-items: stretch; font-size: 14px; font-weight: 600; }
.catnav a { display: flex; align-items: center; height: 44px; padding: 0 16px; color: #fff; white-space: nowrap; }
.catnav a:hover { background: var(--navy-dark); text-decoration: none; }
.catnav .catnav-all { background: var(--orange); gap: 10px; padding: 0 18px; }
.catnav .catnav-all:hover { background: var(--orange-dark); }
.catnav .catnav-hot { color: #FFD39B; }

/* ── MENIU MOBIL ──────────────────────────────────────────────── */
.mobile-menu { display: none; background: var(--panel); border-top: 1px solid var(--border); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 20px; border-bottom: 1px solid var(--border-soft); color: var(--text); font-weight: 600; }
.mobile-menu .mm-title { padding: 10px 20px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-3); }

/* ── MESAJE ───────────────────────────────────────────────────── */
.flash-container { position: fixed; top: 16px; right: 16px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; max-width: 380px; }
.flash {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px;
  border-radius: var(--radius); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lg); border-left: 4px solid;
  background: var(--panel); color: var(--text);
}
.flash-success { border-color: var(--green); }
.flash-danger, .flash-error { border-color: var(--red); }
.flash-warning { border-color: var(--amber); }
.flash-info { border-color: var(--navy); }
.flash button { border: 0; background: none; color: inherit; opacity: .5; font-size: 19px; line-height: 1; }

/* ── BREADCRUMBS ──────────────────────────────────────────────── */
.breadcrumb { font-size: 12px; color: var(--text-2); padding: 12px 0 0; }
.breadcrumb .container, .breadcrumb-inner { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb span:last-child, .breadcrumb .current { color: var(--text); font-weight: 600; }

/* ── LAYOUT MAGAZIN ───────────────────────────────────────────── */
.page { padding: 12px 0 24px; }
.section { padding: 16px 0 24px; }
.shop-layout { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.shop-side { flex: 0 0 260px; display: flex; flex-direction: column; gap: 12px; }
.shop-main { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* listă de categorii (coloana stângă) */
.side-head { padding: 10px 14px; background: var(--panel-2); border-bottom: 1px solid var(--border); font-weight: 700; font-size: 13px; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.side-head a { font-weight: 400; text-transform: none; font-size: 12px; }
.side-list { list-style: none; padding: 4px 0; }
.side-list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 14px; color: var(--text); border-bottom: 1px solid var(--border-soft); }
.side-list li:last-child a { border-bottom: 0; }
.side-list a:hover { background: var(--panel-2); text-decoration: none; }
.side-list a.active { font-weight: 700; color: var(--navy); }
.side-list .count { font-size: 12px; color: var(--text-3); }
.side-list .sub a { padding-left: 28px; font-size: 13px; }

/* filtre */
.filter-group { padding: 12px 14px; border-bottom: 1px solid var(--border-soft); }
.filter-group:last-child { border-bottom: 0; }
.filter-group legend, .filter-group .filter-title { font-weight: 700; font-size: 13px; margin-bottom: 8px; display: block; }
.filter-group fieldset { border: 0; }
.check { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; color: var(--text); cursor: pointer; }
.check:hover { text-decoration: none; color: var(--navy); }
.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--navy); }
.check .fake { width: 16px; height: 16px; border: 1px solid var(--border-2); border-radius: 2px; flex: none; background: var(--panel); position: relative; }
.check.active .fake { background: var(--navy); border-color: var(--navy); }
.check.active .fake::after { content: ''; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check .label { flex: 1; }
.check .count { font-size: 12px; color: var(--text-3); }
.price-filter { display: flex; align-items: center; gap: 8px; }
.price-filter input { width: 72px; height: 34px; padding: 0 8px; border: 1px solid var(--border-2); border-radius: var(--radius); font-size: 13px; }
.price-filter button { height: 34px; padding: 0 12px; border: 1px solid var(--navy); border-radius: var(--radius); background: var(--panel); color: var(--navy); font-weight: 600; font-size: 13px; }

/* casetă promo laterală */
.side-promo { padding: 14px; display: flex; flex-direction: column; gap: 4px; color: var(--text); }
.side-promo:hover { text-decoration: none; }
.side-promo .kicker { font-size: 11px; font-weight: 700; color: var(--orange); text-transform: uppercase; }
.side-promo strong { color: var(--navy); font-size: 14px; }
.side-promo small { font-size: 12px; color: var(--text-2); }

/* ── BANNERE PRIMA PAGINĂ ─────────────────────────────────────── */
.banners { display: flex; flex-wrap: wrap; gap: 16px; }
.banner-main {
  flex: 2 1 420px; min-height: 300px; background: var(--navy); color: #fff; display: flex; align-items: center; gap: 24px;
  padding: 28px 32px; text-decoration: none;
}
.banner-main:hover { text-decoration: none; color: #fff; }
.banner-main-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.banner-main .kicker { font-size: 12px; font-weight: 700; color: #FFD39B; text-transform: uppercase; letter-spacing: .06em; }
.banner-main h2 { font-size: 26px; line-height: 1.2; }
.banner-main p { color: #D5E0EC; font-size: 14px; }
.banner-main .price { font-size: 26px; font-weight: 700; }
.banner-main .price small { font-size: 12px; font-weight: 400; color: #D5E0EC; margin-left: 8px; }
.banner-main .btn-cart { align-self: flex-start; margin-top: 6px; }
.banner-main img { width: 170px; flex: none; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.banner-side { flex: 1 1 220px; display: flex; flex-direction: column; gap: 16px; }
.banner-small { flex: 1; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; justify-content: center; color: var(--text); }
.banner-small:hover { text-decoration: none; border-color: var(--navy); }
.banner-small .kicker { font-size: 12px; font-weight: 700; color: var(--orange); text-transform: uppercase; }
.banner-small strong { font-size: 17px; color: var(--navy); line-height: 1.3; }
.banner-small small { font-size: 13px; color: var(--text-2); }

/* beneficii */
.usp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.usp div { background: var(--panel); padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.usp svg { width: 26px; height: 26px; color: var(--navy); flex: none; }
.usp b { display: block; font-size: 13px; }
.usp small { display: block; font-size: 12px; color: var(--text-2); }

/* edituri */
.pub-strip { padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 10px; }
.pub-strip .label { font-weight: 700; font-size: 13px; text-transform: uppercase; margin-right: 10px; }
.pub-strip a { padding: 8px 14px; border: 1px solid var(--border); color: #333; font-size: 13px; font-weight: 600; }
.pub-strip a:hover { border-color: var(--navy); text-decoration: none; }

/* ── GRILĂ ȘI CARD PRODUS ─────────────────────────────────────── */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--border); }
.pgrid-gap { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; background: none; }
.pgrid-gap .pcard { border: 1px solid var(--border); }
.pcard { background: var(--panel); padding: 14px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.pcard:hover { outline: 1px solid var(--navy); outline-offset: -1px; z-index: 1; }
.pcard-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 2px 8px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.pcard-badge-red { background: var(--red); }
.pcard-badge-navy { background: var(--navy); }
.pcard-img { display: flex; align-items: center; justify-content: center; height: 190px; }
.pcard-img img { max-height: 190px; max-width: 100%; width: auto; object-fit: contain; }
.pcard-noimg { width: 120px; height: 170px; background: var(--panel-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--text-3); text-align: center; padding: 8px; }
.pcard-pub { font-size: 11px; color: var(--text-3); text-transform: uppercase; }
.pcard-title { font-size: 13px; font-weight: 600; line-height: 1.35; height: 36px; overflow: hidden; }
.pcard-title a { color: var(--text); }
.pcard-sku { font-size: 12px; color: var(--text-2); }
.pcard-price { font-size: 18px; font-weight: 700; color: var(--navy); }
.pcard-price small { font-size: 12px; font-weight: 400; color: var(--text-2); }
.pcard-price s { font-size: 13px; font-weight: 400; color: var(--text-3); margin-left: 6px; }
.pcard form { display: contents; }
.pcard .btn-cart, .pcard .btn-outline { height: 38px; font-size: 13px; width: 100%; }
.pcard .btn-muted { height: 38px; font-size: 13px; width: 100%; background: var(--panel-2); color: var(--text-3); border-color: var(--border); cursor: not-allowed; }

/* stoc */
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: currentColor; }
.stock-ok { color: var(--green); }
.stock-low { color: var(--amber); }
.stock-out { color: var(--red); }
.stock-cerere { color: var(--navy); }
.stock-preorder { color: var(--navy); }

/* ── LISTARE ──────────────────────────────────────────────────── */
.list-head { padding: 14px 16px; }
.list-head h1 { font-size: 22px; }
.list-head h1 small { font-size: 14px; font-weight: 400; color: var(--text-2); }
.list-head p { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.toolbar { padding: 8px 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13px; }
.toolbar label { color: var(--text-2); }
.toolbar select { height: 34px; padding: 0 8px; border: 1px solid var(--border-2); border-radius: var(--radius); background: var(--panel); font-size: 13px; }
.toolbar .range { margin-left: auto; color: var(--text-2); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; font-size: 12px; align-items: center; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--navy-pale); color: var(--navy); border-radius: var(--radius); font-weight: 600; }
.pagination { padding: 10px 12px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; font-size: 13px; }
.pagination a, .pagination span { min-width: 34px; height: 34px; padding: 0 8px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius); color: var(--navy); }
.pagination a:hover { border-color: var(--navy); text-decoration: none; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }
.pagination .gap, .pagination .disabled { border-color: transparent; color: var(--text-3); }
.seo-text { padding: 16px; font-size: 13px; color: var(--text-2); line-height: 1.6; }
.seo-text h2 { font-size: 15px; color: var(--text); margin-bottom: 6px; }

/* ── PAGINĂ PRODUS ────────────────────────────────────────────── */
.pdp { padding: 24px; display: flex; flex-wrap: wrap; gap: 32px; }
.pdp-gallery { flex: 0 1 380px; display: flex; flex-direction: column; gap: 12px; }
.pdp-main { border: 1px solid var(--border); height: 460px; display: flex; align-items: center; justify-content: center; padding: 20px; position: relative; }
.pdp-main img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; cursor: zoom-in; }
.pdp-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-thumb { width: 70px; height: 90px; border: 1px solid var(--border); background: var(--panel); padding: 4px; display: flex; align-items: center; justify-content: center; }
.pdp-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pdp-thumb.active { border: 2px solid var(--navy); }
.pdp-info { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pdp-info h1 { font-size: 24px; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--text-2); }
.pdp-meta strong { color: var(--text); }
.pdp-lead { font-size: 14px; color: #444; line-height: 1.6; }
.spec { border-collapse: collapse; font-size: 13px; width: 100%; max-width: 440px; }
.spec th { text-align: left; padding: 6px 0; color: var(--text-2); font-weight: 400; border-bottom: 1px solid var(--border-soft); width: 150px; vertical-align: top; }
.spec td { padding: 6px 0; border-bottom: 1px solid var(--border-soft); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.tags a { padding: 4px 10px; background: var(--navy-pale); color: var(--navy); font-weight: 600; }
.buybox { flex: 0 0 300px; border: 1px solid var(--border); padding: 18px; display: flex; flex-direction: column; gap: 12px; align-self: flex-start; background: #FAFBFC; }
.buybox .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.buybox .price b { font-size: 28px; font-weight: 700; color: var(--navy); }
.buybox .price s { font-size: 15px; color: var(--text-3); }
.buybox .price small { font-size: 12px; color: var(--text-2); }
.buybox .stock { font-size: 13px; font-weight: 700; }
.qty-row { display: flex; gap: 8px; align-items: center; }
.qty-row label { font-size: 13px; color: var(--text-2); }
.qty-ctrl { display: flex; align-items: center; border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.qty-ctrl button { width: 38px; height: 40px; border: 0; background: var(--panel-2); color: var(--text-2); font-size: 17px; }
.qty-ctrl button:hover { background: var(--border); color: var(--text); }
.qty-ctrl input { width: 52px; height: 40px; border: 0; border-left: 1px solid var(--border-2); border-right: 1px solid var(--border-2); text-align: center; font-size: 15px; font-weight: 600; background: var(--panel); color: var(--text); }
.buybox .btn-cart { height: 46px; font-size: 15px; }
.buybox-notes { list-style: none; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: #444; }
.buybox-notes li { display: flex; gap: 8px; align-items: flex-start; }
.buybox-notes svg { width: 16px; height: 16px; color: var(--navy); flex: none; margin-top: 1px; }
.options-box { border: 1px solid var(--border); background: var(--panel); padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.options-box .opt-title { font-size: 13px; font-weight: 700; }
.options-box .req { color: var(--red); font-size: 11px; font-weight: 400; }
.options-box select, .options-box textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--border-2); border-radius: var(--radius); font-size: 13px; background: var(--panel); }
.option-radio { display: flex; flex-wrap: wrap; gap: 6px; }
.option-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.option-radio label { padding: 7px 12px; border: 1px solid var(--border-2); border-radius: var(--radius); font-size: 13px; cursor: pointer; background: var(--panel); }
.option-radio input:checked + label { background: var(--navy); color: #fff; border-color: var(--navy); }
.option-radio input:focus-visible + label { outline: 2px solid var(--orange); }

.tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding: 0 16px; font-size: 14px; font-weight: 600; }
.tabs button { padding: 12px 16px; border: 0; background: none; color: var(--text-2); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs button.active { color: var(--text); border-bottom-color: var(--orange); }
.tab-panel { display: none; padding: 20px 24px; font-size: 14px; color: #333; line-height: 1.7; max-width: 900px; }
.tab-panel.active { display: block; }
.tab-panel p { margin-bottom: 12px; }
.tab-panel ul, .tab-panel ol { margin: 0 0 12px 20px; }
.tab-panel h3 { font-size: 15px; margin: 16px 0 8px; }

/* răsfoiește cartea */
.pages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; padding: 16px; }
.page-thumb { border: 1px solid var(--border); background: var(--panel-2); padding: 6px; cursor: zoom-in; display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; }
.page-thumb:hover { border-color: var(--navy); }
.page-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.viewer { display: none; position: fixed; inset: 0; background: rgba(10,14,20,.95); z-index: 9999; flex-direction: column; }
.viewer.open { display: flex; }
.viewer-stage { flex: 1; display: flex; align-items: center; justify-content: center; overflow: auto; padding: 56px 64px 16px; }
.viewer-stage img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; cursor: zoom-in; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.viewer-stage.zoomed { align-items: flex-start; }
.viewer-stage.zoomed img { max-width: none; max-height: none; width: 160%; cursor: zoom-out; }
.viewer-close { position: absolute; top: 10px; right: 14px; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 34px; line-height: 1; }
.viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 72px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 40px; line-height: 1; }
.viewer-nav:hover { background: rgba(255,255,255,.25); }
.viewer-prev { left: 8px; } .viewer-next { right: 8px; }
.viewer-bar { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 10px; color: #D5E0EC; font-size: 13px; }
.viewer-bar button { border: 1px solid rgba(255,255,255,.4); background: none; color: #fff; padding: 6px 12px; border-radius: var(--radius); font-size: 13px; }
@media (max-width: 600px) { .viewer-stage { padding: 52px 8px 8px; } .viewer-nav { width: 40px; height: 60px; font-size: 32px; } .viewer-stage.zoomed img { width: 220%; } }

/* prezentare structurată */
.pres { padding: 0; }
.pres-head { padding: 28px 32px 20px; background: var(--navy); color: #fff; }
.pres-head h2 { font-size: 24px; line-height: 1.25; margin-bottom: 10px; }
.pres-head p { font-size: 15px; line-height: 1.6; color: #D5E0EC; max-width: 820px; }
.pres-cols { display: flex; flex-wrap: wrap; gap: 1px; background: var(--border); border-bottom: 1px solid var(--border); }
.pres-col { flex: 1 1 260px; background: var(--panel); padding: 20px 24px; }
.pres-col-wide { flex: 2 1 360px; }
.pres h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); margin-bottom: 12px; }
.pres-check { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.pres-check li { padding-left: 24px; position: relative; }
.pres-check li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 6px; height: 11px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pres-topics { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 20px; font-size: 14px; }
.pres-topics li { padding: 6px 0 6px 14px; border-bottom: 1px solid var(--border-soft); position: relative; }
.pres-topics li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; background: var(--orange); }
.pres-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--border); border-bottom: 1px solid var(--border); }
.pres-hl { background: var(--panel-2); padding: 16px 20px; display: flex; gap: 12px; font-size: 14px; line-height: 1.45; }
.pres-hl .n { flex: none; width: 28px; height: 28px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.pres-why { padding: 20px 24px; }
.pres-why ul { margin-left: 20px; font-size: 14px; line-height: 1.6; }
.pres-why li { margin-bottom: 4px; }
@media (max-width: 600px) { .pres-head { padding: 20px; } .pres-head h2 { font-size: 20px; } }

/* ── COȘ / CHECKOUT / CONT (generice, până la refacere) ───────── */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
.cart-table { background: var(--panel); border: 1px solid var(--border); }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto auto auto; gap: 18px; align-items: center; padding: 16px; border-bottom: 1px solid var(--border-soft); }
.cart-item:last-child { border-bottom: 0; }
.cart-item-img { width: 80px; height: 90px; background: var(--panel-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-item-name { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.cart-item-meta { font-size: 12px; color: var(--text-2); }
.cart-item-remove { font-size: 12px; color: var(--red); margin-top: 7px; display: inline-block; cursor: pointer; }
.cart-item-subtotal { font-size: 16px; font-weight: 700; min-width: 96px; text-align: right; }
.cart-summary { background: var(--panel); border: 1px solid var(--border); padding: 18px; }
.cart-summary h3 { font-size: 16px; text-transform: uppercase; margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--border-soft); color: var(--text-2); }
.summary-row:last-of-type { border-bottom: 0; border-top: 1px solid var(--text); font-weight: 700; font-size: 16px; color: var(--text); padding-top: 12px; margin-top: 6px; }
.summary-row .free { color: var(--green); font-weight: 600; }
.summary-total-price { color: var(--navy) !important; }
.shipping-note { background: var(--amber-pale); border-left: 3px solid var(--amber); padding: 10px 12px; font-size: 12px; color: #6b4a0f; margin: 12px 0; line-height: 1.5; }
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 16px; align-items: start; }
.form-card { background: var(--panel); border: 1px solid var(--border); padding: 20px; margin-bottom: 16px; }
.form-card h3 { font-size: 15px; text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.form-card h3 i { color: var(--navy); }
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 12px; font-weight: 700; color: var(--text-2); margin-bottom: 5px; }
.form-control { width: 100%; height: 40px; border: 1px solid var(--border-2); border-radius: var(--radius); padding: 0 12px; font-size: 14px; background: var(--panel); color: var(--text); }
textarea.form-control { height: auto; padding: 10px 12px; }
.form-control:focus { outline: 2px solid var(--navy); outline-offset: -2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-page { min-height: 60vh; display: flex; align-items: flex-start; justify-content: center; padding: 32px 20px; }
.auth-card { background: var(--panel); border: 1px solid var(--border); padding: 28px; width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 22px; margin-bottom: 6px; }
.auth-card p.subtitle { color: var(--text-2); font-size: 13px; margin-bottom: 20px; }
.auth-footer { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text-2); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--radius); font-size: 11.5px; font-weight: 700; }
.badge-success { background: var(--green-pale); color: #166B2E; }
.badge-warning { background: var(--amber-pale); color: #6b4a0f; }
.badge-danger { background: var(--red-pale); color: #8a2721; }
.badge-info { background: var(--navy-pale); color: var(--navy); }
.badge-secondary { background: var(--panel-2); color: var(--text-2); }
.badge-purple { background: #EFE9F5; color: var(--purple); }
.table-wrap { background: var(--panel); border: 1px solid var(--border); overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table-wrap th { background: var(--panel-2); padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 700; color: var(--text-2); border-bottom: 1px solid var(--border); }
.table-wrap td { padding: 12px 14px; border-bottom: 1px solid var(--border-soft); }
.table-wrap tr:last-child td { border-bottom: 0; }
.empty-state { text-align: center; padding: 60px 20px; background: var(--panel); border: 1px solid var(--border); }
.empty-state .empty-icon { font-size: 40px; margin-bottom: 14px; opacity: .3; }
.empty-state h2 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { color: var(--text-2); margin-bottom: 18px; }

/* ── PAGINI DE CONT / COMANDĂ / INFORMAȚII ────────────────────── */
.page-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; padding: 14px 16px; }
.page-title h1 { font-size: 22px; }
.page-title small { font-size: 14px; color: var(--text-2); }
.narrow { max-width: 760px; margin: 0 auto; }
.notice { padding: 12px 14px; border-left: 4px solid var(--navy); background: var(--navy-pale); font-size: 13px; line-height: 1.5; }
.notice-warn { border-color: var(--amber); background: var(--amber-pale); }
.notice-ok { border-color: var(--green); background: var(--green-pale); }
.notice-err { border-color: var(--red); background: var(--red-pale); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* alegere cu radio (tip client, livrare, plată) */
.choices { display: flex; flex-direction: column; gap: 8px; }
.choices-row { flex-direction: row; flex-wrap: wrap; }
.choices-row .choice { flex: 1 1 200px; }
.choice { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--border-2); border-radius: var(--radius); cursor: pointer; background: var(--panel); }
.choice:has(input:checked) { border-color: var(--navy); background: var(--navy-pale); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input { margin-top: 3px; accent-color: var(--navy); width: 16px; height: 16px; flex: none; }
.choice b { display: block; font-size: 14px; }
.choice small { display: block; font-size: 12px; color: var(--text-2); margin-top: 2px; }
.choice .tag { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--green); white-space: nowrap; }
.sub-block { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-soft); }
.form-hint { font-size: 12px; color: var(--text-2); margin-top: 4px; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.form-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--navy); }

/* sumar comandă */
.summary-items { display: flex; flex-direction: column; margin-bottom: 8px; }
.summary-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--border-soft); font-size: 13px; }
.summary-item .thumb { width: 44px; height: 56px; flex: none; border: 1px solid var(--border); background: var(--panel-2); display: flex; align-items: center; justify-content: center; }
.summary-item .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.summary-item .name { flex: 1; min-width: 0; }
.summary-item .name small { display: block; color: var(--text-2); font-size: 12px; }
.summary-item .sum { font-weight: 600; white-space: nowrap; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { text-transform: uppercase; font-weight: 600; letter-spacing: .04em; }
.promo-applied { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; background: var(--green-pale); border: 1px solid #BFE3C9; font-size: 13px; }
.promo-applied b { color: #166B2E; }
.promo-applied button { border: 1px solid #BFE3C9; background: var(--panel); border-radius: var(--radius); padding: 5px 10px; font-size: 12px; color: #166B2E; }
.cart-item-options { margin-top: 6px; display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--text-2); }

/* detalii comandă */
.kv { display: flex; flex-direction: column; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.kv div:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--text-2); }
.kv strong.total { color: var(--navy); font-size: 16px; }
.order-items { width: 100%; border-collapse: collapse; font-size: 13px; }
.order-items th { text-align: left; padding: 8px 0; color: var(--text-2); font-weight: 600; border-bottom: 1px solid var(--border); font-size: 12px; }
.order-items td { padding: 8px 0; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.order-items .r { text-align: right; white-space: nowrap; }
.success-head { text-align: center; padding: 28px 20px 20px; }
.success-head .mark { width: 56px; height: 56px; border-radius: 28px; background: var(--green-pale); color: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.success-head h1 { font-size: 24px; }
.success-head p { color: var(--text-2); margin-top: 6px; }
.stripe-box { padding: 16px; border: 1px solid var(--border); background: var(--panel); }
#payment-message { color: var(--red); font-size: 13px; margin-top: 10px; font-weight: 600; }

/* pachete "cumpără împreună" */
.bundle { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; padding: 16px; border-bottom: 1px solid var(--border-soft); }
.bundle:last-child { border-bottom: 0; }
.bundle-items { flex: 1 1 420px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bundle-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bundle-item .thumb { width: 56px; height: 72px; flex: none; border: 1px solid var(--border); background: var(--panel-2); display: flex; align-items: center; justify-content: center; }
.bundle-item .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bundle-item .name { font-size: 13px; font-weight: 600; max-width: 200px; }
.bundle-item .name small { display: block; font-weight: 400; color: var(--text-2); }
.bundle-plus { font-size: 22px; color: var(--text-3); padding: 0 4px; }
.bundle-buy { flex: 0 1 260px; display: flex; flex-direction: column; gap: 6px; }
.bundle-buy .label { font-size: 12px; color: var(--text-2); }
.bundle-buy b { font-size: 22px; color: var(--navy); }
.bundle-buy s { color: var(--text-3); font-size: 13px; }
.bundle-buy .save { font-size: 12px; font-weight: 700; color: var(--green); }
.bundle-buy form { display: contents; }
.cart-item .bundle-tag { display: inline-block; margin-top: 4px; padding: 2px 8px; background: var(--navy-pale); color: var(--navy); font-size: 11px; font-weight: 700; }

/* noutăți */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-card { display: flex; flex-wrap: wrap; gap: 16px; padding: 16px; }
.news-card .news-thumb { flex: 0 0 220px; max-height: 160px; overflow: hidden; border: 1px solid var(--border); }
.news-card .news-thumb img { width: 100%; height: 160px; object-fit: cover; }
.news-body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.news-body time, .news-item time { font-size: 12px; color: var(--text-2); }
.news-body h2 { font-size: 18px; }
.news-body h2 a { color: var(--text); }
.news-body p { font-size: 14px; color: #444; line-height: 1.55; }
.news-body .more { font-weight: 600; font-size: 13px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--border); }
.news-item { background: var(--panel); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.news-item .news-thumb { display: block; height: 150px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 4px; }
.news-item .news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item h3 { font-size: 15px; line-height: 1.35; }
.news-item h3 a { color: var(--text); }
.news-item p { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* pagini de informații */
.info-layout { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.info-nav { flex: 0 0 260px; }
.info-main { flex: 1 1 560px; min-width: 0; }
.prose { padding: 24px; font-size: 14px; line-height: 1.7; color: #333; max-width: 860px; }
.prose h1 { font-size: 24px; margin-bottom: 12px; color: var(--text); }
.prose h2 { font-size: 17px; margin: 22px 0 8px; color: var(--text); }
.prose h3 { font-size: 15px; margin: 16px 0 6px; }
.prose p { margin-bottom: 12px; }
.prose ul, .prose ol { margin: 0 0 12px 22px; }
.prose li { margin-bottom: 4px; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 14px; font-size: 13px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 7px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--panel-2); }
.prose .lead { font-size: 15px; color: var(--text-2); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.contact-grid > div { border: 1px solid var(--border); padding: 14px; }
.contact-grid b { display: block; margin-bottom: 6px; }
@media (max-width: 900px) { .info-nav { flex: 1 1 100%; } }

/* ── SUBSOL ───────────────────────────────────────────────────── */
.footer { background: var(--panel); border-top: 1px solid var(--border); font-size: 13px; color: #444; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; padding: 32px 0 20px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; color: var(--text); }
.footer-col a, .footer-col span { color: #444; }
.footer-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; padding-bottom: 16px; }
.footer-pay .label { font-size: 12px; color: var(--text-2); margin-right: 8px; }
.footer-pay .pay { padding: 5px 10px; border: 1px solid var(--border-2); border-radius: var(--radius); font-size: 11px; font-weight: 700; color: #333; }
.footer-pay .legal-badges { margin-left: auto; display: flex; gap: 8px; }
.footer-pay .legal-badges a { height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-2); padding: 0 10px; font-size: 11px; color: var(--text-2); font-weight: 600; }
.footer-bottom { border-top: 1px solid var(--border); padding: 12px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 12px; color: var(--text-2); }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .usp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .buybox { flex: 1 1 300px; }
}
@media (max-width: 900px) {
  .utilbar-links, .header-phone, .catnav, .hact-account { display: none; }
  .hamburger { display: flex; }
  .header-inner { gap: 12px 16px; }
  .search { order: 10; flex: 1 1 100%; }
  .header-actions { gap: 12px; margin-left: auto; }
  .hact small, .hact strong { display: none; }
  .shop-side { flex: 1 1 100%; }
  .shop-side .side-cats { display: none; }
  .shop-side.open .side-cats { display: block; }
  .filter-toggle { display: inline-flex; }
  .pdp { padding: 16px; gap: 20px; }
  .pdp-gallery { flex: 1 1 100%; }
  .pdp-main { height: 360px; }
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item-subtotal { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (min-width: 901px) { .filter-toggle { display: none; } }
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .logo-name { font-size: 18px; }
  .utilbar-inner > span:first-child { display: none; }
  .utilbar-inner { justify-content: center; }
  .pgrid, .pgrid-gap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard { padding: 10px; }
  .pcard-img { height: 150px; }
  .pcard-img img { max-height: 150px; }
  .banner-main { padding: 20px; flex-wrap: wrap; }
  .banner-main img { width: 120px; }
  .banner-main h2 { font-size: 20px; }
  .usp { grid-template-columns: 1fr; }
  .footer-pay .legal-badges { margin-left: 0; }
  .pdp-info h1 { font-size: 20px; }
  .tab-panel { padding: 16px; }
}

/* ── MOBIL: antet albastru fix, categorii ca butoane, produse pe care le glisezi ── */
.cat-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.cat-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border: 1px solid var(--border-2); border-radius: 18px; background: var(--panel); color: var(--text); font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip:hover { text-decoration: none; border-color: var(--navy); }
.chip-hot { background: var(--orange); border-color: var(--orange); color: #fff; }
@media (max-width: 900px) {
  .utilbar { display: none; }
  .header { position: sticky; top: 0; z-index: 60; background: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  .logo-name { color: #fff; }
  .logo-domain { color: #B8C4D6; }
  .logo svg rect[fill="#0D3B66"] { fill: #fff; }
  .hamburger { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
  .hact { color: #fff; }
  .hact svg { color: #fff; }
  .search select { display: none; }
  .search input { border: 0; border-radius: var(--radius) 0 0 var(--radius); }
  .home-side { display: none; }
  .page.stack { gap: 12px; padding-top: 12px; }
}
@media (max-width: 600px) {
  /* banner principal compact */
  .banner-main { min-height: 0; padding: 16px; gap: 14px; flex-wrap: nowrap; align-items: center; }
  .banner-main img { width: 92px; order: -1; }
  .banner-main h2 { font-size: 16px; }
  .banner-main p { display: none; }
  .banner-main .price { font-size: 20px; }
  .banner-main .btn-cart { height: 34px; font-size: 13px; padding: 0 14px; }
  .banner-side { display: none; }
  /* avantaje: o singură bandă care se derulează */
  .usp { display: flex; overflow-x: auto; scrollbar-width: none; gap: 0; background: var(--panel); }
  .usp::-webkit-scrollbar { display: none; }
  .usp div { flex: 0 0 auto; padding: 10px 14px; border-right: 1px solid var(--border); }
  .usp svg { width: 22px; height: 22px; }
  /* rânduri de produse pe care le glisezi orizontal */
  .pgrid-swipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1px; scrollbar-width: none; }
  .pgrid-swipe::-webkit-scrollbar { display: none; }
  .pgrid-swipe .pcard { flex: 0 0 44%; scroll-snap-align: start; }
  .box-head-tabs { gap: 0 16px; }
  .box-head-tabs a:not(.more) { display: none; }
}
@media (min-width: 901px) { .cat-chips { display: none; } }
