/* WooTire Frontend Stylesheet - Modern & Clean Polish */

/* -------------------------------------------------------------------------
 * 1. Reifensuche Widget / Shortcode [tire_search] - High Polish Theme Match
 * ------------------------------------------------------------------------- */
:root {
    /* Theme-Kompatibilität: Primär- und Sekundärfarben dynamisch aus existierenden CSS-Variablen beziehen */
    --wootire-primary-color: var(--colors-primary-background, #c8102e);
    --wootire-secondary-color: var(--colors-secondary-background, #f1f5f9);

    --wootire-primary-red: var(--wootire-primary-color);
    --wootire-primary-red-hover: color-mix(in srgb, var(--wootire-primary-color) 85%, #000000);
    --wootire-primary-red-active: color-mix(in srgb, var(--wootire-primary-color) 70%, #000000);
    --wootire-text-main: #0f172a;
    --wootire-text-muted: #64748b;
    --wootire-text-label: #475569;
    --wootire-border-subtle: #cbd5e1;
    --wootire-bg-light: color-mix(in srgb, var(--wootire-secondary-color) 40%, #ffffff);
    --wootire-bg-tab: var(--wootire-secondary-color);

    /* Sekundärfarben für interaktive Komponenten und Badges */
    --wootire-secondary-bg: var(--colors-secondary-background, #f1f5f9);
    --wootire-secondary-bg-hover: color-mix(in srgb, var(--colors-secondary-background, #f1f5f9) 90%, #000000);
}

.wootire-search-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
    margin: 24px 0 32px 0;
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

.wootire-search-container *,
.wootire-search-container *::before,
.wootire-search-container *::after {
    box-sizing: inherit;
}

/* Header */
.wootire-search-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.wootire-header-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fef2f2;
    color: var(--wootire-primary-red);
    flex-shrink: 0;
}

.wootire-header-icon {
    width: 24px;
    height: 24px;
}

.wootire-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wootire-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--wootire-text-main);
    letter-spacing: -0.015em;
    line-height: 1.25;
    text-wrap: balance;
}

.wootire-subtitle {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: var(--wootire-text-muted);
    line-height: 1.4;
}

/* 1.1 Saison-Umschalter (Segmented Controls) */
.wootire-season-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    gap: 4px;
    margin-bottom: 22px;
}

.wootire-season-tab,
.wootire-season-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    min-height: 44px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--wootire-text-label);
    transition-property: background-color, color, border-color, box-shadow, transform;
    transition-duration: 0.16s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
    user-select: none;
    outline: none;
    margin: 0;
}

.wootire-season-tab input,
.wootire-season-btn input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.wootire-season-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: inherit;
    flex-shrink: 0;
}

.wootire-season-icon svg {
    width: 18px;
    height: 18px;
}

.wootire-season-text {
    line-height: 1;
}

.wootire-season-tab:hover,
.wootire-season-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    color: var(--wootire-text-main);
}

.wootire-season-tab:active,
.wootire-season-btn:active {
    transform: scale(0.96);
}

/* Saison Tabs Active Styling mit gezielten Saison-Akzenten */
.wootire-season-tab.active,
.wootire-season-btn.active {
    background: #ffffff;
    color: var(--wootire-text-main);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    border-color: rgba(203, 213, 225, 0.4);
}

.wootire-season-tab.wootire-season-all.active {
    color: var(--wootire-text-main);
}
.wootire-season-tab.wootire-season-all.active .wootire-season-icon {
    color: #475569;
}

.wootire-season-tab.wootire-season-summer.active {
    color: #b45309;
}
.wootire-season-tab.wootire-season-summer.active .wootire-season-icon {
    color: #f59e0b;
}

.wootire-season-tab.wootire-season-winter.active {
    color: #0369a1;
}
.wootire-season-tab.wootire-season-winter.active .wootire-season-icon {
    color: #0284c7;
}

.wootire-season-tab.wootire-season-allseason.active {
    color: #047857;
}
.wootire-season-tab.wootire-season-allseason.active .wootire-season-icon {
    color: #10b981;
}

/* 1.2 Formular Zeilen & Felder */
.wootire-dimensions-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: flex-end;
}

.wootire-field-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.wootire-field-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--wootire-text-label);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin: 0;
    user-select: none;
}

.wootire-label-spacer {
    display: block;
    visibility: hidden;
    height: 16px;
}

/* Form Controls / Dropdowns */
.wootire-select-wrapper {
    position: relative;
    width: 100%;
}

.wootire-select {
    width: 100%;
    height: 46px;
    padding: 10px 36px 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    line-height: 1.4;
    transition-property: border-color, box-shadow, background-color;
    transition-duration: 0.16s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.wootire-select:hover:not(:disabled) {
    border-color: #94a3b8;
}

.wootire-select:focus {
    border-color: var(--wootire-primary-red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

.wootire-select:disabled {
    background-color: #f8fafc;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

/* Benutzerdefinierter Pfeil für Select */
.wootire-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2364748B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition-property: opacity, transform;
    transition-duration: 0.15s;
}

.wootire-select:disabled + .wootire-select-arrow {
    opacity: 0.4;
}

/* 1.3 Suchen-Button */
.wootire-submit-group {
    display: flex;
    flex-direction: column;
}

.wootire-submit-btn {
    height: 46px;
    min-width: 170px;
    padding: 0 24px;
    background: var(--wootire-primary-red);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(200, 16, 46, 0.32), 0 1px 3px rgba(200, 16, 46, 0.2);
    transition-property: background-color, transform, box-shadow;
    transition-duration: 0.16s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
    outline: none;
    user-select: none;
}

.wootire-submit-btn:hover {
    background: var(--wootire-primary-red-hover);
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.42);
}

.wootire-submit-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.25), 0 4px 14px rgba(200, 16, 46, 0.42);
}

.wootire-submit-btn:active {
    transform: scale(0.96);
    background: var(--wootire-primary-red-active);
    box-shadow: 0 1px 4px rgba(200, 16, 46, 0.25);
}

.wootire-btn-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
}

/* 1.4 Sekundäre Zeile: Marke, Speedindex & 3PMSF */
.wootire-secondary-row {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) auto;
    gap: 16px;
    align-items: flex-end;
}

.wootire-secondary-row .wootire-extra-filters {
    margin-top: 0;
    align-self: center;
    padding-bottom: 2px;
}

/* 3PMSF Checkbox */
.wootire-extra-filters {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wootire-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--wootire-text-label);
}

.wootire-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.wootire-checkbox-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: transparent;
    transition-property: background-color, border-color, color, box-shadow;
    transition-duration: 0.16s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
    flex-shrink: 0;
}

.wootire-checkbox-custom svg {
    width: 12px;
    height: 10px;
}

