/* ============================================================
   SHOP — Stylesheet
   Palette: green #67A653 · gold #A68653 · blue #537FA6 · purple #A65399 · slate #434A51
   Fonts: Lora (serif headings) · Inter (sans body)
   ============================================================ */

[x-cloak] { display: none !important; }

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --cream: #F5F7F9;
    --ink: #434A51;
    --warm: #6B7C8A;
    --muted: #8B97A2;
    --accent: #A68653;
    --border: #DDE3EB;
    --surface: #EEF2F7;
    --radius: 2px;
    --header-h: 64px;
    --font-serif: 'Lora', Georgia, serif;
    --font-sans: 'Inter', Helvetica, Arial, sans-serif;
    --ease: cubic-bezier(.4,0,.2,1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.25;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    transition: background .18s var(--ease), color .18s var(--ease), opacity .18s var(--ease);
    cursor: pointer;
}

    .btn:disabled {
        opacity: .45;
        cursor: not-allowed;
    }

.btn-primary {
    background: #537FA6;
    color: #fff;
}

    .btn-primary:hover {
        background: #3F6A8C;
    }

.btn-secondary {
    background: var(--surface);
    color: var(--ink);
    border: 1.5px solid var(--border);
}

    .btn-secondary:hover {
        border-color: var(--ink);
        background: var(--cream);
    }

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}

    .btn-outline:hover {
        background: var(--ink);
        color: var(--cream);
    }

.btn-ghost {
    background: transparent;
    color: var(--warm);
    border: none;
}

    .btn-ghost:hover {
        color: var(--ink);
    }

.btn-full {
    width: 100%;
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    height: var(--header-h);
    background: var(--cream);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}

    .site-header.scrolled {
        border-color: var(--border);
        box-shadow: 0 1px 8px rgba(0,0,0,.06);
    }

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-logo {
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.site-logo-img {
    height: 44px;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
}

.logo-serif {
    font-family: var(--font-serif);
    font-size: 18px;
}

.logo-dot {
    color: var(--accent);
    margin: 0 1px;
}

.logo-light {
    font-weight: 300;
    font-size: 16px;
    color: var(--warm);
}

.site-nav {
    display: flex;
    gap: 28px;
    flex: 1;
}

.nav-link {
    text-decoration: none;
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--warm);
    transition: color .15s;
}

    .nav-link:hover {
        color: var(--ink);
    }

/* Header search */
.header-search {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.search-input {
    background: none;
    border: none;
    padding: 7px 12px;
    font-size: 13px;
    color: var(--ink);
    width: 200px;
    outline: none;
}

.search-btn {
    background: none;
    border: none;
    padding: 7px 12px;
    color: var(--warm);
    display: flex;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.cart-trigger {
    position: relative;
    background: none;
    border: none;
    padding: 6px;
    color: var(--ink);
    display: flex;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #537FA6;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 6px;
    display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .hamburger span {
        display: block;
        width: 22px;
        height: 1.5px;
        background: var(--ink);
        transition: transform .2s, opacity .2s;
    }

    .hamburger.open span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

/* ── Overlay ──────────────────────────────────────────────── */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(67,74,81,.4);
    z-index: 150;
}

.transition-fade {
    transition: opacity .2s;
}

.opacity-0 {
    opacity: 0;
}

.opacity-1 {
    opacity: 1;
}

/* ── Cart Drawer ──────────────────────────────────────────── */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100vw);
    height: 100dvh;
    background: var(--cream);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    box-shadow: -4px 0 24px rgba(0,0,0,.1);
}

    .cart-drawer.open {
        transform: translateX(0);
    }

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.drawer-title {
    font-size: 16px;
    font-family: var(--font-serif);
}

.drawer-count {
    color: var(--warm);
    font-size: 14px;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--warm);
    padding: 4px;
    display: flex;
}

/* Free shipping bar */
.free-shipping-bar {
    padding: 12px 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.free-shipping-text {
    font-size: 12px;
    color: var(--warm);
    margin-bottom: 6px;
}

.free-shipping-track {
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.free-shipping-fill {
    height: 100%;
    background: var(--accent);
    transition: width .4s var(--ease);
    border-radius: 2px;
}

.free-shipping-achieved .free-shipping-text {
    color: #3A7A2D;
    font-weight: 500;
}

.drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.drawer-empty {
    padding: 48px 24px;
    text-align: center;
    color: var(--warm);
}

    .drawer-empty p {
        margin-bottom: 16px;
    }

.cart-item {
    display: flex;
    gap: 12px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
}

.cart-item-image {
    width: 68px;
    height: 80px;
    flex-shrink: 0;
}

    .cart-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--radius);
    }

