/* ============================================================
   Farmacia Catocci — Design System
   ============================================================ */

:root {
  /* Brand */
  --green-900: #0a4f2b;
  --green-700: #0f6b3a;   /* primary */
  --green-500: #1f8a4c;   /* accent */
  --green-300: #6dbf8e;
  --green-100: #e3f1e9;
  --green-50:  #f1f8f4;

  /* Neutrals (warm-cool neutral, very low chroma) */
  --ink:       #14201a;
  --ink-soft:  #43504a;
  --muted:     #6b766f;
  --line:      #e6ebe8;
  --line-soft: #eef2f0;
  --surface:   #ffffff;
  --bg:        #f6f9f7;
  --bg-warm:   #fbfcfb;

  /* Accent secondary (shared L/C, different hue) */
  --amber:     oklch(0.72 0.12 75);
  --sky:       oklch(0.72 0.12 235);

  /* Type */
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(20,32,26,.05), 0 1px 3px rgba(20,32,26,.04);
  --sh-md: 0 4px 14px rgba(20,32,26,.06), 0 2px 6px rgba(20,32,26,.04);
  --sh-lg: 0 18px 48px rgba(20,32,26,.10), 0 6px 16px rgba(20,32,26,.06);
  --sh-green: 0 10px 26px rgba(15,107,58,.22);

  --maxw: 1200px;
  --header-h: 132px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: var(--r-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: var(--sh-green); }
.btn-primary:hover { background: var(--green-900); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--green-700); box-shadow: inset 0 0 0 1.5px var(--green-100); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--green-300); background: var(--green-50); }
.btn-light { background: rgba(255,255,255,.18); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn-light:hover { background: rgba(255,255,255,.28); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--green-900);
  color: rgba(255,255,255,.92);
  font-size: 13px;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 40px; gap: 16px;
}
.topbar a { color: inherit; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-item svg { width: 14px; height: 14px; opacity: .85; }
.topbar-item.strong { font-weight: 600; }
.topbar-divider { width: 1px; height: 16px; background: rgba(255,255,255,.18); }
@media (max-width: 720px) {
  .topbar-right { display: none; }
  .topbar .wrap { justify-content: center; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-main { display: flex; align-items: center; gap: 28px; padding-block: 16px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(150deg, var(--green-500), var(--green-700));
  display: grid; place-items: center; box-shadow: var(--sh-green); flex-shrink: 0;
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text .name { font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--green-700); letter-spacing: -.02em; }
.logo-text .sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* Search */
.search { flex: 1; position: relative; max-width: 560px; }
.search input {
  width: 100%; font-family: var(--font-body); font-size: 15px;
  padding: 13px 20px 13px 46px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--bg-warm); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--green-300); background: #fff; box-shadow: 0 0 0 4px var(--green-100); }
.search .search-ic { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); overflow: hidden; z-index: 60; display: none;
}
.search-results.show { display: block; }
.search-results a {
  display: flex; align-items: center; gap: 12px; padding: 11px 18px;
  border-bottom: 1px solid var(--line-soft); font-size: 14.5px;
}
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: var(--green-50); }
.search-results .ph-chip { width: 34px; height: 34px; border-radius: 8px; background: var(--green-100); display: grid; place-items: center; flex-shrink: 0; }
.search-results .ph-chip svg { width: 17px; height: 17px; color: var(--green-700); }
.search-results .res-cat { margin-left: auto; font-size: 12px; color: var(--muted); }
.search-results .empty { padding: 18px; color: var(--muted); font-size: 14px; text-align: center; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.icon-btn {
  position: relative; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--green-50); color: var(--green-700); }
.icon-btn svg { width: 23px; height: 23px; }
.cart-badge {
  position: absolute; top: 5px; right: 5px; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 9px; background: var(--green-500); color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
  font-family: var(--font-head); border: 2px solid #fff;
}
.hamburger { display: none; }

