/* Teamplayer – tmavý futbalový štýl. Jeden akcent: oranžová (vyznačenie ihriska pod reflektormi). */

/* Písma sa načítavajú z priečinka assets/fonts (bez externých služieb). Postup je v README.
   Ak súbory chýbajú, použije sa náhradné písmo. */
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/BarlowCondensed-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/BarlowCondensed-ExtraBold.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 300 900; font-style: normal; font-display: swap; src: url('../fonts/Figtree-Variable.woff2') format('woff2'); }

:root {
  --bg: #0E0F12;
  --bg-2: #15171C;
  --panel: #1C1F26;
  --panel-2: #262932;
  --line: #3A3E49;
  --text: #F2F3F5;
  --muted: #A3A8B4;
  --accent: #FF5B14;
  --accent-ink: #0E0F12;
  --error: #FF8A7A;
  --ok: #7BE0A4;

  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: .005em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); font-weight: 700; padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ---------- Tlačidlá ---------- */

.btn,
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 28px;
  font-weight: 700; font-size: 1.0625rem; text-decoration: none; text-align: center;
  border: 2px solid var(--text); border-radius: 4px;
  background: transparent; color: var(--text);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover, .woocommerce .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--text); color: var(--bg); }

.btn-primary,
.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.single_add_to_cart_button,
.woocommerce .checkout-button,
.woocommerce #place_order {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
}
.btn-primary:hover, .woocommerce .button.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.single_add_to_cart_button:hover, .woocommerce .checkout-button:hover, .woocommerce #place_order:hover {
  background: #FF7A3E; border-color: #FF7A3E; color: var(--accent-ink);
}
.single_add_to_cart_button.disabled, .single_add_to_cart_button:disabled { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; }
.drawer .btn, .single_add_to_cart_button { width: 100%; }

.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent); }

/* ---------- Horný pruh a hlavička ---------- */

.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 8px var(--gutter); background: #000; color: var(--muted); font-size: .9375rem; }
.topbar-hello { color: var(--text); }
.topbar-links a { text-decoration: none; }
.topbar-links a:hover { color: var(--text); text-decoration: underline; }
.topbar-list { display: flex; gap: 20px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 var(--gutter); min-height: 72px;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
body.admin-bar .site-header { top: 32px; }

.logo { font-family: var(--font-display); font-weight: 800; font-size: 2rem; text-decoration: none; line-height: 1; display: inline-flex; }
.logo-b { color: var(--accent); }
.main-nav { grid-column: 1; grid-row: 1; justify-self: start; }
.site-header .logo { grid-column: 2; grid-row: 1; }
.header-actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 4px; }

.nav-list { display: flex; gap: 4px; }
.main-nav .menu-item { position: static; display: flex; align-items: center; }
.main-nav .menu-item > a { display: block; padding: 24px 12px; font-weight: 500; text-decoration: none; border-bottom: 3px solid transparent; }
.main-nav .nav-list > .menu-item:hover > a,
.main-nav .nav-list > .menu-item.is-open > a,
.main-nav .current-menu-item > a { color: var(--accent); border-bottom-color: var(--accent); }

.submenu-toggle { width: 28px; height: 44px; margin-left: -10px; background: none; border: 0; color: var(--muted); }
.submenu-toggle::after { content: ''; display: block; width: 7px; height: 7px; margin: 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s ease; }
.menu-item.is-open > .submenu-toggle::after { transform: rotate(-135deg) translateY(-2px); }

.main-nav .sub-menu {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding: 20px var(--gutter) 28px;
}
.main-nav .menu-item.is-open > .sub-menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 32px; }
.main-nav .sub-menu .menu-item { display: block; }
.main-nav .sub-menu a { display: block; padding: 8px 0; color: var(--muted); border: 0; }
.main-nav .sub-menu li:first-child a { color: var(--text); font-weight: 700; }
.main-nav .sub-menu a:hover { color: var(--accent); }

.icon-btn { display: inline-flex; align-items: center; gap: 8px; position: relative; min-width: 44px; min-height: 44px; padding: 0 10px; justify-content: center; background: none; border: 0; color: var(--text); text-decoration: none; border-radius: 4px; }
.icon-btn:hover { color: var(--accent); }
.icon-label { font-size: .9375rem; font-weight: 500; }
.cart-count { position: absolute; top: 2px; right: 0; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; font-size: .8125rem; font-weight: 700; }

