/* Domovská stránka (/, dřív /Domov) - používá sdílený _Layout s hlavičkou/
   patičkou. Karty produktů a "akce týdne" štítky přebírá beze změny z
   Catalog.css/StaceneNabidka.css (viz Styles sekce v Domov.cshtml) - tady jen
   layout jednotlivých sekcí, které jinde na webu nejsou. */
.domov-page {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 2.2rem clamp(1rem, 3vw, 2.625rem) 4.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.domov-page .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .8rem;
}
.domov-page .only-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .6rem;
}
.domov-page .gold-divider {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.1rem;
  color: var(--gold);
}
.domov-page .gold-divider .line { width: 34px; height: 1px; background: var(--gold); }
.domov-page .gold-divider svg { width: 13px; height: 13px; }
.domov-page .lede {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  line-height: 1.6;
  max-width: 44ch;
  color: rgba(243,234,217,.85);
}

.domov-btn {
  display: inline-block;
  text-decoration: none;
  background: var(--wine);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: .9rem 1.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.domov-btn:hover {
  background: var(--gold);
  color: var(--wine-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.domov-btn-gold { background: var(--gold); color: var(--wine-2); }
.domov-btn-gold:hover { background: var(--cream); color: var(--wine-2); }
.domov-btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--gold);
}
.domov-btn-ghost:hover {
  background: var(--gold);
  color: var(--wine-2);
  border-color: var(--gold);
}

/* ---------- Hero ---------- */
.domov-hero {
  position: relative;
  background: radial-gradient(ellipse at 25% 35%, var(--wine) 0%, var(--wine-2) 78%);
  border: 1px solid rgba(201,162,75,.55);
  border-radius: 6px;
  padding: 3rem 3rem;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 2.4rem;
  overflow: hidden;
}
.domov-hero::before, .domov-hero::after {
  content: '';
  position: absolute;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(201,162,75,.5);
  opacity: .8;
}
.domov-hero::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.domov-hero::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.domov-hero-copy h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--cream);
}
.domov-hero-copy h1 em { font-style: italic; color: var(--gold); }
.domov-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.domov-hero-photo {
  height: 100%;
  min-height: 260px;
  border-radius: 6px;
  border: 2px solid var(--gold);
  overflow: hidden;
}
/* Fotka prodejny (4:3) - výloha s cedulí DANDA je uprostřed, při ořezu
   radši trochu víc nahoru (cedule) než dolů (dlažba). */
.domov-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }

/* Karta burčáku je sdílená s /Burcak - styly v BurcakCard.css. */

/* ---------- Kde nás najdete (adresa, kontakt, otevírací doba) ---------- */
.domov-visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 2.2rem 2.6rem;
  scroll-margin-top: 1.5rem;
}
.domov-visit .only-eyebrow { color: var(--gold-deep); }
.domov-visit h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 2rem;
  margin: 0 0 1rem;
  color: var(--wine);
}
.domov-visit-address { font-style: normal; margin: 0 0 1.1rem; }
.domov-visit-address a {
  display: inline-flex;
  align-items: flex-start;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.45;
}
.domov-visit-address a:hover span { color: var(--wine); text-decoration: underline; }
.domov-visit-address svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: .2rem;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.6;
}
.domov-visit-contact {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
}
.domov-visit-contact a { color: var(--wine); text-decoration: none; }
.domov-visit-contact a:hover { text-decoration: underline; }

.domov-visit-hours-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 .7rem;
  color: var(--wine);
}
.domov-open-status {
  display: inline-block;
  margin: 0 0 .9rem;
  padding: .35rem .9rem;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  background: rgba(46,125,50,.12);
  color: #2e6b31;
}
.domov-open-status.is-closed { background: rgba(138,31,40,.1); color: var(--wine); }
.domov-hours { margin: 0; }
.domov-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem .8rem;
  border-bottom: 1px solid rgba(74,15,24,.1);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
}
.domov-hours-row:last-child { border-bottom: none; }
.domov-hours-row dt { color: var(--ink); }
.domov-hours-row dd { margin: 0; font-weight: 600; color: var(--ink); white-space: nowrap; }
.domov-hours-row.is-closed dd { font-weight: 400; color: var(--ink-soft); }
.domov-hours-row.is-special dd { color: var(--gold-deep); }
.domov-hours-row.today {
  background: rgba(201,162,75,.16);
  border-radius: 6px;
}
.domov-hours-row.today dt { font-weight: 600; }

