/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #111111;
  --dark:        #1a1a1a;
  --gold:        #C9A065;
  --gold-dark:   #A67C3D;
  --beige:       #F5EDE0;
  --beige-light: #FAF7F2;
  --white:       #FFFFFF;
  --gray:        #666666;
  --gray-light:  #f0f0f0;
  --border:      #e5e5e5;
  --red:         #CC0A0A;
  --green:       #2E7D32;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Montserrat', Arial, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-sans); color: var(--dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* === TOP INFO BAR === */
/* Skryto natrvalo (Doprava zdarma/Vrácení/Kamenná prodejna) — duplicitní s benefits sekcí níže na stránce */
.top-bar {
  display: none;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.top-bar__item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.top-bar__item svg { flex-shrink: 0; }

/* === MAIN HEADER === */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  padding: 14px 0;
  gap: 20px;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-decoration: none;
}
.site-logo__name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dark);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-logo__name::after {
  content: '♥';
  font-size: 14px;
  color: var(--gold);
}
.site-logo__tagline {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
}

/* Main Navigation */
.main-nav { display: flex; justify-content: center; }
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav__item > a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav__item > a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.main-nav__item.sale > a { color: var(--red); }
.main-nav__item.sale > a:hover { color: #a00; border-bottom-color: #a00; }

/* Dropdown */
.main-nav__item { position: relative; }
.main-nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid #e8e0d5;
  box-shadow: 0 6px 24px rgba(0,0,0,.10);
  min-width: 180px;
  z-index: 300;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-radius: 2px;
}
.main-nav__item.has-dropdown:hover .main-nav__dropdown,
.main-nav__item.has-dropdown:focus-within .main-nav__dropdown { display: block; }
.main-nav__dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 400;
  color: var(--dark);
  white-space: nowrap;
  letter-spacing: 0.02em;
  border: none;
  text-transform: none;
}
.main-nav__dropdown li a:hover { color: var(--gold); background: #faf6f0; }
.nav-caret {
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* Header Icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
}
.header-icon:hover { color: var(--gold); }
.header-icon svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* === HERO SECTION === */
.hero {
  background: var(--beige);
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 460px;
  flex: 1;
}
.hero__content {
  padding: 60px 60px 60px 80px;
  position: relative;
  z-index: 2;
}
.hero__decoration {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
}
.hero__brand {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--dark);
  margin-bottom: 4px;
}
.hero__brand-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
}
.hero__brand-dots::before,
.hero__brand-dots::after { content: ''; flex: 1; height: 1px; background: var(--gold); }
.hero__brand-heart { color: var(--gold); font-size: 16px; }
.hero__tagline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}
.hero__categories {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 32px;
}
.hero__categories span { color: var(--gold); font-size: 8px; }
.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  height: 100%;
  min-height: 460px;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__badges {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 3;
}
.hero__badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  min-width: 90px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.hero__badge svg { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  gap: 8px;
  text-decoration: none;
}
.btn--dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn--dark:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn--outline:hover { background: var(--dark); color: var(--white); }
.btn--outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--outline-gold:hover { background: var(--gold); color: var(--white); }
.btn--sm { padding: 8px 16px; font-size: 10px; }

/* === ODSTOUPENÍ OD SMLOUVY (detail objednávky) === */
.tev-withdrawal-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.tev-withdrawal-section h2 { font-family: var(--font-serif); font-size: 20px; margin-bottom: 10px; }
.tev-withdrawal-section p { margin-bottom: 14px; }
.tev-withdrawal-confirm textarea {
  display: block;
  width: 100%;
  max-width: 480px;
  margin-bottom: 14px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 2px;
  resize: vertical;
}
.tev-withdrawal-confirm__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* === VYHLEDÁVÁNÍ (overlay) === */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 140px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay__inner { width: 100%; max-width: 600px; padding: 0 20px; position: relative; }
.search-overlay__form { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--dark); padding-bottom: 14px; }
.search-overlay__input { flex: 1; border: none; background: none; font-size: 22px; font-family: var(--font-serif); color: var(--dark); outline: none; }
.search-overlay__submit { display: flex; background: none; border: none; cursor: pointer; color: var(--dark); padding: 0; }
.search-overlay__close {
  position: absolute;
  top: -56px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: var(--dark);
}
body.search-open { overflow: hidden; }
@media (max-width: 768px) {
  .search-overlay { padding-top: 100px; }
  .search-overlay__input { font-size: 18px; }
}

/* === STRÁNKA DORUČENÍ === */
.tev-delivery-method { margin-bottom: 28px; }
.tev-delivery-method h3 { margin-bottom: 6px; }
.tev-delivery-method p { margin-bottom: 0; }

/* === MŮJ ÚČET === */
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.woocommerce-account .woocommerce-MyAccount-navigation { flex: 0 0 220px; }
.woocommerce-account .woocommerce-MyAccount-content { flex: 1 1 500px; min-width: 0; }

