/**
 * Styles publics pour Location Vélos LLD
 * Redesigned to match Naturavelo theme
 * Palette: cream #f5f0e6, coral #e26d5a, dark #1e1e1e
 */

/* ─── Variables ─── */
:root {
    --nv-cream:       #f5f0e6;
    --nv-cream-dark:  #ede7d8;
    --nv-cream-card:  #faf8f3;
    --nv-coral:       #e26d5a;
    --nv-coral-dark:  #c85a47;
    --nv-coral-light: rgba(226, 109, 90, 0.12);
    --nv-dark:        #1e1e1e;
    --nv-mid:         #5a5548;
    --nv-muted:       #9a9088;
    --nv-border:      #e0d8cc;
    --nv-radius:      4px;
    --nv-radius-lg:   8px;
}

/* ─── Filtres catégories ─── */
.lld-filtres {
    margin-bottom: 28px;
}

.lld-filtres-main {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.lld-filtres-sub {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--nv-border);
    justify-content: center;
}

.lld-filtres-sub.visible {
    display: flex;
}

.lld-filtre-btn {
    padding: 7px 18px;
    border: 1px solid var(--nv-border);
    border-radius: 20px;
    background: var(--nv-cream-card);
    color: var(--nv-mid);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    line-height: 1.4;
}

.lld-filtre-btn:hover {
    border-color: var(--nv-coral);
    color: var(--nv-coral);
    background: var(--nv-coral-light);
}

.lld-filtre-btn.active {
    background: var(--nv-coral);
    border-color: var(--nv-coral);
    color: #fff;
}

.lld-filtre-sub-btn {
    font-size: 12px;
    padding: 5px 14px;
}

/* ─── Grid container ─── */
.location-lld-velos-container {
    display: grid;
    grid-template-columns: repeat(var(--lld-colonnes, 2), 1fr);
    gap: 32px;
    padding: 20px 0;
}

/* ─── Carte vélo ─── */
.location-lld-velo-card {
    background: var(--nv-cream-card);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.location-lld-velo-card:hover {
    border-color: var(--nv-coral);
    box-shadow: 0 4px 24px rgba(30, 20, 10, 0.08);
    z-index: 2;
}

/* ─── En-tête badges ─── */
.velo-card-header {
    margin-bottom: 18px;
}

.velo-header-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.velo-title-info {
    width: 100%;
}

.velo-brand {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--nv-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.velo-model {
    margin: 4px 0 0 0;
    font-size: 15px;
    font-weight: 400;
    color: var(--nv-mid);
    text-transform: none;
    letter-spacing: 0;
}

/* ─── Badges type & catégorie ─── */
.velo-type,
.velo-category-type {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px !important;
    border-radius: 20px;
    margin: 0 4px 4px 0;
    line-height: 1;
}

.velo-type {
    background: var(--nv-coral-light);
    color: var(--nv-coral);
    border: 1px solid rgba(226, 109, 90, 0.25);
}

.velo-type strong {
    font-weight: 700;
    color: inherit;
}

.velo-category-type {
    border: 1px solid;
}

.velo-category-type strong {
    font-weight: 700;
    color: inherit;
}

.velo-category-traditionnel {
    background: rgba(0, 166, 81, 0.08);
    color: #00874a;
    border-color: rgba(0, 166, 81, 0.2);
    border-radius: 20px !important;
    margin: 0 4px 4px 0 !important;
}

.velo-category-electrique {
    background: rgba(230, 140, 40, 0.1);
    color: #c07010;
    border-color: rgba(230, 140, 40, 0.25);
    border-radius: 20px !important;
    margin: 0 4px 4px 0 !important;
}

/* ─── Image wrapper ─── */
.velo-image-wrapper {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    gap: 15px;
    overflow: visible;
    z-index: 1;
    background: var(--nv-cream-dark);
    border-radius: var(--nv-radius-lg);
    padding: 16px;
    box-sizing: border-box;
}

.velo-image {
    flex: 1;
    overflow: hidden;
    background: transparent;
    position: relative;
    z-index: 1;
}

.velo-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

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

/* ─── Badge énergie ─── */
.velo-energy-badge {
    position: relative;
    flex-shrink: 0;
    align-self: flex-end;
    z-index: 100;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
    pointer-events: auto;
}

.velo-image-wrapper:hover .velo-energy-badge .energy-comparison-tooltip,
.velo-energy-badge:hover .energy-comparison-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.location-lld-velo-card:has(.velo-energy-badge:hover),
.location-lld-velo-card:has(.velo-image-wrapper:hover .velo-energy-badge) {
    z-index: 1000;
}

.energy-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--nv-mid);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.energy-scale-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 83px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.energy-bar {
    position: relative;
    display: flex;
    align-items: center;
    height: 20px;
    padding-left: 8px;
    padding-right: 9px;
    box-sizing: border-box;
    border-radius: 3px 0 0 3px;
    margin-bottom: 1px;
}

.energy-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 9px solid;
    margin-right: -9px;
}

