/*
Theme Name: Pijawki Nordic
Theme URI: https://pijawki.pl/
Author: Pijawki.pl
Description: Lekki, autorski motyw WooCommerce dla pijawki.pl.
Version: 1.0.0
Text Domain: pijawki-nordic
*/

:root { --ink:#183328; --green-deep:#2f5b42; --olive:#697b35; --sage:#eef4e8; --line:#dbe5d4; --paper:#fffefa; --muted:#53655a; --radius:18px; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--paper); font:16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color:inherit; text-decoration:none; }
/* Zwykłe odnośniki są typograficznie odróżnione od tekstu i przycisków. */
a:not(.button) { font-family:Georgia, "Times New Roman", serif; font-weight:700; }
.site-shell { width:min(1200px, calc(100% - 40px)); margin:auto; }
.site-header { border-bottom:1px solid var(--line); background:rgba(255,254,250,.96); }
.header-inner { min-height:78px; display:flex; align-items:center; gap:36px; }
.brand { display:flex; align-items:center; }
.brand img { display:block; width:190px; height:auto; }
.primary-nav { display:flex; align-items:center; gap:28px; margin-left:auto; font-weight:650; }
.primary-nav a { padding:10px 0; }
.primary-nav a:hover { color:var(--green-deep); }
.cart-link { border:1px solid var(--line); border-radius:99px; padding:9px 15px !important; }
.hero { min-height:490px; display:flex; align-items:center; background:#edf4e8 url('assets/images/hero-leech.png') center/cover no-repeat; }
.hero-copy { width:min(505px, 55%); padding:58px 0; }
.eyebrow { display:block; width:43px; height:4px; background:var(--olive); margin-bottom:18px; }
h1,h2,h3 { line-height:1.05; letter-spacing:-.055em; margin:0; }
h1 { font-size:clamp(42px, 5vw, 72px); max-width:10ch; }
.hero p { color:#43584a; max-width:39ch; margin:22px 0 29px; font-size:18px; }
.button { display:inline-flex; align-items:center; gap:10px; padding:13px 21px; border-radius:9px; border:0; background:var(--green-deep); color:#fff; font-weight:750; }
.button:hover { background:var(--olive); }
.section { padding:82px 0; }
.section-title { font-size:clamp(30px, 3.3vw, 47px); margin-bottom:28px; }
.collection-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.collection-card { min-height:282px; border-radius:var(--radius); overflow:hidden; padding:32px; display:flex; flex-direction:column; justify-content:flex-end; background:#e3ecda center/cover no-repeat; }
.collection-card--leeches { background-image:url('assets/images/hero-leech.png'); background-position:63% center; }
.collection-card--dressings { background-image:url('assets/images/category-dressings.png'); background-position:66% center; }
.collection-card h2 { font-size:42px; }
.collection-card p { max-width:22ch; color:#405a48; }
.collection-card .button { width:max-content; background:#fff; color:var(--ink); }
.benefits { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.benefit { padding:27px 25px; display:flex; gap:14px; align-items:center; color:var(--muted); }
.benefit:not(:last-child) { border-right:1px solid var(--line); }
.benefit-mark { width:36px; height:36px; flex:0 0 36px; display:grid; place-items:center; border-radius:50%; background:var(--sage); color:var(--green-deep); font-weight:800; }
.product-grid ul.products { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin:0; padding:0; list-style:none; }
.product-grid ul.products::before, .product-grid ul.products::after { content:none!important; display:none!important; }
.product-grid .product { margin:0!important; width:auto!important; }
.woocommerce ul.products li.product a img { border-radius:12px; margin-bottom:13px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color:var(--ink); font-size:17px; padding:0; }
.woocommerce ul.products li.product .price { color:var(--green-deep); font-weight:750; }
.woocommerce a.button, .woocommerce button.button { background:var(--ink); color:#fff; border-radius:8px; font-weight:700; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background:var(--olive); color:#fff; }
.site-footer { margin-top:60px; background:var(--ink); color:#dce9d8; padding:48px 0 28px; }
.footer-top { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; }
.footer-brand { color:#fff; font-weight:750; letter-spacing:-1px; font-size:24px; }
.footer-links { display:flex; gap:22px; font-size:14px; }
.site-footer a { color:#dce9d8; }
.site-footer .footer-brand { color:#fff; }
.footer-note { border-top:1px solid rgba(255,255,255,.15); margin-top:36px; padding-top:20px; font-size:13px; color:#b8cbb9; }
.woocommerce a { color:var(--green-deep); }
.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce div.product .stock { color:var(--green-deep); }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background:var(--green-deep); color:#fff; }
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background:var(--olive); color:#fff; }
.woocommerce span.onsale { background-color:var(--olive); }
.woocommerce-message, .woocommerce-info { border-top-color:var(--olive); background:#f4f8ef; }
.woocommerce-message::before, .woocommerce-info::before { color:var(--green-deep); }
.woocommerce .quantity .qty, .woocommerce input.input-text, .woocommerce textarea, .woocommerce select { border-color:var(--line); border-radius:7px; }
.woocommerce .quantity .qty:focus, .woocommerce input.input-text:focus, .woocommerce textarea:focus, .woocommerce select:focus { border-color:var(--olive); outline:2px solid rgba(105,123,53,.16); outline-offset:1px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-color:var(--line); background:var(--sage); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background:var(--paper); border-bottom-color:var(--paper); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-bottom-color:var(--line); }
.woocommerce .woocommerce-breadcrumb, .woocommerce .woocommerce-breadcrumb a { color:var(--muted); }
/* Dłuższe opisy produktów: nagłówek musi wyraźnie oddzielać się od treści. */
.woocommerce div.product .woocommerce-Tabs-panel--description :is(h2,h3) + :is(p,ul,ol) { margin-top:13px; }
.product-cutoff { display:flex; gap:12px; align-items:flex-start; margin:20px 0 24px; padding:15px 16px; border:1px solid #c9dbc9; border-radius:10px; background:#f4f8ef; color:var(--ink); }
.product-cutoff__icon { display:grid; place-items:center; flex:0 0 27px; width:27px; height:27px; border-radius:50%; background:var(--green-deep); color:#fff; font-weight:800; }
.product-cutoff__text { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0; line-height:1.5; font-weight:700; }
.product-cutoff__timer { display:inline-flex; gap:8px; align-items:flex-start; }
.product-cutoff__timer[hidden], .product-cutoff__suffix[hidden] { display:none!important; }
.product-cutoff__unit { display:grid; gap:2px; justify-items:center; }
.product-cutoff__digits { display:flex; gap:3px; }
.product-cutoff__digits i { display:grid; width:1.1em; height:1.35em; place-items:center; border:2px solid var(--olive); border-radius:3px; background:#fff; color:var(--green-deep); font:800 22px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style:normal; box-shadow:inset 0 -2px 0 rgba(105,123,53,.12); }
.product-cutoff__unit small { color:var(--muted); font-size:10px; font-weight:800; letter-spacing:.05em; line-height:1; text-transform:uppercase; }
.product-cutoff--closed { border-color:var(--line); background:var(--sage); }
.product-cutoff--closed .product-cutoff__icon { background:var(--olive); }
.pijawki-leech-minimum-product { margin:16px 0; padding:12px 14px; border-left:4px solid var(--olive); background:var(--sage); color:var(--ink); font-size:14px; line-height:1.5; }
.pijawki-leech-minimum-cart { margin-bottom:22px!important; }
.guide-heading { max-width:720px; margin-bottom:44px; }
.guide-heading h1 { max-width:18ch; font-size:clamp(32px, 3.7vw, 50px); }
.guide-article h1 { max-width:100%; font-size:clamp(32px, 3.7vw, 50px); }
.guide-heading p { max-width:60ch; color:var(--muted); margin:20px 0 0; font-size:18px; }
.guide-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:20px; }
.guide-card { display:flex; min-height:250px; flex-direction:column; padding:28px; border:1px solid var(--line); border-radius:var(--radius); background:#f8fbf5; }
.guide-card h2 { font-size:28px; margin:6px 0 13px; }
.guide-card > p:not(.guide-category) { color:var(--muted); margin:0; }
.guide-category { color:var(--olive); font-size:13px; font-weight:750; text-transform:uppercase; letter-spacing:.06em; margin:0; }
.guide-read { margin-top:auto; padding-top:23px; color:var(--green-deep); font-weight:750; }
.guide-article { max-width:820px; }
.guide-article > .guide-category { margin-bottom:12px; }
.guide-article h1 { margin-bottom:31px; }
.guide-article h2 { font-size:32px; margin-top:44px; }
.guide-article h3 { font-size:21px; margin-top:25px; }
.guide-article :is(h2,h3) + :is(p,ul,ol) { margin-top:13px; }
.guide-article li + li { margin-top:6px; }
.site-main { min-height:55vh; padding:58px 0; }
/* Separacja działów w prostych stronach redagowanych w WordPressie, np. FAQ. */
.site-main .site-shell > h2:not(:first-child) { margin-top:52px; padding-top:4px; }
@media (max-width:760px) { .site-shell { width:min(100% - 28px, 1200px); } .header-inner { min-height:66px; gap:15px; } .brand img { width:154px; } .primary-nav { gap:14px; font-size:14px; } .hero { min-height:510px; background-position:63% center; align-items:flex-start; } .hero-copy { width:100%; padding:48px 0; } .hero p { max-width:26ch; } .collection-grid,.benefits,.product-grid ul.products,.guide-grid { grid-template-columns:1fr; } .benefit:not(:last-child) { border-right:0; border-bottom:1px solid var(--line); } .collection-card { min-height:245px; } .footer-top { flex-direction:column; } .product-cutoff__timer { gap:5px; } .product-cutoff__digits i { font-size:19px; } }
