/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    padding-top: 70px; /* Tambah padding-top untuk navbar fixed */
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Modern Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999; /* Pastikan navbar selalu di atas */
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15); /* Shadow yang lebih jelas */
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* Navbar logo styling */
.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Footer logo styling */
.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Responsive logo styling */
@media (max-width: 768px) {
    .navbar-logo {
        height: 40px;
    }

    .footer-logo-img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        top: 72px;
        padding: 15px;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .nav-search {
        width: 160px;
        padding: 8px 14px;
    }

    .nav-search input {
        font-size: 13px;
    }

    .hamburger-menu {
        width: 26px;
        height: 20px;
    }

    .hamburger-line {
        height: 2px;
    }

    .navbar-logo {
        height: 35px;
    }

    .footer-logo-img {
        height: 35px;
    }
}

.nav-logo h2 {
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-search {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 10px 18px;
    width: 280px;
    transition: all 0.3s ease;
}

.nav-search:focus-within {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.search-icon {
    color: var(--text-light);
    margin-right: 12px;
    font-size: 1rem;
}

.nav-search input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
}

.nav-search input::placeholder {
    color: var(--text-light);
}

.nav-search button {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 12px;
    box-shadow: var(--shadow-sm);
}

.nav-search button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}



/* Modern Hero Section */
.hero {
    padding: 0; /* Reset padding karena hero-slider sudah memiliki height */
    background: var(--bg-secondary);
    margin-top: 0; /* Reset margin karena body sudah ada padding-top */
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(229, 231, 235, 0.2); /* Tambah border untuk memisahkan dari navbar */
    height: 600px; /* Berikan height yang jelas */
    min-height: 600px; /* Pastikan minimum height */
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px; /* Berikan height yang jelas */
    min-height: 600px; /* Pastikan minimum height */
    z-index: 1; /* Pastikan z-index lebih rendah dari navbar */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Default z-index untuk slide yang tidak active */
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 3; /* Active slide harus di atas yang lain */
}

.hero-slide.prev {
    transform: translateX(-100%);
    z-index: 1; /* Prev slide di belakang */
}

/* Slider Navigation */
.hero-slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20; /* Navigation harus di atas semua content */
}

.slider-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-nav-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.slider-nav-btn.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 20; /* Arrows harus di atas semua content */
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-prev {
        left: 20px;
    }

    .slider-next {
        right: 20px;
    }

    .hero-slider-nav {
        bottom: 30px;
        gap: 10px;
    }

    .slider-nav-btn {
        width: 10px;
        height: 10px;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0; /* Background harus di belakang content */
}

.hero-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 5%;
    background: var(--gradient-secondary);
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 20%;
    background: var(--gradient-accent);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px; /* Reset padding untuk centering yang tepat */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2; /* Content harus di atas background */
    height: 100%; /* Gunakan height 100% untuk mengisi hero-slide */
    min-height: 600px; /* Pastikan minimum height */
}

.hero-content {
    position: relative;
    z-index: 4; /* Content harus di atas semua slide */
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--secondary-color);
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.cta-button.primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.cta-button.secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* WhatsApp CTA Button Styling - Simple Design */
.cta-button.whatsapp-cta {
    background: #25D366;
    color: white;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}



.cta-button.whatsapp-cta:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.cta-button.whatsapp-cta i {
    font-size: 1.1rem;
    color: white;
}

.cta-button.whatsapp-cta span {
    font-weight: 600;
}

.cta-button.whatsapp-cta:focus {
    outline: 2px solid rgba(37, 211, 102, 0.5);
    outline-offset: 2px;
}

