:root {
    --primary-red: #E02424;
    --accent-red: #c81e1e;
    --light-red: #fff5f5;
    --border-color: #eaeaea;
    --text-dark: #2a2b38;
    --text-muted: #6c757d;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
}

.product-detail-page {
    padding: 0;
}

/* Hero Section */
.product-hero {
    display: flex;
    gap: 18px;
    margin-top: 0;
    margin-bottom: 20px;
    align-items: flex-start;
}

.product-gallery {
    flex: 0 0 48%;
    max-width: 48%;
    position: -webkit-sticky;
    position: sticky;
    top: 115px;
    align-self: flex-start;
}

.main-image-container {
    width: 100%;
    height: auto;
    background: #f7f8fa;
    border: 1px solid #ebebeb;
    border-radius: 16px;
    display: block;
    overflow: hidden;
    padding: 10px;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

#main-img {
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: none;
    transition: transform 0.4s ease;
    background: transparent;
    display: block;
}

#main-img:hover {
    transform: scale(1.015);
}

/* Color Selection Frames (formerly thumbnails) */
.thumbnail-list {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.thumbnail-item {
    width: 100px;
    height: 100px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
}

.thumbnail-item:hover {
    border-color: var(--primary-red);
}

.thumbnail-item.active {
    border-color: var(--primary-red);
    box-shadow: 0 4px 12px rgba(224, 36, 36, 0.15);
}

.thumbnail-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.color-label-tag {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Info */
.product-main-info {
    flex: 1;
    padding-left: 8px;
}

/* =========================================================
   BREADCRUMB — Styled bar with home icon + chevron separators
   ========================================================= */
.pd-breadcrumb-bar {
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 0;
}

.info-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    font-size: 0.86rem;
    font-weight: 500;
    color: #475569;
    row-gap: 4px;
}

.info-breadcrumb a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.info-breadcrumb a:hover {
    color: #991b1b;
    text-decoration: underline;
}

.info-breadcrumb .bc-home {
    color: #475569;
    font-weight: 500;
}

.info-breadcrumb .bc-home i {
    color: #991b1b;
    font-size: 0.85rem;
}

.info-breadcrumb .bc-sep {
    font-size: 0.62rem;
    color: #cbd5e1;
    margin: 0 10px;
    flex-shrink: 0;
}

.info-breadcrumb .current {
    color: #0f172a;
    font-weight: 700;
}

@media (max-width: 768px) {
    .pd-breadcrumb-bar {
        margin-top: 14px;
        margin-bottom: 14px;
    }

    .info-breadcrumb {
        font-size: 0.78rem;
        row-gap: 4px;
        line-height: 1.5;
    }

    .info-breadcrumb .bc-sep {
        margin: 0 6px;
        font-size: 0.58rem;
    }

    .info-breadcrumb .bc-home i {
        font-size: 0.78rem;
    }
}

.product-title-detailed {
    font-size: 1.95rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 10px;
    color: #111;
    letter-spacing: -0.3px;
}

.short-description {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.short-description img {
    display: none !important;
}

/* =========================================================
   NEW pd-* DESIGN SYSTEM — Product Detail Right Panel
   ========================================================= */

/* Category pill row above title */
.pd-category-pill-row {
    margin-bottom: 12px;
}

.pd-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff5f5;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 5px 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.pd-category-pill i {
    font-size: 0.72rem;
}

.pd-category-pill:hover {
    background: #991b1b;
    color: #fff;
    border-color: #991b1b;
}

.pd-quantity-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 5px 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.pd-quantity-pill i {
    font-size: 0.75rem;
    color: #059669;
}

.pd-quantity-pill strong {
    font-weight: 700;
    color: #047857;
}

/* Short Description */
.pd-short-desc {
    background: #f5f7ff;
    border-left: 3px solid #c7d2fe;
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    color: #374151;
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 0;
}

.pd-short-desc p:last-child {
    margin-bottom: 0;
}

.pd-short-desc p {
    margin-bottom: 0.5rem;
}

.pd-short-desc img {
    display: none !important;
}

/* Horizontal divider between short desc and full desc */
.pd-info-divider {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 14px 0 12px;
}

/* Full Description */
.pd-full-desc {
    color: #374151;
    font-size: 1rem;
    line-height: 1.8;
}

/* =========================================================
   CTA Section — Quote + WhatsApp buttons + Trust strip
   ========================================================= */
.pd-cta-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1.5px solid #e9ecef;
}

.pd-cta-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

/* Request A Quote — Red */
.pd-btn-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #991b1b;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px 34px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(153, 27, 27, 0.22);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.pd-btn-quote:hover {
    background: #7f1d1d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(153, 27, 27, 0.32);
}

