/* =========================================================
   GTRIP VEHICLES — MOBILE
   vehicles-mobile.css
   ========================================================= */

@media (max-width:768px){

/* =========================================================
   GLOBAL
========================================================= */

.gtrip-vehicles-page{
    width:100%;
    overflow-x:hidden;
}

.gtrip-vehicles-page .gtrip-container{
    width:100%;
    max-width:none;

    padding-left:16px;
    padding-right:16px;
}


/* =========================================================
   HERO
========================================================= */

.gtrip-vehicles-page .gtrip-page-hero{
    padding:36px 16px 28px;
}

.gtrip-vehicles-page .gtrip-page-hero h1{
    margin:8px 0 10px;

    font-size:28px;
    line-height:1.25;
    letter-spacing:-.4px;
}

.gtrip-vehicles-page .gtrip-page-hero p{
    margin:0;

    font-size:13px;
    line-height:1.6;
}


/* =========================================================
   GENERAL SECTION
========================================================= */

.gtrip-vehicles-page .gtrip-section{
    padding:28px 0;
}

.gtrip-vehicles-page .gtrip-section-title{
    margin-bottom:18px;
}

.gtrip-vehicles-page .gtrip-section-title h2{
    margin:0;

    font-size:22px;
    line-height:1.3;
}

.gtrip-vehicles-page .gtrip-section-title p{
    margin:6px 0 0;

    font-size:13px !important;
    line-height:1.55;
}


/* =========================================================
   COUNTRY TABS — MOBILE
========================================================= */

.vehicle-country-tabs{
    display:flex;

    align-items:center;
    justify-content:flex-start;

    gap:8px;

    width:100%;

    overflow-x:auto;
    overflow-y:hidden;

    flex-wrap:nowrap;

    padding:2px 0 6px;

    scrollbar-width:none;
}

.vehicle-country-tabs::-webkit-scrollbar{
    display:none;
}

.vehicle-country-tab{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    flex:0 0 auto;

    min-height:38px;

    padding:0 13px;

    gap:6px;

    border:1px solid #e5e7eb;
    border-radius:10px;

    background:#ffffff;

    color:#374151;

    font-size:12px;
    font-weight:600;

    line-height:1;

    text-decoration:none;

    white-space:nowrap;
}

.vehicle-country-tab.active{
    background:#f0fdfa;

    border-color:#2ec4b6;

    color:#0f766e;
}

.vehicle-country-tab.coming-soon{
    background:#f9fafb;

    border-color:#e5e7eb;

    color:#9ca3af;

    cursor:default;
}

.vehicle-country-tab small{
    margin-left:2px;

    font-size:9px;
    font-weight:500;

    color:#9ca3af;
}

.vehicle-country-flag{
    display:inline-flex;

    align-items:center;

    font-size:14px;

    line-height:1;
}


/* =========================================================
   VEHICLE CATEGORY GRID — MOBILE
========================================================= */

.vehicle-category-section{
    padding-top:30px;
}

.vehicle-category-grid{
    display:grid;

    grid-template-columns:1fr;

    gap:12px;

    margin-top:20px;

    width:100%;
}


/* =========================================================
   VEHICLE CATEGORY CARD
========================================================= */

.vehicle-category-card{
    display:flex;

    flex-direction:row;

    width:100%;
    min-height:115px;

    background:#ffffff;

    border:1px solid #e5e7eb;
    border-radius:12px;

    overflow:hidden;

    box-shadow:0 2px 8px rgba(15,23,42,.04);
}


/* =========================================================
   IMAGE
========================================================= */

.vehicle-category-image{
    display:block;

    flex:0 0 30%;

    width:30%;
    height:115px;

    background:#ffffff;

    overflow:hidden;
}

.vehicle-category-image img{
    display:block;

    width:100%;
    height:100%;

    object-fit:contain;

    padding:0;
}


/* =========================================================
   CONTENT
========================================================= */

.vehicle-category-content{
    flex:1;

    min-width:0;

    padding:13px 12px;
}

.vehicle-category-content h3{
    margin:0 0 5px;

    font-size:15px;
    line-height:1.3;
    font-weight:700;

    color:#111827;
}

.vehicle-category-subtitle{
    margin:0 0 9px;

    font-size:11px;
    line-height:1.45;

    color:#6b7280;
}


/* =========================================================
   META
========================================================= */

.vehicle-category-meta{
    display:flex;

    align-items:center;

    gap:10px;

    flex-wrap:wrap;

    font-size:14px;
    line-height:1.4;
    font-weight:500;

    color:#475569;
}

.vehicle-category-meta span{
    display:inline-flex;

    align-items:center;

    gap:3px;

    white-space:nowrap;
}


/* =========================================================
   DISABLE DESKTOP HOVER EFFECT ON MOBILE
========================================================= */

.vehicle-category-card:hover{
    transform:none;

    border-color:#e5e7eb;

    box-shadow:0 2px 8px rgba(15,23,42,.04);
}

.vehicle-category-card:hover
.vehicle-category-image img{
    transform:none;
}

/* =========================================================
   VEHICLE DETAIL SECTION
========================================================= */

.vehicle-detail-section{
    padding:28px 0 45px !important;
}

.vehicle-detail-card{
    width:100%;

    border-radius:16px;

    overflow:hidden;

    box-shadow:0 4px 18px rgba(15,23,42,.05);
}


/* =========================================================
   OVERVIEW
========================================================= */

.vehicle-detail-overview{
    display:grid;

    grid-template-columns:1fr;

    gap:16px;

    padding:18px 16px 20px;
}


/* =========================================================
   VEHICLE INFO
========================================================= */

.vehicle-detail-info{
    width:100%;

    min-width:0;
}

.vehicle-detail-info h2{
    margin:0 0 4px;

    font-size:27px;
    line-height:1.2;
    letter-spacing:-.4px;
}

.vehicle-detail-info h3{
    margin:0 0 8px;

    font-size:13px;
    line-height:1.45;
}

.vehicle-detail-description{
    margin:0 0 12px;

    font-size:12px;
    line-height:1.55;
}


/* =========================================================
   SUMMARY
========================================================= */

.vehicle-detail-summary{
    display:flex;

    align-items:center;

    gap:14px;

    margin-top:10px;

    flex-wrap:wrap;
}

.vehicle-detail-summary span{
    display:inline-flex;

    align-items:center;

    gap:4px;

    font-size:12px;
    line-height:1.4;

    white-space:nowrap;
}


/* =========================================================
   SUITABLE FOR
========================================================= */

.vehicle-detail-suitable{
    display:inline-flex;

    align-items:center;

    width:auto;

    margin-top:10px;

    padding:6px 11px;

    border-radius:999px;

    gap:6px;

    background:#e6f7f4;

    border:1px solid #0f766e;

    color:#0f766e;

    font-size:11px;
    line-height:1.4;
}

.vehicle-detail-suitable strong{
    font-size:11px;
}

.vehicle-detail-suitable span{
    font-size:11px;
}


/* =========================================================
   MAIN IMAGE
========================================================= */

.vehicle-detail-main-image{
    width:100%;
    height:190px;

    overflow:hidden;

    border-radius:12px;

    background:#f8fafc;
}

.vehicle-detail-main-image img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
}