.energy-bar-a { width: 100%; background: #00a651; gap: 7px; }
.energy-bar-a::after { border-left-color: #00a651; }
.energy-bar-b { width: 92%; background: #3db54a; }
.energy-bar-b::after { border-left-color: #3db54a; }
.energy-bar-c { width: 84%; background: #8bc34a; }
.energy-bar-c::after { border-left-color: #8bc34a; }
.energy-bar-d { width: 76%; background: #ffeb3b; }
.energy-bar-d::after { border-left-color: #ffeb3b; }
.energy-bar-e { width: 68%; background: #ff9800; }
.energy-bar-e::after { border-left-color: #ff9800; }
.energy-bar-f { width: 60%; background: #ff5722; }
.energy-bar-f::after { border-left-color: #ff5722; }
.energy-bar-g { width: 52%; background: #f44336; }
.energy-bar-g::after { border-left-color: #f44336; }

.energy-class {
    font-size: 21px;
    font-weight: 900;
    color: white;
    line-height: 1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    letter-spacing: -0.5px;
}

.energy-co2-value {
    font-size: 16px;
    font-weight: 900;
    color: white;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.energy-co2-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--nv-mid);
    line-height: 1.2;
    text-align: center;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid var(--nv-border);
}

.energy-co2-label sub {
    font-size: 9px;
    vertical-align: baseline;
    font-weight: 600;
    line-height: 0;
}

.energy-letter {
    font-size: 18px;
    font-weight: 900;
    color: white;
    line-height: 1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

/* ─── Tooltip comparaison ─── */
.energy-comparison-tooltip {
    position: absolute;
    left: calc(100% + 15px);
    top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.comparison-scale-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 125px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    background: var(--nv-cream-card);
    padding: 8px 12px 12px 12px;
    border-radius: var(--nv-radius-lg);
    box-shadow: 0 4px 16px rgba(30, 20, 10, 0.15);
    border: 1px solid var(--nv-border);
    margin-bottom: 8px;
}

.comparison-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--nv-mid);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-scale-container .energy-bar {
    height: 20px;
    padding-left: 8px;
    padding-right: 9px;
    margin-bottom: 1px;
}

.comparison-scale-container .energy-bar::after {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 9px solid;
    margin-right: -9px;
}

.comparison-scale-container .energy-letter { font-size: 18px; }
.comparison-scale-container .energy-co2-label { font-size: 12px; margin-top: 4px; padding-top: 4px; }

.energy-bar-wrapper-f {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1px;
}

.comparison-highlight {
    position: relative;
    border: 2px solid #ff5722;
    box-shadow: 0 0 8px rgba(255, 87, 34, 0.4);
}

.comparison-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--nv-dark);
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

.comparison-info {
    background: var(--nv-cream-card);
    padding: 12px 16px;
    border-radius: var(--nv-radius-lg);
    box-shadow: 0 4px 16px rgba(30, 20, 10, 0.15);
    border: 1px solid var(--nv-border);
    font-size: 11px;
    line-height: 1.5;
    color: var(--nv-mid);
    text-align: center;
    min-width: 200px;
}

.comparison-info strong {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
    color: var(--nv-coral);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.comparison-info small {
    display: block;
    margin-top: 4px;
    font-size: 9px;
    color: var(--nv-muted);
    font-style: italic;
}

.comparison-info sub {
    font-size: 8px;
    vertical-align: baseline;
}

/* ─── Infos vélo ─── */
.velo-info {
    margin-bottom: 20px;
}

.velo-description {
    font-size: 14px;
    color: var(--nv-mid);
    line-height: 1.65;
    margin-top: 10px;
}

/* ─── Sélecteur Acquisition / Location ─── */
.velo-mode-selector {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-lg);
    overflow: hidden;
}

.mode-btn {
    flex: 1;
    padding: 11px 16px;
    border: none;
    background: transparent;
    color: var(--nv-mid);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    border-radius: 0;
}

.mode-btn:first-child {
    border-right: 1px solid var(--nv-border);
}

.mode-btn:hover {
    background: var(--nv-cream-dark);
    color: var(--nv-dark);
}

.mode-btn.active {
    background: var(--nv-coral);
    color: #fff;
}

/* ─── Sections ─── */
.velo-section {
    display: none;
}

.velo-section.active {
    display: block;
}

/* ─── Prix ─── */
.velo-price-info {
    margin-bottom: 18px;
    padding: 16px 18px;
    background: var(--nv-cream-dark);
    border-radius: var(--nv-radius-lg);
    border: 1px solid var(--nv-border);
}

.price-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nv-muted);
    margin: 0 0 6px 0;
}

.velo-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--nv-dark);
    margin: 0;
    line-height: 1;
}

.premiere-echeance {
    font-size: 13px;
    color: var(--nv-mid);
    margin: 6px 0 0 0;
}

/* ─── Sélecteur durée ─── */
.velo-duration-selector {
    display: flex;
    gap: 0;
    margin-bottom: 18px;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-lg);
    overflow: hidden;
}

.duration-btn {
    flex: 1;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: var(--nv-mid);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
}

.duration-btn:first-child {
    border-right: 1px solid var(--nv-border);
}

.duration-btn:hover {
    background: var(--nv-cream-dark);
    color: var(--nv-dark);
}

.duration-btn.active {
    background: var(--nv-coral);
    color: #fff;
}

.duration-btn.active::before {
    content: '✓ ';
}

/* ─── Pack sérénité ─── */
.velo-pack-serenite {
    margin-bottom: 22px;
    padding: 18px 20px;
    background: var(--nv-cream-dark);
    border: 1px solid var(--nv-border);
    border-left: 3px solid var(--nv-coral);
    border-radius: var(--nv-radius-lg);
}

.pack-title {
    margin: 0 0 14px 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--nv-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--nv-border);
}

.pack-inclus {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nv-coral);
    background: var(--nv-coral-light);
    padding: 3px 10px;
    border-radius: 2px;
}

.pack-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
}

.pack-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--nv-cream-card);
    border-radius: var(--nv-radius);
    border: 1px solid var(--nv-border);
    transition: border-color 0.2s ease;
}

.pack-item:hover {
    border-color: var(--nv-coral);
}

.pack-item-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.pack-item-text {
    font-size: 13px;
    color: var(--nv-dark);
    font-weight: 500;
    line-height: 1.4;
}

.pack-desc {
    font-size: 14px;
    color: var(--nv-mid);
    line-height: 1.6;
    margin: 0;
}

/* ─── Options supplémentaires ─── */
.velo-options {
    margin-bottom: 18px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed var(--nv-border);
}

.options-header {
    margin-bottom: 14px;
}

.velo-options h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--nv-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.options-subtitle {
    margin: 0;
    font-size: 12px;
    color: var(--nv-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.options-subtitle::before {
    content: '→';
    color: var(--nv-coral);
    font-weight: 700;
}

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

.option-item {
    margin-bottom: 10px;
    background: var(--nv-cream-card);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-lg);
    transition: border-color 0.2s ease, background 0.2s ease;
    overflow: hidden;
}

.option-item:hover {
    border-color: var(--nv-coral);
}

.option-item:has(.option-checkbox:checked) {
    border-color: var(--nv-coral);
    background: var(--nv-coral-light);
}

.option-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    gap: 12px;
    width: 100%;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.option-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--nv-coral-light);
    color: var(--nv-coral);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    border: 1px solid rgba(226, 109, 90, 0.2);
}

.option-item:has(.option-checkbox:checked) .option-avatar {
    background: var(--nv-coral);
    color: white;
    border-color: var(--nv-coral);
}

.option-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.option-name {
    font-weight: 700;
    color: var(--nv-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.option-desc {
    font-size: 12px;
    color: var(--nv-mid);
    line-height: 1.4;
}

.option-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.option-price {
    font-weight: 700;
    color: var(--nv-coral);
    font-size: 14px;
    white-space: nowrap;
}

.checkbox-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 1;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--nv-border);
    border-radius: var(--nv-radius);
    background: var(--nv-cream-card);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.option-item:hover .checkmark {
    border-color: var(--nv-coral);
}

.option-checkbox:checked + .checkmark {
    background: var(--nv-coral);
    border-color: var(--nv-coral);
}

.option-checkbox:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 15px;
    font-weight: bold;
    line-height: 1;
}

/* ─── Options sélectionnées récap ─── */
.velo-selected-options,
.velo-unique-options {
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 14px 16px;
    background: var(--nv-cream-dark);
    border-radius: var(--nv-radius-lg);
    border-left: 3px solid var(--nv-coral);
}

.selected-options-list,
.unique-options-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.selected-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid var(--nv-border);
}

