/* Ukulelka — design system. Single-line art, sea green / sand / driftwood. */

:root {
  --sea: #1f6f5c;
  --sea-dark: #164f41;
  --sand: #f3cf6b;
  --sand-light: #faf4e3;
  --driftwood: #a9825f;
  --driftwood-dark: #6b4a33;
  --ink: #273030;
  --paper: #fffaf0;
  --accent: var(--sea);
  --radius: 1rem;
  --shadow: 0 10px 30px -10px rgba(39, 48, 48, 0.25);
  --measure: 68ch;
  --duotone-mix: 0;
  font-size: 16px;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}
h1, h2, h3, h4 { font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--sea-dark); text-decoration: none; }
img { max-width: 100%; display: block; }
.icon { display: inline-block; vertical-align: middle; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: clamp(3rem, 6vw, 6rem) 0; }
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.cluster { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid rgba(39,48,48,.08);
}
.site-header__inner { max-width: 72rem; margin: 0 auto; padding: .9rem 1.25rem; display: flex; align-items: center; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .5rem; color: var(--ink); }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__word { font-family: "Avenir Next", system-ui, sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--sea-dark); }
.nav { display: flex; gap: 1.4rem; margin-left: auto; font-family: "Avenir Next", system-ui, sans-serif; font-size: .95rem; }
.nav a { color: var(--ink); position: relative; padding: .25rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--accent); transition: width .25s ease; }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.nav a.is-active { color: var(--sea-dark); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.cart-link { position: relative; color: var(--ink); display: inline-flex; }
.cart-count { position: absolute; top: -8px; right: -10px; background: var(--sand); color: var(--ink); font-size: .68rem; font-weight: 700; border-radius: 50%; min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; font-family: system-ui, sans-serif; }
.cart-link.bump .cart-count { animation: bump .35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.menu-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: .4rem; }
.nav-mobile {
  position: fixed; top: 0; right: 0; height: 100%; width: min(85vw, 320px);
  background: var(--sea-dark); color: var(--sand-light);
  display: flex; flex-direction: column; gap: 1.1rem; padding: 4.5rem 1.5rem 2rem;
  transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  z-index: 60; font-family: "Avenir Next", system-ui, sans-serif;
}
.nav-mobile.is-open { transform: translateX(0); visibility: visible; }
.nav-mobile a { color: var(--sand-light); font-size: 1.1rem; }
.nav-mobile__close { position: absolute; top: 1.2rem; right: 1.2rem; background: none; border: none; color: var(--sand-light); cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: "Avenir Next", system-ui, sans-serif; font-weight: 700; font-size: .95rem;
  padding: .75rem 1.5rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate; min-height: 44px;
  transition: color .25s ease, transform .15s ease;
}
.btn::before { content: ""; position: absolute; inset: 0; left: -100%; width: 100%; z-index: -1; transition: left .3s ease; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--sea); color: #fff; }
.btn--primary::before { background: var(--sea-dark); }
.btn--primary:hover::before { left: 0; }
.btn--sand { background: var(--sand); color: var(--ink); }
.btn--sand::before { background: var(--driftwood); }
.btn--sand:hover::before { left: 0; }
.btn--ghost { background: transparent; color: var(--sea-dark); border-color: var(--sea-dark); }
.btn--ghost::before { background: var(--sea-dark); }
.btn--ghost:hover { color: #fff; }
.btn--ghost:hover::before { left: 0; }
.btn--on-dark { color: var(--sand-light); border-color: var(--sand-light); }
.btn--on-dark::before { background: var(--sand-light); }
.btn--on-dark:hover { color: var(--sea-dark); }
.btn--block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--sand); outline-offset: 2px;
}

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: clamp(3rem,7vw,6rem) 0 clamp(2rem,4vw,3rem); 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); line-height: 1.02; color: var(--sea-dark); }
.hero__lede { font-size: 1.15rem; max-width: 34ch; }
.hero__photo-wrap { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.hero__photo { width: 100%; height: 100%; object-fit: cover; filter: sepia(var(--duotone-mix)) saturate(calc(1.3 - .3 * var(--duotone-mix))) hue-rotate(calc(var(--duotone-mix) * -20deg)); transition: filter .1s linear; }
.hero__ornament { position: absolute; inset: 0; pointer-events: none; }
@media (max-width: 760px) { .hero__grid { grid-template-columns: 1fr; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--sand-light), var(--paper)); padding: clamp(2.5rem,5vw,4.5rem) 0 2.5rem; text-align: left; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--sea-dark); }
.page-hero__lede { max-width: var(--measure); font-size: 1.1rem; }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { font-family: "Avenir Next", system-ui, sans-serif; font-size: .85rem; color: var(--driftwood-dark); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--driftwood-dark); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.2rem; color: var(--sea-dark); font-size: 1.4rem; }
.prose h3 { margin-top: 1.4rem; font-size: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }

