/* Gift guides (gift-guide.php): /vianocne-darceky/, /darceky-do-20-eur/, /darcek-pre-nu/. */
.guide-page{
  display:flex;
  flex-direction:column;
  gap:28px;
  padding-top:calc(var(--fixed-header-offset) + 8px);
  padding-bottom:64px;
}
.guide-breadcrumb{font-size:14px;color:var(--muted)}
.guide-breadcrumb a{color:var(--muted)}

.guide-hero{
  background:var(--card);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:36px 32px;
}
.guide-eyebrow{
  margin:0 0 8px;
  color:var(--rose);
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.guide-hero h1{
  margin:0 0 14px;
  font-family:'Playfair Display',serif;
  font-size:clamp(30px,4.5vw,46px);
  line-height:1.15;
}
.guide-lead{max-width:760px;margin:0;font-size:18px;line-height:1.6}
.guide-facts{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 0;padding:0;list-style:none}
.guide-facts li{
  padding:7px 14px;
  border-radius:999px;
  background:var(--rose-soft);
  color:var(--rose-dark);
  font-size:14px;
  font-weight:600;
}
.guide-toc{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.guide-toc a{
  padding:8px 14px;
  border:1px solid #f2d9d3;
  border-radius:999px;
  background:#fff;
  color:var(--ink);
  font-size:14px;
}
.guide-toc a:hover{border-color:var(--rose);color:var(--rose)}
.guide-note{margin:16px 0 0;color:var(--muted);font-size:14px}

.guide-section{scroll-margin-top:calc(var(--fixed-header-offset) + 12px)}
.guide-section h2{
  margin:0 0 8px;
  font-family:'Playfair Display',serif;
  font-size:clamp(24px,3vw,30px);
  line-height:1.25;
}
.guide-section > p{max-width:760px;margin:0 0 16px;line-height:1.65}
.guide-section p a,
.guide-section li a{color:var(--rose);text-decoration:underline;text-underline-offset:2px}

.guide-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}
.guide-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(198,32,48,.08);
  border-radius:18px;
  background:var(--card);
  box-shadow:var(--shadow);
  transition:transform .18s ease, box-shadow .18s ease;
}
.guide-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(73,32,32,.12)}
.guide-card:focus-visible{outline:3px solid var(--rose);outline-offset:2px}
.guide-card img{width:100%;height:auto;aspect-ratio:1 / 1;object-fit:cover;background:var(--sand)}
.guide-card h3{margin:12px 14px 6px;font-size:16px;font-weight:600;line-height:1.35}
.guide-card-price{margin:auto 14px 14px;color:var(--rose);font-weight:700}

.guide-text{
  padding:28px 32px;
  border-radius:20px;
  background:var(--card);
  box-shadow:var(--shadow);
}
.guide-text p,
.guide-text li{line-height:1.65}
.guide-text p{margin:0 0 12px}
.guide-text p:last-child{margin-bottom:0}
.guide-text ol{margin:0 0 12px;padding-left:20px}
.guide-text li{margin:6px 0}

.guide-faq details{padding:4px 0;border-bottom:1px solid var(--sand)}
.guide-faq summary{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
  font-weight:600;
  cursor:pointer;
  list-style:none;
}
.guide-faq summary::-webkit-details-marker{display:none}
.guide-faq summary::after{content:'+';color:var(--rose);font-size:22px;line-height:1}
.guide-faq details[open] summary::after{content:'–'}
.guide-faq details p{margin:0 0 12px}

.guide-related h2{margin:0 0 12px;font-family:'Playfair Display',serif;font-size:24px}
.guide-related-links{display:flex;flex-wrap:wrap;gap:10px}
.guide-related-links a{
  padding:10px 16px;
  border:1px solid #f2d9d3;
  border-radius:999px;
  background:#fff;
  color:var(--ink);
  font-weight:600;
}
.guide-related-links a:hover{border-color:var(--rose);color:var(--rose)}

@media (prefers-reduced-motion: reduce){
  .guide-card{transition:none}
  .guide-card:hover{transform:none}
}
/* Below 1200px styles.css turns .top-nav into an overlay opened by .nav-toggle, which these pages
   do not have: keep a compact inline nav (only the cart on phones; other links are in the footer). */
@media (max-width: 1200px){
  .top-nav{
    position:static;
    inset:auto;
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:14px;
    width:auto;
    max-width:none;
    height:auto;
    margin:0 14px 0 0; /* the header has no side padding below 1200px */
    padding:0;
    background:transparent;
    overflow:visible;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }
  .top-nav a{display:inline-flex;width:auto;padding:6px 0;font-size:15px}
  .top-nav a.cart-btn{padding:10px 16px}
}
@media (max-width: 768px){
  .top-nav a.btn.cart-btn{width:52px;padding:0} /* keep the round cart icon from styles.css */
}
@media (max-width: 640px){
  .top-nav a:not(.cart-btn){display:none}
  .guide-page{gap:22px}
  .guide-hero,
  .guide-text{padding:22px 18px;border-radius:18px}
  .guide-lead{font-size:17px}
  .guide-facts{gap:8px}
  .guide-facts li{padding:6px 12px;font-size:13px}
  .guide-toc{
    flex-wrap:nowrap;
    margin:16px -18px 0;
    padding:0 18px 6px;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .guide-toc::-webkit-scrollbar{display:none}
  .guide-toc a{flex:0 0 auto;white-space:nowrap}
  .guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .guide-card h3{margin:10px 10px 4px;font-size:15px}
  .guide-card-price{margin:auto 10px 12px}
}
