/**
 * Lejecenter Theme Styles
 */

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
    /* Primary Colors - Blue Theme */
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-primary-light: #dbeafe;
    --color-primary-dark: #1e40af;
    
    /* Neutral Colors */
    --color-text: #1a1a1a;
    --color-text-secondary: #666;
    --color-text-muted: #6b7280;
    --color-text-light: #9ca3af;
    --color-text-dark: #111827;
    --color-text-disabled: #999;
    
    /* Background Colors */
    --color-bg: #fff;
    --color-bg-secondary: #f9fafb;
    --color-bg-tertiary: #f5f5f5;
    --color-bg-light: #f0f0f0;
    --color-bg-dark: #1a1a1a;
    --color-bg-darker: #2a2a2a;
    
    /* Border Colors */
    --color-border: #e5e7eb;
    --color-border-light: #e0e0e0;
    --color-border-dark: #d1d5db;
    
    /* Text Colors - Light/Dark Variants */
    --color-text-on-dark: #e0e0e0;
    --color-text-on-dark-muted: #b0b0b0;
    --color-text-on-dark-disabled: #999;
    
    /* Status Colors */
    --color-success: #10b981;
    --color-success-bg: #d4edda;
    --color-success-text: #155724;
    --color-error: #ef4444;
    --color-error-bg: #f8d7da;
    --color-error-text: #721c24;
    --color-warning: #f59e0b;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 4px 12px rgba(37, 99, 235, 0.15);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* Modern Font Stack - Inter for sharp rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
}

/* Site Header, Mega Menu, Dropdown: see "Hovedmenu v2" at the end of the file (UX-011). */

/* Site Main */
.site-main {
    min-height: calc(100vh - 200px);
}

/* Location Tag Cloud */
.location-cloud {
    margin: 2rem 0;
}

.location-section {
    margin-bottom: 2.5rem;
}

.location-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: baseline;
    line-height: 2;
}

.location-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--color-bg-light);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid var(--color-border);
    white-space: nowrap;
}

.location-tag:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Category Hero */
.category-hero {
    margin-bottom: 2.5rem;
    position: relative;
    border-radius: 12px 12px 12px 12px; /* All 4 corners rounded */
    overflow: hidden;
    background-color: #f8fafc; /* fallback hvis intet billede */
}

.category-hero--simple .category-hero__bg {
    position: absolute;
    inset: 0;
    filter: brightness(0.5); /* lettere filter ~50% */
    transform: scale(1.02);
}

.category-hero--simple .category-hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Gulv-heroen (v2/gulv-telt.jpg): to personer med hovederne øverst i billedet. Ved 1280 px er heroen en
   bred strimmel (1200 x 361), og center-beskæring skar hovederne af (Images, audit 2026-10-02, TASK-224). */
.category-hero--simple .category-hero__bg-image[src$="/gulv-telt.jpg"] {
    object-position: 50% 10%;
}

.category-hero__overlay {
    position: relative;
    padding: 2.75rem 1.5rem;
    /* Samme lyse overlay-stil som "Sådan hjælper vi" hero */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.65));
}

.category-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: flex-start;
}

.category-hero__left {
    color: var(--color-text);
}

.category-hero__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: var(--color-text-dark);
}

.category-hero__intro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 44rem;
}

.category-hero__intro p {
    margin: 0 0 0.75rem 0;
}

.category-hero__location-link {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Component: Category Description */
.category-description {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.category-description__content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    max-width: none;
}

.category-description__content p {
    margin-bottom: 1.25rem;
}

.category-description__content p:last-child {
    margin-bottom: 0;
}

/* Primær intro (altid synlig) */
.category-description__primary {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.25rem;
}

/* Sekundær forklaring (samme blok, mindre typografi) */
.category-description__secondary {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Beslutningshjælp som diskret callout nederst – 2 linjer */
.category-description__callout {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.category-description__callout-line1 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
}

.category-description__callout-label {
    font-weight: 600;
    color: #555;
    margin-right: 0.35em;
}

.category-description__bottom {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.category-description__bottom-left,
.category-description__bottom-right {
    flex: 1 1 0;
}

@media (max-width: 768px) {
    .category-description__bottom {
        flex-direction: column;
    }
}

.category-description__callout-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-description__callout-item {
    margin: 0;
}

.category-description__callout-link {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.category-description__callout-link:hover {
    border-color: var(--color-primary);
    background: #eef3ff;
}

.category-description__faq {
    /* inherits top border/padding from wrapper */
}

.category-description__faq-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #444;
}

.category-description__faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-description__faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    background: #fff;
}

.category-description__faq-question {
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.category-description__faq-item[open] .category-description__faq-question {
    margin-bottom: 0.35rem;
}

.category-description__faq-answer {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
}

.category-description__callout-subtext {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}

.category-description__location-link {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
}

.category-description__location-link:hover {
    text-decoration: none;
}

/* Component: Category Trust */
.category-trust {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.category-trust__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    color: var(--color-text);
    text-align: center;
}

.category-trust__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-trust__item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.category-trust__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.category-trust__icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb, 74, 144, 226), 0.1) 0%, rgba(var(--color-primary-rgb, 74, 144, 226), 0.05) 100%);
    border-radius: 12px;
    color: var(--color-primary);
    flex-shrink: 0;
    padding: 0.75rem;
}

.category-trust__icon i {
    font-size: 1.75rem;
}

.category-trust__content {
    flex: 1;
}

.category-trust__number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.category-trust__text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.category-trust__subtext {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.category-trust__rating-info {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
}

.category-trust__rating {
    margin-bottom: 0.5rem;
}

.category-trust__rating-stars {
    font-size: 2rem;
    font-weight: 700;
    color: #f59e0b;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.category-trust__rating-stars::before {
    content: '⭐';
    font-size: 1.75rem;
    line-height: 1;
    display: inline-block;
}

@media (max-width: 768px) {
    .category-description {
        padding: 2rem;
    }
    
    .category-description__content {
        font-size: 1rem;
    }
    
    .category-trust {
        padding: 2rem;
    }
    
    .category-trust__title {
        font-size: 1.5rem;
    }
    
    .category-trust__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-trust__item {
        padding: 1.25rem;
    }
}

.category-hero__assist {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    max-width: 44rem;
}

.category-hero__assist-text {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    flex: 1;
}

.category-hero__assist-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-hero__assist-button:hover {
    background: var(--color-primary-hover, #357abd);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.category-hero__assist-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .category-hero__assist {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .category-hero__assist-text {
        text-align: center;
    }
    
    .category-hero__assist-button {
        width: 100%;
        justify-content: center;
    }
}

/* Category image (used in category-location template) */
.category-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
    /* Border-radius handled by parent .category-hero container */
}

.category-assist {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-bg-secondary);
}

.category-assist__title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.category-assist__text {
    margin: 0.35rem 0 0.85rem;
    color: var(--color-text-secondary);
}

.category-assist__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.2rem;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.category-assist__button:hover {
    background: var(--color-primary-hover);
    box-shadow: var(--shadow-primary);
}

.category-assist__button:active {
    transform: translateY(1px);
}

.category-agent-panel {
    margin-top: 1rem;
    width: 50%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.category-agent-panel[hidden] {
    display: none !important;
}

@media (max-width: 768px) {
    .category-agent-panel {
        width: 100%;
        max-width: 100%;
    }
}

/* Intro Text */
.intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--color-bg-secondary);
    border-left: 4px solid var(--color-primary);
    border-radius: 4px;
}

/* SEO Text */
.seo-text {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Products List - Legacy (kept for backwards compatibility) */
.products-list {
    margin: 2rem 0;
}

.products-list h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.product-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-bg);
    transition: box-shadow 0.2s ease;
}

.product-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.product-item h3 a {
    color: var(--color-primary);
    text-decoration: none;
}

.product-item h3 a:hover {
    text-decoration: underline;
}

.product-item .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-primary);
    margin: 0.5rem 0;
}

.product-item .vendor {
    color: var(--color-text-secondary);
    margin: 0.5rem 0;
}

.product-item .button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: var(--color-bg);
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    transition: background-color 0.2s ease;
}

.product-item .button:hover {
    background-color: var(--color-primary-hover);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Homepage hero with agent form */
.homepage-hero--with-agent {
    text-align: left;
}

.homepage-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    align-items: stretch;
}

.homepage-hero__left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.homepage-hero__right {
    align-self: stretch;
}

/* Compact agent hero card (shared) */
.agent-hero-card {
    background: var(--color-bg);
    border-radius: 8px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
    border: 2px solid rgba(148, 163, 184, 0.4);
}

.agent-hero-card__title {
    margin: 0 0 0.35rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}

.agent-hero-card__intro {
    margin: 0 0 1.2rem 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.agent-hero-card__form {
    margin: 0;
}

.agent-hero-card__steps {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.agent-hero-card__group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.agent-hero-card__group--two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 0.8rem;
}

.agent-hero-card__group--compact {
    margin-top: 0.2rem;
}

.agent-hero-card__group--step-spacing {
    margin-top: 0.75rem;
}

.agent-hero-card__step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
}

.agent-hero-card__optional {
    font-weight: 400;
    color: var(--color-text-light);
}

.agent-hero-card__field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.agent-hero-card__label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.agent-hero-card__input,
.agent-hero-card__textarea {
    width: 100%;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    font-size: 0.85rem;
    font-family: inherit;
    box-sizing: border-box;
    background-color: var(--color-bg);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.agent-hero-card__input:focus,
.agent-hero-card__textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
}

.agent-hero-card__textarea {
    resize: vertical;
    min-height: 70px;
}

.agent-hero-card__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.agent-hero-card__options--wrap {
    row-gap: 0.35rem;
}

.agent-hero-card__options--inline {
    flex-wrap: nowrap;
}

.agent-hero-card__chip,
.agent-hero-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.agent-hero-card__chip input,
.agent-hero-card__pill input {
    display: none;
}

.agent-hero-card__chip span,
.agent-hero-card__pill span {
    display: inline-block;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-secondary);
    transition: all 0.15s ease;
}

.agent-hero-card__chip input:checked + span,
.agent-hero-card__pill input:checked + span {
    border-color: var(--color-primary);
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

.agent-hero-card__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.agent-hero-card__checkbox input[type="checkbox"] {
    margin-top: 0.15rem;
}

.agent-hero-card__checkbox a {
    color: var(--color-primary);
    text-decoration: underline;
}

.agent-hero-card__submit {
    width: 100%;
    margin-top: 0.9rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    background-color: var(--color-primary);
    color: var(--color-bg);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.agent-hero-card__submit:hover:not(:disabled) {
    background-color: var(--color-primary-hover);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.agent-hero-card__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.agent-hero-card__message {
    margin-top: 0.8rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
}

.agent-hero-card__message.success {
    background-color: var(--color-success-bg);
    color: var(--color-success-text);
    border: 1px solid var(--color-success);
}

.agent-hero-card__message.error {
    background-color: var(--color-error-bg);
    color: var(--color-error-text);
    border: 1px solid var(--color-error);
}

.agent-hero-card__microcopy {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-align: center;
}

/* Agent stepper */
.agent-hero-card__progress {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
    justify-content: center;
}

.agent-hero-card__dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background-color: var(--color-border);
    transition: all 0.15s ease;
}

.agent-hero-card__dot--active {
    width: 18px;
    background-color: var(--color-primary);
}

.agent-hero-card__step {
    display: none;
}

.agent-hero-card__step--active {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.agent-hero-card__footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.agent-hero-card__button {
    border-radius: var(--radius-md);
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.agent-hero-card__button--primary {
    background-color: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
}

.agent-hero-card__button--primary:hover {
    background-color: var(--color-primary-hover);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.agent-hero-card__button--ghost {
    background-color: transparent;
    color: var(--color-text-secondary);
    border-color: var(--color-border);
}

.agent-hero-card__button--ghost:hover {
    background-color: var(--color-bg-secondary);
}

/* Component: Product Card */
.product-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-bg);
    transition: all 0.2s ease;
    min-height: 0;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--color-border-dark);
    transform: translateY(-2px);
}

.product-card__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    flex-shrink: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card__title a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card__title a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.product-card__price {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin: 0;
}

.product-card__vendor {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card__location {
    color: var(--color-text-light);
}

.product-card__button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    background-color: var(--color-primary);
    color: var(--color-bg);
    text-decoration: none;
    border-radius: 0.375rem;
    margin-top: auto;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
}

.product-card__button:hover {
    background-color: var(--color-primary-hover);
}

/* Component: Product Grid */
.product-grid {
    width: 100%;
    max-width: 75rem;
    margin: 2rem auto;
    padding: 0 1rem;
}

.product-grid__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: var(--color-text-dark);
}

.product-grid__items {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.product-grid__items > * {
    flex: 1 1 100%;
    min-width: 0;
}

@media (min-width: 30rem) {
    .product-grid__items > * {
        flex: 1 1 calc(50% - 0.625rem);
    }
}

@media (min-width: 48rem) {
    .product-grid__items > * {
        flex: 1 1 calc(33.333% - 0.833rem);
    }
}

@media (min-width: 75rem) {
    .product-grid__items > * {
        flex: 1 1 calc(25% - 0.938rem);
    }
}

/* Component: Category Card */
.category-card {
    border: 2px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--color-bg);
    transition: box-shadow 0.2s ease;
    margin-bottom: 2rem;
}

.category-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-card__image {
    width: 100%;
    overflow: hidden;
}

.category-card__image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    display: block;
}

.category-card__content {
    padding: 1.5rem;
}