/* Chat on WhatsApp — Green */
.pd-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #16a34a;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px 28px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.22);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.pd-btn-whatsapp:hover {
    background: #15803d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.32);
}

/* Trust Row */
.pd-trust-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.pd-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #64748b;
}

.pd-trust-item i {
    color: #16a34a;
    font-size: 0.9rem;
}

/* Old meta-category-badge kept for backwards compat */
.product-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 16px;
}

.product-meta-row .meta-key {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
}

.product-meta-row .meta-key::after {
    content: ':';
    margin-right: 2px;
}

.product-meta-row .meta-key i {
    display: none;
}

.meta-category-badge {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
    background: none;
    padding: 0;
    border-radius: 0;
    letter-spacing: 0;
}

.meta-category-badge:hover {
    color: var(--primary-red);
    background: none;
    transform: none;
}


/* Full Description (CKEditor content styling) — shared by .pd-full-desc */
.product-full-description {
    color: #374151;
    font-size: 1rem;
    line-height: 1.8;
}

.product-full-description p {
    margin-bottom: 0.75rem;
    color: #374151;
}

.product-full-description a {
    color: #1e3a8a;
    text-decoration: none;
    border-bottom: 1px solid rgba(30, 58, 138, 0.25);
    transition: color 0.2s, border-color 0.2s;
}

.product-full-description a:hover {
    color: #991b1b;
    border-bottom-color: rgba(153, 27, 27, 0.35);
}

.product-full-description strong,
.product-full-description b {
    font-weight: 700;
    color: #111827;
}

.product-full-description h1,
.product-full-description h2,
.product-full-description h3,
.product-full-description h4,
.product-full-description h5 {
    color: #111827;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.product-full-description h2 {
    font-size: 1.05rem;
    border-left: 3px solid #991b1b;
    padding-left: 10px;
    margin-left: 0;
}

.product-full-description h3 {
    font-size: 1rem;
    border-left: 3px solid #fca5a5;
    padding-left: 10px;
    margin-left: 0;
}

.product-full-description h4 {
    font-size: 0.95rem;
}

.product-full-description ul,
.product-full-description ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.product-full-description ul {
    list-style-type: disc;
}

.product-full-description ol {
    list-style-type: decimal;
}

.product-full-description li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: #374151;
}


.product-full-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.product-full-description th,
.product-full-description td {
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    text-align: left;
}

.product-full-description th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #111827;
}

.product-full-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Right Side CTA Bar & Trust Badges */
.product-cta-bar {
    margin-top: 0;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.product-trust-strip {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.product-trust-strip .trust-item {
    font-size: 0.85rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.product-trust-strip .trust-item i {
    color: #16a34a;
    font-size: 0.95rem;
}

.btn-request-quote {
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(224, 36, 36, 0.2);
    width: auto;
    margin: 0;
}

.btn-request-quote:hover {
    background-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(224, 36, 36, 0.3);
    color: white;
}

.meta-info-table {
    width: 100%;
    border-top: 1px solid #f0f0f0;
    padding-top: 25px;
    margin-bottom: 30px;
}

.meta-row {
    display: flex;
    margin-bottom: 10px;
    font-size: 1rem;
}

.meta-label {
    width: 110px;
    font-weight: 700;
    color: #000;
}

.meta-row .meta-value {
    color: var(--text-muted);
}

.share-section {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.share-label {
    font-weight: 700;
    font-size: 0.95rem;
}

.share-icons {
    display: flex;
    gap: 12px;
}

.share-icons a {
    color: #444;
    transition: color 0.2s;
}

.share-icons a:hover {
    color: var(--primary-red);
}

/* =========================================================
   RELATED PRODUCTS CAROUSEL - EXACT MODEL MATCH
   ========================================================= */
.related-section {
    margin-top: 60px !important;
    padding-bottom: 60px !important;
}

.related-title-box {
    margin-bottom: 35px !important;
    padding-left: 15px !important;
}

.related-title-box h2 {
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 2.2rem !important;
    text-align: left !important;
    margin: 0 !important;
    font-family: 'Inter', sans-serif !important;
}

.related-carousel-outer {
    position: relative !important;
    padding: 0 40px !important;
    background: transparent !important;
}

.carousel-track-wrapper {
    overflow: hidden !important;
    width: 100% !important;
}

.carousel-track {
    display: flex !important;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
    gap: 24px !important;
    padding: 10px 5px !important;
    align-items: stretch !important;
}

.carousel-slide {
    flex: 0 0 calc((100% - 72px) / 4) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
}

@media (max-width: 1200px) {
    .carousel-slide {
        flex: 0 0 calc((100% - 48px) / 3) !important;
    }
}

@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 calc((100% - 24px) / 2) !important;
    }
}

@media (max-width: 576px) {
    .carousel-slide {
        flex: 0 0 100% !important;
    }
}

.related-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
}

/* Minimalist Floating Navigation Arrows */
.carousel-btn {
    position: absolute !important;
    top: calc(50% - 22px) !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 100 !important;
    font-size: 1.1rem !important;
    color: #1e293b !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.carousel-btn:hover {
    background: #991b1b !important;
    color: #ffffff !important;
    border-color: #991b1b !important;
    box-shadow: 0 6px 16px rgba(153, 27, 27, 0.25) !important;
}

.carousel-btn.prev {
    left: 4px !important;
}

.carousel-btn.next {
    right: 4px !important;
}

/* Navigation Dots - Premium Sleek Indicator */
.carousel-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
    padding: 6px 0 !important;
    position: relative !important;
    z-index: 10 !important;
}

