/**
 * ProTech Solutions - Dedicated Product Category Stylesheet
 * File: assets/css/product-page.css
 * Features:
 *   - Modern 2-column documentation / catalog layout
 *   - Sticky sidebar menu with active states & responsive mobile tabs
 *   - Interactive 4-5 images gallery with large featured view & clickable thumbnails
 *   - Technical short description, key specs grid & capability chips
 *   - Next & Previous product navigation buttons
 *   - High-converting Quick Contact Card with dynamic WhatsApp & Call triggers
 */

/* Prevent any horizontal overflow across mobile viewports */
html,
body {
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
}

main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================================================
   2. Main Catalog 2-Column Layout & Technical Background Graphics
   ========================================================================== */
.prod-catalog-section {
    position: relative;
    padding: 24px 24px 80px;
    background-color: #f8fafc;
    min-height: 80vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Background Graphic Canvas */
.catalog-bg-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Technical CAD Engineering Grid */
.catalog-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
    background-size: 38px 38px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 25%, #000 65%, transparent 95%);
    mask-image: radial-gradient(ellipse at 50% 25%, #000 65%, transparent 95%);
}

/* Precision Dot Matrix */
.catalog-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(248, 206, 36, 0.14) 1.5px, transparent 0);
    background-size: 38px 38px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 50%, transparent 90%);
    mask-image: radial-gradient(ellipse at 50% 35%, #000 50%, transparent 90%);
}

/* Atmospheric Multi-Point Lighting Glows */
.catalog-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.catalog-bg-glow.glow-top-left {
    top: -60px;
    left: -80px;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(248, 206, 36, 0.14) 0%, rgba(248, 206, 36, 0) 70%);
}

.catalog-bg-glow.glow-top-right {
    top: 40px;
    right: -80px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, rgba(6, 182, 212, 0) 70%);
}

.catalog-bg-glow.glow-bottom-center {
    bottom: -40px;
    left: 28%;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.09) 0%, rgba(124, 58, 237, 0) 70%);
}

