/* ============================================================================
   Herbarium Prints — global styles
   ============================================================================ */

:root {
    --charcoal: #3c3933;
    --warm-gray: #6c6c6b;
    --white: #ffffff;
    --gold: #c5a059;
    --gold-dark: #ba7e0d;
    --bg: #f5f4f0;
    --bg-light: #f9f8f6;
    --surface: #ffffff;
    --border: #ebe9e4;
    --shadow-card: 0 1px 2px rgba(60, 57, 51, 0.04), 0 4px 14px rgba(60, 57, 51, 0.06);
    --shadow-card-hover: 0 4px 8px rgba(60, 57, 51, 0.06), 0 16px 32px rgba(60, 57, 51, 0.10);

    --container: 1280px;
    --gap: 24px;
}

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

html, body { margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    color: var(--warm-gray);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-weight: 600;
    color: var(--charcoal);
    margin: 0 0 0.5em;
    line-height: 1.25;
}

h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.875rem); }
h3 { font-size: 1.125rem; }
h4 { font-size: 0.95rem; }

p { margin: 0 0 1em; }

a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--gold-dark); }

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

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

/* ============================================================================
   Header
   ============================================================================ */

.site-header {
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
    padding-left: 16px;
    padding-right: 16px;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}


.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--charcoal);
    letter-spacing: 0.01em;
    flex-shrink: 0;
}
.logo-mark { color: var(--gold); flex-shrink: 0; }

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

.main-nav a {
    font-weight: 300;
    font-size: 0.92rem;
    color: var(--charcoal);
    padding: 8px 0;
    letter-spacing: 0.06em;
}

.main-nav .has-dropdown { position: relative; }

.main-nav .dropdown {
    position: absolute;
    top: 100%;
    left: -16px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 8px 0;
    min-width: 200px;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    box-shadow: 0 8px 24px rgba(60, 57, 51, 0.08);
}

.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown li { width: 100%; }
.main-nav .dropdown a {
    display: block;
    padding: 10px 20px;
    font-weight: 400;
}
.main-nav .dropdown a:hover {
    background: var(--bg-light);
    color: var(--gold-dark);
}

.header-search {
    position: relative;
    flex: 0 1 260px;
    display: flex;
    align-items: center;
}
.header-search__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--warm-gray);
    pointer-events: none;
}
.header-search input {
    width: 100%;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--charcoal);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 16px 9px 38px;
    outline: none;
    transition: border-color 0.18s, background 0.18s;
}
.header-search input::placeholder { color: var(--warm-gray); }
.header-search input:focus {
    border-color: var(--gold);
    background: var(--surface);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.lang-switcher {
    display: flex;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.lang-link {
    color: var(--warm-gray);
    padding: 4px 2px;
    border-bottom: 1px solid transparent;
}
.lang-link.active {
    color: var(--charcoal);
    border-bottom-color: var(--gold);
}
.lang-link:hover { color: var(--gold-dark); }

/* The currency switcher is a <details>/<summary> dropdown so the closed
   state can show only the symbol while the open menu lists full
   "kr DKK" labels. Native <select> doesn't allow asymmetric labels. */
.currency-switcher {
    position: relative;
}
.currency-switcher > summary {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--charcoal);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 5px 8px 5px 10px;
    transition: border-color 0.18s;
    user-select: none;
}
.currency-switcher > summary::-webkit-details-marker { display: none; }
.currency-switcher > summary:hover { border-color: var(--gold); }
.currency-switcher > summary svg {
    flex-shrink: 0;
    color: var(--warm-gray);
}
.currency-switcher__menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(60, 57, 51, 0.10);
    min-width: 110px;
    z-index: 200;
}
.currency-switcher__menu li { list-style: none; margin: 0; }
.currency-switcher__menu button {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 8px 14px;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--charcoal);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.currency-switcher__menu button:hover {
    background: var(--bg-light);
    color: var(--gold-dark);
}
.currency-switcher__menu button.active {
    color: var(--gold-dark);
    font-weight: 600;
}

.lang-switcher--mobile-select { display: none; }
.lang-switcher--mobile-select select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--charcoal);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 4px 18px 4px 8px;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='none' stroke='%233c3933' stroke-width='1.4' d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 9px;
    transition: border-color 0.18s;
}
.lang-switcher--mobile-select select:hover { border-color: var(--gold); }
.lang-switcher--mobile-select select:focus { outline: none; border-color: var(--gold); }