.selected-option-item:last-child {
    border-bottom: none;
}

.selected-option-name {
    font-size: 13px;
    color: var(--nv-dark);
    font-weight: 500;
}

.selected-option-price {
    font-size: 13px;
    color: var(--nv-coral);
    font-weight: 700;
}

/* ─── Total ─── */
.velo-total {
    margin-top: 18px;
    padding: 18px;
    background: var(--nv-cream-dark);
    border-radius: var(--nv-radius-lg);
    border: 1px solid var(--nv-border);
    border-top: 2px solid var(--nv-coral);
}

.total-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nv-muted);
    margin: 0 0 6px 0;
}

.velo-total-price {
    font-size: 30px;
    font-weight: 800;
    color: var(--nv-coral);
    margin: 0;
}

/* ─── Bouton devis ─── */
.velo-contact-btn {
    margin-top: 22px;
    padding: 14px 28px;
    background: var(--nv-coral);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.velo-contact-btn:hover {
    background: var(--nv-coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(226, 109, 90, 0.35);
}

.velo-contact-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ─── Modale ─── */
.location-lld-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(20, 15, 8, 0.55);
    backdrop-filter: blur(6px);
}

.location-lld-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--nv-cream-card);
    margin: auto;
    padding: 36px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 16px 48px rgba(20, 15, 8, 0.25);
    border: 1px solid var(--nv-border);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 18px;
    font-size: 24px;
    font-weight: bold;
    color: var(--nv-muted);
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--nv-coral);
}

