﻿/*:root {
    --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --color-text: #111;
    --color-muted: #7a7a7a;
    --color-border: #000000;
    --color-soft: #f7f7f7;
    --color-card: #fff;
    --color-accent: #111;
    --color-accent-bg: #e8f2ff;
    --color-accent-soft: #1976d2;
    --color-accent-soft-bg: #e8f2ff;
    --color-body-bg: #fafafa;
    --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-2: 0 16px 40px rgba(0, 0, 0, 0.14);
    --r-s: 10px;
    --r-m: 14px;
    --r-l: 16px;
    --pill: 999px;
    --space-xs: 4px;
    --space-s: 8px;
    --space-m: 16px;
    --space-l: 24px;
    --space-xl: 32px;
    --space-2xl: 40px;
    --space-3xl: 48px;*/
    /* huge */
    /*--space-4xl: 64px;
    --space-5xl: 96px;*/
    /* v3.2.2 fluid rules */
    /*--container: min(1500px, 92vw);
    --pad-page: clamp(14px, 2.2vw, 32px);
    --gap-hero: clamp(16px, 3vw, 32px);
    --h1: clamp(22px, 2.3vw, 30px);
    --h2: clamp(18px, 1.7vw, 20px);
    --h3: clamp(16px, 1.5vw, 18px);
    --p: clamp(13px, 1.05vw, 14px);
    --value: clamp(14px, 1.2vw, 15px);
}*/

*{
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background: var(--color-body-bg);
    color: var(--color-text);
    line-height: 1.45;
    font-size: var(--p);
}

body {
    overflow-x: hidden;
}

/* =============== CONTAINER =============== */
.container {
    width: var(--container);
    margin: 0 auto;
}





/* =============== HEADER =============== */
/*.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e9e9e9;
    backdrop-filter: blur(10px);
}

.site-header-inner {
    width: var(--container);
    margin: 0 auto;
    padding: 10px var(--pad-page);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 650;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 15px;
    font-weight: 560;
    letter-spacing: -0.2px;
}

.site-nav {
    display: flex;
    gap: 18px;
    flex: 1;
    justify-content: center;
}

.site-nav-link {
    font-size: 14px;
    color: #6c6c6c;
    text-decoration: none;
}

    .site-nav-link:hover {
        color: #111;
    }

.site-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.site-header-link {
    font-size: 14px;
    color: #6c6c6c;
    text-decoration: none;
}

    .site-header-link:hover {
        color: #111;
    }

.site-header-cta {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

    .site-header-cta:hover {
        background: #000;
    }

@media (max-width: 900px) {
    .site-nav {
        display: none;
    }
}*/

/* =============== BREADCRUMB (RESTORED) =============== */
.breadcrumb {
    width: var(--container);
    margin: 0 auto;
    padding: 10px var(--pad-page) 0;
    font-size: 13px;
    color: var(--color-muted);
    background-color:var(--color-body-bg);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .breadcrumb a {
        color: var(--color-muted);
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: #111;
        }

    .breadcrumb .sep {
        color: #c1c1c1;
    }

/* =============== HERO GRID (FLUID) =============== */
.hero-grid {
    width: var(--container);
    margin: 18px auto 0;
    padding: 0 var(--pad-page);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: var(--gap-hero);
    align-items: start;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: clamp(14px, 2.4vw, 20px);
        display:block;
    }
}

/* =============== GALLERY =============== */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

.gallery-wrapper {
    position: relative;
}

.main-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--r-m);
    background: #dedede;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 16px;
    position: relative;
    overflow: hidden;
}


.ref-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #111;
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.gallery-hover-actions {
    position: absolute;
    inset: 12px 12px auto auto;
    display: flex;
    gap: 8px;
    align-items: center;
}

.icon-pill {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    user-select: none;
}

    .icon-pill:hover {
        background: #fff;
    }

.image-thumbs {
    display: flex;
    gap: var(--space-s);
    overflow-x: auto;
    padding-bottom: 2px;
}

.image-thumb {
    flex: 0 0 92px;
    aspect-ratio: 4/3;
    background: #e9e9e9;
    border-radius: 10px;
    border: 1px solid #efefef;
}

/* =============== HERO RIGHT CARD =============== */
.hero-right {
    /* position: relative; */
    /* background: var(--color-card); */
    border-radius: var(--r-m);
    padding: clamp(16px, 2.6vw, 22px);
    /* box-shadow: var(--shadow-1); */
}

/* TITLE + STATUS BADGE */

.title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
}

.product-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    /* letter-spacing: -0.3px; */
}

.status-badge {
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border: 1px solid #e7f4ee;
}

.status-instock {
    background: #e9f8f1;
    color: #2c7a62;
}

.status-badge-dot {
    font-size: 10px;
}

.product-meta {
    font-size: 14px;
    color: var(--color-muted);
    margin-top: 6px;
}

.more-info {
    font-size: 14px;
    color: #5a5a5a;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

    .more-info:hover {
        color: #111;
        transform: translateX(2px);
    }

/* =============== PRICE + LEASE =============== */
.price-block {
    margin-top: 16px;
}

.price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 16px;
}

.price-old {
    font-size: 20px;
    color: #c24141;
    text-decoration: line-through;
}

