
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary-color: #131921;
    --primary-dark: #131921;
    --primary-light: #4a90e2;
    --secondary-color: #fb641b;
    --accent-color: #ff6b6b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --bg-dark: #111827;
    
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Top Navigation Bar - Modern Design */
.top-nav {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 12px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.top-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-left .logo {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-left .logo:hover {
    transform: scale(1.05);
}

.logo-text {
    color: white;
    letter-spacing: -0.5px;
}

.nav-center {
    flex: 1;
    max-width: 600px;
    min-width: 250px;
}

.search-form {
    display: flex;
    width: 100%;
    position: relative;
}

.search-input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    font-size: 14px;
    outline: none;
    background: white;
    color: var(--text-dark);
    transition: var(--transition);
}

.search-input:focus {
    box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.1);
}

.search-btn {
    padding: 10px 20px;
    background: var(--secondary-color);
    border: none;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    cursor: pointer;
    color: white;
    font-size: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #e55a0f;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.nav-link i {
    font-size: 16px;
}

.nav-select {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.nav-select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-select option {
    background: var(--primary-color);
    color: white;
}

/* Main Navigation */
.main-nav {
    background: white;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 60px;
    z-index: 999;
    overflow-x: auto;
}

.main-nav .container {
    display: flex;
    align-items: center;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
    margin-right: 10px;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle.active {
    color: var(--primary-color);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 12px 0;
    margin: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
    display: block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.banner-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 400;
}

/* Buttons - Modern Style */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.5;
    box-shadow: var(--shadow);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

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

.btn-secondary:hover {
    background: #e55a0f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-gray);
    transition: var(--transition);
    border-radius: var(--radius);
}

.btn-icon:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.btn-icon .fa-heart.active {
    color: #ef4444;
}

/* Sections */
section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all:hover {
    color: var(--primary-dark);
    gap: 8px;
}

.view-all::after {
    content: '→';
    transition: var(--transition);
}

/* Categories Section */
.categories-section {
    background: white;
    padding: 40px 0;
    border-radius: var(--radius-xl);
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.category-card {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.category-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Products Page Layout */
.products-page-container {
    margin-top: 30px;
}

.products-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.filters-sidebar {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
}

@media (max-width: 992px) {
    .products-layout {
        grid-template-columns: 200px 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        margin-bottom: 30px;
    }
}

/* Products Page Elements */
.filter-title {
    margin-bottom: 20px;
    font-size: 18px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-subtitle {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-gray);
}

.filter-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-link {
    color: var(--text-dark);
    text-decoration: none;
    padding: 5px 0;
    transition: var(--transition);
}

.filter-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.products-header {
    margin-bottom: 20px;
}

.products-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.products-count {
    color: var(--text-gray);
}

.no-products {
    text-align: center;
    padding: 60px 20px;
}

.no-products i {
    font-size: 48px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.no-products h3 {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.no-products p {
    color: var(--text-gray);
}

.pagination {
    margin-top: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Products Grid */
.products-section {
    padding: 30px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge {
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.badge.hot-deal {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
}

.badge.featured {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.badge.trending {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.product-image {
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--bg-gray);
    position: relative;
}

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

.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.no-image-placeholder i {
    font-size: 48px;
}

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

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

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

.product-store {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-store i {
    font-size: 10px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

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

.discount {
    font-size: 13px;
    color: var(--success-color);
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.product-coupon {
    font-size: 12px;
    color: var(--success-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 8px 12px;
    border-radius: var(--radius);
}

.product-coupon i {
    font-size: 14px;
}

.coupon-code {
    background: white;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-family: 'Courier New', monospace;
    margin-left: auto;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.product-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 14px;
}

/* Stores Section */
.stores-section {
    background: white;
    padding: 40px 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.store-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border: 2px solid transparent;
}

.store-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.store-card img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.store-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

/* Blog Section */
.blog-section {
    padding: 30px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

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

.blog-image {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.blog-content h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.blog-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 8px;
}

.read-more::after {
    content: '→';
    transition: var(--transition);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #d1d5db;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: white;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p {
    margin-bottom: 8px;
    color: #9ca3af;
}

.disclaimer {
    font-size: 12px;
    color: #6b7280;
    margin-top: 10px;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    width: 100%;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.newsletter-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

#newsletter-message {
    margin-top: 10px;
    font-size: 13px;
}

#newsletter-message.success {
    color: #10b981;
}

#newsletter-message.error {
    color: #ef4444;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #ef4444;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border-color: #10b981;
}

/* Responsive Design - Tablet (768px and below) */
@media (max-width: 768px) {
    .top-nav .container {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-left .logo {
        font-size: 20px;
    }
    
    .nav-center {
        width: 100%;
        order: 3;
    }
    
    .nav-right {
        width: 100%;
        justify-content: center;
        gap: 6px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link i {
        font-size: 14px;
    }
    
    .nav-select {
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .main-nav {
        top: 50px;
    }
    
    .main-nav .container {
        padding: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu {
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .hero-banner {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 12px;
    }
    
    .category-card {
        padding: 20px 12px;
    }
    
    .category-icon {
        font-size: 32px;
    }
    
    .category-card h3 {
        font-size: 13px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .stores-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 14px;
        min-height: 36px;
    }
    
    .current-price {
        font-size: 20px;
    }
    
    .product-actions {
        gap: 8px;
        padding-top: 12px;
    }
    
    .product-actions .btn {
        padding: 8px;
        font-size: 12px;
    }
}

/* Responsive Design - Mobile (480px and below) */
@media (max-width: 480px) {
    .top-nav {
        padding: 10px 0;
    }
    
    .top-nav .container {
        gap: 10px;
    }
    
    .nav-left .logo {
        font-size: 18px;
    }
    
    .logo-text {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-center {
        min-width: 100%;
        order: 3;
    }
    
    .search-input {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .search-btn {
        padding: 8px 16px;
    }
    
    .nav-right {
        width: 100%;
        gap: 4px;
    }
    
    .nav-link {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .nav-select {
        font-size: 10px;
        padding: 4px 6px;
    }
    
    .main-nav {
        top: 45px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        font-size: 20px;
        padding: 8px;
        margin-right: 5px;
    }
    
    .nav-menu {
        gap: 10px;
        font-size: 12px;
    }
    
    .nav-menu a {
        font-size: 12px;
    }
    
    .hero-banner {
        padding: 30px 0;
        margin-bottom: 25px;
    }
    
    .banner-content h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .banner-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-sm {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .category-card {
        padding: 15px 10px;
    }
    
    .category-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .category-card h3 {
        font-size: 12px;
    }
    
    .stores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .store-card {
        min-height: 100px;
        padding: 15px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .section-title::after {
        width: 50px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-title {
        font-size: 13px;
        min-height: 32px;
        margin-bottom: 8px;
    }
    
    .product-store {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .product-price {
        margin-bottom: 8px;
        gap: 8px;
    }
    
    .current-price {
        font-size: 18px;
    }
    
    .original-price {
        font-size: 13px;
    }
    
    .product-coupon {
        font-size: 11px;
        padding: 6px 10px;
        margin-bottom: 10px;
    }
    
    .product-actions {
        gap: 6px;
        padding-top: 10px;
    }
    
    .product-actions .btn {
        padding: 6px;
        font-size: 11px;
    }
    
    .btn-icon {
        padding: 6px;
    }
    
    .footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
    
    .footer-content {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .footer-section h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .footer-section a {
        font-size: 13px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
    
    .form-control {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .alert {
        padding: 12px 16px;
        font-size: 13px;
        gap: 10px;
    }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    .nav-left .logo {
        font-size: 16px;
    }
    
    .logo-text {
        max-width: 100px;
    }
    
    .search-input {
        font-size: 12px;
    }
    
    .banner-content h1 {
        font-size: 20px;
    }
    
    .banner-content p {
        font-size: 12px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .current-price {
        font-size: 16px;
    }
}

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

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Print Styles */
@media print {
    .top-nav,
    .main-nav,
    .footer,
    .btn,
    .product-actions {
        display: none;
    }
}

/* Product Page Styles */
.product-page-container {
    margin-top: 30px;
}

.product-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.main-image-wrapper {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

.main-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-title-main {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.product-store-info {
    margin-bottom: 20px;
    font-size: 15px;
}

.product-store-info .label {
    color: var(--text-gray);
}

.product-store-info .store-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.product-price-section {
    margin-bottom: 25px;
    padding: 25px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

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

.current-price-large {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}

.original-price-large {
    font-size: 20px;
    color: var(--text-gray);
    text-decoration: line-through;
}

.discount-badge-large {
    font-size: 16px;
    color: var(--success-color);
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.coupon-box {
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--radius);
    border: 1px dashed var(--success-color);
}

.coupon-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--success-color);
}

.coupon-code-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coupon-code-wrapper .label {
    font-weight: 500;
    font-size: 14px;
}

.coupon-code-wrapper .code {
    background: white;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-family: monospace;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
}

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

.product-description-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.description-content {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 15px;
}

.product-actions-main {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.buy-now-btn {
    flex: 1;
    padding: 16px;
    font-size: 18px;
}

.wishlist-btn-large {
    padding: 16px 25px;
    background: white;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
}

.wishlist-btn-large:hover {
    background: var(--bg-light);
    color: var(--danger-color);
}

/* Mobile Responsive for Product Page */
@media (max-width: 768px) {
    .product-main-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .main-image-wrapper {
        height: 350px;
    }
    
    .product-title-main {
        font-size: 22px;
    }
    
    .current-price-large {
        font-size: 26px;
    }
    
    .product-price-section {
        padding: 15px;
    }
    
    .buy-now-btn {
        padding: 12px;
        font-size: 16px;
    }
    
    .wishlist-btn-large {
        padding: 12px 20px;
    }
}

/* Sidebar Styles */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 2000;
    transition: all 0.3s ease;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
    backdrop-filter: blur(3px);
}

.sidebar-overlay.active {
    display: block !important;
}

.sidebar-header {
    padding: 20px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-logo {
    font-size: 20px;
    font-weight: 700;
}

.sidebar-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.sidebar-content {
    padding: 20px;
}

.mobile-search-container {
    margin-bottom: 25px;
}

.sidebar-search-form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.sidebar-search-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.sidebar-search-btn {
    padding: 10px 15px;
    background: var(--bg-light);
    border: none;
    color: var(--text-gray);
    cursor: pointer;
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-title {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    transition: var(--transition);
}

.sidebar-menu a i {
    width: 20px;
    color: var(--primary-color);
}

.sidebar-menu a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Hide desktop search and right nav on mobile */
@media (max-width: 768px) {
    .nav-center, .nav-right {
        display: none !important;
    }
    
    .top-nav .container {
        justify-content: center;
    }
    
    .main-nav {
        top: 55px;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1001 !important;
        position: relative;
        color: var(--text-dark) !important;
    }
}

/* Mobile Bottom Navigation Styles */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: none; /* Hidden by default, shown on mobile */
    grid-template-columns: repeat(5, 1fr);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 8px 0;
    border-top: 1px solid var(--border-color);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 11px;
    gap: 4px;
    transition: var(--transition);
}

.bottom-nav-item i {
    font-size: 18px;
}

.bottom-nav-item.active {
    color: var(--primary-color);
}

.bottom-nav-item:hover {
    color: var(--primary-color);
}

/* Mobile Specific Overrides */
@media (max-width: 768px) {
    .footer {
        display: none !important; /* Hide footer on mobile */
    }
    
    .mobile-bottom-nav {
        display: grid; /* Show bottom nav on mobile */
    }
    
    /* Add padding to body to prevent content from being hidden behind bottom nav */
    body {
        padding-bottom: 70px;
    }
}