.price-fallback-note {
    font-size: 0.72rem;
    color: var(--warm-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: -12px 0 16px;
}

.cart-link {
    position: relative;
    color: var(--charcoal);
    display: inline-flex;
    align-items: center;
}
.cart-link svg { display: block; }
.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 999px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

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

/* The lang-switcher is duplicated server-side: one copy in .header-right,
   another inside .main-nav. By default we hide the mobile copy and show the
   header copy; the @media block below flips that. */
.lang-switcher--mobile { display: none; }

/* Mobile nav */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .header-search { display: none; }

    /* Tighten the header so logo + currency + cart all fit on one row, and
       move language selection into the burger menu (where there's room). */
    .header-inner {
        gap: 12px;
        padding-left: 12px;
        padding-right: 12px;
    }
    /* Desktop link-style lang switcher hidden — replaced by select dropdown. */
    .header-right > .lang-switcher:not(.lang-switcher--mobile-select) { display: none; }
    .lang-switcher--mobile-select { display: inline-flex; }
    .header-right { gap: 8px; }
    .currency-switcher > summary {
        font-size: 0.78rem;
        padding: 4px 6px 4px 8px;
    }
    .logo { font-size: 1rem; gap: 8px; }
    .logo-mark { width: 22px; height: 22px; }

    /* Critical: kill the desktop flex layout. Without this override, the
       single ul child is a flex item under `justify-content: center`, which
       distributes any overflow EQUALLY to left + right — clipping the first
       character of long nav-items like "Kollektioner". */
    .main-nav {
        display: block;
        flex: none;
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
        box-sizing: border-box;
    }
    .main-nav.open { max-height: calc(100vh - 76px); overflow-y: auto; }

    .main-nav ul {
        display: block;
        list-style: none;
        margin: 0;
        padding: 8px 24px 16px;
        gap: 0;
        box-sizing: border-box;
        width: 100%;
        text-align: left;
    }
    .main-nav li {
        list-style: none;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid var(--border);
    }
    .main-nav a {
        display: block;
        padding: 16px 0;
        margin: 0;
        text-align: left;
        text-indent: 0;
    }

    .main-nav .dropdown {
        position: static;
        list-style: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 8px 18px;
        margin: 0;
        width: 100%;
        min-width: 0;
        background: transparent;
    }

    /* The mobile lang switcher inside the burger menu is replaced by a
       compact dropdown in the header (.lang-switcher--mobile-select). */
    .lang-switcher--mobile { display: none; }
}

/* ============================================================================
   Hero
   ============================================================================ */

.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    overflow: hidden;
}
@media (max-width: 768px) {
    .hero { min-height: 50vh; }
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(28, 26, 22, 0.55) 0%,
        rgba(28, 26, 22, 0.35) 35%,
        rgba(28, 26, 22, 0.05) 70%,
        rgba(28, 26, 22, 0) 100%
    );
    z-index: 1;
}
.hero-inner {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 640px;
    margin: 0;
    padding: 80px 24px 80px clamp(32px, 11vw, 160px);
}
.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: #ffffff;
    margin-bottom: 0.5em;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    max-width: none;
}
/* Mobile: let the headline wrap naturally instead of overflowing the
   viewport. The <br> still gives us our 2-line minimum, and individual
   sentences can break inside themselves on narrow phones. */
@media (max-width: 640px) {
    .hero h1 {
        font-size: clamp(1.5rem, 7vw, 2rem);
        white-space: normal;
    }
    .hero-inner {
        padding: 56px 24px;
    }
    /* Override the desktop side-gradient with a flat dark layer so text is
       legible regardless of where it wraps on a narrow viewport. */
    .hero-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
    .hero h1,
    .hero-lead {
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
    }
}
.hero-lead {
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2em;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 14px 32px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--gold-dark); color: var(--white); }

/* ============================================================================
   Home sections
   ============================================================================ */

.home-section { padding: 80px 0; }
.home-section--collections { padding-top: 16px; }