/* Category nav */
.cat-nav { border-top: 1px solid var(--line-soft); }
.cat-nav .wrap { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cat-nav .wrap::-webkit-scrollbar { display: none; }
.cat-nav a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 13px 14px; font-size: 14px; font-weight: 500; color: var(--ink-soft);
  border-bottom: 2.5px solid transparent; transition: color .15s, border-color .15s;
}
.cat-nav a:hover { color: var(--green-700); }
.cat-nav a.active { color: var(--green-700); border-bottom-color: var(--green-700); font-weight: 600; }
.cat-nav a svg { width: 17px; height: 17px; opacity: .8; }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(20,32,26,.4); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 84%; max-width: 340px; z-index: 100;
  background: #fff; transform: translateX(-100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; box-shadow: var(--sh-lg);
}
.drawer.show { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-nav { padding: 10px 0; overflow-y: auto; }
.drawer-nav a { display: flex; align-items: center; gap: 13px; padding: 14px 22px; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.drawer-nav a:hover { background: var(--green-50); color: var(--green-700); }
.drawer-nav a svg { width: 20px; height: 20px; color: var(--green-700); }

/* ============================================================
   ICONS — category circle
   ============================================================ */
.cat-icon {
  display: grid; place-items: center; border-radius: 50%;
  background: var(--green-100); color: var(--green-700); flex-shrink: 0;
}
.cat-icon svg { stroke: currentColor; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: 26px 54px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--green-50), #fff 60%);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 52px; box-shadow: var(--sh-md); position: relative; overflow: hidden;
}
.hero-grid::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--green-100), transparent 70%); opacity: .8;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head);
  font-weight: 600; font-size: 13px; letter-spacing: .04em; color: var(--green-700);
  background: var(--green-100); padding: 7px 15px; border-radius: var(--r-pill); margin-bottom: 20px;
}
.hero-eyebrow svg { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 700; margin-bottom: 18px; }
.hero h1 .accent { color: var(--green-700); }
.hero-lead { font-size: 18px; color: var(--ink-soft); max-width: 46ch; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .ht { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-soft); }
.hero-trust .ht svg { width: 19px; height: 19px; color: var(--green-500); flex-shrink: 0; }
.hero-media { position: relative; z-index: 1; }

/* Image placeholder */
.ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background-color: var(--green-50);
  background-image: repeating-linear-gradient(135deg, rgba(15,107,58,.06) 0 12px, transparent 12px 24px);
  border: 1px solid var(--line); display: grid; place-items: center;
}
.ph-label {
  font-family: var(--font-body); font-feature-settings: "tnum";
  font-size: 12px; letter-spacing: .04em; color: var(--green-700);
  background: rgba(255,255,255,.82); padding: 6px 12px; border-radius: var(--r-pill);
  font-family: ui-monospace, "SF Mono", Menlo, monospace; text-align: center;
}
.hero-media .ph { aspect-ratio: 4/3.4; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { scroll-margin-top: var(--header-h); }
.section { padding-block: 56px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 38px; }
.section-head.left { text-align: left; margin-inline: 0; }
.section-kicker { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-500); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 18px; text-align: center; transition: transform .18s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--green-100); }
.cat-card .cat-icon { width: 64px; height: 64px; }
.cat-card .cat-icon svg { width: 30px; height: 30px; }
.cat-card .ct-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); }
.cat-card:hover .cat-icon { background: var(--green-700); color: #fff; }

/* Services / reparti */
.serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.serv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; transition: box-shadow .2s, transform .18s;
}
.serv-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.serv-card .cat-icon { width: 54px; height: 54px; margin-bottom: 18px; }
.serv-card .cat-icon svg { width: 26px; height: 26px; }
.serv-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 9px; }
.serv-card p { color: var(--ink-soft); font-size: 14.5px; }

/* Chi siamo teaser */
.about {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 14px; box-shadow: var(--sh-md);
}
.about .ph { aspect-ratio: 4/3.6; height: 100%; min-height: 300px; }
.about-body { padding: 28px 36px 28px 8px; }
.about-body .section-kicker { margin-bottom: 12px; }
.about-body h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 16px; }
.about-body p { color: var(--ink-soft); margin-bottom: 14px; font-size: 16px; }
.about-stats { display: flex; gap: 34px; margin-top: 22px; }
.about-stats .st .num { font-family: var(--font-head); font-weight: 700; font-size: 28px; color: var(--green-700); }
.about-stats .st .lbl { font-size: 13px; color: var(--muted); }

/* ============================================================
   DISCLAIMER BANNER
   ============================================================ */
