/* Darovela — shared styles */

:root {
  --bg: oklch(96% 0.02 85);
  --surface: oklch(99% 0.008 88);
  --ink: oklch(26% 0.025 45);
  --muted: oklch(50% 0.02 50);
  --gold: oklch(70% 0.13 72);
  --gold-dark: oklch(52% 0.11 62);
  --rose: oklch(85% 0.045 25);
  --rose-ink: oklch(30% 0.05 25);
  --border: oklch(89% 0.018 80);
  --footer-bg: oklch(22% 0.02 50);
  --footer-muted: oklch(72% 0.01 80);
  --footer-border: oklch(35% 0.02 50);
  --font-serif: Georgia, 'Times New Roman', 'Noto Serif', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-serif); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: 1240px; margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.logo {
  font-family: var(--font-serif); font-size: 27px; font-weight: 700;
  color: var(--gold-dark); text-decoration: none;
}
.dv-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.dv-nav a { color: oklch(30% 0.02 50); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.dv-nav a:hover, .dv-nav a.active { color: var(--gold-dark); }
.cart-link {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  color: var(--ink); font-weight: 800; background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px;
  white-space: nowrap;
}
.cart-badge {
  background: var(--gold-dark); color: #fff; border-radius: 999px;
  padding: 2px 8px; font-size: 12px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-dark, .btn-outline {
  font-family: var(--font-sans); cursor: pointer; text-decoration: none;
  display: inline-block; border-radius: 999px; font-weight: 800; font-size: 15px;
  border: none;
}
.btn-primary { background: var(--gold); color: oklch(20% 0.02 45); padding: 14px 30px; }
.btn-secondary {
  background: transparent; color: oklch(26% 0.025 45); border: 1.5px solid oklch(26% 0.025 45);
  padding: 13px 28px; font-weight: 700;
}
.btn-dark { background: var(--ink); color: #fff; border: none; padding: 8px 14px; font-size: 13px; font-weight: 700; }
.btn-checkout {
  margin-top: 12px; background: var(--gold-dark); color: #fff; border: none;
  border-radius: 999px; padding: 15px; font-size: 15.5px; font-weight: 800; cursor: pointer; width: 100%;
}
.btn-checkout:disabled { opacity: .6; cursor: default; }

/* Cards */
.dv-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.dv-card-pad { padding: 24px; }

/* Photo boxes */
.photo { width: 100%; object-fit: cover; display: block; background: var(--border); }

/* Hero */
.hero { padding: 70px 0 60px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.hero-eyebrow {
  display: inline-block; background: var(--rose); color: var(--rose-ink);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; margin-bottom: 18px;
}
.hero h1 { font-size: 52px; line-height: 1.12; margin: 0 0 20px; font-weight: 700; }
.hero p.lead { font-size: 18px; color: var(--muted); line-height: 1.6; margin: 0 0 30px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--gold-dark); }
.hero-stats .label { font-size: 13px; color: var(--muted); }
.hero-photo { height: 440px; border-radius: 24px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Page hero (category pages) */
.page-hero { padding: 50px 0 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.page-hero h1 { font-size: 38px; margin: 0 0 14px; }
.page-hero p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 520px; }
.page-hero-photo { height: 220px; border-radius: 20px; overflow: hidden; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding: 70px 0; }
.section-tight { padding: 20px 0 70px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; flex-wrap: wrap; gap: 10px; }
.section-title h2 { font-size: 32px; margin: 0; }
.section-title a { font-weight: 800; color: var(--gold-dark); text-decoration: none; }
.section h2.centered { font-size: 32px; margin: 0 0 34px; text-align: center; }

.surface-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 60px 0; }

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Category tiles (home) */
.cat-tile { text-decoration: none; color: var(--ink); }
.cat-tile-photo { height: 170px; overflow: hidden; }
.cat-tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile-body { padding: 18px; }
.cat-tile-body h3 { margin: 0 0 6px; font-size: 19px; }
.cat-tile-body p { margin: 0; color: var(--muted); font-size: 14px; }

/* Product cards */
.product-card { display: flex; flex-direction: column; }
.product-photo { height: 160px; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-tag {
  align-self: flex-start; background: var(--rose); color: var(--rose-ink);
  font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.product-name { margin: 0 0 4px; font-size: 15px; line-height: 1.3; min-height: 40px; }
.product-desc { margin: 0 0 10px; font-size: 13px; color: var(--muted); line-height: 1.4; min-height: 36px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-price { font-weight: 800; color: var(--gold-dark); }

/* Why-shop feature grid */
.feature { text-align: center; padding: 0 10px; }
.feature .icon { font-size: 34px; margin-bottom: 12px; }
.feature h3 { font-size: 16.5px; margin: 0 0 8px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }

/* Seasonal banner */
.banner {
  background: var(--rose); padding: 56px 0;
}
.banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.banner h2 { font-size: 28px; margin: 0 0 8px; color: var(--rose-ink); }
.banner p { margin: 0; color: oklch(35% 0.04 25); max-width: 520px; }

/* Testimonials */
.testimonial { padding: 24px; }
.testimonial p { font-style: italic; color: var(--ink); line-height: 1.6; margin: 0; }
.testimonial .author { margin-top: 14px; font-weight: 800; }

/* Newsletter */
.newsletter { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0; }
.newsletter-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.newsletter h2 { font-size: 28px; margin: 0 0 10px; }
.newsletter p { color: var(--muted); margin: 0 0 22px; }
.newsletter-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.newsletter-form input[type=email] {
  padding: 13px 18px; border-radius: 999px; border: 1px solid var(--border);
  min-width: 260px; font-size: 14px; font-family: inherit;
}
.form-success { color: var(--gold-dark); font-weight: 700; margin-top: 14px; }

/* Footer */
.site-footer { background: var(--footer-bg); color: oklch(92% 0.01 80); padding: 56px 28px 20px; }
.footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand { font-family: var(--font-serif); font-size: 24px; color: var(--gold); margin-bottom: 10px; }
.footer-desc { color: var(--footer-muted); font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; color: var(--footer-muted); margin: 0 0 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-links a { text-decoration: none; color: inherit; }
.footer-contact { display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--footer-muted); }
.footer-contact a { text-decoration: none; color: inherit; }
.footer-bottom {
  max-width: 1240px; margin: 34px auto 0; padding-top: 20px; border-top: 1px solid var(--footer-border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: oklch(65% 0.01 80);
}
.footer-simple {
  background: var(--footer-bg); color: oklch(92% 0.01 80); padding: 40px 28px 20px;
}
.footer-simple-inner {
  max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 13px; color: oklch(65% 0.01 80);
}
.footer-simple-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-simple-links a { color: inherit; text-decoration: none; }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; background: var(--footer-bg); color: #fff;
  padding: 16px 28px; display: none; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; z-index: 100; box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}
.cookie-banner p { margin: 0; font-size: 13.5px; max-width: 720px; color: oklch(90% 0.01 80); }
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-reject {
  background: transparent; border: 1px solid oklch(60% 0.01 80); color: #fff;
  border-radius: 999px; padding: 9px 18px; font-size: 13px; cursor: pointer;
}
.cookie-accept {
  background: var(--gold); border: none; color: oklch(20% 0.02 45);
  border-radius: 999px; padding: 9px 18px; font-size: 13px; font-weight: 800; cursor: pointer;
}

/* Forms */
.dv-input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border);
  font-family: inherit; font-size: 14px; box-sizing: border-box; background: #fff; color: var(--ink);
}
textarea.dv-input { resize: vertical; }
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-error { color: oklch(50% 0.15 25); font-weight: 700; margin-top: 10px; }

/* Katalog filter tabs */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.dv-tab {
  border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.dv-tab-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Legal / long-form pages */
.legal { max-width: 760px; margin: 0 auto; padding: 50px 28px 90px; }
.legal h1 { font-family: var(--font-serif); font-size: 34px; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 13px; }
.legal h2 { font-family: var(--font-serif); font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: oklch(35% 0.02 50); font-size: 15px; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); color: oklch(35% 0.02 50); }
.legal th { color: var(--ink); }
.legal a { color: var(--gold-dark); text-decoration: none; font-weight: 700; }

/* Cart page */
.cart-section { max-width: 1000px; margin: 0 auto; padding: 50px 28px 90px; }
.cart-section h1 { font-size: 36px; margin: 0 0 30px; }
.cart-empty-box, .thank-you {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 40px; text-align: center;
}
.thank-you .icon { font-size: 40px; margin-bottom: 10px; }
.thank-you h2 { font-size: 26px; margin: 0 0 10px; }
.thank-you p { color: var(--muted); margin: 0 0 20px; }
.cart-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.cart-row {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cart-row-name { font-weight: 700; font-size: 15px; flex: 1; min-width: 160px; }
.cart-row-price { color: var(--muted); font-size: 13px; }
.cart-row-qty { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border);
  background: #fff; cursor: pointer; font-weight: 700;
}
.cart-row-total { font-weight: 800; color: var(--gold-dark); min-width: 80px; text-align: right; }
.cart-row-remove { background: transparent; border: none; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; }
.cart-summary { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.cart-summary-total { font-size: 19px; font-weight: 800; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; color: var(--ink); }
.fine-print { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.order-fields { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }

/* About page */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-member { text-align: center; }
.team-photo { height: 140px; border-radius: 16px; overflow: hidden; margin-bottom: 10px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-weight: 800; font-size: 15px; }
.team-role { color: var(--muted); font-size: 13px; }

/* Contact page */
.contact-grid { padding: 56px 0 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-map { height: 180px; border-radius: 16px; overflow: hidden; position: relative; }
.contact-map img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.85); }
.contact-map-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%);
  background: var(--gold-dark); color: #fff; border-radius: 999px 999px 999px 4px;
  padding: 8px 14px; font-weight: 800; font-size: 13px; box-shadow: 0 4px 14px rgba(0,0,0,.25); white-space: nowrap;
}

/* Ako vybrat darcek */
.guide-hero { max-width: 900px; margin: 0 auto; padding: 56px 28px 20px; text-align: center; }
.guide-hero h1 { font-size: 40px; margin: 0 0 16px; }
.guide-hero p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.guide-section { max-width: 1100px; margin: 0 auto; padding: 30px 28px 20px; }
.guide-section h2 { font-size: 26px; margin: 0 0 20px; }
.grid-3-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4-guide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.guide-card { padding: 22px; }
.guide-card h3 { margin: 0 0 8px; font-size: 17px; }
.guide-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.guide-card-icon { padding: 20px; text-align: center; }
.guide-card-icon .icon { font-size: 26px; margin-bottom: 8px; }
.guide-card-icon h3 { margin: 0 0 6px; font-size: 15px; }
.guide-card-icon p { color: var(--muted); font-size: 13px; margin: 0; }
.budget-card h3 { color: var(--gold-dark); }
.guide-cta { text-align: center; margin-top: 40px; }

/* Utility */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { height: 320px; order: -1; }
  .page-hero { grid-template-columns: 1fr; }
  .page-hero-photo { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3-guide { grid-template-columns: 1fr; }
  .grid-4-guide { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
  .page-hero h1 { font-size: 30px; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .banner-inner { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: 1fr; }
  .grid-4-guide { grid-template-columns: 1fr; }
  .cart-row { flex-direction: column; align-items: stretch; }
  .cart-row-total { text-align: left; }
}