.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--border); }
.woocommerce-MyAccount-navigation li:last-child { border-bottom: none; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 18px; font-size: 13px; color: var(--dark); text-decoration: none; }
.woocommerce-MyAccount-navigation li a:hover { background: #faf6f0; color: var(--gold); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--dark); color: var(--white); font-weight: 600; }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--red) !important; }

/* Obecné WooCommerce formuláře (přihlášení, registrace, adresy, detaily účtu) */
.woocommerce form .form-row { margin-bottom: 16px; }
.woocommerce form label { display: block; margin-bottom: 6px; font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: .03em; }
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea {
  width: 100%;
  max-width: 420px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
}
.woocommerce form .input-text:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus { outline: none; border-color: var(--gold); }
.woocommerce form fieldset { margin: 20px 0; padding: 20px; border: 1px solid var(--border); border-radius: 4px; max-width: 420px; }
.woocommerce form fieldset legend { padding: 0 8px; font-family: var(--font-serif); font-size: 16px; }
.woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.woocommerce-form-login__rememberme input { width: auto; }

/* Objednávky */
.woocommerce-orders-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.woocommerce-orders-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gray);
  padding: 10px 12px;
  border-bottom: 2px solid var(--dark);
}
.woocommerce-orders-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); font-size: 13px; vertical-align: middle; }
.woocommerce-orders-table__cell-order-status mark {
  background: var(--gray-light);
  color: var(--dark);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

/* Adresy */
.woocommerce-Addresses { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 12px; }
.woocommerce-Address { flex: 1 1 260px; padding: 20px; border: 1px solid var(--border); border-radius: 4px; }
.woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.woocommerce-Address-title h2 { font-family: var(--font-serif); font-size: 16px; margin: 0; }
.woocommerce-Address-title a { font-size: 12px; color: var(--gold); text-decoration: underline; }
.woocommerce-Address address { font-style: normal; font-size: 13px; line-height: 1.7; color: var(--gray); }

@media (max-width: 768px) {
  .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) { flex-direction: column; gap: 24px; }
  .woocommerce-account .woocommerce-MyAccount-navigation { flex: 1 1 auto; width: 100%; }
  .woocommerce-Addresses { flex-direction: column; }
}

/* === PŘIHLÁŠENÍ PŘES GOOGLE === */
.tev-google-login { margin-bottom: 20px; }
.tev-google-login .g_id_signin { margin-bottom: 16px; }
.tev-google-login__divider { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--text-light, #999); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.tev-google-login__divider::before, .tev-google-login__divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* === VĚRNOSTNÍ PROGRAM (Můj účet) === */
.tev-loyalty-progress { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.tev-loyalty-progress h2 { font-family: var(--font-serif); font-size: 20px; margin-bottom: 10px; }

/* === HERO FULL BANNER === */
.hero--full-banner { min-height: auto; display: block; background: none; }
.hero-banner-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
}
.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-area-link {
  position: absolute;
  display: block;
  cursor: pointer;
}
}

/* === BRANDS BAR === */
.brands-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
}
.brands-bar__inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.brands-bar__inner::-webkit-scrollbar { display: none; }
.brands-bar__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 28px;
  border-right: 1px solid var(--border);
  opacity: 0.6;
  transition: opacity 0.25s;
  text-decoration: none;
}
.brands-bar__logo:hover { opacity: 1; }
.brands-bar__logo img {
  height: 26px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  display: block;
}
.brands-bar__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink, #1a1a1a);
  white-space: nowrap;
}
.brands-bar__all {
  flex: 0 0 auto;
  padding: 6px 0 6px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.brands-bar__all:hover { color: var(--gold-dark); }

/* === MAIN CONTENT AREA === */
.homepage-main {
  padding: 50px 0 90px;
  background: var(--white);
}
.homepage-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Category Cards */
.category-cards { display: flex; flex-direction: column; gap: 10px; }
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  height: 150px;
  display: block;
  cursor: pointer;
  text-decoration: none;
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}
.category-card:hover img { transform: scale(1.08); }
.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0.08) 100%);
  transition: background 0.3s;
}
.category-card:hover .category-card__overlay {
  background: linear-gradient(105deg, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.12) 100%);
}
.category-card__text {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 14px 18px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.category-card__text::before {
  content: '';
  position: absolute;
  left: 18px;
  bottom: calc(100% - 2px);
  width: 30px;
  height: 2px;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.category-card:hover .category-card__text::before { transform: scaleX(1); }
.category-card__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.category-card__link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.2s, gap 0.2s;
}
.category-card:hover .category-card__link { opacity: 1; gap: 8px; }

/* ═══ 3-COLUMN HOMEPAGE LAYOUT ═══ */
/* Pozn.: sloupce používají minmax(0, ...) místo holého "1fr" — produktové fotky (img width:100%)
   mají jako min-content fallback svou přirozenou pixelovou šířku, takže s holým "1fr" (jehož
   implicitní minimum je "auto") by grid sloupec, a s ním celá tato sekce i vedlejší reklamní
   bannery ve stejném sloupci, přetekly přes šířku obrazovky na mobilu. */
.homepage-three-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-rows: auto auto;
  gap: 20px 24px;
  align-items: start;
}
.col-slider    { grid-column: 1; grid-row: 1; padding-top: 40px; }
.col-banner2   { grid-column: 1; grid-row: 2; }
.products-section { grid-column: 2; grid-row: 1 / 4; }
.col-ad        { grid-column: 1; grid-row: 3; padding-top: 0; }
.col-blog      { grid-column: 1; grid-row: 3; padding-top: 64px; }

