:root {
    --primary-color: #E60000;
    /* Vibrant Red */
    --primary-glow: rgba(230, 0, 0, 0.4);
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

/* Header */
header {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.burger-menu {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-white);
    transition: color 0.3s;
}

.burger-menu:hover {
    color: var(--primary-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
}

.search-bar {
    flex-grow: 1;
    display: flex;
    max-width: 600px;
    margin: 0 20px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-bar input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
    outline: none;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar Menu (30% Width) */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    /* Hidden by default */
    width: 80%;
    /* Mobile default */
    max-width: 350px;
    /* Max width */
    height: 100vh;
    background: #1a1a1a;
    z-index: 2000;
    transition: 0.4s ease-in-out;
    padding: 80px 20px 20px;
    border-right: 1px solid var(--primary-color);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
}

.sidebar.active {
    left: 0;
}

@media (min-width: 768px) {
    .sidebar {
        width: 30%;
        /* 30% on desktop as requested */
        max-width: 400px;
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray);
}

.sidebar h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 10px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-white);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero-section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #000;
    /* Fallback */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.4);
    /* Darken images for text readability */
}

.slide.active {
    opacity: 1;
    transform: scale(1.05);
    /* Subtle zoom effect */
    transition: opacity 1.5s ease-in-out, transform 6s linear;
}

.banner {
    position: relative;
    z-index: 2;
}

.banner h1 {
    font-size: 2.5rem;
    background: -webkit-linear-gradient(#fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    /* Standard property */
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.banner p {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.disclaimer {
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    color: #ffaaaa;
    padding: 10px;
    border-radius: 8px;
    margin-top: 20px;
    display: inline-block;
    font-size: 0.9rem;
}

/* Product Grid */
.container {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.product-img-container {
    height: 200px;
    overflow: hidden;
    background: #000;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    opacity: 0.9;
}

.product-card:hover .product-img {
    transform: scale(1.1);
    opacity: 1;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 0.95rem;
    /* Smaller as requested */
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.sold-badge {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.whatsapp-btn {
    margin-top: auto;
    background: transparent;
    border: 1px solid #25D366;
    color: #25D366;
    text-decoration: none;
    padding: 6px 14px;
    /* Smaller padding */
    border-radius: 50px;
    /* Pill shape */
    text-align: center;
    font-size: 0.85rem;
    /* Smaller text */
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.whatsapp-btn:hover {
    background: #25D366;
    color: #000;
    /* Contrast on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Footer */
footer {
    background: #0a0a0a;
    padding: 60px 20px;
    margin-top: 50px;
    border-top: 1px solid #333;
}

.footer-bottom {
    text-align: center;
    color: #555;
    margin-top: 40px;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 1.8rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-img-container {
        height: 160px;
    }

    .whatsapp-btn {
        padding: 10px;
        font-size: 0.9rem;
    }

    .sidebar {
        width: 85%;
    }
}