/*
Galande Snacks - ENHANCED STYLESHEET V2
Theme: "Fun, Vibrant, Snackable" (Applied Everywhere!)
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800;900&family=Quicksand:wght@500;700&display=swap');

/* --- Root Variables --- */
:root {
    /* Colors */
    --primary-color: #FFD600; /* Vibrant Snack Yellow */
    --primary-dark: #FCA311;  /* Burnt Orange */
    --secondary-color: #E63946; /* Bold Red */
    --accent-color: #457B9D;    /* Cool Blue */
    --text-primary: #1D3557;    /* Dark Blue */
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --bg-white: #FFFFFF;
    --bg-light: #F1FAEE;      /* Light Mint/Cream */
    --bg-lighter: #f8f9fa;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --error-color: #f56565;
    
    /* Typography */
    --font-primary: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(29, 53, 87, 0.15), 0 10px 10px -5px rgba(29, 53, 87, 0.08);

    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Base & Typography --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    font-weight: 500;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}
h1 { font-size: 3rem; font-weight: 900; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: var(--space-md); color: var(--text-secondary); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-bounce);
    text-transform: uppercase;
}
.btn-primary {
    background: var(--primary-color);
    color: var(--text-primary);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 0 var(--primary-dark);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--bg-white);
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--primary-dark);
}
.btn-primary:disabled {
    background: #ccc;
    color: #888;
    border-color: #999;
    box-shadow: 0 4px 0 #999;
    cursor: not-allowed;
    transform: none;
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}
.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
}
/* --- Updated CSS for Image Logo --- */

/* This removes the old text styles and ensures the link sizes to the image */
.nav-logo {
    font-size: 0; /* Prevents font-size from creating extra space */
    font-weight: normal;
    line-height: 1;
}

.nav-logo a {
    text-decoration: none;  
    color: inherit;
    display: inline-block; /* Makes the link wrap the image */
}

/* This styles your new logo image */
.nav-logo img {
    height: 90px;  /* Adjust this height as needed. 45px is a good start to match your 44px icon buttons. */
    width: 160px;   /* Maintains the logo's aspect ratio */
    display: block;
}

/* This rule is no longer needed if you replaced the text */
/*
.nav-logo .logo-accent {  
    color: var(--secondary-color);  
}
*/


.nav-menu { display: flex; list-style: none; gap: var(--space-md); }
.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    font-size: 1rem;
}
.nav-link:hover, .nav-link.active {
    color: var(--secondary-color);
    background-color: var(--bg-light);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
}
.nav-actions { display: flex; align-items: center; gap: var(--space-sm); }
.search-btn, .cart-btn, .mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--text-primary);
}
.search-btn:hover, .cart-btn:hover {
    background: var(--bg-light);
    color: var(--secondary-color);
}
.cart-btn.active {
    background: var(--primary-color);
    color: var(--text-primary);
}
.cart-icon { position: relative; }
.cart-count {
    position: absolute;
    top: 0px;
    right: 0px;
    background: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
}
.mobile-menu-btn { display: none; flex-direction: column; gap: 4px; }
.mobile-menu-btn span { width: 22px; height: 3px; background: var(--text-primary); border-radius: 3px; transition: var(--transition-normal); }

/* --- Hero Section (Homepage) --- */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: '😋';
    position: absolute;
    font-size: 20rem;
    opacity: 0.7;
    right: -50px;
    bottom: -80px;
    transform: rotate(30deg);
    z-index: 1;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-text { animation: slideInUp 0.6s ease-out; }
@keyframes slideInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.hero-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    font-family: var(--font-heading);
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    text-shadow: 2px 2px 0px rgba(255,255,255,0.4);
}
.hero-description {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    font-weight: 500;
}
.hero-actions { display: flex; gap: var(--space-md); margin-bottom: var(--space-xl); }
.hero .btn-primary {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid #a31c25;
    box-shadow: 0 4px 0 #a31c25;
}
.hero .btn-primary:hover { background-color: #a31c25; box-shadow: 0 2px 0 #a31c25; }
.hero .btn-secondary {
    background-color: var(--bg-white);
    border-color: var(--text-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 0 var(--text-primary);
}
.hero .btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--text-primary);
}
.hero-trust { display: flex; gap: var(--space-xl); }
.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 700;
}
.trust-icon { color: var(--success-color); font-weight: bold; }
.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: rotate(3deg);
    transition: all var(--transition-normal);
    filter: brightness(80%);
}
.hero-image img:hover { transform: rotate(0deg) scale(1.05);  
                      filter: brightness(100%);
}

