/**
 * Pulmad.ee Theme - Main Stylesheet (Concatenated)
 *
 * This file contains all CSS in a single file for optimal loading.
 * Source partials are kept in subdirectories for development reference.
 *
 * Organization:
 * 1. Base - Variables, resets, typography
 * 2. Components - Buttons, cards, forms, navigation
 * 3. Layouts - Header, footer, grid, sidebar
 * 4. Pages - Page-specific styles
 * 5. Plugins - Plugin CSS overrides
 * 6. Site-wide - Layout, blocks, print styles
 */

/* ===========================
   1. Base — Variables
   =========================== */
/**
 * CSS Custom Properties (Design Tokens)
 * Based on THEME-SPEC.md
 */

:root {
    /* ===========================
       Colors - Primary (Navy Blue Palette)
       =========================== */
    --pulmad-blue: #0F1D33;           /* Midnight Navy — darkest/base */
    --pulmad-blue-dark: #162847;      /* Deep Ocean */
    --pulmad-blue-mid: #1E355C;       /* Dark Sapphire */
    --pulmad-blue-accent: #325289;    /* Steel Blue — interactive elements */
    --pulmad-blue-hover: #3F63A1;     /* Cobalt — hover states */
    --pulmad-blue-light: #DBE8F7;     /* Ice Blue — light backgrounds */

    /* Extended palette */
    --pulmad-royal: #274372;          /* Royal Blue */
    --pulmad-slate: #5078B5;          /* Slate Blue */
    --pulmad-cornflower: #668EC7;     /* Cornflower */
    --pulmad-periwinkle: #82A5D6;     /* Periwinkle */
    --pulmad-powder: #A0BDE3;         /* Powder Blue */
    --pulmad-baby: #BDD4EF;           /* Baby Blue */
    --pulmad-ice: #DBE8F7;            /* Ice Blue */
    --pulmad-ghost: #EEF3FB;          /* Ghost White — lightest */

    /* ===========================
       Colors - Secondary
       =========================== */
    --gold: #D4AF37;
    --gold-light: #FAF3E0;
    --sage-green: #8FAE8B;
    --dusty-rose: #DCAE96;

    /* ===========================
       Colors - Neutrals
       =========================== */
    --white: #FFFFFF;
    --off-white: #fbfbfb;
    --light-gray: #f3f2f1;
    --medium-gray: #9CA3AF;
    --dark-gray: #666666;
    --charcoal: #323232;
    --black: #1F2937;

    /* ===========================
       Colors - Status
       =========================== */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    /* ===========================
       Typography - Font Families
       =========================== */
    --font-primary: 'Playfair Display', Georgia, serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;

    /* ===========================
       Typography - Font Sizes
       =========================== */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.375rem;     /* 22px */
    --text-2xl: 1.75rem;     /* 28px */
    --text-3xl: 2.25rem;     /* 36px */
    --text-4xl: 3rem;        /* 48px */

    /* ===========================
       Typography - Font Weights
       =========================== */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* ===========================
       Typography - Line Heights
       =========================== */
    --leading-tight: 1.2;
    --leading-snug: 1.3;
    --leading-normal: 1.5;
    --leading-relaxed: 1.6;

    /* ===========================
       Spacing (8px grid)
       =========================== */
    --space-1: 4px;      /* 0.25rem */
    --space-2: 8px;      /* 0.5rem */
    --space-3: 12px;     /* 0.75rem */
    --space-4: 16px;     /* 1rem */
    --space-5: 24px;     /* 1.5rem */
    --space-6: 32px;     /* 2rem */
    --space-7: 48px;     /* 3rem */
    --space-8: 64px;     /* 4rem */
    --space-9: 96px;     /* 6rem */

    /* ===========================
       Layout - Container Widths
       =========================== */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-max: 1360px;

    /* ===========================
       Layout - Breakpoints
       =========================== */
    --bp-sm: 640px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;
    --bp-2xl: 1536px;

    /* ===========================
       Visual Effects - Shadows
       =========================== */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-primary: 0 4px 12px rgba(15, 29, 51, 0.3);

    /* ===========================
       Visual Effects - Border Radius
       =========================== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 100px;

    /* ===========================
       Visual Effects - Transitions
       =========================== */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* ===========================
       Header
       =========================== */
    --header-height: 72px;
    --header-height-mobile: 60px;

    /* ===========================
       Z-Index Scale
       =========================== */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
}

/* Dark mode support (future) */
@media (prefers-color-scheme: dark) {
    :root {
        /* Can override variables here for dark mode */
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    :root {
        --transition-fast: 0s;
        --transition-normal: 0s;
        --transition-slow: 0s;
    }
}


/* ===========================
   1. Base — Reset
   =========================== */
/**
 * CSS Reset / Normalize
 * Modern CSS reset with sensible defaults
 */

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

/* Remove default margin and padding */
* {
    margin: 0;
    padding: 0;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    scroll-behavior: smooth;
}

/* Remove list styles */
ul,
ol {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4, h5, h6,
button, input, label {
    line-height: 1.2;
}

/* Balance text wrapping on headings */
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

/* Text inputs: override font to system stack so Estonian characters
   (Õ, Ä, Ö, Ü etc.) render correctly — the active web font (Josefin Sans)
   has a broken Õ glyph that renders as plain O. */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="password"],
textarea {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Remove default button styles */
button {
    background: none;
    border: none;
    cursor: pointer;
}

/* Textarea without resize unless specified */
textarea:not([rows]) {
    min-height: 10em;
}

/* Remove outline on focus for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* Visible focus for keyboard users */
:focus-visible {
    outline: 2px solid var(--pulmad-blue-accent);
    outline-offset: 2px;
}

/* Anything that has been anchored should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

/* Table defaults */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove fieldset styling */
fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

/* Remove legend padding */
legend {
    padding: 0;
}

/* Remove default styling on details/summary */
summary {
    display: list-item;
    cursor: pointer;
}

/* Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* Hidden attribute support */
[hidden] {
    display: none !important;
}

/* Skip link */
.skip-link {
    display: none;
}

.skip-link:focus {
    top: 0;
}


/* ===========================
   1. Base — Typography
   =========================== */
/**
 * Typography Styles
 * Font faces, type scale, and text utilities
 */

/* ===========================
   Base Typography
   =========================== */
body {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    line-height: var(--leading-relaxed);
    color: var(--dark-gray);
    background-color: var(--off-white);
}

/* ===========================
   Headings
   =========================== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-bold);
    color: var(--charcoal);
    margin-bottom: var(--space-4);
}

h1, .h1 {
    font-size: var(--text-h1, var(--text-4xl));
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
}

h2, .h2 {
    font-size: var(--text-h2, var(--text-3xl));
    line-height: 1.25;
}

h3, .h3 {
    font-size: var(--text-h3, var(--text-2xl));
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
}

h4, .h4 {
    font-family: var(--font-secondary);
    font-size: var(--text-h4, var(--text-xl));
    font-weight: var(--font-semibold);
    line-height: 1.35;
}

h5, .h5 {
    font-family: var(--font-secondary);
    font-size: var(--text-h5, var(--text-lg));
    font-weight: var(--font-semibold);
    line-height: 1.4;
}

h6, .h6 {
    font-family: var(--font-secondary);
    font-size: var(--text-h6, var(--text-base));
    font-weight: var(--font-semibold);
    line-height: 1.4;
}

/* Mobile typography */
@media screen and (max-width: 768px) {
    h1, .h1 {
        font-size: 2rem; /* 32px */
    }

    h2, .h2 {
        font-size: var(--text-2xl);
    }

    h3, .h3 {
        font-size: var(--text-xl);
    }
}

/* ===========================
   Paragraphs
   =========================== */
p {
    margin-bottom: var(--space-4);
}

p:last-child {
    margin-bottom: 0;
}

/* Lead paragraph */
.lead {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--dark-gray);
}

/* Small text */
small,
.text-small {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
}

/* Caption */
.caption {
    font-size: var(--text-xs);
    line-height: 1.4;
    color: var(--medium-gray);
}

/* ===========================
   Links
   =========================== */
a {
    color: var(--pulmad-blue-accent);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--pulmad-blue-mid);
}

a:focus-visible {
    outline: 2px solid var(--pulmad-blue-accent);
    outline-offset: 2px;
}

/* Link with underline */
.link-underline {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.link-underline:hover {
    text-decoration-color: var(--pulmad-blue-mid);
}

/* ===========================
   Lists (styled)
   =========================== */
.list-styled {
    padding-left: var(--space-5);
    margin-bottom: var(--space-4);
}

.list-styled li {
    margin-bottom: var(--space-2);
    position: relative;
}

ul.list-styled {
    list-style-type: disc;
}

ol.list-styled {
    list-style-type: decimal;
}

/* ===========================
   Entry Content (WordPress page/post prose)
   =========================== */
.entry-content p {
    margin-bottom: var(--space-4);
}

.entry-content p:last-child {
    margin-bottom: 0;
}

.entry-content ul,
.entry-content ol {
    padding-left: var(--space-5);
    margin-bottom: var(--space-4);
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    margin-bottom: var(--space-2);
}

.entry-content li:last-child {
    margin-bottom: 0;
}

.entry-content br {
    display: block;
    content: "";
    margin-top: var(--space-2);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: var(--space-6);
}

.entry-content a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    text-decoration-color: var(--pulmad-blue-mid);
}

/* ===========================
   Blockquote
   =========================== */
blockquote {
    font-family: var(--font-accent);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--charcoal);
    padding-left: var(--space-5);
    border-left: 4px solid var(--pulmad-blue-accent);
    margin: var(--space-6) 0;
}

blockquote cite {
    display: block;
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-style: normal;
    color: var(--medium-gray);
    margin-top: var(--space-2);
}

/* ===========================
   Code
   =========================== */
code,
kbd,
pre,
samp {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    font-size: 0.9em;
}

code {
    background: var(--light-gray);
    padding: 0.2em 0.4em;
    border-radius: var(--radius-sm);
}

pre {
    background: var(--charcoal);
    color: var(--light-gray);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: var(--space-4) 0;
}

pre code {
    background: none;
    padding: 0;
}

/* ===========================
   Text Utilities
   =========================== */
.text-center { text-align: center; }
.text-primary { color: var(--pulmad-blue-accent); }
.text-muted { color: var(--medium-gray); }

/* ===========================
   Selection
   =========================== */
::selection {
    background: var(--pulmad-blue-light);
    color: var(--charcoal);
}



/* ===========================
   2. Components — Buttons
   =========================== */
/**
 * Button Styles
 */

/* ===========================
   Base Button
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.75rem 1.25rem;
    font-family: var(--font-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--pulmad-blue-accent);
    outline-offset: 2px;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===========================
   Button Variants
   =========================== */

/* Primary Button */
.btn-primary {
    background: var(--pulmad-blue-accent);
    color: var(--white);
    border-color: var(--pulmad-blue-accent);
}

.btn-primary:hover {
    background: var(--pulmad-blue-mid);
    border-color: var(--pulmad-blue-mid);
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary);
    color: var(--white);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary Button (Outline) */
.btn-secondary {
    background: transparent;
    color: var(--pulmad-blue-accent);
    border-color: var(--pulmad-blue-accent);
}

.btn-secondary:hover {
    background: var(--pulmad-blue-accent);
    color: var(--white);
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--charcoal);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--light-gray);
}

/* White Button (for dark backgrounds) */
.btn-white {
    background: var(--white);
    color: var(--pulmad-blue);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--off-white);
    border-color: var(--off-white);
    color: var(--pulmad-blue);
}

/* Gold Button */
.btn-gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: #B8962E;
    border-color: #B8962E;
    color: var(--white);
}

/* Success Button */
.btn-success {
    background: var(--success);
    color: var(--white);
    border-color: var(--success);
}

.btn-success:hover {
    background: #0D9668;
    border-color: #0D9668;
    color: var(--white);
}

/* ===========================
   Button Sizes
   =========================== */

/* Small */
.btn-sm {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
}

/* Large */
.btn-lg {
    padding: 1rem 1.75rem;
    font-size: 1rem;
}

/* ===========================
   Pill Button (Filters/Tags)
   =========================== */
.btn-pill {
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    background: var(--light-gray);
    color: var(--charcoal);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    border: none;
}

.btn-pill:hover {
    background: var(--medium-gray);
    color: var(--white);
}

.btn-pill.active {
    background: var(--pulmad-blue-accent);
    color: var(--white);
}

/* ===========================
   Icon Button
   =========================== */
.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

.btn-icon.btn-sm {
    width: 32px;
    height: 32px;
}

.btn-icon.btn-lg {
    width: 48px;
    height: 48px;
}

.btn-icon i {
    font-size: 1.25em;
}

/* ===========================
   Button with Icon
   =========================== */
.btn i,
.btn .ph {
    font-size: 1.125em;
}

.btn-icon-only {
    padding: var(--space-2);
}

/* ===========================
   Button Group
   =========================== */
.btn-group {
    display: inline-flex;
    gap: 0;
}

.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.btn-group .btn:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.btn-group .btn:not(:last-child) {
    border-right-width: 1px;
}

/* ===========================
   Full Width Button
   =========================== */
.btn-block {
    display: flex;
    width: 100%;
}

/* ===========================
   Loading State
   =========================== */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

.btn-loading.btn-primary::after,
.btn-loading.btn-gold::after,
.btn-loading.btn-success::after {
    border-color: var(--white);
    border-right-color: transparent;
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ===========================
   2. Components — Cards
   =========================== */
/**
 * Card Styles
 */

/* ===========================
   Base Card
   =========================== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: var(--space-4);
}

.card-title {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    margin-bottom: var(--space-2);
}

.card-title a {
    color: inherit;
    text-decoration: none;
}

.card-title a:hover {
    color: var(--pulmad-blue-accent);
}

/* ===========================
   Vendor Card
   =========================== */
.vendor-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    border: 2px solid transparent;
}

/* Hover Effect: Lift (default) */
.vendor-card--hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Hover Effect: Scale */
.vendor-card--hover-scale:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Hover Effect: Border */
.vendor-card--hover-border:hover {
    border-color: var(--pulmad-blue-accent);
    box-shadow: var(--shadow-md);
}

.vendor-card--hover-border:hover .vendor-card__image img {
    transform: none;
}

/* Hover Effect: None */
.vendor-card--hover-none:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}

.vendor-card--hover-none:hover .vendor-card__image img {
    transform: none;
}

/* Legacy hover (backwards compatibility) */
.vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Vendor card image */
.vendor-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--light-gray);
    overflow: hidden;
}

.vendor-card__image img,
.vendor-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-slow);
}

.vendor-card:hover .vendor-card__image img {
    transform: scale(1.02);
}

/* Portrait image: blurred background + sharp centered image */
.vendor-card__image--portrait {
    background: #1a1a1a;
}

.vendor-card__image--portrait a {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.vendor-card__image--portrait .vendor-card__img-bg {
    position: absolute;
    inset: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    object-fit: cover;
    filter: blur(20px) brightness(0.6);
    z-index: 1;
}

.vendor-card__image--portrait .vendor-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
}

.vendor-card:hover .vendor-card__image--portrait .vendor-card__img-bg {
    transform: none;
}

/* Vendor card placeholder */
.vendor-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e0e0e0 100%);
    color: var(--medium-gray);
}

.vendor-card__placeholder i {
    font-size: 3rem;
}

/* Favorite button on card */
.vendor-card__favorite {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.vendor-card__favorite:hover {
    transform: scale(1.1);
    background: var(--white);
}

.vendor-card__favorite i {
    font-size: 1.125rem;
    color: var(--medium-gray);
    transition: color var(--transition-normal);
}

.vendor-card__favorite:hover i {
    color: var(--pulmad-blue-accent);
}

.vendor-card__favorite.is-favorite i {
    color: var(--pulmad-blue-accent);
}

/* Verified crown badge */
.vendor-card__verified {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gold);
    color: var(--white);
    font-size: 16px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.4);
    z-index: 5;
}

/* Premium badge */
.vendor-card__badge {
    position: absolute;
    bottom: var(--space-3);
    left: var(--space-3);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: var(--gold);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 5;
}

/* ===========================
   Promoted Card (bigger, spans 2 columns)
   =========================== */