.carousel-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #cbd5e1 !important;
    cursor: pointer !important;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.carousel-dot:hover:not(.active) {
    background: #94a3b8 !important;
    transform: scale(1.25) !important;
}

.carousel-dot.active {
    background: #991b1b !important;
    background: linear-gradient(135deg, #991b1b 0%, #b91c1c 100%) !important;
    width: 24px !important;
    height: 8px !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 8px rgba(153, 27, 27, 0.35) !important;
    transform: none !important;
}

@media (max-width: 576px) {
    .related-carousel-outer {
        padding: 0 24px !important;
    }

    .carousel-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.95rem !important;
    }

    .carousel-btn.prev {
        left: 0px !important;
    }

    .carousel-btn.next {
        right: 0px !important;
    }

    .carousel-dots {
        gap: 6px !important;
        margin-top: 16px !important;
        padding: 4px 0 !important;
    }

    .carousel-dot {
        width: 7px !important;
        height: 7px !important;
    }

    .carousel-dot.active {
        width: 20px !important;
        height: 7px !important;
    }
}

/* Product Card Model (Matching Home Featured Products) */
.related-card {
    background: #ffffff !important;
    border: 1px solid #ededed !important;
    border-radius: 16px !important;
    padding: 0 !important;
    text-align: center !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
}

.related-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: #f87171 !important;
}

.related-img-container {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    background: #f8f8f8 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
    border: none !important;
    border-bottom: 1px solid #f2f2f2 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

@supports not (aspect-ratio: 1 / 1) {
    .related-img-container {
        height: 275px !important;
    }
}

.related-img-container img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0 !important;
    transition: transform 0.4s ease !important;
}

.related-card:hover .related-img-container img {
    transform: scale(1.06) !important;
}

.related-info-box {
    padding: 22px 20px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    flex-grow: 1 !important;
    box-sizing: border-box !important;
}

.related-info-box h3 {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.35 !important;
    font-family: 'Inter', sans-serif !important;
    text-align: center !important;
    width: 100% !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: auto !important;
    min-height: auto !important;
}

.related-info-box p {
    font-size: 0.9rem !important;
    color: #888 !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.related-info-box .btn-learn-more {
    position: relative !important;
    overflow: hidden !important;
    width: fit-content !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 10px 24px !important;
    background-color: #991b1b !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1px solid #991b1b !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
    z-index: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    gap: 8px !important;
    line-height: 1 !important;
    box-shadow: 0 4px 10px rgba(153, 27, 27, 0.1) !important;
}

.related-info-box .btn-learn-more:hover {
    background-color: #7f1d1d !important;
    border-color: #7f1d1d !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(153, 27, 27, 0.3) !important;
    transform: translateY(-3px) !important;
}