/* --- Section Headers --- */
.section-header { text-align: center; margin-bottom: var(--space-2xl); }
.section-header h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: var(--space-sm); }
.section-header p { font-size: 1.125rem; color: var(--text-muted); font-weight: 500; }
.page-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border-bottom: 4px solid var(--primary-color);
}
.page-header h1 { font-weight: 900; margin-bottom: var(--space-sm);}
.page-header p { font-size: 1.125rem; font-weight: 500; margin-bottom: 0; }

/* --- Product Card (Balaji Style) --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}
.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--border-color);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}
.product-image-wrapper {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
    border-bottom: 2px solid var(--border-color);
}
.snack-image {
    position: absolute;
    width: 80%;
    z-index: 1;
    transform: scale(0.5) translateY(50px);
    opacity: 0;
    transition: all var(--transition-bounce);
}
.packet-image {
    position: relative;
    z-index: 2;
    width: 60%;
    transition: all 0.3s ease-in-out;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.1));
}
.product-card:hover .packet-image {
    transform: translateY(-40px) scale(0.9);
    filter: drop-shadow(0 20px 15px rgba(0,0,0,0.15));
}
.product-card:hover .snack-image {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.product-badges {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    z-index: 3;
}
.product-badge {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
}
.product-badge.best-seller { background: var(--secondary-color); }
.product-badge.discount { background: var(--success-color); }
.product-badge.new { background: var(--accent-color); }
.product-info { padding: var(--space-lg); text-align: center; }
.product-info h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}
.product-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
    height: 40px;
    overflow: hidden;
}
.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}
.current-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}
.original-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.product-actions { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); }
.product-actions .btn-primary {
    background-color: var(--primary-color);
    color: var(--text-primary);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 0 var(--primary-dark);
}
.product-actions .btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white);
}
.product-actions .btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-md);
}
.product-actions .btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* --- Trust Badges (Sticker Style) --- */
.trust-badges { padding: var(--space-3xl) 0; background: var(--bg-white); }
.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}
.badge-item {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-bounce);
}
.badge-item:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: var(--shadow-lg);
}
.badge-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    display: inline-block;
    background: var(--primary-color);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    border: 4px solid var(--primary-dark);
    box-shadow: var(--shadow-md);
}
.badge-item h4 { margin-bottom: var(--space-md); font-weight: 800; }

/* --- Testimonials --- */
.testimonials { padding: var(--space-3xl) 0; background: var(--bg-light); }
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}
.testimonial-card {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    padding-top: 2.5rem;
    border: 2px solid var(--border-color);
}
.testimonial-card::before {
    content: '“';
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    top: -1rem;
    left: 1rem;
    line-height: 1;
    opacity: 0.8;
}
.testimonial-rating {
    color: var(--primary-dark);
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}
.testimonial-card p { font-style: italic; color: var(--text-primary); font-weight: 500; }
.testimonial-author { margin-top: var(--space-lg); font-weight: 700; }
.testimonial-author strong {
    display: block;
    margin-bottom: var(--space-xs);
    font-size: 1.125rem;
}
.testimonial-author span { color: var(--text-muted); font-size: 0.875rem; }