.cta-button.whatsapp-cta:active {
    transform: translateY(0);
    background: #075E54;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4; /* Image harus di atas semua slide */
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4; /* Container harus di atas semua slide */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 20px;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* Mobile Responsiveness untuk Hero Image */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .cta-button {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .image-container {
        max-width: 100%;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .hero-container {
        gap: 40px;
        padding: 0 24px;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        max-width: 450px;
    }

    .hero-actions {
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 38px;
    }

    .cta-button.whatsapp-cta {
        padding: 15px 24px;
        font-size: 0.95rem;
        gap: 12px;
    }

    .cta-button.whatsapp-cta i {
        font-size: 1rem;
    }

    .image-container {
        max-width: 500px;
        aspect-ratio: 4/3;
    }

    .product-detail {
        padding: 35px;
    }

    .product-detail-image {
        aspect-ratio: 4/3;
    }

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

    .product-detail-category-badge {
        top: 14px;
        left: 14px;
        padding: 6px 11px;
        font-size: 0.7rem;
    }

    .product-detail-stock {
        padding: 7px 11px;
    }

    .stock-indicator {
        width: 7px;
        height: 7px;
    }

    .variants-list {
        gap: 7px;
    }

    .variant-item {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
}

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

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        border-bottom: 1px solid var(--border-color);
    }

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

    .nav-link {
        padding: 16px 20px;
        border-radius: 12px;
        margin-bottom: 8px;
        text-align: center;
        font-size: 1rem;
        font-weight: 600;
        border: 1px solid transparent;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        transform: translateY(-2px);
    }

    .nav-link:last-child {
        margin-bottom: 0;
    }

    .nav-actions {
        flex: 1;
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .nav-search {
        width: 200px;
    }
    .nav-container {
        padding: 0 16px;
        height: 72px; /* slightly taller on mobile */
    }
    body {
        padding-top: 72px !important; /* match mobile navbar height */
    }
    .hero {
        margin-top: 0; /* ensure no negative overlap */
    }
}

@media (max-width: 480px) {
    /* refine mobile alignment */
    .nav-actions {
        justify-content: center;
    }

    /* Footer center alignment */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .footer-section {
        width: 100%;
    }
    .footer-links a {
        justify-content: center;
    }

    /* Ensure nav-menu position matches mobile navbar height */
    .nav-menu {
        top: 72px;
        padding: 15px;
    }

    .hero-container {
        min-height: 400px;
        gap: 30px;
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .hero-actions {
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .image-container {
        aspect-ratio: 16/10;
        border-radius: 16px;
    }
}



/* Modern Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.header-badge i {
    color: var(--secondary-color);
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.best-sellers, .new-products, .products-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
    margin-top: 0; /* Reset margin karena body sudah ada padding-top */
}

.best-sellers {
    margin-top: 0; /* Section pertama tidak perlu margin tambahan */
}

.new-products {
    margin-top: 0; /* Reset margin */
}

.products-section {
    margin-top: 0; /* Reset margin */
}

/* Pastikan semua section memiliki spacing yang konsisten */
section {
    position: relative;
    z-index: 1;
}

/* Modern Products Grid - Compact */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
}

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

.product-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;
}

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

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

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--gradient-secondary);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-sm);
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
}

.product-category {
    color: var(--primary-color);
    font-size: 0.7rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
    order: 1;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
    line-height: 1.3;
    order: 2;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    order: 3;
}

.product-stock {
    margin-bottom: 8px;
    order: 4;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}





.product-actions {
    display: flex;
    gap: 6px;
    order: 6;
    margin-top: auto;
}

