/* ==========================================================================
   Jēru klubs — galvenais stils
   Montserrat, noapaļotas kartītes, "pill" pogas, krēmīgi/zaļgani toņi.
   Akcenta krāsa — Jēru kluba brūnā.
   ========================================================================== */

:root {
    --brand: #6e462d;
    --brand-dark: #563621;
    --sage: #8d957e;
    --sage-dark: #6f7663;
    --stone: #d5d7cf;
    --stone-light: #e2e1d8;
    --cream: #f3efe7;
    --text: #3a3a3a;
    --muted: #6b6b6b;
    --white: #fff;
    --error: #d4183d;

    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 6px 24px rgba(58, 58, 58, .08);
    --container: 1280px;
    --header-h: 76px;
    --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    line-height: 1.2;
    color: var(--brand);
    font-weight: 800;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); text-transform: uppercase; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3, .h3 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

.section { padding-top: 32px; padding-bottom: 32px; }
.narrow { max-width: 760px; }
.center-block { margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.center .btn { margin-top: 8px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.lead { font-size: 1.1rem; font-weight: 600; color: var(--brand); }
.rounded { border-radius: var(--radius); }

.section-title { text-transform: uppercase; }

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: 20px;
}
.section-head .section-title { margin: 0; }

.link-arrow {
    font-weight: 700;
    text-decoration: none;
    color: var(--brand);
    white-space: nowrap;
}
.link-arrow:hover { color: var(--sage-dark); }

.eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--sage-dark);
}

/* --- Buttons ------------------------------------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .75em 1.6em;
    border: 2px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); color: var(--white); }

.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: var(--white); }

.btn-ghost { border-color: rgba(255, 255, 255, .85); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--brand); }

.btn-sm { padding: .45em 1.1em; font-size: .9rem; }
.btn-lg { padding: .9em 2em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Header ------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--stone-light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 16px;
}

.logo { flex-shrink: 0; }
.logo img { height: 46px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 20px; }

.site-nav ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav ul a {
    font-weight: 600;
    text-decoration: none;
    color: var(--brand);
    white-space: nowrap;
}
.site-nav ul a:hover,
.site-nav ul a.active { color: var(--sage); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions .btn { white-space: nowrap; }

.lang-switch { display: flex; gap: 6px; }
.lang-switch a {
    display: grid;
    place-items: center;
    min-width: 40px;
    padding: 4px 10px;
    border: 1px solid var(--stone-light);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--brand);
}
.lang-switch a:hover { border-color: var(--brand); }
.lang-switch a.active { background: var(--brand); border-color: var(--brand); color: var(--white); }

.header-phone {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.3;
    text-align: right;
    white-space: nowrap;
}
.header-phone small { font-size: .7rem; color: var(--muted); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brand);
    transition: transform .2s, opacity .2s;
}

/* Vidēji plati ekrāni — tālrunis neietilpst līdzās izvēlnei */
@media (min-width: 1361px) and (max-width: 1560px) {
    .header-phone { display: none; }
}

@media (max-width: 1360px) {
    .nav-toggle { display: flex; }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        background: var(--white);
        border-bottom: 1px solid var(--stone-light);
        box-shadow: var(--shadow);
    }
    .site-nav.open { display: flex; }
    .site-nav ul { flex-direction: column; gap: 4px; }
    .site-nav ul a { display: block; padding: 8px 0; font-size: 1.1rem; }
    .header-actions { flex-direction: column; align-items: stretch; }
    .header-actions .btn { justify-content: center; }
    .header-phone { text-align: center; }
    .lang-switch { justify-content: center; }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 480px) {
    .logo img { height: 36px; }
}

/* --- Hero --------------------------------------------------------------- */

.hero { padding-top: 32px; padding-bottom: 16px; }

.hero-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 480px;
    padding: 48px;
    overflow: hidden;
    border-radius: 24px;
    background-color: #8a7562;
    background-image:
        linear-gradient(90deg, rgba(40, 26, 17, .78) 0%, rgba(40, 26, 17, .5) 45%, rgba(40, 26, 17, .05) 80%),
        var(--hero-image, none);
    background-size: cover;
    background-position: center;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 52%;
}
.hero-text h1 { font-size: 3rem; line-height: 1.02; color: var(--white); margin-top: 12px; }
.hero-text p { color: var(--white); font-size: 1.15rem; font-weight: 500; }
.hero-logo { width: 420px; max-width: 100%; margin-bottom: 20px; }

@media (max-width: 1023px) {
    .hero-card { min-height: 400px; padding: 36px; }
    .hero-text { max-width: 70%; }
    .hero-text h1 { font-size: 2.4rem; }
    .hero-logo { width: 300px; }
}

