/* =====================================================================
   Vitek — Workshop  |  hlavní skin
   Světlý, vzdušný e-shop dle design handoffu (Archivo, #ce322b).
   Načítá se jako poslední, samostatný (nezávisí na Shoptet CSS řetězci).
   ===================================================================== */

:root {
    --ws-ink:      #201d1a;
    --ws-sec:      #6f6a62;
    --ws-ter:      #8a857c;
    --ws-dis:      #a29c92;
    --ws-red:      #ce322b;
    --ws-red-h:    #a92c22;
    --ws-page:     #f8f7f5;
    --ws-input:    #f3f1ee;
    --ws-card:     #ffffff;
    --ws-line:     #e7e4de;
    --ws-line2:    #d9d5cd;
    --ws-dark:     #201d1a;
    --ws-dark-txt: #c9c4bc;
    --ws-eyebrow:  #e8a49e;
    --ws-green:    #2f8a4c;
    --ws-green-bg: #e8f3ec;
    --ws-green-tx: #2f6a44;
    --ws-r-card:   12px;
    --ws-r-btn:    8px;
    --ws-r-badge:  6px;
    --ws-pad:      40px;
    --ws-max:      1280px;
}

/* ---- přebití Astra palety ----
   Astra maluje tlačítka výchozí primární barvou #046BD2 (--ast-global-color-0).
   Prosakovalo to všude, kde tlačítko nekreslí naše CSS: "Přidat do košíku" na
   detailu produktu, "Zobrazit košík" v hlášce, "Pokračujte k pokladně" a
   "Odeslat objednávku" (WooCommerce bloky). Přemapováno na akcent šablony. */
body.ws-theme {
    --ast-global-color-0: var(--ws-red);
    --ast-global-color-1: var(--ws-red-h);
    --wp--preset--color--primary: var(--ws-red);
}

/* ---- reset / base ---- */
.ws-body,
body.ws-theme {
    margin: 0;
    background: var(--ws-page);
    color: var(--ws-ink);
    font-family: 'Archivo', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
body.ws-theme * { box-sizing: border-box; }
body.ws-theme img { max-width: 100%; height: auto; display: block; }
body.ws-theme a { color: var(--ws-red); text-decoration: none; }
body.ws-theme a:hover { color: var(--ws-red-h); }
body.ws-theme h1, body.ws-theme h2, body.ws-theme h3, body.ws-theme h4 {
    margin: 0; letter-spacing: -0.5px; color: var(--ws-ink);
}
.ws-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;
}
.ws-wrap { max-width: var(--ws-max); margin: 0 auto; padding: 0 var(--ws-pad); }

