:root {
    --brand-primary: #4a3320;
    --brand-accent: #8B5A2B;
    --brand-light: #e6ceb6;
    --bg-main: #fcfbf9; 
    --text-dark: #1a1a1a; 
    --text-muted: #555555;
    --card-bg: #ffffff; 
    --footer-bg: #231811; 
    --footer-text: #cccccc;
    --transition: all 0.3s ease;
    --border-color: #eaeaea;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg-main); color: var(--text-dark); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; user-select: none; }
main { display: block; min-height: calc(100vh - 400px); }

.global-marquee {
    background-color: #8c2929; 
    color: #ffffff;
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: var(--marquee-font-size, 0.9rem);
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    width: 100%; 
    -webkit-tap-highlight-color: transparent; 
}
.global-marquee:hover {
    background-color: #a33232;
}
.marquee-track {
    display: inline-block;
    animation: marquee var(--marquee-speed, 15s) linear infinite;
    will-change: transform;
}
.marquee-track.paused {
    animation-play-state: paused !important;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    padding-right: 4rem; 
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.top-bar { background: var(--brand-primary); color: white; font-size: 0.85rem; padding: 0.5rem 0; font-weight: 500; }
.top-bar-container { max-width: 1400px; margin: 0 auto; padding: 0 4%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;}
.top-contact { display: flex; align-items: center; }
.top-contact a { color: white; text-decoration: none; margin-left: 1.5rem; transition: var(--transition); border-bottom: 1px solid transparent;}
.top-contact a:hover { color: var(--brand-light); border-bottom: 1px solid var(--brand-light); }
.social-icons { display: flex; gap: 16px; align-items: center; }
.social-icons a { color: white; transition: var(--transition); display: flex; }
.social-icons a:hover { color: var(--brand-accent); transform: translateY(-2px); }

header { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.03); position: sticky; top: 0; z-index: 999; border-bottom: 1px solid var(--border-color);}
.nav-container { max-width: 1400px; margin: 0 auto; padding: 0.6rem 4%; display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo { font-weight: 900; font-size: 1.4rem; text-decoration: none; color: var(--brand-primary); letter-spacing: 1.5px; z-index: 1001; flex-shrink: 0;}
.nav-center { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex: 1; padding: 0 2rem;}
.nav-link { text-decoration: none; color: var(--text-dark); font-weight: 600; padding: 0.3rem 0; transition: var(--transition); display: inline-block; position: relative;}
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--brand-accent); transition: var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.view-all-link { color:var(--brand-primary); font-weight:bold; text-decoration:none; display: flex; align-items: center; gap: 5px; }
.view-all-link:hover { color: var(--brand-accent); }

.nav-dropdown-wrapper { position: relative; cursor: pointer; padding: 0.3rem 0; display: flex; align-items: center; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-radius: 6px; overflow-y: auto; max-height: 60vh; min-width: 220px; z-index: 200; border: 1px solid var(--border-color); padding: 0.5rem 0; -webkit-overflow-scrolling: touch;}
.nav-dropdown-menu.show { display: block; }
.nav-dropdown-menu a { display: block; padding: 0.6rem 1.5rem; text-decoration: none; color: var(--text-muted); font-size: 0.95rem; transition: var(--transition); }
.nav-dropdown-menu a:hover { background: #fdfaf7; color: var(--brand-primary); font-weight: 600; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--brand-primary); z-index: 1001; }
@media (min-width: 769px) { .nav-dropdown-wrapper:hover .nav-dropdown-menu { display: block; } }

.hero-carousel { position: relative; width: 100%; overflow: hidden; background-color: var(--brand-primary); }
.carousel-track { display: flex; height: 65vh; min-height: 500px; max-height: 750px; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.carousel-slide { flex: 0 0 calc(100% / 3); height: 100%; position: relative; border-right: 2px solid rgba(255,255,255,0.1);} 
.carousel-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5;}
.hero-static-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; text-align: center; padding: 4rem 20px; z-index: 10; pointer-events: none; background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%); }
.hero-static-overlay h1 { font-size: 3.8rem; margin-bottom: 1.2rem; text-shadow: 0 4px 12px rgba(0,0,0,0.5); pointer-events: auto; font-weight: 800; letter-spacing: -1px;}
.hero-static-overlay p { font-size: 1.2rem; margin-bottom: 2.5rem; text-shadow: 0 2px 6px rgba(0,0,0,0.5); max-width: 700px; pointer-events: auto; line-height: 1.8;}
.hero-actions { display: flex; gap: 15px; pointer-events: auto; }
.hero-btn, .hero-btn-secondary { padding: 1rem 2.5rem; text-decoration: none; font-weight: bold; border-radius: 4px; transition: var(--transition); letter-spacing: 0.5px; }
.hero-btn { background: var(--brand-accent); color: white; border: 2px solid var(--brand-accent); }
.hero-btn:hover { background: white; color: var(--brand-primary); border-color: white; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.2);}
.hero-btn-secondary { background: transparent; color: white; border: 2px solid white; }
.hero-btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.trust-section { background: white; padding: 2.5rem 4%; border-bottom: 1px solid var(--border-color); position: relative; z-index: 20;}
.trust-container { max-width: 1400px; margin: 0 auto; }
.trust-container h2 { text-align: center; font-size: 2rem; color: var(--brand-primary); margin-bottom: 1.5rem; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.trust-item { text-align: center; padding: 2rem; background: var(--bg-main); border-radius: 8px; border: 1px solid var(--border-color); transition: var(--transition); }
.trust-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--brand-light); }
.trust-icon { font-size: 3rem; margin-bottom: 1rem; }
.trust-item h3 { font-size: 1.2rem; margin-bottom: 0.8rem; color: var(--text-dark); }
.trust-item p { font-size: 0.95rem; color: var(--text-muted); }