.wootire-checkbox-label input[type="checkbox"]:hover + .wootire-checkbox-custom {
    border-color: #94a3b8;
}

.wootire-checkbox-label input[type="checkbox"]:focus-visible + .wootire-checkbox-custom {
    border-color: var(--wootire-primary-red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.18);
}

.wootire-checkbox-label input[type="checkbox"]:checked + .wootire-checkbox-custom {
    background: var(--wootire-primary-red);
    border-color: var(--wootire-primary-red);
    color: #ffffff;
}

.wootire-checkbox-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}

.wootire-alpine-icon {
    width: 15px;
    height: 15px;
    color: #0284c7;
    flex-shrink: 0;
}

/* 1.5 Responsive & Layout-Varianten */
.wootire-layout-vertical .wootire-dimensions-row {
    grid-template-columns: 1fr;
    gap: 14px;
}

.wootire-layout-vertical .wootire-label-spacer {
    display: none;
}

.wootire-layout-vertical .wootire-secondary-row {
    grid-template-columns: 1fr;
    gap: 14px;
}

.wootire-layout-vertical .wootire-submit-btn {
    width: 100%;
}

@media (max-width: 900px) {
    .wootire-dimensions-row {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .wootire-label-spacer {
        display: none;
    }

    .wootire-field-group.wootire-submit-group {
        grid-column: span 2;
    }

    .wootire-submit-btn {
        width: 100%;
    }

    .wootire-secondary-row {
        grid-template-columns: 1fr 1fr;
    }

    .wootire-secondary-row .wootire-extra-filters {
        grid-column: span 2;
        padding-top: 4px;
    }
}

@media (max-width: 600px) {
    .wootire-search-container {
        padding: 18px 16px;
        border-radius: 10px;
    }

    .wootire-season-selector {
        grid-template-columns: repeat(2, 1fr);
    }

    .wootire-season-tab,
    .wootire-season-btn {
        padding: 8px 10px;
        font-size: 13px;
    }

    .wootire-dimensions-row {
        grid-template-columns: 1fr;
    }

    .wootire-field-group.wootire-submit-group {
        grid-column: span 1;
    }

    .wootire-secondary-row {
        grid-template-columns: 1fr;
    }

    .wootire-secondary-row .wootire-extra-filters {
        grid-column: span 1;
    }
}

/* -------------------------------------------------------------------------
 * 2. Produktdetailseite: Haupt-Container & Markenlogo
 * ------------------------------------------------------------------------- */
.wootire-product-details-wrap {
    margin: 24px 0;
    padding: 0;
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
}

.wootire-brand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.wootire-brand-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wootire-brand-title-link,
.wootire-brand-spec-link {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.15s ease-in-out;
}

.wootire-brand-title-link:hover,
.wootire-brand-spec-link:hover {
    color: var(--wootire-primary-red, #c8102e) !important;
    text-decoration: underline !important;
}

.wootire-brand-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.wootire-subbrand-title {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.wootire-brand-logo-container {
    width: var(--logo-max-w, 175px) !important;
    height: var(--logo-max-h, 60px) !important;
    max-width: var(--logo-max-w, 175px) !important;
    max-height: var(--logo-max-h, 60px) !important;
    min-width: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9 !important; /* Dezentes helles Grau für optimalen Kontrast bei weißen Logos */
    border: 1px solid #e2e8f0 !important; /* Feine, edle Kontur wie bei den anderen Karten */
    border-radius: 8px !important;
    padding: 6px 12px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.15s ease-in-out;
    cursor: pointer;
    text-decoration: none !important;
}

.wootire-brand-logo-container:hover {
    background: #e2e8f0 !important;
    border-color: var(--wootire-primary-red, #c8102e) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.wootire-brand-logo {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
    border-radius: 0;
    padding: 0 !important;
    background: transparent !important;
    display: block !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.04));
}

.wootire-section-header {
    border-bottom: 2px solid #0f172a;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.wootire-heading {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    text-wrap: balance;
}

/* -------------------------------------------------------------------------
 * 3. Bild 1: Kompakte EU-Label-Badge-Leiste
 * ------------------------------------------------------------------------- */
.wootire-compact-bar {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    margin-bottom: 16px;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition-property: border-color, box-shadow, transform;
    transition-duration: 0.15s;
    transition-timing-function: ease-out;
    max-width: 100%;
}

.wootire-compact-bar:hover {
    border-color: #cbd5e1;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.wootire-compact-bar:active {
    transform: scale(0.98);
}

.wootire-compact-bar:focus-visible {
    outline: 2px solid #0284c7;
    outline-offset: 2px;
}

/* EPREL Fehlend Platzhalter */
.wootire-eu-missing-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
    max-width: 100%;
    box-sizing: border-box;
}

.wootire-eu-missing-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex-shrink: 0;
}

.wootire-eu-missing-text {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
}

.wootire-modal-eprel-missing-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
}

.wootire-compact-segments {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wootire-compact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wootire-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}

.wootire-compact-divider {
    width: 1px;
    height: 20px;
    background-color: #e2e8f0;
}

