/* ==========================================================
   AntiDaunatori.ro - "fisa tehnica"
   Hartie crem, cerneala verde, rosul de avertizare din pictograme.
   Fonts: Archivo (display, axa wdth), Figtree (text). SIL OFL.
   ========================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-wdth.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@font-face {
  font-family: 'Figtree';
  src: url('fonts/figtree.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ink: #0f3b2c;
  --ink-2: #1d5a43;
  --ink-soft: #3e5b50;
  --paper: #f6f1e6;
  --paper-2: #eee6d4;
  --card: #fffdf8;
  --line: #ddd3bd;
  --line-strong: #c8bb9e;
  --signal: #c8322a;
  --signal-dark: #b8291f;
  --amber: #f2a93b;
  --muted: #5d6b62;
  --ok: #2e7d32;

  /* aliases kept for older markup */
  --color-primary: var(--ink);
  --color-primary-dark: var(--ink);
  --color-text: #17241e;
  --color-text-secondary: var(--ink-soft);
  --color-text-muted: var(--muted);
  --color-bg: var(--paper);
  --color-bg-white: var(--card);
  --color-bg-alt: var(--paper-2);
  --color-border: var(--line);
  --color-success: var(--ok);
  --color-danger: var(--signal);

  --font-display: 'Archivo', 'Arial Narrow', sans-serif;
  --font-text: 'Figtree', 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 0 rgba(15, 59, 44, .06), 0 10px 30px -18px rgba(15, 59, 44, .35);
  --shadow-lift: 0 2px 0 rgba(15, 59, 44, .08), 0 22px 40px -22px rgba(15, 59, 44, .45);
  --header-height: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(15, 59, 44, .045) 1px, transparent 1px);
  background-size: 18px 18px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-stretch: 80%; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--signal-dark);
}
.eyebrow::before { content: ''; width: 18px; height: 3px; background: var(--signal); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
  background: var(--ink); color: #fff;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--signal); color: #fff; box-shadow: 0 8px 20px -10px rgba(226, 59, 46, .8); }
.btn-primary:hover { background: var(--signal-dark); }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-outline, .btn-ghost { background: transparent; border-color: currentColor; }
.btn-outline { color: var(--ink); }
.btn-sm { padding: 7px 14px; font-size: .875rem; }
.btn-lg { padding: 14px 24px; font-size: 1.02rem; }
.btn-text { background: none; border: 0; color: var(--signal-dark); font-weight: 700; cursor: pointer; padding: 4px; }
.btn-link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; cursor: pointer; font: inherit; }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--ink); color: #dfe9e2; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar-phone { color: #fff; font-weight: 700; white-space: nowrap; }
.topbar-phone span { color: var(--amber); font-weight: 600; margin-left: 4px; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 241, 230, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; gap: 24px; height: var(--header-height); }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { flex-shrink: 0; }
.logo-text {
  font-family: var(--font-display); font-stretch: 78%; font-weight: 600; font-size: 1.55rem;
  color: var(--ink); letter-spacing: -.01em; line-height: 1;
}
.logo-text strong { font-weight: 850; }
.logo-text small { font-size: .7em; color: var(--signal); font-weight: 700; margin-left: 1px; }

.search-box { position: relative; flex: 1; max-width: 560px; margin-left: auto; }
.search-box input {
  width: 100%; height: 48px; padding: 0 18px 0 48px;
  border: 2px solid var(--line-strong); border-radius: 999px; background: var(--card);
  transition: border-color .2s, box-shadow .2s;
}
.search-box input::placeholder { color: var(--muted); }
.search-box input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15, 59, 44, .12); }
.search-icon { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }

.search-suggestions {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 120;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); max-height: 420px; overflow-y: auto; display: none;
}
.search-suggestions.active { display: block; }
.search-suggestion { display: flex; gap: 12px; align-items: center; padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--paper-2); }
.search-suggestion:hover { background: var(--paper); }
.search-suggestion img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 6px; }
.search-suggestion mark { background: rgba(242, 169, 59, .35); color: inherit; }

.header-cta { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.header-cta svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--signal); color: #fff; }
.header-cta span { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; line-height: 1.1; }
.header-cta small { font-family: var(--font-text); font-weight: 500; font-size: .74rem; color: var(--muted); }

