/*
Theme Name: Eat & Eat
Theme URI: https://eatandeat.com
Author: Eat & Eat Team
Author URI: https://eatandeat.com
Description: A modern WordPress theme for food ordering with WhatsApp checkout. Perfect for restaurants and food delivery services with direct WhatsApp integration.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eat-and-eat
Tags: food, restaurant, e-commerce, woocommerce, whatsapp, mobile-friendly, one-column, custom-colors, custom-menu, featured-images, theme-options
*/

/* ==========================================
   CSS Variables & Reset
   ========================================== */
:root {
    --primary-color: #D32F2F;
    --secondary-color: #FFC107;
    --dark-bg: #121212;
    --light-bg: #F8F9FA;
    --text-dark: #1A1A2E;
    --text-light: #FFFFFF;
    --text-gray: #6B7280;
    --success-green: #10B981;
    --spicy-red: #EF4444;
    --whatsapp-green: #25D366;
    --border-color: #E5E7EB;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 12px rgba(0, 0, 0, 0.15);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ==========================================
   Typography
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* ==========================================
   Header & Navigation
   ========================================== */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 50%, #8B0000 100%);
    color: var(--text-light);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(211, 47, 47, 0.3);
    backdrop-filter: blur(10px);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.site-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

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

.logo-icon {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--secondary-color);
}

.cart-icon-wrapper {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.cart-icon-wrapper:hover {
    transform: scale(1.1);
}

.cart-icon {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.cart-icon-wrapper:hover .cart-icon {
    color: var(--secondary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 2px 8px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.5);
    animation: pulse 2s infinite;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.7) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(18, 18, 18, 0.9) 100%),
                url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1920') center/cover;
    color: var(--text-light);
    padding: 8rem 2rem 6rem;
    text-align: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 193, 7, 0.15) 0%, transparent 50%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -2px;
    animation: slideInLeft 1s ease 0.2s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: slideInRight 1s ease 0.4s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--text-light);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #FF9800 100%);
    color: var(--text-dark);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

/* ==========================================
   Product Grid
   ========================================== */
.products-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

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