.vendor-card--promoted {
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.vendor-card--promoted .vendor-card__image {
    aspect-ratio: 16 / 10;
}

.vendor-card--promoted .vendor-card__content {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vendor-card--promoted .vendor-card__title {
    font-size: var(--text-xl);
}

.vendor-card--promoted:hover {
    border-color: var(--gold);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
}

/* ===========================
   Gold Card (spans 2 columns, single row)
   =========================== */
.vendor-card--gold {
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.vendor-card--gold .vendor-card__image {
    aspect-ratio: 16 / 10;
}

.vendor-card--gold .vendor-card__content {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vendor-card--gold .vendor-card__title {
    font-size: var(--text-xl);
}

.vendor-card--gold::before {
    content: '★ Kuld';
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    padding: 2px var(--space-2);
    background: var(--gold);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-sm);
    z-index: 3;
    letter-spacing: 0.03em;
}

.vendor-card--gold:hover {
    border-color: var(--gold);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.25);
}

/* Gold card responsive: stack on small screens */
@media screen and (max-width: 768px) {
    .vendor-card--gold {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
}

.vendor-card__company {
    font-size: var(--text-sm);
    color: var(--dark-gray);
    margin-bottom: var(--space-2);
}

.vendor-card__excerpt {
    font-size: var(--text-sm);
    color: var(--dark-gray);
    line-height: 1.6;
    margin-top: var(--space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* On mobile, promoted cards stack vertically */
@media screen and (max-width: 639px) {
    .vendor-card--promoted {
        grid-template-columns: 1fr;
    }

    .vendor-card--promoted .vendor-card__image {
        min-height: 200px;
    }
}

/* Vendor card content */
.vendor-card__content {
    padding: var(--space-4);
}

/* Category tag */
.vendor-card__category {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--pulmad-blue-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
}

/* Vendor name */
.vendor-card__title {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    margin-bottom: var(--space-2);
    line-height: 1.3;
}

.vendor-card__title a {
    color: inherit;
    text-decoration: none;
}

.vendor-card__title a:hover {
    color: var(--pulmad-blue-accent);
}

/* Location */
.vendor-card__location {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--dark-gray);
    margin-bottom: var(--space-2);
}

.vendor-card__location i {
    color: var(--pulmad-blue-accent);
}

/* Rating */
.vendor-card__rating {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
}

.vendor-card__stars {
    display: flex;
    gap: 2px;
    color: var(--gold);
}

.vendor-card__stars i.empty {
    color: var(--medium-gray);
}

.vendor-card__reviews {
    color: var(--medium-gray);
}

/* ===========================
   Category Card - Compact card style
   =========================== */
.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    text-decoration: none;
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
    box-shadow: var(--shadow-sm);
    /* Horizontal scroll layout support */
    flex: 0 0 auto;
    width: 140px;
    /* Allow text to wrap at natural break points */
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: manual;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--pulmad-blue-light);
}

.category-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #c5dced;
    border-radius: 50%;
    flex-shrink: 0;
    margin-bottom: var(--space-3);
}

.category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-card:hover .category-card__image {
    background: var(--pulmad-blue-accent);
}

.category-card:hover .category-card__image i {
    color: var(--white) !important;
}

.category-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.category-card__placeholder i {
    font-size: 1.5rem !important;
    color: var(--pulmad-blue-accent) !important;
}

.category-card__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 44px;
}

.category-card__title {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    line-height: 1.3;
}

.category-card:hover .category-card__title {
    color: var(--pulmad-blue-accent);
}

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

.category-card__count {
    font-size: var(--text-xs);
    color: var(--medium-gray);
}

/* Responsive category card sizes */
@media screen and (min-width: 640px) {
    .category-card {
        width: 160px;
        padding: var(--space-5);
    }

    .category-card__image {
        width: 64px;
        height: 64px;
    }

    .category-card__placeholder i {
        font-size: 1.75rem !important;
    }

    .category-card__title {
        font-size: var(--text-base);
    }
}

@media screen and (min-width: 1024px) {
    .category-card {
        width: 180px;
    }

    .category-card__image {
        width: 72px;
        height: 72px;
    }

    .category-card__placeholder i {
        font-size: 2rem !important;
    }
}

/* ===========================
   Info Card
   =========================== */
.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
}

.info-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--pulmad-blue-light);
    border-radius: 50%;
    margin-bottom: var(--space-4);
}

.info-card__icon i {
    font-size: 1.5rem;
    color: var(--pulmad-blue-accent);
}

.info-card__title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    margin-bottom: var(--space-2);
}

.info-card__text {
    color: var(--dark-gray);
    font-size: var(--text-sm);
}

/* ===========================
   Wedding Fair Banner Card
   =========================== */
.fair-banner {
    position: relative;
    background: linear-gradient(135deg, var(--pulmad-blue-accent) 0%, var(--pulmad-blue-dark) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    color: var(--white);
    overflow: hidden;
}

.fair-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.fair-banner__content {
    position: relative;
    z-index: 1;
}

.fair-banner__date {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.fair-banner__title {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-2);
    color: var(--white);
}

.fair-banner__location {
    font-size: var(--text-base);
    opacity: 0.9;
    margin-bottom: var(--space-4);
}

.fair-banner .btn {
    background: var(--white);
    color: var(--pulmad-blue-accent);
}

.fair-banner .btn:hover {
    background: var(--off-white);
}


/* ===========================
   2. Components — Forms
   =========================== */
/**
 * Form Styles
 */

/* ===========================
   Form Base
   =========================== */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: var(--font-medium);
    color: var(--charcoal);
}

.form-label .required {
    color: var(--error);
    margin-left: var(--space-1);
}

/* ===========================
   Input Fields
   =========================== */
.form-input,
.form-select,
.form-textarea {
    display: block;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    color: var(--charcoal);
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--pulmad-blue-accent);
    box-shadow: 0 0 0 3px var(--pulmad-blue-light);
}

.form-input::placeholder {
    color: var(--medium-gray);
}

/* Error state */
.form-input.is-error,
.form-select.is-error,
.form-textarea.is-error {
    border-color: var(--error);
}

.form-input.is-error:focus,
.form-select.is-error:focus,
.form-textarea.is-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* Success state */
.form-input.is-valid,
.form-select.is-valid,
.form-textarea.is-valid {
    border-color: var(--success);
}

/* Disabled state */
.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
    background-color: var(--light-gray);
    cursor: not-allowed;
    opacity: 0.7;
}

/* ===========================
   Textarea
   =========================== */
.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: var(--leading-relaxed);
}

/* ===========================
   Select
   =========================== */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-3) center;
    background-size: 20px;
    padding-right: var(--space-8);
}

/* ===========================
   Checkbox & Radio
   =========================== */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.form-check-input {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    appearance: none;
    background-color: var(--white);
    border: 2px solid var(--medium-gray);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.form-check-input[type="checkbox"] {
    border-radius: var(--radius-sm);
}

.form-check-input[type="radio"] {
    border-radius: 50%;
}

.form-check-input:checked {
    background-color: var(--pulmad-blue-accent);
    border-color: var(--pulmad-blue-accent);
}

.form-check-input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

.form-check-input[type="radio"]:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='4' cy='4' r='4' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--pulmad-blue-light);
}

.form-check-label {
    font-size: var(--text-base);
    color: var(--charcoal);
    cursor: pointer;
}

/* Checkbox group (pill style) */
.form-check-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.form-check-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--light-gray);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.form-check-pill:hover {
    background: var(--white);
    border-color: var(--pulmad-blue-accent);
}

.form-check-pill.checked {
    background: var(--pulmad-blue-light);
    border-color: var(--pulmad-blue-accent);
}

.form-check-pill input {
    display: none;
}

/* ===========================
   Form Help & Error Text
   =========================== */
.form-help {
    display: block;
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    color: var(--dark-gray);
}

.form-error {
    display: block;
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    color: var(--error);
}

/* ===========================
   Form Row (2 columns)
   =========================== */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
}

@media screen and (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Input Group (with icon or button)
   =========================== */
.input-group {
    display: flex;
    align-items: stretch;
}

.input-group .form-input {
    flex: 1;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.input-group .btn {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.input-group-icon {
    position: relative;
}

.input-group-icon .form-input {
    padding-left: var(--space-8);
}

.input-group-icon i {
    position: absolute;
    left: var(--space-3);
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-gray);
}

/* ===========================
   Search Form
   =========================== */
.search-form {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.search-form .form-input {
    flex: 1;
    min-width: 200px;
}

.search-form .form-select {
    min-width: 150px;
}

/* Hero search form */
.search-form--hero {
    background: var(--white);
    padding: var(--space-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.search-form--hero .form-input,
.search-form--hero .form-select {
    border: none;
    box-shadow: none;
}

.search-form--hero .form-input:focus,
.search-form--hero .form-select:focus {
    box-shadow: none;
}

/* ===========================
   Form Section
   =========================== */
.form-section {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-5);
}

.form-section__title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--light-gray);
}

/* ===========================
   Messages
   =========================== */
.form-message {
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

.form-message--success {
    background: #D1FAE5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.form-message--error {
    background: #FEE2E2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.form-message--warning {
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    color: #92400E;
}

.form-message--info {
    background: #DBEAFE;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
}


/* ===========================
   2. Components — Navigation
   =========================== */
/**
 * Navigation Styles
 */

/* ===========================
   Primary Navigation
   =========================== */
.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.primary-nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav__item,
.primary-nav__list > .menu-item {
    position: relative;
    list-style: none;
}

.primary-nav__link,
.primary-nav__list > .menu-item > a {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.primary-nav__link:hover,
.primary-nav__list > .menu-item > a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.primary-nav__link.current-menu-item,
.primary-nav__item.current-menu-item > .primary-nav__link,
.primary-nav__list > .menu-item.current-menu-item > a {
    color: var(--white);
}

/* Dropdown indicator */
.primary-nav__link--has-dropdown::after,
.primary-nav__list > .menu-item-has-children > a::after {
    content: '';
    width: 0;
    height: 0;
    margin-left: var(--space-2);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform var(--transition-normal);
}

.primary-nav__item:hover .primary-nav__link--has-dropdown::after,
.primary-nav__list > .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* ===========================
   Dropdown Menu
   =========================== */
.primary-nav__dropdown,
.primary-nav__list .sub-menu,
.primary-nav__list > .menu-item-has-children > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: var(--space-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 9999;
    list-style: none;
    margin: 0;
}

.primary-nav__item:hover > .primary-nav__dropdown,
.primary-nav__list > .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown menu items */
.primary-nav__list .sub-menu li,
.primary-nav__list .sub-menu .menu-item {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Dropdown links */
.primary-nav__dropdown-link,
.primary-nav__list .sub-menu li a,
.primary-nav__list .sub-menu .menu-item > a {
    display: block;
    padding: var(--space-2) var(--space-3);
    color: var(--charcoal);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    font-size: var(--text-sm);
    font-weight: var(--font-normal);
    white-space: nowrap;
}

.primary-nav__dropdown-link:hover,
.primary-nav__list .sub-menu li a:hover,
.primary-nav__list .sub-menu .menu-item > a:hover {
    background: var(--pulmad-blue-light);
    color: var(--pulmad-blue-accent);
}

/* Nested dropdown (sub-sub-menu) */
.primary-nav__list .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: var(--space-1);
}

.primary-nav__list .sub-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===========================
   Mega Menu
   =========================== */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    padding: var(--space-4) var(--space-5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 9999;
}

.primary-nav__item:hover .mega-menu,
.primary-nav__item.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Compact dropdown (top 10 list) */
.mega-menu--compact {
    min-width: 220px;
    padding: var(--space-2) 0;
}

.mega-menu__list {
    display: flex;
    flex-direction: column;
}

.mega-menu__link {
    display: block;
    padding: 6px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: background var(--transition-normal), color var(--transition-normal);
}

.mega-menu__link:hover {
    color: var(--pulmad-blue-accent);
    background: var(--off-white, #f9f9f9);
}

.mega-menu__footer {
    margin-top: 0;
    padding: var(--space-2) 20px;
    border-top: 1px solid var(--light-gray);
}

.mega-menu__footer-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--pulmad-blue-accent);
    font-size: 13px;
    font-weight: var(--font-medium);
}

.mega-menu__footer-link:hover {
    color: var(--pulmad-blue-dark);
}

/* Responsive mega menu */
@media screen and (max-width: 900px) {
    .mega-menu {
        min-width: 600px;
    }

    .mega-menu__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   Mobile Menu Toggle
   =========================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: calc(var(--z-modal) + 1);
}

.menu-toggle__bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   Mobile Navigation
   =========================== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    padding: var(--space-8) var(--space-5) var(--space-5);
    overflow-y: auto;
    transition: right var(--transition-slow);
    z-index: var(--z-modal);
}

.mobile-nav.is-open {
    right: 0;
}

.mobile-nav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: calc(var(--z-modal) - 1);
}

.mobile-nav__overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.mobile-nav__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-4);
    color: var(--charcoal);
    text-decoration: none;
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.mobile-nav__link:hover {
    background: var(--pulmad-blue-light);
    color: var(--pulmad-blue-accent);
}

/* Mobile submenu */
.mobile-nav__submenu {
    display: none;
    padding-left: var(--space-4);
}

.mobile-nav__submenu.is-open {
    display: block;
}

.mobile-nav__submenu-link {
    display: block;
    padding: var(--space-2) var(--space-4);
    color: var(--dark-gray);
    text-decoration: none;
    font-size: var(--text-base);
    border-radius: var(--radius-sm);
}

.mobile-nav__submenu-link:hover {
    color: var(--pulmad-blue-accent);
}

/* Mobile nav actions */
.mobile-nav__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--light-gray);
}

/* ===========================
   Responsive
   =========================== */
@media screen and (max-width: 1024px) {
    .primary-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}


/* ===========================
   2. Components — Breadcrumbs
   =========================== */
/**
 * Breadcrumbs Styles
 */

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) 0;
    font-size: var(--text-sm);
    color: var(--dark-gray);
}

.breadcrumbs a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.breadcrumbs a:hover {
    color: var(--pulmad-blue-accent);
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    color: var(--medium-gray);
}

.breadcrumb-separator i {
    font-size: 0.875rem;
}

.breadcrumb-current {
    color: var(--charcoal);
    font-weight: var(--font-medium);
}

/* With background */
.breadcrumbs--boxed {
    background: var(--light-gray);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
}


/* ===========================
   2. Components — Guest CTA
   =========================== */
/**
 * Guest CTA — reusable signup prompt for non-logged-in users
 */

.guest-cta {
    padding: var(--space-8) var(--space-5) var(--space-9);
}

.guest-cta__inner {
    max-width: var(--container-md);
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, var(--pulmad-blue) 0%, var(--pulmad-blue-mid) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
}

.guest-cta__title {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--white);
    margin: 0 0 var(--space-3);
}

.guest-cta__text {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 var(--space-6);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.guest-cta__button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    background: var(--gold);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.guest-cta__button:hover {
    background: #e0bc44;
    color: var(--charcoal);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

@media screen and (max-width: 768px) {
    .guest-cta {
        padding: var(--space-6) var(--space-4) var(--space-8);
    }

    .guest-cta__inner {
        padding: var(--space-6) var(--space-5);
    }

    .guest-cta__title {
        font-size: var(--text-xl);
    }
}


/* ===========================
   2. Components — Gallery
   =========================== */
/* ==========================================================================
   Shared Gallery Component
   Used by: pulmad-vendor-directory (vendor single page)
             pulmad-nouanded (article gallery type)
   ========================================================================== */

.pulmad-gallery {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

/* --- Main image container --- */
.pulmad-gallery__main {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-lg, 8px);
    position: relative;
    background: #000;
}

.pulmad-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

/* --- Navigation arrows --- */
.pulmad-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #fff;
    font-size: 22px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 3;
    padding: 0;
    line-height: 1;
}

.pulmad-gallery__nav:hover {
    background: rgba(0, 0, 0, 0.65);
}

.pulmad-gallery__nav--prev { left: 12px; }
.pulmad-gallery__nav--next { right: 12px; }

/* --- Counter badge --- */
.pulmad-gallery__counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.85em;
    padding: 4px 10px;
    border-radius: 12px;
    z-index: 3;
}

/* --- Pause / Play button --- */
.pulmad-gallery__pause {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 3;
    padding: 0;
    font-size: 12px;
    line-height: 1;
}

.pulmad-gallery__pause:hover {
    background: rgba(0, 0, 0, 0.7);
}

.pulmad-gallery__pause-icon--pause { letter-spacing: -3px; }

/* --- Thumbnail strip --- */
.pulmad-gallery__thumbs-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.pulmad-gallery__thumbs-nav {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    padding: 0;
    line-height: 1;
    transition: background 0.2s;
}

.pulmad-gallery__thumbs-nav:hover {
    background: rgba(0, 0, 0, 0.65);
}

.pulmad-gallery__thumbs {
    display: flex;
    gap: 8px;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    scroll-behavior: smooth;
}

.pulmad-gallery__thumb {
    flex: 0 0 80px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: #000;
    opacity: 0.6;
    transition: opacity 0.2s, border-color 0.2s;
}

.pulmad-gallery__thumb:hover {
    opacity: 0.9;
}

