/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #2c2c2c;
    --primary-white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #4a4a4a;
    --brown-accent: #6b7280;
    --text-primary: #2c2c2c;
    --text-secondary: #6b6b6b;
    --border-color: #e0e0e0;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', sans-serif;

    --transition: all 0.3s ease;
    --border-radius: 8px;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
}

/* Base Body - FIX OVERFLOW */
body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--primary-white);
  font-size: 16px;
  overflow-x: hidden; /* ← TAMBAHKAN INI - Cegah scroll horizontal */
  max-width: 100vw; /* ← TAMBAHKAN INI */
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* ← TAMBAHKAN INI */
  max-width: 100vw; /* ← TAMBAHKAN INI */
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: var(--primary-black);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-black);
}

.nav-logo .subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: block;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--brown-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--brown-accent);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}
/* Dropdown Fix - Produk tetap bisa diklik */
.dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 3px;
}

.dropdown-toggle {
    cursor: pointer;
}

/* Chevron icon smooth animation */
.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 0.7rem !important;
}

/* Dropdown content enhancement */
.dropdown-content {
    min-width: 220px;
    padding: 0.5rem 0;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
}

.dropdown-content a:first-child {
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.25rem;
    color: var(--brown-accent);
}

.dropdown-content a:not(:first-child) {
    text-transform: capitalize;
}

/* Dropdown */
/* Dropdown - FIX VISIBILITY */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown .nav-link {
    color: var(--text-primary) !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background: var(--light-gray);
    color: var(--brown-accent);
    padding-left: 1.5rem;
}

.dropdown-content a:first-child {
    font-weight: 600;
    color: var(--brown-accent);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 0.25rem;
}

.dropdown-content a:not(:first-child) {
    text-transform: capitalize;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-container input {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    outline: none;
    width: 200px;
    transition: var(--transition);
}

.search-container input:focus {
    border-color: var(--brown-accent);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.search-container i {
    position: absolute;
    right: 1rem;
    color: var(--text-secondary);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.cart-icon:hover {
    color: var(--brown-accent);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--brown-accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section - RESPONSIVE FIX */
/* ===== HERO SECTION WITH SLIDESHOW ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
}

/* Slideshow Container */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Individual Slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: kenburns 20s ease-in-out infinite;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Ken Burns Effect (Zoom Animation) */
@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Overlay untuk membuat text lebih jelas */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 2;
}

/* Hero Content (Text di atas) */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
}

.hero-text {
    max-width: 700px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.typewriter-text {
    color: #ffffff;
    display: inline-block;
}

/* CTA Button */
/* CTA Button - Abu-Abu Hitam */
.cta-button {
    background: transparent;  /* Background transparan */
    color: white;  /* Text putih */
    padding: 1rem 2.5rem;
    border: 3px solid white;  /* Garis outer putih */
    border-radius: 50px;  /* Oval shape */
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.cta-button:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.cta-button i {
    margin-right: 8px;

}


.cta-button:hover {
    transform: translateY(-3px);
}

/* Slideshow Indicators (Dots) */
.slideshow-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: #9e9e9e;
    border-color: white;
    width: 32px;
    border-radius: 6px;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}



/* Product Grid */
.featured-products {
    padding: 6rem 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px; /* Batasi lebar maksimal */
    margin: 0 auto; /* Center grid */
    padding: 0 15px; /* Tambahkan padding ekstra */
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5; /* ← Lebih tinggi (portrait) */
  background: var(--light-gray);
}

.product-image img {
  width: 100%;
  height: 100%; /* ← JANGAN height: 0 */
  object-fit: cover;
  object-position: center 15%; /* ← Fokus ke atas */
  display: block; /* ← PENTING: Hindari whitespace */
  transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.quick-view-btn:hover {
    background: var(--brown-accent);
    color: white;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brown-accent);
    margin-bottom: 1rem;
}

.color-options {
    display: flex;
    gap: 0.5rem;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.color-dot:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--brown-accent);
}

/* Categories Section */
.categories {
    padding: 6rem 0;
    background: var(--light-gray);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 2rem;
    text-align: center;
}

.category-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
    padding: 0 10px;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding: 0 10px;
}

.brand-values {
    display: grid;
    gap: 0.01rem;
    margin-top: 3rem;
    padding: 0 10px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.1rem 1px; /* ← UBAH dari 0.75rem jadi 0.5rem */
    margin-bottom: 0.1rem; /* ← TAMBAHKAN ini */
}

.value-item i {
    color: var(--brown-accent);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    padding: 0.75rem 5px; /* ← UBAH dari 0.75rem jadi 0.5rem */
}

.value-item h4 {
    padding: 0.1rem 1px; /* ← UBAH dari 0.75rem jadi 0.5rem */
    margin-bottom: 0.1rem; /* ← UBAH dari 0.5rem jadi 0.25rem */
    font-size: 1.1rem;
}

.value-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    padding: 0.1rem 1px; /* ← UBAH dari 0.75rem jadi 0.5rem */
    margin: 0; /* ← Reset margin */
    line-height: 1.4; /* ← Kurangi line-height */
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Store Locator */
/* Store Locator */
.store-locator {
    padding: 6rem 0;
    background: var(--light-gray);
    width: 100%;
}


.store-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.store-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-black);
    padding: 0 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0; /* ← Reset margin */
    line-height: 1.4;
    padding: 0.5rem 10px;
}

.detail-item i {
    color: var(--brown-accent);
    width: 20px;
    padding: 0.5rem 10px;
}

.online-store {
    margin-top: 3rem;
}

.online-store h4 {
    margin-bottom: 1rem;
}

