/* ============================================
   DESIGN SYSTEM & VARIABLES
   ============================================ */
:root {
    /* Colors */
    --primary: #ff4e33;
    --primary-dark: #E63D24;
    --primary-light: #FF6B52;
    --secondary: #1A1F36;
    --accent: #FFC933;
    --dark: #0F1419;
    --mid-dark: #1A1F36;
    --light-bg: #F8F9FA;
    --text-primary: #0F1419;
    --text-secondary: #6B7280;
    --text-light: #FFFFFF;
    --border: #E5E7EB;
    --success: #10B981;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-primary: 'Barlow', sans-serif;
    --font-display: 'Anton', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* --- NEW BRAND LOGO SYSTEM --- */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.logo-monogram-svg {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-family: 'Anton', sans-serif;
    font-size: 22px;
    line-height: 1;
    color: #1f2937; /* Navy Charcoal */
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.brand-tagline {
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    line-height: 1;
    color: #FF4E33; /* Gym Class Red */
    font-weight: 800;
    letter-spacing: 3px; /* The "Premium" wide-spacing look */
    text-transform: uppercase;
    margin-top: 4px;
}

/* Responsive: Hide tagline on very small phones if needed */
@media (max-width: 380px) {
    .brand-tagline { font-size: 8px; letter-spacing: 2px; }
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
}

/* ============================================
   LAYOUT
   ============================================ */
/* Container - Add side padding */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px; /* Add left and right padding */
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px; /* Slightly less on tablets */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px; /* Even less on mobile */
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 1px;
    color: var(--primary);
}

.logo-icon {
    font-size: 32px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    transition: var(--transition-base);
    position: relative;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    transition: var(--transition-base);
}

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

.cart-count {
position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary); /* Your Gym Class Red */
    color: white;
    font-size: 11px;
    font-weight: 900;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

/* This class will be added by JS when items > 0 */
.cart-badge.active {
    display: flex;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 128px;
    overflow: hidden;
    color: white;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    filter: brightness(0.5); /* Fades the image color slightly */
    transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 0.6; /* Prevents the image from being 100% bright */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Stronger gradient on the left where text sits */
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.3) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    animation: heroFadeIn 1s ease-out;
}

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

.hero-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 78, 51, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 96px);
    line-height: 1;
    letter-spacing: 2px;
    color: white;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    gap: var(--space-3xl);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

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

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

.btn-secondary {
    background: transparent;
    color: rgb(223, 24, 24);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-large {
    padding: 20px 48px;
    font-size: 16px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 13px;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    background: var(--light-bg);
    padding: var(--space-3xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    text-align: center;
    padding: var(--space-xl);
    background: white;
    border-radius: 8px;
    transition: var(--transition-base);
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: var(--space-md);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 56px);
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.section-cta {
    text-align: center;
    margin-top: var(--space-3xl);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px; /* Add space above products */
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-base);
    border: 1px solid var(--border);
}

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

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--light-bg);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.product-badge.new {
    background: var(--accent);
    color: var(--dark);
}

.product-badge.sale {
    background: var(--success);
}

.nutrition-label-btn {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--dark);
    border: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-base);
    border-radius: 4px;
}

.nutrition-label-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.product-content {
    padding: var(--space-lg);
}

.product-brand {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
}

.product-name {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.product-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.product-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.product-meta {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-md);
}

.meta-item {
    flex: 1;
}

.meta-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.meta-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.product-price {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 1px;
    color: var(--primary);
}

.stock-status {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-status.in-stock {
    color: var(--success);
}

.stock-status.low-stock {
    color: var(--accent);
}

.stock-status.out-stock {
    color: var(--text-secondary);
}

.add-to-cart-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: var(--transition-base);
}

.add-to-cart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.add-to-cart-btn:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.5;
}

.add-to-cart-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.category-card {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-base);
}

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

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

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

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
}

.category-title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
}

.category-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background: white;
    padding: var(--space-xl);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 20px;
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: white;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 56px);
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 18px;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

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

.footer-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

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

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ============================================
   SHOPPING CART
   ============================================ */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 200;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.cart-modal.active {
    display: flex;
    opacity: 1;
}

