/* ==========================================================
   KOPERASI GARAM - MAIN CSS
   Design: Deep Ocean Blue + Gold
   ========================================================== */

/* ---- CSS Variables ---- */
:root {
    --primary: #0B2545;
    --primary-light: #134074;
    --primary-dark: #060F1F;
    --accent: #F0A500;
    --accent-light: #FFD166;
    --accent-dark: #C47F00;
    --white: #FFFFFF;
    --light: #F8F9FF;
    --muted: #8892A4;
    --text: #1A2332;
    --text-light: #4A5568;
    --border: #E2E8F0;
    --success: #22C55E;
    --error: #EF4444;
    --warning: #F59E0B;

    --shadow-sm: 0 2px 8px rgba(11,37,69,0.08);
    --shadow-md: 0 8px 32px rgba(11,37,69,0.12);
    --shadow-lg: 0 20px 60px rgba(11,37,69,0.18);
    --shadow-gold: 0 8px 32px rgba(240,165,0,0.25);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --navbar-h: 80px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    color: var(--primary);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Section ---- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(240,165,0,0.15), rgba(240,165,0,0.05));
    border: 1px solid rgba(240,165,0,0.3);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-title span { color: var(--accent); }

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(11,37,69,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(11,37,69,0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: var(--primary);
    box-shadow: var(--shadow-gold);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(240,165,0,0.4);
}

.btn-wa {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    font-size: 16px;
    padding: 16px 32px;
}
.btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(37,211,102,0.5);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-white {
    background: transparent;
    border-color: rgba(255,255,255,0.5);
    color: white;
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
}

.btn-lg { padding: 18px 40px; font-size: 17px; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--navbar-h);
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(11, 37, 69, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 40px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo img {
    height: 52px;
    max-height: 80px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.brand-logo img:hover {
    transform: scale(1.04);
}

.brand-logo svg {
    width: 44px;
    height: 44px;
    max-width: 44px;
    max-height: 44px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: white;
    line-height: 1;
}

.brand-tagline {
    font-size: 11px;
    color: var(--accent-light);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    margin-top: 2px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.navbar-menu a {
    color: rgba(255,255,255,0.85);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: white;
    background: rgba(255,255,255,0.1);
}

.navbar-menu a.active {
    color: var(--accent-light);
}

.btn-wa-nav {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: white !important;
    padding: 10px 18px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
    margin-left: 8px;
}

.btn-wa-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.5) !important;
    background: rgba(0,0,0,0) !important;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 8px;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    z-index: 1002;
    transition: var(--transition);
}

.navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(6px);
}

.navbar-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Backdrop */
.navbar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 15, 31, 0.72);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.navbar-backdrop.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden !important;
}

/* ---- Floating WA ---- */
.wa-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(37,211,102,0.5);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    animation: waPulse 3s ease-in-out infinite;
}

.wa-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(37,211,102,0.6);
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
    50% { box-shadow: 0 8px 48px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ---- Hero / Slider ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-slides-container {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(6,15,31,0.86) 0%,
        rgba(11,37,69,0.72) 45%,
        rgba(11,37,69,0.32) 80%,
        rgba(6,15,31,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(240,165,0,0.2);
    border: 1px solid rgba(240,165,0,0.4);
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.4s both;
    transition: opacity 0.35s ease;
}

.hero-title span { color: var(--accent-light); }

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.6s both;
    transition: opacity 0.35s ease;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.slider-dot.active {
    width: 30px;
    border-radius: 5px;
    background: var(--accent);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 20px;
}

.slider-arrow:hover {
    background: rgba(240,165,0,0.5);
    border-color: var(--accent);
}

.slider-arrow.prev { left: 32px; }
.slider-arrow.next { right: 32px; }

/* Hero Fallback (no slider images) */
.hero-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a4a7a 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle, white 1px, transparent 1px);
    background-size: 32px 32px;
}

/* ---- Stats Bar ---- */
.stats-bar {
    background: var(--primary);
    padding: 32px 0;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
}

.stat-item {
    padding: 16px 24px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* ---- About Section ---- */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge-float {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--accent);
    color: var(--primary);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-gold);
    text-align: center;
}

.about-badge-float strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

.about-badge-float span {
    font-size: 13px;
    font-weight: 600;
}

.about-content { }

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-feature:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.feature-text span {
    font-size: 12px;
    color: var(--muted);
}

