/* =========================================
   1. CHERRY RED BRAND IDENTITY
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    /* --- COLOR PALETTE --- */
    --primary: #A01822;        /* Deep Cherry Red */
    --primary-dark: #800e16;   /* Darker Red (Hover) */
    --secondary: #28a745;      /* Fresh Green (Success/Veg) */
    --accent: #ffc107;         /* Gold (Stars/Highlights) */
    
    --creamy: #fffbfc;         /* Very subtle warm white background */
    --dark: #2d2d2d;           /* Soft Black text */
    --light: #ffffff;
    
    /* Red-tinted Shadow */
    --shadow: 0 10px 30px rgba(160, 24, 34, 0.15); 
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--creamy);
    color: #555;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--light);
}

a { text-decoration: none; transition: 0.3s; }

/* =========================================
   2. NAVBAR (Clean White with Red Accents)
   ========================================= */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 10px 0;
    border-top: 4px solid var(--primary); /* Red Top Border */
}

.nav-link {
    font-weight: 600;
    color: #444 !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.nav-link:hover, .nav-link.active { color: var(--primary) !important; }

/* =========================================
   3. BUTTONS (Cherry Red Pills)
   ========================================= */
.btn { border-radius: 50px; padding: 10px 30px; font-weight: 700; letter-spacing: 0.5px; }

.btn-primary, .btn-danger {
    background: linear-gradient(135deg, var(--primary), #d63031);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(160, 24, 34, 0.3);
}

.btn-primary:hover, .btn-danger:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

/* =========================================
   4. PRODUCT CARDS (Red Highlights)
   ========================================= */
.product-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: #ffcccc; /* Light Red Border on Hover */
}

.product-img-wrapper {
    height: 260px;
    /* Subtle Red Gradient Center */
    background: radial-gradient(circle, #ffffff 40%, #fff0f1 100%); 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.product-img-wrapper img {
    max-height: 100%; max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.1));
}

.product-card:hover img { transform: scale(1.08); }

/* Badges */
.badge-soft {
    background-color: #fff0f1; /* Very Light Red */
    color: var(--primary);
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

/* =========================================
   5. SECTIONS & UTILITIES
   ========================================= */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-light { background-color: #fcfcfc !important; }

/* Page Headers (White to Light Red Gradient) */
.page-header-bg {
    background: linear-gradient(135deg, #fff0f1 0%, #ffffff 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

/* Section Underline */
.section-title h2 { position: relative; display: inline-block; margin-bottom: 15px; }
.section-title h2::after {
    content: ''; display: block; width: 50%; height: 3px; 
    background: var(--primary);
    margin: 10px auto 0; border-radius: 2px;
}

/* Category Circles */
.cat-circle {
    width: 130px; height: 130px;
    background: #fff;
    border: 3px solid #ffecec;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s; margin: 0 auto 15px; overflow: hidden;
}
.cat-item:hover .cat-circle { 
    border-color: var(--primary); 
    transform: translateY(-5px); 
    box-shadow: var(--shadow);
}

/* Footer Styling */
footer {
    background-color: #1a1a1a; /* Almost Black */
    color: #bbb;
}
footer h4 { color: #fff; }
footer .text-primary { color: #ff4d4d !important; } /* Make footer icons brighter red */
footer a:hover { color: #fff !important; padding-left: 5px; }