* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

 html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Premium focus states */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid #C45200;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Premium text selection */
::selection {
    background: #C45200;
    color: white;
}

::-moz-selection {
    background: #C45200;
    color: white;
}

/* Smooth transitions globally */
a,
button,
input,
select,
textarea {
    transition: all 0.3s ease;
}

  h1, h2, h3, .product-name {
    font-family: "Cormorant Garamond", serif;
}

body {
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}
body{
    background:#EDE9DA;
}

        /* Header Styles */
      header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

        .top-nav {
            display: flex;
            justify-content: center;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
            margin-bottom: 1rem;
            position: relative;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.8rem;
        }

        .logo-text-red {
            color: #502314;
            font-weight: 700;
        }

        .logo-text-orange {
            color: #C45200;
            font-weight: 700;
        }

        .flame-icon {
            font-size: 2rem;
        }

        .nav-right {
            position: absolute;
            right: 0;
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-right a {
            text-decoration: none;
            color: white;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: color 0.3s;
            font-weight: 500;
        }

        .nav-right a:hover {
            color: #502314;
        }

        .cart {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
        }

        .cart-icon {
            font-size: 1.5rem;
            color: white;
        }
        
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #502314;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: none;
    border: 2px solid white;
}

.cart-count {
    background: #C45200;
}

        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            background: #C45200;
            border: none;
            padding: 0.75rem 1rem;
            border-radius: 50%;
            cursor: pointer;
            width: 50px;
            height: 50px;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 4px;
        }

        .mobile-menu-btn span {
            display: block;
            width: 24px;
            height: 3px;
            background: white;
            border-radius: 2px;
        }

        /* Category Navigation */
      .category-nav {
    position: sticky;
    top: 88px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.kitchen-note{
    font-size:0.9rem;
    color:#003200;
    text-align:center;
    margin-top:10px;
}

        /* Hide scrollbar for a cleaner look while keeping functionality */
      

        .category-nav-inner {
            display: flex;
            max-width: 1400px;
            margin: 0 auto;
            /* width: max-content ensures it stays on one line to enable scrolling */
            width: max-content;
            padding: 0 10px;
        }

        .nav-item {
            position: relative;
        }

        /* MOBILE SPECIFIC OVERRIDES */
        @media (max-width: 768px) {
            .category-nav {
                overflow-x: auto;
               
            }
            
            .nav-item {
                position: static !important;
            }
            
            .has-dropdown {
                position: static !important;
            }
            
            .dropdown-menu {
                display: none !important;
                position: fixed !important;
                left: 50% !important;
                top: 150px !important;
                transform: translateX(-50%) !important;
                width: 90% !important;
                max-width: 350px !important;
                border: 5px solid #C45200 !important;
                background: white !important;
                box-shadow: 0 0 30px rgba(196, 82, 0, 0.5) !important;
                z-index: 9999998 !important;
                border-radius: 12px !important;
                overflow: hidden !important;
            }
            
            .dropdown-menu.open,
            .has-dropdown.active .dropdown-menu {
                display: block !important;
            }
            
            .dropdown-menu a {
                display: block !important;
                background: white !important;
                color: #333 !important;
                font-size: 16px !important;
                padding: 15px 20px !important;
                border-bottom: 1px solid #f0f0f0 !important;
            }
            
            .dropdown-menu a:last-child {
                border-bottom: none !important;
            }
            
            .dropdown-menu a:active {
                background: #C45200 !important;
                color: white !important;
            }
        }

        /* DESKTOP (Screens wider than 768px) */
        @media (min-width: 769px) {
            .category-nav-inner {
                width: 100%;
                justify-content: center;
            }
        }

      .category-nav .nav-link {
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    display: block;
    font-weight: 500;
}

.category-nav .nav-link:hover,
.category-nav .nav-item:hover > .nav-link {
    color: #502314;
    border-bottom-color: #502314;
}

.category-nav .nav-link.active {
    color: #502314;
    font-weight: 600;
    border-bottom-color: #502314;
}

        /* Dropdown Styles */
        .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    min-width: 220px;
    z-index: 100;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

        /* Show dropdown when active */
        .nav-item.active .dropdown-menu {
            display: block;
        }

      .dropdown-menu a {
    display: block;
    padding: 0.9rem 1.3rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 400;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: rgba(43, 26, 18, 0.03);
    color: #502314;
    border-left-color: #502314;
}

.selection-hint{
    background:#003200;
    color:white;
    padding:10px 12px;
    border-radius:8px;
    font-size:0.85rem;
    margin-bottom:12px;
    opacity:0;
    transform:translateY(-6px);
    transition:all .25s ease;
}

.selection-hint.show{
    opacity:1;
    transform:translateY(0);
}

.dropdown-menu a.active {
    font-weight: 600;
}
        /* Main Content */
       main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 3rem;
}