.cart-item-placeholder {
    width: 100%;
    height: 100%;
    background: var(--surface);
    border-radius: var(--radius);
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-variant {
    font-size: 12px;
    color: var(--warm);
    margin-top: 2px;
}

.cart-item-price {
    font-size: 13px;
    color: var(--warm);
    margin-top: 4px;
}

.cart-price-with-discount {
    display: flex;
    gap: 6px;
    align-items: baseline;
}

.cart-price-original {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 12px;
}

.cart-price-discounted {
    color: var(--accent);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-btn {
    background: var(--surface);
    border: none;
    width: 28px;
    height: 28px;
    font-size: 16px;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

    .qty-btn:hover {
        background: var(--border);
    }

.qty-value {
    width: 32px;
    text-align: center;
    font-size: 13px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--muted);
    padding: 2px;
    display: flex;
}

    .cart-item-remove:hover {
        color: var(--ink);
    }

.drawer-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

.cart-totals {
    margin-bottom: 16px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
    color: var(--warm);
}

.cart-total-final {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: 6px;
}

.cart-total-discount {
    color: #3A7A2D;
}

.cart-total-vat {
    font-size: 11px;
    color: var(--muted, #888);
    border-top: 1px dashed var(--border);
    padding-top: 6px;
    margin-top: 4px;
}

.drawer-discount {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.discount-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 8px;
}

.discount-input-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.discount-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #C4CDD6;
    border-radius: 2px;
    font-size: 13px;
    font-family: inherit;
    background: #fff;
    color: #434A51;
    min-width: 0;
    appearance: none;
    -webkit-appearance: none;
}

.discount-input::placeholder {
    color: #A0AEBA;
}

.discount-input:focus {
    outline: none;
    border-color: #537FA6;
    box-shadow: 0 0 0 1px #537FA6;
}

.discount-btn {
    padding: 10px 16px;
    background: #537FA6;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 12px;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: .06em;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity .15s;
}

.discount-btn:hover {
    opacity: .85;
}

.discount-btn:disabled {
    background: #C4CDD6;
    cursor: default;
    opacity: 1;
}

.discount-applied-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #EBF6E8;
    border: 1px solid #B8D9B2;
    border-radius: 2px;
    padding: 10px 12px;
    font-size: 13px;
}

.discount-applied-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #3A7A2D;
    font-weight: 600;
    letter-spacing: .04em;
}

.discount-remove-btn {
    background: none;
    border: none;
    font-size: 11px;
    color: #6B7280;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0;
    flex-shrink: 0;
    margin-left: 12px;
    font-family: inherit;
}

.discount-remove-btn:hover {
    color: #991B1B;
    text-decoration-color: #991B1B;
}

.discount-error {
    font-size: 12px;
    color: #991B1B;
    margin-top: 6px;
}

/* Qty variants */
.qty-control--large .qty-btn {
    width: 36px;
    height: 36px;
}

.qty-control--large .qty-value {
    width: 44px;
    font-size: 15px;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
    background: var(--ink);
    color: var(--cream);
    margin-top: 80px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .site-logo {
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(245,247,249,.5);
    font-family: var(--font-serif);
    font-style: italic;
}

.footer-links h4 {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(245,247,249,.5);
    margin-bottom: 14px;
    font-weight: 400;
}

.footer-links a,
.footer-links span {
    display: block;
    font-size: 13px;
    color: rgba(245,247,249,.75);
    text-decoration: none;
    margin-bottom: 8px;
}

    .footer-links a:hover {
        color: var(--cream);
    }

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245,247,249,.65);
    transition: color .15s;
}

    .footer-social-link:hover {
        color: var(--cream);
    }

.footer-bottom {
    border-top: 1px solid rgba(245,247,249,.1);
    padding: 16px 24px;
    text-align: center;
    font-size: 12px;
    color: rgba(245,247,249,.4);
    max-width: 1280px;
    margin: 0 auto;
}

/* ── Product grid ─────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
    list-style: none;
}

.product-card {
}

.product-card-image-wrap {
    position: relative;
    margin-bottom: 14px;
}

.product-card-link {
    text-decoration: none;
    display: block;
}

.product-card-body-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.product-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--surface);
    border-radius: var(--radius);
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .3s, transform .4s var(--ease);
}

.product-card-img--primary {
    position: absolute;
    inset: 0;
}

.product-card-img--hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.product-card-image-wrap:hover .product-card-img--primary {
    opacity: 0;
}

.product-card-image-wrap:hover .product-card-img--hover {
    opacity: 1;
}

.product-card-image-wrap:hover .product-card-img {
    transform: scale(1.03);
}

.product-card-placeholder {
    width: 100%;
    height: 100%;
    background: var(--surface);
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ink);
    color: var(--cream);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: var(--radius);
}

.product-card-badge--sold-out {
    background: var(--warm);
}

.product-card-badge--backorder {
    background: #FEF3C7;
    color: #92400E;
}

.product-card-badge--digital {
    background: #DDE8F5;
    color: #2D5E8A;
}

.product-card-badge--bundle {
    background: #E8F4E5;
    color: #3A7A2D;
}
.product-card-badge--event {
    background: #F4E0F0;
    color: #7A3074;
}

.event-card-date-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 4px;
}
.event-card-body { display: flex; flex-direction: column; }
.event-card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.product-digital-badge,
.product-bundle-badge {
    display: inline-block;
    vertical-align: middle;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 2px;
    margin-left: 8px;
    position: relative;
    top: -2px;
}
.product-digital-badge { background: #DDE8F5; color: #2D5E8A; }
.product-bundle-badge  { background: #E8F4E5; color: #3A7A2D; }

.product-card-name {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
}

.product-card-variant-label, .product-card-tags {
    font-size: 12px;
    color: #888;
    margin-bottom: 3px;
}

.product-card-price {
    font-size: 13px;
    color: var(--warm);
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.card-price-discounted {
    color: var(--accent);
}

.card-price-original {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 11px;
}

.product-card-atc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #537FA6;
    color: #fff;
    border: none;
    padding: 11px;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s, transform .2s;
}

.product-card-image-wrap:hover .product-card-atc {
    opacity: 1;
    transform: translateY(0);
}

.product-card-atc--disabled {
    background: #C4CDD6;
    color: #fff;
    cursor: default;
}

/* ── Category page ────────────────────────────────────────── */
.product-list-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.page-header {
    padding: 48px 0 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.page-header h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); margin: 0 0 8px; }