.menu-toggle { display: none; justify-self: start; min-height: 44px; padding: 0 16px; background: none; border: 2px solid var(--line); border-radius: 4px; font-weight: 700; }

/* ---------- Úvod ---------- */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(78vh, 720px); display: flex; align-items: flex-end;
  padding: clamp(32px, 6vw, 80px) var(--gutter);
  background-color: #12141A;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 120px, rgba(255,255,255,0) 120px 240px), radial-gradient(120% 90% at 85% 20%, #2A2F3D 0%, rgba(18,20,26,0) 60%);
  background-size: cover; background-position: center;
}
.hero::before { content: ''; position: absolute; z-index: -1; right: -8vw; top: 50%; width: min(60vw, 640px); aspect-ratio: 1; transform: translateY(-50%); border: 4px solid rgba(255,255,255,.1); border-radius: 50%; }
.hero::after { content: ''; position: absolute; z-index: -1; right: calc(-8vw + min(30vw, 320px) - 2px); top: 0; bottom: 0; width: 4px; background: rgba(255,255,255,.1); }
.hero.has-photo { background-size: cover; background-position: center; }
.hero.has-photo::before, .hero.has-photo::after { display: none; }
.hero.has-photo .hero-inner { background: linear-gradient(0deg, rgba(14,15,18,.82), rgba(14,15,18,0)); }
.hero-inner { max-width: var(--max); width: 100%; margin: 0 auto; padding-top: 80px; }
.hero h1 { font-size: clamp(3.5rem, 11vw, 9rem); font-weight: 800; line-height: .92; }
.hero-lead { max-width: 46ch; margin: 20px 0 28px; font-size: 1.25rem; color: #D7DAE0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.marquee { display: flex; overflow: hidden; background: var(--accent); color: var(--accent-ink); border-block: 1px solid #000; }
.marquee-track { display: flex; flex-shrink: 0; min-width: 100%; justify-content: space-around; gap: 48px; padding: 14px 24px; animation: tp-slide 28s linear infinite; }
.marquee-track li { white-space: nowrap; font-weight: 700; font-size: 1.125rem; }
.marquee-track li::after { content: '→'; margin-left: 48px; }
@keyframes tp-slide { to { transform: translateX(-100%); } }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 6vw, 80px) var(--gutter); }
.section-title { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-title + .tiles { margin-top: 28px; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; text-decoration: none; background: linear-gradient(160deg, var(--panel-2), var(--bg-2)); background-size: cover; background-position: center top; }
.tile-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; line-height: 1; background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,0)); }
.tile:hover .tile-label { color: var(--accent); }

.club-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(24px, 5vw, 56px); background: var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: 4px; }
.club-band h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 10px; }
.club-band p { max-width: 56ch; color: #D7DAE0; }
.club-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Karty produktov ---------- */

ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; clear: both; }
ul.products::before, ul.products::after { display: none; }
.card { min-width: 0; float: none; width: auto; margin: 0; }

.card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); border-radius: 4px; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card-media:hover img { transform: scale(1.03); }

.badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .9375rem; line-height: 1; padding: 6px 10px; border-radius: 2px; }

.card-colors { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; padding-left: 4px; }
.thumb { position: relative; display: block; width: 52px; height: 52px; padding: 0; overflow: hidden; background: var(--panel); border: 0; border-radius: 3px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.thumb-dot { display: block; width: 100%; height: 100%; }
.thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.thumb.is-on::after { background: var(--accent); }
.thumb:hover::after { background: var(--muted); }
.thumb.is-on:hover::after { background: var(--accent); }
.thumb-more { color: var(--muted); font-weight: 500; }

.card-name { margin-top: 14px; font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.card-name-link { text-decoration: none; }
.card-name-link:hover { text-decoration: underline; }
.card-code { margin-left: 8px; font-family: var(--font-body); font-size: .875rem; font-weight: 400; color: var(--muted); }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 4px; font-weight: 700; }
.price del { color: var(--muted); font-weight: 400; font-size: .9375rem; }
.price ins { text-decoration: none; }
.club-tag { padding: 2px 8px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); font-size: .8125rem; font-weight: 700; }

/* ---------- Výpis a stránky obchodu ---------- */

.shop, .quick, .page-wrap { max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 80px; }