.pulmad-gallery__thumb.is-active {
    border-color: var(--pulmad-blue-accent, #276FAB);
    opacity: 1;
}

.pulmad-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Responsive --- */
@media screen and (max-width: 768px) {
    .pulmad-gallery__main {
        aspect-ratio: 4 / 3;
    }

    .pulmad-gallery__nav {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .pulmad-gallery__nav--prev { left: 8px; }
    .pulmad-gallery__nav--next { right: 8px; }

    .pulmad-gallery__pause {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }
}

@media screen and (max-width: 480px) {
    .pulmad-gallery__thumb {
        flex: 0 0 64px;
        height: 48px;
    }

    .pulmad-gallery__thumbs-nav {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}


/* ===========================
   2. Components — Modal
   =========================== */
/**
 * Pulmad.ee Global Modal
 */
.pulmad-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(15, 29, 51, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4, 16px);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.pulmad-modal-overlay--visible {
    opacity: 1;
    pointer-events: auto;
}
.pulmad-modal {
    position: relative;
    background: var(--white, #fff);
    border-radius: var(--radius-lg, 12px);
    box-shadow: var(--shadow-xl, 0 16px 48px rgba(0,0,0,0.16));
    max-width: 400px;
    width: 100%;
    padding: var(--space-6, 32px) var(--space-5, 24px) var(--space-5, 24px);
    text-align: center;
    transform: translateY(12px) scale(0.97);
    transition: transform 0.2s ease;
    cursor: grab;
    user-select: none;
}
.pulmad-modal-overlay--visible .pulmad-modal {
    transform: translateY(0) scale(1);
}
.pulmad-modal.is-dragging {
    cursor: grabbing;
    transition: none;
}
.pulmad-modal__icon {
    margin-bottom: var(--space-3, 12px);
}
.pulmad-modal--error .pulmad-modal__icon { color: var(--error, #EF4444); }
.pulmad-modal--success .pulmad-modal__icon { color: var(--success, #10B981); }
.pulmad-modal--warning .pulmad-modal__icon { color: var(--warning, #F59E0B); }
.pulmad-modal--info .pulmad-modal__icon { color: var(--info, #3B82F6); }

.pulmad-modal__message {
    font-family: var(--font-secondary, 'Inter', sans-serif);
    font-size: var(--text-sm, 0.875rem);
    line-height: var(--leading-normal, 1.5);
    color: var(--charcoal, #323232);
    margin-bottom: var(--space-5, 24px);
    word-break: break-word;
    white-space: pre-line;
    cursor: text;
    user-select: text;
}
.pulmad-modal__btn {
    display: inline-block;
    min-width: 100px;
    padding: var(--space-2, 8px) var(--space-5, 24px);
    border: none;
    border-radius: var(--radius-full, 100px);
    font-family: var(--font-secondary, 'Inter', sans-serif);
    font-size: var(--text-sm, 0.875rem);
    font-weight: var(--font-semibold, 600);
    cursor: pointer;
    transition: background var(--transition-normal, 0.2s ease), transform var(--transition-fast, 0.15s ease);
}
.pulmad-modal__btn:hover {
    transform: translateY(-1px);
}
.pulmad-modal__btn:active {
    transform: translateY(0);
}
.pulmad-modal--error .pulmad-modal__btn {
    background: var(--error, #EF4444);
    color: var(--white, #fff);
}
.pulmad-modal--error .pulmad-modal__btn:hover { background: #DC2626; }
.pulmad-modal--success .pulmad-modal__btn {
    background: var(--success, #10B981);
    color: var(--white, #fff);
}
.pulmad-modal--success .pulmad-modal__btn:hover { background: #059669; }
.pulmad-modal--warning .pulmad-modal__btn {
    background: var(--warning, #F59E0B);
    color: var(--white, #fff);
}
.pulmad-modal--warning .pulmad-modal__btn:hover { background: #D97706; }
.pulmad-modal--info .pulmad-modal__btn {
    background: var(--pulmad-blue-accent, #325289);
    color: var(--white, #fff);
}
.pulmad-modal--info .pulmad-modal__btn:hover { background: var(--pulmad-blue-hover, #3F63A1); }

/* Confirm modal: two-button layout */
.pulmad-modal__actions {
    display: flex;
    gap: var(--space-3, 12px);
    justify-content: center;
}
.pulmad-modal__btn--cancel {
    background: var(--gray-100, #F3F4F6);
    color: var(--charcoal, #323232);
}
.pulmad-modal__btn--cancel:hover {
    background: var(--gray-200, #E5E7EB);
}
.pulmad-modal__btn--confirm {
    /* Inherits type color from parent .pulmad-modal--{type} .pulmad-modal__btn */
}

/* Form modal variant */
.pulmad-modal--form {
    cursor: default;
    user-select: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}
.pulmad-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200, #E5E7EB);
    cursor: grab;
}
.pulmad-modal--form.is-dragging .pulmad-modal__header {
    cursor: grabbing;
}
.pulmad-modal__title {
    font-family: var(--font-secondary, 'Inter', sans-serif);
    font-size: var(--text-base, 1rem);
    font-weight: var(--font-semibold, 600);
    color: var(--charcoal, #323232);
}
.pulmad-modal__close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: var(--gray-400, #9CA3AF);
    cursor: pointer;
    padding: 0 4px;
}
.pulmad-modal__close:hover {
    color: var(--charcoal, #323232);
}
.pulmad-modal__body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}
.pulmad-modal__footer {
    display: flex;
    gap: var(--space-3, 12px);
    justify-content: flex-end;
    padding: 16px 20px;
    border-top: 1px solid var(--gray-200, #E5E7EB);
}
.pulmad-modal__btn--save {
    background: var(--pulmad-blue-accent, #325289);
    color: var(--white, #fff);
}
.pulmad-modal__btn--save:hover {
    background: var(--pulmad-blue-hover, #3F63A1);
}
@media screen and (max-width: 600px) {
    .pulmad-modal--form {
        max-width: 100% !important;
        margin: 8px;
    }
}


/* ===========================
   3. Layouts — Header
   =========================== */
/**
 * Header Styles
 */

/* ===========================
   Site Header
   =========================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--header-bg, #0f1d33);
    z-index: calc(var(--z-sticky) + 10);
    transition: box-shadow var(--transition-normal);
}

.site-header.is-scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

/* ===========================
   Site Branding
   =========================== */
.site-branding {
    flex-shrink: 0;
}

.site-branding a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    height: auto;
}

/* Mobile logo handling */
.mobile-logo {
    display: none;
}

@media screen and (max-width: 768px) {
    .desktop-logo {
        display: none;
    }

    .mobile-logo {
        display: block;
    }

    /* If no separate mobile logo, show desktop logo */
    .custom-logo-link:not(:has(.mobile-logo)) .desktop-logo {
        display: block;
    }
}

.site-title-link {
    text-decoration: none;
}

.site-title {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--white);
}

/* Invert logo for dark header */
.site-header .custom-logo {
    filter: brightness(0) invert(1);
}

/* ===========================
   Header Actions
   =========================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.header-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.header-action:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.header-action i {
    font-size: 1.25rem;
}

/* User account trigger (rounded pill) */
.header-user {
    position: relative;
}

.header-user__trigger {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
    padding: 8px 16px 8px 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.header-user__trigger:hover {
    background: rgba(255, 255, 255, 0.22);
    color: var(--white);
}

.header-user__trigger i {
    font-size: 1.1rem;
    opacity: 0.85;
    position: relative;
    top: 2px;
}

.header-user__trigger--pro {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border-color: rgba(212, 175, 55, 0.5);
}

.header-user__trigger--pro:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.15));
}

.header-user__pro-crown {
    color: var(--gold, #D4AF37);
    opacity: 1;
}

.header-user__name {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-user__label-text {
    font-size: 0.7rem;
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.65;
    align-self: baseline;
}

.header-user__dropdown {
    position: absolute;
    top: calc(100% + var(--space-2));
    right: 0;
    min-width: 260px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
}

.header-user:hover .header-user__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-user__link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    color: var(--charcoal);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.header-user__link:hover {
    background: var(--pulmad-blue-light);
    color: var(--pulmad-blue-accent);
}

.header-user__link i {
    font-size: 1rem;
    width: 20px;
}

.header-user__divider {
    height: 1px;
    background: var(--light-gray);
    margin: var(--space-2) 0;
}

.header-user__label {
    padding: var(--space-2) var(--space-3) var(--space-1);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pulmad-blue-accent);
}

/* Dropdown sub-links (planning tools) */
.header-user__sub-links {
    padding-left: 12px;
    border-left: 2px solid var(--light-gray);
    margin-left: 20px;
}

.header-user__link--sub {
    font-size: 0.85rem;
    padding: 6px var(--space-3) !important;
    color: var(--medium-gray);
}

.header-user__link--sub:hover {
    color: var(--pulmad-blue-accent);
}

.header-user__link--sub i {
    font-size: 0.85rem;
    width: 16px;
}

/* Login button */
.header-action--login {
    width: auto;
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
    text-decoration: none;
    gap: var(--space-2);
}

.header-action--login:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

/* Header CTA Button */
.header-cta {
    display: none;
}

@media screen and (min-width: 769px) {
    .header-action--login,
    .header-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-2);
        padding: var(--space-2) var(--space-4);
        min-width: 180px;
        height: 40px;
        background: var(--white);
        color: #0f1d33;
        font-weight: var(--font-medium);
        font-size: var(--text-sm);
        border-radius: var(--radius-md);
        text-decoration: none;
        transition: all var(--transition-normal);
    }

    .header-action--login:hover,
    .header-cta:hover {
        background: rgba(255, 255, 255, 0.85);
        color: #0f1d33;
    }

    .header-cta i {
        font-size: 0.875rem;
    }
}

/* Search Icon Button */
.header-action--search {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===========================
   Header Style Variants
   =========================== */

/* Sticky White (Default — now dark) */
.site-header--sticky-white {
    position: sticky;
    top: 0;
}

/* Transparent Header (for hero pages) */
.site-header--sticky-transparent {
    position: fixed;
    background: transparent;
}

.site-header--sticky-transparent .site-branding,
.site-header--sticky-transparent .header-action,
.site-header--sticky-transparent .primary-navigation a {
    color: var(--white);
}

.site-header--sticky-transparent.is-scrolled {
    background: #0f1d33;
}

.site-header--sticky-transparent .header-action:hover {
    background: rgba(255, 255, 255, 0.2);
}

.site-header--sticky-transparent.is-scrolled .header-action:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Colored Header */
.site-header--sticky-colored {
    position: sticky;
    top: 0;
    background: var(--pulmad-blue-accent);
}

.site-header--sticky-colored .site-branding,
.site-header--sticky-colored .header-action,
.site-header--sticky-colored .primary-navigation a {
    color: var(--white);
}

.site-header--sticky-colored .header-action:hover {
    background: rgba(255, 255, 255, 0.2);
}

.site-header--sticky-colored .header-action--login {
    background: var(--white);
    color: var(--pulmad-blue-accent);
}

.site-header--sticky-colored .header-cta {
    background: var(--white);
    color: var(--pulmad-blue-accent);
}

/* Static Header (no sticky) */
.site-header--static-white {
    position: relative;
}

/* ===========================
   Responsive
   =========================== */
@media screen and (max-width: 768px) {
    .site-header {
        height: var(--header-height-mobile);
    }

    .site-header__inner {
        padding: 0 var(--space-4);
    }

    .custom-logo {
        max-height: 40px;
    }

    .header-actions {
        gap: var(--space-2);
    }

    .header-action--login span {
        display: none;
    }

    .header-action--login {
        width: 40px;
        padding: 0;
    }

    /* Collapse user pill to icon-only on mobile */
    .header-user__name,
    .header-user__label-text {
        display: none;
    }

    .header-user__trigger {
        padding: 6px;
        border-radius: 50%;
        align-items: center;
    }
}


/* ===========================
   3. Layouts — Footer
   =========================== */
/**
 * Footer Styles
 */

/* ===========================
   Site Footer
   =========================== */
.site-footer {
    background: var(--charcoal);
    color: var(--white);
    margin-top: auto;
}

/* ===========================
   Footer Main
   =========================== */
.footer-main {
    padding: var(--space-8) 0;
}

.footer-main__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

/* ===========================
   Footer Columns (always 3)
   =========================== */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-7);
}

/* Footer column */
.footer-column__title {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--white);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer widget */
.footer-column .widget {
    margin-bottom: var(--space-4);
}

.footer-column .widget:last-child {
    margin-bottom: 0;
}

.footer-column .widget-title {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--white);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-link {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-normal);
}

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

/* WordPress menu widget */
.footer-column .widget_nav_menu ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-column .widget_nav_menu a {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-normal);
}

.footer-column .widget_nav_menu a:hover {
    color: var(--white);
}

/* Footer block menu */
.footer-links--menu .footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-links--menu .footer-menu-list a {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-normal);
}

.footer-links--menu .footer-menu-list a:hover {
    color: var(--white);
}

/* Footer about (fallback) */
.footer-about {
    margin-bottom: var(--space-4);
}

.footer-logo {
    max-width: 150px;
    margin: 0 auto var(--space-3);
}

.footer-about p {
    color: var(--medium-gray);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

/* Footer social */
.footer-social {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.footer-social__link:hover {
    background: var(--pulmad-blue-accent);
    color: var(--white);
}

.footer-social__link i {
    font-size: 1.125rem;
}

/* Footer contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-contact__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    color: var(--medium-gray);
    font-size: var(--text-sm);
}

.footer-contact__item i {
    color: var(--pulmad-blue-accent);
    font-size: 1rem;
    margin-top: 2px;
}

.footer-contact__item a {
    color: var(--medium-gray);
    text-decoration: none;
}

.footer-contact__item a:hover {
    color: var(--white);
}

/* ===========================
   Footer Bottom
   =========================== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-5) 0;
}

.footer-bottom__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copyright {
    color: var(--medium-gray);
    font-size: var(--text-sm);
}

.footer-legal {
    display: flex;
    gap: var(--space-4);
}

.footer-legal__link {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-normal);
}

.footer-legal__link:hover {
    color: var(--white);
}

/* WP nav menu in footer legal */
.footer-legal__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}
.footer-legal__list li {
    display: inline;
}
.footer-legal__list li a {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: normal;
    transition: color var(--transition-normal);
}
.footer-legal__list li a:hover {
    color: var(--white);
}

/* ===========================
   Responsive
   =========================== */
@media screen and (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

@media screen and (max-width: 640px) {
    .footer-main {
        padding: var(--space-6) 0;
    }

    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: var(--space-2);
    }
    .footer-legal__list {
        flex-direction: column;
        gap: var(--space-2);
    }
}


/* ===========================
   3. Layouts — Grid
   =========================== */
/**
 * Grid System & Layout Utilities
 */

/* ===========================
   Container
   =========================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.container--sm {
    max-width: var(--container-sm);
}

.container--md {
    max-width: var(--container-md);
}

.container--lg {
    max-width: var(--container-lg);
}

.container--xl {
    max-width: var(--container-xl);
}

.container--fluid {
    max-width: none;
}

/* ===========================
   Grid System
   =========================== */
.grid {
    display: grid;
    gap: var(--space-5);
}

/* Column counts */
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Gap variations */
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-7 { gap: var(--space-7); }

/* Responsive grid columns */
@media screen and (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .sm\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media screen and (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .md\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
    .md\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
}

@media screen and (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
    .lg\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
}

@media screen and (min-width: 1280px) {
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .xl\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
    .xl\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
}

/* ===========================
   Vendor Grid (specific)
   =========================== */
.vendor-grid {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: 1fr;
}

@media screen and (min-width: 480px) {
    .vendor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media screen and (min-width: 1024px) {
    .vendor-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===========================
   Category Grid (horizontal scroll with buttons)
   =========================== */
.category-slider {
    position: relative;
}

.category-grid {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-grid::-webkit-scrollbar {
    display: none;
}

/* Navigation buttons */
.category-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    z-index: 10;
}

.category-slider__btn:hover {
    background: var(--pulmad-blue-accent);
    border-color: var(--pulmad-blue-accent);
    color: var(--white);
}

.category-slider__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.category-slider__btn:disabled:hover {
    background: var(--white);
    border-color: var(--light-gray);
    color: inherit;
}

.category-slider__btn--prev {
    left: -24px;
}

.category-slider__btn--next {
    right: -24px;
}

.category-slider__btn i,
.category-slider__btn svg {
    font-size: 1.25rem;
    width: 20px;
    height: 20px;
}

/* Mobile: hide buttons, allow touch scroll */
@media screen and (max-width: 767px) {
    .category-slider__btn {
        display: none;
    }

    .category-grid {
        margin: 0 calc(var(--space-5) * -1);
        padding-left: var(--space-5);
        padding-right: var(--space-5);
    }
}

/* ===========================
   Flexbox Utilities
   =========================== */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }

/* ===========================
   Spacing Utilities
   =========================== */

/* Margin */
.m-0 { margin: 0; }
.m-auto { margin: auto; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-7 { margin-bottom: var(--space-7); }
.mb-8 { margin-bottom: var(--space-8); }

/* Padding */
.p-0 { padding: 0; }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }

.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-5 { padding-top: var(--space-5); padding-bottom: var(--space-5); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-7 { padding-top: var(--space-7); padding-bottom: var(--space-7); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-9 { padding-top: var(--space-9); padding-bottom: var(--space-9); }

.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-5 { padding-left: var(--space-5); padding-right: var(--space-5); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }

/* ===========================
   Section Spacing
   =========================== */
.section {
    padding: var(--space-8) 0;
}

.section--sm {
    padding: var(--space-6) 0;
}

.section--lg {
    padding: var(--space-9) 0;
}

.section--gray {
    background: var(--light-gray);
}

.section--white {
    background: var(--white);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-7);
}

.section__title {
    margin-bottom: var(--space-3);
}

.section__subtitle {
    font-size: var(--text-lg);
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   Visibility
   =========================== */
.hidden { display: none !important; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }

@media screen and (max-width: 639px) {
    .hidden-mobile { display: none !important; }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
    .hidden-tablet { display: none !important; }
}

@media screen and (min-width: 1024px) {
    .hidden-desktop { display: none !important; }
}


/* ===========================
   3. Layouts — Sidebar
   =========================== */
/**
 * Sidebar Styles
 */

/* ===========================
   Page Layout with Sidebar
   =========================== */
.page-layout {
    display: grid;
    gap: var(--space-7);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.page-layout--sidebar-right {
    grid-template-columns: 1fr 320px;
}

.page-layout--sidebar-left {
    grid-template-columns: 320px 1fr;
}

/* Main content area */
.page-content {
    min-width: 0;
}

/* Sidebar */
.page-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-5));
    height: fit-content;
    max-height: calc(100vh - var(--header-height) - var(--space-8));
    overflow-y: auto;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .page-layout--sidebar-right,
    .page-layout--sidebar-left {
        grid-template-columns: 1fr;
    }

    .page-sidebar {
        position: static;
        max-height: none;
    }
}

/* ===========================
   Sidebar Widgets
   =========================== */
.widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-5);
    box-shadow: var(--shadow-sm);
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--pulmad-blue-accent);
}

/* ===========================
   Contact Widget (Single Vendor)
   =========================== */
.widget-contact {

}

.widget-contact__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.widget-contact__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.widget-contact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--pulmad-blue-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.widget-contact__icon i {
    font-size: 1rem;
    color: var(--pulmad-blue-accent);
}

.widget-contact__content {
    flex: 1;
    min-width: 0;
}

.widget-contact__label {
    font-size: var(--text-xs);
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.widget-contact__value {
    color: var(--charcoal);
    word-break: break-word;
}

.widget-contact__value a {
    color: var(--charcoal);
    text-decoration: none;
}

.widget-contact__value a:hover {
    color: var(--pulmad-blue-accent);
}

/* Contact actions */
.widget-contact__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--light-gray);
}

/* ===========================
   Social Links Widget
   =========================== */
.widget-social__links {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.widget-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--light-gray);
    color: var(--charcoal);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.widget-social__link:hover {
    background: var(--pulmad-blue-accent);
    color: var(--white);
}

.widget-social__link i {
    font-size: 1.25rem;
}

/* ===========================
   Map Widget
   =========================== */
.widget-map__embed {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--light-gray);
}

.widget-map__embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.widget-map__address {
    margin-top: var(--space-3);
    font-size: var(--text-sm);
    color: var(--dark-gray);
}

/* ===========================
   Filter Widget
   =========================== */
.widget-filters {

}

.widget-filters .form-group {
    margin-bottom: var(--space-4);
}

.widget-filters .form-group:last-child {
    margin-bottom: 0;
}

/* Collapsible filter sections */
.filter-section {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-4);
}

.filter-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: var(--space-3);
}

.filter-section__title {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
}

.filter-section__toggle {
    color: var(--medium-gray);
    transition: transform var(--transition-normal);
}

.filter-section.is-collapsed .filter-section__toggle {
    transform: rotate(-180deg);
}

.filter-section__content {
    overflow: hidden;
}

.filter-section.is-collapsed .filter-section__content {
    display: none;
}

/* Filter tags */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: var(--pulmad-blue-light);
    color: var(--pulmad-blue-accent);
    font-size: var(--text-xs);
    border-radius: var(--radius-sm);
}

.filter-tag__remove {
    cursor: pointer;
    opacity: 0.7;
}

.filter-tag__remove:hover {
    opacity: 1;
}


/* ===========================
   4. Pages — Home
   =========================== */
/**
 * Homepage Styles
 */

/* ===========================
   Hero Section — Full viewport with particles & dual-tab search
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

/* Hero Style: Gradient (default) */
.hero--gradient {
    background: linear-gradient(135deg,
        #0a1628 0%,
        #1a2744 30%,
        var(--pulmad-blue-dark) 60%,
        #1a2744 80%,
        #0a1628 100%
    );
}

/* Hero Style: Image Background */
.hero--image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 0;
}

/* Hero Style: Solid Color */
.hero--solid {
    background: var(--pulmad-blue);
}

/* Hero Style: Minimal (White) */
.hero--minimal {
    background: var(--white);
    min-height: auto;
    padding: var(--space-9) 2rem;
}

.hero--minimal .hero__title {
    color: var(--charcoal);
    text-shadow: none;
}

.hero--minimal .hero__subtitle {
    color: var(--dark-gray);
}

.hero--minimal .hero__badge {
    color: var(--pulmad-blue-accent);
    background: var(--pulmad-blue-light);
    border-color: var(--pulmad-blue-accent);
}

.hero--minimal .hero__search {
    background: var(--white);
    border-color: var(--light-gray);
    backdrop-filter: none;
}

.hero--minimal .hero__tabs {
    background: var(--light-gray);
}

.hero--minimal .hero__tab {
    color: var(--dark-gray);
}

.hero--minimal .hero__tab--active {
    background: var(--white);
    color: var(--charcoal);
}

.hero--minimal .hero__search-input {
    background: var(--light-gray);
    border-color: var(--light-gray);
    color: var(--charcoal);
}

.hero--minimal .hero__search-input::placeholder {
    color: var(--medium-gray);
}

.hero--minimal .hero__pill {
    color: var(--pulmad-blue-accent);
    background: var(--pulmad-blue-light);
    border-color: var(--pulmad-blue-light);
}

.hero--minimal .hero__pill:hover {
    background: #d0e3f3;
}

.hero--minimal .hero__scroll-line {
    background: linear-gradient(to bottom, var(--pulmad-blue), transparent);
}

/* Particles */
.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: hero-twinkle var(--duration, 4s) ease-in-out infinite;
}

@keyframes hero-twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Content */
.hero__inner {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 var(--space-5);
    text-align: center;
    z-index: 2;
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    animation: hero-badge-glow 3s ease-in-out infinite;
}

@keyframes hero-badge-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(212, 175, 55, 0.3), 0 0 20px rgba(212, 175, 55, 0.1); }
    50% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.5), 0 0 35px rgba(212, 175, 55, 0.2); }
}

.hero__title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-bold);
    color: var(--white);
    margin-bottom: var(--space-3);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0 auto var(--space-6);
    max-width: 520px;
}

/* Search widget — glassmorphic card */
.hero__search {
    max-width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Tabs */
.hero__tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 0.25rem;
}

.hero__tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.hero__tab--active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.hero__tab:hover:not(.hero__tab--active) {
    color: rgba(255, 255, 255, 0.75);
}

/* Panels */
.hero__panel {
    display: none;
}

.hero__panel--active {
    display: block;
}

/* Search form */
.hero__search-form {
    display: flex;
    gap: 0.5rem;
}

.hero__search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9375rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.hero__search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.hero__search-input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.12);
}

.hero__date-form {
    flex-wrap: wrap;
}

.hero__date-selects {
    flex: 1;
    display: flex;
    gap: 0.5rem;
}

.hero__date-field {
    flex: 1;
}

.hero__date-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-secondary);
    font-size: 0.9375rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-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='rgba(255,255,255,0.5)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: border-color 0.2s, background 0.2s;
}

.hero__date-select:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.12);
}

.hero__date-select option {
    background: #1a2744;
    color: #fff;
}

.hero__search-button--wide {
    width: 100%;
}

.hero__search-button {
    white-space: nowrap;
}

.hero__search-button:not(.hero__search-button--wide) {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border-color: #6d28d9;
    color: #fff;
}

.hero__search-button:not(.hero__search-button--wide):hover {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    border-color: #5b21b6;
}

.hero__search-button--wide span {
    display: inline;
}

.hero__search-button i {
    font-size: 1.125rem;
}

/* Category pills */
.hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: center;
}

.hero__pill {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s;
}

.hero__pill:hover {
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.08);
    text-decoration: none;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: hero-scroll-bounce 2s ease-in-out infinite;
}

@keyframes hero-scroll-bounce {
    0%, 100% { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Responsive hero */
@media screen and (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 5rem 1rem 3rem;
    }

    .hero__search-form {
        flex-direction: column;
    }

    .hero__date-selects {
        flex-direction: column;
    }

    .hero__search-button--wide span {
        display: none;
    }

    .hero__tab {
        font-size: 0.75rem;
        padding: 0.5rem 0.5rem;
    }
}

/* ===========================
   Planning Timeline Section — Dark background matching header
   =========================== */
.timeline-section {
    background: #0F1D33;
    padding: 5rem 2rem 10rem;
}

.timeline-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.timeline-section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.timeline-section__title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
}

.timeline-section__subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin: 0;
}

/* Track */
.timeline-section__track {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-top: 0.5rem;
}

.timeline-section__line {
    position: absolute;
    top: 28px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    z-index: 0;
}

.timeline-section__progress {
    height: 100%;
    width: 0%;
    background: var(--gold, #D4AF37);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.timeline-section__step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    min-width: 80px;
}

.timeline-section__emoji {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.timeline-section__step--active .timeline-section__emoji {
    border-color: var(--gold, #D4AF37);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.15), 0 2px 12px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.timeline-section__step--completed .timeline-section__emoji {
    border-color: var(--gold, #D4AF37);
    background: rgba(212, 175, 55, 0.08);
}

.timeline-section__step-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.timeline-section__step-sub {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
}

/* Tip card */
.timeline-section__card {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    animation: timeline-fade-in 0.3s ease;
}

.timeline-section__card--active {
    display: block;
}

@keyframes timeline-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Task list inside card */
.timeline-section__tasks {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.timeline-section__tasks li {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    padding-left: 1.2rem;
    position: relative;
}

.timeline-section__tasks li::before {
    content: '○';
    position: absolute;
    left: 0;
    color: var(--gold, #D4AF37);
    font-size: 0.7rem;
    top: 0.15em;
}

.timeline-section__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-section__cat-pill {
    font-size: 0.75rem;
    color: var(--gold, #D4AF37);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s;
}

.timeline-section__cat-pill:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--gold, #D4AF37);
}

.timeline-section__articles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-section__articles-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.timeline-section__articles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.timeline-section__article-card {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.5rem 0.2rem 0.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    line-height: 1.2;
    transition: all var(--transition-normal);
}

.timeline-section__article-card:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
    color: var(--gold, #D4AF37);
}

.timeline-section__article-thumb {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.timeline-section__article-icon {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
}

.timeline-section__article-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.timeline-section__article-arrow {
    display: none;
}

/* Responsive timeline */
@media screen and (max-width: 768px) {
    .timeline-section {
        padding: 3rem 1rem 8rem;
    }

    .timeline-section__track {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        gap: 0.25rem;
    }

    .timeline-section__line {
        display: none;
    }

    .timeline-section__step {
        min-width: 70px;
    }

    .timeline-section__emoji {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .timeline-section__tasks {
        flex-direction: column;
        gap: 0.4rem;
    }

}

/* ===========================
   Ad Zone Sections — subtle fade in/out
   =========================== */
/* Ad-zone-1: between dark hero and dark timeline */
.fp-section--ad-zone-1 {
    background: #0F1D33;
    padding: 2rem 0;
}

.fp-section--ad-zone-1 .pulmad-ad-zone {
    color: #fff;
}

/* Ad-zone-2 & 3: between light sections */
.fp-section--ad-zone-2,
.fp-section--ad-zone-3 {
    background: #fff;
    padding: 2rem 0;
}

/* ===========================
   Categories Section
   =========================== */
.categories-section {
    padding: var(--space-8) 0;
}

/* Nõuannete kategooriad */
#block-nouanded-categories {
    padding-top: calc(var(--space-8) + 2rem);
    background: #fff;
}

/* Pulmad.ee kataloog */
#block-categories {
    padding: calc(var(--space-8) + 3rem) 0;
    background: #EEF3FB;
}

.categories-section__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.categories-section__header {
    text-align: center;
    margin-bottom: var(--space-7);
}

.categories-section__title {
    font-size: var(--text-3xl);
    color: var(--charcoal);
    margin-bottom: var(--space-2);
}

.categories-section__subtitle {
    color: var(--dark-gray);
}

/* ===========================
   Featured Vendors Section
   =========================== */
.featured-section {
    padding: calc(var(--space-8) + 3rem) 0;
    background: #0F1D33;
}

.featured-section__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.featured-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.featured-section__title {
    font-size: var(--text-2xl);
    color: #fff;
    margin-bottom: 0;
}

.featured-section__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.7);
    font-weight: var(--font-medium);
}

.featured-section__link:hover {
    color: #fff;
}

/* Featured vendor cards on dark background */
.featured-section .vendor-card {
    background: #1a2744;
    border-color: rgba(255, 255, 255, 0.08);
}

.featured-section .vendor-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.featured-section .vendor-card__title,
.featured-section .vendor-card__title a {
    color: #fff;
}

.featured-section .vendor-card__title a:hover {
    color: var(--pulmad-blue-light);
}

.featured-section .vendor-card__category {
    color: rgba(255, 255, 255, 0.5);
}

.featured-section .vendor-card__location {
    color: rgba(255, 255, 255, 0.6);
}

.featured-section .vendor-card__location i {
    color: rgba(255, 255, 255, 0.4);
}

.featured-section .vendor-card__excerpt {
    color: rgba(255, 255, 255, 0.6);
}

.featured-section .vendor-card__placeholder {
    background: #162847;
    color: rgba(255, 255, 255, 0.3);
}

/* Featured vendor adaptive layouts (1-3 Gold vendors) */
.vendor-card--featured-full,
.vendor-card--featured-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
}

.vendor-card--featured-full {
    grid-column: 1 / -1;
}

.vendor-card--featured-half {
    grid-column: span 2;
}

.vendor-card--featured-full .vendor-card__image,
.vendor-card--featured-half .vendor-card__image {
    aspect-ratio: 16 / 10;
}

.vendor-card--featured-full .vendor-card__content,
.vendor-card--featured-half .vendor-card__content {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vendor-card--featured-full .vendor-card__title,
.vendor-card--featured-half .vendor-card__title {
    font-size: var(--text-xl);
}

.vendor-card--featured-full .vendor-card__excerpt,
.vendor-card--featured-half .vendor-card__excerpt {
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-3);
}

.vendor-card--featured-full:hover,
.vendor-card--featured-half:hover {
    border-color: var(--gold);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.25);
}

/* Mobile: horizontal cards stack vertically */
@media screen and (max-width: 639px) {
    .vendor-card--featured-full,
    .vendor-card--featured-half {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .vendor-card--featured-full .vendor-card__image,
    .vendor-card--featured-half .vendor-card__image {
        min-height: 200px;
    }
}

/* ===========================
   Wedding Fair Section
   =========================== */
.fair-section {
    padding: var(--space-8) 0;
}

.fair-section__inner {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

/* ===========================
   Blog Section
   =========================== */
.blog-section {
    padding: var(--space-8) 0;
    background: var(--white);
}

.blog-section__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.blog-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.blog-section__title {
    font-size: var(--text-2xl);
    color: var(--charcoal);
    margin-bottom: 0;
}

/* Blog card */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.blog-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.02);
}

.blog-card__content {
    padding: var(--space-4);
}

.blog-card__category {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--pulmad-blue-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
}

.blog-card__title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    margin-bottom: var(--space-2);
    line-height: 1.3;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.blog-card__title a:hover {
    color: var(--pulmad-blue-accent);
}

.blog-card__excerpt {
    font-size: var(--text-sm);
    color: var(--dark-gray);
    margin-bottom: var(--space-3);
}

.blog-card__meta {
    font-size: var(--text-xs);
    color: var(--medium-gray);
}

.blog-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--light-gray, #e5e5e5);
    text-decoration: none;
    color: var(--medium-gray, #999);
}

.blog-card__placeholder i {
    font-size: 40px;
}

/* Blog card type badge (gallery/poll indicator) */
.blog-card__type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 10;
    color: var(--pulmad-blue);
    font-size: 16px;
}

/* Blog card favorite button */
.blog-card__image .pvd-favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* Single post favorite button */
.entry-meta__favorite {
    display: inline-flex;
    vertical-align: middle;
    margin-left: 8px;
}

.entry-meta__favorite .pvd-favorite-btn {
    border: none;
    background: none;
    padding: 4px;
    cursor: pointer;
}

.entry-meta__favorite .pvd-favorite-btn svg {
    width: 20px;
    height: 20px;
}

/* ===========================
   Awards Section (Aasta Tegija)
   =========================== */
.awards-section {
    background: #162847;
    padding: 5rem 2rem;
}

.awards-section__inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.awards-section__content {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
}

.awards-section__text {
    position: sticky;
    top: 6rem;
}

.awards-section__badge {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.awards-section__title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
}

.awards-section__desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.awards-section__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--gold, #D4AF37);
    color: #0f1d33;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s;
}

.awards-section__cta:hover {
    background: #e8d5b7;
    transform: translateY(-2px);
    color: #0f1d33;
}

/* Winner cards — Pulmapulss-style with image on top */
.awards-section__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.awards-section__card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

a.awards-section__card:hover {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

div.awards-section__card {
    cursor: default;
}

.awards-section__card-img {
    width: 100%;
    height: 56px;
    object-fit: cover;
    display: block;
    opacity: 0.7;
}

.awards-section__card-category {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gold, #D4AF37);
    line-height: 1.2;
    padding: 0.5rem 0.6rem 0;
}

.awards-section__card-winner {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    padding: 0.2rem 0.6rem 0.6rem;
}

@media screen and (max-width: 768px) {
    .awards-section {
        padding: 3rem 1rem;
    }

    .awards-section__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .awards-section__text {
        position: static;
    }

    .awards-section__cards {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .awards-section__card-img {
        height: 44px;
    }
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: var(--space-9) 0;
    background: var(--pulmad-blue-dark);
    text-align: center;
    color: var(--white);
}

.cta-section__inner {
    max-width: var(--container-md);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.cta-section__title {
    font-size: var(--text-3xl);
    color: var(--white);
    margin-bottom: var(--space-3);
}

.cta-section__text {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-6);
}

.cta-section .btn {
    background: var(--white);
    color: var(--pulmad-blue);
}

.cta-section .btn:hover {
    background: var(--off-white);
}


/* ===========================
   4. Pages — Listing
   =========================== */
/**
 * Vendor Listing Page Styles
 */

/* ===========================
   Listing Header
   =========================== */
.listing-header {
    padding: var(--space-6) 0;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
}

.listing-header__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.listing-header__title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-2);
}

.listing-header__count {
    color: var(--dark-gray);
}

/* ===========================
   Listing Filters
   =========================== */
.listing-filters {
    background: var(--light-gray);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
}

.listing-filters__form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: flex-end;
}

.listing-filters__group {
    flex: 1;
    min-width: 180px;
}

.listing-filters__group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--charcoal);
    margin-bottom: var(--space-2);
}