/* ---- buttons ---- */
.ws-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: var(--ws-r-btn); font-weight: 600; font-size: 15px;
    padding: 14px 24px; cursor: pointer; border: 1px solid transparent;
    transition: background .15s, color .15s, border-color .15s; line-height: 1;
}
body.ws-theme .ws-btn-red,
body.ws-theme a.ws-btn-red { background: var(--ws-red); color: #fff; }
body.ws-theme .ws-btn-red:hover { background: var(--ws-red-h); color: #fff; }
body.ws-theme .ws-btn-ghost,
body.ws-theme a.ws-btn-ghost { background: #fff; color: var(--ws-ink); border-color: var(--ws-line2); }
body.ws-theme .ws-btn-ghost:hover { border-color: var(--ws-ink); }
body.ws-theme .ws-btn-dark,
body.ws-theme a.ws-btn-dark { background: var(--ws-dark); color: #fff; }
body.ws-theme .ws-btn-dark:hover { background: #000; color: #fff; }

/* =====================================================================
   TOP BAR
   ===================================================================== */
.ws-topbar {
    background: var(--ws-page);
    border-bottom: 1px solid var(--ws-line);
    font-size: 12px; color: var(--ws-sec);
}
.ws-topbar .ws-wrap {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 8px; padding-bottom: 8px; gap: 16px;
}
.ws-topbar a { color: var(--ws-sec); }
.ws-topbar a:hover { color: var(--ws-red); }
.ws-topbar-r { display: flex; gap: 18px; }

/* =====================================================================
   HEADER
   ===================================================================== */
.ws-header { background: #fff; border-bottom: 1px solid var(--ws-line); }
.ws-header-main {
    display: flex; align-items: center; gap: 32px;
    padding-top: 18px; padding-bottom: 18px;
}
.ws-logo img { height: 44px; width: auto; }
.ws-search { flex: 1; position: relative; }
.ws-search input {
    width: 100%; background: var(--ws-input); border: 1px solid var(--ws-line);
    border-radius: var(--ws-r-btn); padding: 11px 16px 11px 40px;
    font-size: 14px; color: var(--ws-ink); font-family: inherit;
}
.ws-search input::placeholder { color: var(--ws-ter); }
.ws-search input:focus { outline: none; border-color: var(--ws-line2); background: #fff; }
.ws-search-ic {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    color: var(--ws-ter); font-size: 14px; pointer-events: none;
}
.ws-header-meta {
    display: flex; align-items: center; gap: 22px;
    font-size: 13px; font-weight: 500; color: var(--ws-ink); white-space: nowrap;
}
.ws-header-meta a { color: var(--ws-ink); }
.ws-header-meta a:hover { color: var(--ws-red); }
.ws-cart {
    background: var(--ws-dark); color: #fff !important; border-radius: var(--ws-r-btn);
    padding: 10px 16px; font-weight: 600;
}
.ws-cart:hover { background: #000; }

/* category nav (desktop) */
.ws-nav .ws-wrap { padding-bottom: 14px; }
.ws-menu {
    display: flex; gap: 28px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0;
    font-size: 14px; font-weight: 600;
}
.ws-menu a { color: var(--ws-ink); }
.ws-menu a:hover { color: var(--ws-red); }
.ws-menu .ws-nav-sale a,
.ws-menu a.ws-sale,
.ws-menu li.menu-item:last-child a[href*="vyprodej"] { color: var(--ws-red); }

/* hamburger + mobile-only header pieces (hidden on desktop) */
.ws-burger, .ws-mobile-search, .ws-cart-mini { display: none; }
.ws-burger {
    width: 34px; height: 34px; flex-direction: column; justify-content: center;
    gap: 4px; background: none; border: none; cursor: pointer; padding: 4px;
}
.ws-burger span { width: 20px; height: 2px; background: var(--ws-ink); border-radius: 2px; }
.ws-burger span:last-child { width: 14px; }

/* =====================================================================
   HOMEPAGE
   ===================================================================== */
.ws-shop { padding-bottom: 8px; }

/* hero */
.ws-hero { background: var(--ws-page); }
.ws-hero .ws-wrap {
    display: grid; grid-template-columns: 1fr 520px; gap: 48px;
    padding-top: 56px; padding-bottom: 56px; align-items: center;
}
.ws-eyebrow {
    font-size: 13px; font-weight: 600; color: var(--ws-red);
    letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px;
}
.ws-hero h1 {
    font-size: 44px; font-weight: 800; line-height: 1.1;
    letter-spacing: -1px; text-wrap: balance;
}
.ws-hero-sub {
    font-size: 16px; line-height: 1.55; color: var(--ws-sec);
    margin: 16px 0 0; max-width: 440px;
}
.ws-hero-ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.ws-hero-media {
    height: 320px; border-radius: var(--ws-r-card); overflow: hidden;
    border: 1px solid var(--ws-line); background: var(--ws-input);
}
.ws-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ws-ph {
    background: repeating-linear-gradient(45deg,#eceae6 0 12px,#f3f1ee 12px 24px);
    display: flex; align-items: center; justify-content: center;
    color: var(--ws-ter); font: 11px ui-monospace, Menlo, monospace; text-align: center;
}

/* Dokud nejsou fotky prodejny, jede tmavý banner na jeden sloupec.
   Text se drží v čitelné šířce, ať se nadpis neroztáhl přes celých 1280 px. */
.ws-banner.ws-nomedia { grid-template-columns: 1fr; }
.ws-banner.ws-nomedia .ws-banner-copy { max-width: 820px; }

/* ---- Tip z prodejny: slevněný produkt v heru (místo fotky) ---- */
.ws-tip {
    height: 320px; background: #fff; border: 1px solid var(--ws-line);
    border-radius: var(--ws-r-card); padding: 18px;
    display: flex; gap: 18px; align-items: stretch;
}
.ws-tip-media {
    position: relative; flex: 0 0 42%; border: 1px solid #f0eeea;
    border-radius: 10px; overflow: hidden; background: #fff;
    display: flex; align-items: center; justify-content: center;
}
.ws-tip-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ws-tip-badge {
    position: absolute; top: 9px; left: 9px; background: var(--ws-red); color: #fff;
    font-size: 12px; font-weight: 700; border-radius: 6px; padding: 4px 8px; white-space: nowrap;
}
.ws-tip-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ws-tip-kicker {
    margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .09em;
    text-transform: uppercase; color: var(--ws-red);
}
.ws-tip-name { margin: 8px 0 0; font-size: 18px; font-weight: 700; line-height: 1.32; }
/* body.ws-theme a {color:red} má vyšší specificitu než .ws-tip-name a,
   takže název musí být zapsaný přes body.ws-theme, jinak zčervená celý */
body.ws-theme .ws-tip-name a {
    color: var(--ws-ink);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
}
body.ws-theme .ws-tip-name a:hover { color: var(--ws-red); }
.ws-tip-stock {
    display: flex; align-items: center; gap: 7px; margin: 10px 0 0;
    font-size: 13.5px; font-weight: 600; color: var(--ws-green);
}
.ws-tip-stock .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ws-green); flex: none; }
.ws-tip-prices {
    margin: auto 0 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    font-variant-numeric: tabular-nums;
}
.ws-tip-prices .old { font-size: 14px; color: var(--ws-ter); text-decoration: line-through; }
.ws-tip-prices strong { font-size: 26px; font-weight: 800; color: var(--ws-ink); letter-spacing: -.02em; }
.ws-tip-btn {
    margin-top: 12px; display: block; text-align: center; background: var(--ws-red);
    color: #fff; font-size: 14.5px; font-weight: 700; border-radius: var(--ws-r-btn);
    padding: 12px 16px;
}
body.ws-theme .ws-tip-btn { color: #fff; }
body.ws-theme .ws-tip-btn:hover { background: var(--ws-red-h); color: #fff; }

/* ---- panel prodejny (hero i tmavý pás) ---- */
.ws-hours {
    height: 320px; background: #fff; border: 1px solid var(--ws-line);
    border-radius: var(--ws-r-card); padding: 24px 26px;
    display: flex; flex-direction: column;
}
.ws-hours-state { display: flex; align-items: center; gap: 9px; margin: 0; flex-wrap: wrap; }
.ws-hours-state b { font-size: 23px; font-weight: 800; color: var(--ws-ink); }
.ws-hours-state span:last-child { font-size: 14px; color: var(--ws-sec); }
.ws-hours-dot {
    width: 9px; height: 9px; border-radius: 50%; flex: none;
    background: var(--ws-green); box-shadow: 0 0 0 4px rgba(47,138,76,.16);
}
.ws-hours.is-closed .ws-hours-dot { background: var(--ws-ter); box-shadow: 0 0 0 4px rgba(138,133,124,.16); }

.ws-hours-rows { margin-top: 18px; border-top: 1px solid #ece9e3; }
.ws-hours-row {
    display: flex; justify-content: space-between; gap: 14px;
    padding: 9px 0; border-bottom: 1px solid #ece9e3; font-size: 14.5px;
}
.ws-hours-row .d { color: var(--ws-sec); }
.ws-hours-row .t { color: var(--ws-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.ws-hours-row.is-today .d,
.ws-hours-row.is-today .t { font-weight: 700; color: var(--ws-ink); }
.ws-hours-row.is-off .t { color: var(--ws-red); font-weight: 600; }

.ws-hours-foot {
    margin: auto 0 0; padding-top: 16px; font-size: 13.5px;
    line-height: 1.5; color: var(--ws-sec);
}
.ws-hours-foot b { color: var(--ws-ink); font-weight: 700; }
.ws-hours-foot a { color: var(--ws-red); font-weight: 600; white-space: nowrap; }

/* tmavá varianta do pásu „Prodejna & servis“ */
.ws-hours--dark {
    height: auto; background: transparent; border: 0;
    border-left: 1px solid rgba(255,255,255,.14);
    border-radius: 0; padding: 40px 44px; justify-content: center;
}
.ws-hours--dark .ws-hours-state b { color: #fff; }
.ws-hours--dark .ws-hours-state span:last-child { color: var(--ws-dark-txt); }
.ws-hours--dark .ws-hours-rows { border-top-color: rgba(255,255,255,.12); margin-top: 16px; }
.ws-hours--dark .ws-hours-row { border-bottom-color: rgba(255,255,255,.12); }
.ws-hours--dark .ws-hours-row .d { color: var(--ws-dark-txt); }
.ws-hours--dark .ws-hours-row .t { color: #fff; }
.ws-hours--dark .ws-hours-row.is-today .d,
.ws-hours--dark .ws-hours-row.is-today .t { color: #fff; }
.ws-hours--dark .ws-hours-row.is-off .t { color: var(--ws-eyebrow); }
.ws-hours--dark .ws-hours-foot { margin-top: 16px; color: var(--ws-dark-txt); }
.ws-hours--dark .ws-hours-foot b { color: #fff; }
body.ws-theme .ws-hours--dark .ws-hours-foot a { color: var(--ws-eyebrow); }

@media (max-width: 900px) {
    .ws-hours { height: auto; }
    .ws-hours--dark { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 28px 30px; }
    .ws-tip { height: auto; flex-direction: column; }
    .ws-tip-media { flex: 0 0 190px; }
    .ws-tip-prices { margin-top: 14px; }
}

/* sections */
.ws-section { padding-top: 48px; padding-bottom: 0; }
.ws-section:last-child { padding-bottom: 56px; }
.ws-section-head {
    display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px;
}
.ws-section-head h2 { font-size: 22px; font-weight: 700; }
.ws-seeall { font-size: 14px; font-weight: 600; color: var(--ws-red); }

/* category tiles */
/* Kategorií je pět, ne šest – auto-fit drží dlaždice v jedné řadě bez prázdného
   místa a nemusí se sahat do CSS, když jich jednou přibude nebo ubude. */
.ws-cats {
    display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.ws-cat {
    background: #fff; border: 1px solid var(--ws-line); border-radius: 10px;
    padding: 14px; display: flex; flex-direction: column; gap: 12px; color: var(--ws-ink);
}
.ws-cat:hover { border-color: var(--ws-line2); color: var(--ws-ink); }
.ws-cat-media { height: 96px; border-radius: var(--ws-r-btn); overflow: hidden; flex: none; }
.ws-cat-media img { width: 100%; height: 100%; object-fit: cover; }
/* Dvouřádkový název (Profi žebříky LITTLE GIANT) jinak posune počet položek níž
   než u ostatních dlaždic. Název drží dva řádky vždy, počet je přišpendlený dolů,
   takže všech pět čísel sedí na jedné lince. */
.ws-cat b {
    font-size: 14px; font-weight: 600; line-height: 1.3; min-height: 2.6em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ws-cat small { font-size: 12px; color: var(--ws-ter); font-weight: 500; margin-top: auto; }

/* product grid + card */
.ws-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.ws-product {
    background: #fff; border: 1px solid var(--ws-line); border-radius: 10px;
    padding: 16px; display: flex; flex-direction: column; gap: 10px; position: relative;
}
.ws-product-media {
    position: relative; height: 170px; border-radius: var(--ws-r-btn); overflow: hidden;
    display: block;
}
.ws-product-media img { width: 100%; height: 100%; object-fit: contain; }
.ws-badge {
    position: absolute; top: 8px; left: 8px; background: var(--ws-red); color: #fff;
    font-size: 11px; font-weight: 700; border-radius: 5px; padding: 3px 7px; z-index: 2;
}
.ws-product-name {
    font-size: 14px; font-weight: 600; line-height: 1.35; min-height: 38px; margin: 0;
}
.ws-product-name a { color: var(--ws-ink); }
.ws-product-name a:hover { color: var(--ws-red); }
.ws-sku { font-size: 12px; color: var(--ws-ter); }
.ws-avail { font-size: 12px; color: var(--ws-green); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ws-avail::before { content: "●"; font-size: 10px; }
.ws-avail-order { color: var(--ws-ter); }
.ws-price-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.ws-price { font-size: 17px; font-weight: 800; color: var(--ws-ink); }
.ws-price-old { font-size: 13px; color: var(--ws-ter); text-decoration: line-through; }
.ws-to-cart {
    border: 1px solid var(--ws-line2); border-radius: 7px; padding: 8px 14px;
    font-size: 13px; font-weight: 600; color: var(--ws-red); white-space: nowrap;
}
body.ws-theme .ws-to-cart:hover { background: var(--ws-red); color: #fff; border-color: var(--ws-red); }

/* store & service dark banner */
.ws-banner {
    margin-top: 48px; background: var(--ws-dark); border-radius: 14px;
    display: grid; grid-template-columns: 1fr 420px; overflow: hidden; color: #fff;
}
.ws-banner-copy { padding: 40px 44px; }
.ws-banner-copy .ws-eyebrow { color: var(--ws-eyebrow); }
/* Musí být přes body.ws-theme: `body.ws-theme h2` má specificitu (0,1,2)
   a přebilo by pouhé `.ws-banner-copy h2` (0,1,1) — nadpis pak splynul
   s tmavým pozadím a byl neviditelný. */
body.ws-theme .ws-banner-copy h2 { font-size: 28px; font-weight: 800; line-height: 1.2; color: #fff; }
.ws-banner-benes { display: flex; gap: 36px; margin-top: 24px; font-size: 14px; line-height: 1.6; color: var(--ws-dark-txt); }
.ws-banner-benes b { color: #fff; font-weight: 600; display: block; }
.ws-banner-media {
    background: repeating-linear-gradient(45deg,#33302b 0 12px,#3b3731 12px 24px);
}
.ws-banner-media img { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.ws-footer {
    background: var(--ws-page); border-top: 1px solid var(--ws-line);
    margin-top: 56px;
}
.ws-footer-top { padding-top: 40px; padding-bottom: 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.ws-footer-logo img { height: 30px; margin-bottom: 12px; }
.ws-footer p { font-size: 13px; color: var(--ws-sec); line-height: 1.6; margin: 0; }
.ws-footer h4 { font-size: 13px; font-weight: 700; margin: 0 0 12px; }
.ws-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ws-footer ul a { color: var(--ws-sec); font-size: 13px; }
.ws-footer ul a:hover { color: var(--ws-red); }
.ws-footer-map { border-radius: 10px; overflow: hidden; border: 1px solid var(--ws-line); }
.ws-footer-map iframe { display: block; width: 100%; height: 120px; border: 0; }
.ws-footer-bottom { border-top: 1px solid var(--ws-line); }
.ws-footer-bottom .ws-wrap {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 18px; padding-bottom: 18px; font-size: 12px; color: var(--ws-sec); gap: 12px;
}

/* =====================================================================
   BREADCRUMB / PAGE HEADS  (kategorie, produkt, obecná stránka)
   ===================================================================== */
.ws-page-wrap { padding-top: 24px; padding-bottom: 48px; }
.ws-crumbs { font-size: 13px; color: var(--ws-sec); margin-bottom: 12px; }
.ws-crumbs a { color: var(--ws-sec); }
.ws-crumbs a:hover { color: var(--ws-red); }
.ws-crumbs .sep { margin: 0 6px; color: var(--ws-line2); }
.ws-page-title { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }
.ws-page-title .count { font-size: 15px; font-weight: 500; color: var(--ws-ter); }
.ws-entry { font-size: 15px; line-height: 1.7; color: #3a3733; }
.ws-entry h2 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; }
.ws-entry h3 { font-size: 16px; font-weight: 700; margin: 20px 0 8px; }
.ws-entry ul, .ws-entry ol { padding-left: 20px; }
.ws-entry li { margin: 4px 0; }
.ws-entry a { text-decoration: underline; }
.ws-entry address { font-style: normal; line-height: 1.7; }

/* =====================================================================
   KONTAKT (3d / 4e)
   ===================================================================== */
.ws-contact { background: var(--ws-page); }
.ws-contact .ws-wrap { padding-top: 40px; padding-bottom: 40px; }
/* Levý sloupec dorovnává výšku mapy (po odstranění kontaktního formuláře
   by karta jinak končila v polovině). Obsah se rozprostře: adresa nahoře,
   otevírací doba uprostřed, tlačítka dole. */
.ws-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; align-items: stretch; }
.ws-contact-col { display: flex; flex-direction: column; gap: 16px; }
.ws-contact-col > .ws-card-box:only-child { flex: 1; display: flex; flex-direction: column; }
.ws-contact-col > .ws-card-box:only-child .ws-hours { margin-top: 22px; }
.ws-contact-col > .ws-card-box:only-child .ws-contact-btns { margin-top: auto; padding-top: 22px; }
.ws-card-box { background: #fff; border: 1px solid var(--ws-line); border-radius: var(--ws-r-card); padding: 24px; }
.ws-card-box h2 { font-size: 18px; font-weight: 800; }
.ws-card-box h3 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.ws-addr { font-size: 14px; color: var(--ws-sec); margin-top: 6px; }
.ws-hours { margin-top: 18px; font-size: 14px; }
.ws-hours-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--ws-line); }
.ws-hours-row:last-child { border-bottom: none; }
.ws-hours-row .d { color: var(--ws-sec); }
.ws-hours-row .t { font-weight: 700; color: var(--ws-ink); }
.ws-hours-row.closed .t { color: var(--ws-red); }
.ws-contact-btns { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.ws-field {
    width: 100%; border: 1px solid var(--ws-line2); border-radius: var(--ws-r-btn);
    padding: 12px 14px; font-size: 14px; color: var(--ws-ink); font-family: inherit;
    background: #fff;
}
.ws-field::placeholder { color: var(--ws-ter); }
.ws-field:focus { outline: none; border-color: var(--ws-ink); }
.ws-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
textarea.ws-field { min-height: 74px; resize: vertical; margin-top: 10px; }
.ws-contact-map {
    border-radius: var(--ws-r-card); overflow: hidden; border: 1px solid var(--ws-line);
    min-height: 520px;
}
.ws-contact-map iframe { display: block; width: 100%; height: 100%; min-height: 520px; border: 0; }

/* =====================================================================
   MOBILE DRAWER (off-canvas menu)
   ===================================================================== */
.ws-drawer {
    position: fixed; inset: 0 30% 0 0; background: #fff; z-index: 1000;
    transform: translateX(-105%); transition: transform .25s ease;
    box-shadow: 4px 0 24px rgba(0,0,0,.12); display: flex; flex-direction: column;
    max-width: 320px; overflow-y: auto;
}
.ws-drawer.open { transform: translateX(0); }
.ws-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--ws-line); }
.ws-drawer-head img { height: 28px; }
.ws-drawer-close { background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ws-ink); }
.ws-drawer nav { padding: 8px 0; }
.ws-drawer nav a { display: block; padding: 13px 20px; font-size: 15px; font-weight: 600; color: var(--ws-ink); border-bottom: 1px solid var(--ws-line); }
.ws-drawer nav a:hover { background: var(--ws-page); }
.ws-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 999;
    opacity: 0; visibility: hidden; transition: opacity .25s;
}
.ws-overlay.open { opacity: 1; visibility: visible; }

/* =====================================================================
   RESPONSIVE  ≤ 900 px  (mobil dle 4a–4e)
   ===================================================================== */
@media (max-width: 900px) {
    :root { --ws-pad: 16px; }

    .ws-topbar { display: none; }
    .ws-nav { display: none; }

    .ws-header-main { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
    .ws-burger { display: flex; }
    .ws-logo { flex: 1; display: flex; justify-content: center; }
    .ws-logo img { height: 30px; }
    .ws-search { display: none; }         /* přesune se pod hlavičku */
    .ws-header-meta { gap: 0; }
    .ws-header-meta > * { display: none; }
    .ws-cart-mini {
        display: inline-flex; background: var(--ws-dark); color: #fff !important;
        border-radius: var(--ws-r-btn); padding: 8px 12px; font-size: 12px; font-weight: 600;
    }
    .ws-mobile-search {
        display: block; background: #fff; border-bottom: 1px solid var(--ws-line);
        padding: 0 16px 12px;
    }
    .ws-mobile-search .ws-search { display: block; }

    .ws-hero .ws-wrap { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
    .ws-hero h1 { font-size: 29px; letter-spacing: -0.6px; }
    .ws-hero-sub { font-size: 14px; }
    .ws-hero-ctas { flex-direction: column; }
    .ws-hero-ctas .ws-btn { width: 100%; }
    .ws-hero-media { height: 200px; }

    .ws-section { padding-top: 28px; }
    .ws-section-head h2 { font-size: 18px; }

    .ws-cats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ws-cat { flex-direction: row; align-items: center; padding: 12px; }
    .ws-cat-media { width: 40px; height: 40px; border-radius: 8px; flex: none; }
    .ws-cat small { display: none; }

    .ws-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ws-product { padding: 12px; }
    .ws-product-media { height: 104px; }
    .ws-product-name { font-size: 13px; min-height: 34px; }
    .ws-price { font-size: 15px; }
    .ws-to-cart { padding: 7px 10px; }

    .ws-banner { grid-template-columns: 1fr; margin-top: 28px; }
    .ws-banner-copy { padding: 22px; }
    .ws-banner-copy h2 { font-size: 19px; }
    .ws-banner-benes { flex-direction: column; gap: 12px; margin-top: 12px; }
    .ws-banner-media { display: none; }

    .ws-footer-top { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
    .ws-footer-bottom .ws-wrap { flex-direction: column; align-items: flex-start; gap: 4px; }

    .ws-contact-grid { grid-template-columns: 1fr; }
    .ws-contact-col { order: 2; }
    .ws-contact-map { order: 1; min-height: 160px; }
    .ws-contact-map iframe { min-height: 160px; height: 160px; }
    .ws-field-row { grid-template-columns: 1fr; }
    .ws-page-title { font-size: 24px; }
}

/* =====================================================================
   WOOCOMMERCE SKIN  (výchozí markup Woo → nový design, full-width, bez sidebaru)
   Výpis kategorie 3a · detail produktu 3b · košík 3c
   ===================================================================== */

/* wrapper woo stránek */
.ws-woo { padding-top: 24px; padding-bottom: 48px; }
.ws-woo .woocommerce { color: var(--ws-ink); }
.ws-woo a { color: var(--ws-red); }

/* woo breadcrumb → náš styl */
.ws-woo .woocommerce-breadcrumb {
    font-size: 13px; color: var(--ws-sec); margin-bottom: 12px; padding: 0;
}
.ws-woo .woocommerce-breadcrumb a { color: var(--ws-sec); }
.ws-woo .woocommerce-breadcrumb a:hover { color: var(--ws-red); }

/* nadpis archivu + počet + řazení */
.ws-woo .woocommerce-products-header,
.ws-woo .term-description { margin-bottom: 8px; }
.ws-woo .woocommerce-products-header__title,
.ws-woo h1.entry-title,
.ws-woo .woocommerce-loop h1 {
    font-size: 30px; font-weight: 800; letter-spacing: -0.5px; margin: 0 0 4px;
}
.ws-woo .woocommerce-result-count {
    font-size: 14px; color: var(--ws-ter); margin: 0 0 16px; float: none;
}
.ws-woo .woocommerce-ordering { margin: 0 0 20px; }
.ws-woo .woocommerce-ordering select {
    border: 1px solid var(--ws-line2); border-radius: var(--ws-r-btn);
    padding: 9px 14px; font-size: 13px; font-weight: 600; color: var(--ws-ink);
    background: #fff; font-family: inherit;
}

/* produktová mřížka (3 sloupce) */
.ws-woo ul.products {
    display: grid !important; grid-template-columns: repeat(3,1fr); gap: 16px;
    margin: 0; padding: 0; list-style: none;
}
.ws-woo ul.products::before,
.ws-woo ul.products::after { content: none !important; display: none !important; }
.ws-woo ul.products li.product {
    width: auto !important; margin: 0 !important; float: none !important;
    background: #fff; border: 1px solid var(--ws-line); border-radius: 10px;
    padding: 16px; display: flex; flex-direction: column; gap: 10px; position: relative;
    text-align: left;
}
.ws-woo ul.products li.product a { color: inherit; }
.ws-woo ul.products li.product img {
    width: 100%; height: 170px; object-fit: contain; border-radius: var(--ws-r-btn); margin: 0;
}
.ws-woo ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px; font-weight: 600; line-height: 1.35; min-height: 38px;
    padding: 0; color: var(--ws-ink);
}
.ws-woo ul.products li.product .price {
    font-size: 17px; font-weight: 800; color: var(--ws-ink); margin: 0;
}
.ws-woo ul.products li.product .price del { font-size: 13px; color: var(--ws-ter); font-weight: 400; }
.ws-woo ul.products li.product .price ins { text-decoration: none; }
.ws-woo ul.products li.product .onsale {
    position: absolute; top: 8px; left: 8px; right: auto; margin: 0;
    background: var(--ws-red); color: #fff; font-size: 11px; font-weight: 700;
    border-radius: 5px; padding: 3px 7px; min-height: 0; min-width: 0; line-height: 1.4;
}
.ws-woo ul.products li.product .button,
.ws-woo ul.products li.product .added_to_cart {
    display: inline-block; margin-top: 4px; background: var(--ws-red); color: #fff;
    border-radius: 7px; padding: 9px 14px; font-size: 13px; font-weight: 600;
    border: none; width: auto; text-align: center;
}
.ws-woo ul.products li.product .button:hover { background: var(--ws-red-h); }

/* dělič "Produkty" mezi podkategoriemi a produkty */
.ws-woo ul.products li.products-section-separator {
    grid-column: 1 / -1; border: none; background: none; padding: 8px 0 0;
    font-size: 15px; font-weight: 700; color: var(--ws-ink);
}

/* stránkování */
.ws-woo .woocommerce-pagination ul { border: none; margin-top: 28px; }
.ws-woo .woocommerce-pagination ul li a,
.ws-woo .woocommerce-pagination ul li span {
    border: 1px solid var(--ws-line); border-radius: var(--ws-r-btn); padding: 8px 14px;
    color: var(--ws-ink); background: #fff;
}
.ws-woo .woocommerce-pagination ul li span.current { background: var(--ws-ink); color: #fff; border-color: var(--ws-ink); }

/* ---- DETAIL PRODUKTU (3b) ---- */
.ws-woo .single-product div.product {
    display: grid; grid-template-columns: 560px 1fr; gap: 48px; align-items: start;
}
.ws-woo .single-product div.product .woocommerce-product-gallery { width: 100% !important; margin: 0; float: none; }
.ws-woo .single-product div.product .woocommerce-product-gallery__image img {
    border-radius: var(--ws-r-card); border: 1px solid var(--ws-line);
}
.ws-woo .single-product div.product .summary { width: 100% !important; margin: 0; float: none; }
.ws-woo .single-product div.product .product_title {
    font-size: 32px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; margin: 8px 0 14px;
}
.ws-woo .single-product .summary .price {
    font-size: 36px; font-weight: 800; color: var(--ws-ink); margin: 14px 0 22px;
}
.ws-woo .single-product .summary .price del { font-size: 18px; color: var(--ws-ter); font-weight: 400; }
.ws-woo .single-product .summary .price ins { text-decoration: none; }
.ws-woo .single-product .stock.in-stock {
    display: inline-block; background: var(--ws-green-bg); color: var(--ws-green);
    font-size: 13px; font-weight: 700; border-radius: 6px; padding: 6px 10px;
}
.ws-woo .single-product form.cart { display: flex; gap: 12px; align-items: center; margin: 0 0 22px; flex-wrap: wrap; }
.ws-woo .single-product form.cart .quantity input.qty {
    width: 64px; border: 1px solid var(--ws-line2); border-radius: var(--ws-r-btn);
    padding: 13px 10px; text-align: center; font-family: inherit; font-size: 15px;
}
.ws-woo .single-product form.cart button.button {
    background: var(--ws-red); color: #fff; border: none; border-radius: var(--ws-r-btn);
    padding: 14px 28px; font-size: 16px; font-weight: 700; cursor: pointer; flex: 1; min-width: 200px;
}
.ws-woo .single-product form.cart button.button:hover { background: var(--ws-red-h); }
.ws-woo .single-product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 12px; }
.ws-woo .single-product .woocommerce-tabs ul.tabs {
    border-bottom: 2px solid var(--ws-line); padding: 0; margin: 0 0 20px; list-style: none; display: flex; gap: 0;
}
.ws-woo .single-product .woocommerce-tabs ul.tabs::before { border: none; }
.ws-woo .single-product .woocommerce-tabs ul.tabs li {
    border: none; background: none; margin: 0; padding: 0; border-radius: 0;
}
.ws-woo .single-product .woocommerce-tabs ul.tabs li a {
    padding: 12px 20px; font-weight: 600; color: var(--ws-sec); border-bottom: 3px solid transparent; margin-bottom: -2px; display: block;
}
.ws-woo .single-product .woocommerce-tabs ul.tabs li.active a { color: var(--ws-red); border-bottom-color: var(--ws-red); }
.ws-woo .single-product .woocommerce-tabs ul.tabs li::before,
.ws-woo .single-product .woocommerce-tabs ul.tabs li::after { display: none; }
.ws-woo .shop_attributes { width: 100%; border-collapse: collapse; font-size: 14px; }
.ws-woo .shop_attributes th { text-align: left; padding: 10px 0; color: var(--ws-sec); font-weight: 400; border-bottom: 1px solid var(--ws-line); }
.ws-woo .shop_attributes td { padding: 10px 0; color: var(--ws-ink); font-weight: 600; border-bottom: 1px solid var(--ws-line); font-style: normal; }
.ws-woo .related.products { grid-column: 1 / -1; margin-top: 32px; }
.ws-woo .related.products > h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }

/* ---- KOŠÍK / POKLADNA (3c) ---- */
.ws-woo .woocommerce table.shop_table {
    border: 1px solid var(--ws-line); border-radius: var(--ws-r-card); border-collapse: separate; overflow: hidden;
}
.ws-woo .woocommerce table.shop_table th { font-weight: 700; color: var(--ws-ink); }
.ws-woo .cart_totals h2 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.ws-woo .woocommerce a.button,
.ws-woo .woocommerce button.button,
.ws-woo .woocommerce input.button,
.ws-woo .woocommerce .checkout-button {
    background: var(--ws-red); color: #fff; border-radius: var(--ws-r-btn);
    padding: 13px 22px; font-weight: 700; font-size: 15px; border: none;
}
.ws-woo .woocommerce a.button:hover,
.ws-woo .woocommerce button.button:hover { background: var(--ws-red-h); }
.ws-woo .woocommerce a.button.alt,
.ws-woo .woocommerce button.button.alt { background: var(--ws-red); }
.ws-woo .woocommerce .button.wc-backward,
.ws-woo .woocommerce .coupon .button { background: #fff; color: var(--ws-ink); border: 1px solid var(--ws-line2); }
.ws-woo .woocommerce .cart-collaterals .cart_totals { background: #fff; border: 1px solid var(--ws-line); border-radius: var(--ws-r-card); padding: 22px; }
.ws-woo .woocommerce-message,
.ws-woo .woocommerce-info {
    border-top-color: var(--ws-green); background: var(--ws-green-bg); color: var(--ws-green-tx); border-radius: var(--ws-r-btn);
}
.ws-woo .woocommerce-message::before,
.ws-woo .woocommerce-info::before { color: var(--ws-green); }
.ws-woo .woocommerce form .form-row input.input-text,
.ws-woo .woocommerce form .form-row textarea,
.ws-woo .woocommerce form .form-row select {
    border: 1px solid var(--ws-line2); border-radius: var(--ws-r-btn); padding: 12px 14px; font-family: inherit;
}

@media (max-width: 900px) {
    .ws-woo ul.products { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ws-woo ul.products li.product { padding: 12px; }
    .ws-woo ul.products li.product img { height: 104px; }
    .ws-woo .single-product div.product { grid-template-columns: 1fr; gap: 20px; }
    .ws-woo .single-product div.product .woocommerce-product-gallery { max-width: none; }
    .ws-woo .single-product .summary .price { font-size: 28px; }
    .ws-woo .single-product .product_title { font-size: 22px; }
}

/* taby – obsah panelu (CPT detail) */
.ws-tabpane { font-size: 15px; line-height: 1.7; color: #3a3733; }
.ws-tabpane h2 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.ws-tabpane p { margin: 0 0 12px; }
