@view-transition {
    navigation: auto;
}

:root {
    
    --primary: #0f172a;       
    --primary-light: #1e293b; 
    --primary-dark: #020617;  
    --secondary: #2563eb;     
    --secondary-light: #eff6ff; 
    --secondary-hover: #1d4ed8;
    --accent: #d90606;        
    --accent-light: #fef3c7;   
    --accent-hover: #b40909;
    --success: #10b981;       
    
    
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #f8fafc;
    --text-gray: #64748b;
    
    
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark-section: #0b0f19;
    
    
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 20px -6px rgba(15, 23, 42, 0.12), 0 3px 8px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.18), 0 6px 16px -4px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 30px 60px -15px rgba(15, 23, 42, 0.25), 0 12px 24px -8px rgba(15, 23, 42, 0.1);

    
    --glass-light-bg: rgba(255, 255, 255, 0.62);
    --glass-light-border: rgba(255, 255, 255, 0.8);
    --glass-dark-bg: rgba(15, 23, 42, 0.55);
    --glass-dark-border: rgba(255, 255, 255, 0.14);
    --glass-blur: blur(20px) saturate(180%);
    --glass-blur-sm: blur(12px) saturate(160%);
    --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.16);

    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease);
    --transition-normal: 0.35s var(--ease);
    --transition-slow: 0.6s var(--ease);
    --max-width: 1240px;
    --font-primary: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
    
    background-color: var(--primary-dark);
}

html.scroll-locked,
body.scroll-locked {
    overflow: hidden;
    height: 100%;
    touch-action: none;
    overscroll-behavior: none;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    
    background-color: var(--primary-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-whatsapp-large {
    background-color: var(--success);
    color: var(--text-light);
    width: 100%;
    font-size: 18px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
}

.btn-whatsapp-large:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 34px;
    font-size: 17px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
    
    background-color: #ffffff;
    box-shadow: var(--glass-shadow), 0 1px 0 rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.navbar.scrolled {
    padding: 12px 0;
}

.navbar.scrolled::before {
    display: none;
}

.navbar.scrolled .logo-main {
    color: #000000;
}

.navbar.scrolled .nav-link {
    color: rgba(0, 0, 0, 0.7);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: #000000;
}

.navbar.scrolled .nav-chevron {
    color: rgba(0, 0, 0, 0.6);
}

.navbar.scrolled .nav-toggle {
    color: #000000;
}

.nav-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-main {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 800;
    color: #000000;
    letter-spacing: 0.2px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu-header {
    display: none;
}

.nav-menu-map-item {
    display: none;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 15px;
    color: rgba(0, 0, 0, 0.7);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #000000;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    background-color: var(--accent);
    color: var(--text-light);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    padding: 6px;
    color: #000000;
}

.nav-toggle-icon {
    width: 22px;
    height: 22px;
    display: block;
    transition: transform 0.6s var(--ease);
}

.nav-toggle.active {
    color: #000000;
}

.nav-toggle.active .nav-toggle-icon {
    transform: rotate(-45deg);
}

.nav-toggle-icon .toggle-path {
    stroke-dasharray: 12 63;
    stroke-dashoffset: 0;
    transition: stroke-dasharray 0.6s var(--ease), stroke-dashoffset 0.6s var(--ease);
}

.nav-toggle.active .nav-toggle-icon .toggle-path {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42px;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-chevron {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    transition: transform 0.25s ease;
    color: rgba(0, 0, 0, 0.6);
}

.nav-chevron svg {
    width: 11px;
    height: 11px;
}

.nav-link-icon,
.nav-link-arrow {
    display: none;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 1100;

    background: #ffffff;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 20px;
    min-width: 420px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: none;
    border-right: none;
    border-radius: 3px 0 0 0;
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -20px;   
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-chevron {
    transform: rotate(90deg);
    color:#3061d4;
}

.nav-subpanel-back {
    display: none;
}

.dropdown-categories-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.dropdown-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px 12px;
    border-radius: 12px;
    background: var(--secondary-light);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease;
    text-decoration: none;
}

.dropdown-cat-item .dropdown-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 7px;
    box-sizing: border-box;
    flex-shrink: 0;
    border-radius: 9px;
    background: #ffffff;
    color: var(--secondary);
    transition: background-color 0.18s ease, color 0.18s ease;
}

.dropdown-cat-item span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-cat-item:hover {
    background: var(--secondary);
    color: #ffffff;
}

.nav-dropdown.dropdown-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown.dropdown-open .nav-chevron {
    transform: rotate(180deg);
    color: #000000;
}

/* Guard: on desktop the dropdown must never be height-capped. If a leftover
   inline max-height from the mobile accordion (app.js) sticks around after
   the viewport switches back to desktop, this forces it back to auto so the
   white background/shadow always covers the full grid instead of cutting
   off the last row. */
@media (min-width: 769px) {
    .nav-dropdown-menu {
        max-height: none !important;
        overflow: visible !important;
    }
}

.hero {
    height: 90vh;
    min-height: 600px;
    position: relative;
    background-color: var(--primary-dark);
    
    background-image: radial-gradient(circle at 10% 20%, rgba(30, 41, 59, 0.3) 0%, rgba(15, 23, 42, 0.9) 90%), url('../assets/brand/header-page.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: var(--text-light);
    padding-top: 80px;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: 1;
}

.hero-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 680px;
}

.hero-title {
    font-size: 54px;
    line-height: 1.15;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 36px;
    font-weight: 300;
}

.stats {
    background-color: var(--bg-light);
    padding: 20px 0 60px 0;
    position: relative;
    z-index: 4;
}

.stats-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: -50px; 
}

.stat-card {
    background-color: var(--glass-light-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-light-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--glass-shadow);
    border-bottom: 4px solid var(--secondary);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background-color: rgba(255, 255, 255, 0.8);
}

.stat-icon {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

.about {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.about-img {
    width: 100%;
    height: 480px;
    object-fit: contain;
    background-color: #ededed;
    padding: 20px;
    transition: transform var(--transition-normal);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.03);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.about-image-wrapper:hover .about-image-overlay {
    opacity: 1;
}

.about-image-overlay i {
    font-size: 30px;
}

.about-image-overlay span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.about-experience-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background-color: var(--glass-dark-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-light);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--accent);
    box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
}

.about-experience-badge .years {
    font-family: var(--font-primary);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-light);
}

.about-experience-badge .text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #afb7c1;
    margin-top: 4px;
}

