/* =========================================
   SU-DHAAM WEBSITE STYLES
   Traditional Rajasthani Artisanal Food Products
   (Base styles moved to common.css)
   ========================================= */

/* Mobile-first responsive container */
@media (min-width: 600px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 960px) {
    .container {
        padding: 0 3rem;
    }
}

/* Section spacing */
section {
    padding: 3rem 0;
}

@media (min-width: 600px) {
    section {
        padding: 4rem 0;
    }
}

@media (min-width: 960px) {
    section {
        padding: 5rem 0;
    }
}

/* =========================================
   PAGE SPECIFIC NAVIGATION OVERRIDES
   ========================================= */

/* .nav-actions moved to common.css */

.cart-btn,
.whatsapp-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-brown);
    border-radius: var(--border-radius);
    background: var(--bg-paper);
    color: var(--primary-brown);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-btn:hover,
.cart-btn:focus,
.whatsapp-btn:hover,
.whatsapp-btn:focus {
    background: var(--primary-brown);
    color: white;
}

.cart-count {
    background: var(--secondary-clay);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* ========================================= 
   HERO SECTION 
   ========================================= */

.hero {
    background: linear-gradient(135deg, var(--bg-cream), var(--secondary-light));
    padding: 2rem 0;
    overflow: hidden;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.hero-carousel {
    position: relative;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

@media (min-width: 600px) {
    .hero-carousel {
        height: 500px;
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-paper);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-elevated);
    opacity: 0;
    transform: translateX(100%);
    transition: all var(--transition-smooth);
    padding: 2rem;
    text-align: center;
}

@media (min-width: 600px) {
    .hero-slide {
        flex-direction: row;
        text-align: left;
        padding: 3rem;
    }
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-title {
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

@media (min-width: 600px) {
    .hero-image {
        margin-top: 0;
        margin-left: 2rem;
    }
}

/* Product images - In production, replace placeholder URLs with:
   - High-quality product photography (min 800x800px)
   - WebP format for better performance
   - Alt text for accessibility
   - Lazy loading implementation already in place */
.placeholder-image {
    background: var(--secondary-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    font-size: 3rem;
    color: var(--primary-brown);
    text-align: center;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image.large {
    width: 300px;
    height: 300px;
    font-size: 4rem;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-btn {
    background: rgba(139, 69, 19, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    pointer-events: auto;
}

.carousel-btn:hover,
.carousel-btn:focus {
    background: var(--primary-brown);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-light);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.indicator.active {
    background: var(--primary-brown);
    transform: scale(1.2);
}

/* ========================================= 
   BUTTONS & INTERACTIVE ELEMENTS 
   ========================================= */

.cta-btn {
    background: var(--primary-brown);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-block;
    text-decoration: none;
}

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

.cta-btn-secondary {
    background: transparent;
    color: var(--primary-brown);
    border: 2px solid var(--primary-brown);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-block;
    text-decoration: none;
}

.cta-btn-secondary:hover,
.cta-btn-secondary:focus {
    background: var(--primary-brown);
    color: white;
}

/* ========================================= 
   PRODUCTS SECTION 
   ========================================= */

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

.section-title {
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-paper);
    color: var(--text-primary);
    border: 2px solid var(--secondary-light);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Product card styles */
.product-card {
    background: var(--bg-paper);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    transition: all var(--transition-smooth);
    position: relative;
}

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

.product-card-image {
    position: relative;
    height: 200px;
    background: var(--secondary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-brown);
    overflow: hidden;
}

.product-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-brown);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
}

.product-card-badge.out-of-stock {
    background: #d32f2f;
}

.product-card-content {
    padding: 1.5rem;
}

.product-category {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-name {
    color: var(--primary-brown);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-features {
    list-style: none;
    margin-bottom: 1rem;
}

.product-features li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.product-features li:before {
    content: "✓";
    color: var(--secondary-clay);
    font-weight: bold;
    margin-right: 0.5rem;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-price {
    color: var(--primary-brown);
    font-size: 1.2rem;
    font-weight: bold;
}

.product-original-price {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: line-through;
}

.product-weight {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-left: auto;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.add-to-cart-btn {
    flex: 1;
    background: var(--primary-brown);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.add-to-cart-btn:hover:not(:disabled) {
    background: var(--primary-dark);
}

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

.quick-view-btn {
    background: var(--bg-cream);
    color: var(--primary-brown);
    border: 2px solid var(--primary-brown);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-view-btn:hover {
    background: var(--primary-brown);
    color: white;
}

/* ========================================= 
   HERITAGE SECTION 
   ========================================= */

.heritage {
    background: var(--bg-paper);
}

.heritage-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 960px) {
    .heritage-content {
        grid-template-columns: 1fr 1fr;
    }
}

.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-prop {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-cream);
    border-radius: var(--border-radius);
}

.value-prop h3 {
    color: var(--primary-brown);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.value-prop p {
    color: var(--text-secondary);
    margin: 0;
}

/* Heritage placeholder styling */
.heritage-placeholder {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    text-align: center;
    margin: var(--spacing-lg) 0;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.heritage-placeholder p {
    margin: 0;
    font-style: italic;
    opacity: 0.9;
}

/* ========================================= 
   TESTIMONIALS SECTION 
   ========================================= */

.testimonials {
    background: var(--bg-cream);
}

.testimonial-carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-grid {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    min-height: 200px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-paper);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    text-align: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all var(--transition-smooth);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.testimonial-card cite {
    color: var(--text-secondary);
    font-weight: 500;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.testimonial-btn {
    background: var(--primary-brown);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover,
.testimonial-btn:focus {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.testimonial-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--secondary-light);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonial-indicator.active,
.testimonial-indicator:hover {
    background: var(--primary-brown);
    transform: scale(1.2);
}

/* ========================================= 
   CONTACT SECTION 
   ========================================= */

.contact {
    background: var(--bg-paper);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 960px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item h3 {
    color: var(--primary-brown);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-primary);
}

.contact-item address {
    font-style: normal;
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    background: var(--bg-cream);
    padding: 2rem;
    border-radius: var(--border-radius);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

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

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

.error-message {
    color: #d32f2f;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.submit-btn {
    background: var(--primary-brown);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all var(--transition-fast);
}

.submit-btn:hover,
.submit-btn:focus {
    background: var(--primary-dark);
}

/* =========================================
   MODAL STYLES
   ========================================= */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

/* =========================================
   AUTHENTICATION FORMS
   ========================================= */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-form label {
    font-weight: 600;
    color: #333;
}

.auth-form input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

.auth-form input:invalid {
    border-color: #e74c3c;
}

.auth-form .btn {
    margin-top: 1rem;
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
    color: #666;
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* ========================================= 
   SHOPPING CART SIDEBAR 
   ========================================= */

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-paper);
    box-shadow: var(--shadow-elevated);
    z-index: 200;
    transition: right var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--secondary-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.cart-total {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.checkout-btn {
    background: var(--primary-brown);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    margin-bottom: 0.5rem;
    transition: all var(--transition-fast);
}

.checkout-btn:hover,
.checkout-btn:focus {
    background: var(--primary-dark);
}

.cart-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

@media (max-width: 450px) {
    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    color: white;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.cart-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.empty-cart-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-item-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

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

.quantity-btn {
    background: #f5f5f5;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

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

.remove-item {
    color: #e74c3c;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.cart-summary {
    margin-bottom: 1rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.cart-item-count {
    color: #666;
    font-size: 0.9rem;
}

.cart-actions {
    display: flex;
    gap: 0.5rem;
}

.cart-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 0.9rem;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================= 
   FOOTER 
   ========================================= */

.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--secondary-light);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-section a:hover,
.footer-section a:focus {
    opacity: 1;
    color: var(--secondary-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.875rem;
}

/* ========================================= 
   RESPONSIVE DESIGN 
   ========================================= */

/* Mobile-first approach - additional tablet/desktop styles */
@media (min-width: 600px) {
    .hero-slide {
        padding: 3rem;
    }
    
    .section-header {
        margin-bottom: 4rem;
    }
    
    .product-grid {
        gap: 2.5rem;
    }
}

@media (min-width: 960px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-carousel {
        height: 600px;
    }
    
    .value-props {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================= 
   UTILITY CLASSES 
   ========================================= */

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

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

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

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

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

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -10px, 0);
    }
    70% {
        transform: translate3d(0, -5px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

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

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-2px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(2px);
    }
}

/* Animation utility classes */
.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-slideIn {
    animation: slideIn 0.5s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.5s ease-out;
}

.animate-bounce {
    animation: bounce 1s ease-in-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-shake {
    animation: shake 0.5s ease-in-out;
}

/* Proper focus indicators for better accessibility */
*:focus {
    outline: 2px solid var(--primary-brown);
    outline-offset: 2px;
}

/* Custom focus styles for specific elements */
.nav-link:focus,
.cta-btn:focus,
.cta-btn-secondary:focus,
.filter-btn:focus,
.cart-btn:focus,
.whatsapp-btn:focus,
.submit-btn:focus,
.checkout-btn:focus,
.add-to-cart-btn:focus,
.quick-view-btn:focus {
    outline: 3px solid var(--primary-brown);
    outline-offset: 2px;
    border-radius: var(--border-radius);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary-brown);
    outline-offset: 1px;
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.carousel-btn:focus,
.indicator:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    *:focus {
        outline: 3px solid;
        outline-offset: 2px;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========================================= 
   PRINT STYLES 
   ========================================= */

@media print {
    .nav-actions,
    .cart-sidebar,
    .carousel-controls,
    .carousel-indicators {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero-slide {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ========================================= 
   TOAST NOTIFICATIONS 
   ========================================= */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

@media (max-width: 480px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

.toast {
    background: var(--bg-paper);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-elevated);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transform: translateX(100%);
    opacity: 0;
    transition: all var(--transition-smooth);
    border-left: 4px solid var(--primary-brown);
    min-height: 60px;
}

.toast.toast-show {
    transform: translateX(0);
    opacity: 1;
}

.toast.toast-hide {
    transform: translateX(100%);
    opacity: 0;
}

.toast.toast-success {
    border-left-color: #4caf50;
}

.toast.toast-error {
    border-left-color: #f44336;
}

.toast.toast-warning {
    border-left-color: #ff9800;
}

.toast.toast-info {
    border-left-color: var(--primary-brown);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-message {
    color: var(--text-primary);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.toast-close:hover,
.toast-close:focus {
    background: var(--secondary-light);
    color: var (--text-primary);
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1010;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid #4CAF50;
}

.toast.error {
    border-left: 4px solid #e74c3c;
}

.toast.warning {
    border-left: 4px solid #ff9800;
}

.toast.info {
    border-left: 4px solid #2196F3;
}

.toast-icon {
    font-size: 1.2rem;
}

.toast-message {
    flex: 1;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 16px;
    padding: 0;
}

@media (max-width: 450px) {
    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
    }
}

/* ========================================= 
   BREADCRUMB NAVIGATION 
   ========================================= */

.breadcrumb {
    background: var(--bg-cream);
    padding: 1rem 0;
    border-bottom: 1px solid var(--secondary-light);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    margin: 0 0.5rem;
    color: var(--text-secondary);
}

.breadcrumb-list a {
    color: var(--primary-brown);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-list a:hover {
    color: var(--primary-dark);
}

.breadcrumb-list li[aria-current="page"] {
    color: var (--text-secondary);
    font-weight: 500;
}

/* ========================================= 
   SCROLL ANIMATIONS & MICRO-INTERACTIONS
   ========================================= */

/* Animation keyframes for micro-interactions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

/* Scroll-triggered animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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

/* Specific animation variants */
.product-card.animate-on-scroll {
    transform: translateY(30px) scale(0.95);
}

.product-card.animate-in {
    transform: translateY(0) scale(1);
    animation: fadeInUp 0.6s ease-out forwards;
}

.value-prop.animate-on-scroll {
    transform: translateX(-30px);
}

.value-prop.animate-in {
    transform: translateX(0);
    animation: fadeInLeft 0.6s ease-out forwards;
}

.testimonial-card.animate-on-scroll {
    transform: scale(0.8);
}

.testimonial-card.animate-in {
    transform: scale(1);
    animation: scaleIn 0.6s ease-out forwards;
}

/* Hover micro-interactions */
.product-card:hover {
    animation: pulse 0.6s ease-in-out;
}

.cta-btn:hover {
    animation: pulse 0.3s ease-in-out;
}

/* Loading animations */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 400% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-on-scroll {
        transition: none;
    }
}

/* Focus indicators for better accessibility */
:focus-visible {
    outline: 2px solid var(--primary-brown);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* High contrast mode support */

/* ========================================= 
   PAYMENT GATEWAY STYLES
   ========================================= */

/* Payment Gateways Section */
.payment-gateways {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.payment-gateways h4 {
    margin: 0 0 1.5rem 0;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.gateway-options {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gateway-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.gateway-option:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
}

.gateway-option input[type="radio"]:checked {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.gateway-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.gateway-logo {
    width: 48px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
}

.gateway-details strong {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    display: block;
}

.gateway-details p {
    color: #666;
    margin: 0;
    font-size: 0.85rem;
}

/* Payment Security Section */
.payment-security {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.security-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.security-badge {
    height: 32px;
    object-fit: contain;
}

.security-text {
    text-align: center;
    color: #28a745;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.security-text i {
    color: #28a745;
}

/* Payment Success Modal */
.payment-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.success-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    margin: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.success-content h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.order-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: left;
}

.order-details p {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.success-actions button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .payment-gateways {
        margin: 1rem -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .gateway-options {
        grid-template-columns: 1fr;
    }
    
    .security-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .success-content {
        margin: 1rem;
        padding: 2rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
}

/* Loading Overlay for Payment Processing */
.payment-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.payment-loading-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 300px;
}

.payment-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.payment-loading-text {
    color: var(--text-dark);
    font-weight: 600;
}