.page-desc { color: var(--warm); font-size: 16px; margin: 0; max-width: 600px; }

.category-hero {
    height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 32px;
    margin-bottom: 40px;
    border-radius: var(--radius);
    position: relative;
}

    .category-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(67,74,81,.6), transparent);
        border-radius: var(--radius);
    }

.category-hero-content {
    position: relative;
    color: white;
}

.category-hero-title {
    font-size: 32px;
    margin-bottom: 8px;
}

.category-hero-desc {
    font-size: 15px;
    opacity: .85;
    max-width: 480px;
}

.category-header {
    padding: 40px 0 32px;
}

.category-title {
    font-size: 32px;
    margin-bottom: 12px;
}

.category-desc {
    color: var(--warm);
    max-width: 480px;
    margin: 0 auto;
}

.product-list-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
}

/* Filters sidebar */
.filters-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 16px);
}

.filters-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 13px;
    gap: 6px;
    align-items: center;
}

.filters-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.filter-group {
    border: none;
}

.filter-legend {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 12px;
    display: block;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 8px;
    cursor: pointer;
}

    .filter-option input {
        accent-color: var(--ink);
        width: 14px;
        height: 14px;
    }

.filter-clear-link {
    font-size: 11px;
    color: var(--accent);
    text-decoration: none;
    display: block;
    margin-top: 4px;
}

    .filter-clear-link:hover {
        text-decoration: underline;
    }

.products-main {
}

.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.products-count {
    font-size: 13px;
    color: var(--warm);
}

.products-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--warm);
}

    .products-empty p {
        margin-bottom: 16px;
    }

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    text-decoration: none;
    color: var(--ink);
    transition: background .15s, border-color .15s;
}

    .pagination-btn:hover, .pagination-btn.active {
        background: #537FA6;
        color: #fff;
        border-color: #537FA6;
    }

/* ── Product detail ───────────────────────────────────────── */
.product-detail {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px 80px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 32px;
}

    .breadcrumb a {
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: var(--ink);
        }

    .breadcrumb span:not(:last-child) {
        color: var(--border);
    }

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.gallery-main {
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
}

.gallery-main-btn {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    padding: 0;
    cursor: zoom-in;
}

.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-main-btn:hover .gallery-main-img {
    transform: scale(1.15);
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.gallery-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.gallery-lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 72px;
    height: 84px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    padding: 0;
    background: none;
    cursor: pointer;
    transition: border-color .15s;
}

    .gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-thumb.active {
        border-color: #537FA6;
    }

.product-category-tag {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 8px;
}

.product-category-tag:not(:last-child)::after {
    content: ',';
    color: var(--muted);
    letter-spacing: 0;
}
    display: inline-block;
}

.product-title {
    font-size: 28px;
    margin-bottom: 16px;
}

.product-discontinued-notice {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #9a3412;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: var(--radius);
    padding: 6px 12px;
    margin-bottom: 16px;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 20px;
}

.product-price {
    font-size: 22px;
    font-family: var(--font-serif);
}

.product-price-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-price--original {
    font-size: 16px;
    color: var(--muted);
    text-decoration: line-through;
}

.product-price--discounted {
    color: var(--accent);
}

.product-bulk-discounts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.product-bulk-discount-hint {
    font-size: 13px;
    color: var(--accent);
    background: #F5EFDE;
    border-left: 3px solid var(--accent);
    padding: 4px 10px;
    border-radius: 0 2px 2px 0;
}

.product-stock-badge {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
}

.in-stock {
    background: #E8F4E5;
    color: #3A7A2D;
}

.out-of-stock {
    background: #FEE2E2;
    color: #991B1B;
}

.backorder {
    background: #FEF3C7;
    color: #92400E;
}