.listing-filters__actions {
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

.listing-filters__reset {
    color: var(--medium-gray);
    font-size: var(--text-sm);
    text-decoration: none;
}

.listing-filters__reset:hover {
    color: var(--error);
}

/* Filter pills */
.listing-filters__pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--light-gray);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--charcoal);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-pill:hover {
    border-color: var(--pulmad-blue-accent);
    background: var(--white);
}

.filter-pill.active {
    background: var(--pulmad-blue-accent);
    border-color: var(--pulmad-blue-accent);
    color: var(--white);
}

/* ===========================
   Listing Toolbar
   =========================== */
.listing-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-5);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.listing-toolbar__results {
    font-size: var(--text-sm);
    color: var(--dark-gray);
}

.listing-toolbar__results strong {
    color: var(--charcoal);
}

.listing-toolbar__sort {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.listing-toolbar__sort label {
    font-size: var(--text-sm);
    color: var(--dark-gray);
    white-space: nowrap;
}

.listing-toolbar__sort select {
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    background: var(--white);
}

/* ===========================
   Listing Grid
   =========================== */
.listing-grid {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: 1fr;
    margin-bottom: var(--space-6);
}

@media screen and (min-width: 480px) {
    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media screen and (min-width: 1024px) {
    .listing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===========================
   No Results
   =========================== */
.listing-no-results {
    text-align: center;
    padding: var(--space-8);
    background: var(--light-gray);
    border-radius: var(--radius-lg);
}

.listing-no-results__icon {
    font-size: 4rem;
    color: var(--medium-gray);
    margin-bottom: var(--space-4);
}

.listing-no-results__title {
    font-size: var(--text-xl);
    color: var(--charcoal);
    margin-bottom: var(--space-2);
}

.listing-no-results__text {
    color: var(--dark-gray);
    margin-bottom: var(--space-5);
}

/* ===========================
   Pagination
   =========================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-1);
    margin-top: var(--space-7);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-3);
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    color: var(--charcoal);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.pagination a:hover {
    border-color: var(--pulmad-blue-accent);
    color: var(--pulmad-blue-accent);
}

.pagination .current {
    background: var(--pulmad-blue-accent);
    border-color: var(--pulmad-blue-accent);
    color: var(--white);
}

.pagination .dots {
    border: none;
    background: none;
    color: var(--medium-gray);
}

.pagination .prev,
.pagination .next {
    padding: 0 var(--space-4);
}

/* ===========================
   Active Filters Display
   =========================== */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
    margin-bottom: var(--space-4);
}

.active-filters__label {
    font-size: var(--text-sm);
    color: var(--dark-gray);
}

.active-filter {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    background: var(--pulmad-blue-light);
    color: var(--pulmad-blue-accent);
    font-size: var(--text-sm);
    border-radius: var(--radius-sm);
}

.active-filter__remove {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-normal);
}

.active-filter__remove:hover {
    opacity: 1;
}

.active-filters__clear {
    color: var(--error);
    font-size: var(--text-sm);
    text-decoration: none;
    margin-left: var(--space-2);
}

.active-filters__clear:hover {
    text-decoration: underline;
}

/* ===========================
   Responsive Filters
   =========================== */
@media screen and (max-width: 768px) {
    .listing-filters__form {
        flex-direction: column;
    }

    .listing-filters__group {
        width: 100%;
    }

    .listing-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===========================
   Kataloog Search Bar (Top, inline like front page)
   =========================== */
.kataloog-search-bar {
    background: var(--pulmad-blue-accent);
    padding: var(--space-5) 0;
}

.kataloog-search-form {
    max-width: 900px;
    margin: 0 auto;
}

.kataloog-search-inner {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.kataloog-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 var(--space-4);
    border-right: 1px solid var(--light-gray);
}

.kataloog-search-field i {
    color: var(--medium-gray);
    font-size: 1.25rem;
    margin-right: var(--space-3);
}

.kataloog-search-field input,
.kataloog-search-field select {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--space-4) 0;
    font-size: var(--text-base);
    color: var(--charcoal);
}

.kataloog-search-field input:focus,
.kataloog-search-field select:focus {
    outline: none;
}

.kataloog-search-field input::placeholder {
    color: var(--medium-gray);
}

.kataloog-search-select {
    flex: 0 0 220px;
}

.kataloog-search-btn {
    border-radius: 0;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border-color: #6d28d9;
    color: #fff;
}

.kataloog-search-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    border-color: #5b21b6;
}

