/* Vehicle-Selector-2026 v1.9.5 */

.vs26-app {
    --vs26-accent: #c81a24;
    --vs26-accent-dark: #a31118;
    --vs26-accent-soft: #fdf1f1;
    --vs26-accent-border: #f0c4c7;
    --vs26-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --vs26-shadow-hover: 0 6px 18px rgba(200, 26, 36, 0.12);
    --vs26-radius: 14px;
    --vs26-pad: 18px;
    --vs26-transition: 0.22s ease;

    max-width: 1040px;
    margin: 0 auto;
    font-family: inherit;
    font-size: 13px;
    color: #1a1a1a;
}

/* Swatch buttons only — do not inherit theme button colors globally */
.vs26-app .vs26-swatch,
.vs26-app .vs26-swatch:hover,
.vs26-app .vs26-swatch:focus,
.vs26-app .vs26-swatch:active {
    background: #fff;
    color: #444;
}

.vs26-app .vs26-swatch.is-selected,
.vs26-app .vs26-swatch.is-selected:hover {
    background: var(--vs26-accent-soft);
}

.vs26-app.vs26-fullbleed {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(12px, 2vw, 20px) clamp(14px, 3vw, 40px);
    box-sizing: border-box;
    background: #f5f4ef;
}

.vs26-app.vs26-fullbleed .vs26-layout {
    max-width: 1200px;
    margin: 0 auto;
}

/* 60% colors / 40% preview */
.vs26-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr);
    grid-template-areas:
        "selection selection"
        "top     top"
        "hint    hint"
        "colors  preview"
        "trust   trust"
        "wa      wa";
    gap: 10px 14px;
    align-items: start;
}

.vs26-selection-bar { grid-area: selection; }
.vs26-panel        { grid-area: top; }
.vs26-hintband     { grid-area: hint; }
.vs26-step-colors  { grid-area: colors; }
.vs26-visual       { grid-area: preview; }
.vs26-trust        { grid-area: trust; }
.vs26-wa           { grid-area: wa; }

.vs26-phase2 {
    animation: vs26-reveal 0.26s ease-out both;
}

@keyframes vs26-reveal {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Stage 1: compact vehicle panel (~140–170px) ---- */

.vs26-panel {
    background: #fff;
    border: none;
    border-radius: var(--vs26-radius);
    padding: var(--vs26-pad);
    box-shadow: var(--vs26-shadow);
}

.vs26-panel.is-collapsed {
    display: none;
}

.vs26-panel.is-collapsed .vs26-panel-header,
.vs26-panel.is-collapsed .vs26-step-fields {
    display: none;
}

.vs26-panel-header {
    margin-bottom: 10px;
}

.vs26-panel-title {
    margin: 0 0 2px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
}

.vs26-panel-sub {
    margin: 0;
    font-size: 0.78rem;
    color: #666;
    line-height: 1.35;
}

.vs26-selection-bar,
.vs26-vehicle-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f4f9f6;
    border: 1px solid #d4ebe2;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 0;
    box-shadow: var(--vs26-shadow);
}

.vs26-selection-bar.is-complete {
    background: #f0faf5;
    border-color: #b8e0cc;
}

.vs26-summary-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
}

.vs26-summary-change {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    padding: 4px 6px;
    flex-shrink: 0;
    transition: color var(--vs26-transition);
}

.vs26-summary-change:hover {
    color: #1d4ed8;
}

.vs26-step-fields {
    transition: opacity var(--vs26-transition), max-height 0.28s ease;
}

.vs26-fields-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 8px;
    align-items: end;
}

.vs26-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fafaf9;
    border: 1.5px solid #e8e7e4;
    border-radius: 10px;
    padding: 8px 10px 9px;
    transition: border-color var(--vs26-transition), box-shadow var(--vs26-transition), transform var(--vs26-transition);
}

.vs26-field:hover,
.vs26-field:focus-within {
    border-color: var(--vs26-accent);
    box-shadow: 0 0 0 3px rgba(200, 26, 36, 0.08);
}

.vs26-field-head {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}

.vs26-field-icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
    color: var(--vs26-accent);
    flex-shrink: 0;
}