.section {
    margin-bottom: 8rem;
}

.subsection-title {
    font-size: 2.25rem;
    color: #502314;
    margin: 6rem 0 3rem;
}
       .page-title {
    color: #502314;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 4rem;
    scroll-margin-top: 200px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.subsection-title {
    font-size: 2.25rem;
   
    margin: 4rem 0 2.5rem;
    font-weight: 600;
    scroll-margin-top: 200px;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.subsection-title:first-child {
    margin-top: 0;
    padding-top: 2.3rem;
}

        /* Product Grid */
   .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
    align-items: start;
}

        /* Product Card */
       .product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

       

  

   .product-name {
    font-size: 1.8rem;
    font-weight: 500;
    color: white;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

       .product-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    
}

        .product-info {
            padding: 2rem;
            background: white;
        }

       .product-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    min-height: 45px;
    line-height: 1.6;
}

       .price-spice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
}

       .spice-level {
    color: #C45200;
    font-size: 1.3rem;
    letter-spacing: 3px;
    opacity: 0.9;
}

.logo img {
    transition: transform 0.3s ease;
}

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

 .price {
    font-size: 1.45rem;
    font-weight: 500;
    color: #C45200;
}

 .add-to-cart-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #502314;
    color: white;
    border: 1px solid #502314;
    border-radius: 4px;
    font-weight: 400;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
}

.add-to-cart-btn:hover {
    opacity: 0.85;
}

/* Fade-in animation for product cards */


        /* Responsive Design */
        @media (max-width: 1024px) {
            .product-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .logo {
                font-size: 1.3rem;
            }

            .nav-right a:not(.cart) {
                display: none;
            }

            .product-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .page-title {
                font-size: 2rem;
                margin-bottom: 2rem;
            }

            main {
                padding: 2rem 1rem;
            }

            header {
                padding: 1rem;
            }

            .category-nav .nav-link {
                padding: 0.75rem 1rem;
                font-size: 0.85rem;
            }
        }

        @media (min-width: 769px) {
            .product-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 1.2rem;
            }

            .product-name {
                font-size: 1.5rem;
            }

            .price {
                font-size: 1.5rem;
            }

            .product-image {
                height: 250px;
            }
        }

        /* Scrollbar styling for category nav */
        .category-nav::-webkit-scrollbar {
            height: 6px;
        }

        .category-nav::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        .category-nav::-webkit-scrollbar-thumb {
            background: #C45200;
            border-radius: 3px;
        }

        .category-nav::-webkit-scrollbar-thumb:hover {
            background: #502314;
        }

        /* Footer Styles */
       footer {
    background: #502314;
    color: white;
    padding: 3rem 2rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 2rem;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.5rem;
        }

        .footer-logo .logo-text-red {
            color: #C45200;
            font-weight: 700;
        }

        .footer-logo .logo-text-orange {
            color: #EDE9DA;
            font-weight: 700;
        }

        .footer-contact h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

       .footer-contact p {
    margin: 0.6rem 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

     .footer-contact a {
    color: #C45200;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-contact a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

        /* Product options */
      .product-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

       .option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.option-item:hover {
    border-color: #502314;
    background: rgba(43, 26, 18, 0.02);
}

.option-item.selected {
    background: #502314;
    color:white;
}
.option-item.selected .option-label {
    color:white;
}
.option-item.selected .option-price {
    color:#EDE9DA;
}
.option-label {
    font-weight: 500;
    font-size: 1rem;
    color: #333;
    letter-spacing: 0.2px;
}

.option-price {
    font-weight: 600;
    font-size: 1.2rem;
    color: #502314;
    letter-spacing: -0.3px;
}

        /* This ensures that when JS adds the 'active' class, the menu shows */
        .nav-item.active .dropdown-menu {
            display: block;
        }

        /* Modal for options */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 10000;
            align-items: center;
            justify-content: center;
        }

        /* House of Tayla Banner */
/* House of Tayla Banner */
.tayla-banner {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 4rem;
    overflow: hidden;
}

.tayla-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(80,35,20,0.6));
    z-index: 1;
}

.tayla-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 5rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 10;
    text-align: center;
}