.online-platforms {
    display: flex;
    gap: 1rem;
}

.platform-link {
    padding: 0.5rem 1rem;
    background: var(--primary-black);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.platform-link:hover {
    background: var(--brown-accent);
}

/* Store Locator Enhancements */
.store-facilities {
    margin-top: 2rem;
}

.store-facilities h4 {
    margin-bottom: 1rem;
    color: var(--brown-accent);
}

.facilities-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.facilities-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.facilities-list i {
    color: var(--brown-accent);
    width: 16px;
}

/* Interactive Map Styles */
.interactive-map {
    height: 400px;
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.map-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.map-btn {
    padding: 0.75rem 1rem;
    background: var(--primary-black);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-btn:hover {
    background: var(--brown-accent);
    transform: translateY(-2px);
}

.map-btn i {
    font-size: 0.9rem;
}

/* Leaflet Map Customization */
.leaflet-popup-content-wrapper {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.leaflet-popup-content {
    margin: 1rem;
    font-family: var(--font-primary);
}

.leaflet-popup h4 {
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.leaflet-popup p {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.popup-address {
    font-weight: 600;
    color: var(--primary-black);
}

.popup-hours {
    color: var(--brown-accent);
}

/* Loading State for Map */
.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
}

.map-loading i {
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error State for Map */
.map-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem;
}

.map-error i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff4757;
}

.map-error button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--brown-accent);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
}

/* Newsletter */
.newsletter {
    padding: 4rem 0;
    background: var(--primary-black);
    color: white;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.8);
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    outline: none;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--brown-accent);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--dark-gray);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--brown-accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--brown-accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--brown-accent);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: white;
    color: var(--brown-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    z-index: 2000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cart-item-price {
    color: var(--brown-accent);
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    background: var(--light-gray);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-black);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover {
    background: var(--brown-accent);
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-secondary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.close-modal:hover {
    color: var(--primary-black);
}

.modal-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.modal-images {
    display: grid;
    gap: 1rem;
}

.modal-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.modal-thumbnails {
    display: flex;
    gap: 0.5rem;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.thumbnail.active,
.thumbnail:hover {
    opacity: 1;
    border: 2px solid var(--brown-accent);
}

.modal-details h2 {
    margin-bottom: 1rem;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brown-accent);
    margin-bottom: 1.5rem;
}

.size-selector,
.color-selector {
    margin-bottom: 1.5rem;
}

.size-selector h4,
.color-selector h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.size-options {
    display: flex;
    gap: 0.5rem;
}

.size-option {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.size-option:hover,
.size-option.selected {
    border-color: var(--brown-accent);
    background: var(--brown-accent);
    color: white;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
}

.add-to-cart-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-black);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.add-to-cart-btn:hover {
    background: var(--brown-accent);
}

.product-description {
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-100vh);
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .search-container input {
        width: 150px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-content,
    .store-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-main-image img {
        height: 300px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Mobile Responsive for Store Locator */
    .facilities-list {
        grid-template-columns: 1fr;
    }

    .map-controls {
        flex-direction: column;
    }

    .map-btn {
        justify-content: center;
    }

    .interactive-map {
        height: 200px;
    }
}


/* Loading Animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

/* ========== AUTH MODAL ========== */
.auth-modal-content {
    max-width: 450px;
    padding: 0;
}

.auth-container {
    padding: 2rem;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.auth-tab.active {
    color: var(--brown-accent);
    border-bottom-color: var(--brown-accent);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.auth-form h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brown-accent);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.auth-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary-black);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-submit:hover {
    background: var(--brown-accent);
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
}

.auth-link a {
    color: var(--brown-accent);
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* USER BUTTON - STYLED WITH BACKGROUND */
.btn-auth, .btn-user {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%); /* Warna coklat gradient */
    color: white;
    border: none;
    border-radius: 25px; /* Rounded */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.3);
}

.btn-auth:hover, .btn-user:hover {
    background: linear-gradient(135deg, #6b5844 0%, #5a4a38 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.4);
}

.btn-user i, .btn-auth i {
    font-size: 1.1rem;
}


/* ==================== USER DROPDOWN - FIX TERPOTONG ==================== */

/* Remove overflow constraints */
html {
  overflow-x: clip; /* ← Ganti dari hidden jadi clip */
}

body {
  overflow-x: clip;
}

.navbar {
  overflow: visible !important; /* ← PENTING */
}

.nav-container {
  overflow: visible !important;
  position: relative;
}

.nav-actions {
  position: relative;
  overflow: visible;
  z-index: 1001;
}

.user-dropdown {
  position: relative;
}

.user-dropdown-content {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999; /* ← Sangat tinggi */
  border: 1px solid var(--border-color);
}

.user-dropdown:hover .user-dropdown-content,
.user-dropdown-content:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-content a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.user-dropdown-content a:hover {
  background: var(--light-gray);
  color: var(--brown-accent);
  padding-left: 1.5rem;
}

/* Mobile */
@media (max-width: 768px) {
  .user-dropdown-content {
    right: -15px; /* ← Adjust untuk mobile */
    min-width: 180px;
  }
}

/* ========== ADMIN PANEL ========== */
.admin-modal-content {
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

.admin-container {
    padding: 2rem;
}

.admin-container h2 {
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-black);
}

.admin-form-section {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.admin-form-section h3 {
    margin-bottom: 1.5rem;
    color: var(--brown-accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--brown-accent);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-black);
}

.btn-secondary {
    background: var(--medium-gray);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--dark-gray);
    color: white;
}

.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Admin Products List */
.admin-products-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.admin-product-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.admin-product-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.admin-product-info {
    flex: 1;
}

.admin-product-info h4 {
    margin-bottom: 0.5rem;
}

.admin-product-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.admin-product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.btn-edit, .btn-delete {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-edit {
    background: var(--brown-accent);
    color: white;
}

.btn-edit:hover {
    background: var(--primary-black);
}

.btn-delete {
    background: #ff4757;
    color: white;
}

.btn-delete:hover {
    background: #d63031;
}

/* ========== LOADING OVERLAY ========== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader {
    border: 5px solid var(--light-gray);
    border-top: 5px solid var(--brown-accent);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== NOTIFICATIONS ========== */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    font-weight: 600;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.notification-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.notification-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/* Stock Badge */
.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Remove Button in Cart */
.remove-btn {
    background: #ff4757;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.remove-btn:hover {
    background: #d63031;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .admin-product-card {
        flex-direction: column;
    }
    
    .admin-product-actions {
        flex-direction: row;
    }
}
/* ========== VOUCHER STYLES ========== */

.voucher-section {
    padding: 1rem 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--light-gray);
}

.voucher-input-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.voucher-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    outline: none;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.voucher-input:focus {
    border-color: var(--brown-accent);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.btn-apply-voucher {
    padding: 0.75rem 1.5rem;
    background: var(--brown-accent);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-apply-voucher:hover {
    background: var(--primary-black);
}

.voucher-status {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.voucher-status .error-message {
    color: #dc3545;
    padding: 0.5rem;
    background: #f8d7da;
    border-radius: var(--border-radius);
}

.voucher-status .success-message {
    color: #155724;
    padding: 0.5rem;
    background: #d4edda;
    border-radius: var(--border-radius);
}

.applied-voucher {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #d4edda;
    border-radius: var(--border-radius);
    margin-top: 0.5rem;
    border: 1px solid #c3e6cb;
}

.voucher-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.voucher-info i {
    color: #28a745;
    font-size: 1.1rem;
}

.voucher-discount-amount {
    margin-left: auto;
    font-weight: 600;
    color: #155724;
}

.btn-remove-voucher {
    background: transparent;
    border: none;
    color: #721c24;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-remove-voucher:hover {
    color: #dc3545;
    transform: scale(1.1);
}

.cart-summary {
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.discount-row {
    color: #28a745;
    font-weight: 600;
}

.discount-amount {
    color: #28a745;
}

.total-row {
    border-top: 2px solid var(--border-color);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    font-size: 1.1rem;
}

/* ========== ADMIN VOUCHER STYLES ========== */

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.admin-tab-btn {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-tab-btn:hover {
    color: var(--brown-accent);
}

.admin-tab-btn.active {
    color: var(--brown-accent);
    border-bottom-color: var(--brown-accent);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-voucher-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid var(--brown-accent);
}

.admin-voucher-info {
    flex: 1;
}

.admin-voucher-info h4 {
    margin-bottom: 0.75rem;
    color: var(--brown-accent);
    font-size: 1.1rem;
}

.admin-voucher-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.admin-voucher-info strong {
    color: var(--primary-black);
}

.voucher-desc {
    font-style: italic;
    background: var(--light-gray);
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background: #d4edda;
    color: #155724;
}

.status-badge.inactive {
    background: #f8d7da;
    color: #721c24;
}

.admin-voucher-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.admin-vouchers-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

/* ========== RESPONSIVE VOUCHER ========== */

@media (max-width: 768px) {
    .voucher-input-container {
        flex-direction: column;
    }

    .btn-apply-voucher {
        width: 100%;
    }

    .applied-voucher {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .voucher-discount-amount {
        margin-left: 0;
    }

    .admin-voucher-card {
        flex-direction: column;
    }

    .admin-voucher-actions {
        flex-direction: row;
    }

    .admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    }

    .admin-tab-btn {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent; /* ← PENTING! */
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    }
}

/* ========== PRODUCT MODAL STYLES - DIPERBAIKI ========== */

.product-modal-content {
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.product-images-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    background: var(--light-gray);
}

.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover {
    border-color: var(--brown-accent);
    transform: scale(1.05);
}

.product-details-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-details-section h2 {
    color: var(--primary-black);
    font-size: 1.8rem;
    margin: 0;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brown-accent);
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.product-stock {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-options label {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 0.95rem;
}

.size-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.size-btn {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-primary);
}

.size-btn:hover {
    border-color: var(--brown-accent);
}

.size-btn.selected {
    background: var(--brown-accent);
    color: white;
    border-color: var(--brown-accent);
}

.color-options-detail {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.color-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.color-btn:hover {
    border-color: var(--brown-accent);
}

.color-btn.selected {
    background: var(--light-gray);
    border-color: var(--brown-accent);
    font-weight: 600;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quantity-selector label {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 0.95rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: fit-content;
}

.quantity-controls button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    color: var(--primary-black);
}

.quantity-controls button:hover {
    background: var(--light-gray);
}

.quantity-controls input {
    width: 60px;
    text-align: center;
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
}

.add-to-cart-btn {
    padding: 1rem 2rem;
    background: var(--brown-accent);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
}

.add-to-cart-btn:hover:not(:disabled) {
    background: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.add-to-cart-btn:disabled {
    background: var(--medium-gray);
    cursor: not-allowed;
    opacity: 0.6;
}

/* ========== USER PROFILE & ADDRESS STYLES ========== */

.user-profile-modal-content {
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.user-profile-container {
    padding: 2rem;
}

.user-profile-container h2 {
    margin-bottom: 2rem;
    color: var(--primary-black);
}

.profile-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.profile-tab-btn {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-tab-btn:hover {
    color: var(--brown-accent);
}

.profile-tab-btn.active {
    color: var(--brown-accent);
    border-bottom-color: var(--brown-accent);
}

.profile-tab-content {
    display: none;
}

.profile-tab-content.active {
    display: block;
}

.address-form-section {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.address-form-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brown-accent);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-group.checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

.form-group.checkbox label {
    margin: 0;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    flex: 1;
}

.btn-primary {
    background: var(--brown-accent);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--primary-black);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--medium-gray);
}

.addresses-list-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.address-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.address-card:hover {
    box-shadow: var(--shadow);
    border-left-color: var(--brown-accent);
}

.address-card.default-address {
    background: #f0f8ff;
    border-left-color: var(--brown-accent);
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.address-header h4 {
    margin: 0;
    color: var(--primary-black);
}

.badge-default {
    background: var(--brown-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.address-details {
    margin-bottom: 1rem;
}

.address-details p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.address-details i {
    color: var(--brown-accent);
    width: 20px;
}

.address-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-edit,
.btn-delete,
.btn-default {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 600;
    white-space: nowrap;
}

.btn-edit {
    background: #e3f2fd;
    color: #1976d2;
}

.btn-edit:hover {
    background: #bbdefb;
}

.btn-delete {
    background: #ffebee;
    color: #dc3545;
}

.btn-delete:hover {
    background: #ffcdd2;
}

.btn-default {
    background: #f1f8e9;
    color: #558b2f;
}

.btn-default:hover {
    background: #dcedc8;
}

.no-items {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

/* ==================== RESPONSIVE DESIGN - DIPERBAIKI ==================== */

/* ==================== TABLET & MOBILE - 768px ==================== */
@media (max-width: 768px) {
    .about h2 {
    font-size: 1.5rem; /* ← Tablet: 1.5rem */
    text-align: center;
  }

  .about-text p {
    font-size: 0.95rem; /* ← Kurangi font paragraf */
    line-height: 1.6;
  }
    .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    display: block; /* ← PASTIKAN display: block */
  }

  .nav-container {
    display: flex; /* ← JANGAN display: none */
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
  }

  .nav-logo {
    display: block; /* ← PASTIKAN logo terlihat */
  }

  .nav-logo h1 {
    font-size: 1.4rem;
  }

  /* Mobile Menu */
  .mobile-menu-toggle {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    transform: translateX(-100%);
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateX(0);
  }
  /* Products Grid */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .product-image {
    aspect-ratio: 4 / 5; /* ← 4:5 ratio */
  }

  .product-image img {
    object-position: center 10%;
  }

  .product-card {
    font-size: 0.9rem;
  }

  .product-info {
    padding: 1rem;
  }
}

/* ==================== EXTRA SMALL MOBILE - 360px ==================== */
@media (max-width: 360px) {
    body {
        font-size: 13px;
    }

    .nav-logo h1 {
        font-size: 1.1rem;
    }

    .hero-text h2 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .product-grid {
        gap: 0.5rem;
    }

    .product-info {
        padding: 0.5rem;
    }

    .product-info h3 {
        font-size: 0.8rem;
    }

    .price {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
}



/* ==================== LANDSCAPE MOBILE - 568px HEIGHT ==================== */
@media (max-height: 568px) and (orientation: landscape) {
  .hero {
    padding: 1rem 0.5rem;
  }
  
  .hero-text h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-text p {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }
  
  .cta-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .hero-image img {
    max-height: 150px;
  }
  
  .modal-content {
    max-height: 95vh;
  }
}

/* ========== CHECKOUT STYLES ========== */

.checkout-modal-content {
    max-width: 700px;
    padding: 2rem;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .checkout-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-black);
    font-size: 2rem;
  }
  
  .checkout-step {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
  }
  
  .checkout-step h2 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--primary-black);
    border-bottom: 2px solid var(--brown-accent);
    padding-bottom: 0.5rem;
  }
  
  .order-summary {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
  }
  
  .summary-item:last-child {
    border-bottom: none;
  }
  
  .summary-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 0.75rem;
  }
  
  .order-total-box {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--brown-accent);
  }
  
  .order-total-box p {
    margin: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
  }
  
  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 10;
    border-radius: 0 0 6px 6px;
    box-shadow: var(--shadow);
  }
  
  .dropdown.active {
    display: block;
  }
  
  .dropdown li {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    transition: var(--transition);
  }
  
  .dropdown li:hover {
    background: var(--light-gray);
    color: var(--brown-accent);
  }
  
  #shippingTable {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  #shippingTable th {
    background: var(--primary-black);
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
  }
  
  #shippingTable td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
  }
  
  #shippingTable tbody tr:hover {
    background: var(--light-gray);
  }
  
  .btn-select-shipping {
    background: var(--brown-accent);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
  }
  
  .btn-select-shipping:hover {
    background: var(--primary-black);
    transform: scale(1.05);
  }
  
  .selected-box {
    margin-top: 1.5rem;
    animation: slideIn 0.3s ease;
  }
  
  .final-calculation {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--brown-accent);
  }
  
  .calc-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
  }
  
  .calc-row.total {
    border-bottom: none;
    border-top: 2px solid var(--brown-accent);
    margin-top: 0.75rem;
    padding-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
  }
  
  .checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--brown-accent);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
  }
  
  .checkout-btn:hover:not(:disabled) {
    background: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
  }
  
  .checkout-btn:disabled {
    background: var(--medium-gray);
    cursor: not-allowed;
    opacity: 0.6;
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @media (max-width: 768px) {
    .checkout-modal-content {
      padding: 1rem;
    }
  
    .checkout-step {
      padding: 1rem;
    }
  
    #shippingTable {
      font-size: 0.8rem;
    }
  
    #shippingTable th,
    #shippingTable td {
      padding: 8px;
    }
  }
  #checkout-modal {
    z-index: 10000 !important;
}

