/*
Theme Name: Sharlays
Theme URI: https://sharlays.studio
Author: Sharlays Studio
Description: Tmavý kartografický web pro Sharlays — autorské plotrové mapy. Vyžaduje WooCommerce a plugin Sharlays Studio.
Version: 1.0.6
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sharlays-theme
Tags: e-commerce, dark, woocommerce, maps, minimalist
*/

/* ═══════════════════════════════════════════════════
   DESIGN TOKENS
   Sjednoceno s konfigurátorem (sharlays-studio plugin)
═══════════════════════════════════════════════════ */
:root {
  --bg:    #0f0e0c;
  --bg2:   #141310;
  --sf:    #1a1916;
  --s2:    #201e1a;
  --bd:    #2a2720;
  --b2:    #353028;
  --tx:    #E8E0D0;
  --t2:    #A89880;
  --t3:    #6a6050;
  --gd:    #C9A96E;
  --gl:    #E2BC85;
  --tl:    #4AABB0;
  --r:     2px;

  --font-sans:  'DM Sans', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono:  'DM Mono', 'Courier New', monospace;
  --max-w:      1200px;
  --ease:       0.2s ease;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--tx);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--tx);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--t2); }
p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.site-content {
  min-height: calc(100vh - 160px);
}

/* ═══════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(15,14,12,.97);
  border-bottom: 1px solid var(--bd);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
  flex-shrink: 0;
}

.site-logo a { transition: opacity var(--ease); display: flex; flex-direction: column; gap: 2px; }
.site-logo a:hover { opacity: 0.7; }

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gd);
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t2);
}

.main-nav ul {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.main-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t2);
  transition: color var(--ease);
}

.main-nav a:hover,
.main-nav .current-menu-item a { color: var(--tx); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--t2);
  font-size: 0.875rem;
  transition: color var(--ease);
  cursor: pointer;
  background: none;
  border: none;
}

.cart-link:hover { color: var(--gd); }

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--gd);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--t2);
  transition: var(--ease);
}

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gd);
  color: var(--bg);
  border-color: var(--gd);
}
.btn-gold:hover {
  background: var(--gl);
  border-color: var(--gl);
  color: var(--bg);
}

.btn-outline {
  background: transparent;
  color: var(--tx);
  border-color: var(--bd);
}
.btn-outline:hover { border-color: var(--t2); color: var(--tx); }

.btn-outline-gold {
  background: transparent;
  color: var(--gd);
  border-color: var(--gd);
}
.btn-outline-gold:hover {
  background: rgba(201,169,110,.08);
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  min-height: 92vh;
  display: flex;
  align-items: center;
}

/* Zlatý radiální gradient — tmavá mapa */
.hero-map-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 65% 50%, #1a180f 0%, #0a0900 100%);
}

/* Kartografická mřížka */
.hero-map-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Zlatý + tyrkysový světelný efekt */
.hero-map-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 65% 45%, rgba(201,169,110,.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(74,171,176,.08) 0%, transparent 35%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem 0;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gd);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gd);
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--tx);
}

.hero-title em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic !important;
  font-weight: 700;
  color: var(--gd);
}

.hero-text {
  font-size: 1.0625rem;
  color: var(--t2);
  margin-bottom: 2.5rem;
  max-width: 440px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Vizualizace na pravé straně hero */
.hero-visual {
  position: relative;
  aspect-ratio: 4/3;
  border: 1px solid var(--bd);
  border-radius: 4px;
  overflow: hidden;
  background: var(--sf);
}

.hero-visual-map {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

/* Formát badge přes hero visual */
.hero-format-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(15,14,12,.85);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 0.6rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--gd);
  backdrop-filter: blur(8px);
}

/* Zlatý rámeček overlay na hero visual */
.hero-frame {
  position: absolute;
  inset: 10%;
  border: 1.5px solid var(--gd);
  opacity: 0.4;
  border-radius: 2px;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   SEKCE
═══════════════════════════════════════════════════ */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-dark { background: var(--bg2); }
.section-surface { background: var(--sf); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 1.5rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gd);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--tx);
}

.section-text {
  font-size: 1.0625rem;
  color: var(--t2);
  max-width: 640px;
  line-height: 1.75;
}

.section-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gd);
  white-space: nowrap;
  transition: opacity var(--ease);
}
.section-link:hover { opacity: 0.7; }