.modal-content h2 {
    margin: 0 0 24px 0;
    color: var(--nv-dark);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.modal-content h3 {
    margin: 24px 0 14px 0;
    color: var(--nv-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--nv-border);
    padding-bottom: 8px;
}

/* ─── Formulaire ─── */
.contact-form {
    margin-top: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--nv-dark);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-lg);
    font-size: 14px;
    color: var(--nv-dark);
    background: var(--nv-cream-card);
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--nv-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--nv-coral);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.submit-btn,
.cancel-btn {
    flex: 1;
    padding: 13px 22px;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn {
    background: var(--nv-coral);
    color: white;
}

.submit-btn:hover {
    background: var(--nv-coral-dark);
    box-shadow: 0 4px 14px rgba(226, 109, 90, 0.35);
}

.submit-btn:disabled {
    background: var(--nv-border);
    color: var(--nv-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.cancel-btn {
    background: var(--nv-cream-dark);
    color: var(--nv-mid);
    border: 1px solid var(--nv-border);
}

.cancel-btn:hover {
    background: var(--nv-border);
    color: var(--nv-dark);
}

.form-message {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: var(--nv-radius-lg);
    font-size: 13px;
    font-weight: 600;
}

.form-message.success {
    background: rgba(0, 166, 81, 0.1);
    color: #006b35;
    border: 1px solid rgba(0, 166, 81, 0.25);
}

.form-message.error {
    background: rgba(226, 109, 90, 0.1);
    color: var(--nv-coral-dark);
    border: 1px solid rgba(226, 109, 90, 0.25);
}

body.modal-open {
    overflow: hidden;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .location-lld-velos-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .modal-content {
        width: 95%;
        padding: 22px;
    }

    .velo-price,
    .velo-total-price {
        font-size: 24px;
    }

    .pack-items-list {
        grid-template-columns: 1fr;
    }

    .pack-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .velo-pack-serenite {
        padding: 14px;
    }

    .velo-selected-options,
    .velo-unique-options {
        padding: 12px;
    }

    .selected-option-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .selected-option-price {
        align-self: flex-end;
    }

    .energy-scale-container {
        width: 66px;
    }

    .energy-bar {
        height: 17px;
        padding-left: 6px;
        padding-right: 7px;
    }

    .energy-bar::after {
        border-top-width: 8px;
        border-bottom-width: 8px;
        border-left-width: 7px;
        margin-right: -7px;
    }

    .energy-bar-a { gap: 5px; }
    .energy-class { font-size: 16px; }
    .energy-co2-value { font-size: 13px; }
    .energy-co2-label { font-size: 11px; margin-top: 3px; padding-top: 3px; }
    .energy-co2-label sub { font-size: 8px; }
    .energy-letter { font-size: 14px; }

    .energy-comparison-tooltip {
        left: auto;
        right: calc(100% + 15px);
        top: auto;
        bottom: 0;
    }

    .comparison-scale-container {
        width: 100px;
    }

    .comparison-scale-container .energy-bar {
        height: 17px;
        padding-left: 6px;
        padding-right: 7px;
    }

    .comparison-scale-container .energy-bar::after {
        border-top-width: 8px;
        border-bottom-width: 8px;
        border-left-width: 7px;
        margin-right: -7px;
    }

    .comparison-scale-container .energy-letter { font-size: 14px; }
    .comparison-scale-container .energy-co2-label { font-size: 11px; }

    .energy-bar-wrapper-f { gap: 4px; }
    .comparison-value { font-size: 11px; }

    .comparison-info {
        font-size: 10px;
        padding: 8px 10px;
        min-width: 120px;
    }

    .comparison-info strong { font-size: 11px; }
    .comparison-info small { font-size: 8px; }
}
