/* =============================================
   FreshBhuja - Main Stylesheet
   Red & Black Color Theme
   ============================================= */

/* CSS Variables */
:root {
    --primary-color: #8B0000;
    --primary-dark: #6B0000;
    --primary-light: #A52A2A;
    --secondary-color: #1a1a1a;
    --secondary-light: #333333;
    --accent-color: #FFD700;
    --accent-orange: #FF6B00;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --light-bg: #f8f8f8;
    --border-color: #e5e5e5;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

.btn-add-cart {
    width: 100%;
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    font-size: 13px;
}

.btn-add-cart:hover {
    background: var(--primary-color);
}

/* =============================================
   Top Bar
   ============================================= */
.top-bar {
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 12px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 25px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left i {
    color: var(--accent-color);
}

.top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar-right a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
}

.top-bar-right a:hover {
    color: var(--accent-color);
}

/* =============================================
   Header
   ============================================= */
.header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.logo-highlight {
    color: var(--primary-color);
}

.logo-tagline {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Search Bar */
.search-bar {
    flex: 1;
    min-width: 280px;
    max-width: 550px;
    display: flex;
    align-items: stretch;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
}

.search-bar:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.search-bar form {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.search-bar input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    background: transparent;
}

.search-bar input::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.search-bar button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button:hover {
    background: var(--primary-dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    color: var(--text-dark);
    font-size: 12px;
}

.action-btn i {
    font-size: 22px;
}

.action-btn:hover {
    color: var(--primary-color);
}

.action-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-btn {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    flex-direction: row;
    gap: 8px;
}

.cart-btn:hover {
    background: var(--primary-dark);
}

.cart-btn .badge {
    position: static;
    background: var(--white);
    color: var(--primary-color);
}

/* =============================================
   Navigation
   ============================================= */
.main-nav {
    background: var(--primary-color);
    position: sticky;
    top: 70px;
    z-index: 999;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.nav-item > a:hover,
.nav-item.active > a {
    background: rgba(0, 0, 0, 0.2);
}

.nav-item > a i.fa-chevron-down {
    font-size: 10px;
    transition: var(--transition);
}

.nav-item:hover > a i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: var(--shadow-hover);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-hover);
    z-index: 1001;
}

/* =============================================
   Hero Slider
   ============================================= */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    padding: 20px;
}

.slide-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.slide-content h2 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.slide-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

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

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* =============================================
   Section Headers
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
    margin-top: 15px;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* =============================================
   Categories Section
   ============================================= */
.categories-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.category-image {
    height: 180px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-card h3 {
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
}

.category-card:hover h3 {
    color: var(--primary-color);
}

/* =============================================
   Products Section
   ============================================= */
.products-section {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 5;
}

.product-badge.discount {
    background: var(--primary-color);
    color: var(--white);
}

.product-badge.new {
    background: var(--success-color);
    color: var(--white);
    left: auto;
    right: 15px;
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--light-bg);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
}

.action-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.action-icon:hover {
    background: var(--primary-color);
    color: var(--white);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 11px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    margin: 8px 0;
    font-size: 15px;
    font-weight: 600;
}

.product-name a {
    color: var(--secondary-color);
}

.product-name a:hover {
    color: var(--primary-color);
}

.product-weight {
    display: inline-block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.product-rating i {
    color: var(--accent-color);
    font-size: 12px;
}

.product-rating span {
    font-size: 12px;
    color: var(--text-muted);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* =============================================
   Promo Section
   ============================================= */
.promo-section {
    padding: 40px 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.promo-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 220px;
    color: var(--white);
}

.promo-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.promo-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    margin-bottom: 10px;
}

.promo-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.promo-card p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.promo-image {
    position: absolute;
    right: 20px;
    bottom: 0;
    width: 200px;
}

.promo-image img {
    width: 100%;
}

/* =============================================
   Trust Banner
   ============================================= */
.trust-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
    margin: 40px 0;
}

.trust-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
}

.trust-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.trust-text p {
    font-size: 16px;
    opacity: 0.9;
}

.trust-logo {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 50px;
    border-radius: var(--border-radius-lg);
}

.trust-logo .brand-name {
    display: block;
    font-size: 40px;
    font-weight: 800;
    font-style: italic;
}

.trust-logo .brand-name span {
    color: var(--accent-color);
}

.trust-logo .brand-tagline {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    margin-top: 5px;
}

/* =============================================
   Features Section
   ============================================= */
.features-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.feature-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* =============================================
   Newsletter Section
   ============================================= */
.newsletter-section {
    padding: 50px 0;
    background: var(--secondary-color);
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-content {
    color: var(--white);
}

.newsletter-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.newsletter-content p {
    font-size: 14px;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.newsletter-form .btn {
    white-space: nowrap;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-links a i {
    color: #ffffff !important;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.social-links a:hover i {
    color: #ffffff !important;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-methods span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.payment-methods img {
    height: 30px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Simple Footer */
.footer-simple {
    text-align: center;
    padding: 30px 0;
}

.footer-simple p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
}

/* =============================================
   Modal
   ============================================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 2000;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: var(--light-bg);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* =============================================
   Cart Sidebar
   ============================================= */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.close-cart {
    width: 35px;
    height: 35px;
    background: var(--light-bg);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover {
    background: var(--primary-color);
    color: var(--white);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-info .price {
    color: var(--primary-color);
    font-weight: 600;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.cart-item-qty button {
    width: 28px;
    height: 28px;
    background: var(--light-bg);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.cart-item-qty button:hover {
    background: var(--primary-color);
    color: var(--white);
}

.cart-item-qty span {
    font-weight: 600;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cart-footer .btn {
    width: 100%;
    margin-bottom: 10px;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1999;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =============================================
   Products Slider
   ============================================= */
.products-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.products-slider::-webkit-scrollbar {
    height: 8px;
}

.products-slider::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 10px;
}

.products-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.products-slider .product-card {
    min-width: 280px;
    scroll-snap-align: start;
}

/* =============================================
   Utility Classes
   ============================================= */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.bg-light {
    background: var(--light-bg);
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
}