/* ═══════════════════════════════════════════════════
   STATS ROW — čísla pod hero
═══════════════════════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
}

.stat-item {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--bd);
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gd);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t3);
}

/* ═══════════════════════════════════════════════════
   JAK TO FUNGUJE — kroky
═══════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--bd);
  border: 1px solid var(--bd);
  border-radius: 4px;
  overflow: hidden;
}

.step-item {
  background: var(--sf);
  padding: 2.5rem 2rem;
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gd);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--bd);
}

.step-icon {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  display: block;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--tx);
  margin-bottom: 0.75rem;
}

.step-text {
  font-size: 0.9375rem;
  color: var(--t2);
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════════════
   FORMÁTY — přehled
═══════════════════════════════════════════════════ */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  align-items: end;
}

.format-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: default;
}

.format-rect {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 2px;
  width: 100%;
  transition: border-color var(--ease);
}

.format-item:hover .format-rect { border-color: var(--gd); }

.format-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--t2);
  text-align: center;
}

.format-size {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--t3);
  text-align: center;
  display: block;
  margin-top: 0.2rem;
}

/* Proporcionální výšky rámečků */
.format-a4  { aspect-ratio: 210/297; }
.format-a3  { aspect-ratio: 297/420; }
.format-a2  { aspect-ratio: 420/594; }
.format-a1  { aspect-ratio: 594/841; }
.format-a0  { aspect-ratio: 841/1189; }
.format-b1  { aspect-ratio: 707/1000; }

/* ═══════════════════════════════════════════════════
   BARVY PAPÍRU
═══════════════════════════════════════════════════ */
.papers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.paper-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: default;
}

.paper-swatch {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 3px;
  border: 1px solid var(--bd);
  transition: transform var(--ease), border-color var(--ease);
}

.paper-item:hover .paper-swatch {
  transform: scale(1.05);
  border-color: var(--t2);
}

.paper-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--t2);
  text-align: center;
}

/* ═══════════════════════════════════════════════════
   VRSTVY — feature grid
═══════════════════════════════════════════════════ */
.layers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: var(--bd);
  border: 1px solid var(--bd);
  border-radius: 4px;
  overflow: hidden;
}

.layer-item {
  background: var(--sf);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.layer-icon { font-size: 1.4rem; }

.layer-name {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--tx);
}

.layer-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--t3);
  letter-spacing: 0.04em;
}

.layer-extra {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--tl);
  margin-top: auto;
}

/* ═══════════════════════════════════════════════════
   CENÍK
═══════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 4px;
  padding: 2.25rem 2rem;
  position: relative;
  transition: border-color var(--ease);
}

.pricing-card:hover { border-color: var(--b2); }

.pricing-card.featured {
  border-color: var(--gd);
  box-shadow: 0 0 0 1px rgba(201,169,110,.2);
}

.pricing-badge {
  position: absolute;
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gd);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 0.5rem;
}

.pricing-size {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--tx);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.pricing-size-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--t3);
  margin-bottom: 1.25rem;
  display: block;
}

.pricing-price {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--tx);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.pricing-price span {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--t3);
}
.pricing-price .price-from {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--t3);
  letter-spacing: .06em;
  vertical-align: middle;
  margin-right: .15rem;
}

.pricing-note {
  font-size: 0.8125rem;
  color: var(--t3);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--t2);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--gd);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ═══════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════ */
.cta-banner {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 4px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,169,110,.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner .section-label { justify-content: center; }
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════
   O AUTOROVI / ABOUT
═══════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/5;
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* Zlatý detail v rohu */
.about-image::after {
  content: '';
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-bottom: 2px solid var(--gd);
  border-right: 2px solid var(--gd);
  opacity: 0.6;
}

.about-content .section-label { margin-bottom: 0.75rem; }
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { margin-bottom: 1.25rem; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.about-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  background: var(--s2);
  border: 1px solid var(--bd);
  border-radius: 20px;
  color: var(--t2);
}

/* ═══════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--bd);
  border: 1px solid var(--bd);
  border-radius: 4px;
  overflow: hidden;
}

.faq-item {
  background: var(--sf);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--tx);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color var(--ease);
}

.faq-question:hover { color: var(--gd); }
.faq-question.open { color: var(--gd); }

.faq-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--t3);
  transition: transform var(--ease);
  line-height: 1;
  font-style: normal;
}

.faq-question.open .faq-icon { transform: rotate(45deg); color: var(--gd); }

.faq-answer {
  display: none;
  padding: 1rem 1.75rem 1.35rem;
  font-size: 0.9375rem;
  color: var(--t2);
  line-height: 1.7;
  border-top: 1px solid var(--bd);
}

.faq-answer.open { display: block; }
.faq-answer p { margin: 0; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--bd);
  padding: 4.5rem 0 2rem;
  color: var(--t2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .site-logo {
  color: var(--tx);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--t3);
  line-height: 1.7;
  max-width: 280px;
}

.footer-brand .about-tags { margin-top: 1.25rem; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a { font-size: 0.9rem; color: var(--t3); transition: color var(--ease); }
.footer-col ul li a:hover { color: var(--gd); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--bd);
  font-size: 0.8125rem;
  color: var(--t3);
}

.footer-bottom a { color: var(--t3); transition: color var(--ease); }
.footer-bottom a:hover { color: var(--gd); }

/* ═══════════════════════════════════════════════════
   WOOCOMMERCE OVERRIDES
═══════════════════════════════════════════════════ */
ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.products li.product {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease);
}