/* Technical CAD Watermark Vectors */
.catalog-watermark {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.catalog-watermark.watermark-left {
    top: 30px;
    left: -120px;
}

.catalog-watermark.watermark-right {
    top: 240px;
    right: -100px;
}

@media (max-width: 992px) {
    .catalog-watermark.watermark-left {
        left: -180px;
        top: 20px;
        transform: scale(0.75);
    }

    .catalog-watermark.watermark-right {
        right: -160px;
        top: 450px;
        transform: scale(0.75);
    }
}

.prod-catalog-container {
    position: relative;
    z-index: 2;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: start;
    align-content: start;
    min-width: 0;
    box-sizing: border-box;
}

/* ==========================================================================
   3. Left Side Menu (Sidebar)
   ========================================================================== */
.prod-sidebar {
    position: sticky;
    top: 0;
    margin: 0;
    padding: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: start;
}

.prod-sidebar::-webkit-scrollbar {
    width: 4px;
}

.prod-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.prod-sidebar-card {
    margin: 0;
    background: radial-gradient(circle at 92% 4%, #fefae6 0%, transparent 45%), #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #f8ce24;
    border-radius: 18px;
    box-shadow: 0 10px 32px -6px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    padding: 14px 12px 12px;
    position: relative;
    box-sizing: border-box;
}

.prod-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.prod-sidebar-title-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prod-sidebar-label {
    font-size: 11px;
    font-weight: 800;
    color: #876a00;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.prod-sidebar-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.mobile-only-title {
    display: none;
}

.sidebar-mobile-toggle {
    display: none;
}

.prod-sidebar-count {
    font-size: 11.5px;
    font-weight: 800;
    background: linear-gradient(135deg, #fefae6 0%, #fce988 100%);
    color: #876a00;
    border: 1px solid rgba(171, 135, 0, 0.35);
    padding: 3px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(248, 206, 36, 0.14);
}

/* Sidebar Nav Items List */
.sidebar-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 11px;
    border-radius: 12px;
    color: #334155;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    position: relative;
    user-select: none;
}

.sidebar-nav-item:hover {
    transform: translateX(3px);
}

.sidebar-nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.sidebar-nav-icon svg {
    width: 17px;
    height: 17px;
}

.sidebar-nav-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-nav-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    transition: color 0.2s ease;
}

.sidebar-nav-sub {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.38;
    transition: color 0.2s ease;
}

.sidebar-nav-chevron {
    color: #cbd5e1;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* ==========================================================================
   Category-Specific Colorful Sidebar Navigation
   ========================================================================== */
/* 1. Conveyor Belts & Components (Industrial Safety Yellow) */
.sidebar-nav-item[data-product-id="conveyor-belts"] .sidebar-nav-icon {
    background: #fef5c8;
    color: #876a00;
    border: 1px solid rgba(171, 135, 0, 0.34);
}

.sidebar-nav-item[data-product-id="conveyor-belts"]:hover {
    background: #fefae6;
    border-color: rgba(171, 135, 0, 0.42);
}

.sidebar-nav-item[data-product-id="conveyor-belts"]:hover .sidebar-nav-chevron {
    color: #876a00;
    transform: translateX(2px);
}

.sidebar-nav-item[data-product-id="conveyor-belts"].active {
    background: linear-gradient(90deg, #fefae6 0%, #ffffff 100%);
    border-color: rgba(171, 135, 0, 0.48);
    border-left: 4px solid #f8ce24;
    box-shadow: 0 4px 18px rgba(248, 206, 36, 0.16);
}

.sidebar-nav-item[data-product-id="conveyor-belts"].active .sidebar-nav-icon {
    background: linear-gradient(135deg, #fae06b 0%, #f8ce24 100%);
    color: #151618;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(248, 206, 36, 0.35);
}

.sidebar-nav-item[data-product-id="conveyor-belts"].active .sidebar-nav-title {
    color: #876a00;
}

.sidebar-nav-item[data-product-id="conveyor-belts"].active .sidebar-nav-sub {
    color: #6b5400;
}

.sidebar-nav-item[data-product-id="conveyor-belts"].active .sidebar-nav-chevron {
    color: #876a00;
}

/* 2. Air Pollution Control & ESP (Clean Air Sky Cyan) */
.sidebar-nav-item[data-product-id="air-pollution-control"] .sidebar-nav-icon {
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.28);
}

.sidebar-nav-item[data-product-id="air-pollution-control"]:hover {
    background: #f0f9ff;
    border-color: rgba(2, 132, 199, 0.35);
}

.sidebar-nav-item[data-product-id="air-pollution-control"]:hover .sidebar-nav-chevron {
    color: #0284c7;
    transform: translateX(2px);
}

.sidebar-nav-item[data-product-id="air-pollution-control"].active {
    background: linear-gradient(90deg, #f0f9ff 0%, #ffffff 100%);
    border-color: rgba(2, 132, 199, 0.45);
    border-left: 4px solid #0284c7;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.14);
}

.sidebar-nav-item[data-product-id="air-pollution-control"].active .sidebar-nav-icon {
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.sidebar-nav-item[data-product-id="air-pollution-control"].active .sidebar-nav-title {
    color: #0284c7;
}

.sidebar-nav-item[data-product-id="air-pollution-control"].active .sidebar-nav-sub {
    color: #0369a1;
}

.sidebar-nav-item[data-product-id="air-pollution-control"].active .sidebar-nav-chevron {
    color: #0284c7;
}

/* 3. Electrical & Power Components (High-Voltage Electric Amber) */
.sidebar-nav-item[data-product-id="electrical-power"] .sidebar-nav-icon {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.28);
}

.sidebar-nav-item[data-product-id="electrical-power"]:hover {
    background: #fffdf5;
    border-color: rgba(217, 119, 6, 0.35);
}

.sidebar-nav-item[data-product-id="electrical-power"]:hover .sidebar-nav-chevron {
    color: #d97706;
    transform: translateX(2px);
}

.sidebar-nav-item[data-product-id="electrical-power"].active {
    background: linear-gradient(90deg, #fffbeb 0%, #ffffff 100%);
    border-color: rgba(217, 119, 6, 0.45);
    border-left: 4px solid #d97706;
    box-shadow: 0 4px 18px rgba(217, 119, 6, 0.14);
}

.sidebar-nav-item[data-product-id="electrical-power"].active .sidebar-nav-icon {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

.sidebar-nav-item[data-product-id="electrical-power"].active .sidebar-nav-title {
    color: #d97706;
}

.sidebar-nav-item[data-product-id="electrical-power"].active .sidebar-nav-sub {
    color: #92400e;
}

.sidebar-nav-item[data-product-id="electrical-power"].active .sidebar-nav-chevron {
    color: #d97706;
}

/* 4. Industrial Valves & Pumps (Flow Cobalt Blue) */
.sidebar-nav-item[data-product-id="valves-pumps"] .sidebar-nav-icon {
    background: #dbeafe;
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.28);
}

.sidebar-nav-item[data-product-id="valves-pumps"]:hover {
    background: #f8faff;
    border-color: rgba(37, 99, 235, 0.35);
}

.sidebar-nav-item[data-product-id="valves-pumps"]:hover .sidebar-nav-chevron {
    color: #2563eb;
    transform: translateX(2px);
}

.sidebar-nav-item[data-product-id="valves-pumps"].active {
    background: linear-gradient(90deg, #eff6ff 0%, #ffffff 100%);
    border-color: rgba(37, 99, 235, 0.45);
    border-left: 4px solid #2563eb;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.14);
}

.sidebar-nav-item[data-product-id="valves-pumps"].active .sidebar-nav-icon {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.sidebar-nav-item[data-product-id="valves-pumps"].active .sidebar-nav-title {
    color: #2563eb;
}

.sidebar-nav-item[data-product-id="valves-pumps"].active .sidebar-nav-sub {
    color: #1e40af;
}

.sidebar-nav-item[data-product-id="valves-pumps"].active .sidebar-nav-chevron {
    color: #2563eb;
}

/* 5. Mechanical Components & Spares (Precision Engineering Violet) */
.sidebar-nav-item[data-product-id="mechanical-spares"] .sidebar-nav-icon {
    background: #ede9fe;
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.28);
}

.sidebar-nav-item[data-product-id="mechanical-spares"]:hover {
    background: #fbf9ff;
    border-color: rgba(124, 58, 237, 0.35);
}

.sidebar-nav-item[data-product-id="mechanical-spares"]:hover .sidebar-nav-chevron {
    color: #7c3aed;
    transform: translateX(2px);
}

.sidebar-nav-item[data-product-id="mechanical-spares"].active {
    background: linear-gradient(90deg, #faf5ff 0%, #ffffff 100%);
    border-color: rgba(124, 58, 237, 0.45);
    border-left: 4px solid #7c3aed;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.14);
}

.sidebar-nav-item[data-product-id="mechanical-spares"].active .sidebar-nav-icon {
    background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.sidebar-nav-item[data-product-id="mechanical-spares"].active .sidebar-nav-title {
    color: #7c3aed;
}

.sidebar-nav-item[data-product-id="mechanical-spares"].active .sidebar-nav-sub {
    color: #5b21b6;
}

.sidebar-nav-item[data-product-id="mechanical-spares"].active .sidebar-nav-chevron {
    color: #7c3aed;
}

/* 6. Material Handling & Heavy Equipment (Heavy Machinery Ruby) */
.sidebar-nav-item[data-product-id="material-handling"] .sidebar-nav-icon {
    background: #ffe4e6;
    color: #e11d48;
    border: 1px solid rgba(225, 29, 72, 0.28);
}

.sidebar-nav-item[data-product-id="material-handling"]:hover {
    background: #fff5f6;
    border-color: rgba(225, 29, 72, 0.35);
}

.sidebar-nav-item[data-product-id="material-handling"]:hover .sidebar-nav-chevron {
    color: #e11d48;
    transform: translateX(2px);
}

.sidebar-nav-item[data-product-id="material-handling"].active {
    background: linear-gradient(90deg, #fff1f2 0%, #ffffff 100%);
    border-color: rgba(225, 29, 72, 0.45);
    border-left: 4px solid #e11d48;
    box-shadow: 0 4px 18px rgba(225, 29, 72, 0.14);
}

.sidebar-nav-item[data-product-id="material-handling"].active .sidebar-nav-icon {
    background: linear-gradient(135deg, #be123c 0%, #f43f5e 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

.sidebar-nav-item[data-product-id="material-handling"].active .sidebar-nav-title {
    color: #e11d48;
}

.sidebar-nav-item[data-product-id="material-handling"].active .sidebar-nav-sub {
    color: #9f1239;
}

.sidebar-nav-item[data-product-id="material-handling"].active .sidebar-nav-chevron {
    color: #e11d48;
}

/* 7. Wear Protection & Vulcanizing (High-Alumina Emerald Jade) */
.sidebar-nav-item[data-product-id="wear-protection"] .sidebar-nav-icon {
    background: #d1fae5;
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.28);
}

.sidebar-nav-item[data-product-id="wear-protection"]:hover {
    background: #f2fbf7;
    border-color: rgba(5, 150, 105, 0.35);
}

.sidebar-nav-item[data-product-id="wear-protection"]:hover .sidebar-nav-chevron {
    color: #059669;
    transform: translateX(2px);
}

.sidebar-nav-item[data-product-id="wear-protection"].active {
    background: linear-gradient(90deg, #ecfdf5 0%, #ffffff 100%);
    border-color: rgba(5, 150, 105, 0.45);
    border-left: 4px solid #059669;
    box-shadow: 0 4px 18px rgba(5, 150, 105, 0.14);
}

.sidebar-nav-item[data-product-id="wear-protection"].active .sidebar-nav-icon {
    background: linear-gradient(135deg, #047857 0%, #10b981 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.sidebar-nav-item[data-product-id="wear-protection"].active .sidebar-nav-title {
    color: #059669;
}

.sidebar-nav-item[data-product-id="wear-protection"].active .sidebar-nav-sub {
    color: #065f46;
}

.sidebar-nav-item[data-product-id="wear-protection"].active .sidebar-nav-chevron {
    color: #059669;
}

/* Sidebar Quick Help Card */
.sidebar-help-card {
    background: radial-gradient(circle at 92% 12%, rgba(248, 206, 36, 0.22) 0%, transparent 60%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 16px 18px;
    color: #ffffff;
    border: 1px solid rgba(248, 206, 36, 0.32);
    box-shadow: 0 8px 22px -4px rgba(15, 23, 42, 0.25);
}

.sidebar-help-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #f8ce24;
    margin-bottom: 5px;
    display: block;
}

.sidebar-help-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
    line-height: 1.35;
}

.sidebar-help-desc {
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0 0 12px;
}

.sidebar-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 9.5px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    background: linear-gradient(135deg, #fae06b 0%, #f8ce24 100%);
    color: #151618;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(248, 206, 36, 0.38);
    transition: all 0.2s ease;
}

.sidebar-help-btn:hover {
    background: linear-gradient(135deg, #f8ce24 0%, #e0b60c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(248, 206, 36, 0.52);
    color: #151618;
}

/* ==========================================================================
   4. Right Column: Product Detail Showcase Area
   ========================================================================== */
.prod-content-area {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    align-self: start;
    box-sizing: border-box;
}

/* Active / Inactive Panels */
.product-panel {
    margin: 0;
    padding: 0;
    display: none;
    animation: fadeInPanel 0.25s ease forwards;
}

.product-panel.active {
    display: block;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ==========================================================================
   Scoped Theme Variables Per Product Category
   ========================================================================== */
#conveyor-belts {
    --cat-accent: #876a00;
    --cat-accent-hover: #6b5400;
    --cat-gradient: linear-gradient(135deg, #fae06b 0%, #f8ce24 100%);
    --cat-btn-fg: #151618;
    --cat-light: #fefae6;
    --cat-glow: rgba(248, 206, 36, 0.28);
    --cat-badge-bg: #fef5c8;
    --cat-badge-border: #fae06b;
    --cat-icon-bg: #fef5c8;
    --cat-icon-border: rgba(171, 135, 0, 0.34);
}

#air-pollution-control {
    --cat-accent: #0284c7;
    --cat-accent-hover: #0369a1;
    --cat-gradient: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    --cat-light: #f0f9ff;
    --cat-glow: rgba(2, 132, 199, 0.25);
    --cat-badge-bg: #f0f9ff;
    --cat-badge-border: #bae6fd;
    --cat-icon-bg: #e0f2fe;
    --cat-icon-border: rgba(2, 132, 199, 0.28);
}

#electrical-power {
    --cat-accent: #d97706;
    --cat-accent-hover: #b45309;
    --cat-gradient: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    --cat-light: #fffbeb;
    --cat-glow: rgba(217, 119, 6, 0.25);
    --cat-badge-bg: #fffbeb;
    --cat-badge-border: #fde68a;
    --cat-icon-bg: #fef3c7;
    --cat-icon-border: rgba(217, 119, 6, 0.28);
}

#valves-pumps {
    --cat-accent: #2563eb;
    --cat-accent-hover: #1d4ed8;
    --cat-gradient: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    --cat-light: #eff6ff;
    --cat-glow: rgba(37, 99, 235, 0.25);
    --cat-badge-bg: #eff6ff;
    --cat-badge-border: #bfdbfe;
    --cat-icon-bg: #dbeafe;
    --cat-icon-border: rgba(37, 99, 235, 0.28);
}

#mechanical-spares {
    --cat-accent: #7c3aed;
    --cat-accent-hover: #6d28d9;
    --cat-gradient: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
    --cat-light: #faf5ff;
    --cat-glow: rgba(124, 58, 237, 0.25);
    --cat-badge-bg: #faf5ff;
    --cat-badge-border: #ddd6fe;
    --cat-icon-bg: #ede9fe;
    --cat-icon-border: rgba(124, 58, 237, 0.28);
}

#material-handling {
    --cat-accent: #e11d48;
    --cat-accent-hover: #be123c;
    --cat-gradient: linear-gradient(135deg, #be123c 0%, #f43f5e 100%);
    --cat-light: #fff1f2;
    --cat-glow: rgba(225, 29, 72, 0.25);
    --cat-badge-bg: #fff1f2;
    --cat-badge-border: #fecdd3;
    --cat-icon-bg: #ffe4e6;
    --cat-icon-border: rgba(225, 29, 72, 0.28);
}

#wear-protection {
    --cat-accent: #059669;
    --cat-accent-hover: #047857;
    --cat-gradient: linear-gradient(135deg, #047857 0%, #10b981 100%);
    --cat-light: #ecfdf5;
    --cat-glow: rgba(5, 150, 105, 0.25);
    --cat-badge-bg: #ecfdf5;
    --cat-badge-border: #a7f3d0;
    --cat-icon-bg: #d1fae5;
    --cat-icon-border: rgba(5, 150, 105, 0.28);
}

.product-panel-card {
    margin: 0;
    background: radial-gradient(circle at 94% 4%, var(--cat-light, #fefae6) 0%, transparent 45%), #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--cat-accent, #f8ce24);
    border-radius: 24px;
    padding: 28px 36px 36px;
    box-shadow: 0 10px 32px -6px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Product Header */
.panel-header {
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.panel-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.panel-index-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cat-accent, #876a00);
    background: var(--cat-badge-bg, #fef5c8);
    border: 1px solid var(--cat-badge-border, #fae06b);
    padding: 5px 14px;
    border-radius: 999px;
    box-shadow: 0 2px 8px var(--cat-glow, rgba(248, 206, 36, 0.16));
}

.panel-index-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cat-accent, #876a00);
}

.panel-title {
    font-size: clamp(1.8rem, 2.5vw, 2.3rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.3px;
}

/* ==========================================================================
   5. Interactive 4-5 Images Gallery
   ========================================================================== */
.product-gallery {
    margin-bottom: 32px;
}

/* Featured Large Image Frame - Full Width 16:9 Perfect Crop & High Resolution */
.gallery-featured-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 16px;
    display: block;
    box-shadow: 0 6px 24px -4px rgba(15, 23, 42, 0.08);
}

.gallery-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    padding: 0 !important;
    margin: 0;
    border: none;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
}

.gallery-featured-frame:hover .gallery-featured-img {
    transform: scale(1.03);
}

/* Gallery Prev & Next Overlay Arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    padding: 0;
    outline: none;
}

.gallery-arrow svg {
    transition: transform 0.2s ease;
}

.gallery-arrow-prev {
    left: 18px;
}

.gallery-arrow-next {
    right: 18px;
}

.gallery-arrow:hover {
    background: var(--cat-gradient, linear-gradient(135deg, #fae06b 0%, #f8ce24 100%));
    border-color: transparent;
    color: var(--cat-btn-fg, #ffffff);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px var(--cat-glow, rgba(248, 206, 36, 0.45));
}

.gallery-arrow-prev:hover svg {
    transform: translateX(-2px);
}

.gallery-arrow-next:hover svg {
    transform: translateX(2px);
}

.gallery-arrow:active {
    transform: translateY(-50%) scale(0.94);
}

.gallery-image-tag {
    position: absolute;
    bottom: 16px;
    left: 18px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    z-index: 2;
}

.gallery-image-tag .tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cat-accent, #f8ce24);
    box-shadow: 0 0 8px var(--cat-accent, #f8ce24);
}

.gallery-image-tag .tag-text {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #ffffff;
}

/* 4-6 Thumbnail Strip */
.gallery-thumbs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}

.gallery-thumb-btn {
    flex: 0 0 110px;
    width: 110px;
    max-width: 125px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 5px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    outline: none;
    text-align: center;
}

.gallery-thumb-btn:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.gallery-thumb-btn.active {
    border-color: var(--cat-accent, #876a00);
    box-shadow: 0 4px 14px var(--cat-glow, rgba(248, 206, 36, 0.28));
    transform: translateY(-2px);
}

.thumb-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
    display: block;
}

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    padding: 0 !important;
    margin: 0;
    transition: transform 0.25s ease;
}

.gallery-thumb-btn:hover .thumb-img {
    transform: scale(1.08);
}

.thumb-caption {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 4px 2px;
}

.gallery-thumb-btn.active .thumb-caption {
    color: var(--cat-accent, #876a00);
}

/* ==========================================================================
   6. Product Technical Short Description & Specs Grid
   ========================================================================== */
.product-description-wrap {
    margin-bottom: 34px;
}

.product-desc-lead {
    font-size: 15px;
    line-height: 1.75;
    color: #1e293b;
    margin: 0 0 26px;
    padding: 18px 22px;
    background: var(--cat-light, #fefae6);
    border-left: 4px solid var(--cat-accent, #f8ce24);
    border-radius: 0 14px 14px 0;
    box-shadow: 0 2px 8px -2px var(--cat-glow, rgba(248, 206, 36, 0.14));
}

/* ==========================================================================
   6B. Product List Grid (Items in Category)
   ========================================================================== */
.category-products-wrap {
    margin-top: 38px;
    margin-bottom: 34px;
}

.category-products-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-products-title svg {
    color: var(--cat-btn-fg, #ffffff);
    background: var(--cat-gradient, linear-gradient(135deg, #fae06b, #f8ce24));
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 3px 8px var(--cat-glow, rgba(248, 206, 36, 0.3));
}

.product-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.product-item-card {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 20px;
    transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-item-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cat-gradient, linear-gradient(135deg, #fae06b, #f8ce24));
    opacity: 0;
    transform: scaleX(0.2);
    transform-origin: left;
    transition: all 0.25s ease;
}

.product-item-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.product-item-card:hover {
    border-color: var(--cat-accent, #ab8700);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 14px -2px var(--cat-glow, rgba(248, 206, 36, 0.25));
    background: #ffffff;
}

.product-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.product-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--cat-icon-bg, #fef5c8);
    color: var(--cat-accent, #876a00);
    border: 1px solid var(--cat-icon-border, rgba(171, 135, 0, 0.34));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.product-item-card:hover .product-item-icon {
    background: var(--cat-gradient, linear-gradient(135deg, #fae06b, #f8ce24));
    color: var(--cat-btn-fg, #ffffff);
    border-color: transparent;
    box-shadow: 0 4px 12px var(--cat-glow, rgba(248, 206, 36, 0.35));
    transform: scale(1.05);
}

.product-item-name {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0;
    transition: color 0.2s ease;
}

.product-item-card:hover .product-item-name {
    color: var(--cat-accent, #876a00);
}

.product-item-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}


/* ==========================================================================
   Category 03 Automation & Smart Industry Section
   ========================================================================== */
.category-automation-wrap {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px dashed var(--cat-icon-border, rgba(217, 119, 6, 0.3));
    position: relative;
}

.automation-section-header {
    margin-bottom: 22px;
}

.automation-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--cat-badge-bg, #fffbeb);
    color: var(--cat-accent, #d97706);
    border: 1px solid var(--cat-badge-border, #fde68a);
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.automation-badge svg {
    color: var(--cat-accent, #d97706);
}

.automation-section-intro {
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
    margin-top: 8px;
    max-width: 820px;
}

/* ==========================================================================
   7. Next & Previous Product Navigation Buttons
   ========================================================================== */
.product-nav-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.btn-prod-nav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.btn-prod-nav svg {
    transition: transform 0.2s ease;
}

.btn-prod-nav.prev:hover {
    background: var(--cat-light, #f8fafc);
    border-color: var(--cat-accent, #876a00);
    color: var(--cat-accent, #876a00);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px -3px var(--cat-glow, rgba(248, 206, 36, 0.16));
}

.btn-prod-nav.prev:hover svg {
    transform: translateX(-3px);
    color: var(--cat-accent, #876a00);
}

.btn-prod-nav.next {
    background: var(--cat-gradient, linear-gradient(135deg, #fae06b 0%, #f8ce24 100%));
    color: var(--cat-btn-fg, #ffffff);
    border: 1px solid transparent;
    box-shadow: 0 4px 14px var(--cat-glow, rgba(248, 206, 36, 0.32));
}

.btn-prod-nav.next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--cat-glow, rgba(248, 206, 36, 0.45));
    color: var(--cat-btn-fg, #ffffff);
}

.btn-prod-nav.next svg {
    transform: translateX(3px);
    color: var(--cat-btn-fg, #ffffff);
}

.btn-prod-nav.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================================================
   8. Quick Contact Card (Prominent Callout)
   ========================================================================== */
.product-quick-contact-card {
    background: radial-gradient(circle at 92% 15%, rgba(248, 206, 36, 0.24) 0%, transparent 55%),
        radial-gradient(circle at 8% 85%, rgba(2, 132, 199, 0.18) 0%, transparent 50%),
        linear-gradient(135deg, #090d16 0%, #151d2f 100%);
    border-radius: 20px;
    padding: 34px 32px;
    color: #ffffff;
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.35);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(248, 206, 36, 0.35);
}

.product-quick-contact-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 206, 36, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.quick-contact-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #f8ce24;
    margin-bottom: 8px;
    display: inline-block;
}

.quick-contact-title {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.3;
}

.quick-contact-desc {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 780px;
}

.quick-contact-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.btn-contact-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #ffffff;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    transition: all 0.25s ease;
}

.btn-contact-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.btn-contact-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f8ce24;
    color: #151618;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(248, 206, 36, 0.3);
    transition: all 0.25s ease;
}

.btn-contact-call:hover {
    background: #e0b60c;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(248, 206, 36, 0.42);
    color: #151618;
}

.btn-contact-inquire {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-contact-inquire:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* ==========================================================================
   9. Responsive Adaptations
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. Small Laptops & Large Tablets (max-width: 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .prod-catalog-container {
        grid-template-columns: 330px 1fr;
        gap: 20px;
    }

    .product-panel-card {
        padding: 32px 28px;
    }
}

/* --------------------------------------------------------------------------
   B. Tablets & Mobile Layout Transition (max-width: 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .prod-catalog-section {
        padding: 16px 16px 60px;
        overflow-x: hidden;
    }

    /* Convert 2-column grid to vertical flex with clean spacing */
    .prod-catalog-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 16px;
        margin: 0;
    }

    /* Clean In-Flow Mobile Category Navigation Container */
    .prod-sidebar {
        position: relative;
        top: 0;
        z-index: 10;
        background: #ffffff;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
        max-height: none;
        overflow: hidden;
        box-sizing: border-box;
        transition: box-shadow 0.25s ease;
    }

    .prod-sidebar-card {
        margin: 0;
        padding: 12px 14px 10px;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Mobile Header Bar */
    .prod-sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 10px;
        margin-bottom: 8px;
        border-bottom: 1px solid #f1f5f9;
        gap: 8px;
    }

    .desktop-only-title,
    .desktop-only-badge {
        display: none !important;
    }

    .mobile-only-title {
        display: block !important;
        font-size: 14px;
        font-weight: 700;
        color: #0f172a;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
    }

    .sidebar-mobile-toggle {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        padding: 6px 13px;
        border-radius: 999px;
        background: #fefae6;
        border: 1px solid rgba(171, 135, 0, 0.35);
        color: #876a00;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
        text-decoration: none;
        user-select: none;
    }

    .sidebar-mobile-toggle:hover {
        background: #fef5c8;
        border-color: #f8ce24;
    }

    .sidebar-mobile-toggle .toggle-chevron {
        transition: transform 0.25s ease;
    }

    .prod-sidebar.is-expanded .sidebar-mobile-toggle {
        background: #f8ce24;
        color: #151618;
        border-color: #f8ce24;
    }

    .prod-sidebar.is-expanded .sidebar-mobile-toggle .toggle-chevron {
        transform: rotate(180deg);
    }

    /* Horizontal swipeable pill navigation (Default Mobile State) */
    .sidebar-nav-scroll-wrap {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .sidebar-nav-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        padding: 4px 2px 6px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .sidebar-nav-list::-webkit-scrollbar {
        display: none;
    }

    .sidebar-nav-list>li {
        flex: 0 0 auto;
        display: flex;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .sidebar-nav-item {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        min-width: auto;
        padding: 8px 14px;
        border-radius: 999px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
        gap: 8px;
        transform: none !important;
        box-sizing: border-box;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .sidebar-nav-item:hover {
        background: #f1f5f9;
        border-color: #cbd5e1;
    }

    .sidebar-nav-item.active {
        box-shadow: 0 3px 10px rgba(248, 206, 36, 0.28);
        border-color: #f8ce24;
        background: #fefae6;
    }

    .sidebar-nav-icon {
        width: 24px;
        height: 24px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        transition: all 0.2s ease;
    }

    .sidebar-nav-item.active .sidebar-nav-icon {
        background: #f8ce24;
        color: #151618;
        border-color: transparent;
        box-shadow: 0 2px 6px rgba(248, 206, 36, 0.32);
    }

    .sidebar-nav-icon svg {
        width: 13px;
        height: 13px;
    }

    .sidebar-nav-sub,
    .sidebar-nav-chevron {
        display: none;
    }

    .sidebar-nav-title {
        font-size: 13.5px;
        font-weight: 600;
        color: #334155;
        white-space: nowrap;
    }

    .sidebar-nav-item.active .sidebar-nav-title {
        font-weight: 700;
        color: #876a00;
    }

    .sidebar-help-card {
        display: none;
    }

    /* ==============================================================
       EXPANDED MOBILE STATE: Shows All 7 Categories Full List
       ============================================================== */
    .prod-sidebar.is-expanded .sidebar-nav-list {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        overflow-x: visible;
        overflow-y: visible;
        gap: 8px;
        padding: 6px 2px 10px;
    }

    .prod-sidebar.is-expanded .sidebar-nav-list>li {
        width: 100%;
        display: block;
    }

    .prod-sidebar.is-expanded .sidebar-nav-item {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 10px 14px;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        background: #ffffff;
        gap: 12px;
        box-sizing: border-box;
    }

    .prod-sidebar.is-expanded .sidebar-nav-item:hover {
        background: #f8fafc;
        border-color: #cbd5e1;
    }

    .prod-sidebar.is-expanded .sidebar-nav-item.active {
        background: #fefae6;
        border-color: #f8ce24;
        border-left: 4px solid #f8ce24;
        box-shadow: 0 3px 12px rgba(248, 206, 36, 0.16);
    }

    .prod-sidebar.is-expanded .sidebar-nav-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .prod-sidebar.is-expanded .sidebar-nav-icon svg {
        width: 16px;
        height: 16px;
    }

    .prod-sidebar.is-expanded .sidebar-nav-content {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        min-width: 0;
    }

    .prod-sidebar.is-expanded .sidebar-nav-title {
        font-size: 14px;
        font-weight: 700;
        color: #0f172a;
        white-space: normal;
        line-height: 1.3;
    }

    .prod-sidebar.is-expanded .sidebar-nav-item.active .sidebar-nav-title {
        color: #876a00;
    }

    .prod-sidebar.is-expanded .sidebar-nav-sub {
        display: block !important;
        font-size: 12px;
        font-weight: 500;
        color: #64748b;
        margin-top: 2px;
        line-height: 1.35;
        white-space: normal;
    }

    .prod-sidebar.is-expanded .sidebar-nav-chevron {
        display: block !important;
        margin-left: auto;
        color: #94a3b8;
        flex-shrink: 0;
    }

    .prod-sidebar.is-expanded .sidebar-nav-item.active .sidebar-nav-chevron {
        color: #876a00;
    }

    /* Mobile Technical Support Card in Expanded Drawer */
    .prod-sidebar.is-expanded .sidebar-help-card {
        display: block !important;
        margin: 12px 2px 4px;
        padding: 18px 16px;
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        border-radius: 14px;
        color: #ffffff;
        box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
    }

    .prod-sidebar.is-expanded .sidebar-help-tag {
        font-size: 10.5px;
        font-weight: 800;
        color: #f8ce24;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        display: block;
        margin-bottom: 4px;
    }

    .prod-sidebar.is-expanded .sidebar-help-title {
        font-size: 15px;
        font-weight: 800;
        color: #ffffff;
        margin: 0 0 6px 0;
    }

    .prod-sidebar.is-expanded .sidebar-help-desc {
        font-size: 12.5px;
        color: #cbd5e1;
        line-height: 1.5;
        margin: 0 0 14px 0;
    }

    .prod-sidebar.is-expanded .sidebar-help-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 10px 16px;
        background: #f8ce24;
        color: #151618;
        border-radius: 10px;
        font-size: 13.5px;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(248, 206, 36, 0.35);
        transition: background 0.2s ease;
        box-sizing: border-box;
    }

    /* Content Area & Panels */
    .prod-content-area {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-top: 14px;
        box-sizing: border-box;
    }

    .product-panel {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        scroll-margin-top: calc(var(--header-height, 68px) + 68px);
        box-sizing: border-box;
    }

    .product-panel-card {
        padding: 28px 20px;
        border-radius: 20px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    /* Thumbnails: Smooth Horizontal Strip */
    .gallery-thumbs-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        padding-bottom: 6px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .gallery-thumbs-row::-webkit-scrollbar {
        display: none;
    }

    .gallery-thumb-btn {
        flex: 0 0 92px;
        width: 92px;
        border-radius: 10px;
        padding: 4px;
        box-sizing: border-box;
    }

    .thumb-img-wrap {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .thumb-caption {
        font-size: 10.5px;
        padding: 4px 2px;
    }

    /* Product Grid: 2 Clean Columns on Tablets */
    .product-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .product-item-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}

/* --------------------------------------------------------------------------
   C. Medium Mobile & Phablets (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .prod-catalog-section {
        padding: 14px 12px 50px;
    }

    .prod-sidebar {
        margin: 0 0 12px 0;
        width: 100%;
    }

    .sidebar-nav-list {
        padding: 4px 12px 6px;
    }

    .product-panel-card {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .panel-header {
        margin-bottom: 18px;
    }

    .panel-title {
        font-size: 1.5rem;
        line-height: 1.3;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .gallery-featured-frame {
        border-radius: 16px;
        aspect-ratio: 16 / 9;
        max-height: none;
        min-height: auto;
        width: 100%;
        max-width: 100%;
    }

    .gallery-featured-img {
        padding: 0 !important;
    }

    .gallery-thumb-btn {
        flex: 0 0 88px;
        width: 88px;
    }

    .thumb-img-wrap {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
    }

    /* Product Grid: 1 Single Clean Column on Mobile */
    .product-items-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    /* Quick Contact Actions: Stacked for Easy Tap */
    .quick-contact-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .btn-contact-whatsapp,
    .btn-contact-call,
    .btn-contact-inquire {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        box-sizing: border-box;
    }

    .catalog-watermark {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   D. Standard Mobile Phones (max-width: 576px)
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
    .prod-catalog-section {
        padding: 10px 10px 36px;
    }

    .prod-sidebar {
        margin: 0 0 12px 0;
        width: 100%;
        padding: 0;
    }

    .sidebar-nav-list {
        padding: 2px 4px 4px;
        gap: 6px;
    }

    .sidebar-nav-item {
        padding: 7px 12px;
        gap: 6px;
    }

    .sidebar-nav-title {
        font-size: 13px;
    }

    .mobile-only-title {
        font-size: 13px;
        max-width: 145px;
    }

    .sidebar-mobile-toggle {
        padding: 5px 10px;
        font-size: 11.5px;
    }

    .product-panel-card {
        padding: 16px 12px;
        border-radius: 14px;
    }

    .panel-meta-row {
        gap: 6px;
        margin-bottom: 6px;
    }

    .panel-index-badge {
        font-size: 9.5px;
        padding: 3px 8px;
        letter-spacing: 0.8px;
    }

    .panel-title {
        font-size: 1.3rem;
        line-height: 1.25;
    }

    .gallery-featured-frame {
        border-radius: 12px;
        aspect-ratio: 16 / 9;
        max-height: none;
        min-height: auto;
        width: 100%;
    }

    .gallery-featured-img {
        padding: 0 !important;
    }

    .gallery-arrow {
        width: 36px;
        height: 36px;
    }

    .gallery-arrow-prev {
        left: 6px;
    }

    .gallery-arrow-next {
        right: 6px;
    }

    .gallery-image-tag {
        bottom: 8px;
        left: 8px;
        font-size: 10.5px;
        padding: 3px 8px;
        max-width: calc(100% - 60px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gallery-thumb-btn {
        flex: 0 0 72px;
        width: 72px;
        padding: 2px;
        border-radius: 8px;
    }

    .thumb-img-wrap {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
        border-radius: 6px;
    }

    .thumb-caption {
        display: none;
    }

    .product-desc-lead {
        font-size: 12.5px;
        line-height: 1.55;
        margin-bottom: 16px;
    }

    .category-products-wrap {
        margin-top: 28px;
        margin-bottom: 24px;
    }

    .category-products-title {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .product-items-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .product-item-card {
        padding: 12px 12px;
        border-radius: 12px;
    }

    .product-item-name {
        font-size: 13.5px;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .product-item-desc {
        font-size: 12px;
        line-height: 1.5;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .product-nav-strip {
        flex-direction: column;
        gap: 8px;
        padding: 12px 0;
        margin-bottom: 20px;
    }

    .btn-prod-nav {
        width: 100%;
        justify-content: center;
        font-size: 12.5px;
        padding: 11px 14px;
        min-height: 44px;
        box-sizing: border-box;
    }

    .product-quick-contact-card {
        padding: 18px 12px;
        border-radius: 14px;
    }

    .quick-contact-title {
        font-size: 1.22rem;
        line-height: 1.3;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .quick-contact-desc {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 14px;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .catalog-watermark {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   E. Ultra-Compact Mobile Phones (max-width: 380px)
   -------------------------------------------------------------------------- */
@media (max-width: 380px) {
    .prod-catalog-section {
        padding: 8px 6px 30px;
    }

    .prod-sidebar {
        margin: 0 0 8px 0;
        width: 100%;
    }

    .panel-title {
        font-size: 1.15rem;
    }

    .gallery-featured-frame {
        border-radius: 10px;
        aspect-ratio: 16 / 9;
        max-height: none;
        min-height: auto;
        width: 100%;
    }

    .gallery-featured-img {
        padding: 0 !important;
    }

    .gallery-thumb-btn {
        flex: 0 0 58px;
        width: 58px;
    }

    .thumb-img-wrap {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .sidebar-nav-item {
        padding: 5px 8px;
    }

    .sidebar-nav-title {
        font-size: 11px;
    }

    .product-item-header {
        gap: 8px;
    }

    .product-item-icon {
        width: 28px;
        height: 28px;
        border-radius: 6px;
    }

    .product-item-icon svg {
        width: 16px;
        height: 16px;
    }

    .quick-contact-title {
        font-size: 1.1rem;
    }
}


/* ==========================================================================
   Master Catalog Hub Styles (/products/index.php)
   ========================================================================== */
.catalog-hub-section {
    position: relative;
    padding: 0 0 60px;
    background-color: #f8fafc;
    min-height: 80vh;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.catalog-hub-hero {
    position: relative;
    padding: 48px 24px 36px;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
    z-index: 2;
}

.hub-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #fefae6;
    border: 1px solid rgba(171, 135, 0, 0.35);
    border-radius: 999px;
    color: #876a00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hub-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.hub-hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: #475569;
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 780px;
}

.hub-trust-ribbon {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    padding-top: 16px;
    border-top: 1px dashed #cbd5e1;
}

.hub-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.hub-trust-item svg {
    color: #876a00;
    flex-shrink: 0;
}

/* Master Hub Division Cards Grid */
.hub-divisions-section {
    position: relative;
    z-index: 2;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.hub-divisions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 1100px) {
    .hub-divisions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 700px) {
    .hub-divisions-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.hub-division-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.hub-division-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
    border-color: #f8ce24;
}

.hub-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    background: #0f172a;
}

.hub-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.hub-division-card:hover .hub-card-image {
    transform: scale(1.05);
}

.hub-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.8px;
}

.hub-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hub-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}

.hub-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fefae6;
    color: #876a00;
    border: 1px solid rgba(171, 135, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hub-card-icon svg {
    width: 22px;
    height: 22px;
}

.hub-card-title-group {
    flex-grow: 1;
}

.hub-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 4px 0;
}

.hub-card-sub {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: block;
}

.hub-card-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hub-card-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.hub-card-item-pill {
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    padding: 3px 9px;
    border-radius: 6px;
}

.hub-card-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    color: #876a00;
    font-size: 13.5px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.hub-division-card:hover .hub-card-cta {
    color: #6b5400;
}

.hub-card-cta svg {
    transition: transform 0.2s ease;
}

.hub-division-card:hover .hub-card-cta svg {
    transform: translateX(4px);
}

/* Master Hub Technical Support Banner */
.hub-support-banner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px 80px;
    position: relative;
    z-index: 2;
}

.hub-support-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
    color: #ffffff;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    .hub-support-box {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }
}

.hub-support-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: #f8ce24;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.hub-support-title {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 12px 0;
}

.hub-support-desc {
    font-size: 14.5px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.hub-support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .hub-support-actions {
        justify-content: flex-start;
    }
}