/* ---- Products Section ---- */
.products-section {
    background: var(--light);
}

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

.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--light);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-badge.unggulan {
    background: var(--accent);
}

.product-card-body {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}

.product-name {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.product-price {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.product-price-unit {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.btn-order-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

.btn-order-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.5);
}

/* ---- News Section ---- */
.news-section {
    background: white;
}

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

.news-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    background: white;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.news-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--light);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-body {
    padding: 24px;
}

.news-date {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.news-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--accent);
    gap: 10px;
}

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 96px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(240,165,0,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
}

.cta-content h2 span { color: var(--accent-light); }

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Page Header (Inner Pages) ---- */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(240,165,0,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 900;
    color: white;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.breadcrumb a { color: var(--accent-light); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ---- Filter Bar ---- */
.filter-bar {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--navbar-h);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.filter-container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    white-space: nowrap;
}

.filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border: 1.5px solid var(--border);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    background: white;
}

.filter-chip:hover,
.filter-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 8px 16px;
    margin-left: auto;
}

.search-input-wrap input {
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    min-width: 200px;
}

.search-input-wrap svg { color: var(--muted); flex-shrink: 0; }

/* ---- Produk Detail ---- */
.product-detail-section { padding: 80px 0; }

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    background: var(--light);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info { }

.product-detail-category {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
}

.product-detail-name {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-detail-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    background: linear-gradient(135deg, var(--light), white);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.product-detail-price {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
}

.product-detail-unit {
    font-size: 16px;
    color: var(--muted);
    font-weight: 500;
}

.product-detail-desc {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 28px;
    font-size: 16px;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 32px;
}

.product-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-detail-actions .btn {
    width: 100%;
    justify-content: center;
}

/* ---- Profile Page ---- */
.identitas-koperasi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.identitas-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.identitas-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(240, 165, 0, 0.45);
}

.identitas-card.highlight {
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.03), rgba(240, 165, 0, 0.08));
    border: 1.5px solid rgba(240, 165, 0, 0.4);
}

@media (max-width: 992px) {
    .identitas-koperasi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .identitas-koperasi-grid {
        grid-template-columns: 1fr;
    }
}

.identitas-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.identitas-body {
    flex: 1;
}

.identitas-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 4px;
}

.identitas-val {
    display: block;
    font-size: 15px;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.5;
}

.project-owner-box {
    margin-top: 24px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
}

.pob-header {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.pob-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.pob-header h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 4px 0;
}

.pob-header p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.pob-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pob-list li {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    padding-left: 24px;
}

.pob-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 800;
    font-size: 14px;
}

.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.vm-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.vm-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.vm-card.primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-color: transparent;
    color: white;
}

.vm-card.primary h3 { color: var(--accent-light); }
.vm-card.primary p { color: rgba(255,255,255,0.8); }

.vm-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.vm-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.vm-card p, .vm-card li {
    line-height: 1.8;
    color: var(--text-light);
}

.vm-card ul {
    padding-left: 0;
    margin-top: 12px;
}

.vm-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 15px;
}

.vm-card ul li::before {
    content: '→';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.vm-card.primary ul li::before { color: var(--accent-light); }

/* Timeline */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--accent);
}

.timeline-year {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.timeline-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-desc {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ---- Contact Page ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info { }

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 16px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-card strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 420px;
}

/* ---- News/Berita List ---- */
.news-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ---- Pagination ---- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-light);
    border: 1.5px solid var(--border);
    background: white;
    transition: var(--transition);
    text-decoration: none;
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ---- Alerts ---- */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 500;
}

.alert-icon { font-size: 18px; flex-shrink: 0; }

.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #d97706; }
.alert-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; }

/* ---- Animations ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- More Button Section ---- */
.section-footer {
    text-align: center;
    margin-top: 48px;
}