.cart-sidebar {
    background: white;
    width: 100%;
    max-width: 480px;
    height: 100%;
    overflow-y: auto;
    padding: var(--space-xl);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-modal.active .cart-sidebar {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 2px solid var(--border);
}

.cart-title {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 1px;
    color: var(--primary);
}

.modal-close {
    background: transparent;
    color: var(--text-secondary);
    font-size: 32px;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

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

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

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

.cart-item-brand {
    font-size: 11px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.cart-item-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: var(--space-xs);
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
    margin-bottom: var(--space-sm);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.qty-btn {
    background: var(--light-bg);
    border: 1px solid var(--border);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    border-radius: 4px;
    transition: var(--transition-base);
}

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

.qty-display {
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

.remove-btn {
    background: transparent;
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    transition: var(--transition-base);
}

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

.cart-empty {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    color: var(--text-secondary);
}

.cart-empty-icon {
    font-size: 64px;
    margin-bottom: var(--space-md);
    opacity: 0.3;
}

.cart-summary {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--light-bg);
    border-radius: 8px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--border);
}

.cart-total-label {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-total-amount {
    font-family: var(--font-display);
    font-size: 36px;
    letter-spacing: 1px;
    color: var(--primary);
}

/* Find .checkout-btn around Line 780 and REPLACE with this: */
.checkout-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary); /* Your brand red */
    color: white;
    font-family: var(--font-display); /* The bold 'Anton' font */
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 0 var(--primary-dark); /* Adds a 3D 'pressed' look */
}

.checkout-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #b32d1a; /* Darker shade for hover */
}

.checkout-btn:active {
    transform: translateY(2px);
    box-shadow: 0 0 0 transparent; /* flattens when clicked */
}

/* Checkout Form */
.checkout-form {
    display: none;
}

.checkout-form.active {
    display: block;
}

.checkout-title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

.test-mode-alert {
    background: rgba(255, 201, 51, 0.1);
    border: 1px solid var(--accent);
    padding: var(--space-md);
    border-radius: 4px;
    margin-bottom: var(--space-lg);
}

.test-mode-title {
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-xs);
}

.test-mode-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.test-mode-text a {
    color: var(--primary);
    text-decoration: underline;
}

.whatsapp-config {
    display: none;
    background: rgba(255, 78, 51, 0.05);
    border: 1px solid var(--primary);
    padding: var(--space-md);
    border-radius: 4px;
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 14px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 14px;
    border-radius: 4px;
    transition: var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 78, 51, 0.1);
}

.form-input::placeholder {
    color: var(--text-secondary);
}

textarea.form-input {
    min-height: 100px;
    resize: vertical;
}

.form-hint {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.form-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
}

.success-message.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto var(--space-lg);
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 1px;
    color: var(--success);
    margin-bottom: var(--space-md);
}

.success-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .cart-sidebar {
        max-width: 100%;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .qty-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ============================================
   FORM VALIDATION
   ============================================ */
.form-input.error {
    border-color: var(--primary);
    background: rgba(255, 78, 51, 0.05);
}

.field-error {
    color: var(--primary);
    font-size: 13px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.field-error::before {
    content: '⚠';
    font-size: 14px;
}
/* ============================================
   PRODUCT DETAIL PAGE & STICKY BUTTON
   ============================================ */
.sticky-mobile-cart {
    display: none;
}

@media (max-width: 768px) {
    .sticky-mobile-cart {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 15px 20px;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        display: flex;
        gap: 10px;
        align-items: center;
    }
    
    .sticky-mobile-cart .btn {
        margin: 0;
        flex: 1;
    }

    /* Add space at bottom of page so content isn't hidden by sticky button */
    #productDetailView {
        padding-bottom: 100px;
    }
}

/* Base Utility Classes */
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: white;
    padding: var(--space-md) var(--space-xl);
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 90%;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.toast.show {
    bottom: var(--space-xl);
}

.toast-success {
    background: var(--success);
}

.toast-error {
    background: var(--primary);
}

.toast-info {
    background: #3B82F6;
}

/* Content Tags */
.content-type-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 78, 51, 0.1);
    color: var(--primary);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

/* ============================================
   LOADING STATES
   ============================================ */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================
   CART BADGE ANIMATION
   ============================================ */