.kataloog-search-btn i {
    font-size: 1.25rem;
}

/* Kataloog Header */
.kataloog-header {
    margin-bottom: var(--space-5);
}

.kataloog-title {
    font-size: var(--text-2xl);
    color: var(--charcoal);
    margin: var(--space-3) 0 var(--space-2);
}

/* Category intro: picture left, description right */
.kataloog-intro {
    margin-bottom: var(--space-4);
    border: 2px solid var(--pulmad-blue-accent, #276FAB);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    box-shadow: 0 4px 16px rgba(39, 111, 171, 0.12);
}

.kataloog-intro--has-image {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.kataloog-intro__image {
    flex: 0 0 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.kataloog-intro__image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 240px;
    object-fit: cover;
}

.kataloog-intro__text {
    flex: 1;
    min-width: 0;
    font-size: var(--text-sm);
    color: var(--dark-gray);
    line-height: 1.7;
}

.kataloog-intro__text h2,
.kataloog-intro__text h3 {
    font-size: var(--text-base);
    color: var(--charcoal);
    margin: var(--space-3) 0 var(--space-1);
}

.kataloog-intro__text h2:first-child,
.kataloog-intro__text h3:first-child {
    margin-top: 0;
}

.kataloog-intro__text ul {
    padding-left: var(--space-4);
    margin: var(--space-2) 0;
}

.kataloog-intro__text p:last-child {
    margin-bottom: 0;
}

.kataloog-intro__readmore {
    margin-top: var(--space-2);
}

.kataloog-intro__readmore a {
    color: var(--primary);
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
}

.kataloog-intro__readmore a:hover {
    text-decoration: underline;
}

/* Term gallery variant: autoplay-only slideshow, no controls */
.kataloog-intro__gallery .pulmad-gallery {
    margin-bottom: 0;
}
.kataloog-intro__gallery .pulmad-gallery__main {
    aspect-ratio: 16 / 10;
    max-height: 240px;
}

@media (max-width: 768px) {
    .kataloog-intro--has-image {
        flex-direction: column;
    }
    .kataloog-intro__image {
        flex: none;
        width: 100%;
    }
    .kataloog-intro__gallery .pulmad-gallery__main {
        max-height: none;
    }
}

.kataloog-active-filters {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--dark-gray);
}

.kataloog-clear-filters {
    color: var(--pulmad-blue-accent);
    text-decoration: none;
}

.kataloog-clear-filters:hover {
    text-decoration: underline;
}

/* ===========================
   Kataloog Filter Bar
   =========================== */
.kataloog-filter-bar {
    background: var(--off-white, #f8f8f8);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-5);
    border: 1px solid var(--light-gray);
}

.kataloog-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
}

.kataloog-filter-select {
    min-width: 180px;
    height: 40px;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--medium-gray, #ccc);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    background: var(--white);
    color: var(--charcoal);
    cursor: pointer;
}

.kataloog-filter-select:focus {
    outline: none;
    border-color: var(--pulmad-blue-accent);
    box-shadow: 0 0 0 2px rgba(39, 111, 171, 0.15);
}

.kataloog-filter-clear {
    font-size: var(--text-sm);
    color: var(--link-color);
    text-decoration: none;
}

.kataloog-filter-clear:hover {
    color: var(--link-hover);
}

@media screen and (max-width: 768px) {
    .kataloog-filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .kataloog-filter-select {
        min-width: auto;
        width: 100%;
    }

    .kataloog-filter-form .btn {
        width: 100%;
        justify-content: center;
    }

    .kataloog-filter-clear {
        text-align: center;
    }
}

/* ===========================
   Kataloog Layout (with sidebar)
   =========================== */
.kataloog-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: var(--space-7);
    align-items: start;
}


.kataloog-main {
    min-width: 0;
}

/* Vendor Grid */
.vendor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

/* Kataloog Sidebar - Clean, no borders */
.kataloog-sidebar {
}

.kataloog-sidebar-title {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 var(--space-3) 0;
}

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

.kataloog-category-list li {
    margin: 0;
}

.kataloog-category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) 0;
    color: var(--charcoal);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-normal);
}

.kataloog-category-list a:hover {
    color: var(--pulmad-blue-accent);
}

.kataloog-category-list li.is-active a {
    color: var(--pulmad-blue-accent);
    font-weight: var(--font-semibold);
    background: var(--pulmad-blue-light, rgba(39, 111, 171, 0.08));
    padding-left: var(--space-3);
    padding-right: var(--space-3);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--pulmad-blue-accent);
}

.kataloog-category-list .cat-count {
    color: var(--medium-gray);
    font-size: var(--text-xs);
}

.kataloog-category-list li.is-active .cat-count {
    color: var(--pulmad-blue-accent);
}

/* Responsive Kataloog */
@media screen and (max-width: 1200px) {
    .vendor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1024px) {
    .kataloog-layout {
        grid-template-columns: 1fr 220px;
        gap: var(--space-5);
    }


    .vendor-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .kataloog-search-select {
        flex: 0 0 180px;
    }
}

/* Mobile category dropdown — hidden on desktop */
.kataloog-mobile-categories {
    display: none;
}

@media screen and (max-width: 768px) {
    .kataloog-search-inner {
        flex-direction: column;
        border-radius: var(--radius-md);
    }

    .kataloog-search-field {
        border-right: none;
        border-bottom: 1px solid var(--light-gray);
    }

    .kataloog-search-select {
        flex: 1;
    }

    .kataloog-search-btn {
        justify-content: center;
    }

    .kataloog-layout {
        grid-template-columns: 1fr;
    }

    /* Hide sidebar category list on mobile — replaced by dropdown, but keep FAQ visible */
    .kataloog-sidebar .kataloog-sidebar-title,
    .kataloog-sidebar .kataloog-category-list {
        display: none;
    }

    /* Hide filter bar category dropdown — replaced by mobile dropdown */
    .kataloog-filter-select--nav {
        display: none;
    }

    /* Show mobile category dropdown */
    .kataloog-mobile-categories {
        display: block;
        margin-bottom: var(--space-4);
    }

    .kataloog-mobile-category-select {
        width: 100%;
        height: 44px;
        padding: var(--space-2) var(--space-3);
        border: 1px solid var(--medium-gray, #ccc);
        border-radius: var(--radius-md);
        font-size: var(--text-sm);
        background: var(--white);
        color: var(--charcoal);
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        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 8L1 3h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 32px;
    }

    .kataloog-mobile-category-select:focus {
        outline: none;
        border-color: var(--pulmad-blue-accent);
        box-shadow: 0 0 0 2px rgba(39, 111, 171, 0.15);
    }

    .vendor-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 480px) and (max-width: 768px) {
    .vendor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   Search Results Sections
   =========================== */
.search-section {
    margin-bottom: var(--space-7);
}

.search-section__title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xl);
    color: var(--charcoal);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--light-gray);
}

.search-section__title i {
    color: var(--pulmad-blue-accent);
    font-size: 1.25rem;
}

.search-section__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 var(--space-2);
    background: var(--pulmad-blue-accent);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
}

/* ===========================
   Search Results Page Sections
   =========================== */
.search-section {
    margin-bottom: var(--space-7);
}

.search-section__title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xl);
    color: var(--charcoal);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--light-gray);
}

.search-section__title i {
    color: var(--pulmad-blue-accent);
    font-size: 1.5rem;
}

.search-section__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 var(--space-2);
    background: var(--pulmad-blue-accent);
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
}

.search-section__more {
    text-align: center;
    margin-top: var(--space-5);
}

.search-section__more .btn-secondary {
    text-decoration: none;
}

.search-section__more .btn-secondary:hover {
    text-decoration: none;
}

/* External results list */
.search-external-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.search-external-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--charcoal);
    transition: all var(--transition-normal);
}

.search-external-item:hover {
    border-color: var(--pulmad-blue-accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.search-external-item__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.search-external-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-external-item__content {
    flex: 1;
    min-width: 0;
}

.search-external-item__title {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    margin: 0 0 var(--space-1);
}

.search-external-item:hover .search-external-item__title {
    color: var(--pulmad-blue-accent);
}

.search-external-item__snippet {
    font-size: var(--text-sm);
    color: var(--dark-gray);
    margin: 0 0 var(--space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-external-item__link {
    text-decoration: none;
    color: inherit;
}

.search-external-item__link:hover .search-external-item__title {
    color: var(--pulmad-blue-accent);
}

.search-external-item__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: var(--space-2) 0;
}

.search-external-item__source {
    font-size: var(--text-xs);
    color: var(--medium-gray);
}

@media screen and (max-width: 640px) {
    .search-external-item__thumb {
        width: 60px;
        height: 60px;
    }
}

/* ===========================
   Vendor Card Tier Badge
   =========================== */
.vendor-card__tier-badge {
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    padding: var(--space-1) var(--space-3);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}


/* ===========================
   4. Pages — Single Vendor
   =========================== */
/**
 * Single Vendor Page Styles
 */

/* ===========================
   Vendor Layout
   =========================== */
.vendor-single {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.vendor-single__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-7);
}

.vendor-single__main {
    min-width: 0;
}

.vendor-single__sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-5));
    height: fit-content;
}