/* --- Footer --- */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--space-3xl) 0 var(--space-xl);
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}
.footer-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    color: var(--bg-white);
    margin-bottom: var(--space-lg);
}
.footer-logo .logo-accent { color: var(--primary-color); }
.footer-section p { color: #cbd5e0; }
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    font-weight: 800;
}
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: var(--space-sm); }
.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: 700;
}
.footer-section ul li a:hover { color: var(--primary-color); }
.social-links { display: flex; gap: var(--space-md); margin-top: var(--space-lg); }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-primary);
    border-radius: 50%;
    transition: all var(--transition-fast);
    font-size: 1.25rem;
}
.social-links a:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}
.contact-info p {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}
.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cbd5e0;
    font-size: 0.875rem;
    font-weight: 500;
}
.footer-links a { color: #cbd5e0; text-decoration: none; transition: color var(--transition-fast); font-weight: 700; }
.footer-links a:hover { color: white; }

/* --- Toast Notification --- */
.add-to-cart-toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    color: var(--text-primary);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease-in-out;
    border-left: 4px solid var(--success-color);
    max-width: 350px;
}
.toast-content { display: flex; align-items: center; gap: var(--space-md); }
.toast-icon {
    background: var(--success-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.toast-text { flex: 1; }
.toast-text strong {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-heading);
}
.toast-text p { margin: 0; font-size: 0.875rem; color: var(--text-muted); }
.toast-action {
    background: none;
    border: none;
    color: var(--accent-color);
    font-weight: 700;
    cursor: pointer;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
    font-family: var(--font-heading);
}
.toast-action:hover { background: var(--bg-light); }

/* --- Modal (Cart / Search) --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--space-md);
}
.modal.show { display: flex; }
.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}
.modal-header h3 { margin-bottom: 0; font-weight: 800; }
.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}
.close-modal:hover { color: var(--text-primary); }
.modal-body { padding: var(--space-lg); }
.modal-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
    margin-top: var(--space-lg);
}

/* ============================================== */
/* === NEW STYLES FOR SUB-PAGES ================= */
/* ============================================== */

/* --- Product Detail Page --- */
.product-detail { padding: 120px 0 80px; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 700;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-dark); }
.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}
.main-gallery-image {
    height: 500px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
}
.main-gallery-image .packet-image { width: 60%; }
.main-gallery-image .snack-image { width: 80%; }
.image-thumbnails { display: flex; gap: var(--space-md); }
.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color var(--transition-fast);
}
.thumbnail.active, .thumbnail:hover { border-color: var(--primary-color); }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: 2.5rem; font-weight: 900; }
.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}
.stars { color: var(--primary-dark); font-size: 1.25rem; }
.rating-text { color: var(--text-muted); font-size: 0.875rem; font-weight: 500; }
.product-price .current-price {
    font-size: 2.5rem;
    color: var(--secondary-color);
}
.product-price .original-price { font-size: 1.5rem; }
.add-to-cart { display: flex; gap: var(--space-md); margin-bottom: var(--space-xl); }
.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.quantity-btn {
    background: none;
    border: none;
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    font-size: 1.125rem;
    transition: background var(--transition-fast);
    font-weight: 700;
}
.quantity-btn:hover { background: var(--bg-light); }
.quantity-selector input {
    width: 60px;
    border: none;
    text-align: center;
    font-size: 1.125rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
}
.quantity-selector input:focus { outline: none; }

/* NEW: Product Trust (Sticker Style) */
.product-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}
.product-trust .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 700;
}
.product-trust .trust-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

/* NEW: Product Tabs (Button Style) */
.product-tabs { margin-bottom: var(--space-3xl); }
.tab-headers {
    display: flex;
    gap: var(--space-sm);
    border-bottom: 2px solid var(--border-color);
    margin-bottom: var(--space-xl);
}
.tab-header {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    padding: var(--space-md) var(--space-xl);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    margin-bottom: -2px;
}
.tab-header.active {
    background: var(--bg-white);
    border-color: var(--border-color);
    border-bottom-color: var(--bg-white);
    color: var(--secondary-color);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.nutrition-facts {
    background: var(--bg-light);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}
.reviews-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
    background: var(--bg-light);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}
