/* =====================================================
   הצמחים של סבא - Custom Styles - עיצוב מדויק
   ===================================================== */

/* CSS Variables */
:root {
    /* Colors - מדויק לפי העיצוב */
    --primary-dark: #2d5016;
    --primary: #3d6b2f;
    --primary-light: #5a8a42;
    --secondary: #8b6914;
    --cream: #f5f0e1;
    --cream-dark: #e8dcc4;
    --cream-darker: #d4c4a8;
    --brown: #5c4a2a;
    --brown-light: #8b7355;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray: #6c757d;
    --whatsapp: #25D366;
    --facebook: #1877F2;

    /* Typography */
    --font-family: 'Heebo', sans-serif;

    /* Spacing */
    --section-padding: 60px;
    --card-radius: 20px;
    --btn-radius: 25px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    font-family: var(--font-family);
    background-color: var(--cream);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* =====================================================
   Main Layout - Full Width (No Sidebar)
   ===================================================== */
.main-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 25px;
}

.main-content {
    width: 100%;
}

/* =====================================================
   Header & Navigation - Clean Structure
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--cream);
    height: 70px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    position: relative;
}

/* Desktop Navigation - visible on 992px+ */
.desktop-nav {
    display: none;
    height: 100%;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Mobile Navigation - visible below 992px */
.mobile-nav {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

/* Show desktop, hide mobile on large screens */
@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
        justify-content: space-evenly;
    }
    .mobile-nav {
        display: none;
    }
    .mobile-menu {
        display: none !important;
    }
}

/* Navigation Groups */
.nav-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-right {
    margin-left: 80px;
}

.nav-left {
    margin-right: 80px;
}

/* Header Logo - absolutely positioned, half in header, half in hero */
.header-logo {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    z-index: 1001;
}

.header-logo img {
    height: 100px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.header-logo:hover img {
    transform: scale(1.05);
}

/* Nav Links */
.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--brown);
    padding: 10px 18px;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

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

/* Cart Button */
.btn-cart {
    position: relative;
    background: transparent;
    color: var(--brown);
    border: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
    cursor: pointer;
}

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

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    background: transparent;
    border: none;
    color: var(--brown);
    font-size: 1.5rem;
    padding: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--primary);
}

/* Mobile Dropdown Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 15px 20px;
    box-shadow: var(--shadow-md);
    flex-direction: column;
    gap: 5px;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu .nav-link {
    padding: 12px 15px;
    border-radius: 8px;
}

.mobile-menu .nav-link:hover {
    background: rgba(45, 80, 22, 0.1);
}

/* =====================================================
   Hero Section - Full width with background image
   ===================================================== */
.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 2;
    text-align: right;
    color: var(--white);
    padding: 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

