/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.95));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-header h2 {
    color: #2c5530;
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.popup-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0);
}

.popup-body p {
    margin-bottom: 15px;
    color: #34495e;
    font-size: 1.1em;
    line-height: 1.5;
}

.popup-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-confirm, .btn-deny {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-confirm {
    background: #000000;
    color: white;
}

.btn-confirm:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.btn-deny {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-deny:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* Newsletter Popup */
.newsletter-popup {
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #7f8c8d;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #e74c3c;
}

.newsletter-popup h3 {
    color: #2c5530;
    font-size: 1.8em;
    margin-bottom: 15px;
}

#newsletterForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#newsletterForm input {
    padding: 12px;
    border: 2px solid #bdc3c7;
    border-radius: 10px;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

#newsletterForm input:focus {
    border-color: #27ae60;
}

/* Top Banner */
.top-banner {
    background: #000000;
    color: white;
    text-align: center;
    padding: 5px 0;
    font-size: 0.75em;
    font-weight: 500;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
    letter-spacing: 0.5px;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    position: fixed;
    top: 26px; /* Account for banner height (5px padding * 2 + font height) */
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    height: 1.5rem;
}

/* Header when scrolled over light backgrounds */
.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header.scrolled .logo-image {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.95);
}

.header.scrolled .nav-link:hover {
    color: #2ecc71;
    text-shadow: 0 0 8px rgba(46, 204, 113, 0.4);
}

.header.scrolled .nav-link.active {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-image {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    margin-top: 10px;
}

.nav {
    display: none;
    gap: 50px;
    align-items: center;
}

.nav.mobile-open {
    display: flex;
    position: absolute;
    top: 1.3rem;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 99;
    border-radius: 0 0 15px 15px;
}

/* Navigation remains hidden by default on all screen sizes - only shown via hamburger menu */

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    right: 0;
}

.nav-link {
    color: #2c5530;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: #2ecc71;
    text-shadow: 0 0 8px rgba(46, 204, 113, 0.3);
}

.nav-link.active {
    color: #2c5530;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2ecc71, transparent);
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.4);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 60vh;
    padding: 80px 60px 30px; /* Reduced padding */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    gap: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.3);
    z-index: 2;
}

.hero-content {
    flex: 0 0 auto;
    padding-right: 0;
    z-index: 3;
    position: relative;
    max-width: 550px;
}

.hero-title {
    font-size: 4em;
    color: white;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3em;
    color: #ecf0f1;
    margin-bottom: 30px;
    line-height: 1.5;
}

.cta-button {
    background: #ffffff;
    color: #000000;
    padding: 18px 35px;
    border: 2px solid #000000;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    background: #f8f9fa;
    border-color: #000000;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: #2c5530;
    margin-bottom: 50px;
    font-weight: bold;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #000000;
}

.benefit-icon {
    font-size: 3em;
    margin-bottom: 15px;
    text-align: center;
}

.benefit-card h3 {
    color: #2c5530;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: bold;
}

.benefit-card p {
    color: #5d6d7e;
    line-height: 1.6;
}

/* About Kava Section */
.about-kava {
    padding: 80px 0;
    background: 
        linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(52, 73, 94, 0.8)),
        url('kava-jungle-bg.png') center/cover no-repeat;
    color: white;
    position: relative;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #2ecc71;
}

.about-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #ecf0f1;
}

/* Products Section */
.products-section {
    padding: 40px 0;
    background: #f8f9fa;
}

/* Product Filters */
.product-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.364);
    color: #000000;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(46, 204, 113, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

.filter-btn.active {
    background: #000000;
    color: white;
    border-color: #000000;
}

.filter-btn.active:hover {
    background: #333333;
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    z-index: 1;
}


.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #f8f9fa;
    cursor: pointer;
}

.cart-quantity-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    border-radius: 15px;
    padding: 6px 15px;
    font-size: 0.75em;
    font-weight: 900;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    margin-bottom: 15px;
    text-align: center;
}

.coming-soon-info {
    padding-top: 30px !important;
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: center;
    padding: 20px;
}

/* Specific styling for drink mix images to make them smaller */
.product-card[data-category="drink-mix"] .product-image {
    height: 260px;
    padding: 30px;
    max-width: 90%;
    margin: 0 auto;
}


.product-info {
    padding: 30px;
    text-align: center;
    position: relative;
}

.product-name {
    font-size: 1.4em;
    color: #2c5530;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.product-description {
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95em;
    font-weight: 400;
}

