/* ============================================================
   Vizuálny refresh 2026 — všetky shopy (3.sk, L222, kevo)
   Vrstva NAD styles.css a POD témou shopu (SITE_THEME ju môže prepísať): mení len vzhľad (písmo, zaoblenie, plochy),
   štruktúru šablón nechávame. Vypnutie = odobrať <link> v base.html.
   ============================================================ */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/pjs-latin-ext.341687eeeb6a.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/pjs-latin.7660bd9909fb.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #18181b;
  --ink-soft: #3f3f46;
  --muted: #5f5f68;
  --line: #ececea;
  --line-strong: #dcdcd8;
  --bg-soft: #f5f5f4;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-md: 0 10px 30px -14px rgba(24, 24, 27, .18);
  --shadow-lift: 0 18px 40px -18px rgba(24, 24, 27, .25);
}

body { font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -0.005em; }
h1, h2, h3 { letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: 34px; }
h2 { font-size: 26px; }

/* tlačidlá: pilulky */
.btn { border-radius: 999px; padding: 13px 26px; }
.btn:hover { transform: none; box-shadow: none; }
.btn.sec { border-width: 1px; }

/* header: sklo + pilulkové vyhľadávanie */
header.site { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: var(--line); }
.search input { border-radius: 999px; border: 1px solid var(--line); padding: 13px 56px 13px 22px; background: var(--bg-soft); }
.search input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(24, 24, 27, .08); }
.search button { border-radius: 999px; right: 5px; background: var(--amber); }
.search button:hover { background: var(--amber-dark); }
.cartlink { border-radius: 999px; border: 0; background: var(--ink); color: #fff; padding: 11px 18px 11px 16px; }
.cartlink:hover { color: #fff; background: #000; box-shadow: none; }
.suggest { border-radius: 20px; }

/* navigácia kategórií: pilulky namiesto podčiarknutia */
nav.catnav { background: rgba(255, 255, 255, .9); }
nav.catnav .wrap { align-items: center; padding-top: 6px; padding-bottom: 6px; }
.megabtn { height: 40px; padding: 0 16px; border-right: 0; border-radius: 999px; background: var(--bg-soft); }
.quicklinks { gap: 4px; }
.quicklinks a { height: 40px; border-bottom: 0; border-radius: 999px; padding: 0 14px; font-weight: 600; color: var(--ink-soft); }
.quicklinks a:hover { background: var(--bg-soft); color: var(--ink); }
.megapanel { border-radius: 0 0 24px 24px; }

/* hero */
.hero { background: #fff; border-bottom: 0; }
.hero .wrap { padding: 56px 24px 40px; }
.hero h1 { font-size: 56px; line-height: 1.04; letter-spacing: -0.04em; max-width: 900px; }
.hero p.sub { font-size: 18px; color: var(--muted); }
/* bez newsletter panelu vedľa (hero-copy je jediné dieťa) centrujeme celý blok */
.home-hero .wrap > .hero-copy:only-child h1,
.home-hero .wrap > .hero-copy:only-child p.sub,
.home-hero .wrap > .hero-copy:only-child .search { margin-left: auto; margin-right: auto; max-width: 860px; }
.hero .search input { border-radius: 999px; padding: 20px 70px 20px 28px; border: 1px solid var(--line-strong); box-shadow: 0 18px 40px -22px rgba(24, 24, 27, .35); }
.hero .search button { width: 52px; height: 52px; right: 7px; border-radius: 999px; }
.hero-trust { border-top: 0; padding-top: 0; gap: 10px; }
.hero-trust span { padding: 8px 14px 8px 32px; border-radius: 999px; background: var(--bg-soft); font-weight: 600; color: var(--ink-soft); }
.hero-trust span::before { left: 13px; top: 50%; transform: translateY(-52%); }
.hero .poplinks a { border-color: var(--line); background: var(--bg-soft); }

/* sekcie titulky */
.home-section { padding-top: 48px; }
.home-section .head h2 { font-size: 30px; }
.why-grid { border: 0; gap: 12px; }
.why-item, .why-item:nth-child(3n+2), .why-item:nth-child(3n+3) { border: 1px solid var(--line); border-radius: 20px; }
.why-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
.why-icon { border-radius: 14px; background: var(--bg-soft); color: var(--ink); }
.home-category { border-radius: 22px; border-color: transparent; background: var(--bg-soft); }
.home-category:hover { transform: translateY(-3px); border-color: transparent; }
.home-category-image { margin: 8px 8px 0; border-radius: 16px; }
.home-category-label > span { color: var(--ink); }

/* produktové karty */
.grid { gap: 16px; }
.card { border-radius: 22px; border-color: var(--line); padding: 8px; }
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card-media { border-radius: 16px; overflow: hidden; background: var(--bg-soft); }
.card img { background: transparent; mix-blend-mode: multiply; }
.card-image-missing { border-radius: 16px; }
.card .body { padding: 10px 8px 8px; }
.card .brand { letter-spacing: .06em; color: var(--muted); }
.card .name { font-size: 14.5px; font-weight: 600; }
.card:hover .name { color: var(--ink); }
.card .price { font-size: 21px; letter-spacing: -0.02em; }
.sale-badge { border-radius: 999px; padding: 0 11px; min-height: 26px; }
.card-foot { border-top: 0; padding: 4px 8px 6px; min-height: 0; }
.card-cart button { min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--ink); font-size: 13px; }
.card-cart button:hover { background: var(--accent); }

/* benefity */
.benefits { background: #fff; border: 0; }
.benefits .wrap { gap: 12px; }
.benefit { padding: 16px 18px; border: 1px solid var(--line); border-radius: 20px; }
.benefit .ico { border: 0; background: var(--bg-soft); color: var(--ink); border-radius: 14px; }

/* detail produktu */
.pdetail .imgbox { border: 0; border-radius: 28px; background: var(--bg-soft); }
.pdetail img.main { mix-blend-mode: multiply; }
.pdetail h1 { font-size: 36px; line-height: 1.1; }
.buy { font-size: 40px; letter-spacing: -0.03em; }
.pdfeat .ic { border-radius: 999px; background: var(--bg-soft); color: var(--ink); }
.params { border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.params tr:last-child td { border-bottom: 0; }

/* kategória: filtre a nástrojová lišta */
.cattoolbar select, .rangebox input { border-radius: 999px; border-width: 1px; }

@media (max-width: 720px) {
  .hero .wrap { padding: 32px 16px 28px; }
  .hero h1 { font-size: 36px; }
  h1 { font-size: 28px; }
  .pdetail h1 { font-size: 28px; }
  .buy { font-size: 32px; }
}