.woocommerce-breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 8px 0 16px; color: var(--muted); font-size: .9375rem; }
.woocommerce-breadcrumb a { text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.woocommerce-breadcrumb .sep { color: var(--line); }

.shop .page-title, .page-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; margin: 4px 0 20px; }
.term-description { max-width: 70ch; color: #D7DAE0; margin-bottom: 20px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 0; margin-bottom: 24px; border-block: 1px solid var(--line); }
.tool-btn, .woocommerce-ordering select { min-height: 46px; padding: 0 16px; background: var(--bg); color: var(--text); border: 2px solid var(--line); border-radius: 4px; font-weight: 500; }
.tool-btn { font-weight: 700; }
.tool-btn:hover, .woocommerce-ordering select:hover { border-color: var(--text); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select option { background: var(--panel); color: var(--text); }
.shop-count { margin-left: auto; color: var(--muted); }
.woocommerce-result-count { margin: 0; }
.filter-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; font-size: .8125rem; }

.woocommerce-pagination { margin-top: 40px; }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.woocommerce-pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border: 2px solid var(--line); border-radius: 4px; text-decoration: none; font-weight: 700; }
.woocommerce-pagination a.page-numbers:hover { border-color: var(--text); }
.woocommerce-pagination .current { background: var(--text); color: var(--bg); border-color: var(--text); }

.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  margin: 0 0 20px; padding: 14px 18px; list-style: none;
  background: var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: 4px;
}
.woocommerce-message { border-left-color: var(--ok); }
.woocommerce-error { border-left-color: var(--error); }
.woocommerce-message .button, .woocommerce-info .button { margin-left: auto; min-height: 40px; padding: 6px 18px; }
.woocommerce-error li { list-style: none; }

/* Filtre */
.filter-body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }
.f-group { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 20px 0; min-width: 0; }
.f-group legend { padding: 0; margin-bottom: 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.f-options { display: flex; flex-wrap: wrap; gap: 8px; }
.f-swatches { gap: 10px; }
.f-check, .f-swatch { position: relative; }
.f-check input, .f-swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.f-check span { display: inline-grid; place-items: center; min-width: 52px; min-height: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: 4px; font-weight: 500; }
.f-check input:hover + span { border-color: var(--text); }
.f-check input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 700; }
.f-check input:focus-visible + span, .f-swatch input:focus-visible + .f-dot { outline: 3px solid var(--accent); outline-offset: 3px; }
.f-swatch { width: 44px; height: 44px; }
.f-dot { display: block; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--line); }
.f-swatch input:checked + .f-dot { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--accent); }
.filter-foot { flex-direction: row; justify-content: space-between; }
.filter-foot .btn { flex: 1; padding-inline: 12px; width: auto; }

/* ---------- Detail produktu ---------- */

.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.single-product div.product > .woocommerce-notices-wrapper,
.single-product div.product > .related { grid-column: 1 / -1; }
.single-product div.product > .related { margin-top: 48px; }
.single-product .related > h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 24px; }

.pd-gallery { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; }
.pd-gallery:has(.pd-thumbs[hidden]) { grid-template-columns: minmax(0, 1fr); }
.pd-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pd-thumbs .thumb { width: 72px; height: 90px; }
.pd-main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); border-radius: 4px; }
.pd-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.summary.entry-summary { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; float: none; width: auto; }
.pd-title { font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 800; }
.pd-cat { color: var(--muted); margin-top: -6px; }
.summary .price { margin: 0; font-size: 1.75rem; }
.woocommerce-product-details__short-description { color: #D7DAE0; max-width: 52ch; }
.woocommerce-product-details__short-description p + p { margin-top: 8px; }

.pd-group { border: 0; padding: 0; margin: 6px 0 0; min-width: 0; }
.pd-group legend { padding: 0; margin: 0 0 10px; font-weight: 700; }
.pd-group .sel-name { font-weight: 400; color: var(--muted); }

.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch, .size { position: relative; }
.swatch input, .size input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch-thumb { display: block; width: 64px; height: 64px; overflow: hidden; border-radius: 3px; background: var(--panel); border: 2px solid transparent; }
.swatch-thumb img { width: 100%; height: 100%; object-fit: cover; }
.swatch:hover .swatch-thumb { border-color: var(--muted); }
.swatch input:checked + .swatch-thumb { border-color: var(--accent); }
.swatch input:focus-visible + .swatch-thumb { outline: 3px solid var(--accent); outline-offset: 3px; }
.size span { display: inline-grid; place-items: center; min-width: 60px; min-height: 48px; padding: 0 14px; border: 2px solid var(--line); border-radius: 4px; font-weight: 500; }
.size input:hover + span { border-color: var(--text); }
.size input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 700; }
.size input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.swatch.is-disabled, .size.is-disabled { opacity: .35; }
.swatch.is-disabled input, .size.is-disabled input { cursor: not-allowed; }
.size.is-disabled span { text-decoration: line-through; }