/* Brand Terpopuler */
.brands {
    padding: 90px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.brand-item {
    position: relative;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* ------------------------------------------------------------------------
   LAZY-LOAD SKELETON — satu desain dipakai bareng untuk logo brand,
   thumbnail katalog, dan gambar company profile. Skeleton disembunyikan
   otomatis (opacity:0) begitu wrapper induknya dapat class "is-loaded"
   dari event onload gambar (lihat app.js / inline onload di index.astro).
   ------------------------------------------------------------------------ */
@keyframes lazySkeletonShimmer {
    0% { background-position: -150% 0; }
    100% { background-position: 150% 0; }
}

.brand-skeleton,
.lazy-skeleton {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: linear-gradient(90deg, var(--bg-light) 25%, var(--border-color) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: lazySkeletonShimmer 1.4s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.is-loaded .brand-skeleton,
.is-loaded .lazy-skeleton {
    opacity: 0;
    pointer-events: none;
}

.brand-logo-img,
.lazy-img {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.brand-logo-img.is-loaded,
.lazy-img.is-loaded {
    opacity: 1;
}

.brand-item:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.brand-item img {
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(20%) opacity(0.85);
    transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
}

.brand-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .brands {
        padding: 60px 0;
    }
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .brand-item {
        height: 85px;
        padding: 12px 14px;
    }
    .brand-item img {
        max-height: 42px;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .brand-item {
        height: 75px;
        padding: 10px;
    }
    .brand-item img {
        max-height: 36px;
    }
}

.katalog {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.katalog-preview {
    max-width: 440px;
    margin: 0 auto;
}

.katalog-preview .about-image-wrapper {
    margin: 0 auto;
}

.katalog-preview-cta {
    text-align: center;
    margin-top: 32px;
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 18px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.pillar-item {
    display: flex;
    gap: 16px;
}

.pillar-icon {
    width: 44px;
    height: 44px;
    background-color: var(--secondary-light);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.pillar-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.pillar-text p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 0;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    margin-top: 60px;
}

.vision-card,
.mission-card {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.vision-card::before,
.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--secondary);
}

.vision-card::before {
    background-color: var(--accent);
}

.card-icon {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.vision-card .card-icon {
    color: var(--accent);
}

.vision-card h3,
.mission-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.vision-card p {
    color: var(--text-muted);
}

.mission-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mission-card li {
    display: flex;
    gap: 10px;
    color: var(--text-muted);
}

.mission-card li i {
    color: var(--secondary);
    font-size: 12px;
    margin-top: 6px;
    flex-shrink: 0;
}

.products {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.catalog-search {
    margin: 0 0 28px 0;
    max-width: 100%;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
}

.filter-sidebar {
    position: sticky;
    top: 90px; 
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.filter-sidebar-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-gray);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-dropdown-trigger {
    display: none;
}

.catalog-main {
    min-width: 0; 
    width: 100%;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translate(-50%, -50%); 
    top: 24px;
    font-size: 18px;
    color: var(--text-gray);
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 16px;
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.search-box input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.clear-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 18px;
    cursor: pointer;
    display: none;
}

.clear-search:hover {
    color: var(--primary);
}

.filter-tabs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.filter-tabs-grid {
    display: contents;
}

.filter-btn {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 13.5px;
    padding: 9px 14px;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

.filter-btn.active {
    background-color: var(--secondary-light);
    color: var(--secondary);
    font-weight: 700;
    border-left: 3px solid var(--secondary);
    padding-left: 11px;
}

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

.pick-category-prompt {
    width: 100%;
    text-align: center;
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.5s ease both;
}

.pick-category-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--secondary-light), #dbeafe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--secondary);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    animation: bouncePointer 1.8s ease-in-out infinite;
}

.pick-category-icon i {
    transition: transform 0.3s ease;
}

@media (max-width: 900px) {
    .pick-category-icon i {
        transform: rotate(90deg);
    }
}

@keyframes bouncePointer {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.pick-category-prompt h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
}

.pick-category-prompt p {
    font-size: 13px;
    color: var(--text-gray);
    max-width: 340px;
}

.product-card {
    position: relative;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 28px -14px rgba(15, 23, 42, 0.18);
    border-color: var(--border-hover);
}

.product-card:hover::before {
    opacity: 1;
}

.product-img-box {
    height: 180px;
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.product-img-box.has-slider {
    overflow: hidden;
}

.product-img-box .card-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.product-img-box .card-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.slide-prev { left: 8px; }
.slide-next { right: 8px; }

.product-img-box.has-slider:hover .slide-arrow {
    opacity: 1;
}
.slide-arrow:hover {
    background: var(--secondary);
    color: #fff;
}

.slide-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 10;
}

.slide-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0,0,0,0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.2s ease;
}

.slide-dot.active {
    background: var(--secondary);
    transform: scale(1.25);
}

.product-tag {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-details-box {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-brand {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-name {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: var(--secondary);
}

.product-specs-summary {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-specs-summary li {
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}

.product-specs-summary .spec-lbl {
    font-weight: 500;
}

.product-specs-summary .spec-val {
    color: var(--text-dark);
}

.product-actions-box {
    display: flex;
    gap: 8px;
}

.product-actions-box .btn {
    padding: 8px 12px;
    font-size: 14px;
    flex: 1;
    transition: var(--transition-normal);
}

.product-actions-box .btn:hover {
    transform: translateY(-2px);
}

.btn-detail {
    background-color: var(--bg-light);
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.btn-detail:hover {
    background-color: var(--border-color);
}

.btn-quote {
    background-color: var(--secondary);
    color: var(--text-light);
}

.btn-quote:hover {
    background-color: var(--secondary-hover);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.no-results {
    text-align: center;
    padding: 60px 24px;
    grid-column: 1 / -1;
    display: none;
}

.no-results i {
    font-size: 64px;
    color: var(--border-hover);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.no-results p {
    color: var(--text-gray);
    margin-bottom: 24px;
}

.catalogs {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.catalogs .catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .catalogs .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .catalogs .catalog-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.products .catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
    justify-content: center;
}

.catalog-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-normal);
    cursor: pointer;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.catalog-thumb {
    height: 240px;
    background-color: #ededed;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.catalog-thumb img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
}

.catalog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    opacity: 0;
    transition: var(--transition-normal);
}

.catalog-card:hover .catalog-thumb img {
    transform: scale(1.05);
}

.catalog-card:hover .catalog-overlay {
    opacity: 1;
}

.catalog-overlay i {
    font-size: 28px;
    color: var(--accent);
}

.catalog-info {
    padding: 16px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.catalog-info h3 {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-info p {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 17, 0.95);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 32px;
    cursor: pointer;
    z-index: 2002;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    z-index: 2002;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    margin-top: 30px;
    text-align: center;
    color: var(--text-light);
    z-index: 2002;
}

.lightbox-caption span {
    display: block;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent);
    color: var(--text-light);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
}

.btn-download:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    z-index: 1500;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 26px;
    max-width: 440px;
    width: 92%;
    max-height: 88vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: scale(0.94) translateY(10px);
    transition: transform var(--transition-normal);
    
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-content::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
    border: 1px solid rgba(255, 255, 255, 0.9);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--primary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
    z-index: 20;
}

.modal-close:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.modal-main {
    display: flex;
    flex-direction: column;
}

.modal-img-container {
    position: relative;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
    overflow: hidden;
    transition: var(--transition-fast);
}

.modal-img-container:hover {
    box-shadow: var(--shadow-md);
}

.modal-img-container:hover .modal-icon-placeholder img {
    transform: scale(1.04);
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-normal);
}

.modal-icon-placeholder {
    font-size: 72px;
    color: var(--primary-light);
    width: 100%;
    height: 100%;
}

.modal-img-zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header-info {
    text-align: center;
    margin-bottom: 18px;
    width: 100%;
}

.modal-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--secondary);
    background-color: var(--secondary-light);
    border: 1px solid rgba(37, 99, 235, 0.15);
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 5px 12px;
    border-radius: 999px;
}

.modal-title {
    font-size: 21px;
    line-height: 1.3;
    color: var(--primary);
    margin: 12px 0 4px;
}

.modal-brand {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.modal-details {
    width: 100%;
}

.modal-details h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.specs-table-wrapper {
    margin-bottom: 18px;
    max-height: 260px;
    overflow-y: auto;
    padding: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.specs-table-wrapper::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.specs-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    border-collapse: collapse;
}

.specs-table tbody {
    display: contents;
}

.specs-table tr {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

.specs-table td {
    border: none;
    padding: 0;
}

.specs-table td.spec-name {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-muted);
    font-weight: 700;
    background: none;
    width: auto;
}

.specs-table td.spec-val {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    text-align: right;
}

.modal-action-box {
    background: var(--secondary-light);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: center;
}

.modal-action-box p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.image-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.image-lightbox-stage {
    max-width: 90vw;
    max-height: 85vh;
    transform: scale(0.92);
    transition: transform var(--transition-normal);
}

.image-lightbox.active .image-lightbox-stage {
    transform: scale(1);
}

.image-lightbox-img {
    display: block;
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    background: #fff;
}

.lightbox-close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 2010;
}

.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

@media (min-width: 701px) {
    .modal-content {
        max-width: 480px;
    }

    .modal-body {
        padding: 28px 26px;
    }

    .modal-img-container {
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   Product Modal — Desktop "Instagram Post" Layout
   Image on the left, details on the right, stacked like a social post.
   Mobile (<=768px) is untouched and keeps the original centered layout.
   ========================================================================== */
@media (min-width: 769px) {
    .modal-content {
        max-width: 880px;
        width: 90%;
        max-height: 84vh;
        border-radius: 24px;
    }

    .modal-body {
        padding: 0;
        display: block;
    }

    .modal-main {
        display: grid;
        grid-template-columns: minmax(0, 50%) minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        grid-template-areas:
            "img header"
            "img details";
        min-height: 440px;
        max-height: 84vh;
    }

    /* Left column — product photo, full height, Instagram-style crop */
    .modal-img-container {
        grid-area: img;
        width: 100%;
        max-width: none;
        aspect-ratio: auto;
        height: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        border: none;
        border-right: 1px solid var(--border-color);
    }

    .modal-img-container img {
        height: 100%;
    }

    .modal-icon-placeholder {
        height: 100%;
    }

    /* Right column — header */
    .modal-header-info {
        grid-area: header;
        text-align: left;
        margin: 0;
        padding: 46px 28px 0;
    }

    .modal-title {
        font-size: 22px;
    }

    /* Right column — specs + CTA, scrolls internally if content is long */
    .modal-details {
        grid-area: details;
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 16px 28px 24px;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .modal-details::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .modal-details h3 {
        text-align: left;
    }

    .specs-table-wrapper {
        max-height: none;
        overflow-y: visible;
        margin-bottom: 16px;
    }

    /* WhatsApp CTA — compact, sits below the specs */
    .modal-action-box {
        margin-top: auto;
        text-align: left;
        padding: 14px 16px;
    }

    .modal-action-box p {
        font-size: 12.5px;
        margin-bottom: 10px;
    }

    .modal-action-box .btn-whatsapp-large {
        width: auto;
        font-size: 13.5px;
        padding: 9px 18px;
        border-radius: var(--radius-sm);
        box-shadow: none;
    }

    .modal-close {
        top: 16px;
        right: 16px;
    }
}

.pdf-modal-content {
    max-width: 900px;
    height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pdf-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 60px 20px 30px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.pdf-modal-header h3 {
    font-size: 18px;
    color: var(--primary);
    margin: 0;
}

.pdf-modal-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.pdf-modal-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.pdf-modal-actions .btn {
    padding: 10px 18px;
    font-size: 13px;
}

.pdf-viewer-wrap {
    position: relative;
    flex: 1;
    width: 100%;
    overflow: hidden;
}

.pdf-viewer-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--bg-light);
    color: var(--text-muted);
    font-size: 14px;
    z-index: 1;
    transition: opacity 0.25s ease;
}

.pdf-viewer-loading i {
    font-size: 28px;
    color: var(--primary);
}

.pdf-viewer-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.pdf-viewer-error {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--bg-light);
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    padding: 40px;
    z-index: 2;
    transition: opacity 0.25s ease;
}

.pdf-viewer-error i {
    font-size: 28px;
    color: #e11d48;
    margin-bottom: 4px;
}

.pdf-viewer-error p {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

.pdf-viewer-error span {
    max-width: 380px;
    line-height: 1.5;
}

.pdf-viewer-error-detail {
    margin-top: 12px;
    padding: 6px 12px;
    background-color: #fee2e2;
    color: #991b1b;
    border-radius: 6px;
    font-size: 12px;
    word-break: break-word;
    max-width: 90%;
}

.pdf-viewer-error.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.pdf-viewer-canvas-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    overflow: auto;
    background-color: #e9edf2;
    display: flex;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.pdf-viewer-canvas-wrap.with-nav {
    bottom: 56px;
}

.pdf-viewer-canvas-wrap.hidden {
    display: none;
}

.pdf-viewer-canvas-wrap canvas {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    background-color: #fff;
}

.pdf-viewer-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: #fff;
    border-top: 1px solid var(--border-color);
    z-index: 2;
}

.pdf-viewer-nav.hidden {
    display: none;
}

.pdf-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.pdf-nav-btn:hover:not(:disabled) {
    background-color: var(--bg-hover, #eef2f7);
}

.pdf-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.pdf-page-indicator {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 60px;
    text-align: center;
}

@media (max-width: 768px) {
    .pdf-modal-content {
        height: 92vh;
        width: 97%;
    }

    .pdf-modal-header {
        padding: 16px 50px 16px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .pdf-modal-actions {
        width: 100%;
    }

    .pdf-modal-actions .btn {
        flex: 1;
        justify-content: center;
    }

    .pdf-viewer-canvas-wrap {
        padding: 8px;
    }

    .pdf-viewer-nav {
        height: 50px;
        gap: 24px;
    }

    .pdf-viewer-canvas-wrap.with-nav {
        bottom: 50px;
    }
}

.contact {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info-panel {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info-panel::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.contact-info-panel h3 {
    color: var(--text-light);
    font-size: 24px;
    margin-bottom: 6px;
}

.panel-desc {
    color: var(--accent);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.method-item {
    display: flex;
    gap: 18px;
}

.method-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.method-text h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 4px;
}

.method-text p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 0;
}

.method-text a {
    color: var(--text-light);
}

.method-text a:hover {
    color: var(--accent);
}

.whatsapp-direct-box {
    margin-top: 30px;
    background-color: rgba(255, 255, 255, 0.06);
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
    border: 1px solid var(--glass-dark-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 24px;
}

.whatsapp-direct-box h4 {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 8px;
}

.whatsapp-direct-box p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.map-section {
    margin-top: 40px;
    height: 320px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-info-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 500;
    max-width: 320px;
}

.map-overlay-content {
    background-color: var(--glass-dark-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-dark-border);
    box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    padding: 24px;
    border-radius: var(--radius-md);
}

.map-overlay-content h4 {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}

.map-overlay-content p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.office-map-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--bg-light);
}

.office-map-wrap.hidden {
    display: none;
}

.office-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-error {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 32px;
    background-color: var(--bg-light);
    color: var(--text-muted);
}

.map-error i {
    font-size: 26px;
    color: var(--secondary);
    margin-bottom: 4px;
}

.map-error p {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.map-error span {
    font-size: 13px;
    max-width: 280px;
    line-height: 1.5;
}

.map-error.hidden {
    display: none;
}

.scroll-to-top {
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--glass-light-bg);
    color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 900;
}

.scroll-to-top:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-5px);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   404 ERROR PAGE
   ========================================================================== */
.error-404-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-dark);
    background-image: radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.25) 0%, transparent 45%),
                       radial-gradient(circle at 85% 80%, rgba(217, 6, 6, 0.18) 0%, transparent 45%);
    padding: 140px 24px 80px 24px;
    text-align: center;
}

.error-404-bg-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: 0 0, 16px 16px;
    z-index: 0;
}

.error-404-container {
    position: relative;
    z-index: 1;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error-404-badge {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--glass-dark-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-dark-border);
    box-shadow: var(--glass-shadow), 0 0 0 6px rgba(37, 99, 235, 0.12), 0 0 24px rgba(217, 6, 6, 0.15);
    color: var(--accent);
    font-size: 30px;
    margin-bottom: 28px;
    animation: error-badge-float 3.2s var(--ease) infinite;
}

@keyframes error-badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.error-404-code {
    font-size: 130px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.35) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-404-title {
    font-size: 28px;
    color: var(--text-light);
    margin-bottom: 14px;
}

.error-404-desc {
    font-size: 16px;
    color: rgba(248, 250, 252, 0.7);
    max-width: 480px;
    margin: 0 auto 36px auto;
    line-height: 1.7;
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
}

.error-404-actions .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.error-404-actions .btn-outline {
    border-color: rgba(217, 6, 6, 0.45);
}

.error-404-actions .btn-outline:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-light);
    box-shadow: 0 8px 20px rgba(217, 6, 6, 0.3);
}

.error-404-quicklinks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 20px;
    font-size: 14px;
    color: rgba(248, 250, 252, 0.5);
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.error-404-quicklinks a {
    color: rgba(248, 250, 252, 0.85);
    font-weight: 500;
    transition: var(--transition-fast);
}

.error-404-quicklinks a i {
    margin-right: 6px;
    color: var(--secondary);
}

.error-404-quicklinks a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .error-404-code {
        font-size: 88px;
    }

    .error-404-title {
        font-size: 22px;
    }

    .error-404-actions {
        flex-direction: column;
        width: 100%;
    }

    .error-404-actions .btn {
        width: 100%;
    }
}

.footer {
    background-color: var(--bg-dark-section);
    color: var(--text-light);
}

.footer-top {
    padding: 80px 0 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.3fr 1fr;
    gap: 40px;
}

.brand-desc {
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
    text-align: justify;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--text-light);
    transform: translateY(-3px);
}