.cart-count.bounce {
    animation: cartBounce 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

/* ============================================
   WHATSAPP FALLBACK MODAL
   ============================================ */
.whatsapp-fallback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.whatsapp-fallback-content {
    background: white;
    padding: var(--space-xl);
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.4s ease-out;
}

.whatsapp-fallback-content h3 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.whatsapp-fallback-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

/* ============================================
   IMPROVED TOUCH TARGETS
   ============================================ */
.qty-btn {
    background: var(--light-bg);
    border: 1px solid var(--border);
    width: 32px;
    height: 32px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    border-radius: 4px;
    transition: var(--transition-base);
    cursor: pointer;
}

/* ============================================
   FOCUS VISIBLE (Accessibility)
   ============================================ */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================
   IMPROVED MODAL HEIGHT (Mobile Safari)
   ============================================ */
.cart-modal {
    height: 100vh;
    height: 100dvh;
}

.cart-sidebar {
    height: 100vh;
    height: 100dvh;
    max-height: -webkit-fill-available;
}

/* ============================================
   SHOP PAGE
   ============================================ */
.page-header {
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    background: linear-gradient(135deg, var(--dark) 0%, var(--mid-dark) 100%);
    text-align: center;
    color: white;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 8vw, 64px);
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.8;
}

/* Shop Section - Specific padding */
.shop-section .container {
    padding-left: 24px;
    padding-right: 24px;
}

.shop-section .products-grid {
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 768px) {
    .shop-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .shop-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}


.shop-filters {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: var(--transition-base);
}

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

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

/* Nutrition Modal */
.nutrition-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 20px;
    overflow-y: auto;
}

.nutrition-modal.active {
    display: flex;
}

.nutrition-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    position: relative;
    padding: 24px;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    z-index: 10;
}

.modal-close:hover {
    background: #E63E24;
    transform: rotate(90deg);
}

/* Nutrition Facts Label */
.nutrition-facts {
    border: 2px solid #000;
    font-family: 'Arial', 'Helvetica', sans-serif;
    background: white;
    padding: 16px;
    margin: 0 auto;
    max-width: 100%;
    color: #000;
}

.nutrition-facts h3 {
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 8px 0;
    line-height: 1.2;
    color: #000;
}

.nutrition-facts p {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.4;
    color: #000;
}

.nutrition-facts hr {
    margin: 4px 0;
    border: none;
    border-top: 1px solid #000;
}

.nutrition-facts .serving-size {
    font-weight: 700;
}

.nutrition-facts .calories {
    font-size: 18px;
    font-weight: 700;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .nutrition-modal-content {
        padding: 16px;
        max-height: 85vh;
        max-height: 85dvh;
    }
    
    .nutrition-facts {
        padding: 16px;
        font-size: 15px;
    }
    
    .nutrition-facts h3 {
        font-size: 28px;
    }
    
    .nutrition-facts p {
        font-size: 15px;
        margin: 6px 0;
    }
}

@media (max-width: 480px) {
    .nutrition-modal {
        padding: 12px;
    }
    
    .nutrition-modal-content {
        padding: 12px;
        border-radius: 8px;
    }
    
    .nutrition-facts {
        padding: 12px;
        border-width: 1px;
    }
    
    .nutrition-facts h3 {
        font-size: 24px;
    }
}

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

/* ===================================
   ADD THIS TO THE END OF styles.css
   =================================== */