.category-card__title {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.category-card__title a {
    color: var(--color-primary);
    text-decoration: none;
}

.category-card__title a:hover {
    text-decoration: underline;
}

.category-card__headline {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.category-card__intro {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.category-card__stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.category-card__stat {
    padding: 0.25rem 0.5rem;
    background-color: var(--color-bg-light);
    border-radius: 4px;
}

.category-card__button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: var(--color-bg);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.category-card__button:hover {
    background-color: var(--color-primary-hover);
}

/* Component: Vendor List */
.vendor-list {
    margin: 2rem 0;
}

.vendor-list__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.vendor-list__items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .vendor-list__items {
        grid-template-columns: 1fr;
    }
}

.vendor-list__item {
    margin: 0;
    /* Avoid content-visibility: auto here — paint containment clips upward tooltips on badges. */
}

.vendor-list__item .vendor-card {
    margin: 0;
    padding: 1.25rem;
}

.vendor-list__item .vendor-card__header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    gap: 1rem;
}

.vendor-list__item .vendor-card__logo {
    width: 56px;
    height: 56px;
}

.vendor-list__item .vendor-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.vendor-list__item .vendor-card__tagline {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.vendor-list__item .vendor-card__description {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.vendor-list__item .vendor-card__description p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vendor-list__item .vendor-card__link {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.vendor-list__link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.vendor-list__link:hover {
    text-decoration: underline;
}

.vendor-list__location {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    display: block;
    margin-top: 0.25rem;
}

/* Component: Geography Select */
.geography-select {
    margin: 2rem 0;
}

.geography-select__section {
    margin-bottom: 2.5rem;
}

.geography-select__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.geography-select__tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    line-height: 1.5;
}

.geography-select__tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--color-bg-light);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid var(--color-border);
    white-space: nowrap;
}

/* Card-based styling for regions */
.geography-select__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.geography-select__card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--color-bg-light);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.2s ease;
}

.geography-select__card:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.geography-select__card-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    margin-top: 2px;
}

.geography-select__card:hover .geography-select__card-icon {
    color: var(--color-bg);
}

.geography-select__card-content {
    flex: 1;
    min-width: 0;
}

.geography-select__card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .geography-select__cards {
        grid-template-columns: 1fr;
    }
}

.geography-select__tag:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Component: Subcategories List */
.subcategories-list {
    margin: 4rem 0;
}

.subcategories-list__header {
    margin-bottom: 2.5rem;
}

.subcategories-list__title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
}

.subcategories-list__context {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.subcategories-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.subcategories-list__card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 160px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.subcategories-list__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #4a90e2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.subcategories-list__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary);
    text-decoration: none;
    color: var(--color-text);
}

.subcategories-list__card:hover::before {
    transform: scaleX(1);
}

.subcategories-list__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb, 74, 144, 226), 0.1) 0%, rgba(var(--color-primary-rgb, 74, 144, 226), 0.05) 100%);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.subcategories-list__card:hover .subcategories-list__card-icon {
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb, 74, 144, 226), 0.15) 0%, rgba(var(--color-primary-rgb, 74, 144, 226), 0.1) 100%);
    transform: scale(1.05);
}

.subcategories-list__card-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.subcategories-list__card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 auto 0;
    line-height: 1.4;
    color: var(--color-text);
    flex-grow: 1;
}

.subcategories-list__card-arrow {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.subcategories-list__card:hover .subcategories-list__card-arrow {
    transform: translateX(4px);
}

/* Image-rich variant for subcategory cards (when any subcategory has image_url) */
.subcategories-list__grid--image {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.subcategories-list__card--image {
    padding: 0;
    min-height: auto;
}

.subcategories-list__card--image::before {
    display: none;
}

.subcategories-list__card-img {
    height: 160px;
    overflow: hidden;
    background: var(--color-bg-light, #f1f5f9);
    border-radius: 12px 12px 0 0;
}

.subcategories-list__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.subcategories-list__card--image:hover .subcategories-list__card-img img {
    transform: scale(1.05);
}

.subcategories-list__card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb, 74, 144, 226), 0.08) 0%, rgba(var(--color-primary-rgb, 74, 144, 226), 0.03) 100%);
}

.subcategories-list__card-placeholder svg {
    width: 3rem;
    height: 3rem;
}

.subcategories-list__card-body {
    padding: 1rem 1.25rem 1.25rem;
}

.subcategories-list__card-body .subcategories-list__card-title {
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
}

.subcategories-list__card-headline {
    font-size: 0.85rem;
    color: var(--color-text-secondary, #666);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .subcategories-list__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .subcategories-list__grid--image {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .subcategories-list__card {
        padding: 1.75rem;
        min-height: 140px;
    }

    .subcategories-list__card--image {
        padding: 0;
        min-height: auto;
    }

    .subcategories-list__card-img {
        height: 120px;
    }

    .subcategories-list__title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .subcategories-list__grid--image {
        grid-template-columns: 1fr 1fr;
    }
}

/* Component: Category Pricing – én boks om hele sektionen (overskrift + indhold) */
.category-pricing {
    margin: 3rem 0;
    padding: 2rem 2.5rem 2.5rem 2.5rem;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-pricing:hover {
    border-color: rgba(var(--color-primary-rgb, 74, 144, 226), 0.35);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.category-pricing__details {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-pricing__details:hover {
    border-color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.category-pricing__details[open] {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.category-pricing__summary {
    cursor: pointer;
    list-style: none;
    padding: 2rem 2.5rem;
    transition: background-color 0.2s ease;
}

.category-pricing__summary::-webkit-details-marker {
    display: none;
}

.category-pricing__summary::after {
    content: '+';
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    line-height: 1;
}

.category-pricing__details[open] .category-pricing__summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.category-pricing__summary:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.category-pricing__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
    padding-right: 3rem;
}

.category-pricing__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb, 74, 144, 226), 0.1) 0%, rgba(var(--color-primary-rgb, 74, 144, 226), 0.05) 100%);
    border-radius: 12px;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.category-pricing__icon i {
    font-size: 2rem;
    line-height: 1;
}

.category-pricing__details:hover .category-pricing__icon {
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb, 74, 144, 226), 0.15) 0%, rgba(var(--color-primary-rgb, 74, 144, 226), 0.1) 100%);
    transform: scale(1.05);
}

.category-pricing__title {
    font-size: 1.75rem;
    margin: 0;
    color: #212529;
    font-weight: 700;
}

.category-pricing__content {
    padding: 0;
    padding-top: 0.5rem;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 0;
}

/* Split layout: tekst + prisberegner side om side (fx festtelte) */
.category-pricing__content--split {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.category-pricing__content--split .category-pricing__text {
    flex: 1 1 50%;
    min-width: 260px;
}

.category-pricing__content--split .category-price-calculator {
    flex: 1 1 50%;
    min-width: 260px;
    margin-bottom: 0;
}

.category-pricing__content p {
    margin-bottom: 1rem;
}

.category-pricing__content p:last-child {
    margin-bottom: 0;
}

/* Tabeller i pris-sektionen (prisniveau / pris pr. kvm m.m.) */
.category-pricing__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.category-pricing__content thead th {
    background-color: #f1f3f5;
    font-weight: 600;
}

.category-pricing__content th,
.category-pricing__content td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #dee2e6;
    text-align: left;
}

.category-pricing__content tr:nth-child(even) td {
    background-color: #f8f9fa;
}

.category-pricing__content caption {
    caption-side: top;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: left;
    color: #212529;
}

.category-pricing__title a {
    color: inherit;
    text-decoration: none;
}

.category-pricing__title a:hover {
    color: var(--color-primary);
}

.category-pricing__teaser {
    margin-top: 0.75rem;
}

.category-pricing__teaser p {
    margin: 0 0 0.5rem;
    color: #495057;
    line-height: 1.6;
}

.category-pricing__teaser-link {
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.category-pricing__teaser-link:hover {
    text-decoration: underline;
}

.category-pricing__icon-inline {
    display: inline-flex;
    align-items: center;
    margin-right: 0.5rem;
    color: var(--color-primary);
    vertical-align: middle;
}

.category-pricing__icon-inline i {
    font-size: 1.1rem;
}

/* ── Pricing sub-page (/priser/) ─────────────────────────── */

.pricing-page {
    padding: 2rem 0 4rem;
}

.pricing-page__container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.pricing-page__header {
    margin-bottom: 2.5rem;
}

.pricing-page__title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.pricing-page__subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
}

.pricing-page__blocks {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pricing-block {
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e9ecef;
}

.pricing-block--icon {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--block-color, var(--color-primary));
}

.pricing-block__icon {
    flex-shrink: 0;
    color: var(--block-color, var(--color-primary));
    padding-top: 0.15rem;
}

.pricing-block__content {
    line-height: 1.75;
    color: #343a40;
}

.pricing-block__content strong {
    color: #1a1a2e;
}

.pricing-block--text {
    padding: 1rem 1.5rem;
}

.pricing-block--text p {
    margin: 0;
    line-height: 1.75;
    color: #495057;
}

.pricing-block--highlight {
    background: #f0f7ff;
    border-color: #bbd4f0;
    border-left: 4px solid #3b82f6;
}

.pricing-block--table {
    padding: 1.25rem 1.5rem;
}

.pricing-block__table-caption {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.75rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th {
    text-align: left;
    padding: 0.6rem 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #495057;
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.pricing-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #f0f1f3;
    color: #343a40;
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr:hover td {
    background: #f8f9fa;
}

.pricing-page__cta {
    margin-top: 2.5rem;
    text-align: center;
}

.pricing-page__empty {
    color: #6c757d;
    font-style: italic;
}

@media (max-width: 640px) {
    .pricing-page__title {
        font-size: 1.5rem;
    }

    .pricing-block--icon {
        flex-direction: column;
        gap: 0.5rem;
    }

    .pricing-block--table {
        padding: 0.75rem;
        overflow-x: auto;
    }
}

/* Inline price calculator – inden i den ydre pris-boks, uden egen ramme */
.category-price-calculator {
    margin-bottom: 0;
    padding: 0;
}

.category-price-calculator__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: #222;
}

.category-price-calculator__intro {
    font-size: 0.95rem;
    color: #555;
    margin: 0 0 1.25rem 0;
}

.category-price-calculator__grid {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.6fr);
    gap: 1.5rem;
    align-items: flex-start;
}

.category-price-calculator__field {
    margin-bottom: 1rem;
}

.category-price-calculator__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.35rem;
}

.category-price-calculator__range input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    z-index: 2;
}

/* Background track (unfilled portion) */
.category-price-calculator__range::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    pointer-events: none;
    z-index: 0;
}

.category-price-calculator__range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: -7px; /* Center the thumb vertically on the track */
}

.category-price-calculator__range input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.category-price-calculator__range {
    position: relative;
}

/* Background track (unfilled portion) */
.category-price-calculator__range::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    pointer-events: none;
    z-index: 0;
}

/* Filled portion using pseudo-element (updated by JavaScript via --range-progress) */
.category-price-calculator__range::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    width: var(--range-progress, 0%);
    background: var(--color-primary);
    border-radius: 3px 0 0 3px;
    pointer-events: none;
    z-index: 1;
}

.category-price-calculator__range input[type="range"] {
    position: relative;
    z-index: 2;
    background: transparent;
}

.category-price-calculator__range input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
    background: transparent;
}

.category-price-calculator__range input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: transparent;
}

.category-price-calculator__range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

.category-price-calculator__range-end {
    opacity: 0.8;
}

.category-price-calculator__range-current {
    font-weight: 700;
    color: var(--color-primary);
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    background-color: rgba(var(--color-primary-rgb, 74, 144, 226), 0.06);
    border: 1px solid rgba(var(--color-primary-rgb, 74, 144, 226), 0.25);
    min-width: 2.5rem;
    text-align: center;
}

.category-price-calculator__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-price-calculator__option {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.category-price-calculator__option:hover {
    border-color: rgba(var(--color-primary-rgb, 74, 144, 226), 0.4);
    background: #f0f4ff;
}

.category-price-calculator__option input {
    accent-color: var(--color-primary);
    cursor: pointer;
}

.category-price-calculator__option input:checked + span {
    color: var(--color-primary);
    font-weight: 600;
}

/* Modern browsers with :has() support */
.category-price-calculator__option:has(input:checked) {
    border-color: var(--color-primary);
    background: rgba(var(--color-primary-rgb, 74, 144, 226), 0.1);
    color: var(--color-primary);
    font-weight: 600;
}

/* Fallback class added by JavaScript for older browsers */
.category-price-calculator__option--checked {
    border-color: var(--color-primary);
    background: rgba(var(--color-primary-rgb, 74, 144, 226), 0.1);
    color: var(--color-primary);
    font-weight: 600;
}

.category-price-calculator__option--checked span {
    color: var(--color-primary);
    font-weight: 600;
}

.category-price-calculator__result {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb, 74, 144, 226), 0.06), rgba(var(--color-primary-rgb, 74, 144, 226), 0.02));
    border: 1px solid rgba(var(--color-primary-rgb, 74, 144, 226), 0.18);
}

.category-price-calculator__result-label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.35rem;
}

.category-price-calculator__result-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.category-price-calculator__result-note {
    font-size: 0.8rem;
    color: #666;
    margin: 0.35rem 0 0 0;
}

@media (max-width: 768px) {
    .category-price-calculator__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .category-pricing {
        padding: 1.5rem 1.5rem 2rem 1.5rem;
    }

    .category-pricing__header {
        padding-right: 0;
    }

    .category-pricing__title {
        font-size: 1.5rem;
    }
}

/* Component: Category FAQ */
.category-faq {
    margin: 3rem 0;
}

.category-faq__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    font-weight: 700;
}