/* ---------- Akce týdne (stáčené víno) ---------- */
.domov-deal {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: radial-gradient(ellipse at 25% 30%, var(--wine) 0%, var(--wine-2) 82%);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 2rem 2.4rem;
}
.domov-deal-art {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  overflow: hidden;
}
.domov-deal-art svg { width: auto; height: 48px; }
.domov-deal-body h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 2rem;
  margin: .1rem 0 .6rem;
  color: var(--cream);
}
.domov-deal-price {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--cream);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
}
.domov-deal-unit { white-space: nowrap; }

/* ---------- Bestseller slider ---------- */
.domov-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}
.domov-section-head .section-title { font-size: 1.9rem; margin: 0; }

/* Šipky sedí NA okrajích celého slideru (position:absolute vůči
   .domov-slider-viewport), ne jen nad ním - klasické karuselové ovládání
   po stranách, napůl přes první/poslední kartu. */
.domov-slider-viewport { position: relative; }
.domov-slider-edge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(74,15,24,.3);
  background: #fff;
  color: var(--wine);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(20,6,8,.16);
  transition: background .15s ease, transform .15s ease;
}
.domov-slider-edge:hover { background: var(--cream-2); transform: translateY(-50%) scale(1.06); }
.domov-slider-edge-prev { left: -22px; }
.domov-slider-edge-next { right: -22px; }

/* Vodorovný posuvník bez viditelného scrollbaru prohlížeče - stránkování
   řeší vlastní tečky (.domov-slider-dots) pod sliderem, ne nativní pruh. */
.domov-slider {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: .2rem .2rem .5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.domov-slider::-webkit-scrollbar { display: none; }
.domov-slide {
  flex: 0 0 320px;
  scroll-snap-align: start;
  text-decoration: none;
}
.domov-slide h3 { font-size: 1.425rem; }
.domov-slide .winery { font-size: 1.175rem; }
.domov-slide .price { font-size: 1.325rem; }
.domov-slide .card-foot { flex-wrap: wrap; }

.domov-slider-dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.2rem;
}
.domov-slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(74,15,24,.22);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.domov-slider-dot:hover { background: rgba(74,15,24,.4); }
.domov-slider-dot.is-active {
  background: var(--wine);
  transform: scale(1.25);
}

/* ---------- Doprava po Kladně ---------- */
.domov-delivery {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  background: var(--paper);
  border: 1px solid rgba(74,15,24,.14);
  border-radius: 10px;
  padding: 2rem 2.2rem;
}
.domov-delivery-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 30% 30%, var(--wine) 0%, var(--wine-2) 80%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.domov-delivery-icon svg { width: 30px; height: 30px; stroke: var(--gold); }
.domov-delivery-body { flex: 1; }
.domov-delivery-body .only-eyebrow { color: var(--gold-deep); }
.domov-delivery-body h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.8rem;
  margin: 0 0 .5rem;
  color: var(--wine);
}
.domov-delivery-body p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: 60ch;
}

/* ---------- Manufaktura teaser ---------- */
.domov-manufaktura {
  background: radial-gradient(ellipse at 70% 20%, var(--wine) 0%, var(--wine-2) 78%);
  border-radius: 10px;
  padding: 2.4rem 2.6rem;
  text-align: center;
}
.domov-manufaktura-copy { max-width: 46ch; margin: 0 auto; }
.domov-manufaktura-copy h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 2rem;
  margin: 0 0 .8rem;
  color: var(--cream);
}
.domov-manufaktura-copy p {
  margin: 0 0 1.4rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(243,234,217,.85);
}

@media (max-width: 900px) {
  .domov-hero { grid-template-columns: 1fr; padding: 2.2rem 1.6rem; text-align: center; }
  .domov-hero-actions { justify-content: center; }
  .domov-hero-photo { min-height: 200px; }
  .domov-page .lede { max-width: 100%; }
  .domov-page .gold-divider { justify-content: center; }

  .domov-deal { flex-direction: column; text-align: center; }
  .domov-delivery { flex-direction: column; text-align: center; }
  .domov-visit { grid-template-columns: 1fr; gap: 1.6rem; padding: 1.8rem 1.4rem; }

  .domov-slider-edge-prev { left: 4px; }
  .domov-slider-edge-next { right: 4px; }
}