/* Skip Navigation Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #FF4E33;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 700;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* Shipping Banner */
.shipping-banner {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 101;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.shipping-banner a {
    color: var(--accent);
    text-decoration: underline;
    margin-left: 8px;
}

.shipping-banner strong {
    font-weight: 800;
}

@media (max-width: 768px) {
    .shipping-banner {
        font-size: 12px;
        padding: 10px 16px;
    }
}

/* Form Validation Errors */
.form-input.error {
    border-color: #FF4E33;
    background: rgba(255, 78, 51, 0.05);
}

.field-error {
    color: #FF4E33;
    font-size: 13px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.field-error::before {
    content: '⚠';
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #0F1419;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 10000;
    transition: bottom 0.3s ease;
    max-width: 90%;
    text-align: center;
    font-weight: 600;
}

.toast.show {
    bottom: 32px;
}

.toast-success {
    background: #10B981;
}

.toast-error {
    background: #FF4E33;
}

.toast-info {
    background: #3B82F6;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* WhatsApp Fallback Modal */
.whatsapp-fallback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.whatsapp-fallback-content {
    background: white;
    padding: 32px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.whatsapp-fallback-content h3 {
    font-family: 'Anton', sans-serif;
    font-size: 28px;
    color: #FF4E33;
    margin-bottom: 16px;
}

/* Loading Skeleton Screens */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Improved Touch Targets for Mobile */
@media (max-width: 768px) {
    .qty-btn,
    .cart-btn,
    .btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Better Focus Styles (Accessibility) */
*:focus-visible {
    outline: 2px solid #FF4E33;
    outline-offset: 2px;
}

/* Cart Badge Animation */
.cart-count.bounce {
    animation: cartBounce 0.4s ease;
}

@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}
/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.08);
}

.badge-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.badge-text strong {
    font-size: 13px;
    color: white;
    font-weight: 700;
}

.badge-text span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 480px) {
    .trust-badges {
        grid-template-columns: 1fr;
    }
}
/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: white;
    padding: 16px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.floating-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.whatsapp-text {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 80px; /* Above mobile nav */
        right: 16px;
        padding: 14px 18px;
    }
    
    .whatsapp-text {
        display: none; /* Icon only on mobile */
    }
    
    .floating-whatsapp {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
}
/* Shop Controls - With Proper Spacing */
.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px; /* Add space below */
    padding-bottom: 20px; /* Add padding below */
    border-bottom: 1px solid #E5E7EB; /* Optional: visual separator */
    flex-wrap: wrap;
}

.shop-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.sort-label {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.sort-select {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: white;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-base);
}

.sort-select:hover {
    border-color: var(--primary);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 78, 51, 0.1);
}

@media (max-width: 768px) {
    .shop-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .shop-filters {
        order: 2;
    }
    
    .shop-sort {
        order: 1;
        width: 100%;
    }
}
/* No Results Message */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-results h3 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.no-results p {
    color: var(--text-secondary);
    font-size: 16px;
}
/* ============================================
   IMAGE ZOOM FEATURE
   ============================================ */

/* Zoom Indicator on Product Cards */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: var(--transition-base);
}

.product-image-wrapper:hover {
    transform: scale(1.02);
}

.zoom-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-image-wrapper:hover .zoom-indicator {
    opacity: 1;
}

/* Image Zoom Modal */
.image-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-zoom-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-zoom-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-zoom-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pinch-zoom-wrapper {
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.pinch-zoom-wrapper .zoomed-image {
    transition: transform 0.3s ease;
    touch-action: pan-x pan-y pinch-zoom;
    transform-origin: center center;
}

.zoomed-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: imageZoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes imageZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.zoom-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg) scale(1.1);
}

.zoom-product-name {
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    max-width: 600px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.zoom-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-align: center;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .zoom-indicator {
        width: 32px;
        height: 32px;
        font-size: 14px;
        opacity: 1; /* Always visible on mobile */
    }
    
    .image-zoom-container {
        padding: 20px 10px;
    }
    
    .zoomed-image {
        max-height: 70vh;
    }
    
    .zoom-close {
        width: 44px;
        height: 44px;
        top: 16px;
        right: 16px;
        font-size: 24px;
    }
    
    .zoom-product-name {
        font-size: 18px;
        padding: 0 16px;
    }
    
    .zoom-hint::after {
        content: ' • Pinch to zoom';
    }
}

@media (max-width: 480px) {
    .zoomed-image {
        max-height: 60vh;
        border-radius: 8px;
    }
    
    .zoom-hint {
        font-size: 12px;
    }
}

/* Prevent scrolling when modal is open */
body.zoom-open {
    overflow: hidden;
}
/* Contact Email Links */
.contact-email {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    word-break: break-all; /* Prevents long emails from breaking layout */
}

.contact-email:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.contact-card-text {
    line-height: 1.8; /* Better spacing between email lines */
}

.contact-card-text br {
    margin-bottom: 8px;
}