/* Banner 2 — placeholder (bez obrázku) */
.col-banner2 {
  border: 2px dashed #cc0000;
  border-radius: 10px;
  min-height: 160px;
}
/* Banner 2 — aktivní (s obrázky z PSI Direct) */
.col-banner2--active {
  border: none;
  min-height: 0;
  border-radius: 0;
}
/* Banner2 overlay — horní pruh (P.S.I. Direct, všechny slidy) */
.banner2-slider .slider-slide { position: relative; }
.banner2-topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 10px 14px 28px;
  /* Tmavý gradient byl potřeba pro bílý text — po přechodu na černý text (obě slidy mají v rohu světlé pozadí)
     stačí jemný bílý přísvit pro čitelnost přes libovolný podklad obrázku */
  background: linear-gradient(to bottom, rgba(255,255,255,0.75) 0%, transparent 100%);
  z-index: 6;
  pointer-events: none;
}
.banner2-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark);
  font-weight: 700;
}
/* Headline "i pokladna..." — jen v 1. slidu, nahoře pod tagline */
.banner2-slide-headline {
  position: absolute;
  top: 28px; left: 14px; right: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  z-index: 5;
}
/* Obrázek v 1. slidu posunut dolů — pod text */
.banner2-slide--first img {
  object-position: center 70%;
  padding-top: 56px;
  box-sizing: border-box;
}
/* Banner2 overlay — spodní pruh (Zjistit více, všechny slidy) */
.banner2-bottombar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 14px 10px;
  background: linear-gradient(to top, rgba(5,15,35,0.82) 0%, transparent 100%);
  z-index: 6;
  pointer-events: none;
}
.banner2-bottombar__cta {
  pointer-events: auto;
  display: inline-block;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 20px;
  padding: 4px 13px;
  transition: background 0.2s;
}
.banner2-bottombar__cta:hover { background: rgba(255,255,255,0.15); }

/* Left: sidebar slider */
.sidebar-slider { position: relative; overflow: hidden; border-radius: 4px; background: var(--white); height: 400px; }
.banner2-slider { height: 340px; }
.sidebar-slider .slider-btn { display: none; }
.slider-track { position: relative; height: 100%; }
.slider-slide { display: none; height: 100%; }
.slider-slide.active { display: block; height: 100%; }
.slider-slide img { width: 100%; height: 100%; object-fit: contain; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.85); border: none; width: 30px; height: 30px;
  border-radius: 50%; cursor: pointer; font-size: 13px; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.slider-btn:hover { background: var(--white); }
.slider-btn--prev { left: 6px; }
.slider-btn--next { right: 6px; }
.slider-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.slider-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; padding: 0; transition: background 0.2s; }
.slider-dot.active { background: var(--white); }

/* Ad banner (pod sliderem vlevo) */
.col-ad__link { display: block; }
.col-ad__link img { width: 100%; height: auto; border-radius: 4px; }
.col-ad__placeholder {
  background: var(--beige-light); border: 1px solid var(--border);
  border-radius: 4px; padding: 20px 16px; text-align: center;
}
.col-ad__icon { font-size: 28px; margin-bottom: 10px; }
.col-ad__title { font-size: 12px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.col-ad__desc { font-size: 11px; color: var(--gray); }

/* Blog panel (nahrazuje starý col-ad na homepage) */
.col-blog {
  background: var(--beige-light); border: 1px solid var(--border);
  border-radius: 4px; padding: 18px 16px;
}
.col-blog__title {
  font-family: var(--font-serif); font-size: 18px; color: var(--dark);
  margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.col-blog__list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.col-blog__item { display: flex; flex-direction: column; gap: 2px; }
.col-blog__link { font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--dark); }
.col-blog__link:hover { color: var(--gold-dark); }
.col-blog__date { font-size: 10.5px; color: var(--gray); }
.col-blog__btn { display: block; width: 100%; text-align: center; box-sizing: border-box; }

/* ═══ BLOG (archiv + detail článku, /blog/ a /blog/{slug}/) ═══ */
.blog-page { max-width: 820px; margin: 48px auto 64px; padding: 0 20px; }
.blog-page__title { font-family: var(--font-serif); font-size: 32px; color: var(--dark); margin: 0 0 24px; }
.blog-back { font-size: 13px; margin-bottom: 20px; }
.blog-back a { color: var(--gray); }
.blog-back a:hover { color: var(--gold-dark); }
.blog-list { list-style: none; margin: 0; padding: 0; }
.blog-list__item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.blog-list__link { font-family: var(--font-serif); font-size: 20px; color: var(--dark); }
.blog-list__link:hover { color: var(--gold-dark); }
.blog-list__date { font-size: 12px; color: var(--gray); margin: 4px 0 8px; }
.blog-list__excerpt { font-size: 14px; color: var(--gray); margin: 0; }
.blog-article__meta { font-size: 13px; color: var(--gray); margin-bottom: 24px; }
.blog-article__body { font-size: 16px; line-height: 1.75; color: var(--dark); }
.blog-article__body p { margin: 0 0 1em; }

/* Products grid inside 3-col */
.homepage-three-col .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 10px !important; }
.homepage-three-col .product-card__image { aspect-ratio: auto !important; height: 180px !important; margin-bottom: 4px !important; }
.homepage-three-col .product-card__name { font-size: 11px; min-height: 0; line-height: 1.2; margin-bottom: 2px; -webkit-line-clamp: 2; }
.homepage-three-col .product-card__brand { font-size: 10px; margin-bottom: 1px; }
.homepage-three-col .price-regular,
.homepage-three-col .price-sale { font-size: 12px; }
.homepage-three-col .price-old { font-size: 10px; }

