* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

:root {
    --primary: #3498db;
    --primary-dark: #2980b9;
    --primary-light: #5dade2;
    --secondary: #f1c40f;
    --accent: #e74c3c;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --cream: #f7f9f9;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg: #f5f7fa;
    --card-bg: #ffffff;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, #3498db, #5dade2);
    --border: 1px solid #e8e8e8;
    --radius: 16px;
    --transition: all 0.3s ease;
}

.dark-mode {
    --primary: #5dade2;
    --primary-dark: #3498db;
    --primary-light: #85c1e9;
    --dark: #f8f9fa;
    --light: #1c2833;
    --cream: #2d2d2d;
    --text: #f0f0f0;
    --text-light: #b0b0b0;
    --white: #2d2d2d;
    --bg: #1a1a1a;
    --card-bg: #2d2d2d;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.4);
    --border: 1px solid #444444;
}

/* Loader Styles */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(46, 139, 87, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.loader-logo-image img {
    width: 100px;
    height: 100px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.loader-subtext {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 5px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.theme-toggle {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 100px;
    right: 30px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.theme-toggle:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

body {
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.top-contact-bar {
    background: var(--primary-dark);
    color: white;
    padding: 0.8rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    display: flex;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: var(--transition);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
}

.contact-item-time {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: var(--transition);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact-item i {
    color: #ffc107;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(76, 175, 80, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-icon:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image img {
    width: 100px;
    height: 100px;
    padding-top: 6px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    font-size: 0.9rem;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links li a:hover::before {
    width: 60%;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary);
    background: rgba(46, 139, 87, 0.05);
}

.nav-links li a.active::before {
    width: 60%;
}

.nav-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-container {
    position: relative;
}

.search-input {
    padding: 0.7rem 1rem 0.7rem 3rem;
    border: 2px solid #f8f9fa;
    border-radius: 25px;
    font-size: 0.85rem;
    width: 280px;
    transition: var(--transition);
    background: #f8f9fa;
    color: var(--text);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
    width: 320px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.icon-link {
    text-decoration: none;
    color: var(--text);
    padding: 0.7rem;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    position: relative;
}

.icon-link:hover {
    background: rgba(46, 139, 87, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
}

.cart-count,
.wishlist-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.wishlist-count {
    background: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: var(--shadow);
    overflow: hidden;
    z-index: 1000;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--primary);
    color: white;
}

.mobile-menu a i {
    width: 20px;
    text-align: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(46, 139, 87, 0.7) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    color: white;
    z-index: 2;
    width: 45%;
    max-width: 600px;
    padding: 2rem;
}

.slide-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.slide-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.slide-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.slider-search-container {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 90%;
    max-width: 600px;
}

.slider-search-input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    color: var(--text);
}

.slider-search-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.slider-search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.1rem;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.search-result-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.search-result-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.search-result-price {
    font-weight: 600;
    color: var(--primary);
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.slider-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev {
    left: 30px;
}

.slider-control.next {
    right: 30px;
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(46, 139, 87, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: var(--dark);
    transform: translateY(-3px);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius);
    background: var(--card-bg);
    transition: var(--transition);
    border: var(--border);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
    background: var(--cream);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 250px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.category-content h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.category-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Brands Section */
.brands-section {
    padding: 4rem 0;
    background: var(--white);
    overflow: hidden;
}

.brands-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.brands-scroll-container {
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.brands-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    padding: 0 1rem;
    animation: scrollBrands 30s linear infinite;
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brands-track:hover {
    animation-play-state: paused;
}

.brand-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    min-width: 120px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.brand-logo {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.brand-logo img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: var(--transition);
}

.brand-card:hover .brand-logo img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.brand-card h3 {
    font-size: 0.85rem;
    color: var(--dark);
    font-weight: 600;
    margin: 0;
}

/* Products Section - IMPROVED */
.products-section {
    padding: 5rem 0;
    background: var(--bg);
}

.section-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.section-tabs::-webkit-scrollbar {
    height: 6px;
}

.section-tabs::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.section-tabs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.section-tab {
    padding: 0.8rem 1.8rem;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 30px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    border: none;
}

.section-tab.active,
.section-tab:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Clickable product image area */
.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.new {
    background: var(--secondary);
}

.product-badge.popular {
    background: var(--primary);
}

.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
    z-index: 3;
}

.action-btn:hover {
    transform: scale(1.1);
}

/* Quick view button on image hover */
.quick-view-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    white-space: nowrap;
    cursor: pointer;
}

.product-image:hover .quick-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    line-height: 1.4;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Times New Roman';
}

.product-info h5:hover {
    color: var(--primary);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    line-height: 1.5;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.old-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.rating i {
    color: #ffc107;
    font-size: 0.8rem;
}

.rating span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.stock-status {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.in-stock {
    background: rgba(52, 152, 219, 0.1);
    color: var(--primary);
}

.low-stock {
    background: rgba(255, 152, 0, 0.1);
    color: var(--secondary);
}

.add-to-cart {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-top: auto;
}

.add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.add-to-cart.added {
    background: var(--secondary);
}

.brand-logo-small {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.brand-logo-small img {
    max-width: 20px;
    max-height: 20px;
}

/* Enhanced Product View Modal */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 15px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from { 
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-modal:hover {
    background: #c0392b;
    transform: rotate(90deg);
}

.modal-product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.modal-product-image {
    border-radius: 12px;
    overflow: hidden;
    background: var(--light);
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-product-image .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
}

.modal-product-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.product-header h2 {
    font-size: 2rem;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
}

.product-category {
    display: inline-block;
    background: rgba(52, 152, 219, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.product-rating i {
    color: #ffc107;
    font-size: 1rem;
}

.modal-product-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.modal-product-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.product-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 12px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.modal-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: 12px;
}

.modal-quantity-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.modal-quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-quantity-btn {
    width: 45px;
    height: 45px;
    border: 2px solid #ddd;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text);
    transition: var(--transition);
}

.modal-quantity-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.modal-quantity-input {
    width: 70px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 0.8rem;
    background: var(--white);
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-add-to-cart {
    flex: 2;
    padding: 1.2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.modal-add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.modal-add-to-cart.added {
    background: var(--secondary);
}

.modal-buy-now {
    flex: 1;
    padding: 1.2rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.modal-buy-now:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
}

.wishlist-btn-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn-modal:hover {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.wishlist-btn-modal.active {
    color: #e74c3c;
}

/* Blog Section */
.blog-section {
    padding: 5rem 0;
    background: var(--cream);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(10px);
    background: rgba(52, 152, 219, 0.9);
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: var(--dark);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

.blog-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.4;
    font-weight: 700;
    transition: var(--transition);
}

.blog-card:hover .blog-content h3 {
    color: var(--primary);
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: var(--border);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-author img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 0.7rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.blog-tag {
    background: var(--bg);
    color: var(--text);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
}

.blog-tag:hover {
    background: var(--primary);
    color: white;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 500px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--bg);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Testimonials Section - FIXED */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg);
    position: relative;
}

.testimonial-slider-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 40px;
    margin: 2rem 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
    padding: 1rem 0;
}

.review-card {
    flex: 0 0 350px;
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: var(--border);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.review-text {
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
    position: relative;
    padding-left: 1.5rem;
}

.review-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.review-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin: 1rem 0;
    letter-spacing: 2px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.user-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #3498db, #5dade2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-img i {
    font-size: 1.8rem;
    color: white;
}

.user-info h4 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--dark);
    font-weight: 600;
}

.user-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0.3rem 0 0;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

.slider-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.slider-nav:disabled:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-50%);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Review Modal - FIXED */
.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.review-modal.show {
    display: flex;
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-box {
    background: white;
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    animation: modalPop 0.4s ease;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

@keyframes modalPop {
    from { 
        opacity: 0; 
        transform: scale(0.8) translateY(20px);
    }
    to { 
        opacity: 1; 
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.3s;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.char-count {
    display: block;
    text-align: right;
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.rating-stars {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.rating-stars .star {
    font-size: 2.2rem;
    color: #ddd;
    cursor: pointer;
    transition: 0.2s;
    user-select: none;
    padding: 0.2rem;
}

.rating-stars .star:hover {
    transform: scale(1.1);
}

.rating-stars .star.active {
    color: #ffc107;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.upload-label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    color: #555;
    transition: 0.3s;
    width: 100%;
    justify-content: center;
}

.upload-label:hover {
    background: #e9ecef;
    border-color: #bbb;
    color: var(--primary);
}

.preview-box {
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.preview-box.show {
    display: block;
}

.preview-box img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-cancel,
.btn-submit {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-cancel {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e0e0e0;
}

.btn-cancel:hover {
    background: #e9ecef;
    border-color: #ccc;
}

.btn-submit {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-submit:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2ecc71;
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1001;
    animation: slideInRight 0.5s ease;
    display: none;
}

.toast.show {
    display: flex;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from { 
        transform: translateX(100%); 
        opacity: 0; 
    }
    to { 
        transform: translateX(0); 
        opacity: 1; 
    }
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: var(--border);
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.contact-card h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: var(--border);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-image {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
}

.footer-logo .logo-main {
    font-size: 1.3rem;
    color: white;
}

.footer-logo .logo-sub {
    font-size: 0.7rem;
    color: var(--primary-light);
}

.footer-about p {
    color: #bdc3c7;
    line-height: 1.7;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 0.85rem;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: var(--border);
    background: var(--white);
}

.cart-header h3 {
    font-size: 1.3rem;
    color: var(--dark);
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--accent);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 2rem;
}

.cart-items {
    padding: 1.5rem 0;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: var(--border);
}

.cart-item-image {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    /* font-weight: 600; */
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.cart-item-price {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: var(--white);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--light);
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.3rem;
    background: var(--white);
    color: var(--text);
}

.remove-item {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.remove-item:hover {
    transform: scale(1.1);
}

.cart-footer {
    padding: 1.5rem 2rem;
    border-top: var(--border);
    background: var(--white);
}

.cart-total {
    margin-bottom: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.total-final {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    border-top: var(--border);
    padding-top: 0.8rem;
}

.checkout-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-btn:hover {
    background: var(--primary-dark);
}

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

/* Wishlist Sidebar */
.wishlist-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.wishlist-sidebar.active {
    right: 0;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: var(--border);
    background: var(--white);
}

.wishlist-header h3 {
    font-size: 1.3rem;
    color: var(--dark);
    font-weight: 600;
}

.close-wishlist {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-wishlist:hover {
    color: var(--accent);
}

.wishlist-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 2rem;
}

.wishlist-items {
    padding: 1.5rem 0;
}

.wishlist-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: var(--border);
}

.wishlist-item-image {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wishlist-item-name {
    /* font-weight: 600; */
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.wishlist-item-price {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.move-to-cart {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.move-to-cart:hover {
    background: var(--primary-dark);
}

.remove-wishlist-item {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.remove-wishlist-item:hover {
    transform: scale(1.1);
}

.empty-wishlist {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.empty-wishlist i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    backdrop-filter: blur(3px);
}

.overlay.active {
    display: block;
    animation: fadeInOverlay 0.3s ease;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-nav-icons {
    display: none;
}

/* Bill Receipt Styles */
.bill-receipt {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 2rem auto;
    display: none;
}

.bill-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 1rem;
}

.bill-header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.bill-header-logo img {
    width: 90px;
    height: 90px;
    border-radius: 8px;
}

.bill-header h2 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.8rem;
}

.bill-header p {
    color: #7f8c8d;
    margin: 5px 0;
    font-size: 0.9rem;
}

.bill-details {
    margin-bottom: 2rem;
}

.bill-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.bill-row.total {
    font-weight: bold;
    font-size: 1.2rem;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
}

.bill-footer {
    text-align: center;
    margin-top: 2rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.print-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem auto 0;
}

.print-btn:hover {
    background: #2980b9;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-grid,
    .categories-grid,
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .modal-product-details {
        grid-template-columns: 1fr;
    }
    
    .modal-product-image {
        height: 350px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .desktop-icon {
        display: none;
    }
    
    .mobile-nav-icons {
        display: flex;
        gap: 1rem;
        align-items: center;
    }
    
    .features-grid,
    .categories-grid,
    .blog-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .slide-content {
        width: 60%;
        left: 5%;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .features-grid,
    .categories-grid,
    .blog-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .slide-content {
        width: 80%;
        left: 10%;
        text-align: center;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slider-search-container {
        top: 15px;
        width: 95%;
    }
    
    .slider-search-input {
        padding: 0.8rem 1rem 0.8rem 2.5rem;
        font-size: 0.9rem;
    }
    
    .slider-search-icon {
        left: 1rem;
    }
    
    .testimonial-slider-container {
        padding: 0 30px;
    }
    
    .review-card {
        flex: 0 0 300px;
    }
    
    .modal-product-details {
        padding: 2rem;
        gap: 2rem;
    }
    
    .modal-product-image {
        height: 300px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .product-stats {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    /* ये छोड़ दें 1fr वाला: */
    .features-grid,
    .categories-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* लेकिन products-grid के लिए अलग से 2×2 बनाएँ: */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .product-image {
        height: 140px !important;
    }
    
    .product-info {
        padding: 1rem !important;
    }
    
    .product-info h5 {
        font-size: 0.9rem !important;
    }
    
    .product-info p {
        font-size: 0.8rem !important;
        display: -webkit-box;
        /* -webkit-line-clamp: 2; */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .price {
        font-size: 1.1rem !important;
    }
    
    .add-to-cart {
        padding: 0.7rem !important;
        font-size: 0.85rem !important;
    }
    
    /* बाकी code वही रहेगा... */
    .slide-content {
        width: 90%;
        left: 5%;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cart-sidebar,
    .wishlist-sidebar {
        max-width: 100%;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float,
    .theme-toggle {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .theme-toggle {
        bottom: 90px;
    }
    
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-item {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .status-indicator {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .section-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 1rem 0;
        margin-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .section-tab {
        flex: 0 0 auto;
        white-space: nowrap;
        margin: 0 0.5rem;
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    /* ये line REMOVE करें: */
    /*
    .products-grid {
        grid-template-columns: 1fr;
    }
    */
    
    .testimonial-slider-container {
        padding: 0 20px;
    }
    
    .review-card {
        flex: 0 0 280px;
        padding: 1.5rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-product-details {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .modal-product-image {
        height: 250px;
    }
    
    .modal-product-info h2 {
        font-size: 1.5rem;
    }
    
    .modal-product-price {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .section-tabs {
        padding: 0.5rem 0;
    }
    
    .section-tab {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin: 0 0.3rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        flex: 0 0 250px;
        padding: 1.2rem;
    }
    
    .modal-box {
        max-width: 100%;
        margin: 1rem;
    }
}

/* Print Specific Styles */
@media print {
    body * {
        visibility: hidden;
    }
    
    #billReceipt,
    #billReceipt * {
        visibility: visible !important;
    }
    
    #billReceipt {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 20px !important;
        background: white !important;
        box-shadow: none !important;
        border: none !important;
        z-index: 999999 !important;
    }
    
    .navbar,
    .footer,
    .hero-slider,
    .features-section,
    .categories-section,
    .brands-section,
    .products-section,
    .blog-section,
    .about-section,
    .testimonials-section,
    .contact-section,
    .cart-sidebar,
    .wishlist-sidebar,
    .overlay,
    .whatsapp-float,
    .theme-toggle,
    .mobile-menu,
    .top-contact-bar,
    .print-btn,
    .product-modal {
        display: none !important;
    }
}

/* Mobile Print Optimization */
@media print and (max-width: 768px) {
    #billReceipt {
        padding: 15px !important;
        font-size: 14px !important;
    }
    
    .bill-header h2 {
        font-size: 1.5rem !important;
    }
    
    .bill-row {
        font-size: 14px !important;
    }
}