/* ---------- legal-toc ---------- */
.legal-toc { background: var(--sand-light); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.legal-toc h2 { font-size: 1rem; margin-bottom: .6rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; }

/* ---------- notice ---------- */
.notice { border-radius: var(--radius); padding: 1rem 1.25rem; border: 1px solid; margin-bottom: 1.5rem; max-width: var(--measure); }
.notice--info { background: #eaf4f1; border-color: var(--sea); }
.notice--warn { background: #fdf3e2; border-color: var(--sand); }
.notice--error { background: #fbeaea; border-color: #c75c5c; }

/* ---------- cards / masonry gallery ---------- */
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; grid-auto-flow: dense; }
.masonry__item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.masonry__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.masonry__item:hover img { transform: scale(1.08); }
.masonry__item--tall { grid-row: span 2; }
.masonry__item--wide { grid-column: span 2; }
.masonry__caption { position: absolute; inset: auto 0 0 0; padding: 1rem; background: linear-gradient(180deg, transparent, rgba(22,32,30,.85)); color: #fff; transform: translateY(100%); transition: transform .3s ease; font-family: "Avenir Next", system-ui, sans-serif; }
.masonry__item:hover .masonry__caption { transform: translateY(0); }
@media (max-width: 760px) { .masonry { grid-template-columns: repeat(2, 1fr); } .masonry__item--wide { grid-column: span 2; } }

/* ---------- product strip / catalog cards ---------- */
.product-strip { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.product-strip .product-card { scroll-snap-align: start; flex: 0 0 240px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease; }
.product-card:hover { transform: translateY(-4px); }
.product-card__img-wrap { aspect-ratio: 4/3; overflow: hidden; }
.product-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__img-wrap img { transform: scale(1.06); }
.product-card__body { padding: 1rem 1.1rem 1.25rem; }
.product-card__cat { font-family: "Avenir Next", system-ui, sans-serif; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--driftwood); }
.product-card__name { font-size: 1.1rem; margin: .25rem 0 .4rem; }
.product-card__price { font-family: "Avenir Next", system-ui, sans-serif; font-weight: 700; color: var(--sea-dark); }

/* ---------- product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.product-detail__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1/1; }
.product-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-size: 1.6rem; font-weight: 700; color: var(--sea-dark); font-family: "Avenir Next", system-ui, sans-serif; }
.product-detail__specs { list-style: none; padding: 0; margin: 1.25rem 0; border-top: 1px solid rgba(39,48,48,.1); }
.product-detail__specs li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid rgba(39,48,48,.1); font-size: .95rem; }
.product-detail__specs li span:first-child { color: var(--driftwood-dark); }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

/* ---------- cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.cart-table th, .cart-table td { padding: .9rem .6rem; border-bottom: 1px solid rgba(39,48,48,.12); text-align: left; vertical-align: middle; }
.cart-table th { font-family: "Avenir Next", system-ui, sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--driftwood-dark); }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: .5rem; }
.cart-table__qty { width: 64px; padding: .4rem; border: 1px solid rgba(39,48,48,.25); border-radius: .5rem; }
.cart-summary { background: var(--sand-light); border-radius: var(--radius); padding: 1.5rem; max-width: 24rem; margin-left: auto; }
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: .6rem; }
.cart-summary__total { font-weight: 700; font-size: 1.2rem; color: var(--sea-dark); border-top: 1px solid rgba(39,48,48,.2); padding-top: .6rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--driftwood-dark); }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: "Avenir Next", system-ui, sans-serif; font-size: .88rem; font-weight: 600; }
.field input, .field textarea, .field select {
  font: inherit; padding: .7rem .85rem; border-radius: .6rem; border: 1px solid rgba(39,48,48,.3);
  background: #fff; accent-color: var(--sea);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-error { color: #b23a3a; font-size: .82rem; min-height: 1.1em; }
.form-msg { font-family: "Avenir Next", system-ui, sans-serif; font-size: .9rem; min-height: 1.2em; }
.form-msg.is-success { color: var(--sea-dark); }
.form-msg.is-error { color: #b23a3a; }
.newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter-form input[type=email] { flex: 1 1 180px; padding: .65rem .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; }
.newsletter-form .form-msg { width: 100%; }

/* ---------- faq ---------- */
.faq { max-width: var(--measure); }
.faq-item { border-bottom: 1px solid rgba(39,48,48,.15); padding: 1rem 0; }
.faq-item summary { cursor: pointer; font-family: "Avenir Next", system-ui, sans-serif; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: .7rem; color: var(--driftwood-dark); }

/* ---------- contact layout ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-info { background: var(--sand-light); border-radius: var(--radius); padding: 1.75rem; }
.contact-info h3 { color: var(--sea-dark); }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- finder (signature feature) ---------- */
.finder { background: var(--sea-dark); color: var(--sand-light); border-radius: 1.5rem; padding: clamp(2rem,4vw,3rem); position: relative; overflow: hidden; }
.finder h2 { color: var(--sand); }
.finder__controls { display: grid; gap: 1.25rem; margin: 1.5rem 0; max-width: 32rem; }
.finder__controls label { display: block; font-family: "Avenir Next", system-ui, sans-serif; margin-bottom: .4rem; }
.finder__controls input[type=range] { width: 100%; accent-color: var(--sand); }
.finder__controls select { width: 100%; padding: .6rem; border-radius: .5rem; border: none; }
.finder__result { background: rgba(255,255,255,.08); border-radius: 1rem; padding: 1.25rem 1.5rem; margin-top: 1rem; }
.finder__result strong { color: var(--sand); font-size: 1.2rem; }

/* ---------- reveal / motion ---------- */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in-view { opacity: 1; transform: none; }
  .reveal--1.in-view { transition-delay: .05s; }
  .reveal--2.in-view { transition-delay: .15s; }
  .reveal--3.in-view { transition-delay: .25s; }
  .reveal--4.in-view { transition-delay: .35s; }
}

/* ---------- dividers / ornaments ---------- */
.divider { width: 100%; height: 48px; display: block; color: var(--driftwood); }
.badge-seal { width: 72px; height: 72px; color: var(--sand); }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 36rem; margin: 0 auto; z-index: 90;
  background: var(--sea-dark); color: var(--sand-light); border-radius: var(--radius); padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.cookie-banner p { margin: 0; flex: 1 1 220px; font-size: .9rem; }
.cookie-banner a { color: var(--sand); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .6rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--sea-dark); color: var(--sand-light); padding: clamp(2.5rem,5vw,4rem) 0 1.5rem; margin-top: 3rem; }
.site-footer a { color: var(--sand-light); }
.site-footer a:hover { color: var(--sand); }
.site-footer__grid { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: 2rem; }
.footer-brand p { font-size: .9rem; opacity: .85; }
.footer-mail { display: inline-flex; gap: .5rem; align-items: center; }
.footer-col h3, .footer-newsletter h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--sand); margin-bottom: .75rem; }
.footer-col { display: flex; flex-direction: column; gap: .5rem; font-size: .92rem; }
.site-footer__bottom { max-width: 72rem; margin: 2rem auto 0; padding: 1.25rem 1.25rem 0; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; opacity: .75; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 760px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* COMPONENTS: .class - what it is
.container - centered max-width wrapper
.section - vertical page section spacing
.grid / .grid--2 / .grid--3 - responsive grid helpers
.stack / .cluster - flex layout helpers
.site-header / .logo / .nav / .nav-mobile / .header-actions - site header & navigation
.cart-link / .cart-count - header cart icon + badge
.menu-toggle - mobile hamburger button
.btn / .btn--primary / .btn--sand / .btn--ghost / .btn--on-dark / .btn--block - button variants with fill-sweep hover
.hero / .hero__grid / .hero__title / .hero__lede / .hero__photo-wrap / .hero__photo / .hero__ornament - home hero with duotone photo
.page-hero / .page-hero__lede - inner page hero banner
.breadcrumbs - breadcrumb trail
.prose - long-form readable text column for legal pages
.legal-toc - table of contents box for legal pages
.notice / .notice--info / .notice--warn / .notice--error - callout boxes
.masonry / .masonry__item / .masonry__item--tall / .masonry__item--wide / .masonry__caption - home masonry gallery with hover reveal
.product-strip - horizontal scroll-snap product strip (mobile)
.product-grid - catalog grid of product cards
.product-card / .product-card__img-wrap / .product-card__body / .product-card__cat / .product-card__name / .product-card__price - product/service card
.product-detail / .product-detail__img / .product-detail__price / .product-detail__specs - product/service detail layout
.cart-table / .cart-table__qty - cart items table
.cart-summary / .cart-summary__row / .cart-summary__total - cart totals box
.cart-empty - empty cart message
.form-grid / .field / .field--full / .field-error / .form-msg - form layout and validation
.newsletter-form - footer newsletter form
.faq / .faq-item - FAQ accordion (details/summary)
.contact-layout / .contact-info - contact page split layout
.finder / .finder__controls / .finder__result - signature "Najdi své ukulele" feature box
.reveal / .reveal--1..4 - scroll reveal animation + stagger
.divider - decorative SVG section divider
.badge-seal - decorative SVG badge/seal
.cookie-banner / .cookie-banner__actions - cookie consent banner
.site-footer / .site-footer__grid / .footer-brand / .footer-col / .footer-newsletter / .site-footer__bottom - footer
.visually-hidden - accessible hidden utility (honeypot/labels)
*/

/* wg-contrast-autofix */
footer.site-footer div.site-footer__grid div.footer-brand span.logo__word { color: #ffffff !important; }
div.cookie-banner div.cookie-banner__actions button.btn.btn--ghost { color: #ffffff !important; }