@media screen and (max-width: 1024px) {
    .vendor-single__layout {
        grid-template-columns: 1fr;
    }

    .vendor-single__sidebar {
        position: static;
    }
}

/* ===========================
   Vendor Header
   =========================== */
.vendor-header {
    margin-bottom: var(--space-6);
}

.vendor-header__location {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--dark-gray);
    margin-bottom: var(--space-2);
}

.vendor-header__location i {
    color: var(--pulmad-blue-accent);
}

.vendor-header__title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-3);
}

.vendor-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);
    align-items: center;
}

.vendor-header__rating {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.vendor-header__stars {
    display: flex;
    gap: 2px;
    color: var(--gold);
}

.vendor-header__reviews {
    color: var(--dark-gray);
    font-size: var(--text-sm);
}

.vendor-header__category {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    background: var(--pulmad-blue-light);
    color: var(--pulmad-blue-accent);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    border-radius: var(--radius-full);
}

/* Contact info inline */
.vendor-header__contact {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--light-gray);
}

.vendor-header__contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--dark-gray);
    font-size: var(--text-sm);
    text-decoration: none;
}

.vendor-header__contact-item:hover {
    color: var(--pulmad-blue-accent);
}

.vendor-header__contact-item i {
    color: var(--pulmad-blue-accent);
}

/* ===========================
   Vendor Gallery/Slider
   =========================== */
.vendor-gallery {
    margin-bottom: var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.vendor-gallery__main {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--light-gray);
}

.vendor-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.vendor-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    z-index: 10;
}

.vendor-gallery__nav:hover {
    background: var(--pulmad-blue-accent);
    color: var(--white);
}

.vendor-gallery__nav--prev {
    left: var(--space-4);
}

.vendor-gallery__nav--next {
    right: var(--space-4);
}

.vendor-gallery__dots {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
}

.vendor-gallery__dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.vendor-gallery__dot.active {
    background: var(--pulmad-blue-accent);
    border-color: var(--pulmad-blue-accent);
}

/* Thumbnail strip */
.vendor-gallery__thumbs {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-2);
    overflow-x: auto;
    padding-bottom: var(--space-2);
}

.vendor-gallery__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition-normal);
}

.vendor-gallery__thumb.active,
.vendor-gallery__thumb:hover {
    opacity: 1;
}

.vendor-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================
   Vendor Content Sections
   =========================== */
.vendor-section {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-5);
}

.vendor-section__title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--light-gray);
}

.vendor-section__content {
    color: var(--dark-gray);
    line-height: var(--leading-relaxed);
}

.vendor-section__content p {
    margin-bottom: var(--space-4);
}

.vendor-section__content p:last-child {
    margin-bottom: 0;
}

/* ===========================
   Venue Halls (for venues)
   =========================== */
.vendor-halls {
    list-style: none;
}

.vendor-hall {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background: var(--light-gray);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
}

.vendor-hall:last-child {
    margin-bottom: 0;
}

.vendor-hall__name {
    font-weight: var(--font-medium);
    color: var(--charcoal);
}

.vendor-hall__capacity {
    color: var(--dark-gray);
    font-size: var(--text-sm);
}

/* ===========================
   Vendor Amenities (for venues)
   =========================== */
.vendor-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.vendor-amenity {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--light-gray);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--charcoal);
}

.vendor-amenity i {
    color: var(--pulmad-blue-accent);
}

/* ===========================
   Vendor Tags/Taxonomies
   =========================== */
.vendor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.vendor-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--light-gray);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--charcoal);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.vendor-tag:hover {
    background: var(--pulmad-blue-accent);
    color: var(--white);
}

/* ===========================
   Similar Vendors
   =========================== */
.similar-vendors {
    margin-top: var(--space-8);
}

.similar-vendors__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-5);
}

.similar-vendors__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

@media screen and (max-width: 1024px) {
    .similar-vendors__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

/* ===========================
   Related Vendors Section
   =========================== */
.related-vendors {
    padding-top: var(--space-6);
    border-top: 1px solid var(--light-gray);
}

.related-vendors__title {
    font-size: var(--text-xl);
    color: var(--charcoal);
    margin-bottom: var(--space-5);
}

.vendor-grid--small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

@media screen and (max-width: 768px) {
    .vendor-grid--small {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .vendor-grid--small {
        grid-template-columns: 1fr;
    }
}

/* Vendor single in kataloog layout */
.kataloog-layout .vendor-single {
    padding: 0;
    max-width: none;
}

.kataloog-layout .vendor-single__content {
    background: var(--white);
}


/* ===========================
   4. Pages — Account
   =========================== */
/**
 * Account Dashboard Styles
 */

/* ===========================
   Account Layout
   =========================== */
.account-wrapper {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: var(--space-6) var(--space-5);
}

/* Account header */
.account-header {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-6);
}

.account-header__avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--pulmad-blue-accent);
    object-fit: cover;
}

.account-header__info {
    flex: 1;
}

.account-header__name {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    margin-bottom: var(--space-1);
}

.account-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
}

.account-header__badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
}

.account-header__badge--vendor {
    background: #DBEAFE;
    color: #1E40AF;
}

.account-header__badge--couple {
    background: var(--pulmad-blue-light);
    color: var(--pulmad-blue-accent);
}

.account-header__email {
    font-size: var(--text-sm);
    color: var(--dark-gray);
}

.account-header__logout {
    padding: var(--space-2) var(--space-4);
    color: var(--dark-gray);
    text-decoration: none;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    transition: all var(--transition-normal);
}

.account-header__logout:hover {
    background: var(--error);
    border-color: var(--error);
    color: var(--white);
}

/* Account layout grid */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-6);
}

/* ===========================
   Account Sidebar Navigation
   =========================== */
.account-nav {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + var(--space-5));
}

.account-nav__list {
    list-style: none;
}

.account-nav__item {
    border-bottom: 1px solid var(--light-gray);
}

.account-nav__item:last-child {
    border-bottom: none;
}

.account-nav__link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    color: var(--charcoal);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.account-nav__link:hover {
    background: var(--light-gray);
}

.account-nav__link.active {
    background: var(--pulmad-blue-accent);
    color: var(--white);
}

.account-nav__icon {
    font-size: 1.125rem;
    width: 24px;
}

.account-nav__count {
    margin-left: auto;
    padding: var(--space-1) var(--space-2);
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
}

.account-nav__link.active .account-nav__count {
    background: rgba(255, 255, 255, 0.2);
}

/* ===========================
   Account Content
   =========================== */
.account-content {
    min-width: 0;
}

.account-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-5);
    margin-bottom: var(--space-5);
}

.account-section:last-child {
    margin-bottom: 0;
}

.account-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--light-gray);
}

.account-section__title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    margin: 0;
}

/* ===========================
   Account List Items
   =========================== */
.account-list {
    list-style: none;
}

.account-list__item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    border-bottom: 1px solid var(--light-gray);
    transition: background var(--transition-normal);
}

.account-list__item:last-child {
    border-bottom: none;
}

.account-list__item:hover {
    background: var(--off-white);
}

.account-list__image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.account-list__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-list__content {
    flex: 1;
    min-width: 0;
}

.account-list__title {
    font-weight: var(--font-medium);
    color: var(--charcoal);
    margin-bottom: var(--space-1);
}

.account-list__title a {
    color: inherit;
    text-decoration: none;
}

.account-list__title a:hover {
    color: var(--pulmad-blue-accent);
}

.account-list__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--dark-gray);
}

.account-list__actions {
    display: flex;
    gap: var(--space-2);
}

/* ===========================
   Account Empty State
   =========================== */
.account-empty {
    text-align: center;
    padding: var(--space-8);
}

.account-empty__icon {
    font-size: 4rem;
    color: var(--light-gray);
    margin-bottom: var(--space-4);
}

.account-empty__title {
    font-size: var(--text-lg);
    color: var(--charcoal);
    margin-bottom: var(--space-2);
}

.account-empty__text {
    color: var(--dark-gray);
    margin-bottom: var(--space-5);
}

/* ===========================
   Account Status Badges
   =========================== */
.status-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
}

.status-badge--publish {
    background: #D1FAE5;
    color: #065F46;
}

.status-badge--pending {
    background: #FEF3C7;
    color: #92400E;
}

.status-badge--draft {
    background: var(--light-gray);
    color: var(--dark-gray);
}

.status-badge--paid {
    background: #D1FAE5;
    color: #065F46;
}

.status-badge--unpaid {
    background: #FEE2E2;
    color: #991B1B;
}

/* ===========================
   Account Responsive
   =========================== */
@media screen and (max-width: 900px) {
    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-nav {
        position: static;
    }

    .account-nav__list {
        display: flex;
        flex-wrap: wrap;
    }

    .account-nav__item {
        flex: 1;
        min-width: 50%;
        border-bottom: none;
        border-right: 1px solid var(--light-gray);
    }

    .account-nav__item:nth-child(2n) {
        border-right: none;
    }

    .account-nav__link {
        flex-direction: column;
        text-align: center;
        gap: var(--space-1);
        padding: var(--space-3);
    }

    .account-nav__count {
        margin-left: 0;
    }
}

@media screen and (max-width: 640px) {
    .account-header {
        flex-direction: column;
        text-align: center;
    }

    .account-header__meta {
        justify-content: center;
    }

    .account-list__item {
        flex-wrap: wrap;
    }

    .account-list__actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: var(--space-3);
        padding-top: var(--space-3);
        border-top: 1px solid var(--light-gray);
    }
}


/* ===========================
   4. Pages — Planning
   =========================== */
/**
 * Planning Timeline Page — /planeerimine/
 *
 * Vertical timeline layout for non-logged-in visitors.
 * BEM prefix: plan-hero, plan-timeline, plan-cta
 */

/* ===========================
   Page wrapper
   =========================== */
.plan-page {
    background: var(--off-white);
    min-height: 60vh;
}

/* ===========================
   Preview banner (admin only)
   =========================== */
.plan-preview-banner {
    background: var(--warning);
    color: var(--charcoal);
    font-size: var(--text-sm);
    text-align: center;
    padding: var(--space-2) var(--space-4);
}

.plan-preview-banner__inner {
    max-width: var(--container-lg);
    margin: 0 auto;
}

.plan-preview-banner a {
    color: var(--charcoal);
    text-decoration: underline;
    font-weight: var(--font-semibold);
}

/* ===========================
   Hero banner
   =========================== */
.plan-hero {
    background: linear-gradient(135deg, var(--pulmad-blue) 0%, var(--pulmad-blue-mid) 100%);
    padding: var(--space-9) var(--space-5) var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.plan-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.plan-hero__inner {
    position: relative;
    max-width: var(--container-md);
    margin: 0 auto;
}

.plan-hero__label {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin: 0 0 var(--space-3);
}

.plan-hero__date {
    font-family: var(--font-primary);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--white);
    margin: 0 0 var(--space-4);
    line-height: var(--leading-tight);
}

.plan-hero__countdown {
    font-family: var(--font-secondary);
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.plan-hero__countdown i {
    color: var(--gold);
}

.plan-hero__subtitle {
    font-family: var(--font-secondary);
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ===========================
   Vertical timeline
   =========================== */
.plan-timeline {
    padding: var(--space-8) var(--space-5);
}

.plan-timeline__inner {
    max-width: var(--container-lg);
    margin: 0 auto;
    position: relative;
    padding-left: 60px;
}

/* Vertical line */
.plan-timeline__inner::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px;
    width: 3px;
    background: var(--light-gray);
    border-radius: 2px;
}

/* ===========================
   Timeline card
   =========================== */
.plan-timeline__card {
    position: relative;
    margin-bottom: var(--space-7);
}

.plan-timeline__card:last-child {
    margin-bottom: 0;
}

/* Marker */
.plan-timeline__marker {
    position: absolute;
    left: -60px;
    top: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.plan-timeline__emoji {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--white);
    border: 3px solid var(--light-gray);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.plan-timeline__card--current .plan-timeline__emoji {
    border-color: var(--gold);
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.15), var(--shadow-md);
}

/* Content area */
.plan-timeline__content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: box-shadow var(--transition-normal);
}

.plan-timeline__card--current .plan-timeline__content {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

/* Header */
.plan-timeline__header {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.plan-timeline__title {
    font-family: var(--font-secondary);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--charcoal);
    margin: 0;
}

.plan-timeline__calendar {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    color: var(--gold);
    font-weight: var(--font-semibold);
    background: var(--gold-light);
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

/* Tasks */
.plan-timeline__tasks {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4);
}

.plan-timeline__tasks li {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--dark-gray);
    padding: var(--space-2) 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--light-gray);
}

.plan-timeline__tasks li:last-child {
    border-bottom: none;
}

.plan-timeline__tasks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border: 2px solid var(--pulmad-blue-accent);
    border-radius: 50%;
    background: transparent;
}

/* Vendor pills */
.plan-timeline__vendors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
}

.plan-timeline__vendors-label {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    color: var(--medium-gray);
    font-weight: var(--font-medium);
}

.plan-timeline__vendor-pill {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--pulmad-blue-accent);
    background: var(--pulmad-blue-light);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.plan-timeline__vendor-pill:hover {
    background: var(--pulmad-blue-accent);
    color: var(--white);
}

/* ===========================
   Article links
   =========================== */
.plan-timeline__articles {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--light-gray);
}

.plan-timeline__articles-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    color: var(--medium-gray);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
}

.plan-timeline__articles-label i {
    font-size: 16px;
}

.plan-timeline__articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-3);
}

.plan-timeline__article {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--charcoal);
    transition: all var(--transition-fast);
}

.plan-timeline__article:hover {
    border-color: var(--gold);
    background: var(--gold-light);
    color: var(--charcoal);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.12);
    transform: translateY(-1px);
}

.plan-timeline__article-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
}

.plan-timeline__article-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--pulmad-blue-light);
    color: var(--pulmad-blue-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.plan-timeline__article-title {
    flex: 1;
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    line-height: var(--leading-snug);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plan-timeline__article-arrow {
    flex-shrink: 0;
    color: var(--medium-gray);
    font-size: 16px;
    transition: all var(--transition-fast);
}

.plan-timeline__article:hover .plan-timeline__article-arrow {
    color: var(--gold);
    transform: translateX(2px);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
    .plan-hero {
        padding: var(--space-8) var(--space-4) var(--space-7);
    }

    .plan-hero__date {
        font-size: var(--text-3xl);
    }

    .plan-timeline {
        padding: var(--space-6) var(--space-4);
    }

    .plan-timeline__inner {
        padding-left: 48px;
    }

    .plan-timeline__inner::before {
        left: 22px;
    }

    .plan-timeline__marker {
        left: -48px;
        width: 44px;
        height: 44px;
    }

    .plan-timeline__emoji {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .plan-timeline__content {
        padding: var(--space-4) var(--space-4);
    }

    .plan-timeline__header {
        flex-direction: column;
        gap: var(--space-1);
    }

    .plan-timeline__title {
        font-size: var(--text-lg);
    }

    .plan-timeline__articles-grid {
        grid-template-columns: 1fr;
    }

    .plan-timeline__article-thumb,
    .plan-timeline__article-icon {
        width: 40px;
        height: 40px;
    }

    .plan-timeline__article-title {
        font-size: var(--text-xs);
    }

}

@media (max-width: 480px) {
    .plan-hero__date {
        font-size: var(--text-2xl);
    }

    .plan-timeline__inner {
        padding-left: 40px;
    }

    .plan-timeline__inner::before {
        left: 18px;
    }

    .plan-timeline__marker {
        left: -40px;
        width: 36px;
        height: 36px;
    }

    .plan-timeline__emoji {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        border-width: 2px;
    }
}


/* ===========================
   4. Pages — Budget Calculator
   =========================== */
/**
 * Budget Calculator Page — /pulmaeelarve-kalkulaator/
 *
 * Client-side wedding budget calculator.
 * BEM prefix: calc-hero, calc-form, calc-section, calc-result, calc-cta
 */

/* ===========================
   Page wrapper
   =========================== */
.calc-page {
    background: var(--off-white);
    min-height: 60vh;
}

/* ===========================
   Hero banner
   =========================== */
.calc-hero {
    background: linear-gradient(135deg, var(--pulmad-blue) 0%, var(--pulmad-blue-mid) 100%);
    padding: var(--space-9) var(--space-5) var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.calc-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.calc-hero__inner {
    position: relative;
    max-width: var(--container-md);
    margin: 0 auto;
}

.calc-hero__title {
    font-family: var(--font-primary);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--white);
    margin: 0 0 var(--space-3);
    line-height: var(--leading-tight);
}

.calc-hero__subtitle {
    font-family: var(--font-secondary);
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Sticky total bar
   =========================== */
.calc-sticky-total {
    position: sticky;
    top: var(--header-height, 72px);
    z-index: var(--z-sticky);
    background: var(--white);
    border-bottom: 2px solid var(--gold);
    box-shadow: var(--shadow-md);
    padding: var(--space-3) var(--space-5);
    transition: box-shadow var(--transition-normal);
}

.calc-sticky-total__inner {
    max-width: var(--container-lg);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.calc-sticky-total__label {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-sticky-total__amount {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--charcoal);
    transition: color var(--transition-fast);
}

.calc-sticky-total__per-guest {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    color: var(--medium-gray);
    font-weight: var(--font-normal);
    margin-left: var(--space-2);
}

.calc-sticky-total--hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===========================
   Form area
   =========================== */
.calc-form {
    padding: var(--space-7) var(--space-5);
    max-width: var(--container-lg);
    margin: 0 auto;
}

/* ===========================
   Section card (each question)
   =========================== */
.calc-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    margin-bottom: var(--space-5);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: border-color var(--transition-normal);
}

.calc-section:hover {
    border-color: var(--pulmad-blue-light);
}

.calc-section--active {
    border-color: var(--gold);
}

.calc-section__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-family: var(--font-secondary);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    color: var(--white);
    background: var(--pulmad-blue-accent);
    border-radius: 50%;
    margin-right: var(--space-3);
    flex-shrink: 0;
}

.calc-section__header {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-4);
}

.calc-section__title {
    font-family: var(--font-secondary);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    margin: 0;
}

.calc-section__hint {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    color: var(--medium-gray);
    margin: calc(-1 * var(--space-2)) 0 var(--space-4) 0;
    padding-left: calc(28px + var(--space-3));
}

/* ===========================
   Button group (option buttons)
   =========================== */
.calc-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.calc-btn {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--charcoal);
    background: var(--off-white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-4);
    cursor: pointer;
    transition: all var(--transition-fast);
    outline: none;
    line-height: var(--leading-normal);
    white-space: nowrap;
}

.calc-btn:hover {
    border-color: var(--pulmad-blue-accent);
    background: var(--pulmad-blue-light);
    color: var(--pulmad-blue-accent);
}

.calc-btn--selected {
    border-color: var(--gold);
    background: var(--gold-light);
    color: var(--charcoal);
    font-weight: var(--font-semibold);
    box-shadow: 0 0 0 1px var(--gold);
}

/* ===========================
   Checkbox field
   =========================== */
.calc-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    color: var(--charcoal);
    padding: var(--space-2) 0;
}

