:root { --gold: #d4a017; --brown: #8b4513; --dark: #2d1b0d; --bg: #fffaf5; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { background: var(--bg); color: var(--dark); line-height: 1.6; }

/* Navigation */
.header { background: #fff; padding: 15px 5%; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: bold; color: var(--brown); }
.logo span { color: var(--gold); }
.nav-menu { display: flex; list-style: none; gap: 20px; }
.nav-menu a { text-decoration: none; color: var(--dark); font-weight: 600; }
.cart-trigger { cursor: pointer; font-weight: bold; background: #f4ece1; padding: 8px 15px; border-radius: 20px; }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { height: 40vh; background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero.jpg') center/cover; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 20px; }
.btn-gold { background: var(--gold); color: #fff; padding: 12px 30px; border-radius: 25px; text-decoration: none; font-weight: bold; margin-top: 20px; display: inline-block; }

/* Product Grid (Responsive) */
.shop { padding: 40px 5%; }
.section-title { text-align: center; margin-bottom: 30px; color: var(--brown); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1200px; margin: auto; }
.product-card { background: #fff; padding: 20px; border-radius: 12px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.product-img-box { width: 100%; aspect-ratio: 1/1; margin-bottom: 15px; border-radius: 8px; overflow: hidden; }
.product-img-box img { width: 100%; height: 100%; object-fit: cover; }
.add-btn { width: 100%; padding: 10px; background: var(--brown); color: #fff; border: none; border-radius: 5px; cursor: pointer; margin-top: 10px; font-weight: bold; }

/* Social Links */
.social { padding: 40px 5%; text-align: center; background: #fff; }
.social-links { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-top: 20px; }
.soc-btn { padding: 10px 20px; border-radius: 25px; text-decoration: none; color: #fff; font-weight: bold; min-width: 120px; }
.whatsapp { background: #25d366; }
.instagram { background: #e1306c; }
.snapchat { background: #fffc00; color: #000; }
.tiktok { background: #000; }

/* Sidebar Cart */
.sidebar { position: fixed; right: -100%; top: 0; width: 400px; height: 100%; background: #fff; z-index: 2000; transition: 0.3s; padding: 25px; box-shadow: -5px 0 15px rgba(0,0,0,0.1); display: flex; flex-direction: column; }
.sidebar.active { right: 0; }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.cart-items { flex-grow: 1; overflow-y: auto; margin: 20px 0; }
.qty-btn { width: 30px; height: 30px; cursor: pointer; border: 1px solid #ddd; background: #fff; }
.wa-btn { width: 100%; padding: 15px; background: #25d366; color: #fff; border: none; border-radius: 30px; font-weight: bold; cursor: pointer; margin-bottom: 10px; }
.clear-btn { width: 100%; padding: 10px; background: #eee; color: #333; border: none; border-radius: 30px; cursor: pointer; }

/* Reviews */
.reviews { background: #fdf2e9; padding: 40px 5%; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1200px; margin: auto; }
.review-card { background: #fff; padding: 20px; border-radius: 10px; text-align: center; }

@media (max-width: 768px) {
    .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-menu.active { display: flex; }
    .hamburger { display: block; }
    .sidebar { width: 100%; }


.footer { background: var(--dark); color: #fff; text-align: center; padding: 40px 5%; }
}



/* Slider Window */
.slider-container {
    width: 100%;
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* The row of images */
.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-img {
    min-width: 100%; /* Each image takes full width of container */
    height: 100%;
    object-fit: cover;
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}


/* Hide arrows by default */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    opacity: 0; /* Invisible */
    transition: opacity 0.3s ease, background 0.3s ease;
}

/* Show arrows only when hovering over the container */
.slider-container:hover .slider-arrow {
    opacity: 1; /* Visible */
}

.slider-arrow.next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.slider-arrow.prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}

/* Mobile Fix: Ensure they show briefly on touch */
.slider-container:active .slider-arrow {
    opacity: 1;
}

.filter-section {
    padding: 20px 5%;
    text-align: center;
    background: #fff;
    position: sticky;
    top: 70px; /* Sits below your main header */
    z-index: 900;
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--brown);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--gold);
    color: #fff;
}

/* Animation for hiding/showing cards */
.product-card {
    transition: transform 0.3s, opacity 0.3s;
}

.product-card.hidden {
    display: none;
    opacity: 0;
}

.search-filter-area {
    padding: 20px 5%;
    background: #fff;
    position: sticky;
    top: 60px; /* Adjust based on your header height */
    z-index: 950;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.search-container {
    max-width: 600px;
    margin: 0 auto 15px auto;
    position: relative;
}

#productSearch {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid #eee;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

#productSearch:focus {
    border-color: var(--gold);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #999;
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 80px; /* Sits above the WhatsApp button */
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--brown);
    color: white;
    border: none;
    border-radius: 50%;
    display: none; /* Hidden by default */
    font-size: 20px;
    cursor: pointer;
    z-index: 1500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/* Back to Top Button */