.product-button {
    margin: 10px 0px 0px;
    border-radius: 50px;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    width: 100%;
    max-width: 600px;
    transition: background 0.3s, color 0.3s;
    display: flex;
    flex-direction: row;
    -webkit-box-pack: center;
    justify-content: center;
    background: rgb(0, 122, 255);
    color: white;
    opacity: 1;
}

.product-button:hover {
    background: rgb(0, 100, 210);
}

.product-button:active {
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 30px;
}

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

.footer-section h3, .footer-section h4 {
    color: #2ecc71;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2ecc71;
}

/* Cart Icon */
.cart-icon {
    background: none;
    border: none;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    position: relative;
    display: inline-block;
    margin-top: 8px;
}

.cart-icon-image {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* Makes SVG white */
    transition: all 0.3s ease;
}

.cart-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

#cartCount {
    position: absolute;
    top: 2px;
    right: 4px;
    background: #3B72FE;
    color: white;
    border-radius: 50%;
    padding: 2px;
    font-size: 0.5em;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Product Price */
.product-price {
    font-size: 1.3em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
}

/* Cart Page */
.cart-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.cart-top-banner {
    background: #000000;
    color: white;
    text-align: center;
    padding: 5px 0;
    font-size: 0.75em;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.cart-page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.shipping-countdown-banner {
    background: #4285F4;
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 0.9em;
}

.shipping-countdown-banner.free-shipping {
    background: #2ecc71;
}

.shipping-message {
    margin: 0;
}

.cart-page-logo {
    height: 35px;
    width: auto;
    max-width: 200px;
}

.back-btn {
    position: absolute;
    left: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.back-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(20%) sepia(12%) saturate(1175%) hue-rotate(88deg) brightness(95%) contrast(89%);
}

.cart-page-content {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    min-height: calc(100vh - 80px); /* Minimum height but can expand */
}

.my-cart-title {
    padding: 20px 20px 10px 20px;
}

.my-cart-title h2 {
    color: #000000;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
    text-align: left;
}

/* Cart Summary */
.cart-summary {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-size: 0.9em;
    color: #666;
}

.item-count {
    margin-bottom: 5px;
}

.item-count-badge {
    background: #000000;
    color: white;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.8em;
    font-weight: bold;
    margin: 0 4px;
}

.shipment-info {
    color: #888;
    font-size: 0.85em;
}


.cart-items {
    padding: 20px;
}

.empty-cart {
    text-align: center;
    color: #666;
    padding: 40px 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    background: white;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

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

.cart-item-brand {
    font-size: 1.1em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 2px;
}

.cart-item-name {
    margin: 0 0 4px 0;
    font-size: 0.95em;
    color: #2c5530;
    font-weight: normal;
}

.cart-item-qty {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 4px;
}

.cart-item-total {
    color: #000000;
    font-weight: normal;
    font-size: 0.95em;
    margin-bottom: 12px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-controls-wrapper {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 4px 8px;
    gap: 8px;
}

.cart-item-controls button {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    transition: all 0.2s ease;
}

.cart-item-controls button:hover {
    background: #e0e0e0;
}

.quantity-display {
    font-weight: bold;
    color: #333;
    min-width: 20px;
    text-align: center;
    font-size: 14px;
}

.remove-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    opacity: 0.7;
}

.remove-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}


/* Promo Code Section */
.promo-section {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.promo-section label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}

.promo-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.promo-input-wrapper input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.promo-input-wrapper input:focus {
    outline: none;
    border-color: #2ecc71;
}

.apply-btn {
    background: #000000;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.apply-btn:hover {
    background: #333333;
}

/* Summary Section */
.summary-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.summary-section h3 {
    color: #000000;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #333;
}

.summary-line.cold-shipping {
    color: #666;
    font-size: 0.9em;
}

.summary-line.total-line {
    border-top: 1px solid #ddd;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 1.1em;
}

/* Sticky Checkout */
.sticky-checkout {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 20px;
    border-top: 1px solid #eee;
    z-index: 10;
}

/* FAQs Section */
.faqs-section {
    padding: 20px;
    margin-bottom: 20px;
}

.faqs-section h3 {
    color: #000000;
    font-size: 1.3em;
    font-weight: bold;
    margin: 0 0 20px 0;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    background: white;
    border-radius: 8px;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-arrow {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 15px 15px 15px;
    display: none;
    background: #f8f9fa;
}

.faq-answer.active {
    display: block;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-total {
    margin-bottom: 15px;
    font-size: 1.2em;
    text-align: right;
}

.checkout-btn {
    width: 100%;
    background: #4285F4;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 60px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: #3367D6;
    transform: translateY(-2px);
}

/* Modal Alerts */
.modal-alert {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
    opacity: 0;
    animation: modalAlertSlideIn 0.3s ease forwards;
    border: 1px solid transparent;
}

.modal-alert-success {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.15), rgba(46, 204, 113, 0.08));
    color: #27ae60;
    border-color: rgba(46, 204, 113, 0.3);
}

.modal-alert-remove {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.15), rgba(231, 76, 60, 0.08));
    color: #c0392b;
    border-color: rgba(231, 76, 60, 0.3);
}