.overall-rating { text-align: center; }
.rating-score {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
}
.stars-large {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: var(--space-sm) 0;
}
.rating-count { color: var(--text-muted); font-weight: 500; }
.reviews-list { display: flex; flex-direction: column; gap: var(--space-lg); }
.review-item {
    padding: var(--space-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

/* --- Cart Page --- */
.cart-page {
    padding: 120px 0 80px;
    background: var(--bg-light);
    min-height: 100vh;
}
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}
.cart-items-section {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 0;
    overflow: hidden;
}
.cart-items-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    text-align: left;
    padding: var(--space-xl);
    background: var(--bg-lighter);
    border-bottom: 1px solid var(--border-color);
}
.items-count {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 700;
}
.empty-cart {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--text-muted);
}
.empty-cart-icon { font-size: 4rem; margin-bottom: var(--space-lg); opacity: 0.5; }
.empty-cart h3 { margin-bottom: var(--space-md); color: var(--text-primary); }

/* NEW: Cart Item (Card Style) */
.cart-items-list {
    padding: var(--space-md) var(--space-xl);
}
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--border-color);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-light);
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.125rem;
    font-weight: 700;
}
.cart-item-price { color: var(--text-muted); margin-bottom: var(--space-md); font-weight: 500; }
.cart-item-actions { display: flex; gap: var(--space-md); }
.btn-remove {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0;
    text-decoration: underline;
    font-weight: 700;
}
.btn-remove:hover { color: var(--primary-dark); }
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    border: 1px solid var(--border-color);
}
.cart-item-quantity .quantity-btn { width: 30px; height: 30px; font-weight: 700; }
.quantity { font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-total {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    min-width: 80px;
    text-align: right;
    font-family: var(--font-heading);
}

/* NEW: Cart Trust Badges (Sticker Style) */
.cart-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    padding: var(--space-xl);
    border-top: 1px solid var(--border-color);
    background: var(--bg-lighter);
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}
.trust-icon { font-size: 1.5rem; }
.trust-text strong { font-size: 0.875rem; margin-bottom: 2px; font-weight: 700; }
.trust-text span { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

/* NEW: Order Summary (Punchy Style) */
.order-summary-section { position: sticky; top: 120px; }
.order-summary-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}
.order-summary-card h3 {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--border-color);
    font-weight: 800;
}
.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    padding: var(--space-sm) 0;
    font-weight: 700;
}
.summary-line span:first-child { color: var(--text-secondary); }
.discount-note {
    display: block;
    font-size: 0.75rem;
    color: var(--success-color);
    margin-top: 2px;
    font-weight: 500;
}
.summary-divider { height: 1px; background: var(--border-color); margin: var(--space-lg) 0; }
.total-line {
    font-size: 1.5rem; /* Bigger */
    padding-top: var(--space-md);
    border-top: 2px solid var(--border-color);
    color: var(--secondary-color); /* Red total */
    font-family: var(--font-heading);
    font-weight: 900;
}
.total-line strong {
    color: var(--secondary-color);
}
.shipping-progress {
    background: var(--bg-light);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
}
.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 700;
}
.progress-bar { height: 6px; background: var(--border-color); border-radius: 3px; overflow: hidden; }
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 3px;
    transition: width 0.5s ease-in-out;
    width: 0%;
}
.btn-full { width: 100%; justify-content: center; }
.payment-methods { text-align: center; margin-top: var(--space-xl); padding-top: var(--space-xl); border-top: 1px solid var(--border-color); }
.payment-methods p { margin-bottom: var(--space-md); font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }
.payment-icons { display: flex; justify-content: center; gap: var(--space-md); font-size: 1.5rem; }

/* --- About Page --- */
.about-page { padding: 120px 0 80px; }
.about-hero { margin-bottom: var(--space-3xl); }
.about-hero-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}
.founder-quote {
    margin-top: var(--space-xl);
    padding: var(--space-xl);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}
.founder-quote blockquote { font-style: italic; margin-bottom: var(--space-md); font-weight: 500; }
.founder-quote cite { font-weight: 700; color: var(--text-muted); }
.about-hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-hero-image img, .about-hero-image video { width: 100%; height: auto; display: block; }
.quality-badge { /* Deprecated in new layout */ }

/* NEW: About Page Values Grid */
.values-section { background: var(--bg-light); padding: var(--space-3xl) 0; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}
.value-card {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-bounce);
}
.value-card:hover { transform: translateY(-10px); }
.value-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    display: inline-block;
}
.value-card h3 { font-weight: 800; }
.value-card:nth-child(1) .value-icon { color: var(--success-color); }
.value-card:nth-child(2) .value-icon { color: var(--secondary-color); }
.value-card:nth-child(3) .value-icon { color: var(--accent-color); }
.value-card:nth-child(4) .value-icon { color: var(--primary-dark); }

