/* ===== Kvetinace Kopretina — Spring Bloom design system ===== */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
:root {
  --aubergine: #3d2b3f;
  --aubergine-2: #5a4160;
  --lime: #b7e07a;
  --lime-2: #92c54f;
  --ivory: #fbf7ef;
  --pink: #f3b3c6;
  --ink: #241a26;
  --muted: #6c5e6f;
  --radius: 1.4rem;
  --radius-sm: 0.7rem;
  --shadow: 0 1.2rem 2.4rem -1rem rgba(61, 43, 63, 0.25);
  --measure: 68ch;
  --container: 76rem;
  font-size: 100%;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: "Iowan Old Style", Georgia, serif; margin: 0 0 0.6em; line-height: 1.1; color: var(--aubergine); }
p { margin: 0 0 1em; }
a { color: var(--aubergine); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--aubergine); color: #fff; padding: 0.5em 1em; z-index: 100; }
.skip-link:focus { left: 0.5em; top: 0.5em; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.grid { display: grid; gap: clamp(1rem, 3vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.flow > * + * { margin-top: 1em; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,247,239,0.92); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(61,43,63,0.08); }
.header-inner { max-width: var(--container); margin-inline: auto; padding: 0.8rem clamp(1.2rem, 4vw, 2.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.2rem; color: var(--aubergine); }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.main-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.main-nav a { font-size: 0.95rem; position: relative; padding-bottom: 0.2em; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--lime-2); transition: right 0.25s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.main-nav a.is-active { color: var(--lime-2); }
.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.cart-link { position: relative; display: inline-flex; color: var(--aubergine); }
.cart-count { position: absolute; top: -0.5rem; right: -0.6rem; background: var(--pink); color: var(--aubergine); font-size: 0.7rem; min-width: 1.2rem; height: 1.2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.cart-count.bump { animation: bump 0.4s ease; }
@keyframes bump { 0%{transform:scale(1);} 40%{transform:scale(1.5);} 100%{transform:scale(1);} }
.nav-toggle { display: none; background: none; border: none; color: var(--aubergine); cursor: pointer; }

@media (max-width: 860px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(80vw, 20rem); background: var(--ivory); flex-direction: column; padding: 5rem 2rem 2rem; box-shadow: var(--shadow); transform: translateX(100%); visibility: hidden; transition: transform 0.3s ease, visibility 0.3s; }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .nav-toggle { display: inline-flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.75em 1.5em; border-radius: 999px; font-weight: 700; font-family: inherit; cursor: pointer; border: 2px solid transparent; position: relative; overflow: hidden; isolation: isolate; min-height: 44px; font-size: 0.95rem; }
.btn span, .btn { z-index: 1; }
.btn::before { content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: var(--aubergine); transition: left 0.3s ease; z-index: -1; }
.btn-primary { background: var(--aubergine); color: #fff; }
.btn-primary::before { background: var(--lime-2); }
.btn-primary:hover::before { left: 0; }
.btn-secondary { background: var(--lime); color: var(--aubergine); }
.btn-secondary::before { background: var(--pink); }
.btn-secondary:hover::before { left: 0; }
.btn-ghost { background: transparent; color: var(--aubergine); border-color: var(--aubergine); }
.btn-ghost::before { background: var(--aubergine); }
.btn-ghost:hover { color: #fff; }
.btn-ghost:hover::before { left: 0; }
.btn-sm { padding: 0.5em 1.1em; font-size: 0.85rem; }
.dark-surface .btn-ghost { color: var(--ivory); border-color: var(--ivory); }
.dark-surface .btn-ghost:hover { color: var(--aubergine); }
.dark-surface .btn-ghost::before { background: var(--ivory); }

/* Hero */
.hero { position: relative; padding-block: clamp(2.5rem, 7vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.hero-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero-circle-badge { position: absolute; inset: 0; animation: spin 40s linear infinite; }
@media (prefers-reduced-motion: reduce) { .hero-circle-badge { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.6s ease, transform 0.6s ease, clip-path 0.6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } }

/* Cards */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-0.4rem); box-shadow: 0 1.8rem 3rem -1rem rgba(61,43,63,0.35); }
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.08); }
.card-body { padding: 1.2rem 1.3rem 1.4rem; }
.card-price { font-weight: 700; color: var(--aubergine-2); }

/* Product strip (mobile scroll-snap) */
.product-strip { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
.product-strip .card { flex: 0 0 15rem; scroll-snap-align: start; }
@media (min-width: 760px) { .product-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem,1fr)); overflow: visible; } }

/* Signature feature panel */
.pot-picker { background: var(--aubergine); color: var(--ivory); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); }
.pot-picker select { width: 100%; }
.pot-picker-result { background: rgba(255,255,255,0.08); border-radius: var(--radius-sm); padding: 1rem; margin-top: 1.2rem; }
.pot-picker-result[hidden] { display: none; }

/* Dividers / ornaments */
.divider { width: 100%; height: 2.5rem; display: block; }
.footer-divider { width: 100%; height: 2.5rem; }
.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: 0.05; z-index: 1; mix-blend-mode: multiply; }