.modal-alert-update {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(52, 152, 219, 0.08));
    color: #2980b9;
    border-color: rgba(52, 152, 219, 0.3);
}

@keyframes modalAlertSlideIn {
    from { 
        opacity: 0; 
        transform: translateY(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

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

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    z-index: 1;
}

.product-modal-content {
    display: flex;
    gap: 30px;
    padding: 30px;
}

.product-modal-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-modal-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 20px;
}

.image-toggle-indicators {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    justify-content: center;
}

.toggle-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.toggle-dot:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.toggle-dot.active {
    background: #2ecc71;
    border-color: #2ecc71;
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.4), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.modal-cart-section {
    width: 100%;
    max-width: 300px;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.add-to-cart-btn {
    margin: 10px 0px 0px;
    border-radius: 50px;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    width: 100%;
    max-width: 600px;
    transition: background 0.3s, color 0.3s;
    display: flex;
    flex-direction: row;
    -webkit-box-pack: center;
    justify-content: center;
    background: rgb(0, 122, 255);
    color: white;
    opacity: 1;
}

.add-to-cart-btn:hover {
    background: rgb(0, 100, 210);
}

.add-to-cart-btn:active {
    opacity: 0.9;
}

.coming-soon-btn {
    width: 100%;
    background: #95a5a6;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: not-allowed;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.coming-soon-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    opacity: 0.6;
}

.product-modal-info {
    flex: 1;
}

.product-modal-info h2 {
    color: #2c5530;
    margin-bottom: 10px;
}

.product-modal-price {
    font-size: 1.5em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
}

.product-modal-description {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}


.cart-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    padding: 0 10px;
}

.cart-quantity-controls button {
    width: 35px;
    height: 35px;
    border: 2px solid #000000;
    background: #ffffff;
    color: #000000;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-quantity-controls button:hover:not(:disabled) {
    background: #000000;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: #000000;
}

.cart-quantity-controls button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.cart-quantity-controls button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f1f2f6;
    color: #95a5a6;
    border-color: #bdc3c7;
    box-shadow: none;
}

.quantity-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 60px;
}

#modalCartQuantity {
    font-size: 1.4em;
    font-weight: 700;
    color: #2c5530;
    text-align: center;
    line-height: 1;
}

.quantity-label {
    color: #7f8c8d;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
    opacity: 0.8;
}

.modal-total {
    font-size: 1.2em;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

/* Learn More Button */
.learn-more-btn {
    background: #000000;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 20px;
}

.learn-more-btn:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.footer-learn-more {
    margin-top: 15px;
    width: 100%;
}

/* Learn More Modal */
.learn-more-content {
    padding: 30px;
    max-height: 80vh;
    overflow-y: auto;
}

.learn-more-content h2 {
    color: #2c5530;
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
}

.learn-more-info h3 {
    color: #2ecc71;
    font-size: 1.3em;
    margin: 25px 0 15px 0;
    border-bottom: 2px solid #e8f5e8;
    padding-bottom: 8px;
}

.learn-more-info p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}

/* Checkout Page */
.checkout-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
}

.checkout-container {
    max-width: 1200px;
    margin: 50px auto;
    background: white;
    border-radius: 15px;
    position: relative;
}

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

.checkout-header h2 {
    margin: 0;
    color: #2c5530;
}