@media (max-width: 639px) {
    .hero { padding-top: 16px; }
    .hero-card {
        min-height: 420px;
        padding: 28px 20px;
        align-items: flex-end;
        background-image:
            linear-gradient(0deg, rgba(40, 26, 17, .85) 0%, rgba(40, 26, 17, .45) 60%, rgba(40, 26, 17, .15) 100%),
            var(--hero-image, none);
    }
    .hero-text { max-width: 100%; }
    .hero-text h1 { font-size: 1.6rem; margin-top: 4px; }
    .hero-text p { font-size: .95rem; }
    .hero-text .btn-lg { padding: .7em 1.3em; font-size: .9rem; }
    .hero-logo { width: 220px; margin-bottom: 12px; }
}

/* --- Home: highlights, reasons ------------------------------------------ */

.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.highlight {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius);
    text-decoration: none;
    background: var(--cream);
}
.highlight img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.highlight:hover img { transform: scale(1.05); }
.highlight h3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 16px 28px;
    color: var(--white);
    text-transform: uppercase;
    background: linear-gradient(rgba(0, 0, 0, .5), transparent);
}
.highlight-count {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: .3em .9em;
    background: var(--brand);
    color: var(--white);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
}

.reasons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}
.reason {
    padding: 16px 20px;
    border: 2px solid var(--stone-light);
    border-radius: var(--radius-sm);
}
.reason h3 { text-transform: uppercase; margin-bottom: .25em; }
.reason p { margin: 0; font-size: .9rem; color: var(--muted); }
.reason-filled { background: var(--brand); border-color: var(--brand); }
.reason-filled h3, .reason-filled p { color: var(--white); }

.contact-cta {
    padding: 40px 24px;
    text-align: center;
    background: var(--stone);
    border-radius: var(--radius);
}
.contact-cta h2 { text-transform: uppercase; }
.contact-cta p { margin: .25em 0; font-weight: 600; }
.contact-cta a:not(.btn) { text-decoration: none; }
.contact-cta .btn { margin-top: 12px; }

/* Norvēģijas sadarbības baneris */
.feature-banner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 32px;
    overflow: hidden;
    background: var(--cream);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
}
.feature-banner img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.feature-banner > div { padding: 32px 32px 32px 0; }
.feature-banner p { color: var(--muted); }
.feature-banner:hover { color: var(--text); }
.feature-banner:hover .link-arrow { color: var(--sage-dark); }

/* Partneri */
.partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px 40px;
    padding: 24px;
    border: 2px solid var(--stone-light);
    border-radius: var(--radius);
}
.partners img { max-height: 90px; width: auto; filter: grayscale(.2); transition: filter .2s, transform .2s; }
.partners a:hover img { filter: none; transform: scale(1.03); }

@media (max-width: 900px) {
    .highlights { grid-template-columns: 1fr; }
    .reasons { grid-template-columns: 1fr; }
    .feature-banner { grid-template-columns: 1fr; gap: 0; }
    .feature-banner > div { padding: 24px; }
}

/* --- Page head ---------------------------------------------------------- */

.page-head {
    padding-top: 48px;
    padding-bottom: 16px;
    text-align: center;
}
.page-head p { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; }
.page-head.left { text-align: left; padding-bottom: 0; }
.page-head.left p { margin: 0; max-width: none; }
.page-head .crumbs { margin-bottom: 12px; font-size: .9rem; font-weight: 600; }
.page-head .crumbs a { text-decoration: none; }

/* --- Cards / split ------------------------------------------------------ */

.card {
    padding: 24px;
    background: var(--cream);
    border-radius: var(--radius);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.sticky-media { position: sticky; top: calc(var(--header-h) + 24px); width: 100%; }

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 24px; }
    .sticky-media { position: static; }
}

/* --- Aktivitātes ------------------------------------------------------- */

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-top: 16px;
}
.filters a {
    padding: .5em 1.2em;
    border: 2px solid var(--stone-light);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
}
.filters a:hover { border-color: var(--brand); }
.filters a.active { background: var(--brand); border-color: var(--brand); color: var(--white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.service {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--cream);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: transform .2s, box-shadow .2s;
}
.service:hover { color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow); }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }
.service-body h3 { font-size: 1.2rem; text-transform: uppercase; }
.service-body p { color: var(--muted); flex: 1; font-size: .95rem; }
.service-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* --- Veikals ------------------------------------------------------------ */

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
}
.product {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text);
}
.product-photo {
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    border-radius: var(--radius);
    background: var(--cream);
    aspect-ratio: 1;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover .product-photo img { transform: scale(1.05); }
.product h3 { margin-bottom: .25em; font-size: 1rem; }
.product:hover h3 { color: var(--sage-dark); }
.product-price { font-weight: 700; color: var(--brand); }
.product-price.big { font-size: 1.6rem; margin-bottom: .5em; }
.product-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
img.placeholder { object-fit: contain !important; padding: 18%; opacity: .5; }

.product-gallery { display: grid; gap: 12px; }
.product-main { display: block; overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.product-main img { width: 100%; max-height: 640px; object-fit: contain; }
.product-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.product-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }

.form-card { margin-top: 32px; }
.form-card .h3 { text-transform: uppercase; }

/* --- Galerija ----------------------------------------------------------- */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.photo-grid a {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--cream);
    aspect-ratio: 1;
}
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo-grid a:hover img { transform: scale(1.05); }

