:root {
    --bg-main: #f2e9e0;
    --accent: #DEAD6F;
    --white: #FFFFFF;
    --bg-secondary: #FEF3E6;
    --text-dark: #2d2d2d;
}

body {
    background-color: var(--white);
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
}

/* Header Section */
.shop-header {
    background-color: var(--bg-main);
    padding: 60px 0;
    border-radius: 0 0 40px 40px;
}

.breadcrumb-item a { color: var(--accent); text-decoration: none; }
.display-5 { font-family: 'Playfair Display', serif; font-weight: 700; }

.search-container {
    position: relative;
    background: var(--white);
    border-radius: 30px;
    padding: 5px 20px;
}
.search-container input { border: none; padding: 10px; font-size: 0.9rem; width: 100%; }
.search-icon { position: absolute; right: 20px; top: 18px; color: var(--accent); }

/* Sidebar */
.sidebar-title {
    font-weight: 600;
    border-bottom: 2px solid var(--bg-main);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.category-list { list-style: none; padding: 0; }
.category-list li {
    padding: 10px 15px;
    border: 1px solid var(--bg-main);
    margin-bottom: 8px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
    font-size: 0.9rem;
}
.category-list li:hover, .category-list li.active {
    background-color: var(--bg-secondary);
    border-color: var(--accent);
    color: var(--accent);
    padding-left: 20px;
}

.custom-range::-webkit-slider-runnable-track { background: var(--bg-main); }
.custom-range::-webkit-slider-thumb { background: var(--accent); }

/* Product Cards */
.product-card {
    background: var(--white);
    border: 1px solid var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s;
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }

/* IMAGE SWAP LOGIC */
.product-img-box { position: relative; height: 250px; overflow: hidden; }
.product-img-box img {
    width: 100%; height: 100%; object-fit: cover;
    transition: 0.6s ease;
}
.img-back { position: absolute; top: 0; left: 0; opacity: 0; }

.product-card:hover .img-front { opacity: 0; transform: scale(1.1); }
.product-card:hover .img-back { opacity: 1; transform: scale(1.1); }

.badge-tag {
    position: absolute; top: 15px; left: 15px;
    background: var(--accent); color: white;
    padding: 2px 10px; font-size: 0.7rem; border-radius: 20px;
}

.text-accent { color: var(--accent); }
.product-name { font-weight: 600; font-size: 1rem; margin: 5px 0; }
.price-text { font-size: 1.1rem; font-weight: 700; color: var(--accent); }

.btn-add {
    background-color: var(--bg-secondary); color: var(--accent);
    border: none; font-size: 0.8rem; font-weight: bold; padding: 8px 15px;
}
.btn-add:hover { background-color: var(--accent); color: white; }

@media (max-width: 991px) {
    .shop-header { border-radius: 0; padding: 40px 0; }
}