@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Syne:wght@600;700;800&display=swap');

/* Smakopis — contemporary culinary journal (not parchment catalog) */

:root {
    --ink: #12161b;
    --ink-soft: #2a323a;
    --paper: #f1eee7;
    --white: #fbfaf6;
    --beet: #7c2342;
    --beet-deep: #54162c;
    --sage: #2f5244;
    --sage-soft: #4d7262;
    --sand: #e4ddd2;
    --line: rgba(18, 22, 27, 0.11);
    --muted: #5a636c;
    --max: 1120px;
    --font-display: "Syne", system-ui, sans-serif;
    --font-body: "Figtree", system-ui, sans-serif;
    --radius: 1.15rem;
    --shadow: 0 22px 50px rgba(18, 22, 27, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 1.05rem;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--beet); text-underline-offset: 3px; }
a:hover { color: var(--beet-deep); }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* ——— Cookie: bottom bar, not centered modal ——— */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    background: var(--ink);
    color: #f6f3ee;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.22);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-inner {
    width: min(100%, var(--max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.85rem 1.4rem;
    align-items: center;
}
.cookie-banner h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.cookie-banner p { font-size: 0.88rem; color: rgba(246, 243, 238, 0.78); margin: 0; }
.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }
.cookie-actions .btn { min-height: 46px; min-width: 148px; justify-content: center; }
.btn-reject {
    background: transparent;
    color: #f6f3ee;
    border-color: rgba(246, 243, 238, 0.45);
}
.btn-reject:hover { background: #f6f3ee; color: var(--ink); }
.cookie-links { grid-column: 1 / -1; font-size: 0.78rem; margin: 0; }
.cookie-links a { color: #e8c9a8; }

/* ——— Ad disclosure ——— */
.ad-strip {
    background: var(--ink);
    color: #e8c9a8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.65rem 1rem;
}
.ad-strip span { display: block; width: min(100%, var(--max)); margin-inline: auto; }
.ad-notice {
    background: #fff8f4;
    border-bottom: 1px solid var(--line);
    padding: 1.2rem 1rem 1.3rem;
    font-size: 0.92rem;
}
.ad-notice p {
    width: min(100%, var(--max));
    margin-inline: auto;
    color: var(--ink-soft);
    padding-left: 1rem;
    border-left: 4px solid var(--beet);
}
.ad-notice strong { color: var(--beet-deep); }

.trader-bar {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1rem;
    font-size: 0.86rem;
    color: var(--ink-soft);
}
.trader-bar p { width: min(100%, var(--max)); margin-inline: auto; }

/* ——— Header: dark bar, pill nav ——— */
.site-header {
    background: var(--ink);
    color: #f6f3ee;
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-inner {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #f6f3ee;
}
.logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, var(--beet) 50%, transparent 50%),
        linear-gradient(315deg, var(--sage-soft) 50%, #e8c9a8 50%);
    flex-shrink: 0;
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.22rem;
    letter-spacing: -0.03em;
    line-height: 1;
}
.logo-text em { font-style: normal; color: #e8c9a8; }
.header-meta { display: none; }
.main-nav {
    display: flex;
    align-items: center;
    gap: 1.05rem;
    flex-wrap: wrap;
}
.main-nav a {
    text-decoration: none;
    color: rgba(246, 243, 238, 0.78);
    font-size: 0.88rem;
    font-weight: 600;
}
.main-nav a:hover { color: #fff; }
.nav-cta {
    background: var(--beet) !important;
    color: #fff !important;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
}
.nav-cta:hover { background: var(--beet-deep) !important; }

/* ——— Buttons ——— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    border-radius: 999px;
    padding: 0.85rem 1.35rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
    background: var(--beet);
    color: #fff;
    border-color: var(--beet);
}
.btn-primary:hover { background: var(--beet-deep); color: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 1rem 1.65rem; font-size: 1rem; }
.btn-invert {
    background: #fff;
    color: var(--beet-deep);
    border-color: #fff;
}
.btn-invert:hover { background: var(--sand); color: var(--ink); }

/* ——— Hero: photo-first, copy on the right ——— */
.hero {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    min-height: min(86vh, 740px);
    background: var(--white);
}
.hero-visual {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    background: var(--sage);
}
.hero-visual img.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-cover-float {
    position: absolute;
    right: 7%;
    bottom: 8%;
    width: min(46%, 210px);
    border-radius: 4px 12px 12px 4px;
    box-shadow: var(--shadow);
    background: #fff;
}
.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.2rem, 5.5vw, 4.6rem) clamp(1.3rem, 4.5vw, 4rem);
}
.hero-kicker {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--beet);
    margin-bottom: 0.9rem;
}
.hero-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.6rem, 6.4vw, 4.6rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 0.55rem;
}
.hero-line {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--sage);
    margin-bottom: 1rem;
}
.hero-sub {
    max-width: 38rem;
    color: var(--ink-soft);
    margin-bottom: 1.1rem;
}
.hero-merchant {
    max-width: 38rem;
    font-size: 0.88rem;
    color: var(--muted);
    background: var(--paper);
    border-radius: var(--radius);
    padding: 0.95rem 1.05rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.25rem; }