.product-description {
    color: var(--warm);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

    .product-description p {
        margin-bottom: 8px;
    }

.variant-group {
    margin-bottom: 20px;
}

/* ── Bundle items ────────────────────────────────────────────────────────── */
.bundle-items {
    margin: 24px 0;
}
.bundle-items-title {
    font-size: 13px;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 12px;
}
.bundle-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bundle-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #fafafa;
}
.bundle-item-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.bundle-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.bundle-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bundle-item-name:hover { text-decoration: underline; }
.bundle-item-price {
    font-size: 13px;
    color: #555;
    text-decoration: line-through;
}
.bundle-item-pct {
    font-size: 11px;
    color: #aaa;
    letter-spacing: .03em;
}
.bundle-item--oos {
    border-color: #f5c6c6;
    background: #fff8f8;
}
.bundle-item-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bundle-item-oos-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #fff;
    background: #c0392b;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.variant-label {
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.variant-swatches, .variant-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.swatch {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: none;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

    .swatch.active {
        border-color: #537FA6;
        background: #537FA6;
        color: #fff;
    }

    .swatch:disabled {
        opacity: .35;
        cursor: not-allowed;
    }

.size-option {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: none;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

    .size-option.active {
        border-color: #537FA6;
        background: #537FA6;
        color: #fff;
    }

    .size-option:disabled {
        opacity: .35;
        cursor: not-allowed;
        text-decoration: line-through;
    }

.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-add-cart {
    flex: 1;
    transition: background 0.2s;
}

    .btn-add-cart.btn-added,
    .product-card-atc.btn-added {
        background: #3D7A31;
    }

        .btn-add-cart.btn-added:hover,
        .product-card-atc.btn-added:hover {
            background: #2D6125;
        }

.product-meta {
    font-size: 12px;
    color: var(--muted);
}

/* ── Product accordions ───────────────────────────────────── */
.product-accordions {
    margin-top: 24px;
    border-top: 1px solid var(--border, #e5e5e5);
}

.product-accordion {
    border-bottom: 1px solid var(--border, #e5e5e5);
}

.product-accordion-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    color: inherit;
}

.product-accordion-toggle:hover {
    opacity: 0.7;
}

.product-accordion-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    position: relative;
}

.product-accordion-icon::before,
.product-accordion-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s, opacity 0.2s;
}

.product-accordion-icon::before { width: 12px; height: 1.5px; }
.product-accordion-icon::after  { width: 1.5px; height: 12px; }

.product-accordion-icon.is-open::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.product-accordion-body {
    padding-bottom: 20px;
}

.product-accordion-content {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted, #555);
}

.product-accordion-content p { margin: 0 0 8px; }
.product-accordion-content p:last-child { margin-bottom: 0; }

/* ── Checkout ─────────────────────────────────────────────── */
.checkout-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.checkout-title {
    font-size: 28px;
    margin-bottom: 32px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.form-section {
    border: none;
    margin-bottom: 32px;
}

.form-section-title {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--warm);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
    display: block;
}

.form-row {
    margin-bottom: 16px;
}

.form-row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .form-group label {
        font-size: 12px;
        letter-spacing: .04em;
        color: var(--warm);
        text-transform: uppercase;
    }

.form-input {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font-sans);
    background: white;
    color: var(--ink);
    transition: border-color .15s;
    width: 100%;
    outline: none;
}

    .form-input:focus {
        border-color: #537FA6;
    }

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.field-error {
    font-size: 12px;
    color: #991B1B;
}

.form-errors {
    background: #FEE2E2;
    border: 1px solid #FECACA;
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #991B1B;
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    font-size: 14px;
}

.terms-accept {
    margin-bottom: 16px;
}

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--warm);
    cursor: pointer;
    line-height: 1.5;
}

.terms-checkbox {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: var(--ink);
    cursor: pointer;
}

.terms-label a {
    color: var(--ink);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Checkout summary */
.checkout-summary {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
}

.summary-title {
    font-size: 16px;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
}

.summary-item-info {
    display: flex;
    flex-direction: column;
}

.summary-item-name {
    font-weight: 500;
}

.summary-item-variant, .summary-item-qty {
    font-size: 12px;
    color: var(--warm);
}

.summary-item-price {
    flex-shrink: 0;
}

.summary-totals {
    border-top: 1px solid var(--border);
    margin-top: 16px;
    padding-top: 12px;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--warm);
    padding: 4px 0;
}

.summary-total-row--final {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    border-top: 1px solid var(--border);
    margin-top: 6px;
    padding-top: 10px;
}

.summary-total-row--discount {
    color: #3A7A2D;
}

.summary-total-row--vat {
    font-size: 11px;
    color: var(--muted);
    padding-top: 6px;
    border-top: 1px dashed var(--border);
    margin-top: 4px;
}