/* WhatsApp Button on Hero - Left side */
/* WhatsApp Button - in hero, becomes fixed on scroll */
.whatsapp-btn {
    position: absolute;
    bottom: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-btn.is-sticky {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999;
    animation: floatPulse 2s ease-in-out infinite;
}

.whatsapp-icon {
    width: 48px;
    height: 48px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-btn:hover .whatsapp-icon {
    transform: scale(1.1);
    background: #1da851;
}

.whatsapp-label {
    background: var(--white);
    color: var(--primary-dark);
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

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

/* =====================================================
   Categories Section - Large Cards with Brown Bottom
   ===================================================== */
.categories {
    padding: 0 0 40px 0;
    background: var(--cream);
}

.categories .container {
    padding: 0;
    max-width: 100%;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 100%;
}

/* Support for 6 categories - 2 rows of 3 */
@media (min-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-card {
    background-color: var(--cream-darker);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

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

.category-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 15px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Category Content */
.category-content {
    padding: 10px 5px;
    text-align: center;
    background: transparent;
}

.category-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.category-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(61, 107, 47, 0.3);
}

.category-card:hover .category-btn {
    background: var(--primary-dark);
}

/* =====================================================
   About Section - הסיפור שלנו
   ===================================================== */
.about {
    padding: 40px 0;
    background: var(--cream);
}

.about .container {
    padding: 0;
    max-width: 100%;
}

.about-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-image-col {
    flex: 0 0 45%;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2);
    transform: rotate(-3deg);
    border: 8px solid var(--white);
    outline: 2px solid var(--cream-darker);
    transition: var(--transition);
}

.about-image:hover {
    transform: rotate(-1deg) scale(1.02);
}

.about-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.about-content-col {
    flex: 1;
}

.about-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

/* Paper texture box */
.paper-box {
    background:
        linear-gradient(135deg, #f9f5e8 0%, #f0e8d5 100%);
    padding: 25px;
    border-radius: 8px;
    position: relative;
    box-shadow:
        2px 2px 8px rgba(0,0,0,0.1),
        inset 0 0 40px rgba(139, 105, 20, 0.05);
    margin-bottom: 20px;
}

/* Torn paper edge effect */
.paper-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg,
        transparent 0%,
        transparent 20%,
        var(--cream) 20%,
        var(--cream) 22%,
        transparent 22%,
        transparent 40%,
        var(--cream) 40%,
        var(--cream) 42%,
        transparent 42%,
        transparent 60%,
        var(--cream) 60%,
        var(--cream) 63%,
        transparent 63%,
        transparent 80%,
        var(--cream) 80%,
        var(--cream) 82%,
        transparent 82%
    );
    border-radius: 8px 8px 0 0;
}

.paper-box p {
    color: var(--brown);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.paper-box p:last-child {
    margin-bottom: 0;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--brown);
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary);
    width: 25px;
}

.info-item a {
    color: var(--primary-dark);
    font-weight: 600;
}

/* =====================================================
   Sidebar - Paper Texture Design
   ===================================================== */
.sidebar-section {
    margin-bottom: 25px;
}

/* Paper/Parchment texture card */
.paper-card {
    background-image: url('../images/paper-card_bg.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 35px;
    position: relative;
}

/* Paper card has built-in torn edges from background image */

.paper-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Contact Form in Sidebar */
.sidebar-form .form-group {
    margin-bottom: 15px;
}

.sidebar-form label {
    display: block;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.sidebar-form input,
.sidebar-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--cream-darker);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    background: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.sidebar-form input:focus,
.sidebar-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.sidebar-form textarea {
    resize: vertical;
    min-height: 80px;
}

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

.contact-hint {
    display: block;
    color: var(--gray);
    font-size: 0.75rem;
    margin-top: 5px;
    margin-bottom: 10px;
}

.sidebar-btn {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 15px;
    box-shadow: 0 3px 10px rgba(61, 107, 47, 0.25);
}

.sidebar-btn:hover {
    background: var(--primary-dark);
}

/* Order Summary in Sidebar */
.order-summary-list {
    margin-bottom: 15px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--cream-darker);
    font-size: 0.85rem;
    color: var(--brown);
}

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

.order-item.empty {
    justify-content: center;
    color: var(--text-muted);
    font-style: italic;
}

/* Order item row with quantity controls - inline style */
.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--cream-darker);
    font-size: 0.85rem;
    color: var(--brown);
}

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

.order-item-info {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    font-weight: 500;
    color: var(--brown);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-item-size {
    font-size: 0.7rem;
    color: var(--gray);
}

.order-item-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.qty-btn {
    width: 22px;
    height: 22px;
    border: 1px solid var(--cream-darker);
    background: var(--white);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--brown);
    font-size: 0.75rem;
    padding: 0;
}

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

.qty-value {
    min-width: 18px;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
}

.order-item-price {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.85rem;
    min-width: 40px;
    text-align: left;
}