/* Farbpfeil (Chevrons / Badge mit Pfeilspitze) */
.wootire-arrow-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    min-width: 26px;
    padding: 0 10px 0 8px;
    background-color: var(--badge-color, #64748b);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    border-radius: 3px 0 0 3px;
    clip-path: polygon(0% 0%, calc(100% - 7px) 0%, 100% 50%, calc(100% - 7px) 100%, 0% 100%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.wootire-arrow-badge.wootire-badge-dark-text {
    color: #1e293b;
}

.wootire-arrow-badge.wootire-arrow-noise {
    min-width: auto;
    padding: 0 12px 0 8px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.wootire-badge-letter {
    font-variant-numeric: tabular-nums;
}

.wootire-compact-info-btn {
    background: none;
    border: none;
    padding: 4px;
    margin: 0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition-property: color, background-color;
    transition-duration: 0.15s;
    min-width: 28px;
    min-height: 28px;
}

.wootire-compact-info-btn:hover {
    color: #0284c7;
    background-color: #f1f5f9;
}

/* -------------------------------------------------------------------------
 * 4. Bild 2: Schöne, aufgeräumte technische Daten-Tabelle
 * ------------------------------------------------------------------------- */
.wootire-specs-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wootire-specs-clean-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
}

.wootire-specs-clean-table th,
.wootire-specs-clean-table td {
    padding: 10px 16px;
    text-align: left;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 14px;
    line-height: 1.5;
}

.wootire-specs-clean-table tr:last-child th,
.wootire-specs-clean-table tr:last-child td {
    border-bottom: none;
}

.wootire-specs-clean-table th {
    width: 38%;
    font-weight: 500;
    color: #64748b;
    background-color: #fcfdfe;
}

.wootire-specs-clean-table td {
    font-weight: 400;
    color: #1e293b;
    font-variant-numeric: tabular-nums;
}

.wootire-spec-highlight-brand {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    letter-spacing: -0.01em;
}

.wootire-spec-highlight-size {
    color: #dc2626 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0.02em;
}

.wootire-code-mono {
    font-family: inherit;
    font-size: 14px;
    color: #1e293b;
}

/* Badges / Pillen für besondere Eigenschaften */
.wootire-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wootire-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    line-height: 1.2;
    user-select: none;
}

.wootire-feature-3pmsf {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.wootire-feature-ms {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.wootire-feature-ice {
    background: #ede9fe;
    color: #5b21b6;
    border: 1px solid #ddd6fe;
}

.wootire-feature-ev {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

/* -------------------------------------------------------------------------
 * 5. Interaktives EU-Reifenlabel Modal (Lightbox / Official Label Layout)
 * ------------------------------------------------------------------------- */
.wootire-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition-property: opacity, visibility;
    transition-duration: 0.2s;
    transition-timing-function: ease-out;
}

.wootire-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.wootire-modal-dialog {
    position: relative;
    max-width: 440px;
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transform: translateY(16px) scale(0.97);
    transition-property: transform;
    transition-duration: 0.25s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 92vh;
    overflow-y: auto;
}

.wootire-modal-backdrop.is-open .wootire-modal-dialog {
    transform: translateY(0) scale(1);
}

.wootire-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    line-height: 1;
    padding: 0;
    transition-property: background-color, color, transform, border-color;
    transition-duration: 0.15s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.wootire-modal-close .wootire-close-x {
    display: block;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    color: #0f172a;
    margin-top: -2px;
}

.wootire-modal-close:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
    color: #dc2626;
}

.wootire-modal-close:hover .wootire-close-x {
    color: #dc2626;
}

.wootire-modal-close:active {
    transform: scale(0.94);
}

/* Offizielles EPREL-Label der EU-Kommission (Rechtskonformität nach EU 2020/740) */
.wootire-eprel-official-container {
    padding: 24px;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
}

.wootire-eprel-official-svg {
    max-width: 100%;
    width: 360px;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.wootire-eprel-official-container .wootire-official-regulation-bar {
    width: 100%;
    max-width: 360px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

/* Offizielles EU Energy Label Styling (Fallback) */
.wootire-eu-official-label {
    padding: 24px;
    padding-top: 36px;
    font-family: inherit;
    color: #0f172a;
}

.wootire-official-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #0f172a;
    padding-bottom: 12px;
    margin-bottom: 14px;
    padding-right: 56px; /* Garantiert kein Überlappen mit dem Schließen-Button */
}

.wootire-eu-flag-emblem {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #003399;
    color: #ffcc00;
    padding: 4px 10px;
    border-radius: 4px;
}

.wootire-flag-star-circle {
    font-size: 16px;
    line-height: 1;
}

.wootire-eu-text-brand {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #ffffff;
}

.wootire-official-qr img {
    border-radius: 4px;
    outline: 1px solid rgba(0, 0, 0, 0.1);
    display: block;
}

.wootire-official-meta {
    margin-bottom: 18px;
}

.wootire-official-brand {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.wootire-official-ident {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
    margin-top: 3px;
}

.wootire-official-dimension {
    font-size: 15px;
    font-weight: 700;
    color: #dc2626;
    margin-top: 4px;
}

/* Offizielle Leitern (Ladder A-E) */
.wootire-official-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.wootire-col-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    height: 32px;
    color: #334155;
}

.wootire-ladder {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wootire-ladder-step {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    height: 22px;
}

.wootire-step-bar {
    background-color: var(--step-color, #cbd5e1);
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 6px;
    border-radius: 2px 0 0 2px;
    clip-path: polygon(0% 0%, calc(100% - 7px) 0%, 100% 50%, calc(100% - 7px) 100%, 0% 100%);
    font-weight: 700;
    font-size: 11px;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.wootire-ladder-step:nth-child(1) .wootire-step-bar { width: 55px; }
.wootire-ladder-step:nth-child(2) .wootire-step-bar { width: 66px; }
.wootire-ladder-step:nth-child(3) .wootire-step-bar { width: 77px; color: #1e293b; }
.wootire-ladder-step:nth-child(4) .wootire-step-bar { width: 88px; }
.wootire-ladder-step:nth-child(5) .wootire-step-bar { width: 99px; }

.wootire-active-pointer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    height: 24px;
    padding: 0 8px 0 10px;
    clip-path: polygon(7px 0%, 100% 0%, 100% 100%, 7px 100%, 0% 50%);
    position: absolute;
    right: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Modal Footer Bereich: Geräusch & Piktogramme */
.wootire-official-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}

.wootire-footer-noise-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wootire-noise-icon-wrap {
    color: #334155;
    display: flex;
}

.wootire-noise-data {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wootire-noise-db-val {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.wootire-noise-abc-ladder {
    display: flex;
    gap: 3px;
}

.wootire-noise-abc-ladder span {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 2px;
    background: #e2e8f0;
    color: #64748b;
}

.wootire-noise-abc-ladder span.active {
    background: #0f172a;
    color: #ffffff;
}

.wootire-footer-pictograms {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.wootire-official-picto {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background-color: #f8fafc;
    overflow: hidden;
}

.wootire-official-picto.is-present {
    border-color: #0f172a;
    color: #0f172a;
    background-color: #ffffff;
}

/* 3PMSF nicht vorhanden: quer durchgestrichen */
.wootire-official-picto.is-absent {
    opacity: 0.65;
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.wootire-official-picto.is-absent::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 2px;
    background-color: #dc2626;
    transform: rotate(-45deg);
    pointer-events: none;
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.8);
}

.wootire-ice-symbol {
    font-size: 16px;
}

/* Verordnungsfußzeile */
.wootire-official-regulation-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 11px;
    color: #64748b;
}

.wootire-official-eprel-btn {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
}

.wootire-official-eprel-btn:hover {
    text-decoration: underline;
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
    .wootire-compact-bar {
        width: 100%;
        box-sizing: border-box;
    }
    .wootire-brand-header {
        flex-direction: row;
    }
    .wootire-specs-clean-table th {
        width: 45%;
    }
}

/* Bündelungs-Hinweis bei Mengenfeld */
.wootire-bundle-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* -------------------------------------------------------------------------
 * 6. Größenwechsler / Reifenfamilie Dropdown
 * ------------------------------------------------------------------------- */
.wootire-size-switcher-wrap {
    margin: 18px 0 20px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease-in-out;
}

.wootire-size-switcher-wrap.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.wootire-size-switcher-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.wootire-size-switcher-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--wootire-primary-color, #c8102e);
}

.wootire-size-switcher-label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 !important;
    cursor: pointer;
}

.wootire-size-count-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: #0369a1;
    background: #e0f2fe;
    padding: 2px 7px;
    border-radius: 12px;
    white-space: nowrap;
}

.wootire-size-select-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wootire-size-select {
    width: 100%;
    height: 44px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.wootire-size-select:focus {
    border-color: var(--wootire-primary-color, #c8102e);
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

.wootire-size-select-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    width: 42px;
    background: var(--wootire-primary-color, #c8102e);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    flex-shrink: 0;
}

.wootire-size-select-btn:hover {
    background: var(--wootire-primary-red-hover, #991b1b);
}

.wootire-size-model-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
}

.wootire-size-model-hint strong {
    color: #334155;
}

/* -------------------------------------------------------------------------
 * 7. Alternative Reifen in derselben Dimension Sektion (Bereich B: Volle Breite)
 * & Zuletzt angesehene Reifen (.wootire-recently-viewed)
 * ------------------------------------------------------------------------- */
.wootire-alternative-tires {
    width: 100% !important;
    max-width: 100% !important;
    margin: 45px 0 35px;
    padding-top: 35px;
    border-top: 1px solid #e2e8f0;
    clear: both;
    box-sizing: border-box;
}

.wootire-recently-viewed {
    margin: 35px 0;
    padding-top: 35px;
    border-top: 1px solid #e2e8f0;
}

.wootire-alternative-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.wootire-alternative-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fef2f2;
    color: var(--wootire-primary-red, #c8102e);
    flex-shrink: 0;
}

.wootire-alternative-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wootire-alternative-title {
    margin: 0 !important;
    font-size: 22px;
    font-weight: 700;
    color: var(--wootire-text-main, #0f172a);
    line-height: 1.3;
}

.wootire-alternative-subtitle {
    font-size: 14px;
    color: var(--wootire-text-muted, #64748b);
    line-height: 1.4;
}

@media (max-width: 640px) {
    .wootire-alternative-header {
        align-items: flex-start;
        gap: 12px;
    }
    
    .wootire-alternative-icon {
        width: 36px;
        height: 36px;
    }

    .wootire-alternative-icon svg {
        width: 18px;
        height: 18px;
    }

    .wootire-alternative-title {
        font-size: 18px;
    }
}

/* Dynamisches Spalten-Grid auf Desktop (2 bis 6 Spalten) */
.wootire-alternative-grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-cols, 4), minmax(0, 1fr));
    gap: 20px;
    margin-top: 15px;
    width: 100%;
    box-sizing: border-box;
}

.wootire-alternative-grid.wootire-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wootire-alternative-grid.wootire-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wootire-alternative-grid.wootire-grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wootire-alternative-grid.wootire-grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.wootire-alternative-grid.wootire-grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 991px) {
    .wootire-alternative-grid,
    .wootire-alternative-grid.wootire-grid-cols-2,
    .wootire-alternative-grid.wootire-grid-cols-3,
    .wootire-alternative-grid.wootire-grid-cols-4,
    .wootire-alternative-grid.wootire-grid-cols-5,
    .wootire-alternative-grid.wootire-grid-cols-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 599px) {
    .wootire-alternative-grid,
    .wootire-alternative-grid.wootire-grid-cols-2,
    .wootire-alternative-grid.wootire-grid-cols-3,
    .wootire-alternative-grid.wootire-grid-cols-4,
    .wootire-alternative-grid.wootire-grid-cols-5,
    .wootire-alternative-grid.wootire-grid-cols-6 {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.wootire-alt-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px 16px;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.wootire-alt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.wootire-alt-card-link {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

.wootire-alt-card-thumb {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 8px;
    background: #f8fafc;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.wootire-alt-card-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wootire-alt-card:hover .wootire-alt-card-thumb img {
    transform: scale(1.06);
}

.wootire-alt-card-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wootire-alt-card-brand {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #475569;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.wootire-alt-card-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f172a;
    margin: 0 0 6px !important;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.wootire-alt-card-size {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--wootire-primary-red, #c8102e);
    margin-bottom: 8px;
    text-align: center;
}

.wootire-alt-card-price {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
    text-align: center;
}

.wootire-alt-card-price ins {
    text-decoration: none;
    color: var(--wootire-primary-red, #c8102e);
}

.wootire-alt-card-price del {
    font-size: 12px;
    font-weight: 400;
    color: #94a3b8;
    margin-right: 4px;
}

.wootire-alt-card-action {
    width: 100%;
    margin-top: auto;
}

.wootire-alt-card-action .button {
    width: 100% !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 9px 14px !important;
    border-radius: 8px !important;
    background: var(--wootire-primary-red, #c8102e) !important;
    color: #ffffff !important;
    border: none !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.wootire-alt-card-action .button:hover {
    background: var(--wootire-primary-red-hover, #991b1b) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* -------------------------------------------------------------------------
 * 8. Alternative Größen dieses Reifens (Bereich A: Unter dem Produktfoto)
 * ------------------------------------------------------------------------- */
.wootire-photo-sibling-sizes {
    margin-top: 18px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    clear: both;
}

.wootire-photo-sibling-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.wootire-photo-sibling-title-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wootire-photo-sibling-subtitle {
    font-size: 11px;
    color: #64748b;
    line-height: 1.2;
}

.wootire-photo-sibling-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--wootire-primary-red, #c8102e);
    flex-shrink: 0;
}

.wootire-photo-sibling-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.wootire-photo-sibling-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.wootire-photo-sibling-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-decoration: none !important;
    color: inherit;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    transition: all 0.15s ease-in-out;
}

.wootire-photo-sibling-card:hover {
    border-color: var(--wootire-primary-red, #c8102e);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.wootire-photo-sibling-thumb {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.wootire-photo-sibling-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.wootire-photo-sibling-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex-grow: 1;
    overflow: hidden;
}

.wootire-photo-sibling-brand {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wootire-photo-sibling-dim {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.wootire-photo-sibling-price {
    font-size: 11px;
    font-weight: 600;
    color: var(--wootire-primary-color, #c8102e);
    margin-top: 2px;
    line-height: 1.2;
}

.wootire-photo-sibling-action-hint {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.2;
}

.wootire-photo-sibling-card:hover .wootire-photo-sibling-action-hint {
    color: var(--wootire-primary-red, #c8102e);
}

@media (max-width: 480px) {
    .wootire-photo-sibling-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------
 * 9. Theme-Modul "Zuletzt angesehen" (.module-recently-products)
 * Stylt das Theme-Modul im einheitlichen WooTire Alt-Card Design
 * ------------------------------------------------------------------------- */
.module-recently-products,
.site-module.klb-module.module-recently-products,
.site-module.module-recently-products {
    margin-top: 40px;
    margin-bottom: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    clear: both;
}

/* Header-Styling des Moduls an .wootire-alternative-header anpassen */
.module-recently-products .module-header,
.module-recently-products .site-module-header,
.module-recently-products .klb-module-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.module-recently-products .module-header .module-title,
.module-recently-products .site-module-header .module-title,
.module-recently-products .klb-module-header .module-title,
.module-recently-products .entry-title,
.module-recently-products h2,
.module-recently-products h3.title {
    margin: 0 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--wootire-text-main, #0f172a) !important;
    line-height: 1.3 !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Optionaler Badge / Icon-Präfix vor dem Titel, falls kein Icon im Theme existiert */
.module-recently-products .module-header .module-title::before,
.module-recently-products .site-module-header .module-title::before,
.module-recently-products h2.module-title::before {
    content: "";
    display: inline-block;
    width: 36px;
    height: 36px;
    background: #fef2f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c8102e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") no-repeat center center;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Grid-Layout für Produkte im Zuletzt-angesehen Modul */
.module-recently-products ul.products,
.module-recently-products .products-grid,
.module-recently-products .products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.module-recently-products ul.products::before,
.module-recently-products ul.products::after {
    display: none !important;
}

@media (max-width: 1024px) {
    .module-recently-products ul.products,
    .module-recently-products .products-grid,
    .module-recently-products .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 580px) {
    .module-recently-products ul.products,
    .module-recently-products .products-grid,
    .module-recently-products .products {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

/* Einzelne Produkt-Karte in .module-recently-products stylen wie .wootire-alt-card */
.module-recently-products ul.products li.product,
.module-recently-products .product-item,
.module-recently-products .product-wrapper {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 18px 16px !important;
    margin: 0 !important;
    width: auto !important;
    float: none !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

.module-recently-products ul.products li.product:hover,
.module-recently-products .product-item:hover,
.module-recently-products .product-wrapper:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}

/* Bild-Container in den Zuletzt-angesehen Karten */
.module-recently-products ul.products li.product .thumbnail-wrapper,
.module-recently-products ul.products li.product .product-thumbnail,
.module-recently-products ul.products li.product .product-image-wrapper,
.module-recently-products ul.products li.product a.woocommerce-LoopProduct-link > img,
.module-recently-products ul.products li.product .product-img {
    border-radius: 8px;
}

.module-recently-products ul.products li.product .thumbnail-wrapper,
.module-recently-products ul.products li.product .product-thumbnail,
.module-recently-products ul.products li.product .product-image-wrapper {
    width: 100% !important;
    height: 160px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
    background: #f8fafc !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.module-recently-products ul.products li.product img {
    max-width: 100% !important;
    max-height: 140px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.module-recently-products ul.products li.product:hover img {
    transform: scale(1.06) !important;
}

/* Titel in der Karte */
.module-recently-products ul.products li.product .woocommerce-loop-product__title,
.module-recently-products ul.products li.product .product-title,
.module-recently-products ul.products li.product h2,
.module-recently-products ul.products li.product h3 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: center !important;
}

/* Preis-Darstellung */
.module-recently-products ul.products li.product .price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 14px !important;
    text-align: center !important;
    display: block !important;
}

.module-recently-products ul.products li.product .price ins {
    text-decoration: none !important;
    color: var(--wootire-primary-red, #c8102e) !important;
    font-weight: 700 !important;
}

.module-recently-products ul.products li.product .price del {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #94a3b8 !important;
    margin-right: 4px !important;
}

/* Warenkorb Button */
.module-recently-products ul.products li.product .button,
.module-recently-products ul.products li.product .add_to_cart_button {
    width: 100% !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 9px 14px !important;
    border-radius: 8px !important;
    background: var(--wootire-primary-red, #c8102e) !important;
    color: #ffffff !important;
    border: none !important;
    margin-top: auto !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.module-recently-products ul.products li.product .button:hover,
.module-recently-products ul.products li.product .add_to_cart_button:hover {
    background: var(--wootire-primary-red-hover, #991b1b) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   WooTire Shop Sidebar Filter Widgets (Kompakt & Collapsible Accordion)
   ========================================================================== */

.wootire-widget-collapsible {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wootire-widget-collapsible:hover {
    border-color: #cbd5e1;
}

.wootire-widget-collapsible.has-active-filter {
    border-color: #fca5a5;
    box-shadow: 0 1px 4px rgba(200, 16, 46, 0.08);
}

/* Interaktiver Header */
.wootire-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fafc;
    cursor: pointer;
    user-select: none;
    outline: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.wootire-widget-header:hover {
    background: #f1f5f9;
}

.wootire-widget-header:focus-visible {
    outline: 2px solid var(--wootire-primary-red, #c8102e);
    outline-offset: -2px;
}

.wootire-widget-title-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--wootire-text-main, #0f172a);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.wootire-widget-active-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wootire-primary-red, #c8102e);
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.2);
}

.wootire-widget-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--wootire-text-muted, #64748b);
    line-height: 1;
    margin-left: 8px;
}

.wootire-widget-chevron {
    width: 15px;
    height: 15px;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Rotierter Zustand bei geöffnet */
.wootire-widget-collapsible.is-open .wootire-widget-chevron,
.wootire-widget-header[aria-expanded="true"] .wootire-widget-chevron {
    transform: rotate(180deg);
    color: var(--wootire-text-main, #0f172a);
}

/* Widget Body */
.wootire-widget-body {
    padding: 10px 12px 12px 12px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.wootire-widget-wrap {
    font-family: inherit;
    color: var(--wootire-text-main, #0f172a);
    box-sizing: border-box;
}

.wootire-widget-wrap * {
    box-sizing: border-box;
}

/* Reset Link */
.wootire-widget-reset-wrap {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed var(--wootire-border-subtle, #e2e8f0);
}

.wootire-widget-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #dc2626;
    text-decoration: none;
    transition: color 0.15s ease;
}

.wootire-widget-reset-btn:hover {
    color: #991b1b;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Widget 1: Dimensions Filter (Pills & Dropdowns)
   -------------------------------------------------------------------------- */
.wootire-widget-dimensions .wootire-dim-field {
    margin-bottom: 8px;
}

.wootire-widget-dimensions .wootire-dim-field:last-child {
    margin-bottom: 0;
}

.wootire-widget-dimensions .wootire-dim-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--wootire-text-label, #475569);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.wootire-widget-dimensions .wootire-select {
    font-size: 12px;
    padding: 5px 8px;
    height: 32px;
    border-radius: 5px;
}

.wootire-widget-dimensions .wootire-dim-section {
    margin-bottom: 10px;
}

.wootire-widget-dimensions .wootire-dim-section:last-of-type {
    margin-bottom: 0;
}

.wootire-widget-dimensions .wootire-dim-section-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--wootire-text-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.wootire-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.wootire-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 7px;
    border-radius: 5px;
    background: var(--wootire-secondary-bg, #f1f5f9);
    border: 1px solid #e2e8f0;
    color: var(--wootire-text-main, #1e293b);
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    transition: all 0.15s ease;
}

.wootire-pill:hover {
    background: var(--wootire-secondary-bg-hover, #e2e8f0);
    border-color: #cbd5e1;
    color: var(--wootire-text-main, #0f172a);
}

.wootire-pill.active,
.wootire-pill.is-active {
    background: var(--wootire-primary-red, #c8102e);
    border-color: var(--wootire-primary-red, #c8102e);
    color: #ffffff;
    font-weight: 600;
}

.wootire-pill .wootire-count {
    font-size: 9px;
    opacity: 0.75;
}

.wootire-pill.active .wootire-count,
.wootire-pill.is-active .wootire-count {
    background: rgba(255, 255, 255, 0.25);
    padding: 1px 3px;
    border-radius: 8px;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Widget 2: Category & Vehicle Type Filter
   -------------------------------------------------------------------------- */
.wootire-widget-categories .wootire-cat-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wootire-cat-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 9px;
    border-radius: 6px;
    background: var(--wootire-bg-light, #f8fafc);
    border: 1px solid #e2e8f0;
    color: var(--wootire-text-main, #1e293b);
    text-decoration: none;
    transition: all 0.15s ease;
    position: relative;
    box-sizing: border-box;
}

.wootire-cat-card:hover {
    background: var(--wootire-secondary-bg, #f1f5f9);
    border-color: #cbd5e1;
    color: var(--wootire-primary-red, #c8102e);
}

.wootire-cat-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--wootire-secondary-bg, #f1f5f9);
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    color: #475569;
    transition: all 0.15s ease;
}

.wootire-cat-badge-icon img.wootire-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.wootire-cat-svg {
    width: 15px;
    height: 15px;
}

.wootire-cat-pkw .wootire-cat-badge-icon {
    color: #2563eb;
}

.wootire-cat-suv .wootire-cat-badge-icon {
    color: #059669;
}

.wootire-cat-transporter .wootire-cat-badge-icon {
    color: #d97706;
}

.wootire-cat-motorrad .wootire-cat-badge-icon {
    color: #7c3aed;
}

.wootire-cat-lkw .wootire-cat-badge-icon {
    color: #dc2626;
}

.wootire-cat-badge-name {
    font-size: 12px;
    font-weight: 500;
    flex: 1;
    color: inherit;
    line-height: 1.2;
}

.wootire-cat-card .wootire-count {
    font-size: 10px;
    color: var(--wootire-text-muted, #64748b);
    background: #e2e8f0;
    padding: 1px 5px;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
}

/* Aktiver Zustand (Card / Badge) */
.wootire-cat-card.active,
.wootire-cat-card.is-active {
    background: #fef2f2;
    border-color: #fca5a5;
    color: var(--wootire-primary-red, #c8102e);
}

.wootire-cat-card.active .wootire-cat-badge-icon,
.wootire-cat-card.is-active .wootire-cat-badge-icon {
    background: var(--wootire-primary-red, #c8102e);
    border-color: var(--wootire-primary-red, #c8102e);
    color: #ffffff;
}

.wootire-cat-card.active .wootire-count,
.wootire-cat-card.is-active .wootire-count {
    background: var(--wootire-primary-red, #c8102e);
    color: #ffffff;
}

/* Checkbox-Stil */
.wootire-cat-checkbox {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s ease;
}

.wootire-cat-card:hover .wootire-cat-checkbox {
    border-color: var(--wootire-primary-red, #c8102e);
}

.wootire-cat-card.active .wootire-cat-checkbox,
.wootire-cat-card.is-active .wootire-cat-checkbox {
    background: var(--wootire-primary-red, #c8102e);
    border-color: var(--wootire-primary-red, #c8102e);
}

.wootire-cat-card.active .wootire-cat-checkbox::after,
.wootire-cat-card.is-active .wootire-cat-checkbox::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 3px;
    height: 7px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Pill-Badges Ansicht (Kompakte / Tag-Darstellung) */
.wootire-view-pills .wootire-cat-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* --------------------------------------------------------------------------
   Widget 3: Season Filter
   -------------------------------------------------------------------------- */
.wootire-season-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wootire-season-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 9px;
    border-radius: 6px;
    background: var(--wootire-bg-light, #f8fafc);
    border: 1px solid #e2e8f0;
    color: var(--wootire-text-main, #1e293b);
    text-decoration: none;
    transition: all 0.15s ease;
}

.wootire-season-card:hover {
    background: var(--wootire-secondary-bg, #f1f5f9);
    border-color: #cbd5e1;
}

.wootire-season-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.wootire-season-summer .wootire-season-badge-icon {
    color: #eab308;
}

.wootire-season-winter .wootire-season-badge-icon {
    color: #0284c7;
}

.wootire-season-allseason .wootire-season-badge-icon {
    color: #10b981;
}

.wootire-season-svg {
    width: 14px;
    height: 14px;
}

.wootire-season-badge-name {
    font-size: 12px;
    font-weight: 500;
    flex: 1;
    line-height: 1.2;
}

.wootire-season-card .wootire-count {
    font-size: 10px;
    color: var(--wootire-text-muted, #64748b);
    background: #e2e8f0;
    padding: 1px 5px;
    border-radius: 8px;
    font-weight: 500;
}

.wootire-season-card.active,
.wootire-season-card.is-active {
    background: #fef2f2;
    border-color: #fca5a5;
    color: var(--wootire-primary-red, #c8102e);
}

.wootire-season-card.active .wootire-season-badge-icon,
.wootire-season-card.is-active .wootire-season-badge-icon {
    background: var(--wootire-primary-red, #c8102e);
    border-color: var(--wootire-primary-red, #c8102e);
    color: #ffffff;
}

.wootire-season-card.active .wootire-count,
.wootire-season-card.is-active .wootire-count {
    background: var(--wootire-primary-red, #c8102e);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Widget 4: EU Label Filter
   -------------------------------------------------------------------------- */
.wootire-eu-filter-block {
    margin-bottom: 10px;
}

.wootire-eu-filter-block:last-of-type {
    margin-bottom: 0;
}

.wootire-eu-block-header {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--wootire-text-label, #475569);
    margin-bottom: 4px;
}

.wootire-eu-icon {
    display: flex;
    align-items: center;
    color: var(--wootire-text-muted, #64748b);
}

.wootire-eu-icon svg {
    width: 14px;
    height: 14px;
}

.wootire-eu-bars-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wootire-eu-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 6px;
    border-radius: 5px;
    background: #f8fafc;
    border: 1px solid transparent;
    color: var(--wootire-text-main, #334155);
    text-decoration: none;
    font-size: 11px;
    transition: all 0.15s ease;
}

.wootire-eu-bar-item:hover {
    background: #f1f5f9;
}

.wootire-eu-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 15px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 2px;
    clip-path: polygon(0 0, 75% 0, 100% 50%, 75% 100%, 0 100%);
    padding-right: 2px;
}

.wootire-eu-badge.dark-text {
    color: #1e293b;
}

.wootire-eu-bar-label {
    flex: 1;
    font-weight: 500;
}

.wootire-eu-check-box {
    width: 13px;
    height: 13px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    background: #ffffff;
    position: relative;
    transition: all 0.15s ease;
}

.wootire-eu-bar-item.active {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.wootire-eu-bar-item.active .wootire-eu-check-box {
    background: var(--wootire-primary-red, #c8102e);
    border-color: var(--wootire-primary-red, #c8102e);
}

.wootire-eu-bar-item.active .wootire-eu-check-box::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 1px;
    width: 3px;
    height: 6px;
    border: solid #ffffff;
    border-width: 0 1.8px 1.8px 0;
    transform: rotate(45deg);
}

/* Rollgeräusch Leiter */
.wootire-noise-ladder-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.wootire-noise-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 3px;
    border-radius: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--wootire-text-main, #334155);
    text-decoration: none;
    text-align: center;
    transition: all 0.15s ease;
}

.wootire-noise-tab:hover {
    background: #f1f5f9;
}

.wootire-noise-letter {
    font-size: 12px;
    font-weight: 700;
}

.wootire-noise-desc {
    font-size: 8.5px;
    color: var(--wootire-text-muted, #64748b);
    margin-top: 1px;
}

.wootire-noise-tab.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.wootire-noise-tab.active .wootire-noise-desc {
    color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   Widget 5: Features Filter (3PMSF, M+S, EV)
   -------------------------------------------------------------------------- */
.wootire-features-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wootire-feature-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 8px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--wootire-text-main, #1e293b);
    text-decoration: none;
    transition: all 0.15s ease;
}

.wootire-feature-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.wootire-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0284c7;
    flex-shrink: 0;
}

.wootire-feature-icon svg {
    width: 14px;
    height: 14px;
}

.wootire-feature-ms .wootire-feature-icon {
    color: #475569;
}

.wootire-ms-badge-text {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.wootire-feature-ev .wootire-feature-icon {
    color: #16a34a;
}

.wootire-feature-texts {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wootire-feature-title {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.wootire-feature-subtitle {
    font-size: 9px;
    color: var(--wootire-text-muted, #64748b);
    line-height: 1.2;
    margin-top: 1px;
}

.wootire-feature-checkbox {
    width: 14px;
    height: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    background: #ffffff;
    position: relative;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.wootire-feature-item.active {
    background: #ffffff;
    border-color: var(--wootire-primary-red, #c8102e);
    box-shadow: 0 1px 2px rgba(200, 16, 46, 0.08);
}

.wootire-feature-item.active .wootire-feature-checkbox {
    background: var(--wootire-primary-red, #c8102e);
    border-color: var(--wootire-primary-red, #c8102e);
}

.wootire-feature-item.active .wootire-feature-checkbox::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 3px;
    height: 6px;
    border: solid #ffffff;
    border-width: 0 1.8px 1.8px 0;
    transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Widget 6: Speed & Load Filter
   -------------------------------------------------------------------------- */
.wootire-speed-filter-block,
.wootire-load-filter-block {
    margin-bottom: 9px;
}

.wootire-speed-filter-block:last-of-type,
.wootire-load-filter-block:last-of-type {
    margin-bottom: 0;
}

.wootire-speed-title,
.wootire-load-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--wootire-text-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.wootire-speed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
    gap: 4px;
}

.wootire-speed-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3px 2px;
    border-radius: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--wootire-text-main, #1e293b);
    text-decoration: none;
    text-align: center;
    transition: all 0.15s ease;
}

.wootire-speed-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.wootire-speed-letter {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
}

.wootire-speed-kmh {
    font-size: 8px;
    color: var(--wootire-text-muted, #64748b);
    line-height: 1.1;
    margin-top: 1px;
}

.wootire-speed-pill.active {
    background: var(--wootire-primary-red, #c8102e);
    border-color: var(--wootire-primary-red, #c8102e);
    color: #ffffff;
}

.wootire-speed-pill.active .wootire-speed-kmh {
    color: rgba(255, 255, 255, 0.85);
}

.wootire-load-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.wootire-load-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 6px;
    border-radius: 4px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: var(--wootire-text-main, #334155);
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.wootire-load-pill:hover {
    background: #e2e8f0;
}

.wootire-load-pill.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   AJAX Live-Filtering Overlay & Shimmer Loading States
   -------------------------------------------------------------------------- */
.wootire-ajax-loading-target {
    position: relative !important;
    min-height: 140px;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wootire-ajax-loading-target.wootire-is-loading {
    pointer-events: none;
    user-select: none;
}

/* Halbtransparenter Shimmer-Overlay über dem Produkt-Grid / Loop */
.wootire-ajax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.wootire-ajax-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Eleganter WooTire Red Spinner mit Pulsier-Effekt */
.wootire-ajax-spinner {
    width: 44px;
    height: 44px;
    border: 3.5px solid rgba(200, 16, 46, 0.16);
    border-top-color: var(--wootire-primary-red, #c8102e);
    border-radius: 50%;
    animation: wootire-spin 0.75s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.wootire-ajax-overlay-text {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #1e293b;
    text-transform: uppercase;
    font-family: inherit;
    background: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

/* Dezent abgedunkelter Ladezustand für die Sidebar-Filter während des Filterns */
.wootire-filter-widget.wootire-ajax-widget-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.wootire-search-container.wootire-ajax-search-loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

@keyframes wootire-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* --------------------------------------------------------------------------
   Widget: WooTire Brand Filter (Reifenmarken-Filter)
   -------------------------------------------------------------------------- */
.wootire-widget-brands {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Suchfeld */
.wootire-brand-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 4px;
}

.wootire-brand-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wootire-brand-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 28px 7px 32px !important;
    font-size: 13px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background-color: #f8fafc !important;
    color: #1e293b !important;
    line-height: 1.4 !important;
    outline: none !important;
    transition: all 0.15s ease !important;
}

.wootire-brand-search-input:focus {
    background-color: #ffffff !important;
    border-color: var(--wootire-primary-red, #c8102e) !important;
    box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.15) !important;
}

.wootire-brand-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 16px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 3px;
    transition: color 0.15s ease;
}

.wootire-brand-search-clear:hover {
    color: #ef4444;
}

/* Scrollbare Liste */
.wootire-brand-list {
    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.wootire-brand-list::-webkit-scrollbar {
    width: 5px;
}

.wootire-brand-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.wootire-brand-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.wootire-brand-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Checkbox-Darstellung */
.wootire-brand-checkboxes .wootire-brand-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 9px;
    border-radius: 6px;
    background: var(--wootire-bg-light, #f8fafc);
    border: 1px solid #e2e8f0;
    color: var(--wootire-text-main, #1e293b);
    text-decoration: none;
    transition: all 0.15s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.wootire-brand-checkboxes .wootire-brand-item:hover {
    background: var(--wootire-secondary-bg, #f1f5f9);
    border-color: #cbd5e1;
    color: var(--wootire-primary-red, #c8102e);
}

.wootire-brand-checkbox {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s ease;
}

.wootire-brand-checkboxes .wootire-brand-item:hover .wootire-brand-checkbox {
    border-color: var(--wootire-primary-red, #c8102e);
}

.wootire-brand-checkboxes .wootire-brand-item.active {
    background: #fef2f2;
    border-color: #fca5a5;
    color: var(--wootire-primary-red, #c8102e);
    font-weight: 600;
}

.wootire-brand-checkboxes .wootire-brand-item.active .wootire-brand-checkbox {
    background: var(--wootire-primary-red, #c8102e);
    border-color: var(--wootire-primary-red, #c8102e);
}

.wootire-brand-checkboxes .wootire-brand-item.active .wootire-brand-checkbox::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 3px;
    height: 7px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Pills-Darstellung */
.wootire-brand-pills {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 6px;
}

.wootire-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 20px;
    background: var(--wootire-bg-light, #f8fafc);
    border: 1px solid #e2e8f0;
    color: var(--wootire-text-main, #1e293b);
    text-decoration: none;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    transition: all 0.15s ease;
    cursor: pointer;
}

.wootire-brand-pill:hover {
    background: var(--wootire-secondary-bg, #f1f5f9);
    border-color: #cbd5e1;
    color: var(--wootire-primary-red, #c8102e);
}

.wootire-brand-pill.active {
    background: var(--wootire-primary-red, #c8102e);
    border-color: var(--wootire-primary-red, #c8102e);
    color: #ffffff;
    font-weight: 600;
}

.wootire-brand-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: inherit;
    line-height: 1.2;
}

.wootire-brand-pills .wootire-brand-name {
    font-size: 12px;
}

/* Zähler */
.wootire-brand-list .wootire-count {
    font-size: 10px;
    color: var(--wootire-text-muted, #64748b);
    background: #e2e8f0;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.wootire-brand-item.active .wootire-count {
    background: var(--wootire-primary-red, #c8102e);
    color: #ffffff;
}

.wootire-brand-pill.active .wootire-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ==========================================================================
   13. WooTire Marken-Katalog & PDF-Viewer (/catalog)
   ========================================================================== */
.wootire-catalog-section {
    width: 100%;
    margin: 0 auto;
    font-family: inherit;
    box-sizing: border-box;
}

.wootire-catalog-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 36px;
}

.wootire-catalog-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.wootire-catalog-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Grid-System */
.wootire-catalog-grid {
    display: grid;
    grid-template-columns: repeat(var(--catalog-columns, 3), minmax(0, 1fr));
    gap: 24px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .wootire-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .wootire-catalog-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .wootire-catalog-title {
        font-size: 26px;
    }
}

/* Marken-Katalog-Karte */
.wootire-brand-catalog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    position: relative;
}

.wootire-brand-catalog-card.has-catalogs:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

/* Ausgegrauter Zustand für Marken ohne hinterlegte Kataloge */
.wootire-brand-catalog-card.is-disabled {
    opacity: 0.75;
    background: #fbfcfe;
    border-color: #e2e8f0;
    filter: grayscale(70%);
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.wootire-brand-catalog-card.is-disabled:hover {
    opacity: 0.95;
    filter: grayscale(20%);
}

.wootire-brand-catalog-card.is-disabled .wootire-catalog-no-brochure-badge {
    cursor: default;
}

/* Tooltip bei Hover über inaktive Marken */
.wootire-brand-catalog-card.is-disabled::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: #0f172a;
    color: #ffffff;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 6px;
    white-space: normal;
    text-align: center;
    width: 250px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 50;
}

.wootire-brand-catalog-card.is-disabled:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: 6px;
}

/* Logo-Container mit edlem grauem Underlay (+25% größer) */
.wootire-catalog-logo-wrapper {
    width: 100%;
    height: var(--catalog-logo-h, 85px);
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    box-sizing: border-box;
    margin-bottom: 16px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.wootire-catalog-brand-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}

.wootire-catalog-brand-text-logo {
    font-size: 20px;
    font-weight: 800;
    color: #334155;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* Card Body */
.wootire-catalog-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wootire-catalog-brand-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.wootire-catalog-brand-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: #475569;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Footer & Buttons */
.wootire-catalog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.wootire-btn-open-flipbook {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: var(--wootire-primary-color, #c8102e) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    filter: none !important;
}

.wootire-btn-open-flipbook:hover {
    background: var(--wootire-primary-red-hover, #991b1b) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.wootire-catalog-no-brochure-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #94a3b8;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    border: 1px dashed #cbd5e1;
}

.wootire-catalog-shop-link {
    font-size: 12.5px;
    font-weight: 600;
    color: #2563eb !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.wootire-catalog-shop-link:hover {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}

/* --------------------------------------------------------------------------
   PDF Flipbook / Viewer Modal Dialog
   -------------------------------------------------------------------------- */
.wootire-flipbook-dialog {
    max-width: 1100px !important;
    width: 95% !important;
    height: 90vh !important;
    max-height: 90vh !important;
}

.wootire-flipbook-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 !important;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
}

.wootire-flipbook-header {
    background: #1e293b;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #334155;
    flex-wrap: wrap;
    color: #ffffff;
}

.wootire-flipbook-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wootire-flipbook-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.wootire-flipbook-sub {
    font-size: 12.5px;
    color: #94a3b8;
    display: block;
    margin-top: 2px;
}

.wootire-flipbook-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wootire-flipbook-dl-btn {
    background: #334155 !important;
    color: #ffffff !important;
    border-color: #475569 !important;
    font-size: 12px !important;
    padding: 0 12px !important;
    height: 32px !important;
    line-height: 30px !important;
}

.wootire-flipbook-dl-btn:hover {
    background: #475569 !important;
    color: #ffffff !important;
}

.wootire-flipbook-header .wootire-modal-close {
    background: transparent;
    border: none;
    font-size: 32px;
    font-weight: 300;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 2px 10px;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}

.wootire-flipbook-header .wootire-modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.wootire-flipbook-body {
    flex-grow: 1;
    position: relative;
    background: #0f172a;
    display: flex;
}

.wootire-flipbook-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #1e293b;
}

.wootire-flipbook-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    font-size: 13px;
    pointer-events: none;
}