.checkout-trust {
    font-size: 11px;
    color: var(--muted);
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Shipping option selector */
.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.shipping-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

    .shipping-option.selected {
        border-color: #537FA6;
        background: var(--surface);
    }

    .shipping-option:hover:not(.selected) {
        border-color: var(--warm);
    }

.shipping-radio {
    accent-color: var(--ink);
    flex-shrink: 0;
}

.shipping-option-body {
    flex: 1;
}

.shipping-option-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.shipping-option-desc {
    font-size: 12px;
    color: var(--warm);
}

.shipping-option-price {
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.form-group--parcel {
    margin-top: 8px;
}

.field-optional {
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
}

.field-hint {
    font-size: 12px;
    color: var(--warm);
    margin-top: 4px;
}

    .field-hint a {
        color: var(--ink);
    }

/* Alternative delivery address */
.alt-address-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    cursor: pointer;
}

.alt-address-checkbox {
    accent-color: var(--ink);
}

.alt-address-fields {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── Payment page ─────────────────────────────────────────── */
.payment-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.payment-content {
    text-align: center;
}

.payment-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: var(--warm);
}

.spinner-icon {
    width: 48px;
    height: 48px;
    stroke: var(--accent);
    animation: spin 1.2s linear infinite;
}

    .spinner-icon circle {
        stroke-dasharray: 80;
        stroke-dashoffset: 60;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Confirmation / Accept / Decline ──────────────────────── */
.confirmation-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    min-height: 60vh;
}

.confirmation-card {
    background: white;
    border-radius: 4px;
    padding: 48px;
    max-width: 720px;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    text-align: center;
}

.confirmation-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: #3A7A2D;
}

.confirmation-icon--error {
    color: #DC2626;
}

.confirmation-icon--neutral {
    color: var(--warm);
}

.confirmation-title {
    font-size: 26px;
    margin-bottom: 12px;
}

.confirmation-sub {
    color: var(--warm);
    font-size: 14px;
    margin-bottom: 28px;
}

.confirmation-ordernumb {
    display: grid;
    grid-template-columns: repeat1, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
}

.confirmation-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
    text-align: center;
}

.confirmation-meta-cell {
    background: var(--surface);
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.confirmation-number {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 16px 24px;
    margin-bottom: 28px;
}

.confirmation-number-label {
    display: block;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.confirmation-number-value {
    font-size: 18px;
    font-family: var(--font-serif);
}

.confirmation-number-value--sm {
    font-size: 14px;
}

.confirmation-address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

    .confirmation-address-grid .confirmation-address {
        background: var(--surface);
        border-radius: var(--radius);
        padding: 16px 20px;
        margin-bottom: 0;
    }

.confirmation-address-note {
    font-size: 12px;
    color: var(--warm);
}

.confirmation-section-title {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: left;
    margin-bottom: 14px;
    margin-top: 24px;
}

.confirmation-lines {
    border-top: 1px solid var(--border);
}

.confirmation-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    text-align: left;
}

.confirmation-line-info {
    display: flex;
    flex-direction: column;
}

.confirmation-line-variant, .confirmation-line-qty {
    font-size: 12px;
    color: var(--warm);
}

.confirmation-totals {
    margin-top: 24px;
    margin-bottom: 24px;
}

.confirmation-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--warm);
    padding: 4px 0;
}

.confirmation-total-row--final {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: 6px;
}

.confirmation-total-row--vat {
    font-size: 11px;
    color: var(--muted, #888);
    border-top: 1px dashed var(--border);
    padding-top: 5px;
    margin-top: 3px;
}

.confirmation-total-row--discount {
    color: #3A7A2D;
}

.confirmation-address {
    text-align: left;
    font-size: 14px;
}

    .confirmation-address address {
        font-style: normal;
        line-height: 1.7;
    }

.decline-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.decline-help {
    font-size: 13px;
    color: var(--warm);
}

.confirmation-card .btn {
    margin-top: 28px;
    min-width: 200px;
}

/* ── Search page ──────────────────────────────────────────── */
.search-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.search-header {
    margin-bottom: 40px;
}

.search-title {
    font-size: 28px;
    margin-bottom: 20px;
}

    .search-title em {
        font-style: italic;
    }

.search-form-large {
    max-width: 520px;
}

.search-input-wrap {
    display: flex;
    gap: 0;
}

.search-input-large {
    border-radius: var(--radius) 0 0 var(--radius);
    border-right: none;
    flex: 1;
}

.search-input-wrap .btn {
    border-radius: 0 var(--radius) var(--radius) 0;
}

.search-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--warm);
}

.search-empty-hint {
    font-size: 13px;
    margin-top: 8px;
}

.search-results-meta {
    font-size: 13px;
    color: var(--warm);
    margin-bottom: 24px;
}

/* ── Site main ────────────────────────────────────────────── */
.site-main {
    min-height: 60vh;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-list-layout {
        grid-template-columns: 180px 1fr;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 12px rgba(0,0,0,.08);
        z-index: 90;
    }

        .site-nav.open {
            display: flex;
        }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-search {
        display: none;
    }

    .translate-langs {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-list-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
    }

    .filters-toggle {
        display: flex;
        margin-bottom: 12px;
    }

    .filters-form {
        display: none;
    }

        .filters-form.open {
            display: flex;
        }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .form-row--2 {
        grid-template-columns: 1fr;
    }

    

    .confirmation-card {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Utilities ────────────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn-lg {
    padding: 15px 32px;
    font-size: 14px;
}

/* ── Home — Hero ──────────────────────────────────────────── */
.hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 80px 24px;
}

.hero-content {
    max-width: 560px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--ink);
}

.hero-desc {
    font-size: 16px;
    color: var(--warm);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* ── Home — Categories grid ───────────────────────────────── */
.categories-section {
    padding: 72px 0 80px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 36px;
    color: var(--ink);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}

    .category-card:hover {
        box-shadow: 0 6px 24px rgba(67,74,81,.1);
        transform: translateY(-2px);
    }

.category-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--surface);
}

    .category-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s var(--ease);
    }