.vs26-field-icon svg {
    width: 100%;
    height: 100%;
}

.vs26-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0;
}

.vs26-required {
    color: var(--vs26-accent);
}

.vs26-select {
    width: 100%;
    padding: 6px 4px;
    border: none;
    background: transparent;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.25;
    min-height: 28px;
    box-sizing: border-box;
    appearance: auto;
    color: #1a1a1a;
}

.vs26-select:focus-visible {
    outline: none;
}

.vs26-field .vs26-select:disabled {
    color: #9a9a9a;
    cursor: not-allowed;
}

.vs26-btn-find-color {
    align-self: stretch;
    min-height: 48px;
    padding: 10px 16px;
    white-space: nowrap;
    background: var(--vs26-accent);
    border: 1px solid var(--vs26-accent);
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: background var(--vs26-transition), transform var(--vs26-transition), box-shadow var(--vs26-transition);
}

.vs26-btn-find-color:hover:not(:disabled),
.vs26-btn-find-color:focus-visible {
    background: var(--vs26-accent-dark);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(200, 26, 36, 0.25);
}

.vs26-btn-find-color:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.vs26-title,
.vs26-step-head,
.vs26-step-num {
    display: none;
}

/* Hint band — superseded by .vs26-panel-sub in v1.9.3 compact layout */
.vs26-hintband {
    display: none;
}

/* ---- Color card (60%) ---- */

.vs26-step-colors {
    background: #fff;
    border: none;
    border-radius: var(--vs26-radius);
    padding: var(--vs26-pad);
    box-shadow: var(--vs26-shadow);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.vs26-colors-scroll {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 -4px;
    padding: 0 4px 2px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.vs26-colors-manual {
    flex-shrink: 0;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0efec;
}

.vs26-colors-scroll::-webkit-scrollbar {
    width: 5px;
}

.vs26-colors-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.vs26-colors-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--vs26-accent-border);
}

.vs26-step-colors.is-hidden {
    display: none;
}

.vs26-colors-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.vs26-colors-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.vs26-colors-count {
    font-size: 0.75rem;
    color: #777;
    font-weight: 500;
}

.vs26-hint {
    font-size: 0.76rem;
    color: #555;
    margin: 0 0 6px;
    line-height: 1.35;
}

.vs26-swatches {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    max-height: none;
    overflow: visible;
    padding: 2px 0;
}

.vs26-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px 6px;
    border: 1.5px solid #ebebea;
    background: #fff;
    cursor: pointer;
    border-radius: 10px;
    position: relative;
    min-width: 0;
    transition: transform var(--vs26-transition), box-shadow var(--vs26-transition), border-color var(--vs26-transition);
}

.vs26-swatch:hover {
    border-color: var(--vs26-accent-border);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: var(--vs26-shadow-hover);
}

.vs26-swatch:hover .vs26-swatch-label {
    color: var(--vs26-accent-dark);
}

.vs26-swatch:active {
    transform: translateY(0);
    box-shadow: none;
}

.vs26-swatch:focus-visible {
    outline: 2px solid var(--vs26-accent);
    outline-offset: 1px;
}

.vs26-swatch-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    transition: transform var(--vs26-transition);
}

.vs26-swatch-label {
    font-size: 10px;
    color: #444;
    line-height: 1.2;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.vs26-swatch.is-selected {
    border-color: var(--vs26-accent);
    border-width: 2px;
    background: var(--vs26-accent-soft);
    padding: 7px 3px 5px;
}

.vs26-swatch.is-selected .vs26-swatch-label {
    color: var(--vs26-accent-dark);
    font-weight: 600;
}

.vs26-swatch.is-selected::after {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--vs26-accent);
    color: #fff;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
}

.vs26-show-all {
    display: none;
}

.vs26-manual-toggle {
    margin-top: 8px;
    padding: 5px 10px;
    background: transparent;
    border: 1px dashed #bbb;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    font-size: 0.76rem;
    transition: all var(--vs26-transition);
}

.vs26-manual-toggle:hover {
    border-color: var(--vs26-accent-border);
    color: var(--vs26-accent-dark);
    background: var(--vs26-accent-soft);
}