/* hub nav under the header */
.site-nav { background: var(--card); border-bottom: 1px solid var(--line); }
.site-nav .nav-inner {
  display: flex; gap: 6px; max-width: 1280px; margin: 0 auto; padding: 8px 20px;
  overflow-x: auto; scrollbar-width: none;
}
.site-nav .nav-inner::-webkit-scrollbar { display: none; }
.site-nav .hero-cat {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px 5px 5px; border-radius: 999px; font-size: .86rem; font-weight: 600;
  color: var(--ink-soft); border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s;
}
.site-nav .hero-cat img { width: 28px; height: 28px; }
.site-nav .hero-cat:hover { background: var(--paper); border-color: var(--line); color: var(--ink); }
.site-nav .hero-cat[aria-current="page"] { background: var(--ink); color: #fff; }

.hub-links { display: block; margin-top: 20px; }
.hub-links .nav-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hub-links .hero-cat {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .9rem;
}
.hub-links .hero-cat img { width: 28px; height: 28px; }
.hub-links .hero-cat:hover { border-color: var(--ink); }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: 40px 0 34px; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 850; font-stretch: 82%; letter-spacing: -.02em; margin: 14px 0 16px; }
.hero .highlight {
  color: var(--signal);
  background: linear-gradient(transparent 62%, rgba(242, 169, 59, .38) 62%, rgba(242, 169, 59, .38) 92%, transparent 92%);
}
.hero p { color: var(--ink-soft); }