#shippingTable {
    margin-bottom: 15px;
}

#shippingTable tr:hover {
    background-color: #f8f9fa;
}

.table-active {
    background-color: #007bff !important;
    color: white !important;
}

.loadingShipping {
    text-align: center;
    padding: 20px;
    color: #666;
}
/* Checkout UI Fixes (Clean & Modern) */
.checkout-step { min-height: 400px; }
.modal-content { border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.summary-row { display: flex; justify-content: space-between; align-items: center; }
.table-hover tbody tr:hover { background-color: rgba(0,123,255,0.05); }
.table-active { background-color: #e3f2fd !important; color: #1976d2 !important; font-weight: 500; }
#shippingTable th { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.alert-info { border-left: 4px solid #17a2b8; }
.alert-success { border-left: 4px solid #28a745; }
.btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(102,126,234,0.3); }
.final-total { font-size: 1.5rem !important; color: #28a745 !important; }
@media (max-width: 768px) { .modal-dialog { margin: 1rem; } .table { font-size: 0.875rem; } }

/* Cart Fixes */
.cart-footer { background: #f8f9fa; border-radius: 0 0 15px 15px; }
.btn-checkout { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%); border: none; }
.btn-checkout:hover { transform: scale(1.02); box-shadow: 0 4px 15px rgba(255,107,107,0.3); }
/* Checkout Modal Pure CSS (Backdrop & Hover) */
.checkout-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center;
    z-index: 1000; backdrop-filter: blur(5px);
}

.close-checkout:hover { color: #667eea !important; }
.summary-row { transition: all 0.2s; } /* Smooth */

/* Table Ongkir Rapi (No Striped, Custom) */
.shipping-wrapper { border: 1px solid #e9ecef; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.shipping-table td { padding: 12px 8px; border-bottom: 1px solid #e9ecef; vertical-align: middle; }
.shipping-table tbody tr { transition: background 0.2s ease; cursor: pointer; }
.shipping-table tbody tr:hover { background: #f0f8ff !important; } /* Hover biru soft */
.shipping-table tbody tr:nth-child(even) { background: #f8f9fa; } /* Alternate subtle */
.shipping-table td:nth-child(3) { text-align: right; font-weight: bold; color: #28a745 !important; } /* Ongkir hijau */
.shipping-table td:nth-child(4) { text-align: center; } /* Estimasi */
.shipping-table tbody tr.selected { background: #e3f2fd !important; border-left: 4px solid #667eea; } /* Saat diklik JS */

/* Buttons Hover */
button { transition: all 0.2s ease; }
button:hover { opacity: 0.9; transform: translateY(-1px); } /* Lift effect */

/* Mobile Responsive */
@media (max-width: 600px) {
    .checkout-modal-inner { width: 95% !important; padding: 15px !important; margin: 10px !important; }
    .summary-row, .shipping-table { font-size: 13px; }
    .shipping-table td, .shipping-table th { padding: 8px 6px !important; }
    .shipping-wrapper { border-radius: 6px; }
}
/* Shipping Table Styles */
.shipping-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.shipping-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateX(2px);
    cursor: pointer;
}

.shipping-table tbody tr.table-active {
    background-color: #d4edda !important;
    border-left: 4px solid #28a745;
    font-weight: 600;
}

.shipping-table tbody td {
    padding: 12px 8px;
}

.shipping-table tbody tr:last-child {
    border-bottom: none;
}

/* Hover effect untuk row */
.shipping-table tbody tr:hover td {
    color: #495057;
}

/* Selected row effect */
.shipping-table tbody tr.table-active td {
    color: #155724;
}
/* ===============================================
   SHIPPING TABLE STYLES - STEP 2 CHECKOUT
   =============================================== */

.shipping-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.25s ease;
    cursor: pointer;
}

.shipping-table tbody tr:hover {
    background-color: #f1f3f5;
    transform: translateX(3px);
    box-shadow: -3px 0 0 #667eea;
}

.shipping-table tbody tr.table-active {
    background-color: #d4edda !important;
    border-left: 5px solid #28a745;
    font-weight: 600;
    color: #155724;
}

.shipping-table tbody tr.table-active:hover {
    background-color: #c3e6cb !important;
    transform: translateX(0);
}

.shipping-table tbody td {
    padding: 14px 12px;
    border: none;
    transition: color 0.2s;
}

.shipping-table tbody tr:last-child {
    border-bottom: none;
}

.shipping-table tbody tr:hover td {
    color: #495057;
}

.shipping-table tbody tr.table-active td {
    color: #155724;
}

/* Price column emphasis */
.shipping-table tbody tr td:nth-child(3) {
    font-weight: 600;
    color: #667eea;
}

.shipping-table tbody tr.table-active td:nth-child(3) {
    color: #28a745;
    font-weight: 700;
}

/* Hover effect button */
#calculateBtn:hover {
    background: #5a6268 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Mobile responsive */
@media (max-width: 576px) {
    .shipping-table {
        font-size: 12px !important;
    }
    
    .shipping-table thead th,
    .shipping-table tbody td {
        padding: 10px 8px !important;
    }
}
/* MANUAL PAYMENT MODAL STYLES */
.payment-proof-preview img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.order-status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-verified {
  background: #d4edda;
  color: #155724;
}

.status-shipped {
  background: #d1ecf1;
  color: #0c5460;
}

.status-completed {
  background: #d4edda;
  color: #155724;
}

.admin-order-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.admin-order-card h4 {
  margin-bottom: 15px;
  color: #2c3e50;
}

.admin-order-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.admin-order-actions button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-verify {
  background: #28a745;
  color: white;
}

.btn-verify:hover {
  background: #218838;
}

.btn-view-proof {
  background: #17a2b8;
  color: white;
}

.btn-add-tracking {
  background: #ffc107;
  color: #333;
}

.order-history-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

.tracking-number {
  background: #e7f3ff;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: monospace;
  font-weight: bold;
  color: #0066cc;
  display: inline-block;
  margin-top: 10px;
}
/* ADMIN ORDERS TAB - STYLING HEADING */
.admin-orders-section h3 {
  margin-bottom: 1.5rem;
  color: var(--brown-accent); /* ← JUDUL COKLAT seperti tab lain */
  font-weight: 600;
  font-size: 1.3rem;
}

.admin-tab-content h3 {
  color: var(--brown-accent); /* ← SEMUA h3 di admin tab jadi coklat */
}
/* Policy Pages Styling */
.policy-hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.policy-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.policy-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.policy-content {
    padding: 4rem 2rem;
    max-width: 900px;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    color: var(--brown-accent);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.policy-section h4 {
    color: var(--primary-black);
    margin: 1.5rem 0 0.8rem;
}

.policy-section ul,
.policy-section ol {
    margin: 1rem 0;
    padding-left: 2rem;
    line-height: 1.8;
}

.policy-section li {
    margin-bottom: 0.8rem;
}

.policy-updated {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive Policy Pages */
@media (max-width: 768px) {
    .policy-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .policy-hero h1 {
        font-size: 2rem;
    }
    
    .policy-content {
        padding: 2rem 1rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
}

/* Extra Small Devices (< 360px) */
@media (max-width: 360px) {
  .nav-container {
    padding: 0.6rem 8px !important;
    gap: 0.3rem !important;
  }

  .nav-logo {
    min-width: 80px !important;
    max-width: 80px !important;
  }

  .nav-logo h1 {
    font-size: 0.95rem !important;
  }

  .nav-search,
  .search-container {
    max-width: 80px !important;
    width: 80px !important;
  }

  .nav-actions {
    gap: 0.2rem !important;
  }

  .cart-icon,
  .user-icon,
  .mobile-menu-toggle {
    font-size: 1rem !important;
    padding: 0.25rem !important;
  }
}


/* ==================== SEARCH MODAL OVERLAY ==================== */

/* Modal Background */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.search-modal.active {
  display: block;
}

/* Modal Content */
.search-modal-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease;
}

/* Search Header */
.search-modal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

/* Search Input */
.search-modal-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.1rem;
  padding: 0.5rem;
  font-family: var(--font-primary);
  color: var(--text-primary);
}

.search-modal-input::placeholder {
  color: var(--text-secondary);
}

/* Close Button */
.search-modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.search-modal-close:hover {
  background: var(--light-gray);
}

.search-modal-close i {
  font-size: 1.2rem;
  color: var(--text-primary);
}

/* Search Results */
.search-modal-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 0.5rem;
}

.search-result-item:hover {
  background: var(--light-gray);
}

.search-result-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.search-result-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.search-result-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { transform: translate(-50%, -20px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}
/* ==================== MOBILE - 480px ==================== */
@media (max-width: 480px) {
    /* Base Typography - Kurangi Ukuran Font */
    body {
        font-size: 14px;
        line-height: 1.5;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    /* Container & Padding */
    .container {
        padding: 0 12px;
    }

    /* Navbar - Mobile */
    .nav-container {
        padding: 0.75rem 12px;
    }

    .nav-logo h1 {
        font-size: 1.3rem;
    }

    .nav-logo .subtitle {
        font-size: 0.7rem;
    }

    .search-container {
        display: none; /* Sembunyikan search di mobile kecil */
    }

    .cart-icon {
        font-size: 1.2rem;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }

    /* Hero Section - Mobile */
    .hero {
        margin-top: 60px;
        padding: 1.5rem 12px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }

    .hero-image img {
        max-height: 300px;
        border-radius: 6px;
    }

    /* Product Grid - Mobile */
    .featured-products {
        padding: 2rem 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .product-card {
        border-radius: 6px;
    }

    .product-image {
        aspect-ratio: 4 / 5;
    }

    .product-image img {
        object-position: center 15%;
    }

    .product-info {
        padding: 0.75rem;
    }

    .product-info h3 {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .price {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .color-options {
        gap: 0.35rem;
    }

    .color-dot {
        width: 16px;
        height: 16px;
    }

    /* Categories Section */
    .categories {
        padding: 2rem 0;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card {
        height: 200px;
    }

    .category-overlay {
        padding: 1rem;
    }

    .category-overlay h3 {
        font-size: 1.2rem;
    }

    /* About Section */
    .about {
        padding: 2rem 12px;
    }

    .about h2 {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 0.85rem;
        line-height: 1.5;
        padding: 0 5px;
        margin-bottom: 0.75rem;
    }

    .brand-values {
        margin-top: 1.5rem;
        gap: 0.75rem;
        padding: 0 5px;
    }

    .value-item {
        padding: 0.5rem 0;
        margin-bottom: 0.5rem;
    }

    .value-item i {
        font-size: 1.2rem;
        padding: 0;
        margin-right: 0.5rem;
    }

    .value-item h4 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }

    .value-item p {
        font-size: 0.8rem;
        padding: 0;
        line-height: 1.4;
    }

    /* Store Locator */
    .store-locator {
        padding: 2rem 12px;
    }

    .store-info h3 {
        font-size: 1.1rem;
        padding: 0 5px;
    }

    .detail-item {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        padding: 0.35rem 5px;
        font-size: 0.85rem;
    }

    .detail-item i {
        font-size: 0.9rem;
        padding: 0;
    }

    .facilities-list {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        font-size: 0.8rem;
    }

    .map-controls {
        flex-direction: column;
        gap: 0.5rem;
    }

    .map-btn {
        width: 100%;
        padding: 0.65rem;
        font-size: 0.85rem;
    }

    .interactive-map {
        height: 250px;
        border-radius: 6px;
    }

    /* Newsletter */
    .newsletter {
        padding: 2rem 12px;
    }

    .newsletter h2 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .newsletter p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }

    .newsletter-form input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .newsletter-form button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 12px 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer-section ul li {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }

    .social-links {
        justify-content: flex-start;
    }

    .social-links a {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    /* Cart Sidebar */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-header {
        padding: 1.5rem 12px;
    }

    .cart-header h2 {
        font-size: 1.2rem;
    }

    .cart-items {
        padding: 1rem 12px;
    }

    .cart-item {
        gap: 0.75rem;
    }

    .cart-item img {
        width: 60px;
        height: 60px;
    }

    .cart-item-info h4 {
        font-size: 0.85rem;
    }

    .cart-item-price {
        font-size: 0.9rem;
    }

    .quantity-btn {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }

    .cart-footer {
        padding: 1.5rem 12px;
    }

    .cart-total {
        font-size: 1rem;
    }

    .checkout-btn {
        padding: 0.85rem;
        font-size: 0.95rem;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        max-width: 100%;
        border-radius: 8px;
    }

    .modal-body {
        grid-template-columns: 1fr;
        padding: 1.5rem 12px;
        gap: 1rem;
    }

    .modal-main-image img {
        height: 250px;
        border-radius: 6px;
    }

    .modal-details h2 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .modal-price {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .size-selector h4,
    .color-selector h4 {
        font-size: 0.9rem;
    }

    .size-options {
        gap: 0.5rem;
    }

    .size-option {
        padding: 0.5rem 0.85rem;
        font-size: 0.85rem;
    }

    .color-btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.85rem;
    }

    .quantity-controls button {
        width: 36px;
        height: 36px;
    }

    .quantity-controls input {
        width: 50px;
        font-size: 0.9rem;
    }

    .add-to-cart-btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .product-description {
        padding-top: 1rem;
        margin-top: 1rem;
    }

    .product-description h3 {
        font-size: 1.1rem;
    }

    .product-description p {
        font-size: 0.85rem;
    }

    /* User Profile Modal */
    .user-profile-modal-content {
        width: 95%;
    }

    .user-profile-container {
        padding: 1.5rem 12px;
    }

    .user-profile-container h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .profile-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.25rem;
    }

    .profile-tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .address-form-section {
        padding: 1rem;
    }

    .address-form-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.65rem;
        font-size: 0.85rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    .address-card {
        padding: 1rem;
    }

    .address-header h4 {
        font-size: 0.95rem;
    }

    .badge-default {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .address-details p {
        font-size: 0.8rem;
    }

    .address-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .btn-edit,
    .btn-delete,
    .btn-default {
        padding: 0.45rem 0.75rem;
        font-size: 0.75rem;
        flex: 1;
        min-width: 80px;
    }

    /* Admin Panel */
    .admin-panel .modal-content {
        width: 95%;
    }

    .admin-tabs {
        flex-wrap: wrap;
    }

    .admin-tab-btn {
        padding: 0.65rem 0.85rem;
        font-size: 0.8rem;
    }

    /* Checkout Steps */
    .checkout-steps {
        flex-direction: column;
        gap: 0.5rem;
    }

    .checkout-step {
        padding: 0.65rem;
        font-size: 0.8rem;
    }

    /* Misc */
    .close-modal {
        width: 34px;
        height: 34px;
        font-size: 1.5rem;
        top: 0.75rem;
        right: 0.75rem;
    }

    .thumbnail {
        width: 50px;
        height: 50px;
    }

    .loading-text {
        font-size: 0.9rem;
    }
}

/* ==================== EXTRA SMALL MOBILE - 360px ==================== */
@media (max-width: 360px) {
    body {
        font-size: 13px;
    }

    .nav-logo h1 {
        font-size: 1.1rem;
    }

    .hero-text h2 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .product-grid {
        gap: 0.5rem;
    }

    .product-info {
        padding: 0.5rem;
    }

    .product-info h3 {
        font-size: 0.8rem;
    }

    .price {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
}
/* ==================== TYPEWRITER ANIMATION ==================== */

.typewriter-text {
    color: #ffffff;
    font-weight: inherit;
    display: inline-block;
    position: relative;
    min-width: 280px;
    text-align: left;
}

/* Tablet */
@media (max-width: 768px) {
    .typewriter-text {
        min-width: 180px; /* ✅ Sesuaikan space */
        font-size: inherit; /* Ikut parent */
    }
}

/* Mobile */
@media (max-width: 480px) {
    .typewriter-text {
        min-width: 140px; /* ✅ Sesuaikan space */
        font-size: inherit;
    }
}

/* Extra Small */
@media (max-width: 360px) {
    .typewriter-text {
        min-width: 120px;
    }
}
/* CATEGORY DROPDOWN ENHANCEMENT */
#category-dropdown {
    min-width: 200px;
}

#category-dropdown a {
    font-size: 0.95rem;
    text-transform: capitalize;
}

#category-dropdown a:first-child {
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

/* Icon chevron animasi */
.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.fa-chevron-down {
    transition: transform 0.3s ease;
}
/* CSS Reset untuk nav-menu - Hilangkan semua bullet */
.nav-menu,
.nav-menu li,
.nav-menu ul {
    list-style-type: none !important;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.nav-menu li::before,
.nav-menu li::after {
    content: none !important;
    display: none !important;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}
/* ==================== SALES REPORT STYLES ==================== */

/* Summary Cards - Minimal & Clean */
.summary-card-minimal {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.summary-card-minimal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.summary-icon {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-icon i {
    font-size: 1.5rem;
    color: var(--brown-accent);
}

.summary-info {
    flex: 1;
}

.summary-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 0 0.25rem 0;
    font-weight: 500;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
    line-height: 1.2;
}

.summary-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Admin Section Box */
.admin-section-box {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Top Products List */
#top-products-list .top-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--brown-accent);
    transition: var(--transition);
}

#top-products-list .top-product-item:hover {
    background: #e8e8e8;
    transform: translateX(3px);
}

#top-products-list .top-product-item.rank-1 {
    border-left-color: #FFD700;
    background: #fffbf0;
}

#top-products-list .top-product-item.rank-2 {
    border-left-color: #C0C0C0;
    background: #f8f8f8;
}

#top-products-list .top-product-item.rank-3 {
    border-left-color: #CD7F32;
    background: #fff8f0;
}

.top-product-rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-right: 1rem;
    min-width: 30px;
}

.top-product-info {
    flex: 1;
}

.top-product-name {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.top-product-details {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.top-product-revenue {
    text-align: right;
}

.top-product-amount {
    font-weight: 700;
    color: var(--brown-accent);
    font-size: 1.1rem;
    display: block;
}

.top-product-price {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Sales Table */
.sales-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.sales-table thead {
    background: var(--primary-black);
    color: white;
}

.sales-table th {
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--border-color);
}

.sales-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.sales-table tbody tr:hover {
    background: var(--light-gray);
}

.sales-table td {
    padding: 0.9rem 0.75rem;
    font-size: 0.9rem;
}

.sales-table .product-name {
    font-weight: 600;
    color: var(--primary-black);
    display: block;
    margin-bottom: 0.25rem;
}

.sales-table .product-variants {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.sales-table .qty-badge {
    background: var(--light-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    color: var(--primary-black);
    display: inline-block;
}

.sales-table .revenue-amount {
    font-weight: 700;
    color: var(--brown-accent);
}

.sales-table .contribution-badge {
    background: var(--brown-accent);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.sales-table .contribution-badge.high {
    background: #2c2c2c;
}

.sales-table .contribution-badge.medium {
    background: #6b7280;
}

.sales-table .contribution-badge.low {
    background: #9ca3af;
}

/* Empty State */
.empty-sales-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.empty-sales-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .summary-card-minimal {
        padding: 1rem;
    }
    
    .summary-value {
        font-size: 1.25rem;
    }
    
    .sales-table {
        font-size: 0.8rem;
    }
    
    .sales-table th,
    .sales-table td {
        padding: 0.6rem 0.5rem;
    }
}
/* ==================== WHATSAPP FLOATING BUTTON ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 15px;
        right: 15px;
    }
}
/* Breadcrumb */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-top: 80px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #764ba2;
}

/* All Products Section */
.all-products-section {
    padding: 3rem 0;
    min-height: 60vh;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.products-header h1 {
    font-size: 2rem;
    color: #2c2c2c;
}

.filter-sort {
    display: flex;
    gap: 1rem;
}

.filter-sort select {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    background: white;
    transition: all 0.3s;
}

.filter-sort select:hover {
    border-color: #667eea;
}

.filter-sort select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.page-btn {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    background: white;
    color: #2c2c2c;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.page-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.page-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.page-dots {
    padding: 0 0.5rem;
    color: #6c757d;
}

/* View All Products Button */
.view-all-products {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
}

.btn-view-all {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6b7280 0%, #2c2c2c 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .products-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-sort {
        width: 100%;
        flex-direction: column;
    }
    
    .filter-sort select {
        width: 100%;
    }
}
/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

/* View All Products Button */
.view-all-products {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
    padding: 2rem 0;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #6b7280 0%, #2c2c2c 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-view-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-view-all:hover::before {
    left: 100%;
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.btn-view-all i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .btn-view-all {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}
/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

/* View All Products Button - Style Mirip CTA Button */
.view-all-products {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
    padding: 2rem 0;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2c2c2c 0%, #6b6b6b 100%);
    color: white;
    border-radius: 8px; /* ← Bentuk kotak rounded seperti cta-button */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: none;
    cursor: pointer;
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-view-all i {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .btn-view-all {
        width: 90%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}
/* ===== FEATURED PRODUCT ADMIN STYLING ===== */

.featured-badge-admin {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.5);
    animation: pulse-star 2s infinite;
}

@keyframes pulse-star {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.btn-featured {
    padding: 10px 16px;
    background: #f5f5f5;
    color: #666;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-featured:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

.btn-featured.active {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    border-color: #FF8C00;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

.btn-featured.active:hover {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
}

.product-card-admin {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1.2rem;
    padding: 1.2rem;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.product-card-admin:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.product-admin-image {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
}

.product-admin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-product-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-product-actions button {
    min-width: 130px;
}

@media (max-width: 768px) {
    .product-card-admin {
        grid-template-columns: 80px 1fr;
    }
    
    .admin-product-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .admin-product-actions button {
        flex: 1 1 calc(50% - 5px);
    }
}