/* =========================================================
   THUMBNAILS
========================================================= */

.vehicle-detail-gallery{
    display:flex;

    flex-direction:row;

    gap:7px;

    width:100%;

    overflow-x:auto;

    padding:0 0 2px;

    scrollbar-width:none;
}

.vehicle-detail-gallery::-webkit-scrollbar{
    display:none;
}

.vehicle-detail-gallery-item{
    flex:0 0 64px;

    width:64px;
    height:54px;

    overflow:hidden;

    border:2px solid transparent;

    border-radius:8px;

    background:#f8fafc;
}

.vehicle-detail-gallery-item.active{
    border-color:#2ec4b6;

    box-shadow:0 0 0 1px rgba(46,196,182,.12);
}

.vehicle-detail-gallery-item img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
}


/* =========================================================
   VEHICLE DETAIL TABS — MOBILE
========================================================= */

.vehicle-detail-tabs{
    display:flex;

    align-items:center;
    justify-content:flex-start;

    gap:0;

    width:100%;

    margin-top:0;

    overflow-x:auto;
    overflow-y:hidden;

    flex-wrap:nowrap;

    scrollbar-width:none;

    background:#ffffff;

    border-top:1px solid #e5e7eb;
    border-bottom:1px solid #e5e7eb;
}

.vehicle-detail-tabs::-webkit-scrollbar{
    display:none;
}

.vehicle-detail-tabs a{
    position:relative;

    display:flex;

    align-items:center;
    justify-content:center;

    flex:0 0 auto;

    min-height:46px;

    padding:0 15px;

    color:#374151;

    font-size:11px;
    font-weight:600;

    line-height:1;

    text-decoration:none;

    white-space:nowrap;

    background:#ffffff;
}

.vehicle-detail-tabs a:hover{
    color:#0f766e;

    background:#f8fafc;
}

.vehicle-detail-tabs a.active{
    color:#0f766e;

    background:#ffffff;
}