.price-current {
    /* font-size: clamp(26px, 2.8vw, 34px); */
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.price-vat,
.lease-inline {
    font-size: 13px;
    color: var(--color-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

.lease-inline {
    cursor: pointer;
}

    .lease-inline:hover {
        color: #111;
    }

.info-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #cfcfcf;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    cursor: pointer;
}

.tooltip {
    position: absolute;
    left: 50%;
    top: 120%;
    transform: translateX(-50%) translateY(4px);
    background: #111;
    color: #fff;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: normal; /* Changed from nowrap to allow text wrapping */
    max-width: 280px; /* Prevent excessive width; adjust as needed */
    text-align: center; /* Center text for better readability when wrapped */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 10;
}

@media (max-width: 480px) {
    .tooltip {
        max-width: calc( 100vw - 40px ); /* Leave some margin for padding/scrollbars */
    }
}

@media (max-width: 600px) {
    .recent-strip {
        gap: 12px;
    }

    .recent-card {
        flex: 0 0 140px;
        min-width: 140px;
    }
}
/* On small screens: Stack vertically instead of horizontal scroll */
@media (max-width: 980px) {
    .recent-strip {
        flex-direction: column;
        gap: var(--space-s);
        overflow-x: visible; /* No horizontal scroll needed */
        scroll-snap-type: none; /* Disable snapping in vertical mode */
    }

    .recent-card {
        flex: 0 0 auto;
        width: 100%; /* Full width */
        max-width: 300px; /* Optional cap to avoid stretching too wide on phablets */
        margin: 0 auto; /* Center if capped */
    }

    .recent-thumb {
        aspect-ratio: 4/3;
    }
}

/* Improve .recent-right on small screens (optional but recommended for better UX) */
@media (max-width: 480px) {
    .recent-strip {
        gap: 10px;
    }

    .recent-card {
        /* flex: 0 0 130px; */
        min-width: 130px;
        font-size: 11px;
    }

    .recent-title {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .recent-strip {
        gap: 8px;
    }

    .recent-card {
        /* flex: 0 0 110px; */
        min-width: 110px;
    }
}

.info-icon:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.lease-wrapper {
    position: relative;
    margin-top: var(--space-s);
}

.lease-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    padding: var(--space-m);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 30;
    max-width: 520px;
}

.lease-panel-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 var(--space-s);
}

.lease-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-m);
}

@media (max-width: 520px) {
    .lease-grid {
        grid-template-columns: 1fr;
    }
}

.lease-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
}

    .lease-field label {
        color: var(--color-muted);
        font-size: 13px;
    }

    .lease-field input {
        height: 36px;
        border-radius: 8px;
        border: 1px solid var(--color-border);
        padding: 0 10px;
        font-family: var(--font-sans);
        font-size: 14px;
    }

.lease-summary {
    margin-top: var(--space-m);
    font-size: 14px;
}

    .lease-summary span {
        display: block;
        margin-bottom: 4px;
    }

.lease-actions {
    margin-top: var(--space-m);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-m);
}

.lease-buttons {
    display: flex;
    gap: var(--space-s);
    flex-wrap: wrap;
}

.lease-button {
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: #f9f9f9;
    font-size: 13px;
    cursor: pointer;
}

    .lease-button.primary {
        border-color: #111;
        background: #111;
        color: #fff;
    }

.lease-close {
    font-size: 13px;
    color: var(--color-muted);
    cursor: pointer;
}

.lease-contact {
    margin-top: var(--space-m);
    border-top: 1px solid #f0f0f0;
    padding-top: var(--space-m);
    font-size: 13px;
}

.lease-contact-buttons {
    margin-top: var(--space-xs);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s);
}

    .lease-contact-buttons button {
        height: 32px;
        padding: 0 10px;
        border-radius: 999px;
        border: 1px solid var(--color-border);
        background: #fff;
        font-size: 13px;
        cursor: pointer;
    }

/* =============== OFFER + BUY NOW =============== */
.offer-section {
    margin-top: var(--space-xl);
}

.offer-row {
    display: flex;
    gap: var(--space-s);
    align-items: stretch;
    flex-wrap: wrap;
}

.offer-input {
    flex: 1 1 240px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    padding: 0 var(--space-m);
    display: flex;
    align-items: center;
    gap: var(--space-s);
/*    background: #fff;*/
}

    .offer-input span {
        color: var(--color-muted);
        font-size: 15px;
    }

    .offer-input input {
        width: 100%;
        border: none;
        outline: none;
        font-size: 15px;
        font-family: var(--font-sans);
        color: var(--color-text);
        background: var(--color-body-bg);
    }

.offer-btn {
    height: 48px;
    padding: 0 var(--space-xl);
    border-radius: 8px;
    border: none;
    background: var(--color-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.1s ease, filter 0.15s ease;
    flex: 0 0 auto;
}

    .offer-btn:hover {
        background: #000;
        transform: translateY(-1px);
        filter: brightness(0.95);
    }

.instant-reply-row {
    margin-top: var(--space-xs);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-muted);
}




/* =============== BUY NOW =============== */

.buy-now-btn {
    width: 100%;
    height: 52px;
    margin: var(--space-l) 0 var(--space-s);
    border-radius: 12px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 650;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.1s ease, filter 0.15s ease;
}

.buy-now-btn-with-recently-icons {
    margin: var(--space-s) 0 var(--space-s);
}

.buy-now-btn-without-recently-icons {
    margin: var(--space-l) 0 var(--space-l);
}

    .buy-now-btn:hover {
        transform: translateY(-1px);
        filter: brightness(0.95);
    }

/* =============== TRANSPORT =============== */
.transport-wrapper {
    position: relative;
    margin-bottom: var(--space-l);
}

.transport-link {
    font-size: 13px;
    color: var(--color-muted);
    cursor: pointer;
    text-decoration: none;
}

    .transport-link:hover {
        color: var(--color-text);
        text-decoration: underline;
    }

.transport-panel {
    position: absolute;
    left: 0;
    top: 140%;
    width: 100%;
    max-width: 520px;
    padding: var(--space-m);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 20;
    font-size: 14px;
}

    .transport-panel h4 {
        margin: 0 0 var(--space-s);
        font-size: 15px;
    }

    .transport-panel label {
        display: block;
        margin-bottom: 4px;
        color: var(--color-muted);
        font-size: 13px;
    }

    .transport-panel select {
        width: 100%;
        height: 36px;
        border-radius: 10px;
        border: 1px solid var(--color-border);
        padding: 0 10px;
        font-family: var(--font-sans);
        font-size: 14px;
        margin-bottom: var(--space-m);
    }

    .transport-panel input {
        width: 100% ;
        height: 40px;
        margin-bottom: 10px;
        border: 1px solid var(--color-border);
        border-radius: 6px;
        padding: 0 12px;
        font-size: 14px;
    }

.transport-result {
    font-weight: 600;
}

/* =============== CONTACT ICONS =============== */
.contact-row {
   /* border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;*/
    padding: 18px 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-l);
    justify-content: space-between;
    margin-top: var(--space-l);
    
}

@media (min-width: 768px) {
    .contact-row {
        flex-wrap: nowrap;
    }
}

@media (max-width: 767px) {
    .contact-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .product-title {
        font-size: 24px;
    }

    .price-current {
        font-size: 28px;
    }
}

.contact-item {
    flex: 1 1 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    color: var(--color-muted);
    cursor: pointer;
    user-select: none;
}