.category-faq__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-faq__item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.category-faq__item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-faq__item[open] {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.category-faq__question {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    padding: 1.25rem 1.5rem;
    margin: 0;
    color: var(--color-text);
    position: relative;
    padding-right: 3rem;
    transition: color 0.2s ease;
}

.category-faq__question::-webkit-details-marker {
    display: none;
}

.category-faq__question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.category-faq__item[open] .category-faq__question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.category-faq__item:hover .category-faq__question {
    color: var(--color-primary);
}

.category-faq__answer {
    margin: 0;
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

.category-faq__more {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-faq__show-more {
    margin-top: 1rem;
    padding: 0.875rem 1.75rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.category-faq__show-more:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Component: Category Decision Help */
.category-decision-help {
    margin: 3rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-decision-help__card {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.category-decision-help__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.category-decision-help__title {
    font-size: 1.5rem;
    margin: 0 0 1.25rem 0;
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.3;
}

.category-decision-help__subtitle {
    font-size: 1.3rem;
    margin: 0 0 1.25rem 0;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.3;
}

.category-decision-help__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-decision-help__item {
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

.category-decision-help__item::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.category-decision-help__item:last-child {
    margin-bottom: 0;
}

/* Component: Category Decision Filters */
.category-decision-filters {
    margin: 2.5rem 0;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-bg-secondary);
}

.category-decision-filters__title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--color-text);
}

.category-decision-filters__active {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}

.category-decision-filters__active-label {
    font-weight: 600;
    color: var(--color-text);
}

.category-decision-filters__clear {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.category-decision-filters__clear:hover {
    text-decoration: underline;
}

.category-decision-filters__groups {
    display: grid;
    gap: 1rem;
}

.category-decision-filters__group-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.category-decision-filters__items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-decision-filters__item {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    text-decoration: none;
    color: var(--color-text);
    background: var(--color-bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.category-decision-filters__item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.category-decision-filters__item.is-active {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    font-weight: 600;
}

@media (max-width: 768px) {
    .category-decision-help {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-decision-help__card {
        padding: 1.75rem;
    }
    
    .category-pricing {
        padding: 2rem;
    }
    
    .category-faq__title {
        font-size: 1.75rem;
    }
}

/* Component: Category Hero */
.category-hero {
    margin-bottom: 2rem;
    position: relative;
}

.category-hero__image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.category-hero__img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.category-hero__content {
    /* Content styling */
}

.category-hero__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.category-hero__intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Component: Breadcrumbs */
.breadcrumbs {
    margin-bottom: 1.5rem;
}

.breadcrumbs__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
}

.breadcrumbs__item:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--color-text-disabled);
}

.breadcrumbs__link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumbs__link:hover {
    text-decoration: underline;
}

.breadcrumbs__current {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Component: Category Stats */
.category-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    padding: 0;
}

.category-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 100px;
}

.category-stats__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.category-stats__label {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .category-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .category-stats__number {
        font-size: 2rem;
    }
    
    .category-stats__label {
        font-size: 0.9rem;
    }
}

/* Component: Pagination */
.pagination {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.pagination__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination__item {
    display: flex;
    align-items: center;
}

.pagination__link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-primary);
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pagination__link:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
}

.pagination__current {
    display: block;
    padding: 0.5rem 1rem;
    background-color: var(--color-primary);
    color: var(--color-bg);
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    font-weight: 500;
}

.pagination__item--ellipsis {
    padding: 0.5rem;
    color: var(--color-text-disabled);
}

/* Component: Related Products */
.related-products {
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.related-products h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.related-categories__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.related-categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .tag-cloud,
    .geography-select__tag-cloud {
        gap: 0.5rem;
    }
    
    .location-tag,
    .geography-select__tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.9em !important;
    }
    
    .category-image {
        max-height: 250px;
    }
    
    .container {
        padding: 1rem;
    }
    
    .product-grid__items {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .vendor-list__items {
        gap: 1.25rem;
    }
    
    .category-hero__title {
        font-size: 1.5rem;
    }
    
    .category-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .related-categories__grid {
        grid-template-columns: 1fr;
    }
    
    .pagination__list {
        flex-wrap: wrap;
    }
}

/* Site Footer */
.site-footer {
    background-color: var(--color-text);
    color: var(--color-text-on-dark);
    margin-top: 4rem;
}

/* Pre-footer Navigation */
.footer-pre-nav {
    background-color: var(--color-bg-darker);
    padding: 4rem 0;
    border-bottom: 1px solid #3a3a3a;
}

.footer-pre-nav__grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-pre-nav__section {
    /* Section container */
}

.footer-pre-nav__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-bg);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
}

/* Geographic Areas */
.footer-geography__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.footer-geography__item {
    margin: 0;
}

.footer-geography__link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--color-text-on-dark);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.footer-geography__link:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
    transform: translateX(4px);
}

.footer-geography__empty {
    color: var(--color-text-disabled);
    font-size: 0.9rem;
}

/* Statistics */
.footer-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.footer-stats__item {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: var(--color-text);
    border-radius: 8px;
    border: 1px solid #3a3a3a;
    transition: all 0.2s ease;
}

.footer-stats__item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

