/* ==========================================================================
   ALFA TECH INDIA - PREMIUM PRODUCT DETAIL & SLIDING CATEGORY SHOWCASE
   Inspired by DeLaval, GEA & User Reference Specifications
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   CLEAN BREADCRUMB BAR
   ========================================== */
.simple-breadcrumb-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
    font-size: 0.86rem;
}

.simple-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.simple-breadcrumb-list a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.simple-breadcrumb-list a:hover {
    color: #353598;
}

.simple-breadcrumb-list .sep {
    color: #cbd5e1;
    font-size: 0.75rem;
}

.simple-breadcrumb-list .active-page {
    color: #0f172a;
    font-weight: 600;
}

/* ==========================================
   MAIN PRODUCT DETAIL SECTION (MATCHING REFERENCE)
   ========================================== */
.product-detail-section {
    padding: 48px 0 65px 0;
    background: #ffffff;
}

/* Left Gallery Card */
.gallery-showcase-box {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
    padding: 35px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 440px;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.gallery-showcase-box:hover {
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

@media (max-width: 576px) {
    .gallery-showcase-box {
        min-height: 290px;
        padding: 20px 15px;
    }
}

.main-product-img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.07));
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Thumbnails Row */
.product-thumbs-track {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-thumb-item {
    width: 76px;
    height: 76px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 6px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    object-fit: contain;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.product-thumb-item:hover {
    border-color: #353598;
    transform: translateY(-2px);
}

.product-thumb-item.active {
    border-color: #353598 !important;
    box-shadow: 0 0 0 3px rgba(53, 53, 152, 0.18) !important;
}

/* Right Column Content */
.product-category-pill {
    display: inline-block;
    color: #353598;
    background: #eef2ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.product-title-display {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.22;
    margin-bottom: 22px;
    letter-spacing: -0.4px;
}

@media (max-width: 768px) {
    .product-title-display {
        font-size: 1.7rem;
    }
}

/* Checkmarked Specification List (Matching Reference Image) */
.product-specs-clean {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 22px;
}

.spec-clean-row {
    display: flex;
    align-items: baseline;
    font-size: 0.96rem;
    line-height: 1.5;
}

.spec-clean-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 255px;
    font-weight: 700;
    color: #1e293b;
    flex-shrink: 0;
}

.spec-clean-icon {
    color: #353598;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.spec-clean-val {
    color: #475569;
    font-weight: 500;
}

@media (max-width: 576px) {
    .spec-clean-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
    .spec-clean-label {
        min-width: unset;
    }
}

/* Subtle Divider */
.specs-detail-divider {
    border-top: 1px solid #e2e8f0;
    margin: 22px 0 20px 0;
}

/* Description */
.product-desc-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 26px;
}

/* Action Buttons Group */
.product-cta-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary-quote {
    background: #353598;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.94rem;
    padding: 13px 26px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(53, 53, 152, 0.25);
}

.btn-primary-quote:hover {
    background: #272775;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(53, 53, 152, 0.35);
}

.btn-whatsapp-inquiry {
    background: #25d366;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.94rem;
    padding: 13px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-inquiry:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-models-scroll {
    background: #ffffff;
    color: #1e293b !important;
    border: 1.5px solid #cbd5e1;
    font-weight: 600;
    font-size: 0.94rem;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-models-scroll:hover {
    border-color: #353598;
    color: #353598 !important;
    background: #f8fafc;
    transform: translateY(-2px);
}

/* ==========================================================================
   SLIDING CATEGORY SHOWCASE CAROUSEL (MATCHING EXACT USER REFERENCE)
   ========================================================================== */
.models-slider-section {
    padding: 70px 0 95px 0;
    background: #f8fafc;
    border-top: 1px solid #e9ecef;
    overflow: hidden;
}

.slider-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
}

.slider-section-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: #353598;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 6px;
}

.slider-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.slider-section-sub {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.slider-nav-arrows {
    display: flex;
    gap: 10px;
}

.slider-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.slider-nav-btn:hover {
    background: #353598;
    color: #ffffff;
    border-color: #353598;
    transform: translateY(-2px);
}

/* Horizontal Track */
.slider-track-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 4px 25px 4px;
    cursor: grab;
}

.slider-track-container::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
    gap: 22px;
    width: max-content;
}

/* The Sliding Card (Exact User Reference) */
.model-slide-card {
    flex: 0 0 310px;
    width: 310px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    user-select: none;
}

.model-slide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e1;
}

.model-slide-card.is-active {
    border: 2px solid #353598;
    box-shadow: 0 12px 30px rgba(53, 53, 152, 0.18);
}

.model-active-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #353598;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(53, 53, 152, 0.3);
}

.model-card-image-wrap {
    height: 200px;
    width: 100%;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
}

.model-card-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.model-slide-card:hover .model-card-image-wrap img {
    transform: scale(1.06);
}

/* Card Bottom Footer: Dark Brown Bar + White Angled Cutout + Rust Red Arrow */
.model-card-footer {
    height: 60px;
    display: flex;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.model-footer-dark {
    flex: 1;
    background: #382a20;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 16px 0 18px;
    clip-path: polygon(0 0, calc(100% - 18px) 0, calc(100% - 46px) 100%, 0 100%);
    z-index: 2;
}

.model-card-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.model-footer-arrow-wrap {
    width: 60px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -18px;
    z-index: 1;
}

.model-footer-arrow {
    color: #9e3f1b;
    font-size: 1.35rem;
    font-weight: 800;
    transition: transform 0.25s ease;
    display: inline-block;
}

.model-slide-card:hover .model-footer-arrow {
    transform: translateX(4px);
}

/* Fade Transitions */
.detail-fade-out {
    opacity: 0.35;
    transition: opacity 0.15s ease;
}

.detail-fade-in {
    opacity: 1;
    transition: opacity 0.25s ease;
}