.contact-icon {
    width: 22px;
    height: 22px;
    border-radius: 8px;
/*    border: 1.2px solid #cfcfcf;*/
    margin-bottom: var(--space-xs);
    background: #fff;
}

.contact-item:hover .contact-icon {
    background: #f3f3f3;
}

.phone-popover {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 6px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    font-size: 13px;
    color: var(--color-text);
    display: none;
    z-index: 40;
    width: max-content;
    max-width: 240px;
}

    .phone-popover strong {
        display: block;
        margin-bottom: 4px;
    }

/* =============== RECENTLY VIEWED =============== */
.recent-right {
    margin-top: var(--space-l);
}

.recent-title {
    font-size: 14px;
    font-weight: 650;
    margin-bottom: var(--space-s);
}

.recent-strip {
    display: flex;
    flex-direction: row;
    gap: var(--space-m);
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
    padding: 0 var(--space-s) var(--space-s) 0;
}

    .recent-strip::-webkit-scrollbar {
        display: none;
    }

.recent-card {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: 12px;
    scroll-snap-align: start;
    min-width: 160px;
}

.recent-strip::before,
.recent-strip::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    /* background: linear-gradient(
          to right,
          rgba(250, 250, 250, 1),
          rgba(250, 250, 250, 0)
        ); */
    pointer-events: none;
    z-index: 1;
}

.recent-strip::before {
    left: 0;
    /* background: linear-gradient(
          to right,
          rgba(250, 250, 250, 1),
          rgba(250, 250, 250, 0)
        ); */
}

.recent-strip::after {
    right: 0;
    /* background: linear-gradient(
          to left,
          rgba(250, 250, 250, 1),
          rgba(250, 250, 250, 0)
        ); */
}

@media (max-width: 980px) and (min-width: 641px) {
    .recent-strip {
        gap: 12px;
    }

    .recent-card {
        flex: 0 0 140px;
        min-width: 140px;
    }
}

@media (max-width: 980px) {
    .recent-strip {
        gap: 0; /* No gap between full-width slides */
        padding: 0; /* Remove padding for full bleed */
    }

    .recent-card {
        flex: 0 0 100%; /* Full width of container */
        min-width: 100%;
        max-width: 100%; /* Prevent overflow */
        font-size: 12px; /* Keep readable */
        margin: 0; /* No extra margins */
    }

    .recent-thumb {
        width: 100%; /* Ensure thumb fills card */
        border-radius: 12px 12px 0 0; /* Optional: Round top for slide feel */
    }
    /* Center content if needed, but not necessary for full-width */
}

.recent-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    background: #e6e6e6;
    border: 1px solid #efefef;
}

/* =============== SPEC PAGE WRAP =============== */
.spec-page-wrap {
    width: var(--container);
    margin: var(--space-xl) auto 0;
    display: flex;
    gap: 40px;
    padding: 0 20px;
}

.other-spec-page-wrap {
    width: var(--container);
    margin: var(--space-xl) auto 0;
    display: flex;
    gap: 40px;
    padding: 0 20px;
}

.spec-content-wrapper,
.other-spec-content-wrap {
    flex: 1;
    min-width: 0; /* Important for flex */
}

/* =============== SPEC SECTIONS =============== */
.spec-block {
    padding: clamp(18px, 4vw, 32px) 0;
    border-top: 1px solid #f0f0f0;
}

    .spec-block:first-of-type {
        border-top: none;
    }

    .spec-block h3 {
        font-size: var(--h3);
        margin: 0 0 var(--space-m);
        letter-spacing: -0.1px;
    }

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    font-size: 14px;
}

@media (max-width: 860px) {
    .spec-grid {
        grid-template-columns: 1fr;
    }
}

.spec-item-label {
    color: var(--color-muted);
    margin-bottom: 2px;
    font-size: 13px;
}

.spec-item-value {
    color: var(--color-text);
    font-size: var(--value);
}

/* FEATURES PILLS (RESTORED) */
/*.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 14px;
    margin-top: var(--space-s);
}

.feature-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: #f1f1f1;
    color: #111;
    font-size: 13px;
}*/
/* Features as clean chips (fixes “weird horizontal text”) */
.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    margin-top: var(--space-m);
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #e6e6e6;
    background: #fff;
    color: #222;
}

    .feature-pill:hover {
        border-color: #d7d7d7;
    }


/* =============== INLINE LOCKS (GENERAL) =============== */
.inline-lock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    font-size: 13px;
    color: var(--color-muted);
    cursor: pointer;
    user-select: none;
}

    .inline-lock:hover {
        color: #111;
        text-decoration: underline;
    }

.lock-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid #e6e6e6;
    background: #fff;
    font-size: 12px;
}

/* =============== DIMENSIONS / CABIN VISUAL (INLINE SVG) =============== */
/*.visual-card {
    margin-top: var(--space-l);
    padding: var(--space-m);
    border-radius: var(--r-m);
    background: #fff;
    border: 1px solid #e7e7e7;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.03);
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-l);
    align-items: center;
}

@media (max-width: 860px) {
    .visual-grid {
        grid-template-columns: 1fr;
    }
}

.visual-text h4 {
    margin: 0 0 6px;
    font-size: 14px;
    letter-spacing: -0.1px;
}

.visual-text p {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
}

.visual-figure {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #efefef;
    background: linear-gradient(180deg, #fbfbfb, #f2f2f2);
    padding: 10px;
}*/




/* Gallery container */
.visual-section-gallery {
    margin-top: var(--space-4xl);
    margin-bottom: var(--space-4xl);
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.03);
    margin-top: 27px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f7f8fb;
    padding: 16px;
}

/* Responsive grid – cards will be uniform */
.visual-grid-dynamic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(266px, 1fr));
/*        grid-template-columns: repeat(auto-fit, minmax(217px, 1fr));*/
    gap: var(--space-xl);
    align-items: start;
}

@media(max-width:857px) {
    .visual-grid-dynamic {
        grid-template-columns: repeat(auto-fit, minmax(217px, 1fr));
    }
}

.visual-single {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 372px;
    border-radius: 10px;
    background: #e5e7eb;
}


@media(max-width:425px){

    .visual-single {
        min-height: 286px;
    }
}
/* Card styling */
.visual-card {
    border-radius: var(--r-m);
    /*    overflow: hidden;*/
    /*    background: var(--color-card);*/
    /*    border: 1px solid var(--color-border);*/
    /*    box-shadow: var(--shadow-1);*/
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}