/* ---- Responsive Media Queries ---- */
@media (max-width: 1024px) {
    .products-grid,
    .news-grid,
    .news-list-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .about-grid { gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
    :root { --navbar-h: 66px; }

    /* Mobile Drawer Navigation */
    .navbar {
        height: var(--navbar-h);
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(85vw, 320px);
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
        flex-direction: column;
        align-items: stretch;
        padding: 84px 20px 32px;
        gap: 6px;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        z-index: 999;
    }

    .navbar-menu.open {
        right: 0;
    }

    .navbar-menu a {
        width: 100%;
        padding: 12px 18px;
        font-size: 15.5px;
        font-weight: 600;
        border-radius: 10px;
    }

    .btn-wa-nav {
        width: 100%;
        justify-content: center;
        margin: 12px 0 0;
        padding: 13px 18px !important;
        font-size: 15px !important;
    }

    .navbar-toggle {
        display: flex;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: auto;
        padding: 104px 0 54px;
    }

    .hero-content {
        padding: 0;
        text-align: left;
    }

    .hero-badge {
        font-size: 12px;
        padding: 5px 14px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: clamp(26px, 7.5vw, 38px);
        line-height: 1.18;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 14.5px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 15px;
    }

    .slider-arrow {
        display: none !important;
    }

    .slider-controls {
        bottom: 14px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .slider-dot.active {
        width: 24px;
    }

    /* Stats Bar Mobile */
    .stats-bar {
        padding: 24px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stat-item {
        padding: 18px 12px;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-item:nth-child(2n) {
        border-right: none;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: none;
    }

    .stat-number {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* About Section Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image-main {
        border-radius: var(--radius-md);
    }

    .about-image-main div {
        padding: 24px 18px !important;
    }

    .about-image-main img {
        max-height: 140px !important;
    }

    .about-badge-float {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 14px;
        padding: 14px 20px;
        border-radius: var(--radius-md);
        display: block;
        width: 100%;
        text-align: center;
    }

    .about-badge-float strong {
        font-size: 22px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 24px 0;
    }

    .about-feature {
        padding: 14px;
    }

    /* Products & News Grids Mobile */
    .products-grid,
    .news-grid,
    .news-list-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card,
    .news-card {
        border-radius: var(--radius-md);
    }

    .product-card-image,
    .news-image {
        aspect-ratio: 16 / 10;
        height: auto;
    }

    .product-card-body,
    .news-body {
        padding: 20px 18px;
    }

    .product-name,
    .news-title {
        font-size: 17px;
    }

    .product-desc,
    .news-excerpt {
        font-size: 13.5px;
    }

    .product-footer {
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 14px;
    }

    /* Other Subpages Grids */
    .identitas-koperasi-grid { grid-template-columns: 1fr; gap: 14px; }
    .visi-misi-grid { grid-template-columns: 1fr; gap: 20px; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 28px; }

    /* CTA Section Mobile */
    .cta-section {
        padding: 56px 0;
        text-align: center;
    }

    .cta-content h2 {
        font-size: clamp(22px, 6.5vw, 30px);
        margin-bottom: 12px;
    }

    .cta-content p {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .cta-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 15px;
    }

    /* Floating WA Button Mobile */
    .wa-float {
        bottom: 20px;
        right: 18px;
        width: 52px;
        height: 52px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    }

    .wa-float span {
        display: none !important;
    }

    .wa-float svg {
        width: 26px;
        height: 26px;
    }

    /* General Spacing Mobile */
    .section { padding: 56px 0; }
    .section-sm { padding: 36px 0; }
    .section-header { margin-bottom: 36px; }
    .section-badge { font-size: 11.5px; padding: 4px 12px; margin-bottom: 12px; }
    .section-title { font-size: clamp(24px, 6.5vw, 34px); margin-bottom: 12px; }
    .section-subtitle { font-size: 14.5px; line-height: 1.6; }
    .container { padding: 0 18px; }
    .page-header { padding: 100px 0 36px; }
}

@media (max-width: 480px) {
    /* Navbar Brand Narrow Mobile */
    .navbar-brand {
        max-width: calc(100% - 54px);
        gap: 10px;
    }

    .brand-logo {
        height: 38px;
        max-height: 38px;
    }

    .brand-logo img {
        height: 36px;
        max-height: 36px;
        max-width: 95px;
    }

    .brand-logo svg {
        width: 32px;
        height: 32px;
    }

    .brand-name {
        font-size: 13.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 175px;
    }

    .brand-tagline {
        font-size: 9.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 175px;
    }

    .filter-container { flex-direction: column; align-items: flex-start; }
    .search-input-wrap { width: 100%; }
    .search-input-wrap input { min-width: unset; width: 100%; }

    /* Footer Mobile */
    .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
    .footer-bottom .container { flex-direction: column; gap: 6px; text-align: center; }
}

/* ========================================================
   FOOTER STYLES
   ======================================================== */

.footer {
    position: relative;
    background: var(--primary-dark);
    margin-top: 0;
}

/* Wave SVG separator */
.footer-wave {
    display: block;
    line-height: 0;
    margin-bottom: -2px;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* Main body of footer */
.footer-body {
    background: var(--primary-dark);
    padding: 60px 0 40px;
}

/* 4-column grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    align-items: flex-start;
}

/* Brand column */
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-brand .footer-logo img {
    height: 56px;
    max-height: 56px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.footer-brand .footer-logo svg {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.footer-brand .footer-logo strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.footer-brand .footer-logo span {
    display: block;
    font-size: 12px;
    color: var(--accent-light);
    font-weight: 500;
    margin-top: 2px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Social icons */
.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Navigation columns */
.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a::before {
    content: '›';
    font-size: 16px;
    color: var(--accent);
    line-height: 1;
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 6px;
}

.footer-col ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact list */
.footer-contact {
    gap: 14px !important;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.footer-contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}

.footer-contact li a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-contact li a:hover {
    color: var(--accent-light);
}

/* Copyright bar */
.footer-bottom {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 18px 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
    font-size: 13px;
}

.footer-bottom a:hover {
    color: var(--accent-light);
}

/* ---- Footer Responsive ---- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-brand {
        grid-column: 1;
    }
    .footer-body {
        padding: 48px 0 32px;
    }
    .footer-bottom .container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .footer-wave svg {
        height: 48px;
    }
}

/* ---- Brand Logo Responsive ---- */
@media (max-width: 768px) {
    .brand-logo {
        height: 42px;
        max-height: 42px;
    }
    .brand-logo img {
        height: 40px;
        max-height: 40px;
        max-width: 130px;
    }
    .brand-logo svg {
        width: 36px;
        height: 36px;
    }
    .brand-name {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .brand-logo img {
        height: 34px;
        max-height: 34px;
        max-width: 100px;
    }
    .brand-name {
        font-size: 14px;
    }
}

/* ---- Jenis Garam Yang Diproduksi ---- */
.jenis-garam-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.jenis-garam-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}

.jenis-garam-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.jenis-garam-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(11, 37, 69, 0.1);
    border-color: rgba(240, 165, 0, 0.4);
}

.jenis-garam-card:hover::before {
    opacity: 1;
}

.jenis-garam-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.05), rgba(240, 165, 0, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 18px;
    border: 1px solid rgba(240, 165, 0, 0.25);
    transition: transform 0.3s ease;
}

.jenis-garam-card:hover .jenis-garam-icon-wrap {
    transform: scale(1.08) rotate(4deg);
}

.jenis-garam-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(11, 37, 69, 0.06);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.jenis-garam-title {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.jenis-garam-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-light);
    margin-bottom: 22px;
    flex-grow: 1;
}

.jenis-garam-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
    margin-top: auto;
}

.jenis-garam-link:hover {
    color: var(--primary);
    gap: 12px;
}

/* Category Banner on produk.php */
.kategori-banner {
    background: linear-gradient(135deg, #0B2545 0%, #134074 100%);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    color: #FFFFFF;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.kategori-banner::after {
    content: '🧂';
    position: absolute;
    right: 24px;
    bottom: -10px;
    font-size: 120px;
    opacity: 0.1;
    pointer-events: none;
}

.kategori-banner-badge {
    display: inline-block;
    background: rgba(240, 165, 0, 0.2);
    color: var(--accent);
    border: 1px solid rgba(240, 165, 0, 0.4);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kategori-banner h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.kategori-banner p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 800px;
    margin: 0;
}

@media (max-width: 1024px) {
    .jenis-garam-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .jenis-garam-grid {
        grid-template-columns: 1fr;
    }
    .kategori-banner {
        padding: 24px 20px;
    }
}

/* ==========================================================
   GALERI FOTO & DOKUMENTASI
   ========================================================== */
.galeri-header-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 36px;
}

.galeri-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.galeri-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    background: #FFFFFF;
    color: var(--text-light);
    border: 1.5px solid var(--border);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(11, 37, 69, 0.04);
}

.galeri-filter-btn:hover {
    color: var(--primary);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.galeri-filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.2);
}

.galeri-filter-btn .filter-count {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    background: rgba(11, 37, 69, 0.08);
    color: var(--primary);
}

.galeri-filter-btn.active .filter-count {
    background: var(--accent);
    color: var(--primary-dark);
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
}

.galeri-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.galeri-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(240, 165, 0, 0.4);
}

.galeri-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0B2545;
}

.galeri-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.galeri-card:hover .galeri-thumb-wrap img {
    transform: scale(1.08);
}

.galeri-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 37, 69, 0.85) 0%, rgba(11, 37, 69, 0.2) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.galeri-zoom-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 13px;
    border-radius: 50px;
    box-shadow: var(--shadow-gold);
    transform: translateY(12px);
    transition: transform 0.35s ease;
}