ul.products li.product:hover {
  border-color: var(--b2);
  transform: translateY(-2px);
}

ul.products li.product img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.product-info-wrap { padding: 1.25rem; }

ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--tx);
  margin-bottom: 0.5rem;
}

ul.products li.product .price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gd);
}

ul.products li.product .price del { color: var(--t3); font-weight: 400; margin-right: 0.4rem; }
ul.products li.product .price ins { text-decoration: none; }

ul.products li.product .onsale {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gd);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r);
}

ul.products li.product .button,
ul.products li.product .add_to_cart_button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: var(--s2);
  color: var(--tx);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
  margin-top: 0.75rem;
}

ul.products li.product .button:hover {
  background: var(--gd);
  color: var(--bg);
}

/* Single product */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.woocommerce div.product .woocommerce-product-gallery { position: sticky; top: 90px; }

.woocommerce div.product p.price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gd);
  margin-bottom: 1.5rem;
}

.woocommerce div.product .qty {
  width: 80px;
  padding: 0.75rem;
  background: var(--sf);
  border: 1.5px solid var(--bd);
  border-radius: var(--r);
  color: var(--tx);
  font-family: var(--font-sans);
  font-size: 1rem;
  margin-right: 1rem;
}

.woocommerce div.product .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--gd) !important;
  color: var(--bg) !important;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem !important;
  border-radius: var(--r) !important;
  border: none !important;
  cursor: pointer;
  transition: background var(--ease) !important;
}

.woocommerce div.product .single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: var(--gl) !important; }

/* Cart */
.woocommerce-cart .wc-proceed-to-checkout a {
  display: block;
  text-align: center;
  background: var(--gd) !important;
  color: var(--bg) !important;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  color: var(--tx);
}

table.shop_table th {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--bd);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t3);
  background: var(--sf);
}

table.shop_table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--bd);
  vertical-align: middle;
}

/* WC Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 1rem 1.5rem;
  border-radius: var(--r);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  border-left: 3px solid;
  background: var(--sf);
}

.woocommerce-message { border-color: var(--tl); color: var(--tl); }
.woocommerce-info    { border-color: var(--gd); color: var(--gd); }
.woocommerce-error   { border-color: #E8956A; color: #E8956A; }

.woocommerce-breadcrumb { font-size: 0.8125rem; color: var(--t3); margin-bottom: 2rem; }
.woocommerce-breadcrumb a { color: var(--t3); }
.woocommerce-breadcrumb a:hover { color: var(--gd); }

.star-rating { color: var(--gd); }

/* ═══════════════════════════════════════════════════
   STRÁNKA CONTENT
═══════════════════════════════════════════════════ */
.entry-content {
  font-size: 1rem;
  color: var(--t2);
  line-height: 1.75;
}

.entry-content h2, .entry-content h3 { color: var(--tx); margin: 2rem 0 1rem; }
.entry-content a { color: var(--gd); text-decoration: underline; }

/* Full-width stránka pro konfigurátor */
.page-template-full-width .site-content { padding: 0; }
.page-template-full-width #content { max-width: 100%; }