.related-info-box .btn-arrow {
    stroke: #ffffff !important;
    transition: transform 0.3s ease !important;
}

.related-info-box .btn-learn-more:hover .btn-arrow {
    transform: translateX(4px) !important;
}

/* Tabs Section */
.product-tabs {
    margin-bottom: 80px;
    margin-top: 60px;
}

.nav-tabs {
    border-bottom: 1px solid var(--border-color);
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    background: transparent;
}

.nav-tabs .nav-link.active {
    color: #000;
    background: transparent;
}

.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-red);
}

.tab-content-inner {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
    color: #333;
}

.contact-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    z-index: 1000;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

/* =========================================================
   GLOBAL COMPONENTS (NAVBAR & FOOTER)
   ========================================================= */

/* Notification Banner */
.top-banner {
    background-color: #e6f0fc;
    padding: 12px 20px;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #111111;
}

/* Main Navigation Bar - STICKY FIX */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 32px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.12);
    position: sticky !important;
    /* Added sticky */
    top: 0 !important;
    z-index: 2000;
    transform: none !important;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    transform: none !important;
}

.logo img {
    width: 135px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
}



.nav-item {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #111111;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
    position: relative;
    text-decoration: none;
}

.nav-item:hover {
    background-color: #f9f9f9;
}

/* Modal and related styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    background: #fff;
    width: 100%;
    max-width: 650px;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1200px) {
    .carousel-slide {
        flex: 0 0 calc((100% - 40px) / 3);
    }
}

@media (max-width: 992px) {
    .product-hero {
        flex-direction: column;
    }

    .product-gallery,
    .product-main-info {
        max-width: 100%;
        flex: none;
    }

    .product-gallery {
        position: static;
        top: auto;
    }

    .carousel-slide {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 576px) {
    .carousel-slide {
        flex: 0 0 100%;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-slide {
        font-weight: 500 !important;
    }
}

/* Tabs Section */
.product-tabs {
    margin-bottom: 80px;
    margin-top: 60px;
}

.nav-tabs {
    border-bottom: 1px solid var(--border-color);
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    background: transparent;
}

.nav-tabs .nav-link.active {
    color: #000;
    background: transparent;
}

.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-red);
}

.tab-content-inner {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
    color: #333;
}

.contact-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    z-index: 1000;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

/* =========================================================
   GLOBAL COMPONENTS (NAVBAR & FOOTER)
   ========================================================= */

/* Notification Banner */
.top-banner {
    background-color: #e6f0fc;
    padding: 12px 20px;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #111111;
}

/* Main Navigation Bar - STICKY FIX */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 32px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.12);
    position: sticky !important;
    /* Added sticky */
    top: 0 !important;
    z-index: 2000;
    transform: none !important;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    transform: none !important;
}

.logo img {
    width: 135px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
}



.nav-item {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #111111;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
    position: relative;
    text-decoration: none;
}

.nav-item:hover {
    background-color: #f9f9f9;
}

/* Modal and related styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    background: #fff;
    width: 100%;
    max-width: 650px;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1200px) {
    .carousel-slide {
        flex: 0 0 calc((100% - 48px) / 3) !important;
    }
}

@media (max-width: 992px) {
    .product-hero {
        flex-direction: column;
    }

    .product-gallery,
    .product-main-info {
        max-width: 100%;
        flex: none;
    }

    .carousel-slide {
        flex: 0 0 calc((100% - 24px) / 2) !important;
    }
}

@media (max-width: 768px) {
    .related-title-box h2 {
        font-size: 1.8rem !important;
        text-align: center !important;
    }

    .related-title-box {
        padding-left: 0 !important;
        text-align: center;
    }

    .related-carousel-outer {
        padding: 0 25px !important;
        /* Leave a little space for the arrows */
    }

    .carousel-btn {
        width: 25px !important;
        height: 40px !important;
        font-size: 1.3rem !important;
    }

    .carousel-btn.prev {
        left: 0px !important;
    }

    .carousel-btn.next {
        right: 0px !important;
    }

    .carousel-track {
        gap: 15px !important;
        padding: 10px 0 !important;
    }

    .carousel-slide {
        flex: 0 0 calc(100% - 10px) !important;
    }
}

@media (max-width: 576px) {
    .carousel-slide {
        flex: 0 0 100% !important;
    }
}



.mobile-contact-text {
    display: flex;
    flex-direction: column;
}