.galeri-card:hover .galeri-zoom-btn {
    transform: translateY(0);
}

.galeri-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 37, 69, 0.85);
    color: #FFFFFF;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.02em;
}

.galeri-info {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.galeri-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.galeri-card:hover .galeri-title {
    color: #134074;
}

.galeri-desc {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.galeri-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted);
}

.galeri-cta-view {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: var(--accent-dark);
}

/* Lightbox Modal */
.galeri-modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 15, 31, 0.92);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeri-modal.active {
    display: flex;
    opacity: 1;
}

.galeri-modal-box {
    background: #0B2545;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    max-width: 1040px;
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.galeri-modal-image-wrap {
    width: 100%;
    max-height: 62vh;
    background: #040912;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.galeri-modal-image-wrap img {
    max-width: 100%;
    max-height: 62vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.galeri-modal-details {
    padding: 20px 28px;
    background: #0B2545;
    color: #FFFFFF;
    overflow-y: auto;
}

.galeri-modal-category {
    display: inline-block;
    background: rgba(240, 165, 0, 0.2);
    color: var(--accent);
    border: 1px solid rgba(240, 165, 0, 0.4);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.galeri-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.35;
}

.galeri-modal-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.galeri-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(11, 37, 69, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.galeri-modal-close:hover {
    background: var(--error);
    transform: rotate(90deg);
}

.galeri-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11, 37, 69, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.galeri-modal-nav:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.galeri-modal-prev { left: 16px; }
.galeri-modal-next { right: 16px; }

/* Gallery CTA Section */
.galeri-cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #FFFFFF;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.galeri-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 14px;
    line-height: 1.25;
}

.galeri-cta-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    max-width: 650px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.galeri-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--accent) !important;
    color: var(--primary-dark) !important;
    font-weight: 700 !important;
    padding: 13px 28px !important;
    border-radius: 50px !important;
}