/* Bundle promo strip — single line between featured prints and collections */
.bundle-strip {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.bundle-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 18px 24px;
    text-align: center;
}
.bundle-strip__text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--charcoal);
    font-weight: 500;
}
.bundle-strip__link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gold-dark);
    border-bottom: 1px solid transparent;
    transition: border-color 0.18s;
}
.bundle-strip__link:hover { border-bottom-color: var(--gold-dark); color: var(--gold-dark); }

.home-section__title {
    font-size: clamp(1.5rem, 2.4vw, 1.875rem);
    font-weight: 600;
    text-align: center;
    margin: 0 0 40px;
}

.product-grid--3 {
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
    .product-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.product-grid--4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 900px) {
    .product-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 768px) {
    .collections-grid { grid-template-columns: repeat(5, 1fr); }
}

.collection-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--border);
    transition: border-color 0.2s ease;
    overflow: hidden;
}
.collection-card:hover {
    border-color: var(--gold);
    color: var(--charcoal);
}
.collection-card__image {
    aspect-ratio: 3 / 4;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.collection-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.collection-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 16px 12px 20px;
}
.collection-card__name {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--charcoal);
}
.collection-card__count {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--warm-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================================================
   Page wrappers
   ============================================================================ */

.page { padding: 56px 0 96px; }
.page-placeholder h1 { margin-bottom: 0.5em; }

.page-shop h1,
.page-collection h1 { margin-bottom: 24px; }

/* ============================================================================
   Filter bar
   ============================================================================ */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.filter-pill {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--charcoal);
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.filter-pill:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}
.filter-pill.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.result-count {
    font-size: 0.85rem;
    color: var(--warm-gray);
    margin: 0 0 32px;
}

/* ============================================================================
   Collection header
   ============================================================================ */

.collection-header { max-width: 760px; margin-bottom: 48px; }
.collection-intro { font-size: 1.05rem; }

/* ============================================================================
   Product grid + cards
   ============================================================================ */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}
@media (max-width: 480px) {
    .product-grid,
    .product-grid--3,
    .product-grid--4 {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 768px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}

.product-card {
    display: block;
    color: var(--charcoal);
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: center;
}

.product-card__image {
    background: transparent;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.product-card:hover .product-card__image img {
    transform: scale(1.02);
}

.product-card__latin {
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 16px 0 4px;
    font-style: normal;
}
.product-card__common {
    font-size: 0.85rem;
    color: var(--warm-gray);
    margin: 0 0 8px;
    font-weight: 400;
}
.product-card__price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-dark);
    margin: 0;
}

/* ============================================================================
   Product page
   ============================================================================ */

.product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
@media (min-width: 900px) {
    .product-layout {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 64px;
        align-items: start;
    }
}

.product-image {
    position: relative;
    background: var(--surface);
    padding: 32px;
    box-shadow: var(--shadow-card);
}
.product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.product-image__mockup {
    margin-top: 8px;
    width: 100%;
    height: auto;
}

.product-info { padding-top: 8px; }

.product-latin {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 600;
    font-style: normal;
    margin: 0 0 8px;
}
.product-common {
    font-size: 1rem;
    color: var(--warm-gray);
    margin: 0 0 16px;
}

.series-badge {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--warm-gray);
    margin: 0 0 24px;
}
.series-badge a {
    color: var(--gold-dark);
    border-bottom: 1px solid transparent;
}
.series-badge a:hover { border-bottom-color: var(--gold-dark); }

.product-info-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--warm-gray);
    margin: 0 0 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}
.product-info-text p { margin: 0 0 12px; }
.product-info-text p:last-child { margin-bottom: 0; }
.product-info-text__science {
    margin-top: 16px !important;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-style: italic;
    color: var(--charcoal);
}

.size-selector__heading {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--charcoal);
    text-transform: uppercase;
    margin: 0 0 14px;
}

.size-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 0 28px;
}
@media (max-width: 480px) {
    .size-selector { grid-template-columns: 1fr 1fr; }
}
.size-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--charcoal);
    font-family: inherit;
    padding: 12px 8px;
    cursor: pointer;
    transition: border-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.size-card:hover { border-color: var(--gold); }
.size-card.active {
    border-color: var(--gold);
    color: var(--gold-dark);
    box-shadow: 0 0 0 1px var(--gold) inset;
}
.size-card.active .size-card__dim { color: var(--gold-dark); }