.footer-stats__number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.footer-stats__label {
    font-size: 0.85rem;
    color: var(--color-text-disabled);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Category Navigation */
.footer-categories__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-categories__column {
    /* Column container */
}

.footer-categories__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-categories__item {
    margin-bottom: 1.25rem;
}

.footer-categories__link {
    display: block;
    color: var(--color-text-on-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.footer-categories__link--parent {
    color: var(--color-bg);
    font-weight: 600;
}

.footer-categories__link:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.footer-categories__sublist {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    padding-left: 1rem;
}

.footer-categories__subitem {
    margin-bottom: 0.5rem;
}

.footer-categories__sublink {
    display: block;
    color: var(--color-text-on-dark-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-categories__sublink:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

/* Main Footer */
.footer-main {
    background-color: var(--color-text);
    padding: 2rem 0;
    border-top: 1px solid #3a3a3a;
}

.footer-main__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-main__brand {
    flex: 1;
    min-width: 250px;
}

.footer-main__logo {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-bg);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.footer-main__logo:hover {
    color: var(--color-primary);
}

.footer-main__tagline {
    color: var(--color-text-disabled);
    font-size: 0.9rem;
    margin: 0;
}

.footer-main__disclaimer {
    flex: 1;
    min-width: min(300px, 100%); /* TASK-137: 300px alone pushed the footer 12px past a 320px screen */
    max-width: 600px;
}

.footer-main__disclaimer-text {
    color: var(--color-text-disabled);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.footer-main__trust {
    flex: 1;
    min-width: 220px;
    max-width: 340px;
}

.footer-main__trust-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-disabled);
    margin: 0 0 0.25rem;
}

.footer-main__trust-insurer {
    font-weight: 700;
    color: var(--color-bg);
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.footer-main__trust-heading {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-bg);
    margin: 0 0 0.5rem;
}

.footer-main__trust-text {
    color: var(--color-text-disabled);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.footer-main__trust-link {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer-main__trust-link:hover {
    color: var(--color-bg);
}

.footer-main__meta {
    text-align: right;
}

.footer-main__copyright {
    color: var(--color-text-disabled);
    font-size: 0.85rem;
    margin: 0;
}

/* Sub Footer */
.footer-sub {
    background-color: var(--color-bg-darker);
    padding: 1rem 0;
    border-top: 1px solid #3a3a3a;
}

.footer-sub__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-sub__nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-sub__link {
    color: var(--color-text-disabled);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-sub__link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer-sub__contact {
    color: var(--color-text-disabled);
    font-size: 0.85rem;
    margin: 0;
}

.footer-sub__contact a {
    color: var(--color-text-disabled);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-sub__contact a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-pre-nav__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-categories__nav {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-pre-nav {
        padding: 3rem 0;
    }
    
    .footer-geography__list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main__content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-main__meta {
        text-align: center;
    }
    
    .footer-sub__content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-sub__nav {
        justify-content: center;
    }
}

/* Product Page Layout */
.product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr 400px;
        gap: 3rem;
    }
}

/* Product Info (Left) */
.product-info {
    min-width: 0;
}

/* Product Facts Box */
.product-facts-box {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.facts-table {
    width: 100%;
    border-collapse: collapse;
}

.facts-table td {
    padding: 0.75rem 0;
    vertical-align: top;
}

.facts-table td:first-child {
    width: 40%;
    font-weight: 600;
    color: var(--color-text-dark);
}

.facts-table td:last-child {
    color: var(--color-text);
}

/* Product Description */
.product-description {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.product-description p {
    margin: 0;
}

/* Vendor Card */
.vendor-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    /* Ensure tooltips can overlay neighboring cards in grids */
    position: relative;
    z-index: 0;
}

/* Cover image for vendor cards with cover_image_url */
.vendor-card--has-cover {
    padding-top: 0;
    overflow: hidden;
}

.vendor-card__cover {
    margin: 0 -2rem;
    height: 180px;
    overflow: hidden;
    background: var(--color-bg-light, #f1f5f9);
}

.vendor-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.vendor-card--has-cover:hover .vendor-card__cover img {
    transform: scale(1.03);
}

.vendor-card--has-cover .vendor-card__header {
    padding-top: 1.5rem;
}

.vendor-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    z-index: 20;
}

/* Header */
.vendor-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-border);
}

.vendor-card__header-left {
    display: flex;
    gap: 1rem;
    flex: 1;
    align-items: flex-start;
}

.vendor-card__logo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    border: 2px solid var(--color-border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendor-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.vendor-card__title-group {
    flex: 1;
}

.vendor-card__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.vendor-card__title a {
    color: var(--color-text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.vendor-card__title a:hover {
    color: var(--color-primary);
}

.vendor-card__tagline {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
    font-style: italic;
}

.vendor-card__location {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vendor-card__location-icon {
    font-size: 1rem;
    cursor: help;
    transition: color 0.15s ease;
}

.vendor-card__location-icon:hover {
    color: var(--color-primary);
}

.vendor-card__header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
}


.vendor-card__tooltip {
    position: relative;
}

.vendor-card__tooltip:hover,
.vendor-card__tooltip:focus-visible {
    /* Above sibling icons and below nothing in header; above .vendor-card (z-index 0 / hover 20). */
    z-index: 50;
}

.vendor-card__tooltip::before,
.vendor-card__tooltip::after {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.vendor-card__tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, 4px);
    background: #0f172a;
    color: #ffffff;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
    z-index: 60;
}

.vendor-card__tooltip::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translate(-50%, 4px);
    border-width: 6px;
    border-style: solid;
    border-color: #0f172a transparent transparent transparent;
    z-index: 59;
}

.vendor-card__tooltip:hover::before,
.vendor-card__tooltip:hover::after,
.vendor-card__tooltip:focus-visible::before,
.vendor-card__tooltip:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}


.vendor-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.vendor-card__verifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.vendor-card__verification {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    font-size: 1rem;
    line-height: 1;
    cursor: help;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.vendor-card__verification:hover {
    background-color: #eff6ff;
    border-color: #93c5fd;
    box-shadow: 0 6px 14px rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

.vendor-card__badge {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vendor-card__badge--verified {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

.vendor-card__badge--featured {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

/* Description */
.vendor-card__description {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.vendor-card__description p {
    margin: 0;
    line-height: 1.7;
    color: var(--color-text);
    font-size: 1rem;
}

/* Section titles */
.vendor-card__section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0 0 1rem 0;
}

/* Reviews */
.vendor-card__reviews {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.vendor-card__reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.vendor-card__review-platform {
    background: var(--color-bg-secondary);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
}

.vendor-card__review-platform:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vendor-card__review-platform-name {
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vendor-card__review-platform-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.vendor-card__review-platform-stars {
    font-size: 1rem;
    color: #f59e0b;
    letter-spacing: 1px;
}

.vendor-card__review-platform-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.vendor-card__review-platform-count {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.vendor-card__review-platform-link {
    font-size: 0.85rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.vendor-card__review-platform-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* USPs */
.vendor-card__usps {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.vendor-card__usps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vendor-card__usp-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.vendor-card__usp-icon {
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.vendor-card__usp-text {
    flex: 1;
}

/* Services */
.vendor-card__services {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.vendor-card__services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.vendor-card__services-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}


.vendor-card__service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    font-size: 1rem;
    line-height: 1;
    cursor: help;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.vendor-card__service-icon:hover {
    background-color: #e0f2fe;
    border-color: #7dd3fc;
    box-shadow: 0 6px 14px rgba(14, 165, 233, 0.2);
    transform: translateY(-1px);
}

.vendor-card__service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    font-weight: 500;
}

/* Certifications */
.vendor-card__certifications {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.vendor-card__certifications-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.vendor-card__cert-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 500;
}

/* Products */
.vendor-card__products {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.vendor-card__products-count {
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.vendor-card__products-count strong {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.vendor-card__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.vendor-card__category-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #065f46;
    font-weight: 500;
}

/* Footer */
.vendor-card__footer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vendor-card__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.vendor-card__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.vendor-card__contact-item:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vendor-card__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vendor-card__products-note {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    text-align: center;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
}

.vendor-card__link {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 1rem 1.5rem;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.vendor-card__link:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .vendor-card {
        padding: 1.5rem;
        border-radius: 8px;
    }
    
    .vendor-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .vendor-card__header-left {
        width: 100%;
    }
    
    .vendor-card__header-right {
        width: 100%;
        align-items: flex-start;
    }
    
    .vendor-card__rating-badge {
        width: 100%;
        min-width: auto;
    }
    
    .vendor-card__badges {
        justify-content: flex-start;
        width: 100%;
    }

    .vendor-card__verifications {
        justify-content: flex-start;
        width: 100%;
    }
    
    .vendor-card__title {
        font-size: 1.5rem;
    }
    
    .vendor-card__reviews-grid {
        grid-template-columns: 1fr;
    }

    .vendor-card__services {
        flex-direction: column;
        align-items: flex-start;
    }

    
    .vendor-card__contact {
        flex-direction: column;
    }
    
    .vendor-card__contact-item {
        width: 100%;
        justify-content: center;
    }
}

/* Source Link */
.source-link {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.source-link a {
    color: var(--color-primary);
    text-decoration: none;
}

.source-link a:hover {
    text-decoration: underline;
}

/* Product Contact (Right) */
.product-contact {
    position: sticky;
    top: 2rem;
    align-self: start;
}

/* Lead Form Container - Styled Box */
.lead-form-container {
    background: var(--color-primary-light);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
    position: relative;
    overflow: hidden;
}

.lead-form-container h2 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.lejecenter-lead-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.lejecenter-lead-form p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.lejecenter-lead-form label {
    font-weight: 500;
    color: var(--color-text-dark);
    font-size: 0.9rem;
}

.lejecenter-lead-form input[type="text"],
.lejecenter-lead-form input[type="email"],
.lejecenter-lead-form input[type="tel"],
.lejecenter-lead-form input[type="date"],
.lejecenter-lead-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
}

.lejecenter-lead-form input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    margin-right: 0.5rem;
}

.lejecenter-lead-form label[for="lead-gdpr"] {
    font-weight: normal;
    cursor: pointer;
}

.lejecenter-lead-form input[type="text"]:focus,
.lejecenter-lead-form input[type="email"]:focus,
.lejecenter-lead-form input[type="tel"]:focus,
.lejecenter-lead-form input[type="date"]:focus,
.lejecenter-lead-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-bg);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.lejecenter-lead-form textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.lejecenter-lead-form .button {
    padding: 0.875rem 1.75rem;
    background-color: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
    margin-top: 0.25rem;
}

.lejecenter-lead-form .button:hover:not(:disabled) {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
}

.lejecenter-lead-form .button:active:not(:disabled) {
    transform: translateY(0);
}

.lejecenter-lead-form .button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.lead-form-message {
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-weight: 500;
}

.lead-form-message.success {
    background-color: var(--color-success-bg);
    color: var(--color-success-text);
    border: 1px solid #c3e6cb;
}

.lead-form-message.error {
    background-color: var(--color-error-bg);
    color: var(--color-error-text);
    border: 1px solid #f5c6cb;
}

/* Platform product page */
.platform-product-page {
    margin: 2rem auto;
}

.platform-product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    padding: 2rem;
    border-radius: 16px;
    background: #f6f7fb;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.platform-product-hero__subtitle {
    font-size: 1.1rem;
    color: #4a4a4a;
}

.platform-product-hero__price {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #111827;
}

.platform-product-hero__cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.platform-product-hero__cta-note {
    font-size: 0.9rem;
    color: #555;
}

.platform-product-hero__cta-note--small {
    font-size: 0.82rem;
    color: #6b7280;
}

.platform-product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.platform-product-gallery__item img {
    width: 100%;
    border-radius: 8px;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.platform-product-section {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
}

.platform-product-section--split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.platform-product-section--compact {
    padding: 0;
    box-shadow: none;
    background: transparent;
}

.platform-product-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.platform-product-card {
    padding: 1.5rem 1.75rem;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.platform-product-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12);
    background: #f8fafc;
}

.platform-product-card--split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.platform-product-card-header,
.platform-product-fit-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.platform-product-card-icon,
.platform-product-fit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #fff;
}

.platform-product-card--includes .platform-product-card-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.platform-product-fit-card--yes .platform-product-fit-icon {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.platform-product-fit-card--no .platform-product-fit-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.platform-product-fit-card {
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.platform-product-fit-card--yes:hover {
    border-color: #86efac;
    box-shadow: 0 6px 14px rgba(34, 197, 94, 0.12);
}

.platform-product-fit-card--no:hover {
    border-color: #fca5a5;
    box-shadow: 0 6px 14px rgba(239, 68, 68, 0.12);
}

.platform-product-fit-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.platform-product-fit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.platform-product-fit-list li i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    font-size: 0.75rem;
}

.platform-product-fit-card--yes .platform-product-fit-list li i {
    color: #16a34a;
}

.platform-product-fit-card--no .platform-product-fit-list li i {
    color: #dc2626;
}

.platform-product-includes-intro {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

.platform-product-list--includes {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.platform-product-list--includes li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.platform-product-list--includes li i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #2563eb;
}

.platform-product-list {
    margin: 0.75rem 0 0;
    padding-left: 1.2rem;
}

.platform-product-list li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.platform-product-list--dense {
    margin-top: 0.5rem;
}

.platform-product-list--dense li {
    margin-bottom: 0.35rem;
}

.platform-product-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.platform-product-feature {
    display: flex;
    gap: 0.65rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
    flex-direction: row;
    align-items: flex-start;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.platform-product-feature:hover {
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
}

/* Colored left border accent per feature type */
.platform-product-feature[data-feature="people"] { border-left: 3px solid #6366f1; }
.platform-product-feature[data-feature="speaker"] { border-left: 3px solid #0ea5e9; }
.platform-product-feature[data-feature="bluetooth"] { border-left: 3px solid #3b82f6; }
.platform-product-feature[data-feature="power"] { border-left: 3px solid #f59e0b; }
.platform-product-feature[data-feature="setup_time"] { border-left: 3px solid #10b981; }
.platform-product-feature[data-feature="indoor"] { border-left: 3px solid #ec4899; }
.platform-product-feature[data-feature="price"] { border-left: 3px solid #22c55e; }
.platform-product-feature[data-feature="calendar"] { border-left: 3px solid #f97316; }

.platform-product-feature__icon {
    flex-shrink: 0;
}

.platform-product-feature__icon .platform-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #fff;
}

/* Per-feature icon accent colors */
.platform-product-feature[data-feature="people"] .platform-feature-icon { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }
.platform-product-feature[data-feature="speaker"] .platform-feature-icon { background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%); }
.platform-product-feature[data-feature="bluetooth"] .platform-feature-icon { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.platform-product-feature[data-feature="power"] .platform-feature-icon { background: linear-gradient(135deg, #f59e0b 0%, #eab308 100%); }
.platform-product-feature[data-feature="setup_time"] .platform-feature-icon { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.platform-product-feature[data-feature="indoor"] .platform-feature-icon { background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%); }
.platform-product-feature[data-feature="price"] .platform-feature-icon { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.platform-product-feature[data-feature="calendar"] .platform-feature-icon { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
.platform-product-feature:not([data-feature]) .platform-feature-icon,
.platform-product-feature[data-feature=""] .platform-feature-icon { background: linear-gradient(135deg, #64748b 0%, #475569 100%); }

.platform-product-feature__label {
    font-weight: 600;
    font-size: 1rem;
    color: #111827;
    line-height: 1.3;
}

.platform-product-feature__detail {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.2rem;
    line-height: 1.4;
}

.platform-product-addons {
    display: grid;
    gap: 1rem;
}

.platform-product-addon {
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #eef1f5;
    background: #f9fafb;
}

/* Trust section styling */
.platform-product-section--trust {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
}

.platform-product-trust {
    max-width: 100%;
}

.platform-product-trust__title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.platform-product-trust__intro {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #475569;
    margin: 0 0 0.75rem;
}

.platform-product-trust__criteria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.platform-product-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.platform-product-trust-item__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 0.875rem;
}

.platform-product-trust-item__text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #475569;
    margin: 0;
}

.platform-product-trust-item__text strong {
    color: #1e293b;
    font-weight: 600;
}

@media (max-width: 768px) {
    .platform-product-trust__criteria {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .platform-product-trust-item {
        padding: 0.4rem 0;
    }
}

.platform-booking-form {
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.platform-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.platform-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
}

.platform-form-grid input,
.platform-form-grid textarea {
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.platform-form-grid input:focus,
.platform-form-grid textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

.platform-form-full {
    grid-column: 1 / -1;
}

.platform-form-span-2 {
    grid-column: span 2;
}

@media (max-width: 1100px) {
    .platform-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .platform-form-grid {
        grid-template-columns: 1fr;
    }
}

.platform-form-section {
    margin-top: 1.5rem;
}

.platform-form-section__title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.platform-form-accordion {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.platform-form-step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.platform-form-step__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #374151;
    font-size: 0.8rem;
}

.platform-form-step--active {
    color: #111827;
    border-color: #111827;
    background: #ffffff;
}

.platform-form-step--complete {
    color: #166534;
}
.platform-form-panel {
    display: none;
    padding: 0.75rem 0.25rem 0.25rem;
}

.platform-form-panel--active {
    display: block;
}

.platform-form-step--active .platform-form-step__index {
    background: #111827;
    color: #ffffff;
}

.platform-form-step--complete .platform-form-step__index {
    background: #bbf7d0;
    color: #166534;
}

.platform-form-options {
    display: grid;
    gap: 0.5rem;
}

.platform-form-option {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.platform-form-option__content {
    display: grid;
    gap: 0.2rem;
}

.platform-form-option__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.platform-option-price {
    font-size: 0.85rem;
    color: #111827;
    background: #f3f4f6;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
}

.platform-form-option input[type="radio"],
.platform-form-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #111827;
}

.platform-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

.platform-next-button {
    border: 1px solid #e5e7eb;
    background: #111827;
    color: #ffffff;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.platform-next-button:hover {
    background: #0b1220;
}

.platform-form-option:hover {
    border-color: #c7d2fe;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12);
    background: #f8fafc;
}

.platform-form-option input[type="radio"]:checked,
.platform-form-option input[type="checkbox"]:checked {
    outline: none;
}

.platform-form-option input[type="radio"]:checked + .platform-form-option__content .platform-addon-title,
.platform-form-option input[type="checkbox"]:checked + .platform-form-option__content .platform-addon-title {
    color: #111827;
}

.platform-form-option input[type="radio"]:checked + .platform-form-option__content .platform-addon-desc,
.platform-form-option input[type="checkbox"]:checked + .platform-form-option__content .platform-addon-desc {
    color: #374151;
}

.platform-addon-title {
    font-weight: 600;
}

.platform-addon-desc {
    font-size: 0.88rem;
    color: #6b7280;
}

.platform-extra-day {
    margin-top: 0.75rem;
    display: grid;
    gap: 0.25rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
}

.platform-form-hint {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.platform-pickup-list {
    display: grid;
    gap: 0.75rem;
}

.platform-pickup-item {
    display: flex;
    gap: 0.75rem;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 0.75rem;
    align-items: center;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.platform-pickup-item__content {
    flex: 1;
    display: grid;
    gap: 0.35rem;
}

.platform-pickup-item__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.platform-pickup-item:hover {
    border-color: #c7d2fe;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12);
}

.platform-pickup-item--selected {
    border-color: #2563eb;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
    background: #f8fafc;
}

.platform-pickup-item__name {
    font-weight: 600;
}

.platform-pickup-item__area {
    font-size: 0.9rem;
    color: #4b5563;
}

.platform-pickup-item__distance {
    font-size: 0.85rem;
    color: #6b7280;
}

.platform-pickup-item__address {
    font-size: 0.9rem;
    color: #555;
}

.platform-pickup-item__info {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.4;
    margin-top: 0.35rem;
}

.platform-pickup-item__name-link {
    color: inherit;
    text-decoration: none;
}

.platform-pickup-item__name-link:hover {
    text-decoration: underline;
}

.platform-pickup-item__link {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.88rem;
    color: #2563eb;
}

.platform-vendor-badge {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: #ecfdf3;
    color: #166534;
}

.platform-form-summary {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 10px;
    background: #f3f4f6;
}

.platform-form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
}

.platform-form-message.success {
    background: #d4edda;
    color: #155724;
}

.platform-form-message.error {
    background: #f8d7da;
    color: #721c24;
}

.platform-product-cta {
    text-align: center;
}

.platform-product-cta .button,
.platform-product-hero__cta .button,
.platform-booking-form .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0.75rem 1.3rem;
    font-weight: 600;
    border-radius: 12px;
    background: #111827;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.18);
}

.platform-product-hero__cta .button:hover,
.platform-booking-form .button:hover {
    background: #0b1220;
}

@media (max-width: 860px) {
    .platform-product-hero {
        grid-template-columns: 1fr;
    }

    .platform-product-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .product-contact {
        position: static;
    }
    
    .lead-form-container {
        padding: 1.25rem;
        margin: 1.5rem 0;
        max-width: 100%;
    }
    
    .lead-form-container h2 {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }
    
    .lejecenter-lead-form {
        gap: 0.875rem;
    }
    
    .lejecenter-lead-form .button {
        width: 100%;
    }
}

/* ============================================
   HOMEPAGE STYLES - BLUE COLOR SCHEME
   ============================================ */

/* Hero Section */
.homepage-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    padding: 4rem 1rem;
    text-align: center;
}

.homepage-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.homepage-hero__subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin: 0 0 1.5rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.homepage-hero__search-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0 0 0.35rem 0;
}

/* Search Bar */
.homepage-search {
    max-width: 800px;
    margin: 0 auto;
}

.homepage-search__fields {
    display: flex;
    gap: 0.75rem;
    background: var(--color-bg);
    border-radius: 12px;
    padding: 0.4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.homepage-search__field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
    position: relative;
}

.homepage-search__field:focus-within {
    background: var(--color-bg);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.homepage-search__icon {
    flex-shrink: 0;
    color: var(--color-text-muted);
    width: 20px;
    height: 20px;
}

.homepage-search__field:focus-within .homepage-search__icon {
    color: var(--color-primary);
}

.homepage-search__input,
.homepage-search__select {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--color-text);
    outline: none;
    width: 100%;
    font-family: inherit;
    cursor: pointer;
}

.homepage-search__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 2rem;
}

.homepage-search__input::placeholder {
    color: var(--color-text-light);
}

.homepage-search__field--location {
    min-width: 200px;
}

.homepage-search__location-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: auto;
}

.homepage-search__location-btn:hover {
    background: var(--color-primary);
    color: var(--color-bg);
}

.homepage-search__location-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.homepage-search__button {
    padding: 0.65rem 1.4rem;
    background: var(--color-text);
    color: var(--color-bg);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.homepage-search__button:hover {
    background: var(--color-text-secondary);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Få hjælp til festplanlægningen */
.homepage-festplan {
    padding: 3rem 1rem 4rem;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt, #f8fafc) 100%);
}
.homepage-festplan__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 0.5rem 0;
    text-align: center;
}
.homepage-festplan__intro {
    text-align: center;
    color: var(--color-text-secondary);
    margin: 0 0 2rem 0;
    font-size: 1.05rem;
}
.homepage-festplan__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}
.homepage-festplan__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}
.homepage-festplan__card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}
.homepage-festplan__card-icon {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}
.homepage-festplan__card-icon i {
    font-size: 1.5rem;
}
.homepage-festplan__card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
}
.homepage-festplan__card-desc {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Categories Section */
.homepage-categories {
    padding: 4rem 1rem;
    background: var(--color-bg);
}

.homepage-categories__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 2rem 0;
    text-align: center;
}

.homepage-categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.homepage-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.homepage-category-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.homepage-category-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    width: 64px;
    height: 64px;
    margin: 0 auto;
}

.homepage-category-card__icon svg {
    width: 100%;
    height: 100%;
}

.homepage-category-card__name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    text-align: center;
}

/* Category Masonry Layout - Using CSS Columns for true masonry */
.category-masonry {
    column-count: 4;
    column-gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-masonry__item {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    break-inside: avoid;
    page-break-inside: avoid;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    vertical-align: top;
}

.category-masonry__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
    border-color: var(--color-primary);
}

/* Square items (default) */
.category-masonry__item--square {
    aspect-ratio: 1;
    min-height: 280px;
}

/* Vertical items - taller */
.category-masonry__item--vertical {
    aspect-ratio: 0.75;
    min-height: 400px;
}

/* Horizontal items - wider */
.category-masonry__item--horizontal {
    aspect-ratio: 2;
    min-height: 200px;
}

/* Wide items - large */
.category-masonry__item--wide {
    aspect-ratio: 1.5;
    min-height: 400px;
}

/* Image styling */
.category-masonry__image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--color-bg-secondary);
}

.category-masonry__item--square .category-masonry__image,
.category-masonry__item--vertical .category-masonry__image,
.category-masonry__item--horizontal .category-masonry__image,
.category-masonry__item--wide .category-masonry__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.category-masonry__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-masonry__item:hover .category-masonry__image img {
    transform: scale(1.05);
}

.category-masonry__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* Content styling */
.category-masonry__content {
    position: relative;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1;
}

.category-masonry__item--with-image .category-masonry__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    padding: 2rem 1.5rem 1.5rem;
}

.category-masonry__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    width: 64px;
    height: 64px;
    margin: 0 auto 0.5rem;
}

.category-masonry__icon svg {
    width: 100%;
    height: 100%;
}

.category-masonry__item--with-image .category-masonry__icon {
    color: #fff;
}

.category-masonry__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
}

.category-masonry__item--with-image .category-masonry__title {
    color: #fff;
}

.category-masonry__text {
    margin-top: 0.5rem;
}

.category-masonry__headline,
.category-masonry__intro {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: var(--color-text-muted);
}

.category-masonry__item--with-image .category-masonry__headline,
.category-masonry__item--with-image .category-masonry__intro {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .category-masonry {
        column-count: 3;
    }
}

@media (max-width: 1024px) {
    .category-masonry {
        column-count: 3;
        column-gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .category-masonry {
        column-count: 2;
        column-gap: 1rem;
    }
    
    .category-masonry__item {
        min-height: 180px;
        margin-bottom: 1rem;
    }
    
    .category-masonry__item--square {
        min-height: 180px;
    }
    
    .category-masonry__item--vertical {
        min-height: 280px;
    }
    
    .category-masonry__item--horizontal {
        min-height: 160px;
    }
    
    .category-masonry__item--wide {
        min-height: 280px;
    }
    
    .category-masonry__content {
        padding: 1.25rem;
    }
    
    .category-masonry__item--with-image .category-masonry__content {
        padding: 1.5rem 1.25rem 1.25rem;
    }
    
    .category-masonry__title {
        font-size: 1.1rem;
    }
    
    .category-masonry__icon {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 600px) {
    .homepage-festplan__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .category-masonry {
        column-count: 1;
        column-gap: 1rem;
    }
    
    .homepage-festplan__grid {
        grid-template-columns: 1fr;
    }
}

/* Featured Vendors Section */
.homepage-featured-vendors {
    padding: 3rem 1rem 4rem;
}

.homepage-featured-vendors__title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.25rem;
}

.homepage-featured-vendors__subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.homepage-featured-vendors__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.homepage-featured-vendor {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}

.homepage-featured-vendor:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.homepage-featured-vendor__cover {
    height: 180px;
    overflow: hidden;
}

.homepage-featured-vendor__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-featured-vendor__info {
    padding: 1rem;
}

.homepage-featured-vendor__name {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.homepage-featured-vendor__location {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.homepage-featured-vendor__desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .homepage-featured-vendors__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .homepage-featured-vendors__grid {
        grid-template-columns: 1fr;
    }
}

/* Stats Section */
.homepage-stats {
    padding: 4rem 1rem;
    background: var(--color-bg-secondary);
    text-align: center;
}

.homepage-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.homepage-stats__item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.homepage-stats__number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.homepage-stats__label {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.homepage-stats__note {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.homepage-features {
    padding: 4rem 1rem;
    background: var(--color-bg);
}

.homepage-features__intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.homepage-features__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 1rem 0;
}

.homepage-features__description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}

.homepage-features__list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.homepage-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.homepage-feature__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.homepage-feature__icon svg {
    width: 20px;
    height: 20px;
}

.homepage-feature__text {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 500;
}

/* Popular Areas Section */
.homepage-areas {
    padding: 4rem 1rem;
    background: var(--color-bg-secondary);
}

.homepage-areas__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.homepage-areas__subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0 0 2.5rem 0;
    text-align: center;
}

.homepage-areas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.homepage-area-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.homepage-area-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.homepage-area-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-area-card__icon svg {
    width: 24px;
    height: 24px;
}

.homepage-area-card__content {
    flex: 1;
}

.homepage-area-card__name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 0.25rem 0;
}

.homepage-area-card__count {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Agent Request Section */
.homepage-agent {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.homepage-agent__content {
    max-width: 800px;
    margin: 0 auto;
}

.homepage-agent__intro {
    text-align: center;
    margin-bottom: 3rem;
}

.homepage-agent__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 1rem 0;
}

.homepage-agent__description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}

.homepage-agent__form {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.homepage-agent__fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.homepage-agent__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.homepage-agent__field--full {
    grid-column: 1 / -1;
}

.homepage-agent__label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}

.homepage-agent__input,
.homepage-agent__textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--color-bg);
    color: var(--color-text);
    box-sizing: border-box;
}

.homepage-agent__input:focus,
.homepage-agent__textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.homepage-agent__textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.homepage-agent__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.homepage-agent__checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
    cursor: pointer;
}

.homepage-agent__checkbox a {
    color: var(--color-primary);
    text-decoration: underline;
}

.homepage-agent__button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.homepage-agent__button:hover:not(:disabled) {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.homepage-agent__button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.homepage-agent__message {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 500;
}

.homepage-agent__message.success {
    background-color: var(--color-success-bg);
    color: var(--color-success-text);
    border: 1px solid var(--color-success);
}

.homepage-agent__message.error {
    background-color: var(--color-error-bg);
    color: var(--color-error-text);
    border: 1px solid var(--color-error);
}

/* Responsive Homepage */
@media (max-width: 768px) {
    .homepage-hero {
        padding: 3rem 1rem;
    }
    
    .homepage-hero__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .homepage-hero__title {
        font-size: 2rem;
    }
    
    .homepage-hero__subtitle {
        font-size: 1rem;
    }
    
    .homepage-search__fields {
        flex-direction: column;
    }
    
    .homepage-search__button {
        width: 100%;
    }
    
    .homepage-festplan__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .homepage-categories__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .homepage-category-card {
        padding: 1.25rem 0.75rem;
    }
    
    .homepage-category-card__icon {
        font-size: 2rem;
    }
    
    .homepage-category-card__name {
        font-size: 0.875rem;
    }
    
    .homepage-stats__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .homepage-stats__number {
        font-size: 2.5rem;
    }
    
    .homepage-features__list {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .homepage-areas__grid {
        grid-template-columns: 1fr;
    }
    
    .homepage-agent {
        padding: 3rem 1rem;
    }
    
    .homepage-agent__title {
        font-size: 1.75rem;
    }
    
    .homepage-agent__description {
        font-size: 1rem;
    }
    
    .homepage-agent__form {
        padding: 2rem 1.5rem;
    }
    
    .homepage-agent__fields {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* Search Results Form */
.search-results__form {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.search-results__form-fields {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.search-results__form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-results__form-field--location {
    min-width: 200px;
}

.search-results__form-input,
.search-results__form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-bg);
    color: var(--color-text);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.search-results__form-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.search-results__form-input:focus,
.search-results__form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-results__form-input::placeholder {
    color: var(--color-text-light);
}

.search-results__form-button {
    padding: 0.875rem 2rem;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    height: fit-content;
}

.search-results__form-button:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .search-results__form-fields {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-results__form-button {
        width: 100%;
    }
}

/* ============================================
   VENDOR PAGE - Premium 2-Column Layout
   ============================================ */

/* 0) Topbar */
.vendor-topbar {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.vendor-topbar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vendor-topbar__back {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.vendor-topbar__back:hover {
    color: var(--color-primary);
}

.vendor-topbar__actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.vendor-topbar__action {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vendor-topbar__action:hover {
    background: var(--color-bg-secondary);
    border-color: var(--color-primary);
}

.vendor-topbar__action--primary {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.vendor-topbar__action--primary:hover {
    background: var(--color-primary-hover);
}

/* Main Layout Container */
.vendor-page {
    background: var(--color-bg-secondary);
    min-height: calc(100vh - 200px);
}

.vendor-page__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
}

/* Left Column (65%) */
.vendor-page__left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Right Column (35%) - Sticky */
.vendor-page__right {
    position: sticky;
    top: 80px;
    align-self: start;
}

/* 1) Hero Section */
.vendor-hero {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.vendor-hero--has-cover {
    padding-top: 0;
    overflow: hidden;
}

.vendor-hero__cover {
    margin: 0 -2rem;
    height: 240px;
    overflow: hidden;
    background: var(--color-bg-light, #f1f5f9);
}

.vendor-hero__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vendor-hero--has-cover .vendor-hero__content {
    padding-top: 1.5rem;
}

.vendor-hero__title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.vendor-hero__location {
    font-weight: 400;
    color: var(--color-text-secondary);
    font-size: 1.5rem;
}

.vendor-hero__pitch {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.vendor-hero__usps {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vendor-hero__usps li {
    color: var(--color-text);
    font-size: 0.95rem;
}

.vendor-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.vendor-trust-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.vendor-trust-chip:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.vendor-trust-chip--verified {
    background: #d4edda;
    border-color: var(--color-success);
    color: var(--color-success-text);
}

.vendor-trust-chip--featured {
    background: #fff3cd;
    border-color: var(--color-warning);
    color: #856404;
}

/* 2) Sections */
.vendor-section {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.vendor-section__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: var(--color-text-dark);
}

/* Overview Grid */
.vendor-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start; /* Align items to start so they don't stretch */
}

@media (max-width: 1024px) {
    .vendor-overview-item--areas {
        grid-column: 1 / -1;
    }
}

.vendor-overview-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    min-width: 0; /* Allow flex items to shrink below content size */
}

.vendor-overview-item > div {
    min-width: 0; /* Allow text to wrap properly */
    flex: 1;
}

.vendor-overview-item__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.vendor-overview-item i {
    color: var(--color-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
}

.vendor-overview-item strong {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
}

.vendor-overview-item__value {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.vendor-overview-item--areas {
    grid-column: 1 / -1;
}

.vendor-overview-item__value--areas {
    max-height: 10.5em; /* ~6-7 lines with line-height 1.5 (7 * 1.5 * 1.0625rem ≈ 11.15em) */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    word-break: break-word;
}

.vendor-overview-item__notes {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    display: block;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.vendor-overview-item--areas {
    grid-column: 1 / -1;
}

.vendor-overview-item__value--areas {
    max-height: 7.5em; /* ~6-7 lines with line-height 1.4 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    word-break: break-word;
}

/* Specialties & Editorial */
.vendor-specialties {
    margin-bottom: 2rem;
}

.vendor-specialties__title,
.vendor-editorial__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--color-text-dark);
}

.vendor-specialties__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.vendor-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--color-text);
}

.vendor-tag--link {
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.vendor-tag--link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.vendor-tag--large {
    padding: 0.625rem 1.25rem;
    font-size: 0.95rem;
}

.vendor-specialties__desc {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.vendor-editorial {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.vendor-editorial p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0 0 0.75rem 0;
}

/* Ops Grid */
.vendor-ops-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.vendor-ops-check {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #d4edda;
    border: 1px solid var(--color-success);
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--color-success-text);
}

.vendor-ops-note {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin: 0.5rem 0 0 0;
}

/* Certifications */
.vendor-certifications {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vendor-certifications li {
    padding: 0.5rem 0;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.vendor-certifications li:last-child {
    border-bottom: none;
}

.vendor-certifications__note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin: 0;
}

/* Categories & Products */
.vendor-categories {
    margin-bottom: 1.5rem;
}

.vendor-categories__subtitle {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--color-text-dark);
}

.vendor-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.vendor-button:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.vendor-button--secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.vendor-button--secondary:hover {
    background: var(--color-primary-light);
}

.vendor-button--ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.vendor-button--ghost:hover {
    background: var(--color-bg-secondary);
    border-color: var(--color-border-dark);
}

.vendor-button--full {
    width: 100%;
}

.vendor-products-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.vendor-product-compact {
    padding: 1rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.vendor-product-compact__link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text);
}

.vendor-product-compact__link strong {
    color: var(--color-primary);
    font-size: 0.95rem;
}

.vendor-product-compact__price {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* Reviews Summary */
.vendor-reviews-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vendor-review-item {
    padding: 1rem;
    background: var(--color-bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.vendor-review-item a {
    color: var(--color-primary);
    text-decoration: none;
    margin-left: 0.5rem;
}

.vendor-review-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.vendor-section--contact {
    margin-top: 1rem;
}

.vendor-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.vendor-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.vendor-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vendor-form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
}

.vendor-form-group input,
.vendor-form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.vendor-form-group input:focus,
.vendor-form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Opgavefeltet: fri tekst i stedet for afkrydsning (TASK-074) */
.agent-hero-card__textarea {
    min-height: 6.5rem;
    resize: vertical;
    line-height: 1.5;
    font-family: inherit;
}

.agent-hero-card__examples {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.agent-hero-card__examples-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.agent-hero-card__example {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.8125rem;
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.agent-hero-card__example:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
}

.homepage-hero__browse {
    margin: 1.5rem 0 0;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.homepage-hero__browse a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Prisfakta på kategorisider (TASK-053) */
.price-facts {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.price-facts__title {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    color: var(--color-text-dark);
}

.price-facts__intro {
    margin: 0 0 1.25rem;
    line-height: 1.6;
    color: var(--color-text);
}

.price-facts__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg);
    border-radius: 6px;
    overflow: hidden;
}

.price-facts__table th,
.price-facts__table td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
}

.price-facts__table th {
    background: var(--color-bg-tertiary);
    font-weight: 600;
    white-space: nowrap;
}

.price-facts__table tr:last-child td {
    border-bottom: none;
}

.price-facts__source {
    margin: 1rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--color-text-muted);
}

@media (max-width: 640px) {
    .price-facts { padding: 1rem; }
    .price-facts__table th,
    .price-facts__table td { padding: 0.5rem 0.4rem; font-size: 0.8125rem; }
    /* TASK-183: the table scrolls inside its box, never the page; amounts stay on one line */
    .price-facts { overflow-x: auto; }
    .price-facts__table th { white-space: normal; }
    .price-facts__unit { display: block; }
    .price-facts__table td:nth-child(2),
    .price-facts__table td:nth-child(3),
    .price-facts__table td:nth-child(4) { white-space: nowrap; }
    .price-facts__table td:nth-child(5) { min-width: 6.5rem; }
}

/* Mobile price rows (UX G1, 2026-10-03): the five-column table (Vare / lav / midt / høj / priser bag tallet) was 415-539 px in a
   307 px frame at 375, so "Midt i markedet" sat off screen. Under 640 px each row is stacked: the item on top, then lav / midt / høj
   side by side with their headings, and "priser bag tallet" as small print. Same HTML, CSS only; the winter table (kW columns) keeps its layout. */
@media (max-width: 640px) {
    .price-facts:not(.price-facts--winter) .price-facts__table thead {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
    }
    .price-facts:not(.price-facts--winter) .price-facts__table,
    .price-facts:not(.price-facts--winter) .price-facts__table tbody { display: block; width: 100%; }
    .price-facts:not(.price-facts--winter) .price-facts__table tr {
        display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.15rem 0.5rem;
        padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--color-border);
    }
    .price-facts:not(.price-facts--winter) .price-facts__table tr:last-child { border-bottom: 0; }
    .price-facts:not(.price-facts--winter) .price-facts__table td {
        display: block; padding: 0; border: 0; min-width: 0; white-space: normal; font-size: 0.9375rem;
    }
    .price-facts:not(.price-facts--winter) .price-facts__table td:nth-child(1) { grid-column: 1 / -1; font-weight: 600; }
    .price-facts:not(.price-facts--winter) .price-facts__table td:nth-child(1) .price-facts__unit { display: inline; font-weight: 400; color: var(--color-text-muted); }
    .price-facts:not(.price-facts--winter) .price-facts__table td:nth-child(n+2):nth-child(-n+4)::before {
        display: block; font-size: 0.6875rem; font-weight: 400; color: var(--color-text-muted);
    }
    .price-facts:not(.price-facts--winter) .price-facts__table td:nth-child(2)::before { content: "Typisk lav"; }
    .price-facts:not(.price-facts--winter) .price-facts__table td:nth-child(3)::before { content: "Midt i markedet"; }
    .price-facts:not(.price-facts--winter) .price-facts__table td:nth-child(4)::before { content: "Typisk høj"; }
    .price-facts:not(.price-facts--winter) .price-facts__table td:nth-child(5) {
        grid-column: 1 / -1; font-size: 0.75rem; color: var(--color-text-muted); margin-top: 0.1rem;
    }
}

/* Two price spans (TASK-1270, A-20261003-36): the guides' tables say "Typisk lav/høj" (10-90 %) or "Halvdelen fra/til" (25-75 %); the stacked phone rows
   carry the same words as the desktop headings, per table (--half) or per row in a table that mixes the two (:has). The explanation is the table's tfoot. */
.price-facts__table tfoot td { font-size: 0.8125rem; font-weight: 400; color: var(--color-text-muted); text-align: left; }
.price-facts__table.afk-table--compact tfoot td:last-child { white-space: normal; }   /* afklaring.css keeps the last column on one line */
@media (max-width: 640px) {
    .price-facts:not(.price-facts--winter) .price-facts__table--half td:nth-child(2)::before,
    .price-facts:not(.price-facts--winter) .price-facts__table tr:has(.price-facts__span--half) td:nth-child(2)::before { content: "Halvdelen fra"; }
    .price-facts:not(.price-facts--winter) .price-facts__table--half td:nth-child(4)::before,
    .price-facts:not(.price-facts--winter) .price-facts__table tr:has(.price-facts__span--half) td:nth-child(4)::before { content: "Halvdelen til"; }
    .price-facts:not(.price-facts--winter) .price-facts__table tfoot { display: block; }
    .price-facts:not(.price-facts--winter) .price-facts__table tfoot tr { display: block; border-top: 1px solid var(--color-border); padding: 0.5rem 0.5rem 0; }
    .price-facts:not(.price-facts--winter) .price-facts__table tfoot td { display: block; font-weight: 400; font-size: 0.75rem; color: var(--color-text-muted); }
}

/* Agent CTA — sitets primære handling (TASK-048) */
.agent-cta {
    margin: 3rem 0;
    padding: 2rem 0;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.agent-cta__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.agent-cta__title {
    margin: 0 0 0.75rem;
    font-size: 1.75rem;
    line-height: 1.2;
    color: var(--color-text-dark);
}

.agent-cta__intro {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
}

.agent-cta__steps {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.agent-cta__step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.agent-cta__step-number {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-cta__note {
    margin: 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.homepage-hero__steps {
    list-style: none;
    /* Centered block, left-aligned items: numbers must sit next to their text,
       not at the far edge of a centered hero. */
    margin: 1.5rem auto 0;
    padding: 0;
    max-width: 26rem;
    text-align: left;
    counter-reset: hero-step;
}

.homepage-hero__steps li {
    counter-increment: hero-step;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.6rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.homepage-hero__steps li::before {
    content: counter(hero-step);
    position: absolute;
    left: 0;
    top: 0.05rem;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 860px) {
    .agent-cta__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .agent-cta__title {
        font-size: 1.375rem;
    }
}

/* Source notice on unverified vendor profiles (TASK-041) */
.vendor-source-notice {
    margin: 0 0 1.5rem;
    padding: 0.875rem 1rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-warning);
    border-radius: 6px;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--color-text);
}

.vendor-source-notice a {
    white-space: nowrap;
}

/* Vendor direct contact (replaces lead forms) */
.vendor-direct-contact__title {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.vendor-direct-contact__note {
    margin: 1rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.vendor-form-message {
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.vendor-form-message.success {
    background: var(--color-success-bg);
    color: var(--color-success-text);
    border: 1px solid var(--color-success);
}

.vendor-form-message.error {
    background: var(--color-error-bg);
    color: var(--color-error-text);
    border: 1px solid var(--color-error);
}

/* Footer */
.vendor-footer {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.vendor-footer__item {
    display: flex;
    gap: 0.5rem;
}

.vendor-footer__item strong {
    color: var(--color-text);
}

.vendor-footer__item a {
    color: var(--color-primary);
    text-decoration: none;
}

.vendor-footer__item a:hover {
    text-decoration: underline;
}

.vendor-footer__report {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-decoration: none;
}

.vendor-footer__report:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Right Column - CTA Card */
.vendor-cta-card {
    background: var(--color-primary-light);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
    border: 2px solid rgba(37, 99, 235, 0.2);
    position: sticky;
    top: 80px;
}

.vendor-cta-card__tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.3);
}

.vendor-cta-card__tab {
    flex: 1;
    padding: 0.75rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -1px;
}

.vendor-cta-card__tab:hover {
    color: var(--color-primary);
}

.vendor-cta-card__tab--active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.vendor-cta-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1.25rem 0;
    color: var(--color-text-dark);
}

.vendor-cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vendor-cta-form__step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vendor-cta-form__step-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.vendor-cta-form__step-actions .vendor-button--ghost {
    flex: 0 0 auto;
}

.vendor-cta-form__step-actions .vendor-button--full {
    flex: 1;
}

.vendor-cta-form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vendor-cta-form__group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
}

.vendor-cta-form__group input,
.vendor-cta-form__group textarea {
    padding: 0.75rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--color-bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vendor-cta-form__group input:focus,
.vendor-cta-form__group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.vendor-cta-form__expand {
    margin-top: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-size: 0.75rem;
    cursor: pointer;
    text-align: left;
}

.vendor-cta-form__expand:hover {
    text-decoration: underline;
}

.vendor-cta-form__note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    margin: 0;
}

/* Contact Tab */
.vendor-cta-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vendor-cta-contact__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-bg-secondary);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.2s ease;
}

.vendor-cta-contact__item:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.vendor-cta-contact__item--hours {
    flex-direction: column;
    align-items: flex-start;
}

.vendor-cta-contact__icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .vendor-page__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vendor-page__right {
        position: static;
        order: -1;
    }
    
    .vendor-cta-card {
        position: static;
    }
    
    .vendor-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vendor-overview-item--areas {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .vendor-hero__title {
        font-size: 1.5rem;
    }
    
    .vendor-hero__location {
        font-size: 1.25rem;
    }
    
    .vendor-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .vendor-form-row {
        grid-template-columns: 1fr;
    }
    
    .vendor-products-compact {
        grid-template-columns: 1fr;
    }
    
    .vendor-topbar__actions {
        gap: 0.5rem;
    }
    
    .vendor-topbar__action {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   404 Page
   ============================================ */
.error-404 {
    padding: 4rem 0;
}

.error-404__content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.error-404__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary, #1a1a1a);
    margin-bottom: 1rem;
}

.error-404__description {
    font-size: 1.05rem;
    color: var(--color-text-secondary, #555);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.error-404__search {
    margin-bottom: 2.5rem;
}

.error-404__search-field {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
    border: 2px solid var(--color-border, #e0e0e0);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.error-404__search-field:focus-within {
    border-color: var(--color-primary, #2563eb);
}

.error-404__search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.error-404__search-button {
    padding: 0.75rem 1.5rem;
    background: var(--color-primary, #2563eb);
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.error-404__search-button:hover {
    background: var(--color-primary-dark, #1d4ed8);
}

.error-404__subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-primary, #1a1a1a);
}

.error-404__category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.error-404__category-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-bg-secondary, #f5f5f5);
    color: var(--color-text-primary, #1a1a1a);
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.error-404__category-link:hover {
    background: var(--color-primary, #2563eb);
    color: #fff;
}

.error-404__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-404__home-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary, #2563eb);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.error-404__home-link:hover {
    background: var(--color-primary-dark, #1d4ed8);
}

.error-404__areas-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-border, #e0e0e0);
    color: var(--color-text-primary, #1a1a1a);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s;
}

.error-404__areas-link:hover {
    border-color: var(--color-primary, #2563eb);
    color: var(--color-primary, #2563eb);
}

/* ==========================================================================
   Områder: /områder/ and /områder/{region}/ (TASK-122)
   ========================================================================== */
.omrader {
    max-width: 1100px;
    margin: 0 auto;
}

.omrader-hero {
    margin-bottom: var(--spacing-xl);
}

.omrader-hero__back {
    margin: 0 0 var(--spacing-sm);
    font-size: 0.875rem;
}

.omrader-hero__back a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.omrader-hero__back a:hover {
    color: var(--color-primary);
}

.omrader-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-dark);
    margin: 0 0 var(--spacing-md);
}

.omrader-hero__intro {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 44rem;
    margin: 0 0 var(--spacing-lg);
}

.omrader-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-sm) var(--spacing-md);
}

.omrader-hero__note {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.omrader-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.omrader-button--primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg);
}

.omrader-button--primary:hover {
    background-color: var(--color-primary-hover);
    box-shadow: var(--shadow-primary);
    color: var(--color-bg);
}

.omrader__empty {
    padding: var(--spacing-xl);
    text-align: center;
    color: var(--color-text-muted);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
}

/* Overview: region cards */
.omrader-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: var(--spacing-lg);
}

.omrader-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    min-width: 0;
}

.omrader-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.omrader-card__title a {
    color: var(--color-text-dark);
    text-decoration: none;
}

.omrader-card__title a:hover {
    color: var(--color-primary);
}

.omrader-card__stats {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.omrader-card__cities {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.omrader-card__label {
    font-weight: 600;
    color: var(--color-text);
}

.omrader-links {
    list-style: none;
    margin: var(--spacing-sm) 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.omrader-links a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9375rem;
    overflow-wrap: break-word;
}

.omrader-links a:hover {
    text-decoration: underline;
}

.omrader-card__more {
    margin-top: auto;
    padding-top: var(--spacing-sm);
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.omrader-card__more:hover {
    color: var(--color-primary-hover);
}

/* Region hub */
.omrader-section {
    margin-bottom: 2.5rem;
}

.omrader-section__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0 0 var(--spacing-md);
}

.omrader-section__note {
    margin: var(--spacing-md) 0 0;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.omrader-tiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
    gap: var(--spacing-sm);
}

.omrader-tile {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    height: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.omrader-tile:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.omrader-tile__name {
    font-weight: 600;
    color: var(--color-text-dark);
    overflow-wrap: break-word;
}

.omrader-tile__count {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.omrader-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.omrader-chips a {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-size: 0.875rem;
    text-decoration: none;
    overflow-wrap: break-word;
}

.omrader-chips a:hover {
    background: var(--color-primary);
    color: var(--color-bg);
}

.omrader-cities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: var(--spacing-lg);
}

.omrader-city__name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 var(--spacing-sm);
    color: var(--color-text-dark);
}

.omrader-groups {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.omrader-group {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
}

.omrader-group__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    padding: 0.875rem var(--spacing-md);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.omrader-group__summary::-webkit-details-marker {
    display: none;
}

.omrader-group__summary::after {
    content: '+';
    font-weight: 400;
    color: var(--color-text-muted);
}

.omrader-group[open] .omrader-group__summary::after {
    content: '\2212';
}

.omrader-group__count {
    margin-left: auto;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.omrader-group__list {
    list-style: none;
    margin: 0;
    padding: 0 var(--spacing-md) var(--spacing-md);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: var(--spacing-sm) var(--spacing-lg);
}

.omrader-group__list li {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-sm);
    min-width: 0;
}

.omrader-group__list a {
    color: var(--color-primary);
    text-decoration: none;
    overflow-wrap: break-word;
}

.omrader-group__list a:hover {
    text-decoration: underline;
}

.omrader-group__vendors {
    flex-shrink: 0;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

@media (max-width: 480px) {
    .omrader-card {
        padding: var(--spacing-md);
    }

    .omrader-button {
        width: 100%;
        text-align: center;
        box-sizing: border-box; /* TASK-137: width 100% plus padding made the button 17px wider than the screen */
    }

    /* TASK-137: a long word (Dækketallerkener, a vendor name) wraps instead of widening the page */
    .omrader-card,
    .category-pricing__title {
        overflow-wrap: break-word;
        min-width: 0;
    }
}

/* UX-review of TASK-137 (2026-10-02): the vendor list on /udlejer/ has an inline columns:2, which on a phone leaves
   two ~100px columns where "Hovedstaden" breaks mid-word. One column up to 640px (inline style needs !important). */
@media (max-width: 640px) {
    .omrader-card > ul[style*="columns"] { columns: 1 !important; }
}

/* Winter section (#vinter) on /afklaring/varme-i-festteltet/ and /service-inventar/varme-klima/ (UX 2026-10-02):
   links in the tables look like the rest of the site's links instead of the browser's default blue. */
.price-facts--winter .price-facts__table a,
.price-facts--winter .price-facts__source a,
#vinter + p + .afk-table-wrap .afk-table a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.price-facts--winter .price-facts__table a:hover,
.price-facts--winter .price-facts__source a:hover,
#vinter + p + .afk-table-wrap .afk-table a:hover {
    color: var(--color-primary-hover);
}

/* "Kr. pr. kW" is derived from the price and the power in the column before it; on a phone it only makes the table scroll sideways */
@media (max-width: 640px) {
    .price-facts--winter .price-facts__table th:nth-child(5),
    .price-facts--winter .price-facts__table td:nth-child(5),
    #vinter + p + .afk-table-wrap .afk-table th:nth-child(5),
    #vinter + p + .afk-table-wrap .afk-table td:nth-child(5) {
        display: none;
    }
}

/* Footer columns (TASK-114) */
.footer-pre-nav__grid--three {
    grid-template-columns: 1fr 2fr 1fr;
}

@media (max-width: 968px) {
    .footer-pre-nav__grid--three {
        grid-template-columns: 1fr;
    }
}

/* Mobile: the festplan grid never wider than the screen, and shorter category cards (UX 2026-10-01).
   Placed last so it wins over the 3-column rule for <=768px above. */
@media (max-width: 600px) {
    .homepage-festplan__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .homepage-festplan__grid { grid-template-columns: 1fr; }
    .category-masonry__item--square,
    .category-masonry__item--vertical { aspect-ratio: 3 / 2; min-height: 0; }
}

/* ==========================================================================
   Hovedmenu v2 (UX-011, agents/ux/menu-ia.md § 8.2-8.15). One set of links:
   >= 1024 px a 68 px header with floating panels (Kategorier, Arrangementer,
   Om LejeCenter); < 1024 px the same markup is a full-screen drawer.
   Markup: scripts/build-menu.py render_header(). Behaviour: js/main.js (menu).
   ========================================================================== */
:root {
    --color-primary-xlight: #eff6ff;
    --menu-navy: #172554;
    --menu-amber: #f59e0b;
    --menu-shadow: 0 24px 48px -18px rgba(15, 23, 42, .25), 0 2px 6px rgba(15, 23, 42, .06);
    --header-h: 68px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

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

/* The blur sits on a pseudo-element: a backdrop-filter on the header itself would make it the
   containing block of the fixed drawer, and the drawer would be clipped to the header. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid var(--color-border);
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(1.6) blur(10px);
    backdrop-filter: saturate(1.6) blur(10px);
}
.site-header__container,
.site-header__container.container {
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--header-h);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.site-header__brand { flex-shrink: 0; }
.site-header__logo,
.site-header__drawer-logo {
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    /* Tryk-mål: logoet var 22 px højt (UX-011 review 2026-10-02), nu mindst 44 px uden at ændre headerhøjden. */
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.site-header__logo:hover { color: var(--color-primary-hover); }
.site-header__logo-text { display: block; }
.site-header__nav {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.site-header :focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 2px;
    border-radius: 8px;
}
.site-header .lc-chev { flex: none; transition: transform .2s; }
.site-header [aria-expanded="true"] > .lc-chev { transform: rotate(180deg); }

/* Buttons and links shared by both layouts */
.site-header__cta,
.menu-ask__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: var(--color-primary);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(37, 99, 235, .35), 0 6px 14px -6px rgba(37, 99, 235, .6);
    transition: background-color .15s, transform .1s;
}
.site-header__cta:hover,
.menu-ask__submit:hover { background: var(--color-primary-hover); color: #fff; }
.site-header__cta:active,
.menu-ask__submit:active { transform: translateY(1px); }
.site-header__cta .fa-solid,
.menu-ask__submit .fa-solid { font-size: 13px; }
.menu-ask__submit,
.site-header__cta--block { width: 100%; height: 48px; }
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.site-header__menu-toggle,
.site-header__drawer-close {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    color: var(--color-text-dark);
    cursor: pointer;
}

/* Icon tiles */
.mega-menu__icon,
.mega-menu__tile,
.site-header__row-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--color-primary-xlight);
    color: var(--color-primary);
    font-size: 16px;
    transition: background-color .15s, color .15s;
}
.mega-menu__tile,
.site-header__row-icon { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; }

.mega-menu__kicker {
    margin: 0 0 12px;
    color: var(--color-text-muted);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}
.mega-menu__kicker--blue { color: var(--color-primary); }

/* "Beskriv din opgave" field and the finder */
.site-header textarea,
.site-header select,
.site-header input[type="number"] {
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: var(--color-text-dark);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.45;
    resize: none;
    transition: border-color .15s, box-shadow .15s;
}
.site-header select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 30px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b7280' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
}
.site-header textarea:focus,
.site-header select:focus,
.site-header input[type="number"]:focus {
    outline: 0;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}
.menu-ask { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.menu-ask__label { display: none; }
.menu-ask__sugg {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted);
    font-size: 12.5px;
}
.menu-ask__sugg:empty { display: none; }
.menu-ask__chip,
.mega-menu__chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-bg-secondary);
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}
.menu-ask__chip:hover,
.mega-menu__chip:hover { border-color: var(--color-primary); background: #fff; color: var(--color-primary); }
.menu-ask__note {
    margin: 0;
    color: #4b5563; /* AA on #eff6ff (UX 2026-10-02) */
    font-size: 12.5px;
    line-height: 1.4;
    text-align: center;
}
.menu-finder { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.menu-finder__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
}
.menu-finder__field--full { grid-column: 1 / -1; }
.menu-finder__opt { color: var(--color-text-muted); font-weight: 400; }
.menu-finder select,
.menu-finder input[type="number"] { padding: 9px 10px; font-size: 14px; }

.mega-menu__side-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 -10px;
    padding: 10px;
    border-radius: 10px;
    color: var(--color-text-dark);
    text-decoration: none;
}
.mega-menu__side-link:hover { background: #fff; color: var(--color-text-dark); }
.mega-menu__side-link:hover .mega-menu__tile { background: var(--color-primary); color: #fff; }
.mega-menu__side-link b { display: block; font-size: 14px; line-height: 1.3; }
.mega-menu__side-link small { display: block; color: var(--color-text-muted); font-size: 12.5px; line-height: 1.35; }
.mega-menu__learn {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--color-primary-light);
}
.mega-menu__learn .mega-menu__kicker { margin-bottom: 4px; }

/* Arrangementer: tiles */
.occasion {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #fff;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.occasion:hover { border-color: #bfdbfe; transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(15, 23, 42, .45); }
.occasion:focus-within { outline: 3px solid #93c5fd; outline-offset: 2px; }
.occasion__img {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 1;
    background: var(--color-primary-xlight);
}
.occasion__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.occasion:hover .occasion__img img { transform: scale(1.045); }
.occasion__img--icon {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: var(--color-primary);
    font-size: 30px;
}
.occasion__img--icon .fa-solid { opacity: .85; }
.occasion__body { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px 11px; }
.occasion__link {
    color: var(--color-text-dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
}
.occasion__link:focus-visible { outline: 0; }
.occasion__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.occasion__hint { color: var(--color-text-muted); font-size: 12.5px; line-height: 1.35; }
.occasion__badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--season-accent, #fef3c7);
    color: var(--season-accent-ink, #92400e);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}
.occasion__kicker {
    color: var(--season-kicker, #fcd34d);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.occasion__season { display: flex; flex-direction: column; gap: 10px; }
.occasion__line { margin: 0; color: #cbd5e1; font-size: 13.5px; line-height: 1.5; }
.occasion__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.occasion__chips a,
.occasion__case { position: relative; z-index: 2; }
.occasion__chips a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}
.occasion__chips a:hover { background: #fff; color: var(--season-bg, var(--menu-navy)); }
.occasion__case { display: block; color: var(--season-kicker, #fde68a); font-size: 13px; font-weight: 500; text-decoration: none; }
.occasion__case:hover { color: var(--season-kicker, #fde68a); text-decoration: underline; }
.site-header__season-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 2px;
    border-radius: 50%;
    background: var(--season-accent, var(--menu-amber));
}

/* ---------- Desktop (>= 1024 px) ---------- */
@media (min-width: 1024px) {
    .site-header__menu { display: flex; flex: 1; min-width: 0; align-items: center; }
    .site-header__drawer-body { display: flex; flex: 1; min-width: 0; align-items: center; }
    .site-header__drawer-head,
    .site-header__drawer-foot,
    .menu-ask--drawer,
    .site-header__season-card,
    .site-header__section-title,
    .mega-menu__toggle,
    .site-header__row-icon,
    .mega-menu__side-link--calc,
    .mega-menu__column--mini .mega-menu__all { display: none; }
    .mega-menu__all-in {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
    }

    .site-header__menu-list {
        display: flex;
        flex: 1;
        align-items: center;
        gap: 2px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .site-header__menu-item { position: relative; margin: 0; }
    .site-header__menu-item--has-mega { position: static; }
    .site-header__menu-item--quiet { margin-left: auto; }
    .site-header__menu-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        height: 40px;
        padding: 0 12px;
        border: 0;
        border-radius: 8px;
        background: none;
        color: #374151;
        font-family: inherit;
        font-size: 15px;
        font-weight: 500;
        line-height: 1;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
        transition: background-color .15s, color .15s;
    }
    .site-header__menu-link:hover { background: var(--color-bg-secondary); color: var(--color-primary); }
    .site-header__menu-link[aria-expanded="true"] { background: var(--color-primary-xlight); color: var(--color-primary); }
    .site-header__menu-link--quiet { color: var(--color-text-muted); font-size: 14.5px; }

    /* Panels: visibility/opacity/transform, not display, so they can animate */
    .mega-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 8px 16px 0;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
    }
    .site-header__menu-item.is-open > .mega-menu,
    .site-header__menu-item.is-open > .site-header__dropdown {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity .16s ease, transform .16s ease;
    }
    .mega-menu__card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px;
        max-width: 1168px;
        max-height: calc(100vh - var(--header-h) - 24px);
        max-height: calc(100dvh - var(--header-h) - 24px);
        margin: 0 auto;
        overflow: auto;
        border: 1px solid var(--color-border);
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--menu-shadow);
    }
    .mega-menu--occasions .mega-menu__card { grid-template-columns: minmax(0, 1fr) 340px; }
    .mega-menu__main { padding: 24px 24px 0; min-width: 0; }
    .mega-menu__grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px 20px;
    }
    .mega-menu__link {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: -6px -6px 6px;
        padding: 6px;
        border-radius: 10px;
        color: var(--color-text-dark);
        font-size: 15px;
        font-weight: 600;
        line-height: 1.25;
        text-decoration: none;
    }
    .mega-menu__link:hover { background: var(--color-bg-secondary); color: var(--color-primary); }
    .mega-menu__link:hover .mega-menu__icon { background: var(--color-primary); color: #fff; }
    .mega-menu__sublist { margin: 0; padding: 0; list-style: none; }
    .mega-menu__subitem { margin: 0; }
    .mega-menu__sublink {
        display: block;
        margin-left: -8px;
        padding: 5px 8px;
        border-radius: 7px;
        color: #374151;
        font-size: 14px;
        line-height: 1.35;
        text-decoration: none;
    }
    .mega-menu__sublink:hover { background: var(--color-bg-secondary); color: var(--color-primary); }
    .mega-menu__all {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin: 6px 0 0 -8px;
        padding: 4px 8px;
        border-radius: 7px;
        color: var(--color-primary);
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
    }
    .mega-menu__all .fa-solid { font-size: 11px; transition: transform .15s; }
    .mega-menu__all:hover .fa-solid { transform: translateX(3px); }

    /* "Mere udstyr": columns with at most 2 items, as heading + chips */
    .mega-menu__more {
        display: grid;
        grid-template-columns: auto auto auto;
        justify-content: start;
        gap: 12px 36px;
        margin-top: 20px;
        padding: 16px 0 18px;
        border-top: 1px solid var(--color-border);
    }
    .mega-menu__more .mega-menu__kicker { grid-column: 1 / -1; margin: 0; }
    .mega-menu__column--mini { display: flex; flex-direction: column; gap: 8px; }
    .mega-menu__column--mini .mega-menu__link { margin: 0; padding: 0; font-size: 14px; gap: 8px; }
    .mega-menu__column--mini .mega-menu__link:hover { background: none; }
    .mega-menu__column--mini .mega-menu__icon { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; }
    .mega-menu__column--mini .mega-menu__sublist { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 36px; }
    .mega-menu__column--mini .mega-menu__chip { margin: 0; padding: 5px 11px; border-radius: 999px; }

    /* Right column: "Beskriv din opgave" / the finder */
    .mega-menu__ask {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 24px;
        border-left: 1px solid var(--color-border);
        background: linear-gradient(180deg, var(--color-primary-xlight), #f8fbff 70%);
    }
    .mega-menu__ask .mega-menu__kicker { margin: 0; }
    .mega-menu__ask--finder { gap: 12px; }
    .mega-menu__ask-title { margin: 0; color: var(--color-text-dark); font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
    .mega-menu__ask-text { margin: 0; color: #374151; font-size: 14px; line-height: 1.5; }
    .mega-menu__promise {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin: 6px 0 0;
        padding: 12px 0 0;
        border-top: 1px solid var(--color-primary-light);
        color: #374151;
        font-size: 13px;
        line-height: 1.4;
        list-style: none;
    }
    .mega-menu__promise li { display: flex; align-items: flex-start; gap: 8px; margin: 0; }
    .mega-menu__promise .fa-solid { margin-top: 3px; color: #16a34a; font-size: 12px; }

    /* Arrangementer */
    .occasion-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-flow: row dense;
        gap: 10px;
        margin-bottom: 24px;
    }
    .occasion__img { flex: 1 1 auto; }
    .occasion--featured {
        grid-column: span 2;
        grid-row: span 2;
        border: 0;
        background: var(--season-bg, var(--menu-navy));
        color: #fff;
    }
    .occasion--featured .occasion__img { flex: 1; aspect-ratio: auto; min-height: 110px; }
    .occasion--featured .occasion__img img { position: absolute; inset: 0; }
    .occasion--featured .occasion__img--icon {
        background: radial-gradient(circle at 75% 20%, var(--season-glow, #3b82f6) 0, var(--season-bg, var(--menu-navy)) 80%);
        color: rgba(255, 255, 255, .9);
        font-size: 56px;
    }
    .occasion--featured .occasion__img--icon .fa-solid { opacity: .5; }
    .occasion--featured .occasion__body { gap: 4px; padding: 16px 18px; }
    .occasion--featured .occasion__link { color: #fff; font-size: 22px; letter-spacing: -.01em; }
    .occasion--featured .occasion__hint { display: none; }
    .occasion--calc { border-style: dashed; background: var(--color-bg-secondary); }
    .occasion--calc .occasion__img { background: none; }
    .occasion-grid:not(.occasion-grid--has-featured) .occasion--calc { grid-column: 1 / -1; flex-direction: row; align-items: center; }
    .occasion-grid:not(.occasion-grid--has-featured) .occasion--calc .occasion__img { width: 56px; height: 56px; margin-left: 8px; aspect-ratio: auto; flex: none; }

    /* Om LejeCenter: small card */
    .site-header__dropdown {
        position: absolute;
        top: calc(100% + 14px);
        left: -8px;
        width: 340px;
        margin: 0;
        padding: 8px;
        border: 1px solid var(--color-border);
        border-radius: 14px;
        background: #fff;
        box-shadow: var(--menu-shadow);
        list-style: none;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
    }
    .site-header__dropdown-item { margin: 0; }
    .site-header__dropdown-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px;
        border-radius: 9px;
        color: var(--color-text-dark);
        font-size: 14.5px;
        font-weight: 500;
        text-decoration: none;
    }
    .site-header__dropdown-link:hover { background: var(--color-bg-secondary); color: var(--color-primary); }
    .site-header__dropdown-link:hover .mega-menu__tile { background: var(--color-primary); color: #fff; }

    .site-header__backdrop {
        position: fixed;
        inset: 0;
        z-index: 999;
        background: rgba(15, 23, 42, .16);
        visibility: hidden;
        opacity: 0;
        transition: opacity .16s, visibility 0s linear .16s;
    }
    .site-header__backdrop.is-on { visibility: visible; opacity: 1; transition: opacity .16s; }
}

@media (min-width: 1024px) and (max-width: 1180px) {
    .site-header__container,
    .site-header__container.container { gap: 12px; }
    .site-header__logo { font-size: 20px; }
    .site-header__menu-link { padding: 0 9px; font-size: 14.5px; }
    .site-header__cta { padding: 0 13px; font-size: 14.5px; }
    .mega-menu__card { grid-template-columns: minmax(0, 1fr) 270px; }
    .mega-menu--occasions .mega-menu__card { grid-template-columns: minmax(0, 1fr) 300px; }
    .occasion__hint { display: none; }
    .occasion__body { padding: 8px 10px 10px; }
    .occasion__link { font-size: 14px; }
}

/* ---------- Mobile and tablet (< 1024 px): the drawer ---------- */
@media (max-width: 1023px) {
    :root { --header-h: 60px; }
    .site-header__container,
    .site-header__container.container { gap: 12px; }
    .site-header__nav { justify-content: flex-end; }
    .site-header__menu-toggle,
    .site-header__drawer-close { display: grid; }
    .site-header__season-dot { display: none; }
    .site-header__backdrop { display: none; }

    .site-header__menu {
        position: fixed;
        inset: 0;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        background: #fff;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform .22s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .22s;
    }
    .site-header__menu.is-open {
        visibility: visible;
        transform: none;
        transition: transform .22s cubic-bezier(.2, .8, .2, 1);
    }
    .site-header__drawer-head {
        display: flex;
        flex: none;
        align-items: center;
        justify-content: space-between;
        height: 60px;
        padding: 0 8px 0 16px;
        border-bottom: 1px solid var(--color-border);
    }
    .site-header__drawer-body {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 16px 16px 104px;
    }
    .site-header__drawer-foot {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--color-border);
        background: rgba(255, 255, 255, .97);
        transform: translateY(110%);
        transition: transform .2s;
    }
    .site-header__drawer-foot.is-on { transform: none; }

    /* The ask field at the top */
    .menu-ask--drawer {
        padding: 14px;
        border: 1px solid var(--color-primary-light);
        border-radius: 14px;
        background: var(--color-primary-xlight);
    }
    .menu-ask--drawer .menu-ask__label {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--color-text-dark);
        font-size: 17px;
        font-weight: 700;
    }
    .menu-ask--drawer .menu-ask__label .fa-solid { color: var(--color-primary); font-size: 15px; }

    /* S2: season card */
    .site-header__season-card { margin-top: 16px; overflow: hidden; border-radius: 16px; background: var(--season-bg, var(--menu-navy)); color: #fff; }
    .site-header__season-img { position: relative; display: block; height: 120px; overflow: hidden; }
    .site-header__season-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
    .site-header__season-img--icon {
        display: grid;
        place-items: center;
        background: radial-gradient(circle at 75% 20%, var(--season-glow, #3b82f6) 0, var(--season-bg, var(--menu-navy)) 80%);
        color: rgba(255, 255, 255, .45);
        font-size: 48px;
    }
    .site-header__season-in { padding: 12px 14px 14px; }
    .site-header__season-title {
        display: flex;
        align-items: center;
        min-height: 44px;
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.25;
        text-decoration: none;
    }
    .site-header__season-title:hover { color: #fff; }
    .site-header__season-line { margin: 0 0 10px; color: #cbd5e1; font-size: 13.5px; line-height: 1.5; }
    .site-header__season-links,
    .occasion-grid {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }
    .site-header__season-links::-webkit-scrollbar,
    .occasion-grid::-webkit-scrollbar { display: none; }
    .site-header__season-links { margin: 0 -14px; padding: 0 14px 2px; scroll-padding-inline: 14px; }
    .site-header__season-links a {
        display: inline-flex;
        flex: none;
        align-items: center;
        min-height: 44px;
        padding: 0 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .14);
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
        scroll-snap-align: start;
    }
    .site-header__season-card .occasion__case { min-height: 44px; margin-top: 4px; padding: 11px 0 0; line-height: 1.4; }

    /* Sections */
    .site-header__menu-list { margin: 0; padding: 0; list-style: none; }
    .site-header__menu-item { margin: 0; }
    .site-header__section-title {
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 24px 0 8px;
        color: var(--color-text-muted);
        font-size: 11.5px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
    }
    .site-header__menu-link--has-mega,
    .mega-menu__link,
    .mega-menu__main > .mega-menu__kicker,
    .mega-menu__more > .mega-menu__kicker,
    .mega-menu__ask:not(.mega-menu__ask--finder),
    .mega-menu__ask--finder > .mega-menu__kicker,
    .menu-finder,
    .occasion--calc,
    .occasion__hint,
    .occasion__kicker,
    .occasion__season { display: none; }

    /* Kategorier: accordion, one open at a time */
    .mega-menu__column { border-bottom: 1px solid var(--color-border); }
    .mega-menu__toggle {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 56px;
        padding: 6px 0;
        border: 0;
        background: none;
        color: var(--color-text-dark);
        font-family: inherit;
        font-size: 16px;
        font-weight: 600;
        text-align: left;
        cursor: pointer;
    }
    .mega-menu__toggle .lc-chev { width: 20px; height: 20px; margin-left: auto; color: var(--color-text-muted); }
    .mega-menu__toggle[aria-expanded="true"] { color: var(--color-primary); }
    .mega-menu__body { display: none; padding: 2px 0 14px; }
    .mega-menu__column.is-open .mega-menu__body { display: block; }
    .mega-menu__sublist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
    .mega-menu__subitem { margin: 0; min-width: 0; }
    .mega-menu__sublink,
    .mega-menu__column--mini .mega-menu__chip {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 8px 12px;
        border: 1px solid var(--color-border);
        border-radius: 10px;
        background: var(--color-bg-secondary);
        color: var(--color-text-dark);
        font-size: 14.5px;
        font-weight: 500;
        line-height: 1.25;
        text-decoration: none;
        white-space: normal;
    }
    .mega-menu__sublink:active { border-color: var(--color-primary-light); background: var(--color-primary-xlight); }
    .mega-menu__all {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 44px;
        color: var(--color-primary);
        font-size: 14.5px;
        font-weight: 600;
        text-decoration: none;
    }
    .mega-menu__all .fa-solid { font-size: 12px; }

    /* Arrangementer: horizontal rail of image cards, the season's occasion first */
    .occasion-grid { margin: 0 -16px; padding: 2px 16px 6px; scroll-padding-inline: 16px; }
    .occasion { flex: none; width: 148px; scroll-snap-align: start; }
    .occasion:hover { transform: none; box-shadow: none; }
    .occasion__img { aspect-ratio: 4 / 3; }
    .occasion__body { min-height: 44px; padding: 9px 10px 11px; }
    .occasion__link { font-size: 14.5px; line-height: 1.2; }
    .occasion__badge { top: 8px; left: 8px; }
    .occasion--featured { border-color: var(--season-accent, #fcd34d); }

    .mega-menu__ask--finder { margin-top: 8px; }
    .mega-menu__learn { margin: 0; padding: 0; border: 0; }
    .mega-menu__learn > .mega-menu__kicker { display: none; }
    .mega-menu__side-link {
        gap: 12px;
        min-height: 56px;
        margin: 0;
        padding: 6px 0;
        border-bottom: 1px solid var(--color-border);
        border-radius: 0;
    }
    .mega-menu__side-link b { font-size: 16px; font-weight: 600; }
    .mega-menu__side-link small { font-size: 13px; }
    .mega-menu__side-link:hover { background: none; }

    /* Områder, Om LejeCenter, For udlejere: rows */
    .site-header__menu-item--link:not(.site-header__menu-item--quiet) { margin-top: 16px; }
    .site-header__menu-item--link > .site-header__menu-link,
    .site-header__menu-link--has-dropdown {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 56px;
        padding: 6px 0;
        border: 0;
        border-bottom: 1px solid var(--color-border);
        background: none;
        color: var(--color-text-dark);
        font-family: inherit;
        font-size: 16px;
        font-weight: 600;
        text-align: left;
        text-decoration: none;
        cursor: pointer;
    }
    .site-header__menu-link--has-dropdown .lc-chev { width: 20px; height: 20px; margin-left: auto; color: var(--color-text-muted); }
    .site-header__menu-link--has-dropdown[aria-expanded="true"] { color: var(--color-primary); }
    .site-header__dropdown { display: none; margin: 0; padding: 4px 0 10px; list-style: none; }
    .site-header__menu-item.is-open > .site-header__dropdown { display: block; }
    .site-header__dropdown-item { margin: 0; }
    .site-header__dropdown-link {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 44px;
        color: #374151;
        font-size: 15px;
        font-weight: 500;
        text-decoration: none;
    }

    html.lc-menu-lock,
    html.lc-menu-lock body { overflow: hidden; }
}

@media (max-width: 479px) {
    .site-header__actions > .site-header__cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .site-header *,
    .site-header__backdrop { transition: none !important; }
}

/* TASK-198: preserve reviewed mobile crops above the existing hero content. */
@media (max-width: 600px) {
    .category-hero--topic .category-hero__bg {
        position: relative;
        aspect-ratio: 1;
        filter: none;
        transform: none;
    }
    .category-hero--topic .lc-topic-hero {
        display: block;
        width: 100%;
        height: 100%;
    }
    .category-hero--topic .category-hero__overlay {
        background: #fff;
        padding: 1.5rem;
    }
}

/* Forsidens sæsonblok (TASK-166), config/season-wheel.json */
.season-block { padding: 2rem 1rem 0; background: var(--color-bg); }
.season-block[hidden], .season-block__period[hidden] { display: none; }
.season-block__title { font-size: 1.5rem; font-weight: 700; color: var(--color-text); margin: 0 0 1rem 0; text-align: center; }
.season-block__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; max-width: 1200px; margin: 0 auto; }
.season-block__card { padding: 1.25rem 1.5rem; background: var(--color-bg-alt, #f8fafc); border: 1px solid var(--color-border); border-left: 4px solid var(--color-primary); border-radius: 12px; }
.season-block__label { font-size: 1.1rem; font-weight: 600; color: var(--color-text); margin: 0 0 0.35rem 0; }
.season-block__text { font-size: 0.95rem; line-height: 1.5; color: var(--color-text-secondary); margin: 0 0 0.75rem 0; }
.season-block__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.season-block__links a { font-weight: 600; color: var(--color-primary); text-decoration: underline; padding: 0.35rem 0; display: inline-block; min-height: 24px; }