.disclaimer {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: var(--r-md); padding: 18px 22px;
}
.disclaimer .di {
  width: 40px; height: 40px; border-radius: 10px; background: #fff;
  display: grid; place-items: center; flex-shrink: 0; color: var(--green-700);
  box-shadow: var(--sh-sm);
}
.disclaimer .di svg { width: 22px; height: 22px; }
.disclaimer .dt strong { font-family: var(--font-head); font-size: 15px; display: block; margin-bottom: 3px; }
.disclaimer .dt p { font-size: 13.5px; color: var(--ink-soft); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter { background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: #fff; border-radius: var(--r-xl); padding: 48px; position: relative; overflow: hidden; }
.newsletter::after { content: ""; position: absolute; left: -80px; bottom: -100px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.06); }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; position: relative; z-index: 1; }
.newsletter h2 { color: #fff; font-size: clamp(24px,3vw,32px); font-weight: 700; margin-bottom: 12px; }
.newsletter p { color: rgba(255,255,255,.82); font-size: 16px; }
.nl-form { display: flex; gap: 10px; }
.nl-form input {
  flex: 1; padding: 15px 20px; border-radius: var(--r-pill); border: none;
  font-family: var(--font-body); font-size: 15px; background: rgba(255,255,255,.95);
}
.nl-form input:focus { outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.nl-form .btn { background: #fff; color: var(--green-700); }
.nl-form .btn:hover { background: var(--green-50); transform: translateY(-2px); }
.nl-note { font-size: 12.5px; color: rgba(255,255,255,.6); margin-top: 12px; }
.nl-ok { color: #fff; font-weight: 600; display: none; align-items: center; gap: 9px; font-family: var(--font-head); }
.nl-ok svg { width: 22px; height: 22px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); margin-top: 56px; }
.footer-top { padding-block: 54px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col .logo .name { color: #fff; }
.footer-col .logo .sub { color: rgba(255,255,255,.5); }
.footer-about { font-size: 14px; margin-top: 18px; max-width: 34ch; color: rgba(255,255,255,.6); }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { font-size: 14.5px; color: rgba(255,255,255,.72); transition: color .15s; }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; margin-bottom: 14px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--green-300); flex-shrink: 0; margin-top: 3px; }
.footer-hours { display: flex; justify-content: space-between; font-size: 13.5px; padding: 5px 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.footer-hours:last-child { border-bottom: none; }
.footer-hours .d { color: rgba(255,255,255,.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { padding-block: 20px 6px; }
.breadcrumb ol { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.breadcrumb li { display: flex; align-items: center; gap: 9px; }
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.cat-intro { padding-block: 8px 30px; }
.cat-intro h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; margin-bottom: 14px; }
.cat-intro p { color: var(--ink-soft); font-size: 16.5px; max-width: 70ch; }

.cat-layout { display: grid; grid-template-columns: 256px 1fr; gap: 34px; align-items: start; padding-bottom: 30px; }

/* Sidebar */
.sidebar { position: sticky; top: var(--header-h); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin-bottom: 20px; }
.side-card h3 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.side-list li { margin-bottom: 3px; }
.side-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 13px; border-radius: var(--r-sm); font-size: 14.5px; color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.side-list a:hover { background: var(--green-50); color: var(--green-700); }
.side-list a.active { background: var(--green-100); color: var(--green-700); font-weight: 600; }
.side-list .count { font-size: 12.5px; color: var(--muted); }
.side-list a.active .count { color: var(--green-700); }
.side-help { background: var(--green-50); border-color: var(--green-100); text-align: center; }
.side-help .cat-icon { width: 48px; height: 48px; margin: 0 auto 14px; background: #fff; }
.side-help .cat-icon svg { width: 24px; height: 24px; }
.side-help h3 { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 16px; font-family: var(--font-head); margin-bottom: 6px; }
.side-help p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; }

/* Toolbar */
.products-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
.products-top .count-txt { font-size: 14px; color: var(--muted); }
.products-top .count-txt strong { color: var(--ink); }
.sort-select { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.sort-select select { font-family: var(--font-body); font-size: 14px; padding: 9px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.sort-select select:focus { outline: none; border-color: var(--green-300); }

/* Product grid */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .2s, border-color .2s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--green-100); }
.prod-card .ph { aspect-ratio: 1/1; border: none; border-radius: 0; border-bottom: 1px solid var(--line-soft); }
.prod-thumb { position: relative; }
.prod-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: .03em;
  background: #fff; color: var(--green-700); padding: 5px 11px; border-radius: var(--r-pill); box-shadow: var(--sh-sm);
}
.prod-fav {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center;
  color: var(--muted); box-shadow: var(--sh-sm); transition: color .15s, transform .15s;
}
.prod-fav:hover { color: var(--green-500); transform: scale(1.08); }
.prod-fav svg { width: 18px; height: 18px; }
.prod-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.prod-brand { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.prod-name { font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1.3; margin-bottom: 6px; color: var(--ink); }
.prod-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; flex: 1; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prod-format { font-size: 12.5px; color: var(--muted); }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--r-sm);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 500; font-size: 14.5px;
  border: 1.5px solid var(--line); color: var(--ink-soft); background: #fff; transition: all .15s;
}
.pagination a:hover { border-color: var(--green-300); color: var(--green-700); }
.pagination .current { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.pagination .arrow svg { width: 17px; height: 17px; }
.pagination .disabled { opacity: .4; pointer-events: none; }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-block: 10px 40px; align-items: start; }
.gallery .ph-main { aspect-ratio: 1/1; border-radius: var(--r-xl); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery-thumbs .ph { aspect-ratio: 1/1; border-radius: var(--r-md); cursor: pointer; }
.gallery-thumbs .ph.active { border: 2px solid var(--green-500); }

.product-info { position: sticky; top: var(--header-h); }
.product-brand { font-family: var(--font-head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-500); font-weight: 600; margin-bottom: 12px; }
.product-info h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; margin-bottom: 16px; }
.product-meta { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.rating { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-soft); }
.rating .stars { display: flex; gap: 2px; color: var(--amber); }
.rating .stars svg { width: 16px; height: 16px; }
.meta-pill { font-size: 12.5px; font-weight: 600; font-family: var(--font-head); color: var(--green-700); background: var(--green-100); padding: 5px 12px; border-radius: var(--r-pill); }

.info-box {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 24px; margin-bottom: 22px;
}
.info-box .ib-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.info-box .ib-row:last-child { border-bottom: none; }
.info-box .ib-row .k { color: var(--muted); }
.info-box .ib-row .v { color: var(--ink); font-weight: 600; font-family: var(--font-head); }

.product-cta { display: flex; gap: 12px; margin-bottom: 22px; }
.product-cta .btn-primary { flex: 1; justify-content: center; }

/* Accordion / tabs of content */
.product-content { padding-block: 20px 50px; }
.content-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.content-tabs::-webkit-scrollbar { display: none; }
.content-tabs button {
  padding: 14px 22px; font-family: var(--font-head); font-weight: 500; font-size: 15px;
  color: var(--muted); border-bottom: 2.5px solid transparent; white-space: nowrap; transition: color .15s, border-color .15s;
}
.content-tabs button:hover { color: var(--ink); }
.content-tabs button.active { color: var(--green-700); border-bottom-color: var(--green-700); font-weight: 600; }
.tab-panel { display: none; max-width: 760px; }
.tab-panel.active { display: block; animation: fadeIn .3s ease; }
.tab-panel h3 { font-size: 19px; margin-bottom: 14px; margin-top: 26px; }
.tab-panel h3:first-child { margin-top: 0; }
.tab-panel p { color: var(--ink-soft); margin-bottom: 14px; font-size: 15.5px; }
.tab-panel ul.bullets { margin-bottom: 16px; }
.tab-panel ul.bullets li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--ink-soft); font-size: 15.5px; }
.tab-panel ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--green-300); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Related */
.related .prod-grid { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   COOKIE BANNER & BACK TO TOP
   ============================================================ */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 80;
  max-width: 560px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 22px 24px;
  transform: translateY(160%); transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cookie.show { transform: translateY(0); }
.cookie h4 { font-size: 16px; margin-bottom: 6px; display: flex; align-items: center; gap: 9px; }
.cookie h4 svg { width: 20px; height: 20px; color: var(--green-700); }
.cookie p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; }
.cookie p a { color: var(--green-700); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }

.back-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 50px; height: 50px; border-radius: 50%; background: var(--green-700); color: #fff;
  display: grid; place-items: center; box-shadow: var(--sh-green);
  opacity: 0; pointer-events: none; transform: translateY(12px) scale(.9); transition: all .25s;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { background: var(--green-900); transform: translateY(-2px); }
.back-top svg { width: 22px; height: 22px; }

/* Toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 500; z-index: 120; box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: 10px; transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.toast svg { width: 19px; height: 19px; color: var(--green-300); }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 900px) {
  :root { --header-h: 80px; }
  .header-main { gap: 14px; }
  .cat-nav, .search.header-search { display: none; }
  .hamburger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
  .hero-media { order: -1; }
  .serv-grid { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .about .ph { min-height: 240px; }
  .about-body { padding: 8px 28px 30px; }
  .cat-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .product-layout { grid-template-columns: 1fr; gap: 30px; }
  .product-info { position: static; }
  .related .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding-inline: 16px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .serv-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { padding: 24px; }
  .hero-trust { gap: 16px; }
  .newsletter { padding: 30px 24px; }
  .nl-form { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .section { padding-block: 40px; }
  .prod-card .prod-desc { display: none; }
}
@media (max-width: 420px) {
  .prod-grid, .related .prod-grid { grid-template-columns: 1fr; }
}