/* Forms */
.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem,1fr)); }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 700; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 0.7em 0.9em; border: 1.5px solid rgba(61,43,63,0.25); border-radius: var(--radius-sm); background: #fff; accent-color: var(--aubergine);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--aubergine); }
.field-error { color: #9c2b2b; font-size: 0.85rem; min-height: 1.1em; }
.field-row { display: flex; gap: 0.5rem; }
.field-row input { flex: 1; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-msg { min-height: 1.2em; font-size: 0.9rem; }
.form-msg--ok { color: var(--lime-2); }
.form-msg--error { color: #c0392b; }

/* Newsletter / footer */
.site-footer { background: var(--aubergine); color: var(--ivory); padding-top: 1rem; }
.footer-inner { max-width: var(--container); margin-inline: auto; padding: 0 clamp(1.2rem,4vw,2.5rem) 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem,1fr)); gap: 2rem; }
.site-footer a { color: var(--ivory); }
.site-footer h3 { color: var(--lime); font-size: 1rem; margin-bottom: 0.6em; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-mail { display: flex; align-items: center; gap: 0.4em; font-size: 0.9rem; }
.footer-bottom { text-align: center; padding: 1rem; font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.15); margin: 0; }
.logo--footer { color: var(--ivory); }

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 34rem; margin-inline: auto; background: var(--aubergine); color: var(--ivory); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); z-index: 90; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cookie-banner a { color: var(--lime); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.6rem; }

/* ==== Inner-page components ==== */
.page-hero { background: linear-gradient(135deg, var(--aubergine), var(--aubergine-2)); color: var(--ivory); padding: clamp(3rem,8vw,5rem) 0; text-align: left; }
.page-hero h1 { color: var(--ivory); font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: rgba(251,247,239,0.85); max-width: var(--measure); }

.breadcrumbs { font-size: 0.85rem; color: var(--muted); padding-top: 1rem; }
.breadcrumbs a { color: var(--muted); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--aubergine); font-weight: 700; }

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { margin-bottom: 1em; }