.remove-btn {
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    color: var(--gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
    font-size: 0.9rem;
}

.remove-btn:hover {
    color: #c00;
}

.order-delivery {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 10px;
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    padding-top: 8px;
    border-top: 2px solid var(--cream-darker);
    margin-top: 5px;
}


/* =====================================================
   Products Modal - 4 columns, frame style
   ===================================================== */
.modal-content {
    border: none;
    border-radius: 15px;
    background: var(--cream);
    overflow: hidden;
}

.modal-header {
    background: var(--cream);
    border-bottom: none;
    padding: 25px 30px 15px;
    position: relative;
}

.modal-title {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-dark);
    width: 100%;
    text-align: center;
}

.modal-header .btn-close {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.modal-body {
    padding: 20px 30px 30px;
    background: var(--cream);
    max-height: 75vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Products Grid - 4 columns */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Product Card - Flip card */
.product-card {
    perspective: 800px;
    border-radius: 12px;
}

.card-inner {
    position: relative;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.product-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    backface-visibility: hidden;
    border-radius: 12px;
    background: var(--cream-dark);
    overflow: hidden;
}

.card-front {
    position: relative;
    display: flex;
    flex-direction: column;
}

.card-back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
}

/* Flip button */
.flip-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

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

.flip-btn-back {
    position: absolute;
    top: 8px;
    left: 8px;
}

/* Card back content */
.card-back .product-image {
    height: 100px;
    flex-shrink: 0;
}

.card-back-content {
    padding: 10px;
    flex: 1;
    overflow-y: auto;
    text-align: right;
}

.card-back-content .product-name {
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--primary-dark);
    font-weight: 700;
}

.card-back-desc {
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--brown);
    margin: 0;
}

/* Image with frame effect */
.product-image-frame {
    padding: 10px 10px 0 10px;
}

.product-image {
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid var(--cream-darker);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:not(.flipped):hover .card-front .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
}