.process-section { background: #f9f6f2; padding: 2.5rem 4%; border-top: 1px solid var(--border-color); }
.process-container { max-width: 1400px; margin: 0 auto; }
.process-container h2 { text-align: center; font-size: 2rem; color: var(--brand-primary); margin-bottom: 1.5rem; }
.process-timeline { display: flex; justify-content: space-between; position: relative; flex-wrap: wrap; gap: 2rem; }
.process-timeline::before { content: ''; position: absolute; top: 25px; left: 0; width: 100%; height: 2px; background: var(--brand-light); z-index: 1; display: none; }
@media (min-width: 900px) { .process-timeline::before { display: block; } }
.step { flex: 1; text-align: center; position: relative; z-index: 2; min-width: 150px; }
.step-num { width: 50px; height: 50px; background: var(--brand-primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: bold; margin: 0 auto 1.5rem; border: 4px solid #f9f6f2; }
.step h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--text-muted); }

.about-section { background: white; padding: 2.5rem 4%; }
.about-container { max-width: 900px; margin: 0 auto; text-align: center; }
.about-container h2 { font-size: 2.2rem; color: var(--brand-primary); margin-bottom: 1.5rem; text-align: center; }
.about-content p { font-size: 1.15rem; color: var(--text-muted); line-height: 1.9; }
.outline-btn { padding: 0.8rem 2rem; border: 2px solid var(--brand-primary); color: var(--brand-primary); text-decoration: none; font-weight: 600; border-radius: 4px; transition: var(--transition); }
.outline-btn:hover { background: var(--brand-primary); color: white; }

.page-header { background: var(--brand-primary); color: white; text-align: center; padding: 2.5rem 4%; }
.page-header.slim { padding: 1.5rem 4%; }
.page-header h1 { font-size: 2.8rem; margin-bottom: 0.5rem; }
.page-header p { font-size: 1.1rem; color: var(--brand-light); }

.about-page-container { max-width: 1200px; margin: 2rem auto 3rem; padding: 0 4%; position: relative; z-index: 10; }
.stats-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; background: white; padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border-color); box-shadow: 0 5px 20px rgba(0,0,0,0.04); margin-bottom: 2.5rem; text-align: center;}
.stat-num { display: block; font-size: 2.2rem; font-weight: 800; color: var(--brand-accent); margin-bottom: 0.2rem; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

.factory-story { background: white; padding: 2rem; border-radius: 8px; border: 1px solid var(--border-color); margin-bottom: 2rem; }
.factory-story h2 { font-size: 1.8rem; color: var(--brand-primary); margin-bottom: 1.5rem; text-align: center; }
.story-content { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; }
.factory-gallery h3 { font-size: 1.8rem; color: var(--brand-primary); margin-bottom: 1.5rem; text-align: center; }

.gallery-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: center; 
    gap: 1rem; 
    margin-bottom: 3rem; 
}
.gallery-grid .img-watermark-wrapper { 
    flex: 1 1 calc(25% - 1rem); 
    min-width: 250px; 
    max-width: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.gallery-grid img { 
    width: 100%; 
    height: auto; 
    max-height: 350px; 
    object-fit: cover; 
    border-radius: 6px; 
    border: 1px solid var(--border-color); 
}

/* ======== PRODUCT GALLERY PAGE (8 GRID) ======== */
.gallery-page-container { max-width: 1400px; margin: 2.5rem auto; padding: 0 4%; }
.gallery-page-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 15px; }
.gallery-page-item { display: block; aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; background: var(--bg-main);}
.gallery-page-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-page-item:hover { transform: scale(1.08); box-shadow: 0 10px 25px rgba(0,0,0,0.15); z-index: 10; border-color: var(--brand-accent); }
/* =============================================== */