@media (max-width: 768px) {
    .tayla-banner {
        height: 350px;
    }
    
    .banner-text {
        font-size: 3rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 768px) {
    .tayla-banner {
        margin-bottom: 2rem;
    }
    
    .banner-text {
        font-size: 2rem;
    }
}

.banner-text {
    text-shadow: none;
}

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        }

        .modal-header {
            font-size: 1.5rem;
            font-weight: 700;
            color: #502314;
            margin-bottom: 1rem;
        }

        .modal-close {
            float: right;
            font-size: 1.5rem;
            cursor: pointer;
            color: #999;
            transition: color 0.3s;
        }

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

        .modal-footer {
            margin-top: 1.5rem;
            display: flex;
            gap: 1rem;
        }

        .modal-btn {
            flex: 1;
            padding: 0.8rem;
            border: none;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .modal-btn-cancel {
            background: #ecf0f1;
            color: #333;
        }

        .modal-btn-cancel:hover {
            background: #bdc3c7;
        }

        .modal-btn-add {
            background: linear-gradient(135deg, #C45200, #502314);
            color: white;
        }

        .modal-btn-add:hover {
            transform: scale(1.05);
        }

        /* Ensure the inner wrapper also allows the dropdown to hang over the edge */
        .category-nav-inner {
            display: flex;
            max-width: 1400px;
            margin: 0 auto;
            justify-content: center;
            overflow: visible; /* Crucial for dropdown visibility */
        }

        /* Give the dropdown a high z-index and ensure it's positioned correctly */
        .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%; /* Sits right at the bottom of the parent */
            left: 0;
            background: white;
            box-shadow: 0 8px 16px rgba(0,0,0,0.15);
            min-width: 220px;
            z-index: 1001; /* Higher than the nav bar */
        }

        /* This class is toggled by your JS */
        .nav-item.active .dropdown-menu {
            display: block !important;
        }

        /* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.cart-modal.active {
    display: block;
}

.cart-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cart-modal-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.3s ease-out;
}

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

.cart-header {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #502314 0%, #6B2E1A 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cart-header {
    background: #502314;
    box-shadow: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.cart-item-remove {
    background: transparent;
    color: #999;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

.cart-item-remove:hover {
    color: #502314;
    border-color: #502314;
}

.cart-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.cart-close {
    background: none;
    border: none;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, color 0.3s;
    line-height: 1;
}

.cart-close:hover {
    transform: rotate(90deg);
    color: #C45200;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background: #EDE9DA;
}

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

.empty-cart p {
    font-size: 1.3rem;
    margin: 1.5rem 0;
    color: #666;
    line-height: 1.6;
}

.empty-cart-subtitle {
    font-size: 0.9rem !important;
    color: #999 !important;
}

.cart-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

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

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #502314;
    margin-bottom: 0.3rem;
}

.cart-item-size {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #C45200;
}

.cart-item-remove {
    background: transparent;
    color:#502314;
    border:1px solid rgba(0,0,0,0.15);
}
.cart-item-remove:hover {
    background:#502314;
    color:white;
}

.cart-footer {
    padding: 2rem;
    border-top: 2px solid #EDE9DA;
    background: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #502314;
}

.total-price {
    color: #C45200;
    font-size: 2rem;
}

.checkout-btn {
    width: 100%;
    padding: 1.3rem;
    background: #502314;
    color: white;
    border: 1px solid #502314;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    letter-spacing: 0.3px;
    font-family: "Cormorant Garamond", serif;
}

.checkout-btn:hover {
    opacity: 0.85;
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .cart-modal-content {
        width: 100%;
    }
    
    .cart-header {
        padding: 1.5rem;
    }
    
    .cart-header h2 {
        font-size: 1.5rem;
    }
    
    .cart-body {
        padding: 1rem;
    }
    
    .cart-item {
        padding: 1rem;
    }
    
    .cart-item-name {
        font-size: 1rem;
    }
    
    .cart-item-price {
        font-size: 1.1rem;
    }
    
    .total-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .cart-footer {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

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

    .checkout-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .category-nav {
        overflow-x: visible;
    }

    .category-nav-inner {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .category-nav .nav-link {
        padding: 0.6rem 0.9rem;
        font-size: 0.8rem;
        border-radius: 20px;
    }

    .nav-item {
        margin: 0.2rem;
    }
}

@media (max-width: 768px) {
    .category-nav {
        overflow-x: visible;
    }

    .category-nav-inner {
        display: flex;
        flex-wrap: wrap;              /* 👈 THIS IS THE KEY */
        justify-content: center;
        row-gap: 0.6rem;
        column-gap: 0.4rem;
        width: 100%;
    }

    .nav-item {
        flex: 0 0 auto;
    }

    .category-nav .nav-link {
        padding: 0.6rem 0.9rem;
        font-size: 0.8rem;
        border-radius: 20px;
        white-space: nowrap;
    }
}