.btn-detail, .btn-whatsapp {
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.btn-detail {
    background: var(--text-primary);
    color: white;
    border: 2px solid var(--text-primary);
    padding: 8px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.btn-whatsapp {
    background: var(--gradient-accent);
    color: white;
    border: 2px solid transparent;
    flex: 1;
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Modern Marketplace & Social Media */
.marketplace-social {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.social-item {
    background: var(--bg-primary);
    padding: 20px 16px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.social-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.social-item:hover::before {
    transform: scaleX(1);
}

.social-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.social-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .social-header {
        gap: 8px;
        margin-bottom: 10px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .social-item h3 {
        font-size: 1rem;
    }

    .social-description {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
}

.social-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.social-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.social-item p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.social-description {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.8rem;
    line-height: 1.4;
    opacity: 0.8;
}

.social-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 12px;
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    justify-content: center;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Modern WhatsApp CTA */
.whatsapp-cta {
    padding: 60px 0;
    background: var(--gradient-accent);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.icon-container {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(20px);
}

.icon-container i {
    font-size: 2rem;
    opacity: 0.9;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

.whatsapp-button {
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.whatsapp-button.primary {
    background: white;
    color: var(--accent-color);
    border-color: white;
}

.whatsapp-button.primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.whatsapp-button.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.whatsapp-button.secondary:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Modern Products Section with Filter */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.sidebar {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 120px;
    border: 1px solid var(--border-color);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-header h3 i {
    color: var(--primary-color);
}

.clear-filters {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.clear-filters:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.filter-section {
    margin-bottom: 20px;
}

.filter-section:first-of-type {
    margin-top: 0;
}

.filter-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-section h4 i {
    color: var(--primary-color);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Category filter label styling */
.filter-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.3s ease;
    font-size: 0.75rem;  /* Font lebih kecil */
    color: var(--text-secondary);
}

.filter-options label:hover {
    color: var(--primary-color);
}

.filter-options input[type="checkbox"] {
    width: 14px;  /* Checkbox lebih kecil */
    height: 14px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

/* Responsive filter options */
@media (max-width: 768px) {
    .filter-options label {
        font-size: 0.7rem;  /* Font lebih kecil lagi untuk mobile */
        gap: 6px;
    }

    .filter-options input[type="checkbox"] {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .filter-options label {
        font-size: 0.65rem;  /* Font paling kecil untuk small mobile */
        gap: 5px;
    }

    .filter-options input[type="checkbox"] {
        width: 11px;
        height: 11px;
    }
}

/* Sort select styling */
.sort-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.sort-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.sort-select:hover {
    border-color: var(--primary-color);
}

/* Filter checkbox styles removed - no longer needed */

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background: var(--bg-primary);
    padding: 24px 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.items-per-page {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.items-per-page label {
    white-space: nowrap;
}

.items-per-page select {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
}

.results-count {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.results-count i {
    color: var(--primary-color);
}

.results-count span {
    color: var(--primary-color);
    font-weight: 700;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-options label {
    font-weight: 600;
    color: var(--text-primary);
}

.sort-options select {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-options select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Modern Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.modal-content {
    background-color: var(--bg-primary);
    margin: 3% auto;
    padding: 0;
    border-radius: 24px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    right: 24px;
    top: 24px;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-secondary);
}

.close:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.product-detail {
    padding: 40px;
}

.product-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.product-detail-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
}

.product-detail-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(99, 102, 241, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-detail-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.2;
}

.product-detail-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-detail-stock {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    background: rgba(107, 114, 128, 0.1);
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(107, 114, 128, 0.2);
    transition: all 0.3s ease;
    width: fit-content;
}

.product-detail-stock:hover {
    background: rgba(107, 114, 128, 0.15);
    transform: translateY(-1px);
}

/* Stock Indicator Styles */
.stock-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.stock-indicator.stock-high {
    background: var(--accent-color);
}

.stock-indicator.stock-medium {
    background: var(--secondary-color);
}

.stock-indicator.stock-low {
    background: #ef4444;
}

.stock-indicator.stock-out {
    background: #6b7280;
}





.product-detail-variants {
    margin-bottom: 30px;
}

.product-detail-variants h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.variants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-item {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Variant Stock Classes */
.variant-item.stock-high {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #059669;
}

.variant-item.stock-medium {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: #d97706;
}

.variant-item.stock-low {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.variant-item.stock-critical {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: #b91c1c;
}

.variant-item.stock-out {
    background: rgba(107, 114, 128, 0.1);
    border-color: rgba(107, 114, 128, 0.3);
    color: #6b7280;
}

.variant-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.variant-item:hover::before {
    left: 100%;
}

.variant-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.variant-item.stock-high:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
}

.variant-item.stock-medium:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.5);
}

.variant-item.stock-low:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.variant-item.stock-critical:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.5);
}

.variant-item.stock-out:hover {
    background: rgba(107, 114, 128, 0.2);
    border-color: rgba(107, 114, 128, 0.5);
}

.variant-item .stock-info {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 400;
    color: inherit;
}

/* Variants Table Styling - Compact & Clean */
.variants-table-container {
    margin-top: 12px;
    overflow-x: auto;
}

.variants-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.variants-table thead {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.variants-table th {
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    color: #475569;
    text-transform: none;
    letter-spacing: 0.3px;
    position: relative;
}

.variants-table th:first-child {
    border-top-left-radius: 8px;
}

.variants-table th:last-child {
    border-top-right-radius: 8px;
}

/* Clean header design enhancements */
.variants-table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

.variants-table th:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    border-top-left-radius: 8px;
}

.variants-table tbody tr {
    transition: all 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
}

.variants-table tbody tr:last-child {
    border-bottom: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.variants-table tbody tr:hover {
    background: #f1f5f9;
    transform: none;
    box-shadow: none;
}

.variant-row {
    cursor: pointer;
}

.variant-name {
    padding: 8px 12px;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.85rem;
}

.variant-stock {
    padding: 8px 12px;
    font-weight: 700;
    color: #475569;
    font-size: 0.9rem;
    text-align: center;
}

/* Variant stock styling - simplified for 2 columns */
.variant-stock {
    padding: 8px 12px;
    font-weight: 700;
    color: #475569;
    font-size: 0.9rem;
    text-align: center;
    position: relative;
}

/* Add stock level indicator to stock column */
.variant-stock::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.8;
}

/* Row Background Colors based on Stock */
.variant-row.stock-high {
    background: rgba(16, 185, 129, 0.02);
}

.variant-row.stock-medium {
    background: rgba(245, 158, 11, 0.02);
}

.variant-row.stock-low {
    background: rgba(239, 68, 68, 0.02);
}

.variant-row.stock-critical {
    background: rgba(220, 38, 38, 0.02);
}

.variant-row.stock-out {
    background: rgba(107, 114, 128, 0.02);
}

/* Stock column colors based on stock level */
.variant-row.stock-high .variant-stock {
    color: #059669;
}

.variant-row.stock-medium .variant-stock {
    color: #d97706;
}

.variant-row.stock-low .variant-stock {
    color: #dc2626;
}

.variant-row.stock-critical .variant-stock {
    color: #b91c1c;
}

.variant-row.stock-out .variant-stock {
    color: #6b7280;
}

.variant-row.stock-high:hover {
    background: rgba(16, 185, 129, 0.05);
}

.variant-row.stock-medium:hover {
    background: rgba(245, 158, 11, 0.05);
}

.variant-row.stock-low:hover {
    background: rgba(239, 68, 68, 0.05);
}

.variant-row.stock-critical:hover {
    background: rgba(220, 38, 38, 0.05);
}

.variant-row.stock-out:hover {
    background: rgba(107, 114, 128, 0.05);
}

/* Responsive Table Styling - Compact */
@media (max-width: 768px) {
    .variants-table-container {
        margin-top: 10px;
    }

    .variants-table th,
    .variants-table td {
        padding: 6px 8px;
        font-size: 0.75rem;
    }

    .variants-table th {
        font-size: 0.7rem;
        letter-spacing: 0.2px;
    }

    .variant-name {
        font-size: 0.75rem;
    }

    .variant-stock {
        font-size: 0.8rem;
    }

    .variant-stock::before {
        width: 4px;
        height: 4px;
        left: 4px;
    }
}

@media (max-width: 480px) {
    .variants-table {
        font-size: 0.7rem;
        border-radius: 6px;
    }

    .variants-table th,
    .variants-table td {
        padding: 5px 6px;
        font-size: 0.65rem;
    }

    .variants-table th {
        font-size: 0.65rem;
        letter-spacing: 0.1px;
    }

    .variant-name {
        font-size: 0.7rem;
    }

    .variant-stock {
        font-size: 0.75rem;
    }

    .variant-stock::before {
        width: 3px;
        height: 3px;
        left: 3px;
    }
}



.product-detail-actions {
    display: flex;
    gap: 16px;
}

.product-detail-actions .btn-whatsapp {
    flex: 1;
    padding: 16px 28px;
    font-size: 0.9rem;
    border-radius: 16px;
}



.sort-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 36px;
    margin-top: 8px;
}

.sort-select:hover {
    border-color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.02);
}

.sort-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.sort-select option {
    padding: 8px 12px;
    font-size: 0.8rem;
    background: white;
    color: var(--text-primary);
    border: none;
    cursor: pointer;
}

.sort-select option:hover {
    background: rgba(99, 102, 241, 0.05);
    color: var(--primary-color);
}

.sort-select option:checked {
    background: var(--primary-color);
    color: white;
}















/* Base styling untuk semua thumb */
.price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.price-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}



/* Stock Info Display */
.stock-info {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.75rem;
    background: rgba(107, 114, 128, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid rgba(107, 114, 128, 0.2);
    transition: all 0.3s ease;
}

.stock-info:hover {
    background: rgba(107, 114, 128, 0.15);
    transform: translateY(-1px);
}

/* Sold Count Display */
.sold-count {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: all 0.3s ease;
}

.sold-count:hover {
    background: rgba(34, 197, 94, 0.15);
    transform: translateY(-1px);
}



/* Category Badge */
.category-badge {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: float 3s ease-in-out infinite;
}

/* Variant Count Display */
.variant-count {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.variant-count:hover {
    background: rgba(99, 102, 241, 0.15);
    transform: translateY(-1px);
}

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

/* Product Features */
.product-features {
    margin-bottom: 40px;
}

.product-features h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.feature-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 12px 20px;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-tag i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* Modern Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 32px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    overflow: hidden;
}

.footer-logo h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    .nav-menu {
        gap: 6px;
    }

    .nav-link {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .hero {
        height: 580px; /* Sesuaikan height untuk desktop tablet */
    }

    .hero-slider {
        height: 580px; /* Sesuaikan height untuk desktop tablet */
    }

    .hero-container {
        gap: 60px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .products-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar {
        position: static;
        margin-bottom: 40px;
    }

    .modern-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-container {
        /* flex-direction: column; */
        height: auto;
        padding: 20px 25px;
    }

    .nav-menu {
        margin: 20px 0;
        gap: 4px;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
    }

    .nav-search {
        width: 200px;
    }

    .nav-search button{
        margin-left: -10px;
    }

    .hero {
        height: 550px; /* Sesuaikan height untuk tablet */
    }

    .hero-slider {
        height: 550px; /* Sesuaikan height untuk tablet */
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-actions {
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 35px;
    }

    .cta-button.whatsapp-cta {
        padding: 14px 20px;
        font-size: 0.9rem;
        gap: 10px;
    }

    .cta-button.whatsapp-cta i {
        font-size: 0.95rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .products-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .product-detail-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .product-detail {
        padding: 30px;
    }

    .product-detail-image {
        aspect-ratio: 4/3;
    }

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

    .product-detail-category-badge {
        top: 12px;
        left: 12px;
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .product-detail-actions {
        flex-direction: column;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        height: 500px; /* Sesuaikan height untuk mobile */
        padding: 0;
    }

    .hero-slider {
        height: 500px; /* Sesuaikan height untuk mobile */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        align-items: center;
        margin-bottom: 30px;
    }

    .cta-button.whatsapp-cta {
        padding: 12px 18px;
        font-size: 0.85rem;
        gap: 8px;
    }

    .cta-button.whatsapp-cta i {
        font-size: 0.9rem;
    }

    .modern-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .product-detail {
        padding: 25px 15px;
    }

    .product-detail-image {
        aspect-ratio: 4/3;
    }

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

    .product-detail-category-badge {
        top: 10px;
        left: 10px;
        padding: 4px 8px;
        font-size: 0.65rem;
    }

    .product-detail-info h2 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .product-detail-price {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    .product-detail-stock {
        margin-bottom: 16px;
        padding: 6px 10px;
    }

    .stock-indicator {
        width: 6px;
        height: 6px;
    }

    .variants-list {
        gap: 6px;
    }

    .variant-item {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .product-detail-variants {
        margin-bottom: 24px;
    }

    .product-detail-variants h4 {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .product-detail-actions .btn-whatsapp {
        padding: 14px 24px;
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }
}

/* ================================
   PAGINATION STYLES
   ================================ */

.pagination-container {
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 44px;
    justify-content: center;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.pagination-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-secondary);
    color: var(--text-light);
}

.pagination-prev,
.pagination-next {
    padding: 0.75rem 1.25rem;
    font-weight: 600;
}

.pagination-ellipsis {
    color: var(--text-light);
    padding: 0.75rem 0.5rem;
    font-weight: 500;
}

.pagination-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pagination-info span {
    display: block;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination-wrapper {
        gap: 0.5rem;
    }

    .pagination-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        min-width: 40px;
    }

    .pagination-prev,
    .pagination-next {
        padding: 0.6rem 1rem;
    }

    .pagination-prev span,
    .pagination-next span {
        display: none;
    }

    .pagination-info {
        font-size: 0.8rem;
        margin-top: 1rem;
    }

    .items-per-page {
        font-size: 0.8rem;
    }

    .products-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .pagination-numbers {
        gap: 0.25rem;
    }

    .pagination-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
        min-width: 36px;
    }

    .pagination-container {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }
}