.size-card__dim {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.25;
}
.size-card__sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--warm-gray);
    line-height: 1.2;
}
.size-card.active .size-card__sub { color: var(--gold-dark); }

.product-price-display {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--charcoal);
    margin: 0 0 20px;
    line-height: 1;
    letter-spacing: -0.01em;
}

.btn-add-to-cart {
    background: var(--gold);
    color: var(--surface);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    padding: 16px 32px;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.02em;
}
.btn-add-to-cart:hover { background: var(--gold-dark); }

.plant-text-section {
    margin-top: 80px;
    max-width: 760px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}
.plant-text-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 20px;
}
.plant-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--warm-gray);
}

.related-section { margin-top: 96px; }
.related-section h2 { margin-bottom: 32px; }

/* ============================================================================
   Footer
   ============================================================================ */

.site-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    margin-top: 96px;
    padding: 64px 0 32px;
    color: var(--warm-gray);
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
@media (max-width: 700px) {
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--charcoal);
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--warm-gray); }
.footer-col a:hover { color: var(--gold-dark); }

.footer-logo {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 1rem;
    margin: 0 0 8px;
}
.footer-tagline { margin: 0; max-width: 320px; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    font-size: 0.75rem;
}
.footer-bottom p { margin: 0; }

/* ============================================================================
   Cart + checkout
   ============================================================================ */

.cart-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: var(--charcoal);
    color: #ffffff;
    font-size: 0.9rem;
    padding: 12px 20px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(60, 57, 51, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 500;
    pointer-events: none;
}
.cart-toast--visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.page-cart h1 { margin-bottom: 32px; }

.cart-empty {
    text-align: center;
    padding: 48px 0;
}
.cart-empty__text {
    font-size: 1.1rem;
    color: var(--warm-gray);
    margin-bottom: 24px;
}

.cart-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    border-top: 1px solid var(--border);
}

.cart-item {
    display: grid;
    grid-template-columns: 88px 1fr 120px 100px 32px;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
@media (max-width: 700px) {
    .cart-item {
        grid-template-columns: 72px 1fr 32px;
        grid-template-areas:
            "img info remove"
            "img qty  line";
        gap: 8px 16px;
    }
    .cart-item__image { grid-area: img; }
    .cart-item__info  { grid-area: info; }
    .cart-item__qty   { grid-area: qty; }
    .cart-item__line  { grid-area: line; text-align: right; }
    .cart-item__remove { grid-area: remove; justify-self: end; }
}

.cart-item__image {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 4px;
    aspect-ratio: 3 / 4;
}
.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item__info { min-width: 0; }
.cart-item__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0 0 2px;
}
.cart-item__common,
.cart-item__size,
.cart-item__unit {
    font-size: 0.82rem;
    color: var(--warm-gray);
    margin: 0 0 2px;
}

.cart-item__qty-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--warm-gray);
}
.cart-item__qty input {
    width: 64px;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 6px 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--charcoal);
    text-align: center;
}
.cart-item__qty input:focus { outline: none; border-color: var(--gold); }

.cart-item__line {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--charcoal);
    text-align: right;
    margin: 0;
}

.cart-item__remove {
    background: none;
    border: none;
    color: var(--warm-gray);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.18s;
}
.cart-item__remove:hover { color: var(--gold-dark); }

.cart-footer {
    max-width: 420px;
    margin-left: auto;
    text-align: right;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 1rem;
    color: var(--warm-gray);
    margin: 0 0 20px;
    padding-top: 16px;
}
.cart-total strong {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--charcoal);
}

.btn-checkout {
    width: 100%;
    border: none;
    padding: 16px 32px;
    font-family: inherit;
    font-size: 0.95rem;
}
.btn-checkout[disabled] { opacity: 0.6; cursor: wait; }

.cart-error {
    color: #b23b3b;
    font-size: 0.85rem;
    margin: 12px 0 0;
    text-align: right;
}

.cart-continue {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--warm-gray);
    border-bottom: 1px solid transparent;
}
.cart-continue:hover { border-bottom-color: var(--gold-dark); color: var(--gold-dark); }

.pod-withdrawal-note {
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--warm-gray);
    margin: 0 0 18px;
}
.pod-withdrawal-note--block {
    margin-top: 48px;
    padding: 20px 24px;
    background: var(--bg-light);
    border-left: 3px solid var(--border);
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--warm-gray);
}