form.cart { margin: 0; }
.woocommerce-variation { margin: 8px 0 0; }
.woocommerce-variation-price .price { font-size: 1.25rem; }
.woocommerce-variation-availability p { color: var(--muted); font-size: .9375rem; }
.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.woocommerce-variation-add-to-cart .single_add_to_cart_button, form.cart:not(.variations_form) .single_add_to_cart_button { flex: 1 1 220px; }

div.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 4px; }
input.qty { width: 48px; min-height: 44px; padding: 0; text-align: center; background: transparent; border: 0; font-weight: 700; -moz-appearance: textfield; }
input.qty::-webkit-outer-spin-button, input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 44px; height: 44px; background: none; border: 0; font-size: 1.25rem; font-weight: 700; }
.qty-btn:hover { color: var(--accent); }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.qty-num { min-width: 36px; text-align: center; font-weight: 700; }
.field-error { min-height: 1.4em; color: var(--error); font-weight: 500; font-size: .9375rem; }

.pd-more-wrap { margin-top: 8px; }
.pd-more { border-top: 1px solid var(--line); padding: 14px 0; }
.pd-more:last-child { border-bottom: 1px solid var(--line); }
.pd-more summary { font-weight: 700; cursor: pointer; }
.pd-more-body { margin-top: 10px; color: var(--muted); }
.pd-more-body p + p { margin-top: 8px; }

/* ---------- Dialógy, košík, vyhľadávanie ---------- */

.dialog { padding: 0; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); border-radius: 4px; }
.dialog::backdrop { background: rgba(0,0,0,.72); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 2rem; font-weight: 800; }
.dialog-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; background: none; border: 2px solid var(--line); border-radius: 50%; font-size: 1.5rem; line-height: 1; }
.dialog-close:hover { border-color: var(--text); }

.drawer { width: min(440px, 100vw); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-width: 0 0 0 1px; border-radius: 0; }
.drawer[open] { display: flex; flex-direction: column; }
.drawer-left { margin: 0 auto 0 0; border-width: 0 1px 0 0; }

.widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.drawer-msg { margin: 12px 24px 0; }
.drawer-empty { padding: 40px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--muted); }
.drawer-empty-title { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; color: var(--text); }
.drawer-empty .btn { width: auto; margin-top: 12px; }
.drawer .lines { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { display: flex; flex-direction: column; gap: 12px; padding: 18px 24px 24px; border-top: 1px solid var(--line); background: var(--panel); }
.ship-note { font-weight: 500; }
.ship-sub { color: var(--muted); font-weight: 400; font-size: .9375rem; }
.progress { height: 10px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--bg); }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .3s ease; }

.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-thumb { width: 76px; height: 95px; overflow: hidden; border-radius: 3px; background: var(--panel); }
.line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-weight: 700; line-height: 1.25; }
.line-name a { text-decoration: none; }
.line-meta { color: var(--muted); font-size: .9375rem; }
.line-info div.qty { margin-top: 8px; }
.line-info .qty-btn { width: 40px; height: 40px; }
.line-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.line-price { font-weight: 700; }
.line-remove { background: none; border: 0; padding: 6px 0; color: var(--muted); font-size: .9375rem; text-decoration: underline; }
.line-remove:hover { color: var(--text); }

