:root {
    --primary-color: #C08128; /* Golden Amber */
    --primary-dark: #A66E1E;
    --secondary-brown: #3E2723; /* Deep Earth Brown */
    --accent-gold: #D4A017;
    --bg-cream: #FAF7F2; /* Soft Cream Background */
    --card-white: #FFFFFF;
    --text-main: #2D1B17;
    --text-muted: #6D4C41;
    --footer-bg: #2D1B17;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 30px rgba(62, 39, 35, 0.05);
    --shadow-hover: 0 20px 40px rgba(62, 39, 35, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-brown);
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand:hover .brand-text {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 4px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(192, 129, 40, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-section {
    background-color: var(--bg-cream);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero-glass-card {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--secondary-brown);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.product-card {
    border: none;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
    background: var(--card-white);
    box-shadow: var(--shadow-premium);
    height: 100%;
}

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

.product-image {
    height: 250px;
    object-fit: cover;
    background: linear-gradient(45deg, var(--pale-green), var(--cream));
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-brown);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.category-badge {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.featured-section {
    background-color: white;
    padding: 4rem 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-brown);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

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

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-controls button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--primary-green);
    background: white;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-controls button:hover {
    background: var(--primary-green);
    color: white;
}

.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid #E0E0E0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
}

.login-container, .register-container {
    max-width: 400px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.order-summary {
    background: linear-gradient(135deg, var(--pale-green), var(--cream));
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.ingredient-tag {
    background: var(--cream);
    color: var(--earth-brown);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0.25rem;
    display: inline-block;
}

.about-section {
    background: linear-gradient(135deg, var(--cream), var(--pale-green));
    padding: 4rem 0;
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.nature-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer {
    background-color: var(--footer-bg) !important;
}

.social-links a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-green) !important;
}

/* Horizontal Scroll Layout */
.horizontal-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    margin: 0 -15px;
    padding: 0 15px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.horizontal-scroll-content {
    display: flex;
    gap: 1.5rem;
}

.scroll-item {
    flex: 0 0 280px;
    white-space: normal;
}

/* Mobile 2-Column Grid Refinements */
@media (max-width: 576px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .row {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .col-6 {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-card .card-body {
        padding: 0.6rem !important;
    }
    
    .product-title {
        font-size: 0.85rem;
        font-weight: 500;
        margin-bottom: 0.15rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 2.4rem;
        line-height: 1.2;
    }
    
    .product-price {
        font-size: 0.95rem;
    }
    
    .product-image {
        height: 140px;
    }
    
    .category-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
        margin: 0.5rem !important;
    }
    
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .scroll-item {
        flex: 0 0 calc(50% - 0.75rem);
    }
    
    /* Ensure the row doesn't wrap unnecessarily */
    .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Hero Section Mobile Fixes */
    .hero-section {
        padding: 4rem 0;
    }

    .hero-glass-card {
        padding: 1.5rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem !important;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .hero-section .d-flex {
        flex-direction: column;
        gap: 1rem !important;
    }

    .hero-section .btn {
        width: 100%;
        margin: 0 !important;
    }

    .navbar-brand {
        max-width: 80%;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .feature-card {
        padding: 2rem !important;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .about-section img {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-image {
        height: 200px;
    }
}

.nature-decoration {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.leaf-decoration {
    top: 10%;
    left: 5%;
    font-size: 3rem;
    color: var(--primary-green);
    transform: rotate(-15deg);
}

.flower-decoration {
    bottom: 10%;
    right: 5%;
    font-size: 3rem;
    color: var(--coral);
    transform: rotate(15deg);
}

.badge-success {
    background: var(--accent-green) !important;
}

.alert-success {
    background: linear-gradient(135deg, var(--pale-green), #E8F5E8);
    border: 1px solid var(--accent-green);
    color: var(--primary-green);
}

.btn-success {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--light-green), var(--accent-green));
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 500;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    font-size: 24px;
}