.product-card {
    background: var(--text-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: fadeInUp 0.6s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.product-card:hover::before {
    opacity: 1;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-image-overlay {
    opacity: 1;
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.badge {
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.badge-spicy {
    background: linear-gradient(135deg, var(--spicy-red) 0%, #DC2626 100%);
}

.badge-chef {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #FF9800 100%);
    color: var(--text-dark);
}

.badge-veg {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}

.badge-best {
    background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
}

.product-info {
    padding: 1.75rem;
    background: white;
}

.product-name {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    transition: color 0.3s ease;
}

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

.product-description {
    color: var(--text-gray);
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
    color: var(--text-light);
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    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.3), transparent);
    transition: left 0.5s ease;
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #B71C1C 0%, #8B0000 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

/* ==========================================
   Cart Drawer
   ========================================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: flex-end;
    z-index: 2000;
    animation: fadeInOverlay 0.3s ease;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cart-overlay.active {
    display: flex;
}

.cart-drawer {
    width: 100%;
    max-width: 480px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.cart-header {
    padding: 2rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cart-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.3) 0%, transparent 50%);
}

.cart-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.close-cart {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: slideInRight 0.4s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(-5px);
}

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

.cart-item-name {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.cart-item-qty {
    font-weight: 700;
    min-width: 40px;
    text-align: center;
    font-size: 1.1rem;
}

.remove-btn {
    background: linear-gradient(135deg, var(--spicy-red) 0%, #DC2626 100%);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 0.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.remove-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--light-bg);
}

.cart-summary {
    margin-bottom: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-gray);
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.3rem;
    border-top: 2px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
    color: var(--text-dark);
}

.customer-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.whatsapp-checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--text-light);
    border: none;
    padding: 1.2rem;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.whatsapp-checkout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.whatsapp-checkout-btn:hover::before {
    left: 100%;
}

.whatsapp-checkout-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-checkout-btn:disabled {
    background: linear-gradient(135deg, #9CA3AF 0%, #6B7280 100%);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.whatsapp-checkout-btn svg {
    animation: whatsappPulse 2s infinite;
}

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

/* ==========================================
   Footer
   ========================================== */
.site-footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-drawer {
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   WooCommerce Styles
   ========================================== */
.woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.woocommerce-products-header {
    text-align: center;
    margin-bottom: 2rem;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.woocommerce ul.products li.product {
    background: var(--text-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.woocommerce ul.products li.product .button {
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 8px;
}

.woocommerce ul.products li.product .button:hover {
    background: #B71C1C;
}

/* ==========================================
   Utility Classes
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

.slide-up {
    animation: slideUp 0.5s ease;
}

.scale-in {
    animation: scaleIn 0.5s ease;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================
   WooCommerce Cart Page
   ========================================== */
.cart-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.cart-items-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.woocommerce-cart-form table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.woocommerce-cart-form thead th {
    background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
    color: white;
    padding: 1.2rem;
    font-weight: 700;
    text-align: left;
    border-radius: 10px 10px 0 0;
}

.woocommerce-cart-form tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.woocommerce-cart-form tbody tr:hover {
    background: var(--light-bg);
}

.woocommerce-cart-form td {
    padding: 1.5rem 1.2rem;
    vertical-align: middle;
}

.woocommerce-cart-form .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.woocommerce-cart-form .product-name a {
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.woocommerce-cart-form .product-remove a {
    color: var(--spicy-red);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
}

.woocommerce-cart-form .product-remove a:hover {
    background: var(--spicy-red);
    color: white;
    transform: rotate(90deg);
}

.woocommerce-cart-form .quantity input {
    width: 70px;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.woocommerce-cart-form .quantity input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.woocommerce-cart-form .product-price,
.woocommerce-cart-form .product-subtotal {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.woocommerce-cart-form .actions {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.woocommerce-cart-form .coupon {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.woocommerce-cart-form .coupon input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
}

.woocommerce-cart-form .coupon input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.woocommerce-cart-form .button {
    background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.woocommerce-cart-form .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.cart-collaterals {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.cart_totals h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.cart_totals tr {
    border-bottom: 1px solid var(--border-color);
}

.cart_totals td,
.cart_totals th {
    padding: 1rem 0;
    text-align: right;
}

.cart_totals th {
    text-align: left;
    font-weight: 600;
    color: var(--text-gray);
}

.cart_totals .order-total td,
.cart_totals .order-total th {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    padding-top: 1.5rem;
}

.cart_totals .wc-proceed-to-checkout {
    margin-top: 2rem;
}

.cart_totals .checkout-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.cart_totals .checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* ==========================================
   WooCommerce Checkout Page
   ========================================== */
.woocommerce-checkout {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.woocommerce-checkout h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.woocommerce-checkout .form-row {
    margin-bottom: 1.5rem;
}

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.woocommerce-checkout #order_review {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.woocommerce-checkout #order_review table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-checkout #order_review thead th {
    background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
    color: white;
    padding: 1rem;
    font-weight: 700;
    text-align: left;
    border-radius: 10px 10px 0 0;
}

.woocommerce-checkout #order_review tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.woocommerce-checkout #order_review td {
    padding: 1rem;
}

.woocommerce-checkout #order_review .cart-subtotal th,
.woocommerce-checkout #order_review .cart-subtotal td,
.woocommerce-checkout #order_review .order-total th,
.woocommerce-checkout #order_review .order-total td {
    font-weight: 700;
    font-size: 1.1rem;
}

.woocommerce-checkout #order_review .order-total td,
.woocommerce-checkout #order_review .order-total th {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.woocommerce-checkout .place-order {
    margin-top: 2rem;
}

.woocommerce-checkout .button {
    width: 100%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.woocommerce-checkout .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* ==========================================
   Shop Page
   ========================================== */
.shop-page {
    padding: 3rem 2rem;
}

.shop-page .container {
    max-width: 1200px;
    margin: 0 auto;
}

.woocommerce-products-header {
    text-align: center;
    margin-bottom: 3rem;
}

.woocommerce-products-header__title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.woocommerce-products-header .term-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid-wrapper {
    margin-top: 2rem;
}

.woocommerce-result-count {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.woocommerce-ordering {
    margin-bottom: 1.5rem;
}

.woocommerce-ordering select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.woocommerce-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    padding: 0.75rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.woocommerce-pagination a:hover,
.woocommerce-pagination span.current {
    background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
    color: white;
    border-color: var(--primary-color);
}

/* ==========================================
   Single Product Page
   ========================================== */
.single-product-wrapper {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.single-product-wrapper .product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.single-product-wrapper .woocommerce-product-gallery {
    position: relative;
}

.single-product-wrapper .woocommerce-product-gallery img {
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.single-product-wrapper .summary {
    display: flex;
    flex-direction: column;
}

.single-product-wrapper .product_title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.single-product-wrapper .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.single-product-wrapper .woocommerce-product-details__short-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.single-product-wrapper .quantity {
    margin-bottom: 2rem;
}

.single-product-wrapper .quantity input {
    width: 100px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.single-product-wrapper .single_add_to_cart_button {
    background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(211, 47, 47, 0.3);
    width: fit-content;
}

.single-product-wrapper .single_add_to_cart_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(211, 47, 47, 0.4);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .cart-page-wrapper {
        grid-template-columns: 1fr;
    }

    .cart-collaterals {
        order: -1;
    }

    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
    }

    .single-product-wrapper .product {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .product-card {
        border-radius: 16px;
    }

    .product-image-wrapper {
        height: 220px;
    }

    .cart-drawer {
        max-width: 100%;
    }

    .cart-page-wrapper {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .cart-items-section {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .woocommerce-cart-form thead th,
    .woocommerce-cart-form td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .woocommerce-cart-form .product-thumbnail img {
        width: 60px;
        height: 60px;
    }

    .woocommerce-cart-form .coupon {
        flex-direction: column;
    }

    .woocommerce-cart-form .coupon input {
        width: 100%;
    }

    .cart-collaterals {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .woocommerce-checkout {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .woocommerce-checkout .col-1,
    .woocommerce-checkout .col-2,
    .woocommerce-checkout #order_review {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .shop-page {
        padding: 2rem 1rem;
    }

    .woocommerce-products-header__title {
        font-size: 2rem;
    }

    .single-product-wrapper {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .single-product-wrapper .product {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .single-product-wrapper .product_title {
        font-size: 1.8rem;
    }

    .single-product-wrapper .price {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
   }

    .hero-buttons {
        flex-direction: column;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image-wrapper {
        height: 200px;
    }

    .woocommerce-cart-form table.shop_table {
        font-size: 0.85rem;
    }

    .woocommerce-cart-form .product-thumbnail img {
        width: 50px;
        height: 50px;
    }

    .woocommerce-cart-form .quantity input {
        width: 50px;
        padding: 0.5rem;
    }

    .cart_totals .order-total td,
    .cart_totals .order-total th {
        font-size: 1.1rem;
    }

    .woocommerce-checkout #order_review thead th,
    .woocommerce-checkout #order_review td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .woocommerce-pagination a,
    .woocommerce-pagination span {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