.vehicle-detail-tabs a.active::after{
    content:"";

    position:absolute;

    left:12px;
    right:12px;
    bottom:-1px;

    height:2px;

    background:#2ec4b6;

    border-radius:2px 2px 0 0;
}

/* =========================================================
   DETAIL PANEL
========================================================= */

.vehicle-detail-panel{
    margin:14px 12px 0;

    border-radius:14px;

    box-shadow:0 2px 12px rgba(15,23,42,.04);
}

.vehicle-detail-panel-header h3{
    margin:0;

    padding:16px 16px 8px;

    font-size:17px;
    line-height:1.3;
}


/* =========================================================
   PANEL IMAGE
========================================================= */

.vehicle-detail-panel-image{
    width:100%;

    overflow:hidden;
}

.vehicle-detail-panel-image img{
    display:block;

    width:100%;
    max-width:100%;

    height:auto;
    max-height:260px;

    object-fit:contain;

    background:#ffffff;
}


/* =========================================================
   SEAT / LUGGAGE TEXT
========================================================= */

.vehicle-detail-panel-text{
    margin:0 !important;

    padding:7px 16px 5px !important;

    font-size:14px !important;
    line-height:1.5 !important;

    color:#111827 !important;
}

.vehicle-detail-panel-description{
    margin:0 !important;

    padding:3px 16px 14px !important;

    font-size:14px !important;
    line-height:1.5 !important;

    color:#111827 !important;
}


/* =========================================================
   PANEL NOTICE
========================================================= */

.vehicle-detail-notice{
    display:flex;

    align-items:flex-start;

    gap:6px;

    margin:0 12px 12px;

    padding:10px 11px;

    border:1px solid #dbeafe;

    border-radius:8px;

    background:#eff6ff;
}

.vehicle-detail-notice > span{
    flex:none;

    font-size:13px;

    line-height:1.5;

    color:#2563eb;
}

.vehicle-detail-notice > div{
    flex:1;

    min-width:0;
}

.vehicle-detail-notice p{
    margin:0;
    padding:0;

    font-size:11px;

    line-height:1.5;

    color:#475569;
}

.vehicle-detail-notice p + p{
    margin-top:4px;
}


/* =========================================================
   VEHICLE INFORMATION
========================================================= */

#vehicle-information{
    margin:14px 12px 0;

    border-radius:14px;

    overflow:hidden;

    box-shadow:0 2px 12px rgba(15,23,42,.04);
}

#vehicle-information h3{
    margin:0;

    padding:16px;

    font-size:17px;
    line-height:1.3;
}

#vehicle-information > div{
    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:0;

    padding:0 12px 12px;
}

#vehicle-information > div > div{
    min-width:0;
    min-height:72px;

    padding:11px;

    display:flex;
    flex-direction:column;

    justify-content:center;

    gap:4px;

    border-top:1px solid #e5e7eb;
}

#vehicle-information > div > div:nth-child(odd){
    border-right:1px solid #e5e7eb;
}

#vehicle-information strong{
    font-size:17px;
    line-height:1;
}

#vehicle-information span:first-of-type{
    font-size:10px;
    line-height:1.3;

    color:#6b7280;
}

#vehicle-information span:last-of-type{
    font-size:12px;
    line-height:1.4;

    color:#111827;
}


/* =========================================================
   GENERAL VEHICLE NOTICE
========================================================= */

.vehicle-general-notice{
    display:flex;

    align-items:flex-start;

    gap:6px;

    width:100%;

    box-sizing:border-box;

    margin:14px 12px 0;

    padding:10px 11px;

    border:1px solid #e5e7eb;

    border-radius:8px;

    background:#f3f4f6;
}

.vehicle-general-notice > span{
    flex:none;

    font-size:13px;

    line-height:1.5;

    color:#2563eb;
}

.vehicle-general-notice > div{
    flex:1;

    min-width:0;
}

.vehicle-general-notice p{
    margin:0;
    padding:0;

    font-size:11px;

    line-height:1.5;

    color:#475569;
}

.vehicle-general-notice p + p{
    margin-top:4px;
}

/* =========================================================
   FOOTER GAP
========================================================= */

.vehicle-detail-section + footer{
    margin-top:0;
}


/* =========================================================
   SAFETY — PREVENT DESKTOP OVERFLOW
========================================================= */

.vehicle-detail-card img,
.vehicle-category-card img{
    max-width:100%;
}

.vehicle-detail-card,
.vehicle-detail-overview,
.vehicle-detail-info,
.vehicle-detail-panel,
.vehicle-category-card{
    min-width:0;
}

}