/* ==========================================================================
   Showroom cars – list filters (/salons) and detail page (/salon/…)
   ========================================================================== */

/* ---- list filters ------------------------------------------------------ */
.filters-panel {
    display: block;
    background: #fff;
    border: 1px solid #e8eef4;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 6px 18px rgba(18, 58, 99, .08);
}
.filters-panel .form-group { margin: 0; }
.filters-inline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    grid-column-gap: 20px;
    grid-row-gap: 18px;
    align-items: end;
    width: 100%;
}
.filters-panel label { font-size: 13px; font-weight: 700; color: #123a63; margin-bottom: 8px; display: block; }
.filters-panel input[type=number],
.filters-panel select {
    border: 1px solid #d3dee8;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.2;
    color: #123a63;
    background: #fff;
    width: 100%;
    height: 48px;
}
.filters-panel .price-group { display: grid; grid-template-columns: repeat(2, minmax(80px, 1fr)); grid-column-gap: 12px; }
.filters-panel .price-group label { grid-column: 1 / -1; }
.filters-panel .price-group input { min-width: 0; }
.filters-panel .search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    background: #c3002f;
    color: #fff;
    border: none;
    height: 48px;
    min-width: 160px;
}
.filters-panel .search-btn:hover { background: #9d0026; color: #fff; }
.filters-empty { text-align: center; color: #56637a; padding: 40px 0; width: 100%; }
@media (max-width: 992px) {
    .filters-panel .price-group { grid-column: span 2; }
}
@media (max-width: 576px) {
    .filters-inline { grid-template-columns: repeat(2, 1fr); }
    .filters-panel .price-group { grid-column: span 2; }
}

/* ---- detail: gallery --------------------------------------------------- */
.salon-page .carousel-container {
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
}
.salon-page .main-image { position: relative; height: 400px; background: #eee; }
.salon-page .main-image img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: opacity .3s ease; }
.salon-page .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    background: transparent;
    border: 0;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    user-select: none;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}
.salon-page .nav-btn.left { left: 10px; }
.salon-page .nav-btn.right { right: 10px; }
.salon-page .thumbnails { display: flex; overflow-x: auto; gap: 10px; padding: 10px; background: #111; }
.salon-page .thumbnails img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: border .2s;
}
.salon-page .thumbnails img.active { border-color: #c3002f; }

.salon-page .fullscreen-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.salon-page .fullscreen-modal[hidden] { display: none; }
.salon-page .fullscreen-modal img { max-width: 90vw; max-height: 70vh; margin-bottom: 10px; border-radius: 12px; }
.salon-page .fullscreen-thumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 10px; max-width: 100vw; }
.salon-page .fullscreen-thumbnails img { width: 90px; height: 60px; object-fit: cover; border-radius: 6px; cursor: pointer; }
.salon-page .modal-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}
.salon-page .modal-controls button,
.salon-page .close-btn { color: #fff; background: transparent; border: 0; font-size: 40px; cursor: pointer; }
.salon-page .close-btn { position: absolute; top: 20px; right: 30px; font-size: 30px; }

/* ---- detail: title / price bar ---------------------------------------- */
.salon-page .confero-wrapper-btn {
    margin: 24px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(44, 62, 80, .07);
    width: 90%;
    padding: 24px 40px;
    border-radius: 20px;
    box-shadow: 0 6px 32px 0 rgba(44, 62, 80, .13);
    position: relative;
    gap: 36px;
}
.salon-page .banner-title { font-size: 2.2rem; font-weight: 700; margin: 0 0 5px; letter-spacing: 1px; color: #c3002f; }
.salon-page .banner-mini-text { font-size: 1rem; color: #555; margin-bottom: 4px; }
.salon-page .banner-price,
.salon-page .new-banner-price { font-size: 2rem; font-weight: 700; color: #c3002f; }
.salon-page .price-horizontal-box { display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; }
.salon-page .old-banner-price { text-decoration: line-through; color: #b32020; font-size: 1.2rem; }
.salon-page .discount-badge { background: #ffd700; color: #222; padding: 3px 12px; border-radius: 7px; font-size: 1.1rem; font-weight: 700; }
.salon-page .price-center { margin-left: 10%; }
.salon-page .call-btn {
    background: #c3002f;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.15rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px 0 rgba(44, 62, 80, .13);
    transition: background .2s;
    margin-left: auto;
}
.salon-page .call-btn:hover { background: #9d0026; color: #fff; }
.salon-page .call-btn i { font-size: 1.3rem; }

/* ---- detail: spec list -------------------------------------------------- */
.salon-page .details-wrapper { display: flex; justify-content: space-around; }
.salon-page .details-column { width: 35%; }
.salon-page .details-column ul { list-style: none; padding: 0; margin: 0; }
.salon-page .details-column li {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
}
.salon-page .details-column li:last-child { border-bottom: none; }
.salon-page .details-column strong { color: #333; font-weight: 700; }
.salon-page .details-column span { font-weight: 700; color: #384967; text-align: right; }

.salon-page .salon-description {
    max-width: 900px;
    margin: 48px auto 0;
    color: #333;
    line-height: 1.7;
    font-size: 1rem;
    padding: 0 16px;
    text-align: left;
}
.salon-page .salon-description img { max-width: 100%; height: auto; }

@media (max-width: 1280px) {
    .salon-page .confero-wrapper-btn { gap: 20px; padding: 20px 28px; }
    .salon-page .banner-title { font-size: 1.9rem; }
    .salon-page .price-center { margin-left: 0; flex: 1 1 auto; min-width: 0; }
    .salon-page .banner-price,
    .salon-page .new-banner-price { font-size: 1.7rem; }
    .salon-page .price-horizontal-box { gap: 12px; }
    .salon-page .old-banner-price,
    .salon-page .discount-badge,
    .salon-page .new-banner-price { white-space: nowrap; }
    .salon-page .call-btn { padding: 14px 22px; font-size: 1.02rem; }
}
@media (max-width: 768px) {
    .salon-page .main-image { height: 280px; }
    .salon-page .thumbnails img,
    .salon-page .fullscreen-thumbnails img { width: 70px; height: 50px; }
    .salon-page .salon-description { max-width: 95%; }
}
@media (max-width: 600px) {
    .salon-page .confero-wrapper-btn { flex-direction: column; align-items: center; padding: 20px 10px; gap: 16px; width: 98%; }
    .salon-page .price-center { margin-left: 0; text-align: center; }
    .salon-page .price-horizontal-box { justify-content: center; flex-wrap: wrap; }
    .salon-page .call-btn { width: 100%; justify-content: center; padding: 16px 0; font-size: 1.1rem; }
    .salon-page .details-wrapper { flex-direction: column; }
    .salon-page .details-column { width: 100%; }
}