.mobile-contact-label {
    font-size: 9px;
    font-weight: 800;
    color: #991b1b;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2px;
}

.mobile-contact-number {
    font-size: 13px;
    font-weight: 700;
    color: #111111;
    line-height: 1.1;
}





/* Fixed Mobile Responsive Rules */

@media (max-width: 900px) {

    /* Navbar & Contacts */
    .navbar {
        padding: 12px 20px;
    }

    .logo img {
        width: 120px !important;
        height: auto !important;
        max-height: 48px !important;
        object-fit: contain !important;
    }



    .mobile-nav-toggle,
    .mobile-contact-pill {
        display: flex !important;
    }

    /* Grid & Layout Fixes */
    .product-grid,
    .categories-grid,
    .clients-grid,
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .about-container,
    .contact-container,
    .hero-split,
    .products-layout {
        flex-direction: column !important;
        gap: 40px;
    }

    .hero-image {
        height: 350px;
        margin: 0;
        border-radius: 0;
    }

    .hero-content {
        padding: 40px 6%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    /* Mobile bottom nav styles are now unified in assets/css/bottom-nav.css */







    .bottom-more-links a {
        display: flex !important;
        align-items: center;
        color: #1e293b !important;
        font-weight: 600 !important;
        padding: 15px 18px !important;
        text-decoration: none;
        border-radius: 14px;
        margin-bottom: 6px;
    }

    .bottom-more-links a i {
        color: #0369a1 !important;
        margin-right: 14px !important;
        width: 24px;
        text-align: center;
    }
}

/* Standardize Request A Quote Button to Solid Red */
.btn-request-quote {
    background-color: #991b1b !important;
    color: #ffffff !important;
    border: 1px solid #991b1b !important;
    box-shadow: 0 4px 10px rgba(153, 27, 27, 0.1) !important;
}

.btn-request-quote:hover {
    background-color: #7f1d1d !important;
    border-color: #7f1d1d !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(153, 27, 27, 0.3) !important;
    transform: translateY(-3px) !important;
}


/* Modal Space Compression (Anti-Scroll) */
.contact-modal {
    padding: 25px 25px !important;
}

.contact-modal h3 {
    margin-bottom: 5px !important;
    font-size: 1.6rem !important;
}

.contact-modal p {
    margin-bottom: 15px !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
}

.contact-modal .form-group {
    margin-bottom: 12px !important;
}

.contact-modal .form-group label {
    margin-bottom: 4px !important;
    font-size: 0.85rem !important;
}

.contact-modal .form-group input,
.contact-modal .form-group textarea {
    padding: 10px 14px !important;
}

.contact-modal .form-group textarea {
    height: 75px !important;
    min-height: 75px !important;
}

.contact-modal .btn-send-enquiry,
.contact-modal button[type="submit"] {
    padding: 12px 24px !important;
    margin-top: 5px !important;
}

.contact-modal .modal-close {
    top: 15px !important;
    right: 20px !important;
}

.long-description .image img {
    width: 100%;
    height: auto;
}

.contact-modal .modal-close {
    top: 15px !important;
    right: 20px !important;
}

.long-description .image img {
    width: 100%;
    height: auto;
}

/* Mobile Related Product Card Clean UI (Matching Home Featured Products) */
@media (max-width: 768px) {
    .related-card {
        border-radius: 14px !important;
        overflow: hidden !important;
        padding: 0 !important;
        background: #ffffff !important;
        border: 1px solid #ededed !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
        align-items: stretch !important;
    }

    .related-img-container {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        background: #f8f8f8 !important;
        border-bottom: 1px solid #f2f2f2 !important;
        border: none !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
    }

    .related-img-container img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        border-radius: 0 !important;
    }

    .related-info-box {
        padding: 16px 14px 18px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex-grow: 1 !important;
    }

    .related-info-box h3 {
        font-size: 15px !important;
        font-weight: 700 !important;
        margin-bottom: 6px !important;
        line-height: 1.35 !important;
        text-align: center !important;
        width: 100% !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        height: auto !important;
        min-height: auto !important;
    }

    .related-info-box .btn-learn-more {
        padding: 8px 18px !important;
        font-size: 12px !important;
        border-radius: 6px !important;
        margin-top: auto !important;
        margin-bottom: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
    }
}

/* Global Quote Overlay Default Hidden State */
.global-quote-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.global-quote-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}