@media (max-width: 520px) {
    .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 64px;
    background: rgba(26, 18, 12, .92);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 100px); margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { margin-top: 10px; color: rgba(255, 255, 255, .85); font-size: .9rem; }
.lightbox button {
    position: absolute;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    font: 700 1.8rem/1 var(--font);
    cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
    .lightbox { padding: 16px; }
    .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; }
}

/* --- Cenas -------------------------------------------------------------- */

.prices { max-width: 900px; }

.price-search {
    position: sticky;
    top: calc(var(--header-h) + 1px);
    z-index: 10;
    margin-bottom: 16px;
    padding: 8px 0;
    background: var(--white);
}
.price-search input {
    width: 100%;
    padding: 14px 18px 14px 48px;
    border: 2px solid var(--stone-light);
    border-radius: 999px;
    font: inherit;
    color: var(--text);
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%236e462d' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='6.5'/%3E%3Cpath d='m13.5 13.5 5 5'/%3E%3C/svg%3E") no-repeat 18px center;
}
.price-search input:focus { outline: none; border-color: var(--brand); }
.price-search-empty { margin: 16px 0 0; text-align: center; color: var(--muted); }
.price-group tr[hidden] { display: none; }

.price-group {
    margin-bottom: 12px;
    border: 2px solid var(--stone-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.price-group summary {
    padding: 16px 20px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--brand);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price-group summary::-webkit-details-marker { display: none; }
.price-group summary::after { content: '+'; font-size: 1.4rem; line-height: 1; }
.price-group[open] summary { background: var(--cream); }
.price-group[open] summary::after { content: '−'; }

.price-note { margin: 0; padding: 10px 20px; font-size: .85rem; color: var(--muted); font-style: italic; }

.price-group table { width: 100%; border-collapse: collapse; }
.price-group td { padding: 10px 20px; border-top: 1px solid var(--stone-light); vertical-align: top; }
.price-group td small { display: block; color: var(--sage-dark); font-size: .8rem; }
.price-group .amount { text-align: right; white-space: nowrap; font-weight: 700; color: var(--brand); }

@media (max-width: 520px) {
    .price-group td { padding: 10px 14px; }
    .price-group .amount { white-space: normal; min-width: 90px; }
}

.info-box {
    margin-top: 32px;
    padding: 28px;
    background: var(--cream);
    border-radius: var(--radius);
}

/* --- Kontakti ----------------------------------------------------------- */

.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-list h3 { margin-bottom: .3em; }
.contact-list p { margin-bottom: .4em; }
.details-card { margin-top: 32px; }
.details-card p { margin: 0; font-size: .95rem; }

.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--brand); }
.form input,
.form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--stone-light);
    border-radius: var(--radius-sm);
    font: inherit;
    font-weight: 400;
    color: var(--text);
    background: var(--white);
}
.form input:focus,
.form textarea:focus { outline: none; border-color: var(--brand); }
.form button { justify-self: start; }
.hp { position: absolute; left: -9999px; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 0; font-weight: 600; }
.alert-success { background: #eef1e8; color: var(--sage-dark); }
.alert-error { background: #fef2f2; color: var(--error); }

.map { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 7; background: var(--cream); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-consent {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 600px) {
    .contact-list, .form-row { grid-template-columns: 1fr; }
    .map { aspect-ratio: 4 / 3; }
}

.big-phone { font-size: 1.6rem; font-weight: 800; margin-bottom: 0; }
.big-phone a { text-decoration: none; }

/* --- Prose -------------------------------------------------------------- */

.prose { margin-bottom: 24px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.5em; }
.prose h3 { margin-top: 1.4em; text-transform: uppercase; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }
.prose ul { padding-left: 1.2em; }
.prose blockquote {
    margin: 1.2em 0;
    padding: 12px 16px;
    border-left: 4px solid var(--sage);
    background: var(--cream);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose blockquote p:last-child { margin: 0; }

/* --- Footer ------------------------------------------------------------- */

.site-footer {
    margin-top: 48px;
    padding-top: 48px;
    background: var(--brand);
    color: rgba(255, 255, 255, .85);
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer h3 { color: var(--white); font-size: 1rem; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .9rem; }

.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.4fr; gap: 32px; }
.footer-logo { width: 200px; margin-bottom: 16px; }
.social { display: flex; flex-wrap: wrap; gap: 12px; font-size: .9rem; font-weight: 600; }
.footer-badge { display: inline-block; margin-top: 20px; }
.footer-badge img { border-radius: var(--radius-sm); }

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: .8rem;
}
.footer-bottom a { text-decoration: underline; }

@media (max-width: 800px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* --- Cookie banner ------------------------------------------------------ */

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 20px;
    width: calc(100% - 40px);
    max-width: 760px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .15);
    transform: translateX(-50%);
    font-size: .85rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
    .cookie-actions { justify-content: center; }
}