.vs26-manual-entry {
    margin-top: 8px;
    padding: 10px 12px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

.vs26-manual-entry label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.76rem;
}

.vs26-manual-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 4px;
    box-sizing: border-box;
    min-height: 44px;
}

.vs26-manual-input:focus {
    outline: none;
    border-color: var(--vs26-accent);
    box-shadow: 0 0 0 3px rgba(200, 26, 36, 0.1);
}

.vs26-manual-hint {
    margin: 0;
    font-size: 0.72rem;
    color: #666;
    font-style: italic;
    line-height: 1.3;
}

/* ---- Preview panel (40%) ---- */

.vs26-visual {
    background: #fff;
    border: none;
    border-radius: var(--vs26-radius);
    padding: var(--vs26-pad);
    box-shadow: var(--vs26-shadow);
    display: flex;
    flex-direction: column;
    align-self: start;
}

.vs26-selected-bar {
    display: none;
}

.vs26-car-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 200px;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(180deg, #f8f8f6 0%, #fff 100%);
}

.vs26-car-photo,
.vs26-canvas,
.vs26-car-stage svg {
    max-height: 192px;
    width: 100%;
    max-width: 100%;
    display: block;
    object-fit: contain;
    object-position: center 55%;
    margin: 0 auto;
    transform: scale(1.08);
    transform-origin: center center;
    transition: opacity 0.25s ease;
}

.vs26-car-photo.is-hidden {
    display: none;
}

.vs26-visual-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.vs26-shade-name {
    font-size: 12.5px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.vs26-shade-name.vs26-shade-empty {
    font-weight: 500;
    color: #888;
    font-style: italic;
    font-size: 11.5px;
}

.vs26-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 999px;
    background: #f4f3ef;
    color: #555;
}

.vs26-stage-note {
    font-size: 10px;
    color: #8a6d00;
    background: #fff8e1;
    border: 1px solid #f0e0a0;
    border-radius: 4px;
    padding: 2px 6px;
    line-height: 1.3;
}

.vs26-stage-caption {
    margin: 6px 0 0;
    font-size: 10.5px;
    color: #8a887f;
    line-height: 1.35;
    text-align: center;
}

.vs26-match {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #0f7a55;
    margin-top: 2px;
}

.vs26-match::before {
    content: '✓ ';
}

.vs26-color-cta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0efec;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.vs26-color-cta.is-hidden {
    display: none;
}

.vs26-visual-cta {
    display: none;
}

.vs26-btn-find {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid var(--vs26-accent);
    background: var(--vs26-accent);
    color: #fff !important;
    cursor: pointer;
    line-height: 1.3;
    transition: background var(--vs26-transition), transform var(--vs26-transition), box-shadow var(--vs26-transition);
}

.vs26-btn-find:hover:not(:disabled),
.vs26-btn-find:focus-visible {
    background: var(--vs26-accent-dark);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(200, 26, 36, 0.28);
}

.vs26-btn-find:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.vs26-btn-find.is-loading::after {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-left: 7px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: -2px;
    animation: vs26-spin 0.7s linear infinite;
}

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

.vs26-btn-reset {
    background: none;
    border: none;
    color: #777;
    padding: 4px;
    font-weight: 400;
    font-size: 0.78rem;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    align-self: center;
}

.vs26-btn-reset:hover {
    color: var(--vs26-accent);
}

.vs26-error {
    color: #b32d2e;
    font-size: 0.78rem;
    line-height: 1.3;
}

.vs26-actions {
    display: none;
}

/* ---- Trust bar ---- */

.vs26-trust {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    min-height: 72px;
    padding: 0;
    background: #fff;
    border: 1px solid #ececea;
    border-radius: var(--vs26-radius);
    box-shadow: var(--vs26-shadow);
    overflow: hidden;
}

.vs26-trust-item {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    min-width: 0;
    border-right: 1px solid #ececea;
}

.vs26-trust-item:last-child {
    border-right: none;
}

.vs26-trust-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs26-trust-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}

.vs26-trust-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.vs26-trust-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
}

.vs26-trust-sub {
    display: block;
    font-size: 0.72rem;
    color: #777;
    line-height: 1.3;
    font-weight: 400;
}

