body { font-family: 'Nunito Sans', sans-serif; background: #ffffff; color: #333; overflow-x: hidden; }

.btn-tactical {
    background: #C00000; color: white; padding: 10px 24px; font-weight: 700;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.btn-tactical:hover { background: #000; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(192,0,0,0.3); }

.hero-slider-container { position: relative; width: 100%; height: 50vh; min-height: 350px; }
@media (min-width: 768px) { .hero-slider-container { height: 75vh; min-height: 500px; } }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 1; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, transparent 100%); z-index: 3; }
.carousel-track { display: flex; width: max-content; animation: scrollCarousel 35s linear infinite; }
.carousel-track:hover { animation-play-state: paused; }
@keyframes scrollCarousel { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.page { display: none; opacity: 0; }
.page.active { display: block; animation: fadeIn 0.4s forwards; }
@keyframes fadeIn { to { opacity: 1; } }

.logo-animate { transition: all 0.3s ease; }
.logo-animate:hover { transform: scale(1.05); filter: drop-shadow(0 0 10px rgba(192, 0, 0, 0.6)); }

.nav-tactical { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); border-bottom: 1px solid transparent; transition: all 0.4s; }
.nav-tactical.scrolled { background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid rgba(0,0,0,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.nav-link-tactical { position: relative; padding: 0.5rem 0; transition: color 0.3s; background: none; border: none; cursor: pointer; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; color: #333; letter-spacing: 0.05em; z-index: 1; overflow: hidden; text-decoration: none; display: inline-block; }
.nav-link-tactical::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: rgba(192, 0, 0, 0.05); z-index: -1; transform: translateX(-101%); transition: transform 0.4s cubic-bezier(0.5, 0, 0, 1); }
.nav-link-tactical:hover::before { transform: translateX(0); }
.nav-link-tactical::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: #C00000; transition: all 0.3s ease; transform: translateX(-50%); }
.nav-link-tactical:hover::after { width: 100%; }
.nav-link-tactical:hover { color: #C00000; }
.nav-link-tactical.active-nav { color: #C00000; font-weight: 800; }
.nav-link-tactical.active-nav::after { width: 100%; height: 3px; background: linear-gradient(90deg, transparent, #C00000, transparent); }

#mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(10, 10, 10, 0.98); backdrop-filter: blur(20px); z-index: 40; display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.2s ease-in, visibility 0.2s ease-in; }
#mobile-menu.open { opacity: 1; visibility: visible; transition: opacity 0.4s ease-out, visibility 0.4s ease-out; }
#mobile-menu a { color: white; font-family: 'Nunito Sans', sans-serif; font-size: 1.4rem; padding: 0.8rem; margin: 0.3rem 0; letter-spacing: 0.05em; opacity: 0; text-decoration: none; font-weight: 800; transform: translateX(100px); transition: transform 0.2s ease-in, opacity 0.2s ease-in, color 0.3s; }
#mobile-menu.open a { transform: translateX(0); opacity: 1; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, color 0.3s; }
#mobile-menu a:hover { color: #C00000; letter-spacing: 0.2em; }

.hamburger-line { transition: all 0.3s; background-color: #333; transform-origin: center; }
.menu-open .hamburger-line { background-color: white; }
.menu-open .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-open .hamburger-line:nth-child(2) { opacity: 0; transform: translateX(20px); }
.menu-open .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.rgb-border-wrapper { position: relative; padding: 2px; background: linear-gradient(90deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000); background-size: 400%; border-radius: 12px; animation: rgbRotate 3s linear infinite; }
@keyframes rgbRotate { 0% { background-position: 0% 50%; } 100% { background-position: 400% 50%; } }
.rgb-border-inner { background: white; border-radius: 10px; height: 100%; width: 100%; }

.footer-rgb-line { height: 2px; background: linear-gradient(90deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8); background-size: 400%; animation: rgbMove 5s linear infinite; }
@keyframes rgbMove { 0% { background-position: 0% 50%; } 100% { background-position: 400% 50%; } }
.footer-header { font-family: 'Nunito Sans', sans-serif; font-weight: 800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; color: #C00000; }
.footer-body { font-family: 'Nunito Sans', sans-serif; font-weight: 500; font-size: 0.8rem; line-height: 1.7; color: #a0a0a0; }
.term-link { display: block; color: #ffffff; font-weight: 600; font-size: 0.8rem; text-transform: none; transition: all 0.3s; position: relative; padding-left: 12px; font-family: 'Nunito Sans', sans-serif; }
.term-link::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 4px; background: #C00000; transition: all 0.3s; }
.term-link:hover { color: #d4d4d4; padding-left: 16px; }
.term-link:hover::before { background: #fff; box-shadow: 0 0 5px #C00000; }

.subscribe-input { background: #1a1a1a; border: 1px solid #333; padding: 10px 12px; color: white; width: 100%; transition: all 0.3s; }
.subscribe-input:focus { outline: none; border-color: #C00000; box-shadow: 0 0 0 1px #C00000; }
.social-icon-clean { width: 20px; height: 20px; object-fit: contain; filter: grayscale(100%) brightness(2); transition: all 0.3s; opacity: 0.6; }
.social-icon-clean:hover { filter: grayscale(0%) brightness(1); opacity: 1; }

#terms-modal { position: fixed; inset: 0; z-index: 9999; display: flex; justify-content: center; align-items: center; background: rgba(0, 0, 0, 0.98); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: all 0.4s ease; }
#terms-modal.open { opacity: 1; visibility: visible; }
.terms-content { position: relative; background: #050505; max-width: 850px; width: 95%; max-height: 90vh; overflow-y: auto; overflow-x: hidden; border-radius: 0; transform: perspective(1000px) rotateX(10deg) scale(0.85); opacity: 0; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease; clip-path: polygon( 0 0, 100% 0, 100% calc(100% - 35px), calc(100% - 35px) 100%, 0 100% ); box-shadow: 0 0 80px rgba(192, 0, 0, 0.15); }
#terms-modal.open .terms-content { transform: perspective(1000px) rotateX(0deg) scale(1); opacity: 1; }
.terms-content::before { content: ''; position: absolute; inset: -2px; z-index: -1; background: linear-gradient(45deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C, #BF953F); background-size: 400%; animation: metallicBorder 3s linear infinite; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 35px), calc(100% - 35px) 100%, 0 100%); }
@keyframes metallicBorder { 0% { background-position: 0% 50%; } 100% { background-position: 400% 50%; } }
.terms-content::after { content: ''; position: absolute; inset: 0px; background: #050505; z-index: -1; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 35px), calc(100% - 35px) 100%, 0 100%); }
.terms-content::-webkit-scrollbar { width: 4px; }
.terms-content::-webkit-scrollbar-track { background: #000; }
.terms-content::-webkit-scrollbar-thumb { background: #D4AF37; border-radius: 0; }

.terms-header-box { padding: 1.25rem 1.5rem; }
@media (min-width: 768px) { .terms-header-box { padding: 1.5rem 2rem; } }

#terms-title { font-family: 'Orbitron', sans-serif; font-size: 1.1rem; line-height: 1.5rem; color: white; text-transform: uppercase; letter-spacing: 0.1em; text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }

.terms-body-box { padding: 1.25rem 1.5rem; }
@media (min-width: 768px) { .terms-body-box { padding: 1.5rem 2rem; } }

.terms-list-item { 
    font-family: 'Nunito Sans', sans-serif; 
    font-size: 0.65rem;
    line-height: 1.6; 
    color: #9ca3af; 
    padding-left: 1rem; 
    position: relative; 
    margin-bottom: 0.5rem; 
}
.terms-list-item::before { content: '◆'; position: absolute; left: 0; top: 0.05rem; font-size: 0.5rem; color: #6b7280; }

.terms-highlight { color: #D4AF37; font-weight: 700; }
.terms-bold { color: #e5e7eb; font-weight: 700; }
.terms-italic { font-style: italic; color: #d1d5db; }
.terms-alert { color: #ef4444; font-weight: 700; }

.btn-luxury-toggle {
    background: transparent; color: #D4AF37; border: 1px solid #D4AF37;
    padding: 10px 16px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; font-size: 0.75rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; overflow: hidden; z-index: 1; width: 100%; text-align: center;
}
.btn-luxury-toggle::before {
    content: ''; position: absolute; inset: 0; background: #D4AF37;
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: -1;
}
.btn-luxury-toggle:hover { color: #000; border-color: #D4AF37; box-shadow: 0 0 15px rgba(212, 175, 55, 0.3); }
.btn-luxury-toggle:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-luxury-toggle.active { background: #D4AF37; color: #000; box-shadow: 0 0 20px rgba(212, 175, 55, 0.5); }
.btn-luxury-toggle.active::before { display: none; }

.wa-float-container { position: fixed; bottom: 20px; right: 20px; z-index: 60; width: 70px; height: 70px; }
.wa-float-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(37, 211, 102, 0.4)); }
.wa-float-container::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #25D366; animation: waRing 1.5s infinite; }
@keyframes waRing { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

select { appearance: none; background-color: #fff; border: 1px solid #e5e7eb; padding: 10px 35px 10px 15px; font-size: 14px; font-weight: 700; color: #333; cursor: pointer; width: 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23333'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; margin-bottom: 10px; }
select:focus { outline: none; border-color: #C00000; }

/* Kartu produk */
.product-card { position: relative; background: white; border: 1px solid #eee; transition: 0.3s; }
.product-card:hover { border-color: #C00000; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.product-card:hover img { transform: scale(1.05); }
.product-img-wrap { overflow: hidden; position: relative; }
.discount-badge { position: absolute; top: 10px; right: 10px; background: #C00000; color: white; font-size: 11px; font-weight: 800; padding: 2px 6px; z-index: 10; }
.stock-badge { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,0.7); color: white; font-size: 10px; padding: 2px 6px; z-index: 10; }
.price-display del { color: #999; font-size: 12px; font-weight: 600; }
.price-display ins { text-decoration: none; color: #C00000; font-size: 16px; font-weight: 800; }
.btn-disabled { background: #ccc !important; pointer-events: none; transform: none !important; box-shadow: none !important; }

.price-display {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
}

.price-display del {
    color: #999;
    font-size: 12px;
    font-weight: 600;
    order: 2;
}

.price-display ins {
    text-decoration: none;
    color: #C00000;
    font-size: 16px;
    font-weight: 800;
    order: 1;
}

.discount-badge {
    order: 0;
    background: #C00000;
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 2px;
}

/* Sidebar filter */
.filter-sidebar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(192, 0, 0, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: all 0.3s ease;
}

.filter-sidebar h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    color: #C00000;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #C00000, transparent) 1;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.filter-sidebar select,
.filter-sidebar input {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 500;
    transition: all 0.3s;
    width: 100%;
    margin-bottom: 10px;
}

.filter-sidebar select:focus,
.filter-sidebar input:focus {
    border-color: #C00000;
    box-shadow: 0 0 0 3px rgba(192, 0, 0, 0.1);
    outline: none;
}

.filter-sidebar label {
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
    display: block;
}

.price-display {
    white-space: nowrap;
    font-family: 'Nunito Sans', sans-serif;
}

.price-display ins {
    text-decoration: none;
    color: #C00000;
    font-weight: 800;
    font-size: 1rem;
}

.price-display del {
    color: #999;
    font-size: 0.85rem;
    margin-right: 5px;
}

.product-card h3 {
    text-transform: none;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
}

.stock-badge {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    background: white;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #C00000;
}

.btn-tactical {
    background: linear-gradient(135deg, #C00000, #8B0000);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    padding: 10px 20px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-tactical:hover {
    background: linear-gradient(135deg, #8B0000, #C00000);
    box-shadow: 0 4px 12px rgba(192, 0, 0, 0.3);
    transform: scale(1.02);
}

#breadcrumb-nav {
    background: #f9f9f9;
    border-bottom: 1px solid #eaeaea;
    font-family: 'Nunito Sans', sans-serif;
}

@media (max-width: 768px) {
    .filter-sidebar {
        backdrop-filter: blur(5px);
        padding: 15px;
    }
    .product-card h3 {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    #products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
    
    .product-card {
        padding: 8px;
    }
    
    .product-card h3 {
        font-size: 0.7rem;
        line-height: 1.2;
        margin-bottom: 4px;
    }
    
    .price-display ins {
        font-size: 0.8rem;
    }
    
    .price-display del {
        font-size: 0.65rem;
    }
    
    .product-card .flex.gap-2 {
        flex-direction: row;
        gap: 4px;
    }
    
    .btn-tactical {
        padding: 6px 8px;
        font-size: 0.6rem;
    }
    
    #breadcrumb-nav ol {
        font-size: 0.7rem;
        flex-wrap: wrap;
    }
    
    .filter-sidebar {
        padding: 12px;
    }
    
    .filter-sidebar select,
    .filter-sidebar input {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    #products-grid {
        grid-template-columns: 1fr !important;
    }
    
    .product-card {
        max-width: 100%;
    }
}

#header-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-share-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    transition: color 0.3s;
}

#header-share-btn:hover {
    color: #C00000; 
}

@media (max-width: 640px) {
    #header-share-btn svg {
        width: 22px;
        height: 22px;
    }
}

#page-product .share-button { 
    display: none;
}

.stock-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    color: white;
    font-weight: 600;
    z-index: 10;
}

.bg-red-600 { background-color: #dc2626; }      
.bg-orange-500 { background-color: #f97316; }   
.bg-green-600 { background-color: #16a34a; }    

.btn-disabled {
    background: #ccc !important;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6;
}