/* Fixed uniform size for ALL images (SVG + raster) */
.fixed-image-container {
    width: 100%;
    /* height: 321px; */
    max-width: 360px;
    margin: 0 auto;
    /* background: #f8f8f8; */
/*    border-radius: var(--r-m);*/

    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.fixed-size-image {
    width: 100%;
    max-width: 500px;
    height: 100%;
    object-fit: contain;*/ /* Keeps original aspect ratio, no distortion */
    /*object-position: center;
    background: transparent;*/ /* Preserves SVG transparency */
    /*display: block;
    transition: transform 0.3s ease;
}*/

.fixed-size-image {
    width: 100%;
    max-height: 124px;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
    display: block;
    transition: transform 0.3s ease;
}


/* Optional subtle zoom on hover */
/*.visual-card:hover .fixed-size-image {
    transform: scale(1.05);
}*/

/* Caption below image */
.visual-caption {

    padding: var(--space-s) var(--space-m);
    font-size: 13px;
    color: var(--color-muted);
    text-align: center;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.measure-wrapper {
    position: relative;
    /*    padding: 20px;*/
    display: inline-block;
    margin: 36px;
}



/* ----------------------------------
   MEASUREMENT LINES
-----------------------------------*/
.m-line {
    position: absolute;
    background: var(--color-border);
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Top Line */
.m-top {
    top: -27px;
    left: 0%;
    width: 100%;
    height: 1px;
}
/* Bottom Line */
.m-bottom {
    bottom: -44px;
    /* left: 10%; */
    width: 100%;
    height: 1px;
}

/* Left Line */
.m-left {
    left: -16px;
    /* top: 9%; */
    width: 1px;
    height: 100%;
}

/* Right Line */
.m-right {
    right: -20px;
    /* top: 10%; */
    width: 1px;
    height: 100%;
}

/* ----------------------------------
   CORNER TICKS FOR MEASUREMENT LINES (Architectural style)
-----------------------------------*/
/* Horizontal lines (top/bottom) - vertical ticks at ends */
.m-top::before,
.m-top::after,
.m-bottom::before,
.m-bottom::after {
    content: '';
    position: absolute;
    width: 1px; /* tick thickness */
    height: 12px; /* tick length */
    background: var(--color-border);
}

/* Left tick (outward) */
.m-top::before,
.m-bottom::before {
    left: 0;
    transform: translateX(-50%);
}

.m-top::before {
    top: -0px;
}
/* extends upward from top line */
.m-bottom::before {
    bottom: -0px;
}
/* extends downward from bottom line */

/* Right tick (outward) */
.m-top::after,
.m-bottom::after {
    right: 0;
    transform: translateX(50%);
}

.m-top::after {
    top: -0px;
}

.m-bottom::after {
    bottom: -0px;
}

/* Vertical lines (left/right) - horizontal ticks at ends */
.m-left::before,
.m-left::after,
.m-right::before,
.m-right::after {
    content: '';
    position: absolute;
    width: 12px; /* tick length */
    height: 1px; /* tick thickness */
    background: var(--color-border);
}

/* Top tick (outward) */
.m-left::before,
.m-right::before {
    top: 0;
    transform: translateY(-50%);
}

.m-left::before {
    left: 0px;
}

.m-right::before {
    right: 0px;
}

/* Bottom tick (outward) */
.m-left::after,
.m-right::after {
    bottom: 0;
    transform: translateY(50%);
}

.m-left::after {
    left: 0px;
}

.m-right::after {
    right: 0px;
}



/* ----------------------------------
   LABEL STYLING
-----------------------------------*/
.label {
    /* background: #fff; */
    color: #111;
    font-size: 10px;
    padding: 3px 8px;
    /* border-radius: 20px; */
    /* border: 1px solid #ccc; */
    white-space: nowrap;
}

/* Horizontal label positioning */
.m-top .label {
    position: absolute;
    top: -26px;
}

.m-bottom .label {
    position: absolute;
    top: 4px;
}

/* Vertical (Rotated Height labels) */
.label-vertical {
    position: absolute;
    top: 50%;
    transform-origin: center;
    white-space: nowrap;
}

/* Vertical positioning */
.m-left .label {
    position: absolute;
    top: 50%;
    transform-origin: center;
    white-space: nowrap;
    left: -34px;
    transform: translate(-59%, -50%) rotate(0deg);
}

@media(max-width:){

}


.m-right .label {
    position: absolute;
    top: 50%;
    transform-origin: center;
    white-space: nowrap;
    right: -43px;
    transform: translate(55%, -50%) rotate(0deg);
}

@media(max-width:750px){
    .m-displayName {
        display:none;
    }

    .m-left .label {
        left: -23px;
        
    }
}


@media (max-width:750px) {
    .lable-caption {
        display: none;
    }

    .m-right .label {
        right: -27px;
    }
}




/* ----------------------------------
   NEW SHORTER INNER BOTTOM LINE
-----------------------------------*/
.m-bottom-upper {
    position: absolute;
    bottom: -18px;
    left: 16%;
    width: 73%;
    height: 1px;
    background: var(--color-border);
    display: flex;
/*    justify-content: space-between;*/
    align-items: center;
}
/* The actual flex container holding the labels */
.m-bottom-upper {
    display: flex;
    justify-content: space-between; /* simplest for 3 equal-ish items */
    align-items: center;
}

    /* Override the label padding that's breaking widths */
    .m-bottom-upper .label.item {
        padding: 0;
        flex: 1;
        text-align: center;
    }

        /* 3-item specific widths */
        .m-bottom-upper .label.item:first-child {
            width: 120px;
            flex: 0 0 120px;
        }

        .m-bottom-upper .label.item:nth-child(2) {
            width: 140px;
            flex: 0 0 140px;
        }

        .m-bottom-upper .label.item:last-child {
            flex: 1;
            text-align: center;
        }

    /* Ticks for the new inner bottom line (same style as others) */
    .m-bottom-upper::before,
    .m-bottom-upper::after {
        content: '';
        position: absolute;
        width: 1px;
        height: 12px;
        background: var(--color-border);
    }

    .m-bottom-upper::before {
        left: 0;
        transform: translateX(-50%);
        bottom: -0px; /* extends downward */
    }

    .m-bottom-upper::after {
        right: 0;
        transform: translateX(50%);
        bottom: -0px; /* extends downward */
    }

    /* Labels on the new inner line – placed via flex children */
    .m-bottom-upper .label {
        position: static;
        transform: none;
        background: transparent;
        padding: 0px 6px;
        margin-bottom: 17px;
    }
    .m-bottom-upper .label-below {
        position: absolute;
        left: 50%;
        bottom: -43px; /* Adjust this value to move it farther down if needed */
        transform: translateX(-50%);
        padding: 3px 8px;
        white-space: nowrap;
    }





.lable-bottom-upper-left {
    border-left:1px solid var(--color-border);
    min-width: 35px;
}
.lable-bottom-upper-right {
    border-right: 1px solid var(--color-border);
    min-width: 30%;
}
/*.m-bottom-upper::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -9px;
    width: 0.5px;
    height: 10px;
    background: #111;
}*/


.label-below::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 17px;
    width: 0.5px;
    height: 10px;
    background: var(--color-border);
}

.m-bottom .label::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
    width: 0.5px;
    height: 8px;
    background: var(--color-border);
}



.m-right .label::before {
    content: '';
    position: absolute;
    left: -3%;
    transform: translateX(-50%) rotate(90deg);
    bottom: 5px;
    width: 0.5px;
    height: 10px;
    background: var(--color-border);
}

.m-left .label::before {
    content: '';
    position: absolute;
    left: 98%;
    transform: translateX(-50%) rotate(90deg);
    bottom: 4px;
    width: 0.5px;
    height: 10px;
    background: var(--color-border);
}

.m-top .label::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 0.5px;
    height: 10px;
    background: var(--color-border);
}






/* ----------------------------------
 PRODUCT SECTION IMAGES CLASS STYLING 
-----------------------------------*/

/* SIZE & WEIGHT */
.size-weight-front-img,
.size-weight-side-img,
.size-weight-rear-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ps-img-with-data {
    max-height: 300px
}


.size-weight-front-img .m-bottom-upper,
.size-weight-rear-img .m-bottom-upper {
    width: 66%;
}

/* Body */

.body-img .m-bottom-upper {
    width: 100%;
    left: 0%;
}







/* =============== DOCUMENTS (LOCKS NOT DISTANT) =============== */
.doc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
}