.category-card:hover .category-card-image img {
    transform: scale(1.04);
}

.category-card-image--placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--surface) 0%, var(--border) 100%);
}

.category-card-body {
    padding: 20px 20px 22px;
}

.category-card-name {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 6px;
    color: var(--ink);
}

.category-card-desc {
    font-size: 13px;
    color: var(--warm);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 380px;
        padding: 56px 20px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .categories-section {
        padding: 48px 0 56px;
    }
}

/* ── Account icon in header ─────────────────────────────────────────────── */
.account-trigger {
    display: flex;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
    padding: 4px;
    border-radius: 2px;
    transition: opacity .2s;
}

    .account-trigger:hover {
        opacity: .7;
    }

/* ── Auth pages (login) ─────────────────────────────────────────────────── */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px 80px;
}

.auth-card {
    background: white;
    border-radius: 4px;
    padding: 36px 40px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    width: 100%;
    max-width: 400px;
}

.auth-title {
    font-family: var(--font-serif, Georgia, serif);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 6px;
}

.auth-sub {
    font-size: 13px;
    color: var(--warm, #6B7C8A);
    margin-bottom: 24px;
}

.auth-form .form-group {
    margin-bottom: 16px;
}

.auth-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.auth-footer {
    font-size: 13px;
    color: var(--warm, #6B7C8A);
    margin-top: 20px;
    text-align: center;
}

    .auth-footer a {
        color: #537FA6;
    }

.auth-forgot {
    text-align: right;
    margin-top: 8px;
    font-size: 12px;
}

.auth-forgot a {
    color: var(--warm, #6B7C8A);
}

/* ── Checkout: member greeting + create-account section ─────────────────── */
.member-greeting {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--warm, #6B7C8A);
    background: #E8F4E5;
    border: 1px solid #B8D9B2;
    border-radius: 3px;
    padding: 8px 14px;
    margin-bottom: 20px;
}

    .member-greeting svg {
        flex-shrink: 0;
        color: #3A7A2D;
    }

    .member-greeting strong {
        color: #3A7A2D;
    }

    .member-greeting a {
        color: #3A7A2D;
        font-weight: 500;
    }

.taxfree-notice {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #3A7A2D;
    background: #EBF6E8;
    border: 1px solid #B8D9B2;
    border-radius: 3px;
    padding: 8px 14px;
    margin-bottom: 20px;
}

    .taxfree-notice svg { flex-shrink: 0; }

.login-nudge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--warm, #6B7C8A);
    background: #F5F7F9;
    border: 1px solid #DDE3EB;
    border-radius: 3px;
    padding: 8px 14px;
    margin-bottom: 20px;
}

    .login-nudge svg {
        flex-shrink: 0;
    }

    .login-nudge a {
        color: #537FA6;
        font-weight: 500;
        text-decoration: none;
    }

        .login-nudge a:hover {
            text-decoration: underline;
        }

.create-account-section {
    border-top: 1px solid #DDE3EB;
}

.create-account-fields {
    margin-top: 16px;
}



.account-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    gap: 16px;
}

.account-title {
    font-size: 26px;
    font-weight: 400;
    font-family: var(--font-serif, Georgia, serif);
}

.account-email {
    color: var(--warm, #6B7C8A);
    font-size: 14px;
    margin-top: 4px;
}

.flash {
    padding: 10px 16px;
    border-radius: 3px;
    font-size: 13px;
    margin-bottom: 20px;
}

.flash-success {
    background: #E8F4E5;
    color: #3A7A2D;
    border: 1px solid #B8D9B2;
}

.flash-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.admin-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #434A51;
    color: #F5F7F9;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.admin-banner strong {
    display: block;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.admin-banner span {
    font-size: 12px;
    color: rgba(255,255,255,.65);
}

.admin-banner-links {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.admin-banner-links a {
    padding: 7px 16px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 2px;
    color: #F5F7F9;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

.admin-banner-links a:hover {
    background: rgba(255,255,255,.1);
}

.account-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

.account-section {
    background: white;
    border-radius: 4px;
    padding: 24px 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.account-section--full {
    grid-column: 1 / -1;
}

.account-section-title {
    font-size: 13px;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--warm, #6B7C8A);
    margin-bottom: 16px;
}

.account-section-desc {
    font-size: 13px;
    color: var(--warm, #6B7C8A);
    margin-bottom: 16px;
}

.account-empty {
    color: var(--warm, #6B7C8A);
    font-size: 14px;
}

.account-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .account-orders-table th {
        text-align: left;
        padding: 8px 12px;
        font-size: 11px;
        letter-spacing: .07em;
        text-transform: uppercase;
        color: var(--warm, #6B7C8A);
        border-bottom: 1px solid #DDE3EB;
    }

    .account-orders-table td {
        padding: 10px 12px;
        border-bottom: 1px solid #EEF2F7;
    }

    .account-orders-table tr:last-child td {
        border-bottom: none;
    }

.account-order-link {
    color: #537FA6;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
}

    .account-order-link:hover {
        text-decoration: underline;
    }

.downloads-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.downloads-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #DDE3EB;
}

    .downloads-item:last-child {
        border-bottom: none;
    }

.downloads-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.downloads-item-name {
    font-weight: 500;
    font-size: 15px;
}

.downloads-item-meta {
    font-size: 12px;
    color: #6B7C8A;
}

.downloads-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.status-pending {
    background: #FEF3C7;
    color: #92400E;
}

.status-paid {
    background: #E8F4E5;
    color: #3A7A2D;
}

.status-processing {
    background: #DDE8F5;
    color: #2D5E8A;
}

.status-shipped {
    background: #D8E8F5;
    color: #2D5E8A;
}

.status-completed {
    background: #E8F4E5;
    color: #3A7A2D;
}

.status-cancelled {
    background: #FEE2E2;
    color: #991B1B;
}

.account-address-form .form-group {
    margin-bottom: 14px;
}

.btn-outline {
    background: white;
    border: 1px solid var(--border);
    color: var(--ink);
    padding: 7px 16px;
    border-radius: 2px;
    font-size: 13px;
    cursor: pointer;
}

    .btn-outline:hover {
        background: var(--surface);
        color: var(--ink);
    }

@media (max-width: 700px) {
    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-section--full {
        grid-column: 1;
    }
}

/* ── Search autocomplete ─────────────────────────────────────── */
.header-search-wrap {
    position: relative;
}

.search-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 300px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 500;
    overflow: hidden;
}

.suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 13px;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid #EEF2F7;
    transition: background .1s;
}

.suggest-item.active,
.suggest-item:hover {
    background: var(--bg);
}

.suggest-thumb {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    background: var(--bg);
}

.suggest-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.suggest-name {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggest-price {
    font-size: 11px;
    color: var(--warm);
}

.suggest-all {
    display: block;
    padding: 8px 13px;
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    background: #FDFCFB;
    border-top: 1px solid var(--border);
}

.suggest-all:hover { text-decoration: underline; }

/* Large search on /search page */
.search-input-wrap {
    position: relative;
}

.search-suggest-page {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 500;
    overflow: hidden;
}

/* ── Google Translate ───────────────────────────────────────────────────── */

/* Suppress the intrusive top banner Google injects */
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }
.skiptranslate > iframe { display: none !important; }
.goog-te-gadget span  { display: none !important; }
.goog-logo-link       { display: none !important; }

/* Custom translate trigger */
.translate-wrap {
    position: relative;
}

.translate-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--ink);
    opacity: .75;
    transition: opacity .2s;
    font-size: 12px;
    font-family: var(--font-body);
    white-space: nowrap;
}
.translate-btn:hover { opacity: 1; }

.translate-active-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--accent);
    max-width: 48px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dropdown panel */
.translate-dropdown {
    /* position/top/right set inline by translateDrop JS — teleported to <body> */
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    padding: 12px;
    min-width: 260px;
}

.translate-dropdown-heading {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 10px;
    padding: 0 4px;
}

.translate-langs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.translate-lang-btn {
    text-align: left;
    background: none;
    border: none;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-family: var(--font-body);
    color: var(--ink);
    cursor: pointer;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.translate-lang-btn:hover  { background: var(--bg); }
.translate-lang-btn.active { background: var(--bg); font-weight: 600; color: var(--accent); }

/* ── Events ─────────────────────────────────────────────────────────────── */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; padding: 32px 0; }
.event-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.event-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.event-card--unavailable { opacity: .6; }
.event-card-img {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--surface);
    border-radius: var(--radius);
}
    .event-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity .3s, transform .4s var(--ease);
    }
