:root {
    --primary: #ce1212;
    --primary-light: #e61414;
    --primary-dark: #a50e0e;
    --secondary: #212529;
    --accent: #ffc107;
    --light: #f8f9fa;
    --dark: #1a1a1a;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 8px;
    --box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ======================
   BREADCRUMBS SECTION
   ====================== */
.breadcrumbs {
    padding: 120px 0 60px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center center;
    position: relative;
    color: white;
    text-align: center;
}

.breadcrumbs h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
}

.breadcrumbs p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.breadcrumb-nav a {
    color: white;
    opacity: 0.8;
}

.breadcrumb-nav a:hover {
    opacity: 1;
    color: var(--accent);
}

.breadcrumb-nav .separator {
    opacity: 0.5;
}

/* ======================
   PRODUCT DETAILS SECTION
   ====================== */
.product-details-section {
    padding: 80px 0;
    background: #fff;
}

.product-container {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.product-gallery {
    padding: 30px;
    background: #f9f9f9;
}

.main-product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #F9CD64;
    transform: translateY(-3px);
}

.product-info {
    padding: 40px;
}

.product-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.product-price {
    font-size: 2rem;
    color: #F9CD64;
    font-weight: 700;
    margin-bottom: 25px;
}

.product-description {
    margin-bottom: 30px;
}

.product-description h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 10px;
}

.product-description h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #F9CD64;
}

.product-description p {
    color: #666;
    line-height: 1.8;
}

.btn-add-to-cart {
    background: #F9CD64;
    color: white;
    border: none;
    padding: 15px 35px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(206, 18, 18, 0.2);
    color: white;
}

/* ======================
   CATEGORIES SECTION
   ====================== */
.categories-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #F9CD64;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.category-content {
    padding: 25px;
    text-align: center;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.btn-view-category {
    background: transparent;
    color: #F9CD64;
    border: 2px solid #F9CD64;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-view-category:hover {
    background: #F9CD64;
    color: white;
}

/* ======================
   RESPONSIVE DESIGN
   ====================== */
@media (max-width: 992px) {
    .breadcrumbs h2 {
        font-size: 2.5rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 100px 0 40px;
    }
    
    .breadcrumbs h2 {
        font-size: 2rem;
    }
    
    .product-info {
        padding: 30px 20px;
    }
    
    .product-gallery {
        padding: 20px;
    }
    
    .main-product-image {
        height: 300px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .breadcrumbs {
        padding: 80px 0 30px;
    }
    
    .product-details-section {
        padding: 50px 0;
    }
    
    .categories-section {
        padding: 50px 0;
    }
}

/* ======================
   ANIMATIONS
   ====================== */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}