/* NEW: About Page Process Steps */
.process-section { padding: var(--space-3xl) 0; }
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}
.process-step {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    background: var(--bg-light);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    position: relative;
}
.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 4px solid #a31c25;
}
.process-step h3 { font-weight: 800; margin-bottom: var(--space-sm); }
.process-step p { margin-bottom: 0; }

/* --- Contact Page --- */
.contact-page { padding: 120px 0 80px; }
.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}
.contact-form { display: flex; flex-direction: column; gap: var(--space-lg); }
.form-group { display: flex; flex-direction: column; }
.form-group label {
    margin-bottom: var(--space-sm);
    font-weight: 700;
    font-family: var(--font-heading);
}
.form-group input, .form-group select, .form-group textarea {
    padding: var(--space-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
    font-size: 1rem;
    font-weight: 500;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 4px rgba(255, 214, 0, 0.5);
}
.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: var(--space-xs);
    display: none;
    font-weight: 700;
}

/* NEW: Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}
.contact-item {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    background: var(--bg-light);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}
.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--bg-white);
}
.contact-item:nth-child(1) .contact-icon { background: var(--success-color); }
.contact-item:nth-child(2) .contact-icon { background: var(--accent-color); }
.contact-item:nth-child(3) .contact-icon { background: var(--secondary-color); }
.contact-item:nth-child(4) .contact-icon { background: var(--primary-dark); }
.contact-details h4 { margin-bottom: var(--space-sm); font-weight: 800; }
.contact-details p { margin-bottom: var(--space-sm); font-weight: 500; }
.contact-details p:last-child { margin-bottom: 0; }
.map-placeholder {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}
.map-fallback { text-align: center; color: var(--text-muted); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content,
    .product-detail-content,
    .about-hero-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--space-xl);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .mobile-menu-btn { display: flex; }
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
    .hero { padding: 100px 0 60px; }
    .hero-title { font-size: 2.5rem; }
    .hero-image { display: block; }  
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
    .product-trust { grid-template-columns: 1fr; }
    .reviews-summary { grid-template-columns: 1fr; text-align: center; }
    .process-step { flex-direction: column; text-align: center; }
    .cart-trust-badges { grid-template-columns: 1fr; }
}
/* === NEW CSS FOR DEVELOPER CREDIT === */
/* Add this to the bottom of your styles.css file */

.footer-developer {
    display: flex;
    align-items: center;
    gap: var(--space-sm); /* Uses your existing 0.5rem variable */
    font-size: 0.875rem;  /* Matches footer-bottom font-size */
    color: #cbd5e0;       /* Matches footer-bottom color */
    font-weight: 500;     /* Matches footer-bottom font-weight */
}

.footer-developer a {
    display: inline-flex;
    align-items: center;
    line-height: 1; /* Prevents extra spacing */
}

.footer-developer img {
    height: 120px; /* You can adjust this height */
    width: auto;
    margin-top: 4px;
    transition: opacity var(--transition-fast);
}

.footer-developer a:hover img {
    opacity: 0.8;
}

/* This ensures it centers on mobile, matching your existing responsive style */
@media (max-width: 768px) {
    .footer-developer {
        justify-content: center;
        order: 2; /* Ensures it stays in the middle */
    }
    
    .footer-bottom p {
        order: 1;
    }

    .footer-links {
        order: 3;
    }
}

/* === START: NEW WHATSAPP BUTTON STYLES === */
.whatsapp-float-btn {
    position: fixed;
    bottom: var(--space-xl); /* 2rem */
    right: var(--space-xl);  /* 2rem */
    z-index: 1001; /* Above navbar */
    
    background-color: #25D366; /* Official WhatsApp Green */
    color: var(--bg-white);
    
    width: 60px;
    height: 60px;
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-float-btn svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}
/* === END: NEW WHATSAPP BUTTON STYLES === */