.close-checkout {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.checkout-left {
    padding: 40px;
}

.checkout-section h3 {
    color: #2c5530;
    margin-bottom: 20px;
    border-bottom: 2px solid #2ecc71;
    padding-bottom: 10px;
}

.checkout-section input,
.checkout-section select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-row select {
    margin-bottom: 15px;
}

.complete-order-btn {
    width: 100%;
    background: #000000;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.complete-order-btn:hover {
    background: #333333;
    transform: translateY(-2px);
}

.checkout-right {
    background: #f8f9fa;
    padding: 40px;
}

.order-summary h3 {
    color: #2c5530;
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.checkout-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}

.checkout-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #2ecc71;
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.total-final {
    font-weight: bold;
    font-size: 1.2em;
    color: #2c5530;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 30px; /* Reduced padding for mobile */
        gap: 20px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 20px;
        max-width: 100%;
    }

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

    .hero-image {
        flex: 0 0 auto;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .popup-content {
        padding: 30px 20px;
    }
    
    .popup-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .cart-sidebar {
        width: 100%;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-right {
        padding: 20px;
    }
    
    .product-modal-content {
        flex-direction: column;
        padding: 20px;
    }
    
    .cart-quantity-controls {
        gap: 15px;
    }
    
    .cart-quantity-controls button {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .benefit-card, .product-card {
        margin: 0 10px;
    }
}

/* Hamburger Menu Styles - Visible on all screen sizes */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    position: absolute;
    left: 0;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .header {
        padding: 20px 0;
    }
    
    .nav-link {
        padding: 15px 0;
        font-size: 1.2em;
        text-align: center;
        border-bottom: 1px solid rgba(44, 85, 48, 0.1);
        color: #2c5530;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Mobile menu contrast fix - use same styling as product pages */
    .nav.mobile-open {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px);
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .nav.mobile-open .nav-link {
        color: #1a4220 !important;
        font-weight: 600 !important;
        text-shadow: none !important;
        opacity: 1 !important;
    }

    .nav.mobile-open .nav-link:hover {
        color: #2ecc71 !important;
        text-shadow: 0 0 8px rgba(46, 204, 113, 0.4) !important;
        background: rgba(46, 204, 113, 0.1) !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
    }

    .nav.mobile-open .nav-link.active {
        color: #1a4220 !important;
        font-weight: 700 !important;
        text-shadow: none !important;
        background: rgba(26, 66, 32, 0.1) !important;
        border-radius: 8px !important;
    }
    
    /* Override all header states for mobile menu */
    .header .nav.mobile-open .nav-link {
        color: #1a4220 !important;
        font-weight: 600 !important;
        text-shadow: none !important;
        opacity: 1 !important;
    }
    
    .header .nav.mobile-open .nav-link:hover {
        color: #2ecc71 !important;
        text-shadow: 0 0 8px rgba(46, 204, 113, 0.4) !important;
        background: rgba(46, 204, 113, 0.1) !important;
        border-radius: 8px !important;
    }
    
    .header .nav.mobile-open .nav-link.active {
        color: #1a4220 !important;
        font-weight: 700 !important;
        text-shadow: none !important;
        background: rgba(26, 66, 32, 0.1) !important;
        border-radius: 8px !important;
    }

    /* Override scrolled state specifically with maximum specificity */
    body .header.scrolled .nav.mobile-open .nav-link,
    body .header .nav.mobile-open .nav-link,
    body .nav.mobile-open .nav-link {
        color: #1a4220 !important;
        font-weight: 600 !important;
        text-shadow: none !important;
        opacity: 1 !important;
        background: none !important;
    }
    
    body .header.scrolled .nav.mobile-open .nav-link:hover,
    body .header .nav.mobile-open .nav-link:hover,
    body .nav.mobile-open .nav-link:hover {
        color: #2ecc71 !important;
        text-shadow: 0 0 8px rgba(46, 204, 113, 0.4) !important;
        background: rgba(46, 204, 113, 0.1) !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
    }
    
    body .header.scrolled .nav.mobile-open .nav-link.active,
    body .header .nav.mobile-open .nav-link.active,
    body .nav.mobile-open .nav-link.active {
        color: #1a4220 !important;
        font-weight: 700 !important;
        text-shadow: none !important;
        background: rgba(26, 66, 32, 0.1) !important;
        border-radius: 8px !important;
    }
    
    .header .container {
        position: relative;
    }
    
    /* Hamburger animation when menu is open */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Adjust scrolled state for mobile */
    .header.scrolled .hamburger-line {
        background: rgba(255, 255, 255, 0.95);
    }
}

/* Hamburger lines should be white when header is scrolled (black background) */
.header.scrolled .hamburger-line {
    background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 480px) {
    .header {
        padding: 18px 0;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .cart-icon {
        padding: 6px 10px;
        font-size: 1.1em;
    }
}
