/* ENETZ – písma hostované na enetz.sk (Archivo, Inter, JetBrains Mono; OFL licencia), sady latin a latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600 900;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600 900;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(/fonts/archivo-latin.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  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;
}

/*
 * ENETZ – jednotný motív 2026, e-shop (WooCommerce, téma enetz-store-v101)
 * Načítať ZA style.css témy, napr. vo functions.php:
 *   wp_enqueue_style('enetz-tema', get_stylesheet_directory_uri() . '/enetz-tema.css', ['enetz-store-style'], '2026-10');
 * alebo vložiť do Vzhľad → Prispôsobiť → Dodatočné CSS.
 * Hodnoty sú totožné s web-tema.css (hlavný web).
 */

:root {
  --store-ink: #18221d;
  --store-ink-soft: #2b3a32;
  --store-green: #364f41;         /* farba loga – tlačidlá „Do košíka“, vyhľadávanie */
  --store-green-bright: #2e7d5b;  /* hover, odkazy, ceny */
  --store-green-soft: #e6efe9;
  --store-accent: #f2b705;        /* rovnaká žltá ako na hlavnom webe (predtým #f3c64d) */
  --store-paper: #f4f6f3;
  --store-white: #ffffff;
  --store-text: #18221d;
  --store-muted: #5f6d66;
  --store-line: #dbe2dd;
  --store-radius: 8px;
  --store-shadow: 0 18px 48px rgba(24, 34, 29, 0.12);

  --brand-deep: #1f2d26;
  --brand-deeper: #16201b;
  --font-display: "Archivo", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
}

body { font-family: var(--font-body); -webkit-font-smoothing: antialiased; }

/* ---------- Typografia ako na hlavnom webe ---------- */
.store-hero h1,
.store-section-heading h2,
.store-page-header h1,
.store-not-found h1,
.woocommerce-products-header__title,
.woocommerce div.product .product_title,
.woocommerce .cart_totals h2,
.woocommerce-checkout h3,
.store-subcategories-heading h2,
.store-category-copy > strong,
.store-footer h3,
.store-brands {
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.store-eyebrow,
.store-brand-title,
.store-category-link,
.woocommerce .woocommerce-breadcrumb {
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.store-eyebrow, .store-brand-title { font-size: 12px; }
.woocommerce .woocommerce-breadcrumb { font-size: 11px; letter-spacing: 0.06em; }

/* ---------- Hlavička ---------- */
.store-announcement { background: var(--brand-deep); }
.store-menu a { font-weight: 600; color: var(--store-ink-soft); }
.store-search { border-color: var(--store-line); border-radius: var(--store-radius); }
.store-search:focus-within {
  border-color: var(--store-green-bright);
  box-shadow: 0 0 0 3px rgba(46, 125, 91, 0.16);
}
.store-search button { background: var(--store-green); }
.store-search button:hover { background: var(--store-green-bright); }
.store-menu-toggle { border-radius: var(--store-radius); background: var(--store-green); }

/* ---------- Tlačidlá – rovnaký tvar ako na webe ---------- */
.store-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: var(--store-radius);
  font-weight: 700;
}
.store-button-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: #ffc933;
}
.store-button:focus-visible,
.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--store-accent);
  outline-offset: 2px;
}

/* ---------- Úvod e-shopu ---------- */
.store-hero::before {
  background: linear-gradient(90deg, rgba(22, 32, 27, 0.94) 0%, rgba(22, 32, 27, 0.76) 38%, rgba(22, 32, 27, 0.2) 72%, rgba(22, 32, 27, 0.08) 100%);
}
.store-hero h1 { font-size: clamp(36px, 5vw, 56px); }
.store-benefits .dashicons { color: var(--store-green-bright); }

/* ---------- Kategórie a produkty ---------- */
.store-category::after { background: rgba(22, 32, 27, 0.5); }
.store-category:hover::after { background: rgba(22, 32, 27, 0.34); }
.store-subcategory-icon { border-radius: var(--store-radius); }
.store-subcategory:hover { border-color: rgba(46, 125, 91, 0.45); }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  box-shadow: 0 1px 2px rgba(24, 34, 29, 0.04), 0 10px 26px rgba(24, 34, 29, 0.06);
}
.woocommerce ul.products li.product:hover { border-color: rgba(46, 125, 91, 0.45); }
.woocommerce ul.products li.product .price,
.woocommerce div.product span.price,
.woocommerce div.product p.price { color: var(--store-green-bright); }
.woocommerce span.onsale { border-radius: 4px; }

.woocommerce .woocommerce-ordering select,
.woocommerce .quantity .qty,
.select2-container--default .select2-selection--single { border-radius: var(--store-radius); }

/* ---------- Pätička ako na hlavnom webe ---------- */
.store-footer { background: var(--brand-deeper); }
.store-footer .store-footer-withdrawal { border-radius: var(--store-radius); }

h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 480px) {
  .store-hero h1, .store-section-heading h2, .woocommerce-products-header__title,
  .woocommerce div.product .product_title { font-stretch: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