/* Align side columns below the products-header tabs */
.col-ad { padding-top: 64px; }

/* Product Section */
.products-section {}
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.products-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
}
.products-tab {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 20px 12px;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.products-tab.active { color: var(--dark); border-bottom-color: var(--dark); }
.products-tab:hover:not(.active) { color: var(--dark); }
.products-view-all {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 5px;
}
.products-view-all:hover { color: var(--gold-dark); }

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.products-panel { display: none; }
.products-panel.active { display: block; }

/* Product Card */
.product-card {
  position: relative;
  cursor: pointer;
}
.product-card__image {
  display: block;
  position: relative;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 3/4;
  margin-bottom: 10px;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s;
}
.product-card:hover .product-card__image img { transform: scale(1.06); }
.product-card__wishlist {
  display: none !important;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.product-card__wishlist:hover { background: var(--white); }
.product-card__wishlist svg { width: 16px; height: 16px; color: var(--gray); }
.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  z-index: 2;
}
.product-card__badge--sklad {
  left: auto;
  right: 10px;
  background: #1e3a8a;
  font-weight: 600;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card__brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.product-card__price { display: flex; align-items: center; gap: 8px; }
.price-regular { font-size: 15px; font-weight: 700; color: var(--dark); }
.price-sale { font-size: 15px; font-weight: 700; color: var(--red); }
.price-old {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  text-decoration: line-through;
}
.product-card__stock {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  margin-top: 3px;
}

/* === BENEFITS BAR === */
.benefits-bar {
  background: var(--beige-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.benefit-item__icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.benefit-item__text {}
.benefit-item__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark);
  margin-bottom: 2px;
}
.benefit-item__desc { font-size: 12px; color: var(--gray); }

/* Review cards */
.review-card { border-top: 1px solid #eee; padding: 12px 0; }
.review-card__stars { color: var(--gold); font-size: 13px; margin-bottom: 4px; }
.review-card__text { font-size: 13px; color: var(--gray); font-style: italic; margin-bottom: 4px; line-height: 1.5; }
.review-card__name { font-size: 12px; font-weight: 600; color: var(--dark); }

/* Reviews modal */
.reviews-modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; }
.reviews-modal.is-open { display: flex; }
.reviews-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.reviews-modal__box { position: relative; background: #fff; border-radius: 6px; padding: 32px; max-width: 480px; width: 90%; max-height: 80vh; overflow-y: auto; }
.reviews-modal__close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--gray); line-height: 1; }
.reviews-modal__close:hover { color: var(--dark); }
.reviews-modal__header { text-align: center; margin-bottom: 16px; }
.reviews-modal__stars { color: var(--gold); font-size: 20px; }
.reviews-modal__score { font-size: 28px; font-weight: 700; font-family: var(--font-serif); }
.reviews-modal__count { font-size: 12px; color: var(--gray); }

/* Product image zoom modal */
.img-zoom-modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; }
.img-zoom-modal.is-open { display: flex; }
.img-zoom-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.img-zoom-modal__img { position: relative; max-width: 92vw; max-height: 92vh; object-fit: contain; }
.img-zoom-modal__close { position: absolute; top: 20px; right: 24px; background: none; border: none; font-size: 36px; cursor: pointer; color: #fff; line-height: 1; z-index: 1; }
.img-zoom-modal__close:hover { color: var(--gold); }

/* === VOICE ASSISTANT (hlasový nákupní asistent, Stupeň 1, 6.8.2026) === */
.voice-assistant-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 9998;
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: var(--dark, #1a1a1a); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.voice-assistant-fab:hover { background: var(--gold); }
.voice-assistant-panel { display: none; position: fixed; inset: 0; z-index: 9999; align-items: flex-end; justify-content: flex-end; }
.voice-assistant-panel.is-open { display: flex; }
.voice-assistant-panel__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.voice-assistant-panel__box {
  position: relative; background: #fff; border-radius: 10px 10px 0 0;
  width: 360px; max-width: 92vw; height: 70vh; max-height: 640px;
  margin: 0 20px 20px 0; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
.voice-assistant__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: var(--dark, #1a1a1a); color: #fff; font-weight: 600;
}
.voice-assistant__close { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.voice-assistant__transcript { flex: 1; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.voice-assistant__bubble { max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: 13px; line-height: 1.4; }
.voice-assistant__bubble--user { align-self: flex-end; background: var(--gold, #c9a869); color: #fff; }
.voice-assistant__bubble--assistant { align-self: flex-start; background: #f1f1f1; color: var(--dark, #1a1a1a); }
.voice-assistant__bubble--loading { opacity: 0.6; font-style: italic; }
.voice-assistant__products { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 10px; }
.voice-assistant__product-card { flex: 0 0 130px; border: 1px solid var(--border, #e5e5e5); border-radius: 6px; padding: 8px; font-size: 11px; }
.voice-assistant__product-card img { width: 100%; height: 100px; object-fit: cover; border-radius: 4px; margin-bottom: 6px; }
.voice-assistant__product-name { display: block; color: var(--dark, #1a1a1a); text-decoration: none; margin-bottom: 4px; }
.voice-assistant__product-price { font-weight: 700; margin-bottom: 6px; }
.voice-assistant__add-btn { width: 100%; font-size: 11px; padding: 6px; }
.voice-assistant__controls { display: flex; gap: 6px; padding: 10px 16px; border-top: 1px solid var(--border, #e5e5e5); }
.voice-assistant__input { flex: 1; border: 1px solid var(--border, #e5e5e5); border-radius: 6px; padding: 8px 10px; font-size: 13px; }
.voice-assistant__talk-btn, .voice-assistant__send-btn { border: none; border-radius: 6px; background: var(--dark, #1a1a1a); color: #fff; cursor: pointer; padding: 0 12px; font-size: 12px; }
.voice-assistant__talk-btn.is-listening { background: #d33; animation: voice-assistant-pulse 1s infinite; }
.voice-assistant__size-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.voice-assistant__size-btn { border: 1px solid var(--dark, #1a1a1a); background: #fff; border-radius: 4px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
.voice-assistant__size-btn:hover { background: var(--dark, #1a1a1a); color: #fff; }
@keyframes voice-assistant-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* === FOOTER === */
.site-footer {
  background: var(--black);
  color: var(--white);
}
.footer-newsletter {
  background: var(--dark);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-newsletter__text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-newsletter__form {
  display: flex;
  gap: 0;
}
.footer-newsletter__input {
  padding: 10px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  color: var(--white);
  font-size: 13px;
  width: 280px;
  outline: none;
}
.footer-newsletter__input::placeholder { color: rgba(255,255,255,0.5); }
.footer-newsletter__input:focus { background: rgba(255,255,255,0.15); border-color: var(--gold); }
.footer-newsletter__btn {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.footer-newsletter__btn:hover { background: var(--gold-dark); }
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: border-color 0.2s, background 0.2s;
}
.footer-social a:hover { border-color: var(--gold); background: var(--gold); }

.footer-bottom-bar {
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  gap: 20px;
}

/* Payment methods bar */
.footer-payments {
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-payments__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-payments__img {
  height: 22px;
  width: auto;
  max-width: 100%;
}
.footer-payments__text {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.footer-payments__text a {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
}
.footer-payments__text a:hover { color: var(--gold); }

/* === WOOCOMMERCE OVERRIDES === */
.woocommerce-notices-wrapper { max-width: 1400px; margin: 0 auto; padding: 10px 20px 0; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  padding: 12px 20px;
  border-radius: 0;
  font-size: 14px;
}
.woocommerce-message { background: #f0faf0; border-left: 4px solid var(--green); }
.woocommerce-error { background: #fff0f0; border-left: 4px solid var(--red); }

/* Archive / Shop page */
.woocommerce-page .site-content { padding: 40px 0; }
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.shop-header h1 { font-family: var(--font-serif); font-size: 28px; font-weight: 700; }
.woocommerce-result-count { font-size: 13px; color: var(--gray); }
.woocommerce-ordering select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-family: var(--font-sans);
}
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0 !important;
  padding: 0 !important;
}
ul.products li.product { margin: 0 !important; }

/* Single product */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 40px 0;
}
.woocommerce div.product .woocommerce-product-gallery { position: sticky; top: 80px; }
.woocommerce div.product .summary {}
.woocommerce div.product .summary .price { font-size: 28px; font-weight: 700; color: var(--dark); margin: 12px 0; }
.woocommerce div.product .summary .price ins { text-decoration: none; color: var(--red); }
.woocommerce div.product .summary .price del { color: var(--gray); font-size: 18px; }
.woocommerce div.product .product_title { font-family: var(--font-serif); font-size: 28px; font-weight: 700; line-height: 1.2; }

/* Cart / Checkout */
.woocommerce-cart .site-content, .woocommerce-checkout .site-content { padding: 40px 0; }

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 2001;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
}

/* === SHOP ARCHIVE PAGE === */
.shop-page { padding: 30px 0 60px; }
.shop-breadcrumbs {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.shop-breadcrumbs a { color: var(--gray); }
.shop-breadcrumbs a:hover { color: var(--gold); }
.woocommerce-breadcrumb { font-size: 12px; color: var(--gray); }
.woocommerce-breadcrumb a { color: var(--gray); }
.woocommerce-breadcrumb a:hover { color: var(--gold); }

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sidebar */
.shop-sidebar { position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 20px;
  margin-bottom: 16px;
}
.sidebar-widget__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.sidebar-cat-list { margin: 0; }
.sidebar-cat-list__item {
  border-bottom: 1px solid var(--border);
}
.sidebar-cat-list__item:last-child { border-bottom: none; }
.sidebar-cat-list__row {
  display: flex;
  align-items: center;
}
.sidebar-cat-list__item > a,
.sidebar-cat-list__row > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  color: var(--dark);
  transition: color 0.15s;
  flex: 1;
}
.sidebar-cat-list__item > a:hover,
.sidebar-cat-list__row > a:hover { color: var(--gold); }
.sidebar-cat-list__item.active > a,
.sidebar-cat-list__item.active .sidebar-cat-list__row > a { color: var(--gold); font-weight: 600; }
.sidebar-cat-list__count {
  font-size: 11px;
  color: var(--gray);
  background: var(--gray-light);
  padding: 1px 6px;
  border-radius: 10px;
}
.sidebar-cat-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  padding: 0;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  transition: color 0.15s;
}
.sidebar-cat-toggle::after { content: '+'; }
.sidebar-cat-list__item.is-open .sidebar-cat-toggle::after { content: '−'; }
.sidebar-cat-toggle:hover { color: var(--gold); }
.sidebar-cat-list--sub {
  padding-left: 12px;
  border-top: 1px solid var(--border);
}
.sidebar-brand-list { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.sidebar-brand-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 13px;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.sidebar-brand-item:hover { color: var(--gold); }
.sidebar-price-form { display: flex; flex-direction: column; gap: 10px; }
.sidebar-price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-price-inputs input {
  width: 80px;
  padding: 7px 8px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-family: var(--font-sans);
}
.sidebar-price-inputs span { font-size: 12px; color: var(--gray); }
.sidebar-price-btn {
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.sidebar-price-btn:hover { background: var(--black); }
.sidebar-sex-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.sidebar-sex-link:last-child { border-bottom: none; }
.sidebar-sex-link:hover, .sidebar-sex-link.active { color: var(--gold); font-weight: 600; }
.sidebar-sklad-list { display: flex; flex-direction: column; gap: 2px; }
.sidebar-sklad-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 13px;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.sidebar-sklad-link:last-child { border-bottom: none; }
.sidebar-sklad-link:hover, .sidebar-sklad-link.active { color: var(--gold); font-weight: 600; }

/* Shop toolbar */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  gap: 20px;
}
.shop-toolbar__left {}
.shop-page-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}
.woocommerce-result-count { font-size: 12px; color: var(--gray); margin: 0; }
.woocommerce-ordering select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  font-size: 12px;
  font-family: var(--font-sans);
  background: var(--white);
  cursor: pointer;
}

/* Product grid in shop */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product { margin: 0 !important; float: none !important; width: auto !important; }

/* Pagination */
.shop-pagination { margin-top: 40px; }
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li {}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  transition: all 0.2s;
  text-decoration: none;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.shop-no-results { text-align: center; padding: 60px 0; }
.product-card__stock--out { color: var(--gray) !important; }

/* === SINGLE PRODUCT PAGE === */
.single-product-page { padding: 30px 0 60px; }
.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

/* Gallery */
.single-gallery {}
.single-gallery__main {
  position: relative;
  background: var(--beige-light);
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 10px;
}
.single-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  cursor: zoom-in;
}
.single-gallery__main:hover img { transform: scale(1.03); }
.single-gallery__zoom-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.single-gallery__zoom-btn:hover { background: #fff; }
.single-gallery__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
}
.single-gallery__thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.single-gallery__thumb {
  width: 70px;
  height: 90px;
  border: 2px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color 0.2s;
}
.single-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.single-gallery__thumb.active,
.single-gallery__thumb:hover { border-color: var(--dark); }

/* Product info */
.single-info { position: sticky; top: 80px; }
.single-info__brand {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.single-info__brand:hover { color: var(--gold-dark); }
.single-info__title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
}
.single-info__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.single-price-regular { font-size: 28px; font-weight: 700; color: var(--dark); }
.single-price-sale    { font-size: 28px; font-weight: 700; color: var(--red); }
.single-price-old     { font-size: 18px; font-weight: 500; color: var(--gray); text-decoration: line-through; }
.single-price-badge   {
  background: #fff0f0;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
}
.single-info__stock {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.single-info__stock.in-stock  { color: var(--green); }
.single-info__stock.out-of-stock { color: var(--gray); }
.single-info__sklad {
  font-size: 13px;
  color: var(--gray);
  margin-top: -12px;
  margin-bottom: 20px;
}
.single-info__sklad strong { color: var(--dark); }

/* Size swatches */
.tev-variations-form { margin-bottom: 20px; }
.tev-attr-row { margin-bottom: 16px; }
.tev-attr-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
}
.tev-selected-val {
  color: var(--gold);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.tev-size-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.tev-swatch {
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tev-swatch:hover   { border-color: var(--dark); }
.tev-swatch.selected { border-color: var(--dark); background: var(--dark); color: var(--white); }
.tev-swatch.disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

/* Quantity + add to cart */
.woocommerce-variation-add-to-cart {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}
.woocommerce .quantity input.qty {
  width: 60px;
  height: 48px;
  border: 1.5px solid var(--border);
  text-align: center;
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 600;
}
.woocommerce button.single_add_to_cart_button.tev-add-to-cart {
  flex: 1;
  height: 48px;
  font-size: 12px;
}
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--black); }
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt { background: var(--gold); }
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: var(--gold-dark); }

/* Wishlist button */
.tev-wishlist-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray);
  cursor: pointer;
  padding: 10px 0;
  border: none;
  background: none;
  font-family: var(--font-sans);
  transition: color 0.2s;
  margin-bottom: 20px;
}
.tev-wishlist-btn:hover, .tev-wishlist-btn.active { color: var(--red); }

/* Benefits mini */
.single-info__benefits {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.single-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--dark);
}
.single-benefit svg { color: var(--gold); flex-shrink: 0; }

/* Accordion */
.single-accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
}
.accordion-icon { font-size: 18px; font-weight: 300; color: var(--gray); }
.accordion-body {
  padding: 0 0 16px;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}
.product-details-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.product-details-table td { padding: 6px 0; vertical-align: top; }
.product-details-table td:first-child { color: var(--gray); width: 120px; }
.product-details-table td:last-child { font-weight: 500; color: var(--dark); }

/* Related products */
.related-products { padding-top: 50px; border-top: 1px solid var(--border); }
.related-products__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .homepage-grid { grid-template-columns: 240px 1fr; }
  .hero__brand { font-size: 52px; }
}

@media (max-width: 1024px) {
  .homepage-three-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; }
  .col-slider { grid-column: 1; grid-row: 1; padding-top: 0; }
  .col-ad { grid-column: 1; grid-row: 2; display: block; }
  .col-blog { grid-column: 1; grid-row: 2; display: block; padding-top: 0; }
  .products-section { grid-column: 2; grid-row: 1 / 3; }
  .homepage-three-col .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__brand { font-size: 44px; }
  .hero__content { padding: 40px 40px 40px 40px; }
  .main-nav__list { gap: 20px; }
  .main-nav__item > a { font-size: 12px; }
  .shop-layout { grid-template-columns: 220px 1fr; gap: 24px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .single-product-layout { gap: 32px; }
}

@media (max-width: 768px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  /* Logo "TRENDY E.V." se na mobilu lámalo na "TRENDY"/"E.V." — zmenšeno, ať je na jednom řádku jako na desktopu */
  .site-logo__name { font-size: 17px; white-space: nowrap; gap: 4px; }
  .site-logo__tagline { font-size: 8px; letter-spacing: 0.15em; }
  /* Textové popisky (Hledat/Účet/Oblíbené/Košík) se na mobilu nevejdou vedle sebe a přetékaly přes okraj obrazovky */
  .header-icons { gap: 14px; }
  .header-icon span:not(.cart-count) { display: none; }
  .main-nav { display: none; }
  /* Menu jako běžný rozbalovací panel přímo pod hlavičkou (ne přes celou obrazovku) — .site-header je position:sticky,
     takže "position:absolute;top:100%" vždy sedí těsně pod ním, i po scrollu */
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 500;
    flex-direction: column;
    /* base pravidlo ".main-nav { justify-content:center }" je pro desktop (vodorovné centrování) —
       po přepnutí na sloupcový směr by centrovalo SVISLE a "Ženy" by zmizelo nad viditelnou oblastí */
    justify-content: flex-start;
    align-items: stretch;
    max-height: 75vh;
    overflow-y: auto;
    border-top: 1px solid var(--border);
    box-shadow: 0 16px 24px rgba(0,0,0,0.12);
  }
  .main-nav.open .main-nav__list { flex-direction: column; gap: 0; width: 100%; }
  .main-nav.open .main-nav__item { border-bottom: 1px solid var(--border); }
  .main-nav.open .main-nav__item > a { display: block; padding: 14px 20px; font-size: 15px; letter-spacing: 0.05em; }
  .main-nav.open .main-nav__dropdown { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 10px 32px; margin: 0; display: block; text-align: left; }
  .main-nav.open .main-nav__dropdown li a { font-size: 13px; padding: 7px 0; }
  body.menu-open { overflow: hidden; }
  .nav-caret { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__image { display: none; }
  .hero__brand { font-size: 40px; }
  .hero__content { padding: 40px 20px; }
  .homepage-grid { grid-template-columns: 1fr; }
  /* Reklamní bannery (slider + PSI Direct) vedle sebe, produkty a ad-placeholder přes celou šířku pod nimi */
  .homepage-three-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 10px; }
  .col-slider { grid-column: 1; grid-row: 1; padding-top: 0; }
  .col-banner2 { grid-column: 2; grid-row: 1; }
  .products-section { grid-column: 1 / span 2; grid-row: 2; }
  .col-ad { grid-column: 1 / span 2; grid-row: 3; display: block; }
  .col-blog { grid-column: 1 / span 2; grid-row: 3; display: block; padding-top: 0; }
  .blog-page__title { font-size: 24px; }
  .category-cards { display: grid; grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homepage-three-col .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  /* Ve 3 úzkých sloupcích se ikona+text vedle sebe nevešly a text zasahoval do sousedního sloupce — ikona nahoře, text pod ní, zarovnaný na střed */
  .benefit-item { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .benefit-item__icon { width: 34px; height: 34px; }
  .benefit-item__icon svg { width: 16px; height: 16px; }
  .benefit-item__title { font-size: 10.5px; overflow-wrap: break-word; }
  .benefit-item__desc { font-size: 10px; overflow-wrap: break-word; }
  /* Loga značek: zůstat v jednom vodorovném (posuvném) řádku místo zalamování do mřížky */
  .brands-bar__logo { padding: 6px 16px; }
  .sidebar-slider { height: 130px; }
  .banner2-slider { height: 130px; }
  /* Oba mobilní sliderové obrázky (fotka i PSI Direct banner s textem) se musí vejít celé, ne oříznout */
  .col-slider .slider-slide img { object-fit: contain; }
  .col-banner2 .slider-slide img { object-fit: contain; }
  .banner2-slide--first img { padding-top: 0; }
  .banner2-slide-headline { font-size: 0.6rem; top: 6px; left: 8px; right: 8px; }
  .banner2-topbar { padding: 4px 8px 16px; }
  .banner2-bottombar { padding: 16px 8px 4px; }
  .banner2-bottombar__cta { font-size: 0.55rem; padding: 3px 8px; }
  /* Tabulky Novinky/Bestsellery/Poslední kusy se s odkazem "Zobrazit vše" nevešly na šířku a přetékaly mimo obrazovku */
  .products-header { flex-wrap: nowrap; gap: 10px; }
  .products-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
  .products-tabs::-webkit-scrollbar { display: none; }
  .products-tab { white-space: nowrap; flex-shrink: 0; padding: 8px 12px 10px; font-size: 12px; }
  .products-view-all { flex-shrink: 0; white-space: nowrap; }
  .footer-newsletter__inner { flex-direction: column; align-items: stretch; }
  .footer-newsletter__form { flex-direction: column; }
  .footer-newsletter__input { width: 100%; border-right: 1px solid rgba(255,255,255,0.2); border-bottom: none; }
  /* Shop */
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  /* Single product */
  .single-product-layout { grid-template-columns: 1fr; gap: 24px; }
  .single-info { position: static; }
  .single-gallery__main { aspect-ratio: 4/3; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  /* Hero */
  .hero__brand { font-size: 28px; }
  .hero__tagline { font-size: 13px; }
  .hero__categories { font-size: 11px; gap: 6px; }
  .hero__buttons { flex-direction: column; gap: 8px; }
  .hero__content { padding: 28px 12px; }
  /* Category cards */
  .category-cards { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  /* Products */
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  /* Benefits */
  .benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
  /* Footer */
  .footer-bottom-bar { flex-direction: column; text-align: center; gap: 6px; }
  .footer-newsletter__text { flex-direction: column; text-align: center; }
  .footer-payments__inner { flex-direction: column; gap: 8px; }
  /* WooCommerce */
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .shop-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* === Katalog: mensi obrazky, bez orizeni === */
.woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.product-card__image { aspect-ratio: auto !important; height: 220px !important; }
.product-card__image img { object-fit: contain !important; }
@media (max-width: 900px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .product-card__image { height: 180px !important; }
}
@media (max-width: 600px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .product-card__image { height: 150px !important; }
}

/* === Single product: mensi hlavni fotka === */
.single-gallery__main {
  aspect-ratio: auto !important;
  height: 360px !important;
  max-height: 360px !important;
}
.single-gallery__main img {
  object-fit: contain !important;
}

/* === WooCommerce Blocks produktová mřížka (např. "Novinka" v prázdném košíku) ===
   Motiv nemá pro tuhle blokovou mřížku žádné CSS, takže se obrázky bez tohoto
   pravidla vykreslují v přirozené velikosti/poměru stran (roztažené/nekonzistentní). */
.wc-block-grid__product-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.wc-block-grid__product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Košík: transparentnost při míchání skladů (viz inc/class-warehouse-shipping.php) ===
   Štítek "Odesíláno z" u položky jede přes woocommerce_get_item_data, takže
   se vykresluje standardním WooCommerce/Blocks stylem (jako varianty) — vlastní
   CSS potřebuje jen souhrnná hláška nad košíkem. */
.cart-warehouse-notice {
  background: var(--beige-light);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.cart-warehouse-notice__title { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.cart-warehouse-notice__list { list-style: none; padding: 0; margin: 0 0 8px; font-size: 13px; }
.cart-warehouse-notice__list li { padding: 3px 0; }
.cart-warehouse-notice__list li::before { content: '›'; color: var(--gold); font-weight: 700; margin-right: 6px; }
.cart-warehouse-notice__note { font-size: 12px; color: var(--gray); }