/* ——— Merchant identity ——— */
.colophon {
    background: var(--sage);
    color: #eef6f1;
    padding: 2.4rem 0;
}
.colophon h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: #fff;
}
.colophon p { max-width: 64rem; margin-bottom: 0.75rem; color: rgba(255,255,255,0.9); }
.colophon a { color: #e8c9a8; }
.colophon-meta { font-size: 0.88rem; }

/* ——— Product: cover on the right ——— */
.catalog { padding: 4.4rem 0 3.8rem; }
.catalog-grid {
    display: grid;
    grid-template-columns: 1fr minmax(210px, 270px);
    gap: 2.8rem;
    align-items: start;
}
.book-frame {
    text-align: center;
    background: var(--white);
    border-radius: 1.4rem;
    padding: 1.2rem 1.1rem 1rem;
    box-shadow: var(--shadow);
}
.book-frame img {
    width: 100%;
    height: auto;
    border-radius: 2px 10px 10px 2px;
}
.book-note { margin-top: 0.75rem; font-size: 0.78rem; color: var(--muted); }
.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--sage);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    margin-bottom: 0.7rem;
}
.catalog h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 0.3rem;
}
.subtitle {
    font-size: 1.08rem;
    color: var(--beet);
    font-weight: 600;
    margin-bottom: 1rem;
}
.lead { color: var(--ink-soft); margin-bottom: 1.3rem; max-width: 40rem; }
.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 1rem;
}
.spec-grid div {
    background: var(--white);
    border-radius: 0.85rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.92rem;
}
.spec-grid span {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 0.12rem;
}
.price-caveat {
    font-size: 0.84rem;
    color: var(--muted);
    margin: 0.85rem 0 1.15rem;
    max-width: 38rem;
}

/* ——— Alternating feature bands (not mosaic tiles) ——— */
.mosaic { padding: 0 0 2rem; }
.section-head {
    width: min(100% - 2rem, var(--max));
    margin: 0 auto 1.8rem;
}
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.4rem;
}
.section-head p { color: var(--muted); max-width: 36rem; font-size: 0.95rem; }
.mosaic-grid {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
    display: grid;
    gap: 1rem;
}
.tile {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: var(--white);
    border-radius: 1.4rem;
    overflow: hidden;
    min-height: 240px;
}
.tile:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.tile:nth-child(even) img { order: 2; }
.tile img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}
.tile-body {
    padding: 1.6rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tile h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.45rem;
}
.tile p { color: var(--muted); font-size: 0.95rem; }
.tile.tall { min-height: 280px; }

/* ——— Purchase: vertical timeline ——— */
.ticket-section { padding: 2.4rem 0 4.6rem; }
.ticket-section h2 {
    width: min(100% - 2rem, var(--max));
    margin: 0 auto 1.3rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}
.ticket {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
    background: var(--white);
    border-radius: 1.5rem;
    padding: clamp(1.3rem, 3vw, 2rem);
    box-shadow: var(--shadow);
}
.steps {
    list-style: none;
    display: grid;
    gap: 1rem;
    margin-bottom: 1.4rem;
}
.steps li {
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    gap: 0.85rem;
    align-items: start;
}
.steps li::before {
    content: attr(data-n);
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--beet);
    color: #fff;
    font-weight: 800;
    font-family: var(--font-display);
    display: grid;
    place-items: center;
    font-size: 1rem;
}
.steps strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}
.steps span { color: var(--muted); font-size: 0.92rem; }
.ticket-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    background: var(--ink);
    color: #f6f3ee;
    padding: 1.25rem 1.3rem;
    border-radius: 1.1rem;
}
.price-ref { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.price-now {
    font-family: var(--font-display);
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}
.price-was {
    font-size: 0.88rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}
.price-was s { text-decoration: line-through; }
.policy-note { margin-top: 1rem; font-size: 0.86rem; color: var(--muted); }

/* ——— FAQ: one column, plus markers ——— */
.faq {
    background: var(--white);
    padding: 4rem 0;
}
.faq h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}
.faq-list {
    display: grid;
    gap: 0.55rem;
    max-width: 760px;
}
.faq-list details {
    background: var(--paper);
    border-radius: 0.95rem;
    padding: 0.85rem 1.05rem;
}
.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    font-size: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
    content: "+ ";
    color: var(--beet);
    font-weight: 800;
}
.faq-list details[open] summary::before { content: "– "; }
.faq-list p { margin-top: 0.45rem; color: var(--muted); font-size: 0.94rem; }