.calc-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--gold);
    cursor: pointer;
    flex-shrink: 0;
}

/* ===========================
   Number input
   =========================== */
.calc-number {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.calc-number input[type="number"] {
    width: 80px;
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: var(--charcoal);
    background: var(--off-white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
    text-align: center;
    transition: border-color var(--transition-fast);
    outline: none;
}

.calc-number input[type="number"]:focus {
    border-color: var(--gold);
}

.calc-number__suffix {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    color: var(--medium-gray);
}

/* ===========================
   Slider input
   =========================== */
.calc-slider {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.calc-slider__row {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.calc-slider input[type="range"] {
    flex: 1;
    accent-color: var(--gold);
    height: 6px;
    cursor: pointer;
}

.calc-slider__value {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    min-width: 80px;
    text-align: right;
}

/* ===========================
   Result section
   =========================== */
.calc-result {
    max-width: var(--container-lg);
    margin: 0 auto;
    padding: 0 var(--space-5) var(--space-7);
}

.calc-result__card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-7) var(--space-6);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gold);
}

.calc-result__placeholder {
    text-align: center;
    padding: var(--space-5) var(--space-4);
    color: var(--medium-gray);
    font-size: var(--text-base);
    line-height: 1.6;
}

.calc-result__placeholder strong {
    color: var(--charcoal);
}

.calc-result__total-row {
    text-align: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--light-gray);
}

.calc-result__total-label {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--medium-gray);
    margin: 0 0 var(--space-2);
}

.calc-result__total {
    font-family: var(--font-primary);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--charcoal);
    margin: 0 0 var(--space-2);
}

.calc-result__per-guest {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    color: var(--medium-gray);
}

/* Category breakdown */
.calc-result__breakdown {
    display: grid;
    gap: var(--space-4);
}

.calc-result__category {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
    gap: var(--space-3);
}

.calc-result__cat-name {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--charcoal);
}

.calc-result__cat-bar-wrapper {
    height: 12px;
    background: var(--light-gray);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.calc-result__cat-bar {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 0.4s ease;
    min-width: 2px;
}

.calc-result__cat-amount {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    min-width: 70px;
    text-align: right;
}

/* Category colors */
.calc-result__cat-bar--koht { background: var(--pulmad-blue-accent); }
.calc-result__cat-bar--catering { background: var(--sage-green); }
.calc-result__cat-bar--fotovideo { background: #8B5CF6; }
.calc-result__cat-bar--muusika { background: #EC4899; }
.calc-result__cat-bar--kleit { background: var(--dusty-rose); }
.calc-result__cat-bar--kaunistused { background: var(--gold); }
.calc-result__cat-bar--transport { background: #F97316; }
.calc-result__cat-bar--muu { background: var(--medium-gray); }

/* ===========================
   Header / Footer content (WYSIWYG)
   =========================== */
.calc-content {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--gray-700);
}

.calc-content--header {
    margin-bottom: var(--space-4);
}

.calc-content--footer {
    margin-top: var(--space-4);
}

.calc-content > *:first-child {
    margin-top: 0;
}

.calc-content > *:last-child {
    margin-bottom: 0;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
    .calc-hero {
        padding: var(--space-8) var(--space-4) var(--space-7);
    }

    .calc-hero__title {
        font-size: var(--text-3xl);
    }

    .calc-sticky-total {
        top: var(--header-height-mobile, 60px);
    }

    .calc-sticky-total__inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: var(--space-1);
    }

    .calc-sticky-total__label {
        width: 100%;
        font-size: var(--text-xs);
    }

    .calc-form {
        padding: var(--space-5) var(--space-4);
    }

    .calc-section {
        padding: var(--space-4) var(--space-4);
    }

    .calc-section__title {
        font-size: var(--text-base);
    }

    .calc-section__hint {
        padding-left: 0;
    }

    .calc-btn-group {
        gap: var(--space-2);
    }

    .calc-btn {
        flex: 1 1 calc(50% - var(--space-2));
        text-align: center;
        white-space: normal;
    }

    .calc-result__card {
        padding: var(--space-5) var(--space-4);
    }

    .calc-result__total {
        font-size: var(--text-3xl);
    }

    .calc-result__category {
        grid-template-columns: 100px 1fr auto;
        gap: var(--space-2);
    }

    .calc-result__cat-name {
        font-size: var(--text-xs);
    }

}

@media (max-width: 480px) {
    .calc-hero__title {
        font-size: var(--text-2xl);
    }

    .calc-btn {
        flex: 1 1 100%;
    }

    .calc-result__category {
        grid-template-columns: 1fr;
        gap: var(--space-1);
    }

    .calc-result__cat-bar-wrapper {
        order: 3;
    }

    .calc-result__cat-amount {
        text-align: left;
    }
}


/* ===========================
   5. Plugins — PVD Overrides
   =========================== */
/**
 * Pulmad Vendor Directory Plugin Overrides
 *
 * Override plugin CSS variables at :root level to match theme design
 */

/* ===========================
   CSS Variable Overrides
   =========================== */
:root {
    /* Override plugin primary color */
    --pvd-primary: var(--pulmad-blue-accent);
    --pvd-primary-hover: var(--pulmad-blue-dark);

    /* Override plugin neutrals */
    --pvd-text: var(--charcoal);
    --pvd-text-light: var(--dark-gray);
    --pvd-border: var(--medium-gray);
    --pvd-bg: var(--light-gray);
    --pvd-white: var(--white);

    /* Override plugin status colors */
    --pvd-error: var(--error);
    --pvd-success: var(--success);

    /* Override plugin border radius */
    --pvd-radius: var(--radius-lg);

    /* Override plugin shadow */
    --pvd-shadow: var(--shadow-md);
}

/* ===========================
   Form Styles Override
   =========================== */
.pvd-form-wrapper {
    max-width: 900px;
}

.pvd-vendor-form {
    background: var(--white);
    border-radius: var(--radius-lg);
}

.pvd-form-section {
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-5);
}

.pvd-form-section legend {
    font-family: var(--font-secondary);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    padding: 0 var(--space-2);
}

.pvd-form-row label {
    font-weight: var(--font-medium);
    color: var(--charcoal);
    margin-bottom: var(--space-2);
}

.pvd-form-row input[type="text"],
.pvd-form-row input[type="email"],
.pvd-form-row input[type="tel"],
.pvd-form-row input[type="url"],
.pvd-form-row input[type="number"],
.pvd-form-row textarea,
.pvd-form-row select {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.pvd-form-row input:focus,
.pvd-form-row textarea:focus,
.pvd-form-row select:focus {
    border-color: var(--pulmad-blue-accent);
    box-shadow: 0 0 0 3px var(--pulmad-blue-light);
}

/* Checkbox pills */
.pvd-checkbox-label {
    padding: var(--space-2) var(--space-4);
    background: var(--light-gray);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.pvd-checkbox-label:hover {
    background: var(--white);
    border-color: var(--pulmad-blue-accent);
}

/* Buttons */
.pvd-button {
    padding: var(--space-3) var(--space-5);
    background: var(--pulmad-blue-accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: var(--font-medium);
    transition: all var(--transition-normal);
}

.pvd-button:hover {
    background: var(--pulmad-blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary);
}

.pvd-submit-button {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-lg);
}

.pvd-button-secondary {
    background: transparent;
    border: 2px solid var(--pulmad-blue-accent);
    color: var(--pulmad-blue-accent);
}

.pvd-button-secondary:hover {
    background: var(--pulmad-blue-accent);
    color: var(--white);
}

/* ===========================
   Listing Styles Override
   =========================== */
.pvd-listing-wrapper {
    margin: var(--space-5) 0;
}

.pvd-listing-filters {
    background: var(--light-gray);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
}

.pvd-filter-item label {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--charcoal);
}

.pvd-filter-item select,
.pvd-filter-item input {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
}

/* Vendor grid */
.pvd-vendor-grid {
    gap: var(--space-5);
}

/* Vendor card overrides */
.pvd-vendor-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.pvd-vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pvd-vendor-image {
    height: 0;
    padding-bottom: 62.5%; /* 16:10 aspect ratio */
}

.pvd-vendor-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.pvd-vendor-card:hover .pvd-vendor-image img {
    transform: scale(1.02);
}

.pvd-vendor-content {
    padding: var(--space-4);
}

.pvd-vendor-title {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
}

.pvd-vendor-title a {
    color: var(--charcoal);
}

.pvd-vendor-title a:hover {
    color: var(--pulmad-blue-accent);
}

.pvd-vendor-type {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--pulmad-blue-accent);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pvd-vendor-region {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--dark-gray);
}

.pvd-vendor-region .dashicons {
    color: var(--pulmad-blue-accent);
}

.pvd-vendor-phone {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--dark-gray);
}

.pvd-vendor-phone .dashicons {
    color: var(--pulmad-blue-accent);
}

.pvd-vendor-phone a {
    color: var(--dark-gray);
}

.pvd-vendor-phone a:hover {
    color: var(--pulmad-blue-accent);
}

/* Pagination */
.pvd-pagination {
    margin-top: var(--space-7);
}

.pvd-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-3);
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    color: var(--charcoal);
    font-size: var(--text-sm);
    transition: all var(--transition-normal);
}

.pvd-pagination .page-numbers:hover,
.pvd-pagination .page-numbers.current {
    background: var(--pulmad-blue-accent);
    border-color: var(--pulmad-blue-accent);
    color: var(--white);
}

/* No results */
.pvd-no-results {
    padding: var(--space-8);
    background: var(--light-gray);
    border-radius: var(--radius-lg);
}

/* ===========================
   Search Form Override
   =========================== */
.pvd-search-wrapper {
    background: var(--light-gray);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
}

.pvd-search-field input,
.pvd-search-field select {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
}

.pvd-search-button {
    padding: var(--space-3) var(--space-5);
}

/* ===========================
   Single Vendor Override
   =========================== */
.pvd-single-vendor {
    max-width: var(--container-max);
}

.pvd-vendor-header {
    margin-bottom: var(--space-6);
}

.pvd-vendor-contact-inline a,
.pvd-vendor-contact-inline > span {
    color: var(--dark-gray);
}

.pvd-vendor-contact-inline a:hover {
    color: var(--pulmad-blue-accent);
}

.pvd-vendor-contact-inline .dashicons {
    color: var(--pulmad-blue-accent);
}

.pvd-vendor-section {
    padding: var(--space-5);
    margin-bottom: 0;
}

.pvd-vendor-details {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    margin: var(--space-5) 0;
}

.pvd-vendor-details .pvd-vendor-section + .pvd-vendor-section {
    border-top: 1px solid var(--light-gray);
}


.pvd-vendor-section h2 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--light-gray);
}

/* Gallery — now uses shared .pulmad-gallery component (components/_gallery.css) */

/* Taxonomy tags */
.pvd-taxonomy-tags a {
    padding: var(--space-1) var(--space-3);
    background: var(--light-gray);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
}

.pvd-taxonomy-tags a:hover {
    background: var(--pulmad-blue-accent);
    color: var(--white);
}

/* Venue halls */
.pvd-venue-halls li {
    padding: var(--space-3) var(--space-4);
    background: var(--light-gray);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
}

/* ===========================
   My Vendors Dashboard Override
   =========================== */
.pvd-my-vendors-wrapper {
    max-width: var(--container-xl);
}

.pvd-my-vendors-header {
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--light-gray);
}

.pvd-vendors-table {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.pvd-vendors-table th {
    background: var(--light-gray);
    font-weight: var(--font-semibold);
}

/* Status badges */
.pvd-status-badge {
    border-radius: var(--radius-full);
}

.pvd-status-publish {
    background: #D1FAE5;
    color: #065F46;
}

.pvd-status-pending {
    background: #FEF3C7;
    color: #92400E;
}

/* Action buttons */
.pvd-action-btn {
    border-radius: var(--radius-md);
}

.pvd-view-btn:hover {
    background: var(--pulmad-blue-accent);
}

/* ===========================
   Account Dashboard Override
   =========================== */
.pvd-account-wrapper {
    max-width: var(--container-xl);
}

.pvd-account-header {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.pvd-account-avatar img {
    border-color: var(--pulmad-blue-accent);
}

.pvd-user-type-badge {
    border-radius: var(--radius-full);
}

.pvd-type-vendor {
    background: #DBEAFE;
    color: #1E40AF;
}

.pvd-type-couple {
    background: var(--pulmad-blue-light);
    color: var(--pulmad-blue-accent);
}

.pvd-account-nav {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.pvd-nav-active a {
    background: var(--pulmad-blue-accent);
}

.pvd-nav-active a:hover {
    background: var(--pulmad-blue-dark);
}

/* Favorite button */
.pvd-favorite-btn {
    border-radius: 50%;
}

.pvd-favorite-btn:hover {
    border-color: var(--pulmad-blue-accent);
}

.pvd-favorite-btn.pvd-is-favorite svg {
    fill: #e74c3c;
    stroke: #e74c3c;
}

.pvd-favorite-btn.pvd-is-favorite:hover svg {
    fill: #c0392b;
    stroke: #c0392b;
}

/* Favorite button inside vendor-card image (nouanded listing cards) */
.vendor-card__image .pvd-favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* Notifications */
.pvd-notification {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   Login Required Override
   =========================== */
.pvd-login-required {
    border-radius: var(--radius-lg);
}

.pvd-login-icon .dashicons {
    color: var(--pulmad-blue-accent);
}

/* ===========================
   Messages Override
   =========================== */
.pvd-message {
    border-radius: var(--radius-md);
}

.pvd-message-success {
    background: #D1FAE5;
    border-color: #A7F3D0;
    color: #065F46;
}

.pvd-message-error {
    background: #FEE2E2;
    border-color: #FECACA;
    color: #991B1B;
}

/* ===========================
   10 Küsimust — Vendor Single Page
   =========================== */
.pvd-10k-section {
    margin: 32px 0;
}

.pvd-10k-section__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--pulmad-blue);
}

.pvd-10k-section__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pvd-10k-section__item {
    border-left: 4px solid var(--gold);
    padding-left: 20px;
}

.pvd-10k-section__question {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--pulmad-blue);
}

.pvd-10k-section__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pvd-10k-section__answer p {
    margin: 0 0 8px;
    line-height: 1.7;
    color: var(--text-dark);
}

.pvd-10k-section__answer p:last-child {
    margin-bottom: 0;
}

.pvd-10k-section__link {
    display: inline-block;
    margin-top: 16px;
    font-weight: 600;
    color: var(--pulmad-blue);
    text-decoration: none;
}

.pvd-10k-section__link:hover {
    text-decoration: underline;
}

/* ===========================
   10 Küsimust — Vendor Account Tab
   =========================== */
.pvd-10k-intro {
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.pvd-10k-published-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #D1FAE5;
    border: 1px solid #A7F3D0;
    color: #065F46;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.pvd-10k-published-notice a {
    color: #065F46;
    font-weight: 600;
}

.pvd-10k-questions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.pvd-10k-question {
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 16px;
    background: #FAFAFA;
}

.pvd-10k-question__label {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.5;
}

.pvd-10k-question__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--pulmad-blue);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pvd-10k-question__textarea {
    width: 100%;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius-sm, 6px);
    padding: 10px 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    resize: vertical;
    font-family: var(--font-body);
    transition: border-color 0.2s;
}