.doc-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.doc-checkbox {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid #cfe4d8;
    background: #e9f8f1;
    flex: 0 0 auto;
}

.doc-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #e6e6e6;
    background: #fff;
    cursor: pointer;
    color: var(--color-muted);
    font-size: 13px;
    flex: 0 0 auto;
    user-select: none;
}

    .doc-action:hover {
        color: #111;
        border-color: #d7d7d7;
    }

    .doc-action .mini-lock {
        width: 18px;
        height: 18px;
        border-radius: 999px;
        border: 1px solid #e3e3e3;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
    }

/* =============== DESCRIPTION + VIDEO =============== */
.description-section h2 {
    font-size: var(--h2);
    margin: 0 0 var(--space-m);
}

.description-body {
    font-size: 14px;
    color: var(--color-muted);
    max-width: 820px;
}

.video-preview {
    margin-top: var(--space-m);
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16/9;
    border-radius: var(--r-m);
    background: #e4e4e4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    position: relative;
    border: 1px solid #efefef;
    overflow: hidden;
}

.video-play-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* =============== QUESTIONS =============== */
.questions-section {
    padding: clamp(18px, 4vw, 32px) 0;
    border-top: 1px solid #f0f0f0;
}

    .questions-section h3 {
        font-size: var(--h3);
        margin: 0 0 var(--space-m);
    }

.question-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.question-chip {
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid #e2e2e2;
    font-size: 13px;
    cursor: pointer;
    background: #fff;
}

    .question-chip:hover {
        border-color: #c9c9c9;
    }

/* =============== DISCOVERY (CLEAN ANTI-CLUTTER) =============== */
.cards-section {
    padding: clamp(18px, 4vw, 32px) 0;
    border-top: 1px solid #f0f0f0;
}

.cards-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: var(--space-m);
    flex-direction: column;
}

    .cards-header a {
        font-size: 13px;
        color: var(--color-muted);
        text-decoration: none;
    }

    .cards-header h3 {
        font-size: var(--h3);
        margin: 0;
    }

.pill-tabs-wraper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 11px;

}

.cards-sub {
    font-size: 13px;
    color: var(--color-muted);
}

.pill-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid #ececec;
    background: #fff;
}

@media (max-width: 768px) {
    .cards-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

.pill-tab {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    color: var(--color-muted);
    user-select: none;
    display: flex;
    align-items: center;
}

    .pill-tab.active {
        background: var(--color-accent-bg);
        color: #111;
        display: flex;
        align-items: center;
    }

.cards-strip {
    display: flex;
    gap: var(--space-m);
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.small-card {
    min-width: 210px;
    max-width: 230px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #f0f0f0;
    padding: 10px;
    font-size: 13px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.02);
    position: relative; /* ← THIS IS THE KEY FIX */
    overflow: hidden;
}

.small-card-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    background: #e5e5e5;
    margin-bottom: 8px;
    border: 1px solid #efefef;
}

.small-card-title {
    font-weight: 650;
    letter-spacing: -0.1px;
}

.small-card-price {
    margin-top: 2px;
}

.small-card-meta {
    font-size: 12px;
    color: var(--color-muted);
    margin-top: 2px;
}