/* ——— About ——— */
.about { padding: 3.8rem 0 4.2rem; }
.about-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 2.2rem;
}
.about h2, .about h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.65rem;
}
.about h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.doc-links { list-style: none; display: grid; gap: 0.4rem; }

/* ——— Footer: dark ——— */
.site-footer {
    background: var(--ink);
    color: rgba(246, 243, 238, 0.78);
    padding-top: 2.6rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}
.site-footer .logo { color: #f6f3ee; }
.footer-tag { margin: 0.7rem 0; font-size: 0.9rem; }
.footer-entity { font-size: 0.86rem; margin-bottom: 0.9rem; }
.footer-badge {
    display: inline-block;
    border: 1px solid #e8c9a8;
    color: #e8c9a8;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
}
.site-footer h4 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 0.55rem;
}
.site-footer ul { list-style: none; display: grid; gap: 0.3rem; }
.site-footer a { color: rgba(246, 243, 238, 0.78); text-decoration: none; }
.site-footer a:hover { color: #e8c9a8; }
.footer-disclosure {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.4rem 0;
    font-size: 0.86rem;
}
.footer-disclosure h3 {
    font-family: var(--font-display);
    font-size: 1.08rem;
    margin-bottom: 0.4rem;
    color: #fff;
}
.footer-disclosure p { margin-bottom: 0.4rem; max-width: 72rem; }
.footer-bar {
    background: #0b0e11;
    color: rgba(255,255,255,0.55);
    padding: 0.95rem 0 1.15rem;
    font-size: 0.78rem;
}
.footer-bar a { color: #e8c9a8; }
.footer-bar-inner { display: grid; gap: 0.3rem; }

/* ——— Legal inner pages ——— */
.page { padding: 2.2rem 0 4rem; }
.dossier {
    width: min(100% - 2rem, 1080px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.6rem;
    align-items: start;
}
.dossier-nav {
    position: sticky;
    top: 4.6rem;
    background: var(--white);
    border-radius: 1.1rem;
    padding: 1.1rem 1rem;
    font-size: 0.86rem;
}
.dossier-nav h2 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
}
.dossier-nav ul { list-style: none; display: grid; gap: 0.35rem; }
.dossier-nav a { text-decoration: none; color: var(--ink-soft); }
.dossier-nav a:hover, .dossier-nav a[aria-current="page"] { color: var(--beet); font-weight: 700; }
.page-card {
    background: var(--white);
    border-radius: 1.3rem;
    padding: clamp(1.4rem, 4vw, 2.4rem);
}
.doc-badge {
    display: inline-block;
    background: var(--paper);
    color: var(--beet-deep);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}
.page-card h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.4vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}
.page-card .muted { color: var(--muted); margin-bottom: 1.5rem; }
.page-card h2 {
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 700;
    margin: 1.6rem 0 0.5rem;
    color: var(--sage);
}
.page-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 1.05rem 0 0.35rem;
}
.page-card p, .page-card li { margin-bottom: 0.55rem; color: var(--ink-soft); }
.page-card ul, .page-card ol { padding-left: 1.15rem; margin-bottom: 0.85rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.3rem; font-size: 0.95rem; }
.legal-table th, .legal-table td {
    text-align: left;
    padding: 0.55rem 0.4rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.legal-table th { width: 36%; color: var(--muted); font-weight: 600; }
.cookie-table { font-size: 0.9rem; }
.cookie-table th { width: auto; color: var(--ink); font-weight: 700; background: var(--paper); }

.inner-header .header-inner { display: flex; }
.mini-footer .footer-bar { border: 0; }

@media (max-width: 960px) {
    .main-nav a:not(.nav-cta) { display: none; }
    .hero,
    .catalog-grid,
    .tile,
    .tile:nth-child(even),
    .faq-list,
    .about-grid,
    .footer-top,
    .dossier,
    .cookie-inner {
        grid-template-columns: 1fr;
    }
    .hero-visual { min-height: 300px; }
    .hero-cover-float { width: 36%; }
    .tile:nth-child(even) img { order: 0; }
    .dossier-nav { position: static; }
    .cookie-actions { justify-content: stretch; }
    .cookie-actions .btn { flex: 1 1 140px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