/* ----- Checkout success ------------------------------------------------- */

.page-checkout-success h1 { margin-bottom: 12px; }
.order-confirmed {
    font-size: 1rem;
    color: var(--warm-gray);
    margin-bottom: 8px;
}

.order-summary {
    margin: 40px 0;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    max-width: 640px;
}
.order-summary h2 {
    font-size: 1.1rem;
    margin: 0 0 20px;
}

.order-summary__list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}
.order-summary__item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}
.order-summary__item:last-child { border-bottom: 1px solid var(--border); }
.order-summary__thumb {
    width: 64px;
    height: 80px;
    object-fit: contain;
    background: var(--bg-light);
}
.order-summary__info p { margin: 0 0 2px; }
.order-summary__name {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.95rem;
}
.order-summary__common,
.order-summary__size {
    font-size: 0.8rem;
    color: var(--warm-gray);
}
.order-summary__line {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.95rem;
    margin: 0;
}
.order-summary__total {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding-top: 16px;
    font-size: 1rem;
}
.order-summary__total strong {
    font-size: 1.35rem;
    color: var(--charcoal);
}

/* Hide cart badge when count is 0 — handled via JS setting visibility, but
   start it hidden so there's no flash of "0" before JS runs. */
.cart-badge { visibility: hidden; }

/* ============================================================================
   Long-form content pages (about, koehler, sources, faq, contact, privacy)
   ============================================================================ */

.container--narrow {
    max-width: 760px;
}

.page-content { padding: 64px 0 96px; }
.page-content h1 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin: 0 0 24px;
}
.page-content h2 {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    margin: 48px 0 16px;
    color: var(--charcoal);
}
.page-content h3 {
    font-size: 1rem;
    margin: 28px 0 10px;
    color: var(--charcoal);
}
.page-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--warm-gray);
    margin: 0 0 18px;
}
.page-content em { color: var(--charcoal); }
.page-content strong { color: var(--charcoal); font-weight: 600; }

.content-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}
.content-list li {
    position: relative;
    padding: 6px 0 6px 22px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--warm-gray);
}
.content-list li::before {
    content: '·';
    position: absolute;
    left: 6px;
    top: 4px;
    color: var(--gold);
    font-weight: 600;
    font-size: 1.2rem;
}
.content-list--check li::before {
    content: '✓';
    font-size: 0.85rem;
    color: var(--gold);
}

.legal-block {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--charcoal);
}

/* ----- Köhler gallery section ------------------------------------------- */

.koehler-gallery {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}
.koehler-gallery__title {
    text-align: center;
    margin-bottom: 32px !important;
}

/* ----- FAQ accordion ----------------------------------------------------- */

.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item details {
    padding: 0;
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    padding: 22px 8px 22px 0;
    font-weight: 600;
    color: var(--charcoal);
    font-size: 1rem;
    transition: color 0.18s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--warm-gray);
    margin-left: 12px;
    line-height: 1;
    transition: transform 0.2s ease;
}
.faq-item details[open] summary::after {
    content: '−';
    color: var(--gold-dark);
}
.faq-item summary:hover { color: var(--gold-dark); }
.faq-item__answer {
    padding: 0 0 22px;
    color: var(--warm-gray);
    line-height: 1.7;
}
.faq-item__answer p { margin: 0; }

/* ----- Contact form ------------------------------------------------------ */

.contact-form {
    margin: 32px 0 48px;
    display: grid;
    gap: 18px;
}
.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-form__field span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--charcoal);
    font-weight: 500;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 12px 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.18s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn-primary { justify-self: start; }
.contact-form__hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.contact-success {
    background: var(--bg-light);
    border-left: 3px solid var(--gold);
    padding: 16px 20px;
    color: var(--charcoal);
    margin: 24px 0;
}
.contact-error {
    background: #fdf3f3;
    border-left: 3px solid #b23b3b;
    color: #b23b3b;
    padding: 14px 18px;
    margin: 24px 0;
    font-size: 0.9rem;
}

/* ----- Gallery walls / bundles ------------------------------------------ */

.gallery-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
    color: var(--warm-gray);
}

.bundle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
@media (max-width: 768px) {
    .bundle-grid { grid-template-columns: 1fr; }
}