/* Coming Soon Tag - fits your clean theme */
.coming-soon-tag {
    position: absolute;
    top: 15px;
    right: 17px;
    background: #fffbe6;
    color: #d97706;
    font-size: 8px;
    font-weight: 650;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #fde68a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

/* Optional hover effect (subtle lift) */
.small-card:hover .coming-soon-tag {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* “rest the eyes” between image-heavy areas */
.rest-block {
    margin-top: 18px;
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #ededed;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.02);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
    align-items: center;
}

@media (max-width: 860px) {
    .rest-block {
        grid-template-columns: 1fr;
    }
}

.rest-block h4 {
    margin: 0 0 6px;
    font-size: 14px;
}

.rest-block p {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
}

.rest-bullets {
    margin: 0;
    padding-left: 18px;
    color: var(--color-muted);
    font-size: 13px;
}

    .rest-bullets li {
        margin: 4px 0;
    }

.rest-cta {
    justify-self: end;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 860px) {
    .rest-cta {
        justify-self: start;
    }
}

.btn-soft {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #e2e2e2;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
}

    .btn-soft.primary {
        border-color: transparent;
        background: #111;
        color: #fff;
    }

/* related items segmented (so only 1 strip shows) */
.related-note {
    font-size: 13px;
    color: var(--color-muted);
    margin-top: 2px;
}

.hidden {
    display: none !important;
}

/* =============== TESTIMONIALS =============== */
.testimonial-strip {
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    /*    gap: var(--space-m)*/
    padding-bottom: 4px;
    min-height: 110px;
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text);
    margin: 0;
    padding: 0;
}
.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: flex;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #ddd;
    flex-shrink: 0;
}

.testimonial-stars {
    font-size: 13px;
    margin-bottom: 4px;
}

.testimonial-meta {
    font-size: 12px;
    color: var(--color-muted);
    margin-top: 4px;
}

.testimonial-dots {
    display: flex;
    gap: 6px;
    margin-top: var(--space-s);
}

.testimonial-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #d0d0d0;
    cursor: pointer;
}

    .testimonial-dot.active {
        background: var(--color-accent);
    }

/* =============== TRUST / SERVICES =============== */
.trust-section {
    padding: clamp(18px, 4vw, 32px) 0;
    border-top: 1px solid #f0f0f0;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    font-size: 14px;
}

@media (max-width: 900px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

.trust-list {
    margin: 0;
    padding-left: 18px;
    color: var(--color-muted);
}

    .trust-list li {
        margin: 6px 0;
    }

.trust-highlight {
    font-weight: 650;
    margin-bottom: var(--space-s);
}

.services-visual {
    margin-top: var(--space-l);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-m);
}

@media (max-width: 800px) {
    .services-visual {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.service-photo {
    aspect-ratio: 4/3;
    border-radius: 12px;
    background: #e1e1e1;
    border: 1px solid #efefef;
}

/* =============== COMPANY INFO =============== */

/* =============== COMPANY INFO =============== */

.company-info {
    max-width: var(--container);
    margin: var(--space-xl) auto 0;
    border-top: 1px solid #f0f0f0;
    padding: var(--space-xl) var(--pad-page) 0; /* Use fluid --pad-page for responsiveness (original was clamp) */
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    font-size: 14px;
}

@media (max-width: 900px) {
    .company-info {
        grid-template-columns: 1fr;
    }
}

.company-box-title {
    font-weight: 650;
}
/*
.map-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    background: #e6e6e6;
    border: 1px solid #efefef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 13px;
    z-index:-1 !important  ;
    margin-top:12px;
}*/
.map-placeholder {
    width: 100%;
    height: 400px; /* or 500px, 60vh, etc. — pick a concrete value */
    /* Remove or keep aspect-ratio, but height takes priority */
    /* aspect-ratio: 16/9; */
    border-radius: 12px;
    background: #e6e6e6;
    border: 1px solid #efefef;
    margin-top: 12px;
/*    z-index: -1 !important;*/
}

.opening-hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--space-s);
}

    .opening-hours-table td {
        padding: 4px 0;
        color: var(--color-muted);
    }

/* New: Location Switch */
.location-switch {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.location-chip {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #e6e6e6;
    background: #fff;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

    .location-chip.active {
        background: var(--color-accent-bg); /* Fixed: Use existing --color-accent-bg (#e8f2ff) */
        border-color: #cfe4ff;
        color: #111;
    }


/* =============== MODALS =============== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 80;
    padding: 18px;
}

#contactOverlay .modal {
    width: 100%;
    max-width: 520px;
    border-radius: 16px;
    background: #fff;
    padding: var(--space-l);
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

    #contactOverlay .modal .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--space-m);
    }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-m);
}

.modal-title {
    font-size: 18px;
    font-weight: 650;
}

.modal-close {
    font-size: 18px;
    cursor: pointer;
    color: var(--color-muted);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
}

.form-row {
    display: flex;
    gap: var(--space-m);
}

.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}

.form-label {
    color: var(--color-muted);
    font-size: 13px;
}

.form-input,
.form-select,
.form-textarea {
    border-radius: 10px;
    border: 1px solid var(--color-border);
    padding: 10px 10px;
    font-family: var(--font-sans);
    font-size: 14px;
}

.form-textarea {
    min-height: 90px;
    resize: vertical;
}

.input-error {
    color: #c24141;
    font-size: 12px;
    margin-top: 2px;
    display: none;
}

.modal-footer {
    margin-top: var(--space-m);
    display: flex;
    justify-content: flex-end;
}

.modal-submit {
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}

@media (max-width: 720px) {
    .form-row {
        flex-direction: column;
    }
}

/* ACCESS MODAL */





/* ACCESS MODAL (Doc/VIN: login or request) */

.access-modal .modal {
    max-width: 420px;
}

.access-options {
    margin-top: var(--space-m);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-s);
}

.access-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.22);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
}

    .access-modal-overlay.show {
        display: flex !important;
    }

.access-modal-content {
    max-width: 420px;
    width: 100%;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

    .access-modal-content .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--space-m);
    }


.btn-secondary,
.btn-primary {
    padding: 9px 16px;
/*    border-radius: 999px;*/
    font-size: 14px;
    cursor: pointer;
    border: 1px solid var(--color-border);
/*    background: #fff;*/
}


.btn-secondary:hover {
    color: #fff;
    background-color: #5c636a;
    border-color: #565e64
} 



.btn-primary {
    border-color: #111;
    background: #111;
    color: #fff;
}

.btn-primary:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}

.my-btn-secondary,
.my-btn-primary {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid var(--color-border);
    background: #fff;
}

.my-btn-primary {
    border-color: #111;
    background: #111;
    color: #fff;
}

/* =============== FLOATING BUTTONS =============== */
.floating-buttons {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 55;
}