.cases-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: stretch; 
    gap: 2rem; 
    margin-top: 1rem; 
}
.case-card { 
    flex: 1 1 calc(25% - 2rem); 
    min-width: 280px; 
    max-width: 100%; 
    background: #fff; 
    border: 1px solid var(--border-color); 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); 
    display: flex; 
    flex-direction: column; 
    transition: var(--transition); 
}
.case-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: var(--brand-light); }
.case-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-bottom: 1px solid var(--border-color); }
.case-info { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column;}
.case-info h3 { font-size: 1.2rem; color: var(--brand-primary); margin-bottom: 0.8rem; font-weight: 700;}
.case-info p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

.products-section { max-width: 1400px; margin: 2.5rem auto; padding: 0 4%; }
.products-section.list-layout { margin-top: 2rem; }

.section-header { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; border-bottom: 2px solid var(--border-color); padding-bottom: 1rem;}
.section-header h2 { font-size: 2rem; color: var(--brand-primary); margin: 0; text-align: center; }
.search-container { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 400px; }
.search-input { width: 100%; padding: 0.8rem 1.5rem; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; outline: none; transition: var(--transition); background: #fff;}
.search-input:focus { border-color: var(--brand-accent); box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.1); }

.position-relative { position: relative; }

.watermark-text {
    position: absolute;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    pointer-events: none;
    z-index: 5;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    white-space: nowrap;
    user-select: none;
    letter-spacing: 1px;
}

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.product-card { background: var(--card-bg); border-radius: 6px; overflow: hidden; transition: var(--transition); border: 1px solid var(--border-color); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.06); border-color: var(--brand-light); }
.product-card a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.img-wrapper { aspect-ratio: 1/1; overflow: hidden; background: #f4f4f4; width: 100%; border-bottom: 1px solid var(--border-color); position: relative; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .img-wrapper img { transform: scale(1.05); }
.product-info { padding: 1.5rem; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.product-info h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 0.5rem; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.sku-text { display: block; font-size: 0.85rem; color: var(--brand-accent); margin-bottom: 0.6rem; font-weight: 600; }
.product-info p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 3em; }
.view-btn { padding: 10px 0; width: 100%; background: #fcfbf9; color: var(--brand-primary); border: 1px solid var(--border-color); font-weight: 600; border-radius: 4px; font-size: 0.9rem; transition: var(--transition); margin-top: auto; }
.product-card:hover .view-btn { background: var(--brand-primary); color: white; border-color: var(--brand-primary); }

.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 3rem; }
.page-btn { padding: 0.6rem 1.2rem; border: 1px solid #ddd; background: white; cursor: pointer; border-radius: 4px; font-weight: 600; color: var(--text-dark); transition: var(--transition); }
.page-btn:hover { background: #f0f0f0; }
.page-btn.active { background: var(--brand-primary); color: white; border-color: var(--brand-primary); }
.page-jump { display: flex; align-items: center; gap: 0.5rem; margin-left: 1rem; border-left: 1px solid #ccc; padding-left: 1rem; }
.page-jump input { width: 70px; padding: 0.6rem; border: 1px solid #ddd; border-radius: 4px; text-align: center; }
.page-jump button { padding: 0.6rem 1.2rem; border: none; background: var(--brand-light); color: var(--brand-primary); cursor: pointer; border-radius: 4px; font-weight: bold; transition: var(--transition); }
.page-jump button:hover { background: var(--brand-accent); color: white; }

.detail-container { max-width: 1200px; margin: 2rem auto; padding: 0 4%; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.detail-gallery { display: flex; align-items: center; justify-content: center; width: 100%; }
.detail-gallery img { border-radius: 6px; width: 100%; border: 1px solid var(--border-color); }
.detail-carousel-container { position: relative; width: 100%; overflow: hidden; border-radius: 6px; border: 1px solid var(--border-color); background: #f4f4f4;}
.detail-carousel-track { display: flex; transition: transform 0.5s ease-in-out; }
.detail-slide { flex: 0 0 100%; width: 100%; display: flex; align-items: center; justify-content: center; }
.detail-slide img { width: 100%; height: auto; display: block; border-radius: 6px; }
.img-watermark-wrapper { position: relative; display: block; width: 100%; }
.img-watermark-wrapper img { width: 100%; height: auto; display: block; }
.detail-carousel-dots { position: absolute; bottom: 15px; left: 0; width: 100%; display: flex; justify-content: center; gap: 10px; z-index: 10;}
.detail-carousel-dots .dot { width: 12px; height: 12px; background: rgba(255,255,255,0.8); border-radius: 50%; border: 1px solid #999; cursor: pointer; transition: var(--transition);}
.detail-carousel-dots .dot.active { background: var(--brand-accent); border-color: var(--brand-primary); transform: scale(1.2);}

.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; transition: var(--transition); opacity: 0; font-size: 24px; box-shadow: 0 4px 10px rgba(0,0,0,0.2);}
.carousel-btn:hover { background: var(--brand-accent); transform: translateY(-50%) scale(1.05);}
.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }
.detail-carousel-container:hover .carousel-btn { opacity: 1; }

.zoomable-img { cursor: zoom-in; }
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: 0.3s;
}
.lightbox-close:hover { color: var(--brand-accent); }
.lightbox-wrapper { position: relative; max-width: 90vw; max-height: 90vh; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.lightbox-content {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}
.lightbox-content.zoomed {
    cursor: zoom-out;
}

.breadcrumb { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.2rem; font-weight: 500; }
.breadcrumb a { color: var(--brand-accent); text-decoration: none; }
.breadcrumb .separator { margin: 0 0.5rem; color: #ccc; }
.detail-info h1 { font-size: 2.2rem; color: var(--text-dark); margin-bottom: 1rem; line-height: 1.2; }
.meta-tags { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); }
.sku-tag, .category-tag, .moq-tag { padding: 0.3rem 0.8rem; border-radius: 4px; font-size: 0.85rem; font-weight: bold; border: 1px solid; }
.sku-tag { background: #f4f0ec; color: var(--brand-primary); border-color: #e2d9cf; }
.moq-tag { background: #eaf3ea; color: #2e7d32; border-color: #c8e6c9; }
.category-tag { background: #f0f4f8; color: #3b738f; border-color: #d1e1ea; }

.b2b-policy-box { background: #fcfbf9; border: 1px solid var(--border-color); border-left: 4px solid var(--brand-accent); padding: 1.2rem; border-radius: 4px; margin-bottom: 1.5rem; }
.b2b-policy-box h2 { font-size: 1.05rem; color: var(--brand-primary); margin-bottom: 0.8rem; }
.b2b-policy-box ul { list-style: none; margin-left: 0; padding-left:0;}
.b2b-policy-box li, .b2b-policy-box p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.5rem; padding-left: 1.2rem; position: relative; }
.b2b-policy-box li::before, .b2b-policy-box p::before { content: '✓'; position: absolute; left: 0; color: var(--brand-accent); font-weight: bold; }

.description { margin: 1.5rem 0; color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; white-space: pre-line; }
.btn-group { display: flex; gap: 1rem; margin-top: 2rem; }
.inquiry-btn, .whatsapp-btn { flex: 1; padding: 1rem; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 1rem; display: flex; justify-content: center; align-items: center; gap: 8px; transition: var(--transition); }
.inquiry-btn { background: var(--brand-primary); color: white; }
.inquiry-btn:hover { background: #3a2718; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.whatsapp-btn { background: #25D366; color: white; }
.whatsapp-btn:hover { background: #1ebd5a; box-shadow: 0 5px 15px rgba(37,211,102,0.2); }

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

footer { background: var(--footer-bg); color: var(--footer-text); padding: 2.5rem 4% 1.5rem; margin-top: 2.5rem; }
.footer-content { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 2.5rem; }
.footer-col h3 { margin-bottom: 1.2rem; font-size: 1.1rem; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.brand-info p { margin-bottom: 0.8rem; font-size: 0.95rem; line-height: 1.6; }
.brand-info strong { color: white; }
.footer-col a { display: block; color: var(--footer-text); text-decoration: none; margin-bottom: 0.8rem; transition: var(--transition); font-size: 0.95rem;}
.footer-col a:hover { color: white; padding-left: 5px; }
.footer-btn { display: inline-block !important; width: 100%; text-align: center; padding: 10px; border: 1px solid rgba(255,255,255,0.3); border-radius: 4px; margin-bottom: 10px !important; }
.footer-btn:hover { background: rgba(255,255,255,0.1); padding-left: 0 !important;}
.footer-btn.whatsapp { border-color: #25D366; color: #25D366; }
.footer-btn.whatsapp:hover { background: #25D366; color: white; }
.footer-copyright { text-align: center; padding-top: 1.5rem; font-size: 0.85rem; color: #777; }

/* ======== FAQ SECTION ======== */
.faq-section { background: #fff; padding: 4rem 4%; border-top: 1px solid var(--border-color); }
.faq-container { max-width: 1000px; margin: 0 auto; }
.faq-container h2 { text-align: center; font-size: 2.2rem; color: var(--brand-primary); margin-bottom: 2.5rem; }
.faq-grid { display: flex; flex-direction: column; gap: 1.2rem; }
.faq-item { background: var(--bg-main); padding: 1.8rem; border-radius: 8px; border: 1px solid var(--border-color); transition: var(--transition); }
.faq-item:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.03); border-color: var(--brand-light); }
.faq-q { font-size: 1.15rem; color: var(--brand-primary); margin-bottom: 0.8rem; position: relative; padding-left: 1.8rem;}
.faq-q::before { content: 'Q:'; position: absolute; left: 0; color: var(--brand-accent); font-weight: 900;}
.faq-a { font-size: 1rem; color: var(--text-muted); line-height: 1.7; padding-left: 1.8rem; }
/* ============================= */

/* ======== BACK TO TOP ======== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: none; 
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.3s ease, background 0.3s ease;
}
.back-to-top:hover {
    background: var(--brand-accent);
    transform: translateY(-5px);
}
/* ============================= */

@media (max-width: 1024px) {
    .gallery-page-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 768px) {
    .top-bar-container { flex-direction: column; text-align: center; padding: 6px 4%;}
    .top-contact a { margin: 0 10px; }
    .mobile-menu-toggle { display: block; }
    
    .nav-center { 
        display: none; flex-direction: column; width: 100%; position: absolute; 
        top: 100%; left: 0; background: white; padding: 0; 
        box-shadow: 0 10px 15px rgba(0,0,0,0.1); z-index: 1000; 
        border-top: 1px solid var(--border-color); 
        max-height: calc(100vh - 70px); 
        overflow-y: auto; 
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch; 
        padding-bottom: 150px;
    }
    .nav-center.active { display: flex; }
    .nav-link { width: 100%; text-align: center; border-bottom: 1px solid #f0f0f0; padding: 0.8rem; margin:0;}
    .nav-dropdown-wrapper { width: 100%; padding: 0; flex-direction: column; border-bottom: 1px solid #f0f0f0; margin:0;}
    .nav-dropdown-menu { position: static; box-shadow: none; width: 100%; background: #fafafa; border-radius: 0; border: none; max-height:none; overflow:visible;}
    .nav-dropdown-menu a { text-align: center; padding: 0.8rem; }
    
    .carousel-slide { flex: 0 0 100%; border-right: none; }
    .carousel-track { height: 70vh; min-height: 480px; max-height: 650px; }
    .hero-static-overlay { padding: 2rem 1.5rem; justify-content: center; box-sizing: border-box; overflow-y: auto;}
    .hero-static-overlay h1 { font-size: 2rem; margin-bottom: 0.8rem; line-height: 1.2;}
    .hero-static-overlay p { font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.5;}
    .hero-actions { flex-direction: column; width: 100%; max-width: 280px; }
    .hero-btn, .hero-btn-secondary { width: 100%; text-align: center; padding: 0.8rem 1rem;}

    .trust-container h2 { font-size: 1.6rem; margin-bottom: 1.5rem; letter-spacing: -0.5px;}

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card { border-radius: 4px; }
    .product-info { padding: 0.8rem 0.6rem; }
    .product-info h3 { font-size: 0.85rem; margin-bottom: 0.3rem;}
    .sku-text { font-size: 0.7rem; margin-bottom: 0.4rem; letter-spacing: -0.5px;}
    .product-info p { font-size: 0.8rem; height: 2.8em; margin-bottom: 0.6rem; line-height: 1.4;}
    .view-btn { padding: 6px 0; font-size: 0.8rem; }
    
    .related-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .related-grid .product-card:nth-child(n+5) { display: none !important; }

    .page-header.slim { padding: 1.5rem 4%; }
    .page-header h1 { font-size: 2.2rem; }
    .about-page-container { margin: 1.5rem auto 2rem; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; padding: 1rem; margin-bottom: 1.5rem; }
    .stat-num { font-size: 1.6rem; }
    .stat-label { font-size: 0.75rem; }
    .factory-story { padding: 1.5rem; margin-bottom: 1.5rem; }
    .factory-story h2 { font-size: 1.5rem; margin-bottom: 0.8rem; }
    .story-content { font-size: 0.95rem; }
    
    .gallery-grid { gap: 0.8rem; margin-bottom: 2rem;}
    .gallery-grid img { height: 200px; }
    
    .gallery-page-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }

    .case-card { flex: 0 0 100%; max-width: 100%; }

    .process-timeline { flex-direction: column; gap: 2rem; }
    .step::after { content: '↓'; position: absolute; bottom: -25px; left: 50%; transform: translateX(-50%); font-size: 1.2rem; color: var(--brand-light); }
    .step:last-child::after { display: none; }
    
    .detail-container { grid-template-columns: 1fr; gap: 1.5rem; margin: 1.5rem auto; }
    .detail-info h1 { font-size: 1.8rem; }
    .btn-group { flex-direction: column; margin-top: 1rem;}
    
    .carousel-btn { opacity: 1; width: 44px; height: 44px; font-size: 20px; background: rgba(0,0,0,0.4); }
    .carousel-btn.prev { left: 10px; }
    .carousel-btn.next { right: 10px; }

    .footer-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-col h3 { margin-bottom: 0.8rem; }
    .footer-col a:hover { padding-left: 0; }
    .social-icons { justify-content: center; }
    
    .faq-section { padding: 2.5rem 4%; }
    .faq-container h2 { font-size: 1.6rem; }
    .faq-item { padding: 1.2rem; }
    .faq-q { font-size: 1.05rem; }
    
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 18px; }
}