.bundle-card {
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.2s;
}
.bundle-card:hover { border-color: var(--gold); }

.bundle-card__previews {
    display: grid;
    gap: 8px;
    padding: 24px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}
.bundle-card__previews--3 { grid-template-columns: repeat(3, 1fr); }
.bundle-card__previews--6 { grid-template-columns: repeat(3, 1fr); }
.bundle-card__previews img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: var(--surface);
}

.bundle-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.bundle-card__name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0;
}
.bundle-card__desc {
    font-size: 0.92rem;
    color: var(--warm-gray);
    margin: 0;
    line-height: 1.55;
}
.bundle-card__includes {
    font-size: 0.78rem;
    color: var(--warm-gray);
    margin: 4px 0 0;
    line-height: 1.5;
}
.bundle-card__includes em {
    font-style: italic;
    color: var(--charcoal);
}
.bundle-card__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 12px 0 0;
    flex-wrap: wrap;
}
.bundle-card__price-bundle {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--charcoal);
}
.bundle-card__price-full {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--warm-gray);
    text-decoration: line-through;
}
.bundle-card__price-saving {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--surface);
    background: var(--gold);
    padding: 3px 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.bundle-card__size {
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--warm-gray);
    margin: 4px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.bundle-card__add {
    margin-top: auto;
    align-self: stretch;
    text-align: center;
    border: none;
    padding: 14px 24px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.92rem;
}

/* ============================================================================
   Cookie consent banner + settings modal
   ============================================================================ */

/* ----- Banner (bottom sticky) ------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: rgba(60, 57, 51, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--bg-light);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-banner__text {
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
    color: rgba(245, 244, 240, 0.88);
}
.cookie-banner__text a {
    color: var(--gold);
    border-bottom: 1px solid transparent;
}
.cookie-banner__text a:hover {
    border-bottom-color: var(--gold);
    color: var(--gold);
}

/* ----- Cookie categories (toggles) -------------------------------------- */
.cookie-banner__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
}

.cookie-toggle {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    min-width: 180px;
    flex: 1 1 180px;
}
.cookie-toggle--locked { cursor: default; opacity: 0.6; }

.cookie-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle__slider {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease;
    margin-top: 2px;
}
.cookie-toggle__slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    transition: transform 0.2s ease;
}
.cookie-toggle input:checked + .cookie-toggle__slider {
    background: var(--gold);
}
.cookie-toggle input:checked + .cookie-toggle__slider::after {
    transform: translateX(18px);
}
.cookie-toggle--locked .cookie-toggle__slider {
    background: rgba(255, 255, 255, 0.3);
}

.cookie-toggle__label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cookie-toggle__label strong {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bg-light);
}
.cookie-toggle__label small {
    font-size: 0.72rem;
    color: rgba(245, 244, 240, 0.6);
    line-height: 1.4;
}

/* ----- Banner / modal buttons ------------------------------------------- */
.cookie-banner__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 11px 22px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    border: none;
}
.cookie-btn--primary {
    background: var(--gold);
    color: #ffffff;
}
.cookie-btn--primary:hover { background: var(--gold-dark); }
.cookie-btn--secondary {
    background: transparent;
    color: rgba(245, 244, 240, 0.85);
    border: 1px solid rgba(245, 244, 240, 0.25);
}
.cookie-btn--secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ----- Settings modal --------------------------------------------------- */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(60, 57, 51, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal--visible {
    opacity: 1;
    pointer-events: auto;
}

.cookie-modal__panel {
    background: var(--charcoal);
    color: var(--bg-light);
    max-width: 560px;
    width: calc(100% - 32px);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: translateY(16px);
    transition: transform 0.3s ease;
}
.cookie-modal--visible .cookie-modal__panel {
    transform: translateY(0);
}

.cookie-modal__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    color: var(--bg-light);
}

/* ----- Responsive ------------------------------------------------------- */
@media (max-width: 640px) {
    .cookie-banner__categories {
        flex-direction: column;
        gap: 14px;
    }
    .cookie-toggle { min-width: 0; flex: none; }
    .cookie-banner__buttons {
        flex-direction: column;
    }
    .cookie-btn { width: 100%; text-align: center; }
    .cookie-modal__panel { padding: 24px 20px; }
}