.float-btn {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: none;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* =============== SECTIONS MENU TRIGGER + DRAWER =============== */
.section-menu-trigger {
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    background: #fff;
    color: #111;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    display: none; /* v3.2.2: show only from General */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 54;
    font-size: 18px;
}

@media (max-width: 900px) {
    .section-menu-trigger {
        display: none !important;
    }
}

.section-menu-drawer {
    position: sticky;
    top: 75px;
    align-self: flex-start;
    width: 220px;
    max-width: 60vw;
    flex-shrink: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    border: 1px solid #e3e3e3;
    padding: 14px 12px;
    font-size: 13px;
    z-index: 10;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
/*    min-height: calc(100vh - 180px);*/
}

.section-menu-header {
    font-weight: 500;
    font-size: 12px;
    /*    text-transform: uppercase;*/
    /*    letter-spacing: 0.8px;*/
    color: var(--color-muted);
    padding: 0 4px 4px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
}

.section-menu-links {
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.section-menu-link {
    padding: 6px 8px;
    position: relative;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
    /* overflow: hidden; */
}

    .section-menu-link::before {
        content: "";
        width: 2px;
        height: 16px;
        border-radius: 999px;
        background: transparent;
    }

    .section-menu-link:hover {
        background: #fafafa;
    }

    .section-menu-link.active::before {
        background: var(--color-accent-soft);
    }

    .section-menu-link.active {
        background: var(--color-accent-soft-bg);
        color: var(--color-text);
    }

@media (max-width: 992px) {
    .spec-page-wrap {
        flex-direction: column;
        margin-top: 0;
    }

    .section-menu-drawer {
        /* order: -1; */
        position: static;
        /* width: 100%; */
        max-height: none;
        box-shadow: none;
        /* border: none; */
        border-radius: 12px;
        /* background: #f9f9f9; */
        margin-bottom: 20px;
    }
    .hero-right {
        padding-bottom: 0;
    }
}

/* General scrollbar styling */
.section-menu-drawer::-webkit-scrollbar,
.section-menu-links::-webkit-scrollbar {
    width: 6px; /* Vertical thickness */
    height: 6px; /* Horizontal thickness */
}

.section-menu-drawer::-webkit-scrollbar-thumb,
.section-menu-links::-webkit-scrollbar-thumb {
    background: #ccc; /* Thumb color */
    border-radius: 999px;
}

.section-menu-drawer::-webkit-scrollbar-track,
.section-menu-links::-webkit-scrollbar-track {
    background: #f0f0f0; /* Track color */
}

/* Firefox */
.section-menu-drawer,
.section-menu-links {
    scrollbar-width: thin; /* thin | auto | none */
    scrollbar-color: #ccc #f0f0f0; /* thumb track */
}



@media (max-width: 992px) {
    #sectionMenuDrawer {
        opacity: 0;
        visibility: hidden;
        transform: translateY(100%);
        transition: opacity 0.3s ease, transform 0.3s ease;
        /* min-height: calc(100vh - 180px); */
    }

        #sectionMenuDrawer.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
}

/* @media (max-width: 900px) {
        .section-menu-drawer {
          display: none; 
        }
      } */

@media (max-width: 992px) {
    .section-menu-drawer {
        flex-direction: column; /* Overall column for header + links */
        position: fixed; /* Fixed for mobile (to position above sticky bar) */
        bottom: 80px; /* Above sticky bar (adjust based on sticky-bar height) */
        left: 0;
        right: 0;
        top: auto; /* Not sticky from top on mobile */
        width: 100%;
        max-width: 100%;
        max-height: 60px; /* Compact height */
        border-radius: 14px 14px 0 0; /* Round top only */
        padding: 8px 12px; /* Smaller padding */
        box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1); /* Shadow from bottom */
        z-index: 50; /* Above content but below modals */
        bottom: 111px;
        min-height: 51px;
    }

    .section-menu-header {
        display: none; /* Hide header on mobile for space */
    }

    .section-menu-links {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        white-space: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
        .section-menu-links::-webkit-scrollbar {
            display: none;
        }

        .section-menu-link {
            padding: 4px 10px; /* Compact padding */
            font-size: 12px; /* Smaller text */
            border-radius: 999px; /* Pill shape for tabs */
            background: #f0f0f0; /* Light bg for tabs */
        }

        .section-menu-link.active {
            background: var(--color-accent-soft-bg); /* Highlight active */
            color: var(--color-accent-soft);
        }

        .section-menu-link::before {
            display: none; /* Remove indicator on mobile */
        }
}



/* Ensure sticky-bar z-index is below drawer if needed */
.sticky-bar {
    z-index: 34; /* Keep as is */
}

.section-menu-link:hover {
    background: #fafafa;
}

.section-menu-close {
    margin-top: auto;
    font-size: 12px;
    color: var(--color-muted);
    text-align: right;
    cursor: pointer;
    padding-top: 8px;
    border-top: 1px solid #f3f3f3;
}

/* =============== STICKY CTA BAR =============== */
/* STICKY BOTTOM BAR */

.sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(100%);
    transition: transform 0.18s ease-out;
    z-index: 34;
}

    .sticky-bar.visible {
        transform: translateY(0);
    }

.sticky-bar-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.sticky-thumb {
    width: 56px;
    height: 40px;
    border-radius: 8px;
    background: #e2e2e2;
    flex-shrink: 0;
}

.sticky-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
}

.sticky-title {
    font-weight: 500;
}

.sticky-ref {
    color: var(--color-muted);
}

.sticky-price {
    font-weight: 600;
    font-size: 14px;
}

.sticky-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sticky-btn {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: #fff;
    font-size: 13px;
    cursor: pointer;
}

    .sticky-btn.primary {
        border-color: #111;
        background: #111;
        color: #fff;
    }

.sticky-toggle {
    margin-left: 8px;
    font-size: 16px;
    cursor: pointer;
    color: var(--color-muted);
}

@media (max-width: 1080px) {
    .sticky-bar-inner {
        padding: 8px 12px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .sticky-thumb {
        flex: 0 0 78px;
        height: 68px;
        width: 50px;
        background: aliceblue;
    }

    .sticky-info {
        flex: 1 1 auto;
        min-width: 0; /* prevents overflow */
    }

    .sticky-actions {
        flex: 0 0 100%;
        display: flex;
        gap: 8px;
        margin-top: 4px;
    }
}

/* =============== LEASE OPEN STATE =============== */
.lease-open .hide-when-lease {
    display: none !important;
}

/* =============== SMALL FIXES =============== */
a {
    color: inherit;
}




/* =============================================================
   Main Product image 
  =============================================================*/

#main-slider:hover .product-overlay {
    opacity: 1;
}