.footer-brand h3,
.footer-links h3,
.footer-products h3,
.footer-contact h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-brand h3::after,
.footer-links h3::after,
.footer-products h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-products ul {
    column-count: 2;
    column-gap: 16px;
}

.footer-links li,
.footer-products li {
    margin-bottom: 12px;
    break-inside: avoid;
}

.footer-links a,
.footer-products a {
    font-size: 14px;
    color: var(--text-light);
    opacity: 0.85;
}

.footer-links a:hover,
.footer-products a:hover {
    color: var(--text-light);
    opacity: 1;
    padding-left: 6px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
}

.footer-contact p i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    padding: 30px 0;
    font-size: 13px;
}

.footer-bottom-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-img {
        height: 380px;
    }
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1.5fr 1fr;
    }
}

@media (max-width: 480px) {
    .katalog-preview {
        max-width: 100%;
    }
    .katalog-preview .about-img {
        height: 300px;
    }
    .logo-main {
        font-size: 11px;
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    
    .nav-toggle {
        display: flex;
    }

    
    .logo-main {
        font-size: 12.5px;
        max-width: 260px;
    }

    
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(2, 6, 23, 0.55);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        height: 100dvh;
        background-color: #ffffff;
        background-image:
            radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.08), transparent 55%),
            radial-gradient(circle at 0% 100%, rgba(37, 99, 235, 0.05), transparent 55%),
            radial-gradient(circle at 85% 100%, rgba(217, 6, 6, 0.05), transparent 40%),
            radial-gradient(circle at 8% 92%, rgba(37, 99, 235, 0.08), transparent 35%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        
        transition: right 0.5s var(--ease);
        will-change: right;
        z-index: 1001;
        border-top: none;
        border-radius: 0;
        box-shadow: var(--shadow-xl);
        
        touch-action: pan-y;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-menu.active {
        right: 0;
    }

    .navbar.scrolled .nav-menu {
        top: 0;
        height: 100vh;
        height: 100dvh;
        background-color: #ffffff;
    }

    
    .nav-menu > li {
        opacity: 0;
    }

    .nav-menu.active > li {
        animation: navItemIn 0.45s var(--ease) forwards;
    }

    .nav-menu.active > li:nth-child(1) { animation-delay: 0.05s; }
    .nav-menu.active > li:nth-child(2) { animation-delay: 0.1s; }
    .nav-menu.active > li:nth-child(3) { animation-delay: 0.15s; }
    .nav-menu.active > li:nth-child(4) { animation-delay: 0.2s; }
    .nav-menu.active > li:nth-child(5) { animation-delay: 0.25s; }
    .nav-menu.active > li:nth-child(6) { animation-delay: 0.3s; }
    .nav-menu.active > li:nth-child(7) { animation-delay: 0.35s; }
    .nav-menu.active > li:nth-child(8) { animation-delay: 0.4s; }

    @keyframes navItemIn {
        to {
            opacity: 1;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .nav-menu > li,
        .nav-menu.active > li {
            animation: none !important;
            opacity: 1;
            transform: none;
        }
        .nav-menu,
        .nav-dropdown-menu {
            transition: none;
        }
    }

    
    .nav-menu-header {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 22px 20px;
        background-color: #ffffff;
        flex-shrink: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    .nav-menu-header-brand {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    .nav-menu-header-logo {
        height: 32px;
        width: auto;
        object-fit: contain;
        border-radius: 8px;
    }

    .nav-menu-header-text {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

    .nav-menu-header-main {
        font-family: var(--font-primary);
        font-weight: 800;
        font-size: 13px;
        line-height: 1.35;
        color: var(--primary-dark);
        letter-spacing: 0.3px;
    }

    .nav-menu > li:not(.nav-menu-header) {
        width: 100%;
    }

    
    .nav-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto auto 1fr auto;
        gap: 10px;
        padding: 0 12px calc(48px + env(safe-area-inset-bottom, 0px));
    }

    .nav-menu > li:nth-child(1) { grid-row: 1; }
    .nav-menu > li:nth-child(2) { grid-row: 2; }
    .nav-menu > li:nth-child(3) { grid-row: 2; }
    .nav-menu > li:nth-child(4) { grid-row: 3; }
    .nav-menu > li:nth-child(5) { grid-row: 4; }
    .nav-menu > li:nth-child(6) { grid-row: 4; }
    .nav-menu > li:nth-child(7) { grid-row: 5; }
    .nav-menu > li:nth-child(8) { grid-row: 7; }

    .nav-menu-header,
    .nav-cta-item,
    .nav-dropdown,
    .nav-menu-map-item {
        grid-column: 1 / -1;
    }

    .nav-menu-map-item {
        display: block;
    }

    
    .nav-menu-header {
        margin: 0 -12px;
        width: calc(100% + 24px);
    }

    .nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        height: 92px;
        padding: 14px 8px;
        color: var(--secondary);
        font-size: 12px;
        font-weight: 600;
        text-align: center;
        line-height: 1.25;
        border-radius: 16px;
        border: 1px solid transparent;
        background-color: var(--secondary-light);
        transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    }

    .nav-link-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: var(--secondary);
        transition: color 0.25s ease;
    }

    .nav-link-icon svg {
        width: 22px;
        height: 22px;
    }

    .nav-link-arrow {
        display: none;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        color: #ffffff;
        background-color: var(--secondary);
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
    }

    .nav-link:hover .nav-link-icon,
    .nav-link.active .nav-link-icon {
        color: #ffffff;
    }

    .nav-cta-item {
        width: 100%;
        margin-top: 2px;
        margin-bottom: 10px;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-cta {
        justify-content: center;
        width: auto;
        padding: 10px 22px;
        border-radius: 999px;
        font-size: 13px;
        letter-spacing: 0.2px;
        box-shadow: 0 3px 10px rgba(217, 6, 6, 0.2);
        transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
    }

    .nav-cta:active {
        transform: scale(0.98);
    }

    .nav-cta-dropdown.open .nav-cta {
        box-shadow: 0 2px 6px rgba(217, 6, 6, 0.14);
    }

    .nav-cta .fa-whatsapp {
        font-size: 14px;
    }

    .nav-cta-chevron {
        font-size: 11px;
        margin-left: 4px;
    }

    
    .nav-menu-map {
        position: relative;
        display: block;
        height: 150px;
        border-radius: 14px;
        overflow: hidden;
        background: linear-gradient(135deg, #e8f0fc 0%, #dbe7f8 100%);
        text-decoration: none;
    }

    .nav-menu-map-pattern {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        stroke: rgba(37, 99, 235, 0.22);
        stroke-width: 5;
        stroke-linecap: round;
    }

    .nav-menu-map-pin {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -60%);
        font-size: 30px;
        color: var(--accent);
        filter: drop-shadow(0 3px 5px rgba(15, 23, 42, 0.3));
    }

    .nav-menu-map-overlay {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 10px 12px;
        background: rgba(255, 255, 255, 0.94);
    }

    .nav-menu-map-title {
        font-size: 12px;
        font-weight: 700;
        color: var(--primary-dark);
    }

    .nav-menu-map-address {
        font-size: 10px;
        color: #64748b;
        line-height: 1.35;
    }

    .nav-menu-map-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
        font-size: 11px;
        font-weight: 700;
        color: var(--secondary);
    }

    
    .nav-dropdown:hover .nav-dropdown-menu {
        grid-template-rows: 0fr;
    }

    .nav-dropdown {
        width: 100%;
        z-index: 5;
        isolation: isolate;
    }

    .nav-dropdown-trigger {
        flex-direction: row;
        height: auto;
        justify-content: flex-start;
        padding: 13px 14px;
        gap: 12px;
        text-align: left;
        position: relative;
    }

    .nav-dropdown-trigger::after {
        display: none;
    }

    .nav-dropdown-trigger .nav-link-icon {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        border-radius: 10px;
        background: rgba(37, 99, 235, 0.14);
        font-size: 16px;
    }

    .nav-dropdown-trigger .nav-link-icon svg {
        width: 16px;
        height: 16px;
    }

    .nav-dropdown-trigger:hover .nav-link-icon,
    .nav-dropdown-trigger.active .nav-link-icon {
        background: rgba(255, 255, 255, 0.25);
    }

    .nav-dropdown-trigger .nav-link-text {
        flex: 1;
        text-align: left;
        font-size: 13.5px;
    }

    .nav-dropdown-trigger .nav-chevron {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        position: static;
        transform: none;
        transition: transform 0.3s ease, color 0.25s ease;
        color: rgba(37, 99, 235, 0.6);
        flex-shrink: 0;
    }

    .nav-dropdown-trigger .nav-chevron svg {
        width: 14px;
        height: 14px;
    }

    .nav-dropdown-trigger:hover .nav-chevron,
    .nav-dropdown-trigger.active .nav-chevron {
        color: #ffffff;
    }

    .nav-dropdown.dropdown-open .nav-dropdown-trigger {
        color: #ffffff;
        background-color: var(--secondary);
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
    }

    .nav-dropdown.dropdown-open .nav-dropdown-trigger .nav-link-icon {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.25);
    }

    .nav-dropdown.dropdown-open .nav-dropdown-trigger .nav-chevron {
        transform: rotate(90deg);
        color: #ffffff;
    }

    .nav-dropdown:hover .nav-chevron {
        transform: none;
        color: rgba(37, 99, 235, 0.6);
    }

    
    .nav-dropdown-menu {
        position: static;
        inset: auto;
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        max-height: 0;
        margin: 0;
        padding: 0;
        border-radius: 14px;
        border: none;
        background-color: rgba(37, 99, 235, 0.045);
        background-image: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        transform: none;
        transition: max-height 0.4s var(--ease), margin-top 0.4s var(--ease);
        will-change: max-height;
        z-index: 1;
        
        touch-action: pan-y;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        overflow: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-menu::-webkit-scrollbar,
    .nav-dropdown-menu::-webkit-scrollbar {
        display: none;
        width: 0;
    }

    .nav-dropdown.dropdown-open .nav-dropdown-menu {
        margin-top: 8px;
        pointer-events: auto;
        transform: none;
        /* max-height is set inline by JS to the content's real height */
    }

    
    .nav-subpanel-back {
        display: none;
    }

    .nav-subpanel-body {
        padding: 8px 4px 12px;
    }

    .nav-dropdown-menu,
    .nav-dropdown-menu .nav-subpanel-body,
    .nav-dropdown-menu .dropdown-categories-grid {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .nav-subpanel-body .dropdown-categories-grid,
    .dropdown-categories-grid {
        display: grid !important;
        grid-auto-flow: row !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 9px;
        width: 100%;
    }

    .dropdown-cat-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 10px;
        grid-column: auto !important;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 12.5px;
        font-weight: 600;
        padding: 13px 12px;
        color: var(--primary-dark);
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: 14px;
        opacity: 0;
        transform: translateY(8px);
        transition: background-color 0.2s ease, border-color 0.2s ease,
            color 0.2s ease, box-shadow 0.2s ease,
            opacity 0.35s var(--ease), transform 0.35s var(--ease);
    }

    .dropdown-cat-item .dropdown-cat-icon {
        display: block;
        width: 19px;
        height: 19px;
        padding: 0;
        background: none;
        border-radius: 0;
        flex-shrink: 0;
        color: var(--secondary);
        transition: color 0.2s ease;
    }

    .dropdown-cat-item span {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dropdown-cat-item:hover,
    .dropdown-cat-item:focus-visible {
        background: var(--secondary-light);
        border-color: var(--secondary);
        color: var(--secondary-hover);
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.14);
    }

    .dropdown-cat-item:hover .dropdown-cat-icon,
    .dropdown-cat-item:focus-visible .dropdown-cat-icon {
        color: var(--secondary-hover);
    }

    .nav-dropdown.dropdown-open .dropdown-cat-item {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-dropdown.dropdown-open .dropdown-cat-item:nth-child(1) { transition-delay: 0.04s; }
    .nav-dropdown.dropdown-open .dropdown-cat-item:nth-child(2) { transition-delay: 0.08s; }
    .nav-dropdown.dropdown-open .dropdown-cat-item:nth-child(3) { transition-delay: 0.12s; }
    .nav-dropdown.dropdown-open .dropdown-cat-item:nth-child(4) { transition-delay: 0.16s; }
    .nav-dropdown.dropdown-open .dropdown-cat-item:nth-child(5) { transition-delay: 0.2s; }
    .nav-dropdown.dropdown-open .dropdown-cat-item:nth-child(6) { transition-delay: 0.24s; }
    .nav-dropdown.dropdown-open .dropdown-cat-item:nth-child(7) { transition-delay: 0.28s; }
    .nav-dropdown.dropdown-open .dropdown-cat-item:nth-child(8) { transition-delay: 0.32s; }

    @media (prefers-reduced-motion: reduce) {
        .dropdown-cat-item {
            opacity: 1;
            transform: none;
            transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
        }
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -30px;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 80px 0;
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .modal-content {
        width: 94%;
        max-height: 86vh;
        border-radius: 22px;
    }

    .modal-body {
        padding: 20px 18px;
    }

    .modal-img-container {
        max-width: 200px;
        margin: 0 auto 16px;
    }

    .modal-title {
        font-size: 19px;
    }

    .modal-close {
        top: 14px;
        right: 14px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .lightbox-close-btn {
        top: 14px;
        right: 14px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    .lightbox-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
    
    .map-overlay-content {
        padding: 16px;
    }
}

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

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    /* Kartu produk: paksa 1 kolom penuh lebar supaya tombol & teks tidak sesak */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-img-box {
        height: 160px;
        padding: 16px;
    }

    .product-img-box .card-slide {
        padding: 16px;
    }

    .product-details-box {
        padding: 16px;
    }

    .product-tag {
        font-size: 10.5px;
    }

    .product-name {
        font-size: 16.5px;
        margin-bottom: 6px;
    }

    .product-specs-summary {
        font-size: 12.5px;
        margin-bottom: 16px;
    }

    .product-actions-box {
        gap: 10px;
    }

    .product-actions-box .btn {
        padding: 10px 8px;
        font-size: 13.5px;
    }
    
    .modal-content {
        max-height: 84vh;
    }

    .modal-body {
        padding: 16px 14px;
    }

    .modal-header-info {
        margin-bottom: 14px;
    }

    .modal-title {
        font-size: 18px;
        margin: 10px 0 4px;
    }

    .modal-img-container {
        max-width: 150px;
        margin: 0 auto 14px;
        border-radius: var(--radius-sm);
    }

    .specs-table {
        gap: 7px;
    }

    .specs-table tr {
        padding: 9px 12px;
    }

    .specs-table td.spec-val {
        font-size: 13px;
    }

    .modal-action-box {
        padding: 16px;
    }

    .image-lightbox-img {
        max-width: 94vw;
        max-height: 78vh;
    }
    
    .contact-info-panel {
        padding: 24px;
    }
    
    .catalog-thumb {
        height: 180px;
    }
}

.page-header {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-dark);
    
    background-image: radial-gradient(circle at 10% 20%, rgba(30, 41, 59, 0.3) 0%, rgba(15, 23, 42, 0.9) 90%), url('../assets/brand/header-page.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0 60px 0;
    text-align: center;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header-title {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-header-subtitle {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-normal);
}

.product-card:hover .product-card-img {
    transform: scale(1.035);
}

.reveal-section {
    
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-item {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-section,
    .reveal-item {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

.product-card.card-reveal {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--card-reveal-delay, 0s);
    will-change: opacity, transform;
}

.product-card.card-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .product-card.card-reveal {
        transform: translateY(40px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card.card-reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 900px) {
    
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    
    .products {
        padding: 32px 0 60px;
    }

    .filter-sidebar {
        position: relative;
        top: 0;
        padding: 0;
        border: none;
        background: transparent;
        box-shadow: none;
        perspective: 800px;
        z-index: 10;
    }

    .filter-sidebar-label {
        display: none; 
    }

    
    .filter-dropdown-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 16px;
        background-color: var(--bg-white);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        cursor: pointer;
        font-family: var(--font-primary);
        transition: var(--transition-fast);
    }

    .filter-dropdown-trigger:active {
        transform: scale(0.98);
    }

    .filter-dropdown-trigger.open {
        border-color: var(--secondary);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
    }

    .filter-dropdown-trigger-left {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .filter-dropdown-trigger-left i {
        color: var(--secondary);
        font-size: 14px;
        flex-shrink: 0;
    }

    .filter-dropdown-trigger-left span {
        font-size: 14px;
        font-weight: 600;
        color: var(--text-dark);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .filter-dropdown-chevron {
        font-size: 12px;
        color: var(--text-gray);
        transition: transform 0.25s var(--ease);
        flex-shrink: 0;
        margin-left: 10px;
    }

    .filter-dropdown-trigger.open .filter-dropdown-chevron {
        transform: rotate(180deg);
        color: var(--secondary);
    }

    
    .filter-tabs {
        position: static;
        z-index: 5;
        display: block;
        width: 100%;
        max-height: 0;
        margin-top: 0;
        padding: 0;
        background-color: var(--bg-white);
        background-clip: padding-box;
        border: 1px solid transparent;
        border-radius: var(--radius-md);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        transform: none;
        overflow: hidden;
        transition: max-height 0.4s var(--ease), margin-top 0.4s var(--ease),
                    border-color 0.3s ease, box-shadow 0.3s ease;
        
        touch-action: pan-y;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
        width: 0;
    }

    .filter-tabs.open {
        margin-top: 10px;
        pointer-events: auto;
        border-color: var(--border-color);
        box-shadow: var(--shadow-sm);
        /* max-height diatur langsung oleh JS sesuai tinggi konten asli */
    }

    
    .filter-tabs-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 9px;
        width: 100%;
        padding: 10px;
    }

    .filter-btn {
        display: flex !important;
        align-items: center;
        gap: 9px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 12px;
        font-weight: 600;
        padding: 10px 10px;
        border: 1px solid transparent;
        border-radius: 12px;
        background-color: var(--secondary-light);
        color: var(--primary-dark);
        text-align: left;
        justify-content: flex-start;
        transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .filter-btn i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        flex-shrink: 0;
        border-radius: 9px;
        background: #ffffff;
        color: var(--secondary);
        font-size: 12px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .filter-btn span {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .filter-btn:hover,
    .filter-btn:focus-visible {
        background: var(--secondary);
        border-color: var(--secondary);
        color: #ffffff;
    }

    .filter-btn:hover i,
    .filter-btn:focus-visible i {
        background: rgba(255, 255, 255, 0.25);
        color: #ffffff;
    }

    .filter-btn.active {
        background-color: var(--secondary);
        color: #ffffff;
        font-weight: 700;
        border-color: var(--secondary);
        padding-left: 10px;
    }

    .filter-btn.active i {
        background: rgba(255, 255, 255, 0.25);
        color: #ffffff;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    
    .catalog-search {
        display: none;
    }

}

.nav-cta-dropdown {
    position: relative;
}

.nav-cta-dropdown .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: inherit;
}

.nav-cta-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta-chevron {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.nav-cta-dropdown.open .nav-cta-chevron {
    transform: rotate(180deg);
}

.nav-cta-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s ease;
    z-index: 1000;
}

.nav-cta-dropdown.open .nav-cta-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-cta-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #0f172a;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.3s var(--ease), opacity 0.3s ease;
}

.nav-cta-menu-item i {
    font-size: 22px;
    color: #25d366;
    flex-shrink: 0;
}

.nav-cta-menu-item div {
    display: flex;
    flex-direction: column;
}

.nav-cta-menu-item strong {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.nav-cta-menu-item span {
    font-size: 11px;
    color: #64748b;
    margin-top: 1px;
}

.nav-cta-menu-item:hover {
    background-color: #f1f5f9;
}

@media (max-width: 991px) {
    .nav-cta-menu {
        position: static;
        top: auto;
        right: auto;
        width: 100%;
        box-shadow: none;
        border: 1px solid transparent;
        background: #f8fafc;
        border-radius: 12px;
        margin-top: 0;
        padding: 0 8px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transform: translateY(6px);
        transition: max-height 0.35s var(--ease), opacity 0.3s ease, transform 0.35s var(--ease), margin-top 0.3s ease, padding 0.3s ease, border-color 0.3s ease, visibility 0.35s;
    }

    .nav-cta-dropdown.open .nav-cta-menu {
        max-height: 220px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 4px;
        padding: 8px 8px 10px;
        border-color: #e2e8f0;
    }

    .nav-cta-menu-item {
        background-color: #ffffff;
        border: 1px solid #edf1f6;
        border-radius: 12px;
        padding: 11px 12px;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.3s ease, transform 0.3s var(--ease), background-color 0.2s ease, border-color 0.2s ease;
    }

    .nav-cta-menu-item:active {
        background-color: #f0fdf4;
        border-color: #bbf7d0;
        transform: scale(0.98);
    }

    .nav-cta-menu-item i {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        border-radius: 10px;
        background-color: rgba(37, 211, 102, 0.12);
        flex-shrink: 0;
    }

    .nav-cta-dropdown.open .nav-cta-menu-item {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-cta-dropdown.open .nav-cta-menu-item:nth-child(1) {
        transition-delay: 0.05s;
    }

    .nav-cta-dropdown.open .nav-cta-menu-item:nth-child(2) {
        transition-delay: 0.12s;
    }
}