.vs26-trust-sep {
    display: none;
}

/* ---- WhatsApp ---- */

.vs26-wa {
    background: #f0f9f2;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    box-shadow: var(--vs26-shadow);
}

.vs26-wa-text {
    flex: 1;
    min-width: 160px;
}

.vs26-wa-title {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

.vs26-wa-body {
    margin: 2px 0 0;
    font-size: 11px;
    color: #4a5a4e;
    line-height: 1.35;
}

.vs26-wa-btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    background: #25d366;
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--vs26-transition);
}

.vs26-wa-btn:hover {
    background: #1fb457;
    color: #fff;
}

.is-hidden {
    display: none !important;
}

.vs26-color-instruction,
.vs26-swatches-label {
    display: none !important;
}

/* ---- Wide screens ---- */

@media (min-width: 1100px) {
    .vs26-app {
        font-size: 14px;
    }

    .vs26-layout {
        gap: 12px 18px;
    }

    .vs26-car-stage,
    .vs26-canvas,
    .vs26-car-photo,
    .vs26-car-stage svg {
        max-height: 220px;
    }

    .vs26-swatch-circle {
        width: 34px;
        height: 34px;
    }
}

/* ---- Tablet: stack preview below colors ---- */

@media (max-width: 860px) {
    .vs26-layout {
        grid-template-columns: 1fr;
        grid-template-areas: none;
        gap: 10px;
    }

    .vs26-selection-bar,
    .vs26-panel,
    .vs26-hintband,
    .vs26-step-colors,
    .vs26-visual,
    .vs26-trust,
    .vs26-wa {
        grid-area: auto;
    }

    .vs26-selection-bar { order: 0; }
    .vs26-panel       { order: 1; }
    .vs26-hintband    { order: 2; }
    .vs26-step-colors { order: 3; }
    .vs26-visual      { order: 4; }
    .vs26-trust       { order: 5; }
    .vs26-wa          { order: 6; }

    .vs26-fields-row {
        grid-template-columns: 1fr 1fr;
    }

    .vs26-btn-find-color {
        grid-column: 1 / -1;
    }

    .vs26-swatches {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .vs26-car-stage,
    .vs26-canvas,
    .vs26-car-photo,
    .vs26-car-stage svg {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .vs26-fields-row {
        grid-template-columns: 1fr;
    }

    .vs26-panel,
    .vs26-visual,
    .vs26-step-colors {
        padding: 14px;
    }

    .vs26-swatches {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vs26-trust {
        flex-direction: column;
        min-height: 0;
    }

    .vs26-trust-item {
        border-right: none;
        border-bottom: 1px solid #ececea;
        padding: 12px 14px;
    }

    .vs26-trust-item:last-child {
        border-bottom: none;
    }

    .vs26-colors-scroll {
        max-height: 200px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   v1.9.8 — Smart PDP block (.cvc-pdp-*): rendered by CVC's
   render_pdp_smart_block() on configurable product pages
   ═══════════════════════════════════════════════════════════════ */

.cvc-pdp-smart {
    background: #fff;
    border: 1px solid #e5e4e0;
    border-radius: 14px;
    padding: 16px 18px;
    margin: 18px 0;
    clear: both;
}

.cvc-pdp-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cvc-pdp-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #111827;
}

.cvc-pdp-oem {
    font-size: 11.5px;
    font-weight: 700;
    color: #0f7a55;
    background: #eefbf3;
    border: 1px solid #cdeeda;
    border-radius: 999px;
    padding: 3px 10px;
    white-space: nowrap;
}

.cvc-pdp-sub {
    margin: 6px 0 12px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.cvc-pdp-incompat {
    margin: 0 0 12px;
    font-size: 12.5px;
    color: #8a6d00;
    background: #fff8e1;
    border: 1px solid #f0e0a0;
    border-radius: 8px;
    padding: 8px 12px;
}

.cvc-pdp-vehicle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 14px;
    background: #faf9f7;
    border: 1px solid #eee;
    border-radius: 10px;
}

.cvc-pdp-vehicle-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cvc-pdp-vehicle-title {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
}

.cvc-pdp-colour {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #374151;
}

.cvc-pdp-colour-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #9ca3af;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
    flex: none;
}

.cvc-pdp-change {
    background: none;
    border: none;
    color: #c81a24;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    padding: 4px;
    white-space: nowrap;
}

.cvc-pdp-buyrow {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 14px;
}

.cvc-pdp-qty {
    width: 74px;
    padding: 10px 8px;
    border: 1.5px solid #d5d5d0;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
}

.cvc-pdp-atc {
    flex: 1;
    background: #c81a24 !important;
    border: 1.5px solid #c81a24 !important;
    color: #fff !important;
    border-radius: 9px !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
    line-height: 1.3;
    transition: background 160ms ease;
}

.cvc-pdp-atc::after {
    display: none !important; /* theme shine isolation */
}

.cvc-pdp-atc:hover,
.cvc-pdp-atc:focus {
    background: #a31118 !important;
    border-color: #a31118 !important;
    color: #fff !important;
}

.cvc-pdp-note {
    margin: 10px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #0f7a55;
}

.cvc-pdp-selector {
    margin-top: 14px;
    border-top: 1px solid #f0f0ee;
    padding-top: 14px;
}

.cvc-pdp-selector.is-collapsed {
    display: none;
}

/* keep the embedded selector inside the card (no viewport breakout) */
.cvc-pdp-selector .vs26-app {
    max-width: 100%;
}

@media (max-width: 600px) {
    .cvc-pdp-smart {
        padding: 12px 14px;
    }

    .cvc-pdp-vehicle {
        flex-wrap: wrap;
    }

    .cvc-pdp-buyrow {
        flex-wrap: wrap;
    }

    .cvc-pdp-qty {
        width: 64px;
    }

    .cvc-pdp-atc {
        flex-basis: 100%;
        order: 2;
    }
}

/* ═══════════════════════════════════════════════════════════════
   v1.9.9 — PDP UI/UX fixes (desktop + mobile)
   ═══════════════════════════════════════════════════════════════ */

/* Swatch tiles: responsive columns instead of a fixed 6 — labels stop
   collapsing into letter-fragments in narrow containers (PDP column). */
.vs26-swatches {
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
}

.vs26-swatch-label {
    font-size: 10.5px;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Trust row: 2×2 grid on small screens (was 4 crushed columns) */
@media (max-width: 680px) {
    .vs26-trust {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 0;
    }

    .vs26-trust-item {
        padding: 10px 12px;
        border-right: none !important;
        border-bottom: 1px solid #f0f0ee;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        text-align: left;
    }

    .vs26-trust-item:nth-child(odd) {
        border-right: 1px solid #f0f0ee !important;
    }

    .vs26-trust-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .vs26-trust-title {
        font-size: 11.5px;
        line-height: 1.25;
        display: block;
    }

    .vs26-trust-sub {
        font-size: 10.5px;
        line-height: 1.25;
        display: block;
    }
}

/* ── PDP editing mode: one vehicle context at a time ── */
.cvc-pdp-smart.is-editing .cvc-pdp-vehicle,
.cvc-pdp-smart.is-editing .cvc-pdp-form,
.cvc-pdp-smart.is-editing .cvc-pdp-note,
.cvc-pdp-smart.is-editing .cvc-pdp-oem {
    display: none !important;
}

.cvc-pdp-cancel {
    display: block;
    margin: 12px 0 0;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    padding: 4px 0;
}

.cvc-pdp-cancel:hover {
    color: #c81a24;
}

/* Theme sticky add-to-cart hidden while the smart block owns ATC
   (JS also inline-hides it; this covers re-renders) */
.cvc-pdp-smart-active .glozin-sticky-add-to-cart {
    display: none !important;
}

/* v1.10.0 — preview-less mode (bikes/scooters): hide car stage + caption,
   keep the selected-shade meta (name, finish, match line) */
.vs26-visual.vs26-no-preview .vs26-car-stage,
.vs26-visual.vs26-no-preview .vs26-stage-caption {
    display: none !important;
}

.vs26-visual.vs26-no-preview {
    padding: 12px 14px;
}