.totals, dl.totals { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.totals div { display: flex; justify-content: space-between; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 700; }
.totals-final { font-size: 1.25rem; }
.totals-final dt { color: var(--text); font-weight: 700; }

.search-dialog { width: min(720px, calc(100vw - 24px)); margin: 8vh auto auto; padding: 20px; }
.search-form { display: flex; gap: 10px; align-items: center; }
.search-form input[type="search"] { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; background: var(--bg); border: 2px solid var(--line); border-radius: 4px; }
.search-form input[type="search"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Rýchla objednávka ---------- */

.quick h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
.quick-lead { max-width: 60ch; margin: 12px 0 28px; color: #D7DAE0; }
.quick-head, .quick-row { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 100px 100px; gap: 12px; align-items: center; }
.quick-head { padding: 0 0 8px; color: var(--muted); font-weight: 700; font-size: .9375rem; }
.quick-row { padding: 12px 0; border-top: 1px solid var(--line); }
.quick-row input, .quick-row select { width: 100%; min-height: 48px; padding: 0 12px; background: var(--bg); border: 2px solid var(--line); border-radius: 4px; }
.quick-row select:disabled { opacity: .45; }
.quick-row select option { background: var(--panel); }
.quick-name { grid-column: 1 / -1; color: var(--muted); font-size: .9375rem; margin-top: -4px; }
.quick-name:empty { display: none; }
.quick-name.is-bad { color: var(--error); }
.quick-row .line-remove { justify-self: start; }
.quick-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.quick-hint { margin-top: 20px; color: var(--muted); }

/* ---------- Stránky, formuláre, košík, pokladňa, účet ---------- */

.entry-content { max-width: 70ch; }
.woocommerce-cart .entry-content, .woocommerce-checkout .entry-content, .woocommerce-account .entry-content { max-width: none; }
.entry-content p + p { margin-top: 12px; }
.entry-content a { color: var(--accent); }
.entry-title a { text-decoration: none; }

.notice { max-width: 640px; margin: clamp(24px, 6vw, 72px) auto; padding: clamp(24px, 5vw, 48px); background: var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: 4px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.notice h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 800; }

.woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-weight: 700; }
.woocommerce form .form-row .required { color: var(--accent); text-decoration: none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-cart input.input-text,
.woocommerce .quantity input.qty,
.woocommerce form.login input.input-text,
.woocommerce form.register input.input-text {
  width: 100%; min-height: 50px; padding: 11px 14px; background: var(--bg); color: var(--text); border: 2px solid var(--line); border-radius: 4px;
}
.woocommerce .quantity input.qty { width: 48px; padding: 0; border: 0; background: transparent; }
.woocommerce form .form-row input.input-text:focus-visible, .woocommerce form .form-row textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--error); }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 8px); float: left; }
.woocommerce form .form-row-last { float: right; }
.woocommerce form .form-row-wide, .woocommerce form .clear { clear: both; }
.woocommerce form .form-row-wide { width: 100%; }
.woocommerce-checkout #customer_details::after, .woocommerce form::after { content: ''; display: table; clear: both; }

.woocommerce .select2-container--default .select2-selection--single { height: 50px; display: flex; align-items: center; background: var(--bg); border: 2px solid var(--line); border-radius: 4px; }
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text); line-height: 1.2; padding-left: 14px; }
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.select2-dropdown { background: var(--panel); color: var(--text); border: 2px solid var(--line); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--accent); color: var(--accent-ink); }
.select2-container--default .select2-search--dropdown .select2-search__field { background: var(--bg); color: var(--text); border: 2px solid var(--line); }

.woocommerce table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
.woocommerce table.shop_table thead th { border-top: 0; color: var(--muted); font-size: .9375rem; }
.woocommerce table.shop_table td.product-thumbnail img { width: 72px; height: 90px; object-fit: cover; border-radius: 3px; }
.woocommerce table.shop_table td.product-name a { font-weight: 700; text-decoration: none; }
.woocommerce table.shop_table a.remove { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--line); border-radius: 50%; text-decoration: none; font-size: 1.25rem; line-height: 1; }
.woocommerce table.shop_table a.remove:hover { border-color: var(--text); }
.woocommerce table.shop_table dl.variation { margin: 4px 0 0; color: var(--muted); font-size: .9375rem; }
.woocommerce table.shop_table dl.variation dt, .woocommerce table.shop_table dl.variation dd { display: inline; margin: 0; }
.woocommerce table.shop_table dl.variation p { display: inline; }