#main-slider .splide__slide img {
    border-radius: 16px !important;
}

#main-slider:hover .splide__arrows {
    opacity: 1;
    pointer-events: auto;
}

/* Small screens: show overlay always or on touch */


.product-overlay {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    color: white;
    font-size: 20px;
    padding: 8px;
    text-align: center;
    border-radius: 0px 0px 16px 16px;
    font-family: var(--font-sans);
}

.product-overlay-icons {
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 5px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    #main-slider .product-overlay {
        opacity: 1; /* Always visible on small screens */
    }

    .product-overlay-icons {
        font-size: 0.8rem;
    }
}


@media (min-width: 768px) { /* Adjust 768px based on the size of your desktop breakpoint */
    .product-main-image {
        height: 700px !important;
    }
}

.product-main-image {
    height: auto;
}


.line-bg-color {
/*    background-color: #f5f5f5;*/
}

/*Main image like icon */
.like-icon.unliked {
    color: white;
}

.like-icon.liked {
    color: red;
}

.like-icon {
    cursor: pointer;
}





.ref-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #111;
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    z-index: 1;
}




/* =============================================================
   Share product link model
  =============================================================*/

.icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.share-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

    .share-icon:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        opacity: 1;
    }

.platform-label {
    font-size: 0.75rem; /* Small text for platform name */
    color: #6c757d;
    font-weight: 500;
}

/* Individual Platform Colors */
.facebook-icon {
    background-color: #1877F2;
}

.twitter-icon {
    background-color: #1DA1F2;
}

.instagram-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.whatsapp-icon {
    background-color: #25D366;
}

.telegram-icon {
    background-color: #0088CC;
}

/* --- Copy Link Styling --- */

.copy-link-input-group-text {
    background-color: #f8f9fa; 
    border-color: #dee2e6;
    color: #495057;
    border-radius: 6px 0 0 6px;
}

.copy-link-input {
    border-color: #dee2e6;
    border-radius: 0;
    box-shadow: none !important;
    color: #495057;
    font-size: 0.9rem;
    padding-right: 10px;
    height: 39px;
    
}

/* The specified custom color #0078D4 for the Copy button */
.copy-btn {
    background-color: #0078D4;
    border-color: #0078D4;
    color: white;
    font-weight: 600;
    border-radius: 0 6px 6px 0;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    height: 38px;
}

    .copy-btn:hover {
        background-color: #005a9c;
        border-color: #005a9c;
    }

.btn-close {
    box-shadow: none !important;
    background-color: transparent !important;
    border: none !important;
    color: grey !important;
}

.share-model-icon-container {
    gap: 20px;
    max-width: 400px;
}


.input-group .copy-btn {
    display: flex;
    align-items: center;
    height: 100%;
}


.copy-link-input-group {
    display: flex;
    min-height: 32px;
}
/* Core fixes for Swiper + cards */
/*.mySwiper3 {
    padding: 0 8px;
    margin: 0 -8px;
}

    .mySwiper3 .swiper-slide {
        width: auto !important;*/ /* Prevents huge width bug */
/*flex-shrink: 0;
        height: auto;
    }

.rv-card {
    height: auto !important;*/ /* No fixed height */
/*max-height: none !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.rv-img-wrapper {
    height: 140px;
    overflow: hidden;
    background: #f8f9fa;
}

.rv-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}*/
/* Hide arrows on mobile (optional – improves UX) */
/*@media (max-width: 767px) {
    .rv-nav {
        display: none;
    }
}*/
/* === IMAGE WRAPPER – RESPONSIVE BUT CAPPED === */
/*.rv-card {
    height: 360px !important;
    max-height: 260px !important;
    display: flex;
    flex-direction: column;
    transition: transform .2s;
    margin-bottom: 5px;*/
/*    border-bottom: 3px solid rgba(200, 200, 200, 0.7) !important;*/
/*}*/
/*    .rv-card:hover {
        transform: translateY(-4px);
    }*/
/* Image wrapper */
.rv-img-wrapper {
    height: 6.6rem;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 10px;
}

.rv-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content takes remaining space */

.rv-card .card-body {
    max-height: 82px;
    min-height: 70px !important;
    padding: 0.2rem 0rem 0 0rem;
    display: flex;
    flex-direction: column;
    /*    justify-content: space-between;*/
    overflow: visible !important;
    background: var(--color-body-bg);
}

/*    .rv-card .card-body .d-flex {
        margin-top: 0.25rem;
    }*/
/* Optional: tighter text */
.rv-card .card-title {
    font-size: 0.85rem !important;
}

.rv-card .card-text {
    font-size: 0.75rem !important;
    margin-bottom: 0.25rem;
}

/* RESPONSIVE HEIGHT */
@media (max-width: 576px) {
    .rv-card {
/*        height: 220px !important;*/
        max-height: 220px !important;
    }

    .rv-img-wrapper {
        height: 110px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .rv-card {
        height: 240px !important;
        max-height: 240px !important;
    }

    .rv-img-wrapper {
        height: 130px;
    }
}
/* STOP SWIPER FROM BREAKING HEIGHT */
/*.mySwiper2 .swiper-slide

{
    height: auto !important;
}*/
/* === NAVIGATION (optional polish) === */
.rv-nav {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    top: 50%;
    margin-top: -14px;
    opacity: .7;
}

    .rv-nav:hover {
        opacity: 1;
    }

    .rv-nav::after {
        font-size: 12px;
        color: #333;
    }



@media (max-width: 576px) {
    .rv-card .card-body {
        min-height: 60px !important;
    }
}

@media (min-width: 577px) {
    .rv-card .card-body {
        min-height: 70px !important;
    }
}








.city-suggestions-box {
    position: absolute;
    z-index: 1000;
}

    .city-suggestions-box ul {
        max-height: 200px; /* tune this → 5 items ≈ 200-220px depending on padding/font */
        overflow-y: auto;
        scrollbar-width: thin;
    }

        .city-suggestions-box ul::-webkit-scrollbar {
            width: 6px;
        }

        .city-suggestions-box ul::-webkit-scrollbar-thumb {
            background: #aaa;
            border-radius: 3px; 
        }

    .city-suggestions-box li:hover {
        background: #e6f3ff !important;
    }




.transport-field 
{
    margin-bottom: 10px;
    font-size: 14px;
}