.notice { border-radius: var(--radius-sm); padding: 1rem 1.2rem; border-left: 4px solid var(--lime-2); background: #fff; margin-bottom: 1.2rem; }
.notice--warning { border-left-color: var(--pink); }
.notice--info { border-left-color: var(--aubergine-2); }

.legal-toc { background: #fff; border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow); }
.legal-toc a { display: block; padding: 0.3em 0; }

.faq-item { background: #fff; border-radius: var(--radius-sm); margin-bottom: 0.8rem; padding: 0.3rem 1.2rem; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 0.8rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--lime-2); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 0.9rem; color: var(--muted); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
.product-detail-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-price { font-size: 1.6rem; font-weight: 700; color: var(--aubergine-2); }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 0.8rem; text-align: left; border-bottom: 1px solid rgba(61,43,63,0.1); }
.cart-table img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-summary { background: #fff; border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); max-width: 24rem; }
.cart-summary dl { display: flex; justify-content: space-between; margin: 0 0 0.6em; }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }

/* COMPONENTS: .container - max-width centered padding wrapper */
/* COMPONENTS: .section - vertical page section spacing */
/* COMPONENTS: .grid / .grid-2 / .grid-3 - responsive auto-fit grids */
/* COMPONENTS: .btn / .btn-primary / .btn-secondary / .btn-ghost / .btn-sm - button variants with fill-sweep hover */
/* COMPONENTS: .card / .card-media / .card-body / .card-price - product/content card with hover lift + image zoom */
/* COMPONENTS: .product-strip - horizontal scroll-snap product strip on mobile, grid on desktop */
/* COMPONENTS: .hero / .hero-grid / .hero-title / .hero-visual / .hero-circle-badge - home hero with rotating badge */
/* COMPONENTS: .reveal / .in-view - scroll-reveal animation hook */
/* COMPONENTS: .pot-picker / .pot-picker-result - signature feature panel */
/* COMPONENTS: .page-hero - inner page header band */
/* COMPONENTS: .breadcrumbs - small breadcrumb trail */
/* COMPONENTS: .prose - readable long-form text measure */
/* COMPONENTS: .notice / .notice--warning / .notice--info - callout boxes */
/* COMPONENTS: .legal-toc - table of contents box for legal pages */
/* COMPONENTS: .faq / .faq-item - details/summary FAQ accordion */
/* COMPONENTS: .form-grid / .field / .field-error / .field-row / .hp-field / .form-msg - form layout and feedback */
/* COMPONENTS: .product-detail / .product-detail-media / .product-detail-price - product page layout */
/* COMPONENTS: .cart-table / .cart-summary - cart/checkout page layout */
/* COMPONENTS: .contact-layout - two-column contact page layout */
/* COMPONENTS: .site-header / .main-nav / .cart-link / .cart-count - global header */
/* COMPONENTS: .site-footer / .footer-inner / .footer-col / .newsletter-form - global footer */
/* COMPONENTS: .cookie-banner - GDPR cookie consent banner */
/* COMPONENTS: .grain-overlay / .divider - decorative SVG texture and dividers */

/* ==== Catalog and Product pages ==== */
.badge { display: inline-block; background: var(--pink); color: var(--aubergine); padding: 0.3em 0.7em; border-radius: 999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; position: absolute; top: 0.8rem; right: 0.8rem; z-index: 2; }
.filter-bar .btn { background: transparent; border-color: var(--lime-2); color: var(--aubergine); }
.filter-bar .btn.active { background: var(--lime); color: var(--aubergine); }
.filter-bar .btn:hover { background: var(--lime-2); color: #fff; }

/* Product detail */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
@media (max-width: 760px) { .product-grid { grid-template-columns: 1fr; } }
.product-image { position: relative; }
.product-image img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }
.product-info { padding-top: 1rem; }
.product-meta { margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { text-decoration: underline; }
.product-form { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin-block: 2rem; }
.qty-picker { display: flex; align-items: center; gap: 0.5rem; width: fit-content; border: 1.5px solid rgba(61,43,63,0.2); border-radius: var(--radius-sm); padding: 0.3rem; }
.btn-qty { background: transparent; border: none; color: var(--aubergine); padding: 0.3rem 0.6rem; cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.btn-qty:hover { color: var(--lime-2); }
.qty-picker input { border: none; width: 3rem; text-align: center; font-size: 1rem; padding: 0.3rem; }
.qty-picker input:focus { outline: none; }
.product-details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(61,43,63,0.1); }
.product-details ul { list-style: none; padding-left: 0; }
.product-details li { padding: 0.5rem 0; }

/* Cart page */
.cart-container { display: grid; grid-template-columns: 1fr 24rem; gap: 2rem; }
@media (max-width: 1024px) { .cart-container { grid-template-columns: 1fr; } }
.cart-items { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; min-height: 20rem; }
.cart-table { width: 100%; }
.cart-row { display: grid; grid-template-columns: 2fr 1fr 1fr 0.8fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(61,43,63,0.1); align-items: center; }
.cart-row:last-child { border-bottom: none; }
@media (max-width: 640px) { .cart-row { grid-template-columns: 1fr; } }
.cart-col { display: flex; flex-direction: column; }
.cart-product a { color: var(--aubergine); font-weight: 600; text-decoration: underline; }
.cart-price { font-size: 0.9rem; color: var(--muted); }
.cart-qty input { width: 3rem; text-align: center; padding: 0.3rem; border: 1px solid rgba(61,43,63,0.15); border-radius: var(--radius-sm); }
.btn-remove { background: transparent; border: none; color: var(--pink); text-decoration: underline; cursor: pointer; font-size: 0.9rem; padding: 0; }
.btn-remove:hover { color: #c0392b; }
.cart-summary { position: sticky; top: 8rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.8rem 0; border-bottom: 1px solid rgba(61,43,63,0.1); }
.summary-row:last-of-type { border-bottom: none; }
.summary-total { font-weight: 700; font-size: 1.2rem; color: var(--aubergine); }
.checkout-form { max-width: 50rem; }
.checkout-form fieldset { border: none; padding: 0; margin-bottom: 1.5rem; }
.checkout-form legend { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: var(--aubergine); }
.checkbox-field { display: flex; align-items: flex-start; gap: 0.6rem; cursor: pointer; }
.checkbox-field input { margin-top: 0.3rem; cursor: pointer; }

/* Contact page */
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem; margin-top: 2rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-item h3 { font-size: 1.1rem; color: var(--aubergine); margin: 0; }
.contact-item p { margin: 0; color: var(--muted); }
.contact-item a { color: var(--lime-2); text-decoration: underline; }

/* FAQ */
.faq { max-width: var(--measure); }
.faq-item { border-bottom: 1px solid rgba(61,43,63,0.1); padding: 1.2rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--aubergine); padding: 0.5rem 0; user-select: none; }
.faq-item summary:hover { color: var(--lime-2); }
.faq-item details[open] summary { color: var(--lime-2); }
.faq-content { padding-top: 0.8rem; color: var(--ink); line-height: 1.6; }
.faq-content p { margin: 0.5rem 0; }
.faq-content a { color: var(--aubergine); text-decoration: underline; }

/* Missing component styles */
.logo-word {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.3rem;
  line-height: 1.3;
}

.eyebrow {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0;
}

.qty-input {
  border: none;
  width: 3rem;
  text-align: center;
  font-size: 1rem;
  padding: 0.3rem;
}

.qty-input:focus {
  outline: none;
}

.cart-subtotal {
  text-align: right;
  font-weight: 600;
  color: var(--aubergine);
}

.cart-remove {
  text-align: center;
}

/* wg-contrast-autofix */
div.footer-inner div.footer-col a.logo.logo--footer span.logo-word { color: #ffffff !important; }
#cookieDecline { color: #ffffff !important; }