@media (min-width: 769px) {
    .has-dropdown:hover > .dropdown-menu {
        display: block;
    }

    .has-dropdown {
        position: relative;
    }

    .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    z-index: 2000;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 8px;        /* ← ADD THIS */
    overflow: hidden;           /* ← ADD THIS */
}
}

@media (max-width: 768px) {
    .category-nav-inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 👈 3 per row */
        gap: 0.4rem; /* tighter spacing */
        width: 100%;
        padding: 0.5rem;
    }

    .nav-item {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .category-nav .nav-link {
        padding: 0.45rem 0.6rem;   /* 👈 smaller */
        font-size: 0.75rem;       /* 👈 tighter */
        border-radius: 14px;
        text-align: center;
        line-height: 1.2;
    }
}

@media (max-width: 768px) {
    .has-dropdown > .nav-link::after {
        content: " ▾";
        font-size: 0.65rem;
    }
}

.logo img {
    display: block;
    height: auto;
    max-height: 300px;
}

@media (max-width: 768px) {
    header {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }
}

.logo img {
    height: 78px;        /* 👈 desktop size */
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo img {
        height: 52px;    /* 👈 mobile size */
    }
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.category-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 900;
    background: white;
}

/* ===============================
   EVENT CATERING FORM
================================ */

.catering-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.catering-form input,
.catering-form select,
.catering-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    border-radius: 10px;
    border: 2px solid #e8e8e8;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: all 0.3s ease;
}

.catering-form input:focus,
.catering-form select:focus,
.catering-form textarea:focus {
    outline: none;
    border-color: #C45200;
    box-shadow: 0 0 0 3px rgba(196, 82, 0, 0.1);
    transform: translateY(-1px);
}

.catering-form textarea {
    resize: vertical;
    min-height: 120px;
}

.catering-form button {
    margin-top: 0.5rem;
}

/* Mobile tuning */
@media (max-width: 768px) {
    .catering-form {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .catering-form input,
    .catering-form select,
    .catering-form textarea {
        font-size: 0.9rem;
        padding: 0.75rem 0.9rem;
    }
}

.product-header {
    background: transparent;
    padding: 1.5rem 1.5rem 0.5rem;
    text-align: center;
    position: relative;
}

.product-name {
    font-size: 1.8rem;
    font-weight: 500;
    color: #502314;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    main {
        padding: 2.5rem 1.5rem;
    }
    
    .section {
        margin-bottom: 4rem;
    }
    
    .page-title {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }
    
    .subsection-title {
        font-size: 1.75rem;
        margin: 2.5rem 0 1.5rem;
    }
    
    .product-grid {
        gap: 2rem;
    }
    
    .product-info {
        padding: 1.5rem;
    }
}

/* Mobile Navigation Refinements */
@media (max-width: 768px) {
    
    /* Header blur on mobile */
    header {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    /* Category nav blur on mobile */
    .category-nav {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    /* Refine mobile nav links */
    .category-nav .nav-link {
        font-size: 0.75rem;
        letter-spacing: 0.8px;
        padding: 0.6rem 0.9rem;
    }
    
    /* Mobile dropdown - enhance the existing styles */
    .dropdown-menu {
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
}
    
    /* Mobile dropdown links - subtle left border */
    .dropdown-menu a {
        border-left: 3px solid transparent !important;
        transition: all 0.2s ease !important;
    }
    
    .dropdown-menu a:active {
        background: #C45200 !important;
        color: white !important;
        border-left-color: #502314 !important;
    }
}

@media (max-width: 768px) {
    .product-image {
        height: 280px;
    }
    
    footer {
        padding: 2.5rem 1.5rem;
        margin-top: 4rem;
    }
}

/* ===== COMPACT HEADER ===== */

header{
    padding: 0.35rem 1.5rem;
}

.top-nav{
    margin-bottom: 0.25rem;
}

/* smaller logo */
.logo img{
    height: 46px;
}

/* mobile */
@media (max-width:768px){
    header{
        padding: 0.25rem 1rem;
    }

    .logo img{
        height: 34px;
    }
}

header {
    background-color: #003200;
}

footer {
    background-color: #003200;
}

.banner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: auto;
}

.tayla-banner {
    position: relative;
}

.banner-logo {
    width: 50px;
    height: 40px;/* adjust to taste */
}

.top-nav {
    padding: 20px 30px; /* increase as needed */
    height: 2.5rem;
}