.product-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.product-description {
    font-size: 0.8rem;
    color: var(--brown);
    margin-bottom: 10px;
    flex: 1;
    line-height: 1.4;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-variety {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.product-size-single {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 8px;
}

/* Size Selector - for products with multiple sizes */
.size-selector {
    margin: 8px 0;
    text-align: center;
}

.size-label {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 5px;
    font-weight: 500;
}

.size-buttons {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.size-btn {
    flex: 0 1 auto;
    background: var(--white);
    border: 1.5px solid var(--cream-darker);
    border-radius: 20px;
    padding: 5px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.size-btn:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.size-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.25);
}

.size-btn .size-name {
    font-size: 0.7rem;
    font-weight: 500;
}

.size-btn .size-price {
    font-size: 0.85rem;
    font-weight: 600;
}

.size-btn.active .size-name,
.size-btn.active .size-price {
    color: var(--white);
}

/* Single size display */
.size-single {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    padding: 6px 10px;
    background: var(--cream);
    border-radius: 20px;
}

.size-info {
    font-size: 0.8rem;
    color: var(--gray);
}

.price-info {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Disabled add to cart button */
.btn-add-to-cart.disabled {
    background: var(--gray);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Add to cart button */
.btn-add-to-cart {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 9px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
}

.btn-add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.btn-add-to-cart i {
    font-size: 0.95rem;
}

.btn-add-cart {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0 auto;
}

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

/* =====================================================
   Footer - with background image
   ===================================================== */
.footer {
    position: relative;
    color: var(--cream);
    padding: 50px 0 20px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1600') center/cover no-repeat;
    z-index: 0;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(45, 80, 22, 0.92) 0%, rgba(45, 80, 22, 0.95) 100%);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.footer-brand .logo-icon {
    font-size: 1.5rem;
}

.footer-brand .logo-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-desc {
    opacity: 0.85;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer h5 {
    color: var(--cream);
    font-size: 1rem;
    margin-bottom: 15px;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--cream);
    opacity: 0.8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-contact a {
    color: var(--cream);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.85rem;
    margin: 0;
}

.btn-refresh {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 5px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-refresh:hover {
    color: rgba(255, 255, 255, 0.7);
}

.btn-refresh.spinning i {
    animation: spin 1s linear infinite;
}

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

/* =====================================================
   Cart Sidebar (Offcanvas)
   ===================================================== */
.offcanvas {
    max-width: 350px;
    background: var(--cream);
}

.offcanvas-header {
    background: var(--primary-dark);
    color: var(--white);
    padding: 15px 20px;
}

.offcanvas-title {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.offcanvas-header .btn-close {
    filter: brightness(0) invert(1);
}

.offcanvas-body {
    padding: 15px;
}

.cart-items {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
}

.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;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.cart-item-size {
    font-size: 0.75rem;
    color: var(--gray);
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-item-quantity button {
    width: 24px;
    height: 24px;
    border: none;
    background: var(--cream-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
}

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

.cart-item-remove {
    background: none;
    border: none;
    color: #c41e3a;
    cursor: pointer;
    font-size: 1rem;
    padding: 3px;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.cart-empty i {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 10px;
}

.cart-summary {
    border-top: 2px solid var(--cream-darker);
    padding-top: 15px;
    margin-top: 15px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.cart-delivery {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 8px;
}

.btn-checkout {
    width: 100%;
    background: var(--whatsapp);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 8px;
}

.btn-checkout:hover {
    background: #1da851;
}

.btn-clear-cart {
    width: 100%;
    background: transparent;
    border: 1px solid #c41e3a;
    color: #c41e3a;
    padding: 10px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    cursor: pointer;
}

.btn-clear-cart:hover {
    background: #c41e3a;
    color: var(--white);
}

/* =====================================================
   Toast
   ===================================================== */
.toast {
    background: var(--white);
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 1199.98px) {
    .main-layout {
        padding: 20px 15px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .header-logo img {
        height: 80px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .about-image-col {
        flex: 0 0 auto;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 60vh;
    }

    .hero-content {
        right: 0;
        left: 0;
        bottom: 0;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .whatsapp-btn {
        bottom: 20px;
        left: 20px;
    }

    .whatsapp-btn.is-sticky .whatsapp-label {
        display: none;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-card {
        padding: 12px;
    }

    .category-image {
        height: 100px;
        margin-bottom: 10px;
    }

    .category-content {
        padding: 5px;
    }

    .category-name {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .category-btn {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 15px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image {
        height: 100px;
    }

    .card-back .product-image {
        height: 80px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .whatsapp-btn {
        bottom: 15px;
        left: 15px;
    }

    .whatsapp-btn .whatsapp-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .header-logo img {
        height: 70px;
    }
}

/* =====================================================
   Utility Classes
   ===================================================== */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.text-center { text-align: center !important; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--cream-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

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

/* Contact Section - Full width, transparent background */
.contact-section {
    padding: var(--section-padding) 0;
    background: transparent;
}

.contact-section .paper-card {
    max-width: 600px;
    margin: 0 auto;
}

/* Order Summary inside Contact Form */
.order-summary-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed var(--cream-darker);
}

.order-summary-section .paper-card-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* =====================================================
   Products Loader
   ===================================================== */
.products-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 20px;
    grid-column: 1 / -1;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--cream-darker);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.products-loader p {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 500;
}

/* =====================================================
   Products Error
   ===================================================== */
.products-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 15px;
    grid-column: 1 / -1;
    text-align: center;
}

.products-error i {
    font-size: 3rem;
    color: var(--secondary);
}

.products-error p {
    color: var(--brown);
    font-size: 1.1rem;
}

.btn-retry {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: var(--btn-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-retry:hover {
    background: var(--primary-dark);
}

/* =====================================================
   No Image Placeholder
   ===================================================== */
.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    color: var(--brown-light);
    gap: 8px;
}

.no-image i {
    font-size: 2.5rem;
    opacity: 0.5;
}

.no-image span {
    font-size: 0.85rem;
    opacity: 0.7;
}

.category-image .no-image {
    border-radius: 50%;
}

.product-image .no-image i {
    font-size: 2rem;
}

.product-image .no-image span {
    font-size: 0.75rem;
}