.event-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.event-card-date { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; }
.event-card-title { font-size: 18px; font-weight: 700; margin: 0; }
.event-card-location { font-size: 13px; color: var(--warm); }
.event-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.event-card-price { font-size: 15px; font-weight: 700; }
.event-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.event-badge--open   { background: #f4e0f0; color: #7a3074; }
.event-badge--full   { background: #ffebee; color: #c62828; }
.event-badge--closed { background: #f5f5f5; color: #757575; }
.event-badge--low    { background: #fff8e1; color: #f57c00; }
.event-detail {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px 80px;
}
.event-meta { display: flex; flex-direction: column; flex-wrap: wrap; gap: 16px; margin: 16px 0 24px; }
.event-meta-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--warm); }
.event-spots { font-size: 13px; color: var(--warm); margin-top: 8px; }

.events-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.events-count {
    font-size: 13px;
    color: var(--warm);
}

.event-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-direction: column;
}

/* ── Content page blocks ──────────────────────────────────────────────────── */
.content-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px 80px;
}
.content-block { margin-bottom: 36px; }
.content-richtext { line-height: 1.75; }
.content-richtext h2 { font-family: var(--serif); font-size: 22px; margin: 28px 0 10px; }
.content-richtext h3 { font-size: 17px; font-weight: 600; margin: 20px 0 8px; }
.content-richtext p  { margin: 0 0 16px; }
.content-richtext ul, .content-richtext ol { padding-left: 24px; margin-bottom: 16px; }
.content-richtext li { margin-bottom: 6px; }
.content-richtext a  { color: var(--accent); text-decoration: underline; }
.content-richtext blockquote { border-left: 3px solid var(--accent); margin: 24px 0; padding: 8px 20px; color: var(--warm); font-style: italic; }
.content-image img { width: 100%; border-radius: var(--radius); display: block; }
.content-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); }
.content-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.content-video-direct { width: 100%; border-radius: var(--radius); }
.content-media-caption { font-size: 13px; color: var(--warm); margin-top: 8px; text-align: center; display: block; }