.woocommerce-cart .cart-collaterals { display: flex; justify-content: flex-end; margin-top: 32px; }
.woocommerce-cart .cart_totals { width: min(480px, 100%); }
.woocommerce-cart .cart_totals h2 { font-size: 2rem; margin-bottom: 12px; }
.woocommerce-cart .wc-proceed-to-checkout { margin-top: 16px; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button { width: 100%; }
.woocommerce-cart td.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.woocommerce-cart td.actions .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-cart td.actions .coupon input { width: 200px; }

.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.woocommerce-checkout #customer_details { grid-column: 1; }
.woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 2; }
.woocommerce-checkout #order_review_heading { margin-bottom: -8px; }
.woocommerce-checkout h3 { font-size: 1.75rem; margin: 0 0 16px; }
.woocommerce-checkout #payment { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; margin-top: 16px; }
.woocommerce-checkout #payment ul.payment_methods { padding: 16px; border-bottom: 1px solid var(--line); }
.woocommerce-checkout #payment ul.payment_methods li { padding: 8px 0; }
.woocommerce-checkout #payment div.payment_box { margin-top: 8px; padding: 12px; background: var(--bg); border-radius: 4px; color: var(--muted); }
.woocommerce-checkout #payment div.form-row { padding: 16px; margin: 0; }
.woocommerce-checkout #place_order { width: 100%; }
.woocommerce-privacy-policy-text { color: var(--muted); font-size: .9375rem; margin-bottom: 12px; }

.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 520px; }
.woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 14px; border: 2px solid transparent; border-radius: 4px; text-decoration: none; font-weight: 500; }
.woocommerce-MyAccount-navigation a:hover { border-color: var(--line); }
.woocommerce-MyAccount-navigation .is-active a { border-color: var(--accent); font-weight: 700; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password { padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; margin: 0 0 24px; }
.woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin-right: 16px; }
.woocommerce-LostPassword a { color: var(--muted); }
.woocommerce-account h2 { font-size: 2rem; margin-bottom: 16px; }

/* ---------- Pätička ---------- */

.site-footer { background: #000; padding: 48px var(--gutter) 24px; margin-top: 40px; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-note { margin-top: 12px; color: var(--muted); max-width: 32ch; }
.footer-title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 12px; letter-spacing: 0; }
.footer-list { display: flex; flex-direction: column; gap: 8px; }
.footer-list a { color: var(--muted); text-decoration: none; }
.footer-list a:hover { color: var(--text); text-decoration: underline; }
.footer-copy { max-width: var(--max); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }

/* ---------- Responzívne ---------- */

@media (max-width: 1100px) {
  ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .main-nav .menu-item.is-open > .sub-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-header { min-height: 64px; }
  .menu-toggle { display: inline-flex; align-items: center; grid-column: 1; grid-row: 1; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; grid-column: auto; grid-row: auto; max-height: calc(100dvh - 64px); overflow-y: auto; background: var(--bg-2); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .main-nav .menu-item { flex-wrap: wrap; }
  .main-nav .menu-item > a { flex: 1; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
  .submenu-toggle { width: 56px; height: 54px; margin: 0; border-bottom: 1px solid var(--line); }
  .main-nav .sub-menu { position: static; width: 100%; padding: 0 var(--gutter) 12px; border: 0; }
  .main-nav .menu-item.is-open > .sub-menu { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .icon-label { display: none; }

  .single-product div.product { grid-template-columns: minmax(0, 1fr); }
  .summary.entry-summary { position: static; }
  .woocommerce-checkout form.checkout { grid-template-columns: minmax(0, 1fr); }
  .woocommerce-checkout #customer_details, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 1; }
  .woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile { aspect-ratio: 16 / 10; }
  .hero::before { opacity: .6; }
}

@media (max-width: 700px) {
  ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .topbar { justify-content: flex-start; }
  .topbar-links { display: none; }
  .pd-gallery { grid-template-columns: minmax(0, 1fr); }
  .pd-thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .pd-thumbs .thumb { width: 64px; height: 80px; flex-shrink: 0; }
  .quick-head { display: none; }
  .quick-row { grid-template-columns: 1fr 1fr; }
  .quick-row input[list] { grid-column: 1 / -1; }
  .filter-foot { flex-direction: column; }
  .shop-count { margin-left: 0; width: 100%; }
  .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; }
  .woocommerce table.shop_table_responsive tr td::before { color: var(--muted); }
}

@media (max-width: 520px) {
  .site-header { gap: 8px; }
  .site-header .logo { font-size: 1.625rem; }
  .menu-toggle { padding: 0 12px; }
  .header-actions { gap: 0; }
  .icon-btn { min-width: 40px; padding: 0 6px; }
}

@media (max-width: 460px) {
  .card .thumb { width: 36px; height: 36px; }
  .card-colors { gap: 6px; padding-left: 0; }
  .search-form { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