.pvd-10k-question__textarea:focus {
    outline: none;
    border-color: var(--pulmad-blue);
    box-shadow: 0 0 0 2px rgba(39, 111, 171, 0.15);
}

.pvd-10k-ai-suggestion {
    margin-top: 12px;
    padding: 12px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: var(--radius-sm, 6px);
}

.pvd-10k-ai-suggestion__header {
    margin-bottom: 8px;
    color: var(--pulmad-blue);
    font-size: 0.9rem;
}

.pvd-10k-ai-suggestion__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 10px;
    white-space: pre-wrap;
}

.pvd-10k-ai-suggestion__actions {
    display: flex;
    gap: 8px;
}

.pvd-10k-ai-suggestion__actions .pulmad-account__btn {
    font-size: 0.8125rem;
}

.pvd-10k-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pvd-10k-actions .pulmad-account__btn {
    min-width: 140px;
    justify-content: center;
}

.pvd-10k-status-message {
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: var(--radius-sm, 6px);
    font-size: 0.9rem;
}

.pvd-10k-status--success {
    background: #D1FAE5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.pvd-10k-status--error {
    background: #FEE2E2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.pvd-10k-status--loading {
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    color: #92400E;
}

/* 10K image upload */
.pvd-10k-image-upload {
    margin: 24px 0;
    padding: 20px;
    background: var(--account-bg-subtle, #f8fafc);
    border: 1px dashed var(--account-border, #e2e8f0);
    border-radius: var(--account-radius-sm, 8px);
}
.pvd-10k-image-upload__label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--account-text, #1e293b);
}
.pvd-10k-image-upload__required {
    color: #ef4444;
}
.pvd-10k-image-upload__desc {
    font-size: 13px;
    color: var(--account-text-secondary, #64748b);
    margin: 0 0 12px;
}
.pvd-10k-image-upload__preview {
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
}
.pvd-10k-image-upload__img {
    max-width: 320px;
    max-height: 200px;
    border-radius: var(--account-radius-sm, 8px);
    object-fit: cover;
    display: block;
}
.pvd-10k-image-upload__preview .pvd-10k-image-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
}
.pvd-10k-image-upload__input {
    display: block;
    font-size: 14px;
}

@media (max-width: 768px) {
    .pvd-10k-actions {
        flex-direction: column;
    }
    .pvd-10k-section__item {
        padding-left: 14px;
    }
    .pvd-10k-image-upload__img {
        max-width: 100%;
    }
}


/* ===========================
   5. Plugins — PWF Overrides
   =========================== */
/**
 * Pulmad Wedding Fair Plugin Overrides
 *
 * Override plugin CSS variables at :root level to match theme design
 */

/* ===========================
   CSS Variable Overrides
   =========================== */
.pwf-form-wrapper.pwf-form-wrapper {
    /* Override plugin colors — doubled specificity to guarantee override regardless of load order */
    --pwf-gold: var(--pulmad-blue-accent);
    --pwf-gold-dark: var(--pulmad-blue-dark);
    --pwf-gold-bg: rgba(39, 111, 171, 0.06);
    --pwf-gold-border: rgba(39, 111, 171, 0.2);
    --pwf-gold-shadow: rgba(39, 111, 171, 0.12);
    --pwf-gold-glow: rgba(39, 111, 171, 0.1);
    --pwf-gold-shadow-md: rgba(39, 111, 171, 0.2);
    --pwf-gold-shadow-lg: rgba(39, 111, 171, 0.3);
    --pwf-green: var(--success);
    --pwf-red: var(--error);
    --pwf-blue: var(--info);
    --pwf-yellow: var(--warning);
    --pwf-gray: var(--dark-gray);
    --pwf-light: var(--light-gray);
    --pwf-border: var(--medium-gray);
}

/* Also override for booth map shortcode (read-only map outside form) */
.pwf-booth-map-wrapper {
    --pwf-gold: var(--pulmad-blue-accent);
    --pwf-gold-dark: var(--pulmad-blue-dark);
}

/* ===========================
   Container Override
   =========================== */
.pwf-registration-container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-5);
}

/* ===========================
   Progress Steps Override
   =========================== */
.pwf-progress {
    margin-bottom: var(--space-7);
}

.pwf-progress::before {
    background: var(--light-gray);
}

.pwf-progress-number {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    font-weight: var(--font-semibold);
}

.pwf-progress-step.active .pwf-progress-number {
    border-color: var(--pulmad-blue-accent);
    background: var(--pulmad-blue-accent);
}

.pwf-progress-step.completed .pwf-progress-number {
    border-color: var(--success);
    background: var(--success);
}

.pwf-progress-label {
    font-size: var(--text-xs);
    color: var(--medium-gray);
}

.pwf-progress-step.active .pwf-progress-label {
    color: var(--pulmad-blue-accent);
    font-weight: var(--font-medium);
}

/* ===========================
   Form Steps Override
   =========================== */
.pwf-step-title {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    color: var(--charcoal);
    margin-bottom: var(--space-2);
}

.pwf-step-description {
    color: var(--dark-gray);
    margin-bottom: var(--space-6);
}

/* ===========================
   Booth Selector Override
   =========================== */
.pwf-booth-map {
    padding: var(--space-5);
    background: var(--light-gray);
    border-radius: var(--radius-lg);
}

.pwf-booth {
    min-height: 60px;
    padding: var(--space-3);
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.pwf-booth:hover:not(.pwf-booth-reserved):not(.pwf-booth-selected) {
    border-color: var(--pulmad-blue-accent);
    box-shadow: 0 2px 8px rgba(39, 111, 171, 0.2);
}

.pwf-booth-selected {
    border-color: var(--pulmad-blue-accent);
    background: var(--pulmad-blue-accent);
}

.pwf-booth-reserved {
    background: var(--light-gray);
}

.pwf-booth-reserved::after {
    background: var(--error);
}

/* Zone colors */
.pwf-booth-zone-roheline {
    border-left: 4px solid var(--success);
}

.pwf-booth-zone-punane {
    border-left: 4px solid var(--error);
}

.pwf-booth-zone-sinine {
    border-left: 4px solid var(--info);
}

.pwf-booth-zone-kollane {
    border-left: 4px solid var(--warning);
}

.pwf-booth-id {
    font-weight: var(--font-semibold);
}

.pwf-booth-price {
    font-size: var(--text-xs);
    color: var(--dark-gray);
}

.pwf-booth-selected .pwf-booth-price {
    color: rgba(255, 255, 255, 0.8);
}

/* Zone legend */
.pwf-zone-legend {
    padding: var(--space-4);
    background: var(--white);
    border-radius: var(--radius-md);
}

.pwf-legend-color {
    border-radius: var(--radius-sm);
}

.pwf-legend-roheline { background: var(--success); }
.pwf-legend-punane { background: var(--error); }
.pwf-legend-sinine { background: var(--info); }
.pwf-legend-kollane { background: var(--warning); }

/* Selected booths */
.pwf-selected-booths {
    padding: var(--space-4);
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
}

.pwf-selected-booths-title {
    font-weight: var(--font-semibold);
}

.pwf-selected-booth-tag {
    padding: var(--space-1) var(--space-3);
    background: var(--pulmad-blue-accent);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
}

/* ===========================
   Catalog Option Override
   =========================== */
.pwf-catalog-option {
    padding: var(--space-5);
    background: var(--light-gray);
    border-radius: var(--radius-lg);
}

.pwf-catalog-option-yes,
.pwf-catalog-option-no {
    padding: var(--space-5);
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.pwf-catalog-option-yes:hover,
.pwf-catalog-option-no:hover {
    border-color: var(--pulmad-blue-accent);
}

.pwf-catalog-option-yes.selected,
.pwf-catalog-option-no.selected {
    border-color: var(--pulmad-blue-accent);
    background: var(--pulmad-blue-light);
}

.pwf-catalog-option-content h4 {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
}

.pwf-discount-badge {
    padding: var(--space-1) var(--space-2);
    background: var(--success);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
}

/* ===========================
   Services Override
   =========================== */
.pwf-service-item {
    padding: var(--space-4);
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.pwf-service-item:hover {
    border-color: var(--pulmad-blue-accent);
}

.pwf-service-item.selected {
    border-color: var(--pulmad-blue-accent);
    background: var(--pulmad-blue-light);
}

.pwf-service-name {
    font-weight: var(--font-medium);
}

.pwf-service-price {
    font-weight: var(--font-semibold);
    color: var(--pulmad-blue-accent);
}

/* ===========================
   Form Fields Override
   =========================== */
.pwf-form-group label {
    font-weight: var(--font-medium);
    color: var(--charcoal);
}

.pwf-form-group input[type="text"],
.pwf-form-group input[type="email"],
.pwf-form-group input[type="tel"],
.pwf-form-group input[type="url"],
.pwf-form-group textarea,
.pwf-form-group select {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.pwf-form-group input:focus,
.pwf-form-group textarea:focus,
.pwf-form-group select:focus {
    border-color: var(--pulmad-blue-accent);
    box-shadow: 0 0 0 3px var(--pulmad-blue-light);
}

.pwf-form-group .pwf-field-error {
    border-color: var(--error);
}

.pwf-form-group .pwf-error-message {
    color: var(--error);
    font-size: var(--text-sm);
}

/* Copresenter section */
.pwf-copresenter-section {
    border-top: 1px solid var(--light-gray);
}

.pwf-copresenter-fields {
    padding: var(--space-5);
    background: var(--light-gray);
    border-radius: var(--radius-lg);
}

/* ===========================
   Pricing Summary Override
   =========================== */
.pwf-pricing-summary {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}

.pwf-pricing-summary h4 {
    font-weight: var(--font-semibold);
    border-bottom: 1px solid var(--light-gray);
}

.pwf-pricing-row.pwf-discount {
    color: var(--success);
}

.pwf-pricing-row.pwf-total {
    border-top: 2px solid var(--pulmad-blue-accent);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
}

.pwf-pricing-row.pwf-total .pwf-pricing-value {
    color: var(--pulmad-blue-accent);
}

/* ===========================
   Navigation Buttons Override
   =========================== */
.pwf-btn {
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    transition: all var(--transition-normal);
}

.pwf-btn-primary {
    background: var(--pulmad-blue-accent);
}

.pwf-btn-primary:hover {
    background: var(--pulmad-blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary);
}

.pwf-btn-secondary {
    background: var(--light-gray);
    border: 1px solid var(--light-gray);
}

.pwf-btn-secondary:hover {
    background: var(--white);
    border-color: var(--medium-gray);
}

.pwf-btn-submit {
    background: var(--success);
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-lg);
}

.pwf-btn-submit:hover {
    background: #0D9668;
}

/* Terms checkbox */
.pwf-terms-checkbox {
    padding: var(--space-4);
    background: var(--light-gray);
    border-radius: var(--radius-md);
}

.pwf-terms-checkbox a {
    color: var(--pulmad-blue-accent);
}

/* ===========================
   Success Message Override
   =========================== */
.pwf-success-message {
    padding: var(--space-8);
}

.pwf-success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
}

.pwf-success-message h2 {
    color: var(--success);
    font-family: var(--font-primary);
}

/* ===========================
   Fair Info Override
   =========================== */
.pwf-fair-info {
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.pwf-fair-title {
    font-family: var(--font-primary);
    color: var(--pulmad-blue-accent);
}

.pwf-countdown-item {
    padding: var(--space-4) var(--space-5);
    background: var(--light-gray);
    border-radius: var(--radius-lg);
}

.pwf-countdown-number {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--pulmad-blue-accent);
}

.pwf-info-item {
    border-bottom: 1px solid var(--light-gray);
}

.pwf-info-item .dashicons {
    color: var(--pulmad-blue-accent);
}

.pwf-open {
    color: var(--success);
}

/* ===========================
   Booth Map View Override
   =========================== */
.pwf-booth-map-view {
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-lg);
}

.pwf-booth-map-view .pwf-booth-available {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success);
}

/* ===========================
   Alerts Override
   =========================== */
.pwf-alert {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
}

.pwf-alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.pwf-alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.pwf-alert-warning {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

/* ===========================
   Loading Spinner Override
   =========================== */
.pwf-spinner {
    border-color: var(--light-gray);
    border-top-color: var(--pulmad-blue-accent);
}


/* ===========================
   Site-wide Layout
   =========================== */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
}

/* Entry content */
.entry-content {
    max-width: var(--container-lg);
    margin: 0 auto;
    padding: var(--space-6) var(--space-5);
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

/* Full width pages */
.page-template-full-width .entry-content,
.page-template-front-page .entry-content {
    max-width: none;
    padding: 0;
}

/* WordPress core blocks styling */
.wp-block-image {
    margin-bottom: var(--space-5);
}

.wp-block-image img {
    border-radius: var(--radius-md);
}

.wp-block-quote {
    font-family: var(--font-accent);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--charcoal);
    padding-left: var(--space-5);
    border-left: 4px solid var(--pulmad-blue-accent);
    margin: var(--space-6) 0;
}

.wp-block-button__link {
    padding: var(--space-3) var(--space-5);
    background: var(--pulmad-blue-accent);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: var(--font-medium);
    transition: all var(--transition-normal);
}

.wp-block-button__link:hover {
    background: var(--pulmad-blue-mid);
    color: var(--white);
}

.wp-block-separator {
    border: none;
    border-top: 1px solid var(--light-gray);
    margin: var(--space-6) 0;
}

.wp-block-separator.is-style-wide {
    border-top-width: 2px;
}

.wp-block-separator.is-style-dots {
    border: none;
    text-align: center;
}

.wp-block-separator.is-style-dots::before {
    content: '...';
    color: var(--medium-gray);
    font-size: var(--text-xl);
    letter-spacing: 1em;
}

/* Alignments */
.alignwide {
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: var(--space-5);
    margin-bottom: var(--space-4);
}

.alignright {
    float: right;
    margin-left: var(--space-5);
    margin-bottom: var(--space-4);
}

/* Ad zones (Revive Adserver) */
.pulmad-ad-zone {
    display: block;
    text-align: center;
    padding: var(--space-4, 16px) var(--space-5, 20px);
    max-width: var(--container-max, 1360px);
    width: 100%;
    margin: 0 auto;
}

.pulmad-ad-zone ins {
    display: block;
    width: 100%;
    margin: 0 auto;
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .breadcrumbs,
    .btn,
    .no-print {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .entry-content {
        max-width: none;
        padding: 0;
    }
}

/* =========================
   Travel Deals — compact horizontal cards
   ========================= */
.travel-deals {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--light-gray);
}

.travel-deals__title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--charcoal);
    margin-bottom: var(--space-3);
}

.travel-deals__title i {
    color: var(--pulmad-blue-accent);
}

.travel-deals__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.travel-deal-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-3);
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    text-decoration: none !important;
    color: inherit;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.travel-deal-card:hover {
    border-color: var(--pulmad-blue-accent);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.travel-deal-card__thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--light-gray);
}

.travel-deal-card__thumb img {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    object-fit: cover;
}

.travel-deal-card__thumb--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--medium-gray);
}

.travel-deal-card__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.travel-deal-card__title {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--charcoal);
    line-height: var(--leading-snug);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.travel-deal-card__price {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--pulmad-blue-accent);
}

.travel-deal-card__arrow {
    flex-shrink: 0;
    font-size: var(--text-base);
    color: var(--medium-gray);
    transition: color var(--transition-normal), transform var(--transition-normal);
}

.travel-deal-card:hover .travel-deal-card__arrow {
    color: var(--pulmad-blue-accent);
    transform: translateX(2px);
}