/* ── From Views/Account/Dashboard.cshtml ─────────────────────────────────── */
.order-badge { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 2px; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; vertical-align: middle; }
.badge-invoice { background: #434A51; color: #fff; }
.badge-digital { background: #DDE8F5; color: #2D5E8A; }
.badge-bundle  { background: #E8F4E5; color: #3A7A2D; }
.badge-event { background: #F4E0F0; color: #7A3074; }
.order-actions-cell { display: flex; gap: 12px; align-items: center; }
.account-order-link--invoice { color: #6B7C8A; font-size: 12px; }
.account-order-link--invoice:hover { color: #434A51; }

/* ── From Views/Account/OrderDetail.cshtml ───────────────────────────────── */
.order-detail-page { max-width: 960px; margin: 0 auto; padding: 40px 24px 80px; }
.order-detail-nav { margin-bottom: 20px; }
.order-back-link { font-size: 13px; color: #537FA6; text-decoration: none; }
.order-back-link:hover { text-decoration: underline; }
.order-detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.order-detail-title { font-size: 24px; font-weight: 400; font-family: var(--font-serif, Georgia, serif); }
.order-detail-title code { font-family: inherit; }
.order-detail-meta { font-size: 13px; color: var(--warm, #6B7C8A); margin-top: 4px; }
.order-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.order-detail-section { background: white; border-radius: 4px; padding: 24px 28px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.order-detail-section--full { grid-column: 1 / -1; }
.order-detail-section-title { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--warm, #6B7C8A); margin-bottom: 16px; }
.order-lines-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-lines-table th { text-align: left; padding: 8px 12px; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--warm, #6B7C8A); border-bottom: 1px solid #DDE3EB; }
.order-lines-table th.text-right, .order-lines-table td.text-right { text-align: right; }
.order-lines-table td { padding: 12px 12px; border-bottom: 1px solid #EEF2F7; vertical-align: top; }
.order-lines-table tbody tr:last-child td { border-bottom: 1px solid #DDE3EB; }
.line-product-name { display: block; font-weight: 500; }
.line-variant { display: block; font-size: 12px; color: var(--warm, #6B7C8A); margin-top: 2px; }
.line-digital { display: inline-block; padding: 1px 6px; border-radius: 2px; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: #DDE8F5; color: #2D5E8A; margin-left: 6px; vertical-align: middle; }
.line-event { display: inline-block; padding: 1px 6px; border-radius: 2px; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: #F4E0F0; color: #7A3074; margin-left: 6px; vertical-align: middle; }
.line-sku { font-size: 12px; color: var(--warm, #6B7C8A); }
.totals-row td { padding: 8px 12px; border-bottom: none; }
.totals-label { color: var(--warm, #6B7C8A); font-size: 13px; }
.totals-row--total td { padding-top: 12px; border-top: 1px solid #DDE3EB; }
.totals-row--vat td { font-size: 12px; color: var(--muted, #888); padding-top: 4px; border-top: 1px dashed #DDE3EB; }
.order-address { font-style: normal; font-size: 14px; line-height: 1.7; display: flex; flex-direction: column; }
.order-parcel-info { font-size: 13px; color: var(--warm, #6B7C8A); margin-top: 8px; }
.order-dl { font-size: 14px; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.order-dl dt { color: var(--warm, #6B7C8A); font-size: 12px; align-self: center; }
.order-dl dd { margin: 0; }
.order-notes-label { font-size: 12px; color: var(--warm, #6B7C8A); margin: 16px 0 4px; }
.order-notes { font-size: 14px; background: #F5F7F9; border-radius: 3px; padding: 10px 12px; }
.order-faktura-box { border-left: 3px solid #434A51; }
.order-faktura-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.order-faktura-number { font-size: 18px; font-weight: 600; margin-left: 10px; }
.order-faktura-download { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.order-faktura-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-bottom: 16px; }
.order-faktura-dl div { display: flex; flex-direction: column; gap: 2px; }
.order-faktura-dl dt { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--warm, #6B7C8A); }
.order-faktura-dl dd { margin: 0; font-weight: 500; }
.order-faktura-hint { font-size: 13px; color: var(--warm, #6B7C8A); background: #F5F7F9; border-radius: 3px; padding: 10px 14px; margin: 0; }
@media (max-width: 700px) {
    .order-detail-grid { grid-template-columns: 1fr; }
    .order-detail-section--full { grid-column: 1; }
    .order-detail-header { flex-direction: column; }
}