/* ═══════════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.text-gold  { color: var(--gd); }
.text-muted { color: var(--t2); }
.text-mono  { font-family: var(--font-mono); }
.divider    { height: 1px; background: var(--bd); margin: 3rem 0; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner  { gap: 3rem; }
  .formats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-row  { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .papers-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--bd);
    padding: 1.5rem 2rem;
  }
  .main-nav.is-open ul { flex-direction: column; gap: 0; }
  .main-nav.is-open ul li { border-bottom: 1px solid var(--bd); }
  .main-nav.is-open ul li:last-child { border-bottom: none; }
  .main-nav.is-open ul li a { display: block; padding: 0.875rem 0; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .header-actions .btn-gold { display: none; }

  .hero { padding: 4rem 0 3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }

  .steps-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .formats-grid { grid-template-columns: repeat(3, 1fr); }
  .papers-grid  { grid-template-columns: repeat(3, 1fr); }

  .section { padding: 3.5rem 0; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .woocommerce div.product { grid-template-columns: 1fr; gap: 2rem; }
  .woocommerce div.product .woocommerce-product-gallery { position: static; }
  ul.products { grid-template-columns: repeat(2, 1fr); }

  .container { padding: 0 1.25rem; }
  .cta-banner { padding: 3rem 1.5rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  ul.products { grid-template-columns: 1fr; }
  .formats-grid { grid-template-columns: repeat(2, 1fr); }
  .papers-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--bd); }
  .container { padding: 0 1rem; }
}

/* ═══════════════════════════════════════════════════
   OBCHOD — variabilní produkty (hotové mapy oblastí)
═══════════════════════════════════════════════════ */

/* Stránka obchodu */
.woocommerce-shop-page .site-content { padding: 3rem 0 5rem; }

.shop-header {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--bd);
  margin-bottom: 3rem;
}

.shop-header .section-label { margin-bottom: .5rem; }
.shop-header h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: .75rem; }
.shop-header p { font-size: .9375rem; color: var(--t2); max-width: 560px; }

/* Variace — výběr barvy papíru */
.woocommerce div.product .variations { width: 100%; border: none; margin-bottom: 1.25rem; }
.woocommerce div.product .variations td,
.woocommerce div.product .variations th { padding: 0; border: none; }

.woocommerce div.product .variations label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--t3);
  display: block;
  margin-bottom: .5rem;
}

.woocommerce div.product .variations select {
  width: 100%;
  padding: .65rem .85rem;
  background: var(--sf);
  border: 1.5px solid var(--bd);
  border-radius: var(--r);
  color: var(--tx);
  font-family: var(--font-sans);
  font-size: .9rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A89880' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.5rem;
  cursor: pointer;
  transition: border-color var(--ease);
}

.woocommerce div.product .variations select:focus {
  outline: none;
  border-color: var(--gd);
}

/* Reset variací */
.woocommerce div.product .reset_variations {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--t3);
  text-decoration: none;
  letter-spacing: .06em;
  transition: color var(--ease);
}
.woocommerce div.product .reset_variations:hover { color: var(--gd); }

/* Popis variace */
.woocommerce div.product .woocommerce-variation-description p {
  font-size: .875rem;
  color: var(--t2);
  margin-top: .75rem;
}

/* Dostupnost */
.woocommerce div.product .woocommerce-variation-availability p {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--tl);
  margin: .5rem 0;
}

/* ═══════════════════════════════════════════════════
   BESTSELLERY
═══════════════════════════════════════════════════ */
.price-from {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--t3);
  margin-right: 0.2rem;
}
.price-sale { color: var(--tl); }
.price-old  { text-decoration: line-through; color: var(--t3); margin-right: .4rem; font-weight: 400; }
.product-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: var(--r);
  z-index: 1;
}
.badge-gold { background: var(--gd); color: var(--bg); }
.badge-new  { background: var(--tl); color: var(--bg); }

/* ═══════════════════════════════════════════════════
   MOBILNÍ OBRÁZKY — hero + o autorce
═══════════════════════════════════════════════════ */

/* Hero mobilní vizuál — skrytý na desktopu, viditelný na mobilu */
.hero-visual-mobile {
  display: none;
  position: relative;
  margin: 1.75rem 0;
  border: 1px solid var(--bd);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--sf);
}

.hero-visual-placeholder {
  width: 100%;
  height: 100%;
}

.hero-visual-placeholder svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-visual-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* O autorce mobilní obrázek — skrytý na desktopu */
.about-image-mobile {
  display: none;
  margin-bottom: 1.75rem;
}

@media (max-width: 768px) {
  .hero-visual-mobile  { display: block; }
  .about-image-mobile  { display: block; }
}