.btn-cta-outline {
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #FFFFFF !important;
    padding: 13px 28px !important;
    border-radius: 50px !important;
}

@media (max-width: 768px) {
    .galeri-header-intro {
        margin-bottom: 24px;
    }

    .galeri-filter-bar {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 4px 18px 12px;
        margin: 0 -18px 24px;
        width: calc(100% + 36px);
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .galeri-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .galeri-filter-btn {
        flex-shrink: 0;
        padding: 8px 18px;
        font-size: 13px;
    }

    .galeri-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .galeri-card {
        border-radius: var(--radius-md);
    }

    .galeri-thumb-wrap {
        aspect-ratio: 16 / 10;
    }

    .galeri-info {
        padding: 18px;
    }

    .galeri-title {
        font-size: 16.5px;
        margin-bottom: 6px;
    }

    .galeri-desc {
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 14px;
    }

    /* Lightbox Modal Mobile */
    .galeri-modal {
        padding: 14px;
    }

    .galeri-modal-box {
        max-height: 92vh;
        border-radius: 14px;
    }

    .galeri-modal-image-wrap {
        max-height: 52vh;
    }

    .galeri-modal-image-wrap img {
        max-height: 52vh;
    }

    .galeri-modal-details {
        padding: 14px 18px;
    }

    .galeri-modal-title {
        font-size: 16px;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    .galeri-modal-desc {
        font-size: 13px;
        line-height: 1.55;
    }

    .galeri-modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .galeri-modal-nav {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

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

    /* CTA Section Mobile */
    .galeri-cta-section {
        padding: 54px 0;
    }

    .galeri-cta-title {
        font-size: clamp(22px, 6.5vw, 30px);
        margin-bottom: 12px;
    }

    .galeri-cta-desc {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .galeri-cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        gap: 12px;
    }

    .galeri-cta-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px !important;
        font-size: 14.5px !important;
    }
}

/* Vertical Divider for Dual Logos (Koperasi Indonesia & Entitas) */
.logo-divider-v {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .logo-divider-v {
        display: none;
    }
}