.hero-home { overflow: hidden; }
.hero-home::after {
  content: ''; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px;
  border-radius: 50%; border: 44px solid rgba(226, 59, 46, .06); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-intro { font-size: 1.08rem; line-height: 1.65; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-actions .btn-ghost { color: var(--ink); }
.hero-facts { font-size: .9rem; }
.hero-facts strong { color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }

.hero-board {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px;
  box-shadow: var(--shadow-lift); position: relative;
}
.hero-board::before {
  content: ''; position: absolute; inset: 8px; border: 1px dashed var(--line); border-radius: 16px; pointer-events: none;
}
.board-label {
  position: relative; font-family: var(--font-display); font-stretch: 80%; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--ink) !important; margin: 4px 6px 12px;
}
.pest-board { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.pest-board li { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 45ms + 120ms); }
.pest-tile {
  height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  padding: 12px 8px 10px; border-radius: 12px; background: var(--paper); border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.pest-tile-icon img { width: 56px; height: 56px; transition: transform .35s var(--ease); }
.pest-tile-name { font-family: var(--font-display); font-stretch: 85%; font-weight: 750; font-size: .93rem; color: var(--ink); line-height: 1.15; }
.pest-tile-count { font-size: .74rem; color: var(--muted); }
.pest-tile:hover { background: #fff; border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow); }
.pest-tile:hover img { transform: rotate(-8deg) scale(1.08); }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }

/* search results hero (simple) */
.hero:not(.hero-home) { text-align: center; padding: 34px 0 10px; }
.hero:not(.hero-home) h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.hero:not(.hero-home) h1 small { font-size: .5em; color: var(--muted); font-weight: 600; }

/* ---------- Trust bar ---------- */
.trust { padding: 6px 0 26px; }
.trust-bar {
  list-style: none; margin: 0; padding: 18px 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: var(--ink); color: #e8efe9; border-radius: var(--radius);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 10px, transparent 10px 20px);
}
.trust-bar li { display: flex; gap: 12px; align-items: center; }
.trust-bar svg { flex-shrink: 0; color: var(--amber); }
.trust-bar strong { display: block; color: #fff; font-family: var(--font-display); font-stretch: 88%; font-weight: 750; font-size: 1rem; line-height: 1.2; }
.trust-bar small { display: block; color: #b9cbbf; font-size: .8rem; }

/* ---------- Layout ---------- */
.main { flex: 1; padding: 8px 0 56px; }
.main > .container { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.main > .container.full-width { display: block; }
.content { min-width: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .84rem; color: var(--muted); margin: 18px 0 14px; }
.breadcrumb a { color: var(--ink-soft); font-weight: 600; }
.breadcrumb a:hover { color: var(--signal-dark); }
.breadcrumb [aria-current] { color: var(--muted); max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Sidebar filters (homepage, search) ---------- */
.sidebar {
  position: sticky; top: calc(var(--header-height) + 16px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sidebar-header h2 { font-size: 1.15rem; font-stretch: 85%; }
.sidebar-header-actions { display: flex; gap: 6px; align-items: center; }
.btn-close-sidebar { display: none; background: none; border: 0; cursor: pointer; padding: 4px; }
.sidebar-overlay { display: none; }
.sidebar-apply-btn { display: none; }

.filter-section { border: 0; border-top: 1px solid var(--paper-2); margin: 0; padding: 14px 0 12px; min-width: 0; }
.filter-title {
  display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0; margin-bottom: 10px;
  font-family: var(--font-display); font-stretch: 85%; font-weight: 750; font-size: .95rem; color: var(--ink);
  text-transform: uppercase; letter-spacing: .05em;
}
.filter-title svg { color: var(--muted); }
.filter-list { display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow-y: auto; }

.checkbox-label { position: relative; display: flex; align-items: center; gap: 10px; padding: 5px 2px; cursor: pointer; font-size: .92rem; }
.checkbox-label input { position: absolute; opacity: 0; pointer-events: none; }
.checkmark { width: 18px; height: 18px; border: 2px solid var(--line-strong); border-radius: 5px; flex-shrink: 0; transition: .15s; background: #fff; }
.checkbox-label input:checked + .checkmark { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px #fff; }
.checkbox-label input:focus-visible + .checkmark { outline: 3px solid var(--amber); outline-offset: 2px; }
.shop-name { display: inline-flex; align-items: center; gap: 8px; }
.shop-dot, .source-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

.toggle-label .toggle { width: 38px; height: 22px; border-radius: 999px; background: var(--line-strong); position: relative; flex-shrink: 0; transition: background .2s; }
.toggle-label .toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.toggle-label input:checked + .toggle { background: var(--ok); }
.toggle-label input:checked + .toggle::after { transform: translateX(16px); }

.price-inputs { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.price-input { position: relative; flex: 1; }
.price-input label { display: block; font-size: .72rem; color: var(--muted); margin-bottom: 2px; }
.price-input input { width: 100%; height: 38px; padding: 0 40px 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; }
.price-input .currency { position: absolute; right: 10px; bottom: 10px; font-size: .72rem; color: var(--muted); }
.price-separator { color: var(--muted); padding-top: 16px; }

.filter-toggle { display: none; }

/* ---------- Toolbar ---------- */
.products-title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 85%; font-weight: 850; margin: 4px 0 12px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 0 0 14px; margin-bottom: 18px; border-bottom: 2px solid var(--ink); }
.results-info { font-size: .92rem; color: var(--ink-soft); }
.results-info #resultsCount { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.active-filters { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 8px; }
.active-filters > * { background: var(--paper-2); border-radius: 999px; padding: 2px 10px; font-size: .78rem; }
.sort-box { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.sort-box select { height: 38px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); cursor: pointer; }

/* ---------- Product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

.product-card {
  position: relative; display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.product-link { display: flex; flex-direction: column; flex: 1; }

.product-image-wrap { position: relative; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--paper-2); padding: 14px; }
.product-image { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.product-card:hover .product-image { transform: scale(1.04); }

.product-badges { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2; display: flex; justify-content: space-between; pointer-events: none; }
.badge { display: inline-block; font-family: var(--font-display); font-stretch: 85%; font-weight: 800; font-size: .74rem; padding: 4px 9px; border-radius: 6px; letter-spacing: .02em; }
.badge-discount { background: var(--signal); color: #fff; }
.badge-offers { background: var(--ink); color: #fff; margin-left: auto; }
.badge-large { font-size: .95rem; padding: 6px 12px; }

.product-body { padding: 12px 14px 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-category { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-name {
  font-family: var(--font-text); font-size: .93rem; font-weight: 650; color: var(--color-text); line-height: 1.35; letter-spacing: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.8em;
}
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.current-price { font-family: var(--font-display); font-stretch: 85%; font-weight: 850; font-size: 1.35rem; color: var(--ink); }
.original-price, .price-old, .carousel-price-old { color: var(--muted); text-decoration: line-through; font-size: .86rem; }
.offers-summary { font-size: .76rem; color: var(--muted); }

.card-offers { display: flex; flex-direction: column; border-top: 1px dashed var(--line); }
.offer-link {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 14px; font-size: .82rem;
  transition: background .2s;
}
.offer-link + .offer-link { border-top: 1px solid var(--paper-2); }
.offer-link:hover { background: var(--paper); }
.offer-source { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-weight: 600; }
.offer-price { font-weight: 800; color: var(--ink); }
.offer-link::after { content: '\2192'; color: var(--signal); font-weight: 800; margin-left: 4px; }

/* ---------- Loading, empty, pagination ---------- */
.loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 0; color: var(--muted); }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 4px solid var(--paper-2); border-top-color: var(--signal); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.no-results { flex-direction: column; align-items: center; gap: 10px; padding: 48px 16px; text-align: center; color: var(--muted); }
.no-results h3 { font-size: 1.4rem; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.page-btn { min-width: 42px; height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--card); cursor: pointer; font-weight: 700; }
.page-btn:hover:not(:disabled) { border-color: var(--ink); }
.page-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-btn:disabled { opacity: .4; cursor: default; }
.page-dots { align-self: center; color: var(--muted); }

/* ---------- Hub pages ---------- */
.hub-page .content { max-width: 1280px; margin: 0 auto; }
.hub-header {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px 30px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.hub-header::after {
  content: ''; position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%;
  border: 30px solid rgba(226, 59, 46, .06); pointer-events: none;
}
.hub-header-icon { width: 120px; height: 120px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.hub-header-icon img { width: 96px; height: 96px; }
.hub-header h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 850; font-stretch: 80%; letter-spacing: -.02em; margin: 8px 0 12px; }
.hub-intro { font-size: 1.07rem; line-height: 1.65; max-width: 78ch; color: var(--color-text); }
.hub-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: .84rem; color: var(--ink-soft); }
.hub-facts span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.hub-facts strong { color: var(--ink); }

.hub-toc {
  position: sticky; top: calc(var(--header-height) + 8px); z-index: 20;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 22px 0 18px; padding: 8px;
  background: rgba(246, 241, 230, .94); backdrop-filter: blur(8px); border-radius: 999px; border: 1px solid var(--line);
}
.hub-toc::-webkit-scrollbar { display: none; }
.hub-toc a { flex: 0 0 auto; padding: 6px 14px; border-radius: 999px; font-size: .86rem; font-weight: 650; color: var(--ink); background: var(--card); border: 1px solid var(--line); }
.hub-toc a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hub-toc a span { color: var(--muted); font-weight: 500; }
.hub-toc a:hover span { color: #c7d6cc; }

.hub-guide {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 28px; margin: 0 0 34px; padding: 22px 26px;
  background: #fff8e6; border: 1px solid #f0d9a2; border-left: 6px solid var(--amber); border-radius: var(--radius);
}
.hub-guide h2 { font-size: 1.35rem; font-stretch: 82%; font-weight: 850; grid-row: span 4; }
.hub-guide p { line-height: 1.65; }
.hub-guide p + p { margin-top: 8px; }

.hub-group { margin: 0 0 38px; scroll-margin-top: calc(var(--header-height) + 80px); }
.hub-group h2, .hub-diff h2, .hub-related h2, .similar-products h2, .product-description h2 {
  display: flex; align-items: center; gap: 10px; font-size: clamp(1.3rem, 2vw, 1.65rem); font-stretch: 82%; font-weight: 850; margin: 0 0 16px;
}
.hub-group h2::before, .hub-diff h2::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(226, 59, 46, .15); }
.hub-count { font-family: var(--font-text); font-size: .8rem; font-weight: 700; background: var(--paper-2); color: var(--ink-soft); padding: 2px 9px; border-radius: 999px; }

.hub-diff { margin: 0 0 38px; overflow-x: auto; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .93rem; }
.price-table th, .price-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--paper-2); }
.price-table thead th { background: var(--ink); color: #fff; font-family: var(--font-display); font-stretch: 88%; letter-spacing: .03em; }
.price-table tbody th a { font-weight: 600; }
.price-table tbody th a:hover { color: var(--signal-dark); }
.price-table td { white-space: nowrap; font-weight: 700; color: var(--ink); }
.price-table tr:last-child > * { border-bottom: 0; }

.hub-related ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hub-related a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-strong); font-weight: 700; }
.hub-related a:hover { background: var(--ink); color: #fff; }

/* ---------- Product page ---------- */
.product-page { max-width: 1200px; margin: 0 auto; }
.product-detail {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow);
}
.product-detail-image { position: relative; background: #fff; border-radius: 16px; border: 1px solid var(--paper-2); aspect-ratio: 1; display: grid; place-items: center; padding: 26px; }
.product-detail-image img { width: 100%; height: 100%; object-fit: contain; }
.product-detail-image .badge { position: absolute; top: 16px; left: 16px; }

.product-detail-category { display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--signal-dark); }
.product-detail-category:hover { text-decoration: underline; }
.product-detail-name { font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-stretch: 85%; font-weight: 800; margin: 8px 0 14px; line-height: 1.12; }
.product-detail-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.price-big { font-family: var(--font-display); font-stretch: 82%; font-weight: 900; font-size: 2.4rem; color: var(--ink); line-height: 1; }

.product-detail-offers { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.product-detail-offers h2, .product-detail-offers h3 { font-size: 1.05rem; font-stretch: 85%; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.offers-list { display: flex; flex-direction: column; gap: 8px; }
.offer-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px;
  padding: 12px 12px 12px 16px; background: var(--card); border: 2px solid var(--line); border-radius: 12px;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.offer-item:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.offer-best { border-color: var(--ok); }
.offer-item-source { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.source-name { font-weight: 800; color: var(--ink); }
.best-label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--ok); color: #fff; padding: 2px 8px; border-radius: 999px; }
.offer-stock { width: 100%; font-size: .78rem; font-weight: 600; padding-left: 18px; }
.offer-stock.in-stock { color: var(--ok); }
.offer-stock.out-stock { color: var(--signal-dark); }
.offer-item-price { font-family: var(--font-display); font-stretch: 85%; font-weight: 850; font-size: 1.3rem; color: var(--ink); white-space: nowrap; }
.offer-item-btn { background: var(--signal); color: #fff; font-weight: 800; padding: 10px 16px; border-radius: 999px; white-space: nowrap; font-size: .9rem; transition: background .2s; }
.offer-item:hover .offer-item-btn { background: var(--signal-dark); }
.offers-note { margin-top: 12px; font-size: .8rem; color: var(--ink-soft); line-height: 1.5; }

.buy-notes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.buy-notes li { position: relative; padding-left: 26px; }
.buy-notes li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.buy-notes a { font-weight: 800; color: var(--ink); text-decoration: underline; }
.product-detail-brand, .product-detail-stock { margin-top: 12px; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.stock-indicator { width: 10px; height: 10px; border-radius: 50%; }
.stock-indicator.in-stock { background: var(--ok); box-shadow: 0 0 0 4px rgba(46, 125, 50, .15); }
.stock-indicator.out-stock { background: var(--signal); }

.product-description, .similar-products {
  margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px;
}
.product-description p { line-height: 1.7; max-width: 80ch; }
.description-more { margin-top: 12px; color: var(--ink-soft); font-size: .93rem; }
.description-more a { color: var(--ink); font-weight: 700; text-decoration: underline; }

.carousel-container { position: relative; }
.carousel-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card { flex: 0 0 190px; scroll-snap-align: start; background: var(--paper); border-radius: 12px; overflow: hidden; border: 1px solid transparent; transition: border-color .2s, transform .2s var(--ease); }
.carousel-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.carousel-card-image { background: #fff; aspect-ratio: 1; padding: 12px; }
.carousel-card-image img { width: 100%; height: 100%; object-fit: contain; }
.carousel-card-info { padding: 10px 12px 12px; }
.carousel-card-name { font-family: var(--font-text); font-size: .82rem; font-weight: 600; line-height: 1.35; color: var(--color-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: 0; }
.carousel-price-current { font-family: var(--font-display); font-weight: 850; font-stretch: 85%; color: var(--ink); font-size: 1.05rem; }
.carousel-btn { position: absolute; top: 40%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; }
.carousel-prev { left: -14px; }
.carousel-next { right: -14px; }

.back-link { margin-top: 26px; text-align: center; }
.btn-back { display: inline-block; padding: 12px 22px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 800; color: var(--ink); transition: background .2s, color .2s; }
.btn-back:hover { background: var(--ink); color: #fff; }

/* ---------- Static pages + errors ---------- */
.static-page { max-width: 860px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 36px 36px; }
.static-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-stretch: 82%; font-weight: 850; margin: 4px 0 18px; }
.static-page h2 { font-size: 1.35rem; font-stretch: 85%; font-weight: 800; margin: 26px 0 10px; }
.static-page p, .static-page li { line-height: 1.7; }
.static-page a { color: var(--ink); text-decoration: underline; font-weight: 600; }
.static-page ul { padding-left: 20px; }
.company-data { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.company-data li { padding: 10px 14px; background: var(--paper); border-radius: 10px; border-left: 4px solid var(--ink); }

.error-page { text-align: center; padding: 60px 16px; }
.error-page h1 { font-size: 2.4rem; font-stretch: 82%; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c9d8ce; padding: 52px 0 22px; margin-top: auto; position: relative; }
.footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(135deg, var(--signal) 0 14px, var(--amber) 14px 28px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer .logo-text { color: #fff; }
.footer-brand p { margin-top: 12px; font-size: .92rem; line-height: 1.6; max-width: 46ch; }
.footer-brand a { color: #fff; font-weight: 700; text-decoration: underline; }
.footer h4, .footer .footer-title { font-family: var(--font-display); font-stretch: 85%; color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin-bottom: 14px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer-links a:hover { color: var(--amber); }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: #93aa9b; }

/* ---------- Cookie consent ---------- */
.cookie-consent { display: none; position: fixed; inset: auto 16px 16px auto; z-index: 400; max-width: 440px; }
.cookie-consent-content { background: var(--card); color: var(--color-text); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(15, 59, 44, .5); padding: 20px; }
.cookie-consent-header h3 { font-size: 1.2rem; font-stretch: 85%; margin-bottom: 6px; }
.cookie-consent-header p { font-size: .88rem; color: var(--ink-soft); }
.cookie-consent-options { display: grid; gap: 8px; margin: 14px 0; }
.cookie-option { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; background: var(--paper); border-radius: 10px; }
.cookie-option-info strong { display: block; font-size: .9rem; }
.cookie-option-info span { font-size: .78rem; color: var(--muted); }
.cookie-toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-slider { position: absolute; inset: 0; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: .2s; }
.cookie-slider::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .2s var(--ease); }
.cookie-toggle input:checked + .cookie-slider { background: var(--ok); }
.cookie-toggle input:checked + .cookie-slider::before { transform: translateX(18px); }
.cookie-toggle.disabled { opacity: .6; }
.cookie-consent-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-consent-buttons .btn-primary { grid-column: 1 / -1; }
.cookie-consent-buttons .btn { padding: 10px 12px; font-size: .88rem; }
.cookie-consent-buttons .btn-secondary { background: var(--ink); }
.cookie-consent-buttons .btn-outline { color: var(--ink); }

/* ---------- Modal (quick view) ---------- */
.modal { display: none; position: fixed; inset: 0; z-index: 500; align-items: center; justify-content: center; padding: 16px; }
.modal.active { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(10, 30, 22, .55); }
.modal-content { position: relative; background: var(--card); border-radius: 20px; max-width: 860px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 26px; }
.modal-close { position: absolute; top: 12px; right: 12px; background: var(--paper); border: 0; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; display: grid; place-items: center; }
.modal-product { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.modal-image { background: #fff; border-radius: 12px; padding: 16px; }
.modal-offers-list { display: grid; gap: 8px; }
.modal-offer { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.modal-offer-price { font-weight: 800; }
.modal-description { font-size: .92rem; color: var(--ink-soft); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .header-cta small { display: none; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-detail { grid-template-columns: 1fr; }
  .hub-guide { grid-template-columns: 1fr; }
  .hub-guide h2 { grid-row: auto; }

  .main > .container { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 260; width: min(340px, 88vw); border-radius: 0;
    overflow-y: auto; transform: translateX(-105%); transition: transform .3s var(--ease);
  }
  .sidebar.active { transform: none; }
  .sidebar-overlay.active { display: block; position: fixed; inset: 0; z-index: 250; background: rgba(10, 30, 22, .5); }
  .btn-close-sidebar { display: block; }
  .sidebar-apply-btn { display: block; position: sticky; bottom: 0; padding-top: 12px; background: var(--card); }
  .sidebar-apply-btn button { width: 100%; height: 46px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; cursor: pointer; }
  .filter-toggle {
    display: inline-flex; align-items: center; gap: 8px; position: fixed; left: 16px; bottom: 16px; z-index: 90;
    padding: 12px 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; box-shadow: var(--shadow-lift); cursor: pointer;
  }
}

@media (max-width: 760px) {
  :root { --header-height: 64px; }
  .topbar .container > span { display: none; }
  .topbar .container { justify-content: center; }
  .header .container { gap: 12px; }
  .logo-text { font-size: 1.25rem; }
  .logo-icon { width: 34px; height: 34px; }
  .header-cta { display: none; }
  .search-box input { height: 42px; font-size: .95rem; padding-left: 42px; }
  .search-icon { left: 14px; }

  .hero { padding-top: 24px; }
  .hero-actions .btn { flex: 1; }
  .hero-board { padding: 12px; border-radius: 18px; }
  .pest-board { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .pest-tile { padding: 10px 4px 8px; }
  .pest-tile-icon img { width: 44px; height: 44px; }
  .pest-tile-name { font-size: .8rem; }
  .pest-tile-count { display: none; }

  .trust-bar { grid-template-columns: 1fr; gap: 12px; padding: 16px; }

  .hub-header { grid-template-columns: 1fr; padding: 20px; gap: 12px; }
  .hub-header-icon { width: 76px; height: 76px; }
  .hub-header-icon img { width: 60px; height: 60px; }
  .hub-toc { border-radius: 14px; }
  .hub-guide { padding: 18px; }

  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-body { padding: 10px; }
  .product-name { font-size: .84rem; }
  .current-price { font-size: 1.15rem; }
  .offer-link { padding: 7px 10px; font-size: .76rem; }

  .product-detail { padding: 16px; gap: 18px; border-radius: 18px; }
  .offer-item { grid-template-columns: minmax(0, 1fr) auto; }
  .offer-item-btn { grid-column: 1 / -1; text-align: center; }
  .product-description, .similar-products { padding: 20px; }
  .carousel-btn { display: none; }

  .static-page { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cookie-consent { inset: auto 10px 10px 10px; max-width: none; }
  .modal-product { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- refinements ---------- */
.pest-board-help { grid-column: span 3; }
.pest-tile-help { flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; padding: 14px 18px; background: var(--ink); }
.pest-tile-help .pest-tile-name { color: #fff; font-size: 1.05rem; }
.pest-tile-help .pest-tile-count { color: #b9cbbf; }
.pest-tile-help strong { font-family: var(--font-display); font-stretch: 85%; font-weight: 850; font-size: 1.35rem; color: var(--amber); }
.pest-tile-help:hover { background: var(--ink-2); }
.pest-tile-help:hover img { transform: none; }

.price-row { flex-wrap: wrap; row-gap: 0; }
.current-price, .offer-price, .offer-source { white-space: nowrap; }
.offer-source { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.main > .container:not(.full-width) .products-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

@media (max-width: 760px) {
  .pest-board-help { grid-column: span 2; }
  .pest-tile-help strong { font-size: 1.1rem; }
  .main > .container:not(.full-width) .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-link::after { display: none; }
}

@media (max-width: 760px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; white-space: nowrap; }
  .card-offers { display: none; }
  .product-category { font-size: .64rem; }
}

/* ---------- touch targets + mobile flow ---------- */
.topbar-phone { display: inline-block; padding: 6px 0; margin: -6px 0; }
.product-detail-category { padding: 6px 0; }

@media (max-width: 960px) {
  /* filters button sits above the product list instead of floating over the page */
  .filter-toggle { position: static; justify-self: start; margin: 0 0 14px; box-shadow: none; }
}

@media (max-width: 760px) {
  /* a sticky type bar under a sticky header leaves too little room on phones */
  .hub-toc { position: static; background: transparent; border: 0; padding: 0; backdrop-filter: none; }
}

/* ==========================================================
   Main menu: bar + "Produse" category list + flyouts
   ========================================================== */
:root { --nav-h: 50px; --cat-w: 286px; --cat-row: 44px; }

.site-nav { display: none; }

.main-nav {
  position: relative; z-index: 90; color: #fff;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink-2) 100%);
  box-shadow: inset 0 -3px 0 var(--signal);
}
.nav-bar { display: flex; align-items: center; gap: 6px; height: var(--nav-h); position: relative; }

.cat-menu { position: static; height: 100%; display: flex; align-items: flex-end; }
.cat-toggle {
  display: inline-flex; align-items: center; gap: 10px; width: var(--cat-w); height: calc(var(--nav-h) - 8px);
  padding: 0 16px; border: 0; border-radius: 10px 10px 0 0; cursor: pointer;
  background: var(--card); color: var(--ink);
  font-family: var(--font-display); font-stretch: 88%; font-weight: 850; font-size: 1.05rem; letter-spacing: .01em;
}
.cat-toggle:hover { color: var(--signal-dark); }

.cat-list {
  display: none; list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: 100%; left: 20px; width: var(--cat-w); z-index: 95;
  background: var(--card); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px;
  box-shadow: 0 24px 50px -28px rgba(15, 59, 44, .55);
}
.cat-menu.open .cat-list { display: block; }
@media (min-width: 961px) {
  .cat-menu.is-static .cat-list { display: block; box-shadow: none; }
}

.cat-item { position: static; }
.cat-link {
  display: flex; align-items: center; gap: 12px; height: var(--cat-row); padding: 0 14px 0 12px;
  color: var(--color-text); font-weight: 600; font-size: .93rem; position: relative;
}
.cat-icon { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; }
.cat-icon img { width: 28px; height: 28px; }
.cat-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-arrow { color: var(--line-strong); flex-shrink: 0; transition: transform .2s var(--ease), color .2s; }
.cat-link[aria-current="page"] { color: var(--signal-dark); font-weight: 800; }
.cat-link[aria-current="page"]::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--signal); }

.cat-flyout {
  display: none; position: absolute; top: 0; left: calc(100% - 1px); z-index: 96;
  width: min(780px, calc(100vw - var(--cat-w) - 60px)); min-height: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 0 14px 14px 0;
  box-shadow: 30px 30px 60px -30px rgba(15, 59, 44, .45);
}
.cat-item.flyout-open > .cat-link,
.cat-item.flyout-open > .cat-link .cat-arrow { background: var(--paper); color: var(--signal-dark); }
.cat-item.flyout-open > .cat-flyout { display: grid; }
@media (hover: hover) and (min-width: 961px) {
  .cat-item:hover > .cat-link { background: var(--paper); color: var(--signal-dark); }
  .cat-item:hover > .cat-link .cat-arrow,
  .cat-item.flyout-open > .cat-link .cat-arrow { color: var(--signal); transform: translateX(3px); }
  /* without JS the flyout follows the mouse; with JS (.js-menu) nav.js opens it with hover intent */
  .main-nav:not(.js-menu) .cat-item:hover > .cat-flyout { display: grid; }
}

.flyout-types { padding: 22px 24px; border-right: 1px solid var(--paper-2); display: flex; flex-direction: column; }
.flyout-picks { padding: 22px 24px; background: linear-gradient(180deg, var(--paper) 0%, var(--card) 100%); border-radius: 0 14px 14px 0; }
.flyout-title {
  font-family: var(--font-display); font-stretch: 85%; font-weight: 850; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--signal-dark); margin-bottom: 12px;
}
.cat-flyout ul { list-style: none; margin: 0; padding: 0; }
.flyout-types li a {
  display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 8px;
  font-weight: 600; color: var(--ink); font-size: .93rem;
}
.flyout-types li a span { color: var(--muted); font-weight: 600; font-size: .82rem; }
.flyout-types li a:hover, .flyout-types li a.is-active { background: var(--paper); color: var(--signal-dark); }
.flyout-types li a.is-active span { color: var(--signal-dark); }
.flyout-all { margin-top: auto; padding-top: 16px; font-weight: 800; color: var(--signal-dark); font-size: .92rem; }
.flyout-all:hover { text-decoration: underline; }

.flyout-picks ul { display: grid; gap: 8px; }
.flyout-product { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: var(--card); border: 1px solid var(--paper-2); transition: border-color .2s, transform .2s var(--ease); }
.flyout-product:hover { border-color: var(--line-strong); transform: translateX(3px); }
.flyout-product img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 8px; flex-shrink: 0; }
.flyout-product > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.flyout-product-name { font-size: .84rem; font-weight: 600; line-height: 1.3; color: var(--color-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.flyout-product strong { font-family: var(--font-display); font-stretch: 85%; font-weight: 850; color: var(--ink); }

.nav-quick { list-style: none; margin: 0 0 0 10px; padding: 0; display: flex; gap: 2px; min-width: 0; overflow: hidden; }
.nav-quick a, .nav-right a {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 8px;
  color: #e7efe9; font-weight: 600; font-size: .9rem; white-space: nowrap; transition: background .2s, color .2s;
}
.nav-quick a:hover, .nav-right a:hover, .nav-quick a[aria-current="page"] { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav-phone { color: var(--amber) !important; font-weight: 800 !important; }
.nav-contact { border: 1px solid rgba(255, 255, 255, .35); }

/* ---------- Homepage: list on the left, banner on the right ---------- */
.home-top { padding: 0 0 22px; }
.home-grid { display: grid; grid-template-columns: var(--cat-w) minmax(0, 1fr); gap: 20px; }
.home-menu-space { min-height: calc(var(--cat-count, 12) * var(--cat-row) + 16px); }
.home-banner {
  position: relative; overflow: hidden; margin-top: 16px; border-radius: 20px;
  min-height: calc(var(--cat-count, 12) * var(--cat-row));
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center;
  padding: 40px 44px; color: #dfe9e2;
  background:
    radial-gradient(circle at 85% 30%, rgba(242, 169, 59, .18) 0, transparent 40%),
    radial-gradient(circle at 70% 90%, rgba(200, 50, 42, .25) 0, transparent 45%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--ink) 0%, #164d39 100%);
}
.home-banner .eyebrow { color: var(--amber); }
.home-banner .eyebrow::before { background: var(--amber); }
.home-banner h1 { color: #fff; font-size: clamp(2rem, 3.4vw, 3.15rem); font-weight: 850; font-stretch: 82%; letter-spacing: -.02em; margin: 14px 0 16px; line-height: 1.05; }
.home-banner .highlight { color: var(--amber); background: none; }
.home-banner .hero-intro { color: #cddbd2; font-size: 1.03rem; line-height: 1.65; max-width: 60ch; }
.home-banner .hero-actions { margin: 26px 0 0; }
.home-banner .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.home-banner .btn-ghost:hover { background: #fff; color: var(--ink); }
.banner-copy > * { animation: rise .7s var(--ease) both; }
.banner-copy > :nth-child(2) { animation-delay: .06s; }
.banner-copy > :nth-child(3) { animation-delay: .12s; }
.banner-copy > :nth-child(4) { animation-delay: .18s; }

.banner-art { position: relative; height: 100%; min-height: 320px; }
.banner-art img {
  position: absolute; width: 112px; height: 112px; border-radius: 50%; background: #fffdf8; padding: 8px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); animation: floaty 6s ease-in-out infinite;
}
.banner-art .art-0 { top: 4%; left: 30%; width: 138px; height: 138px; }
.banner-art .art-1 { top: 30%; left: 2%; animation-delay: -1s; }
.banner-art .art-2 { top: 40%; left: 58%; width: 128px; height: 128px; animation-delay: -2s; }
.banner-art .art-3 { top: 70%; left: 22%; animation-delay: -3s; }
.banner-art .art-4 { top: 2%; left: 74%; width: 92px; height: 92px; animation-delay: -4s; }
.banner-art .art-5 { top: 76%; left: 70%; width: 92px; height: 92px; animation-delay: -5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

@media (max-width: 1200px) {
  .nav-quick li:nth-child(n+4) { display: none; }
  .home-banner { grid-template-columns: 1fr; }
  .banner-art { display: none; }
}

@media (max-width: 960px) {
  :root { --nav-h: 54px; }
  .main-nav { box-shadow: none; }
  .cat-toggle { width: auto; height: 40px; border-radius: 10px; }
  .cat-menu { align-items: center; }
  .cat-list { left: 0; right: 0; width: auto; max-height: 72vh; overflow-y: auto; border-radius: 0 0 16px 16px; border-left: 0; border-right: 0; }
  .cat-arrow { transform: none !important; }
  .cat-flyout, .cat-item.flyout-open > .cat-flyout { display: none !important; }
  .nav-quick { display: none; }
  .nav-right .nav-phone, .nav-right a[href="/despre"] { display: none; }

  .home-grid { grid-template-columns: 1fr; }
  .home-menu-space { display: none; }
  .home-banner { min-height: 0; padding: 28px 22px; margin-top: 14px; }
}

@media (max-width: 760px) {
  .home-banner .hero-actions { flex-direction: column; }
  .home-banner .btn { width: 100%; }
}

/* product page: link to the full description in the store */
.btn-more { margin-top: 16px; }
.btn-more::after { content: '\2192'; margin-left: 2px; }
.btn-more:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- hub subpages (/anti-pasari/tunuri-anti-pasari) ---------- */
.hub-header .eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hub-header .eyebrow a:hover { color: var(--ink); }
.hub-group-link {
  margin-left: auto; font-family: var(--font-text); font-size: .88rem; font-weight: 800; letter-spacing: 0;
  color: var(--signal-dark); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card);
}
.hub-group-link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.hub-toc a.is-page { border-color: var(--line-strong); font-weight: 750; }
.hub-toc a.is-page::after { content: '\2192'; margin-left: 6px; color: var(--signal); }
.hub-subnav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.hub-subnav a[aria-current="page"] span { color: #c7d6cc; }
.sub-page .hub-group { margin-top: 8px; }
