/* Enhanced Product Section Styles */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.products-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Search Bar Styles */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 300px;
    padding: 12px 40px 12px 16px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
}

.clear-search-btn {
    position: absolute;
    right: 8px;
    background: #ccc;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Results Count */
.results-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Category Filter Styles */
.category-filters {
    margin-bottom: 30px;
    padding: 0 20px;
}

.category-filters h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.category-btn.active {
    background: #1a237e;
    color: white;
    border-color: #1a237e;
}

/* Enhanced Product Card Styles */
.product-card {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.product-card.featured {
    border: 2px solid #ffd700;
}

.product-card.low-stock {
    border-left: 4px solid #6366f1;
}

/* Product Badges */
.featured-badge, .low-stock-badge, .out-of-stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    z-index: 2;
}

.featured-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.low-stock-badge {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: white;
}

.out-of-stock-badge {
    background: linear-gradient(135deg, #f44336, #ef5350);
    color: white;
}

/* Product Image Container */
.product-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-category {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

/* Enhanced Product Details */
.product-details {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
}

.product-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pricing Info */
.pricing-info {
    margin-bottom: 12px;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #1a237e;
}

.price-unit {
    font-size: 12px;
    color: #666;
}

.box-pricing {
    font-size: 11px;
    color: #888;
}

/* Stock Info */
.stock-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 12px;
}

.stock-count {
    color: #666;
}

.low-stock-warning {
    color: #6366f1;
    font-weight: 600;
}

/* Enhanced Purchase Options */
.purchase-options {
    margin-top: auto;
}

.purchase-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.purchase-type {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    background: white;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-btn {
    background: #f5f5f5;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
}

.quantity-input {
    border: none;
    text-align: center;
    width: 60px;
    padding: 8px 4px;
    outline: none;
    font-size: 14px;
    color: #333;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: #1a237e;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Out of Stock Styles */
.out-of-stock-message {
    text-align: center;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 6px;
    margin-top: auto;
}

.out-of-stock-message p {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.notify-btn {
    background: #1a237e;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

/* No Products Found */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
}

.no-products-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.no-products h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

.no-products p {
    color: #666;
    margin-bottom: 20px;
}

.clear-filters-btn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

/* Message Display */
.message-display {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    max-width: 300px;
    word-wrap: break-word;
}

.message-display.success {
    background: #4caf50;
}

.message-display.error {
    background: #f44336;
}

.message-display.info {
    background: #1a237e;
}

/* Enhanced Modern UI Styles - Better than CrackersZone.com */

/* Import Google Fonts for better typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

/* CSS Variables for consistent theming */
:root {
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary-color: #ffd700;
    --accent-color: #ff8c42;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    --white: #ffffff;
    --border-light: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #ffed4e);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced Header */
header {
    background: var(--white);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
}

header.scrolled {
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: relative;
    gap: 2rem;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 300px;
}

/* Logo Enhancement */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    position: relative;
}

.logo::after {
    content: '🎆';
    position: absolute;
    top: -5px;
    right: -25px;
    font-size: 1.2rem;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

/* Enhanced Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

nav a:hover::before {
    left: 0;
}

nav a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* Advanced Search Bar */
.header-search input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid var(--border-light);
    border-radius: 25px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.header-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: var(--shadow-light);
}

.header-search button {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
}

.header-search button:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Enhanced Cart Icon */
.cart-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    color: var(--white);
    text-decoration: none;
}

.cart-text {
    font-weight: 600;
}

.cart-count {
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Mobile Menu Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Enhanced Hero Section */
.hero {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd700 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/images/hero-pattern.png');
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Enhanced CTA Button */
.shop-now-btn {
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease 0.4s both;
}

.shop-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.shop-now-btn:hover::before {
    left: 0;
}

.shop-now-btn:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.arrow-right {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.shop-now-btn:hover .arrow-right {
    transform: translateX(5px);
}

/* Hero Decorations */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.1;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Enhanced Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--white);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    background: var(--bg-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    transform: rotate(45deg);
}

.feature:hover::before {
    opacity: 0.05;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.feature h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Enhanced Products Section */
.products {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.products-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
}

.products-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Enhanced Search Container */
.products-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    min-width: 300px;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid var(--border-light);
    border-radius: 25px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.clear-search-btn:hover {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.results-count {
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
}

/* Enhanced Category Filters */
.category-filters {
    margin-bottom: 3rem;
}

.category-filters h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-filter {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.category-btn {
    background: var(--white);
    border: 2px solid var(--border-light);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.category-btn:hover::before,
.category-btn.active::before {
    left: 0;
}

.category-btn:hover,
.category-btn.active {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Enhanced Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Enhanced Product Cards */
.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    position: relative;
    border: 1px solid var(--border-light);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

/* Product Badges */
.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-secondary);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-light);
}

.low-stock-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #6366f1; /* Indigo */
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    animation: pulse 2s infinite;
}

.out-of-stock-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f44336;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Product Image Container */
.product-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Product Details */
.product-details {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pricing Info */
.pricing-info {
    margin-bottom: 1rem;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-unit {
    font-size: 0.9rem;
    color: var(--text-light);
}

.box-pricing {
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 0.5rem;
    border-radius: 8px;
}

/* Stock Info */
.stock-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.stock-count {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.low-stock-warning {
    font-size: 0.8rem;
    color: #6366f1; /* Indigo */
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* Purchase Options */
.purchase-options {
    space-y: 1rem;
}

.purchase-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.purchase-type {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.purchase-type:focus {
    outline: none;
    border-color: var(--primary-color);
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-btn {
    background: var(--bg-light);
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-dark);
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.quantity-input {
    border: none;
    padding: 10px;
    text-align: center;
    width: 60px;
    background: var(--white);
}

.quantity-input:focus {
    outline: none;
}

/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Out of Stock Message */
.out-of-stock-message {
    text-align: center;
    padding: 1rem;
    background: #ffebee;
    border-radius: 8px;
    color: #d32f2f;
}

.notify-btn {
    background: #2196f3;
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.notify-btn:hover {
    background: #1976d2;
}

/* No Products State */
.no-products {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.no-products-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-products h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.no-products p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.clear-filters-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.clear-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Message Display */
.message-display {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: var(--white);
    font-weight: 500;
    z-index: 1001;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.message-display.success {
    background: #4caf50;
}

.message-display.error {
    background: #f44336;
}

.message-display.info {
    background: #2196f3;
}

/* Loading States */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error States */
.error {
    color: #f44336;
    text-align: center;
    padding: 2rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    .header-search {
        display: none;
    }
    
    nav ul {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        margin-top: 70px;
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        padding: 3rem 1rem;
    }
    
    .products {
        padding: 3rem 1rem;
    }
    
    .products-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .search-container {
        min-width: auto;
    }
    
    .category-filter {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .purchase-controls {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .products-header h2 {
        font-size: 2rem;
    }
    
    .product-image-container {
        height: 200px;
    }
    
    .message-display {
        right: 10px;
        left: 10px;
        top: 90px;
    }
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 0 0 15px 15px;
    box-shadow: var(--shadow-medium);
    z-index: 1001;
    max-height: 300px;
    overflow-y: auto;
}

.search-suggestion {
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-suggestion:last-child {
    border-bottom: none;
}

.search-suggestion:hover {
    background: var(--bg-light);
}

.suggestion-icon {
    font-size: 1.2rem;
}

/* Mobile Navigation */
.mobile-nav {
    background: var(--white);
    border-top: 1px solid var(--border-light);
    box-shadow: var(--shadow-medium);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
}

.mobile-nav-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-content a {
    text-decoration: none;
    color: var(--text-dark);
    padding: 12px 16px;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
}

.mobile-nav-content a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.mobile-search input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--border-light);
    border-radius: 20px;
    font-size: 1rem;
}

.mobile-search button {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-search button:hover {
    transform: scale(1.1);
}

/* Enhanced Footer */
#main-footer {
    background: var(--text-dark);
    color: var(--white);
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-container > div:first-child {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding: 4rem 0 2rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.footer-section p {
    line-height: 1.6;
    color: #bdc3c7;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Contact Info */
.contact-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-methods {
    margin-top: 1.5rem;
}

.payment-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-icons span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* Scroll-to-top button has been removed */

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.explore-btn {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.explore-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: var(--transition);
    z-index: -1;
}

.explore-btn:hover::before {
    left: 0;
}

.explore-btn:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Offer Banner */
.offer-banner {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
    animation: pulse 2s infinite;
}

.offer-icon {
    font-size: 1.5rem;
}

.offer-text {
    font-weight: 600;
    color: var(--white);
}

.offer-code {
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Hero Banners */
.hero-banners {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    color: var(--white);
    width: 80%;
}

/* Trust Indicators */
.trust-indicators {
    background: var(--white);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-light);
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: var(--bg-light);
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.trust-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Enhanced Features */
.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.features-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-details {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.feature-details li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Category Showcase */
.category-showcase {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.category-header {
    text-align: center;
    margin-bottom: 4rem;
}

.category-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.category-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.category-showcase-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    cursor: pointer;
}

.category-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.category-image-placeholder {
    height: 200px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.category-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-info {
    padding: 1.5rem;
    text-align: center;
}

.category-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.category-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.category-shop-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.category-shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.category-cta {
    text-align: center;
}

.view-all-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* Featured Products */
.featured-products {
    padding: 6rem 2rem;
    background: var(--white);
}

.featured-header {
    text-align: center;
    margin-bottom: 4rem;
}

.featured-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.featured-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.featured-product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    padding: 0;
}

.featured-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.featured-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-product-card:hover .featured-image {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-secondary);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-light);
}

.featured-details {
    padding: 1.5rem;
    text-align: center;
}

.featured-details h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.featured-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.featured-add-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    width: 100%;
}

.featured-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* How It Works */
.how-it-works {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.how-header {
    text-align: center;
    margin-bottom: 4rem;
}

.how-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.how-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.step-icon {
    position: relative;
    margin-bottom: 1.5rem;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--gradient-primary);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
}

.step-emoji {
    font-size: 4rem;
    background: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.step:hover .step-emoji {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

/* Customer Reviews */
.customer-reviews {
    padding: 6rem 2rem;
    background: var(--white);
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.reviews-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.review-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.reviewer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviewer strong {
    color: var(--text-dark);
}

.reviewer span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-cta {
    text-align: center;
}

.review-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.review-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
}

.review-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* About Section */
.about-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-icon {
    font-size: 2rem;
    background: var(--white);
    padding: 10px;
    border-radius: 50%;
    box-shadow: var(--shadow-light);
}

.about-feature h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.about-feature p {
    color: var(--text-light);
    margin: 0;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: var(--white);
    border: 2px dashed var(--border-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    background: var(--bg-light);
    padding: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-submit-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Live Notifications */
.live-notifications {
    position: fixed;
    bottom: 100px;
    left: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 25px;
    box-shadow: var(--shadow-medium);
    z-index: 1000;
    max-width: 350px;
    animation: slideInLeft 0.5s ease;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .hero-banners {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .offer-banner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .trust-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-connector {
        width: 3px;
        height: 40px;
        transform: rotate(90deg);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .live-notifications {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .trust-container {
        grid-template-columns: 1fr;
    }
    
    .features-header h2,
    .category-header h2,
    .featured-header h2,
    .how-header h2,
    .reviews-header h2,
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .trust-number {
        font-size: 2rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
} 

/* Products Section Overrides */
.products {
    background-color: #ffffff !important;
    color: #2c3e50 !important;
    padding: 80px 20px !important;
}
.products h2 {
    color: var(--trust-blue) !important;
}
.products h2::after {
    background-color: var(--trust-blue) !important;
}
.products-controls {
    margin-bottom: 20px !important;
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}
.search-container .search-input {
    background-color: #f1f1f1 !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    width: 100% !important;
    max-width: 400px !important;
}
.category-btn {
    background-color: #fff !important;
    border: 1px solid var(--trust-blue) !important;
    color: var(--trust-blue) !important;
    border-radius: 20px !important;
    padding: 8px 16px !important;
}
.category-btn.active {
    background-color: var(--trust-blue) !important;
    color: #fff !important;
}
.product-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 20px !important;
}
.product-card {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}
.product-image-container {
    height: auto !important;
    background-color: #f8f9fa !important;
}
.product-card img,
.product-image {
    width: 100% !important;
    object-fit: cover !important;
}
.product-details {
    padding: 16px !important;
    flex-grow: 1 !important;
}
.product-name {
    font-size: 1.1rem !important;
    color: #2c3e50 !important;
    margin-bottom: 8px !important;
}
.current-price,
.product-price {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--trust-blue) !important;
}
.add-to-cart-btn {
    background-color: var(--trust-blue) !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 10px !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.95rem !important;
    margin-top: auto !important;
}
.clear-search-btn {
    background-color: #ccc !important;
    color: #333 !important;
}
.clear-search-btn:hover {
    background-color: #eee !important;
    color: #333 !important;
} 

#products-section .product-card .product-details {
    padding-top: 2.5rem !important;
}

/* Fix featured badge positioning in products section */
#products-section .featured-badge {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
} 

/* Add styles for the products CTA section and product pages */

/* Products Call-to-Action Section */
.products-cta {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin: 3rem 0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #ff6b35;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #e63946;
}

/* Products Page Styles */
.products-page-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    margin-bottom: 3rem;
    border-radius: 8px;
}

.page-title h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.page-title p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.product-card .btn-view-details {
    background: #6c757d;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 0.5rem;
}

.product-card .btn-view-details:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.product-card .btn-add-to-cart {
    background: #ff6b35;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-card .btn-add-to-cart:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

.no-products, .error-message {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: #7f8c8d;
    grid-column: 1 / -1;
}

.error-message {
    color: #e74c3c;
}

/* Product Detail Page Specific Styles */
.detailed-description {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

.detailed-description h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.description-content {
    line-height: 1.8;
    color: #555;
}

/* Video section responsive improvements */
@media (max-width: 768px) {
    .video-container {
        padding-bottom: 56.25%; /* 16:9 aspect ratio maintained */
        margin: 1rem 0;
    }
    
    .products-cta {
        padding: 3rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .page-title h1 {
        font-size: 2.2rem;
    }
    
    .products-page-header {
        padding: 2rem 1rem;
    }
    
    .message-display {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .message-display.show {
        transform: translateY(0);
    }
}

/* Improve product grid for products page */
.products .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .products .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .products .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
} 

/* Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Enhanced Button Disabled States */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

button:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
} 