/* MODERN BAKERY FONTS & THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Inter', sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#fbf9f6; 
    color:#2c2520;      
    overflow-x: hidden;
    width: 100%;
}

/* LANDING LOADER WITH CINEMATIC KINETIC EFFECTS */
#loader {
    position: fixed;
    inset: 0;
    background: #fbf9f6;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
}

.loader-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    font-style: italic;
    color: #c49a6c;
    text-align: center;
    padding: 0 20px;
    animation: cinematicEntrance 2.2s ease-in-out infinite;
}

@keyframes cinematicEntrance {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
        letter-spacing: 1px;
        color: #c49a6c;
    }
    40% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: 3px;
        color: #b08354;
    }
    60% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: 3px;
        color: #b08354;
    }
    100% {
        opacity: 0;
        transform: translateY(-10px) scale(1.02);
        letter-spacing: 4px;
        color: #2c2520;
    }
}

/* INTERSECTION OBSERVER ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* HEADER & NAVIGATION */
header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background: rgba(253, 251, 248, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(44, 37, 32, 0.05);
    z-index:1000;
    display: flex;
    flex-direction: column;
}

/* GLOBAL PERSISTENT TOP ALERT BANNER */
.status-badge {
    width: 100%;
    padding: 10px 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.4s ease;
}
.status-badge.open { 
    background: #e6f4ea; 
    color: #137333; 
    border-bottom: 1px solid rgba(19, 115, 51, 0.06);
}
.status-badge.closed { 
    background: #fce8e6; 
    color: #c5221f; 
    border-bottom: 1px solid rgba(197, 34, 31, 0.06);
}

.navbar{
    max-width:1200px;
    width: 100%;
    margin:auto;
    padding:16px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo{
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #2c2520;
    line-height: 1.1;
}

.logo-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #c49a6c;
    letter-spacing: 0.8px;
    font-weight: 500;
    margin-top: 2px;
}

.nav-right-wrapper{
    display:flex;
    align-items:center;
    gap:24px;
}

/* PREMIUM MODERN HAMBURGER MENU BUTTON */
.menu-btn{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: transform 0.2s ease;
}
.menu-btn .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #2c2520;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 2px;
}
.menu-btn .bar:last-child {
    width: 65%;
    margin-left: auto;
}
.menu-btn:hover .bar:last-child {
    width: 100%;
}
.menu-btn:hover {
    transform: scale(1.05);
}

/* HIGH-END INTERACTIVE DRAWER SIDEBAR */
.nav-links{
    display: flex;
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: rgba(251, 249, 246, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 45px; 
    gap: 24px; 
    list-style: none;
    overflow-y: auto;
    z-index: 5000;
    box-shadow: -20px 0 50px rgba(44, 37, 32, 0.06);
    border-left: 1px solid rgba(44, 37, 32, 0.05);
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-links.active{
    right: 0;
}

.nav-item {
    position: relative; 
    width: 100%;
}

.nav-links a{
    text-decoration:none;
    color:#2c2520;
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 400;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.nav-links a:hover {
    color: #c49a6c;
    transform: translateX(4px);
}

.caret {
    font-size: 10px;
    margin-left: auto;
    color: #c49a6c;
    transition: transform 0.3s ease;
}

/* SIDE BAR DRAWER ACCORDION DROP DOWN SYSTEM */
.dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    background: transparent;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    visibility: visible;
    opacity: 1;
    list-style: none;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-item.open .dropdown-menu {
    max-height: 600px; 
    padding: 10px 0 6px 14px;
}
.nav-item.open .caret { 
    transform: rotate(180deg); 
}

.dropdown-menu a {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #6e655f;
    padding: 8px 0;
}

.dropdown-menu a:hover {
    background: transparent;
    color: #c49a6c;
    transform: translateX(6px);
}

.nav-links .close-menu-btn {
    display: block;
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 22px;
    cursor: pointer;
    background: none;
    border: none;
    color: #2c2520;
    transition: transform 0.2s, color 0.2s;
}
.nav-links .close-menu-btn:hover {
    transform: scale(1.15) rotate(90deg);
    color: #c49a6c;
}

/* CART TRIGGER BUTTON & BADGE */
.cart-btn-trigger{
    font-size:20px;
    background:none;
    border:none;
    cursor:pointer;
    position:relative;
    transition: transform 0.2s;
}
.cart-btn-trigger:hover {
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #c49a6c;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    display: none;
}

/* STATIC HERO BANNER */
.hero{
    margin-top:135px;
    height: auto;
    min-height: 75vh;
    position:relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-banner{
    width: 100%;
    max-width: 1100px;
    height: 500px;
    display: flex;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(44, 37, 32, 0.04);
    overflow: hidden;
}

.hero-content {
    flex: 1.1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    background: #fff;
}

.hero-tagline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c49a6c;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-content h1{
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 400;
    color: #2c2520;
}

.hero-content p{
    font-size: 1.05rem;
    line-height: 1.6;
    color: #6e655f;
}

.hero-img-wrapper {
    flex: 0.9;
    background: #fdfbf9;
    overflow: hidden;
}

.hero-img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.btn{
    display:inline-block;
    margin-top:30px;
    padding:16px 36px;
    background:#2c2520;
    color:#fff;
    text-decoration:none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #c49a6c;
}

/* FILTER PILLS & NEW FILTER DRAWER CONTROLS */
.filter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-pill {
    background: transparent;
    border: 1px solid rgba(44, 37, 32, 0.15);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    color: #6e655f;
    transition: all 0.3s;
}

.filter-pill.active, .filter-pill:hover {
    background: #2c2520;
    color: #fff;
    border-color: #2c2520;
}

/* COLLAPSIBLE DRAWER SIDEBAR STYLE ELEMENTS */
.sidebar-overlay-drawer {
    position: fixed;
    inset: 0;
    background: rgba(44, 37, 32, 0.4);
    backdrop-filter: blur(2px);
    z-index: 8000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.sidebar-overlay-drawer.active {
    opacity: 1;
    pointer-events: auto;
}
.sidebar-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: 5px 0 30px rgba(0,0,0,0.05);
    z-index: 8500;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.sidebar-drawer.active {
    left: 0;
}
.sidebar-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(44, 37, 32, 0.08);
    padding-bottom: 15px;
}
.sidebar-drawer-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
}
.close-drawer-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
.drawer-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.drawer-filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #8c827a;
    letter-spacing: 0.5px;
}
.drawer-filter-group input, .drawer-filter-group select {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(44, 37, 32, 0.15);
    background: #fbf9f6;
    font-size: 0.95rem;
    outline: none;
}

/* MOBILE-FRIENDLY 2x2 PRODUCT GRID LAYOUT WITH ENFORCED IMAGE COVERS */
.products{
    max-width:1200px;
    margin:auto;
    padding:120px 20px;
    width: 100%;
}

.section-title{
    font-family: 'Playfair Display', serif;
    text-align:center;
    margin-bottom:20px;
    font-size:2.6rem;
    font-weight: 400;
}

.carousel-wrapper{
    position:relative;
    width: 100%;
}

.product-carousel{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap:30px;
    padding:15px 5px;
    min-height: 480px;
    width: 100%;
}

.product-card{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow: 0 20px 40px rgba(44, 37, 32, 0.03);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s, opacity 0.4s;
    display: flex;
    flex-direction: column;
}

.product-card.hidden {
    display: none !important;
    opacity: 0;
}

.product-card:hover{
    transform:translateY(-6px);
    box-shadow: 0 30px 50px rgba(44, 37, 32, 0.06);
}

/* Enforced Container for Image Frame sizing constraint */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    background: #f5f1ea;
    overflow: hidden;
}

.product-card img{
    width:100%;
    height:100%;
    object-fit:cover; /* Scale uniformly without warp */
    object-position: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card img.img-loaded {
    opacity: 1;
}

/* PULSING SKELETON LAYER DEFINITION */
.skeleton-pulse {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f5f1ea 25%, #ede6db 50%, #f5f1ea 75%);
    background-size: 200% 100%;
    animation: pulseAnimation 1.5s infinite;
    z-index: 1;
}

@keyframes pulseAnimation {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.product-info{
    padding:25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3{
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom:8px;
}

.product-info p {
    font-size: 0.9rem;
    color: #6e655f;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.price{
    font-size:1.15rem;
    font-weight:600;
    margin:20px 0 15px 0;
    color: #c49a6c;
}

.btn-small{
    display:block;
    text-align: center;
    padding:12px 20px;
    background: transparent;
    color:#2c2520;
    border: 1px solid #2c2520;
    text-decoration:none;
    border-radius:4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
    cursor: pointer;
    margin-top: auto; /* Push down cleanly */
}

.btn-small:hover {
    background: #2c2520;
    color: #fff;
}

.carousel-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:48px;
    height:48px;
    border:1px solid rgba(44, 37, 32, 0.1);
    border-radius:50%;
    cursor:pointer;
    background:#fff;
    box-shadow:0 10px 20px rgba(0,0,0,.03);
    font-size:16px;
    z-index:5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.carousel-btn:hover {
    background: #2c2520;
    color: #fff;
}

.left{ left:-20px; }
.right{ right:-20px; }

/* VISUAL DYNAMIC CAKE BUILDER STYLE SHEET */
.cake-builder-section {
    background: #fff;
    padding: 120px 20px;
    border-top: 1px solid rgba(44, 37, 32, 0.05);
}
.cake-builder-container {
    max-width: 1100px;
    margin: 40px auto 0 auto;
    display: flex;
    gap: 60px;
    background: #fbf9f6;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(44, 37, 32, 0.02);
}
/* Left interactive workspace */
.cake-visualizer-panel {
    flex: 1;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(44, 37, 32, 0.05);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 480px;
    position: relative;
    padding-bottom: 60px;
}
.cake-stand {
    position: absolute;
    bottom: 30px;
    width: 260px;
    height: 16px;
    background: #e0d9d0;
    border-radius: 4px;
    z-index: 1;
}
.cake-stand::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: #cdbfae;
}
/* Cake Layer Graphics */
.cake-layer {
    position: absolute;
    border-radius: 12px 12px 4px 4px;
    transition: background-color 0.4s ease, transform 0.4s ease, opacity 0.3s;
    box-shadow: inset 0 -15px 20px rgba(0,0,0,0.06), 0 8px 20px rgba(44, 37, 32, 0.04);
    z-index: 2;
}
.layer-bottom {
    bottom: 46px;
    width: 220px;
    height: 120px;
    background-color: #f7ede2; /* Default Cream */
}
.layer-top {
    bottom: 166px;
    width: 150px;
    height: 100px;
    background-color: #f7ede2;
    transform: scale(0);
    opacity: 0;
    transform-origin: bottom center;
}
.layer-top.active-tier {
    transform: scale(1);
    opacity: 1;
}
/* Visual Toppings Layering */
.topping-graphic {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.8) translateX(-50%);
    transition: all 0.4s ease;
    font-size: 24px;
    text-align: center;
    left: 50%;
}
.topping-graphic.active-topping {
    opacity: 1;
    transform: scale(1) translateX(-50%);
}
.topping-berries-bottom { bottom: 154px; width: 220px; font-size: 20px; letter-spacing: 2px;}
.topping-berries-top { bottom: 254px; width: 150px; font-size: 16px; letter-spacing: 1px;}
.topping-flowers { bottom: 55px; width: 200px; display: flex; justify-content: space-between; padding: 0 10px; transform: scale(0.8) translateX(-62%);}
.topping-flowers.active-topping { transform: scale(1) translateX(-50%); }
.topping-gold-bottom { bottom: 46px; width: 220px; height: 120px; border: 2px dashed rgba(212, 175, 55, 0); border-radius: inherit;}
.topping-gold-bottom.active-topping { border: 2px dashed rgba(212,175,55,0.6); background: rgba(255, 223, 0, 0.03); }
.topping-gold-top { bottom: 166px; width: 150px; height: 100px; border: 2px dashed rgba(212, 175, 55, 0); border-radius: inherit;}
.topping-gold-top.active-topping { border: 2px dashed rgba(212,175,55,0.6); background: rgba(255, 223, 0, 0.03); }

/* Character Avatar Graphic Overlay */
.topping-character {
    bottom: 172px;
    font-size: 38px;
    z-index: 6;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}
.topping-character.at-top {
    bottom: 272px;
}

/* Right Configuration controls Panel */
.cake-controls-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.config-group {
    margin-bottom: 22px;
}
.config-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8c827a;
    margin-bottom: 10px;
}
.config-options-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.config-btn {
    background: #fff;
    border: 1px solid rgba(44, 37, 32, 0.12);
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c2520;
    transition: all 0.2s;
}
.config-btn.active, .config-btn:hover {
    border-color: #c49a6c;
    background: #fdfbf9;
    color: #c49a6c;
}
/* Color Spec Swatches */
.swatch-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.swatch-btn.active {
    border-color: #2c2520;
    transform: scale(1.1);
}

/* Dynamic Input Field for Custom Themes */
.custom-theme-input-box {
    width: 100%;
    margin-top: 12px;
    display: none;
    animation: fadeIn 0.3s ease forwards;
}
.custom-theme-input-box.visible {
    display: block;
}
.custom-theme-input-box input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid rgba(44, 37, 32, 0.18);
    font-size: 0.95rem;
    outline: none;
    color: #2c2520;
    background: #fff;
    transition: border-color 0.2s;
}
.custom-theme-input-box input:focus {
    border-color: #c49a6c;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* QUICK VIEW MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 37, 32, 0.4);
    backdrop-filter: blur(4px);
    z-index: 5000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-card {
    background: #fff;
    width: 100%;
    max-width: 750px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}
.modal-overlay.active .modal-card {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 2;
}
.modal-img {
    flex: 1;
    min-height: 400px;
}
.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-body {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.modal-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 10px;
}
.modal-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
.tag {
    font-size: 0.75rem;
    background: #f5f1ea;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
    color: #6e655f;
}
.modal-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6e655f;
    margin-bottom: 25px;
}
.modal-options {
    margin-bottom: 25px;
}
.modal-options label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.modal-select {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(44, 37, 32, 0.15);
    background: #fff;
    font-size: 0.95rem;
    outline: none;
}

/* FEATURES */
.features{
    background:#f5f1ea;
    padding:100px 20px;
}

.feature-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:40px;
}

.feature {
    background:transparent;
    padding:20px;
    text-align:center;
}

.feature h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.feature p {
    color: #6e655f;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA */
.cta{
    text-align:center;
    padding:140px 20px;
    background: #fff;
}

.cta h2{
    font-family: 'Playfair Display', serif;
    font-size:3rem;
    font-weight: 400;
    margin-bottom:20px;
}

.cta p {
    color: #6e655f;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* FOOTER */
footer{
    background:#2c2520;
    color:#fbf9f6;
    text-align:center;
    padding:40px 20px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

/* SHOPPING CART OVERLAY */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 37, 32, 0.3);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 500px;
    max-height: 85vh;
    background: #fff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -20px 50px rgba(44, 37, 32, 0.1);
    z-index: 2000;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cart-popup.active {
    transform: translateY(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(44, 37, 32, 0.1);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.cart-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
}

.close-cart {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #2c2520;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 10px;
}

.cart-empty-msg {
    margin: auto;
    color: #6e655f;
}

.cart-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fbf9f6;
    padding: 12px 20px;
    border-radius: 8px;
}
.cart-row-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cart-row-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.cart-item-title {
    font-weight: 600;
    font-size: 0.95rem;
}
.cart-item-meta {
    font-size: 0.8rem;
    color: #8c827a;
    margin-top: 2px;
}
.cart-row-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(44, 37, 32, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}
.qty-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
}
.cart-item-price {
    font-weight: 600;
    min-width: 75px;
    text-align: right;
}
.remove-cart-item {
    background: none;
    border: none;
    color: #c5221f;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
    transition: transform 0.2s;
}
.remove-cart-item:hover {
    transform: scale(1.15);
}

.cart-footer {
    border-top: 1px solid rgba(44, 37, 32, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-container {
    font-size: 1.1rem;
    font-weight: 500;
}
.total-price {
    font-weight: 600;
    color: #c49a6c;
    font-size: 1.3rem;
    margin-left: 5px;
}

.cart-footer .btn {
    margin-top: 0;
    width: 150px;
    text-align: center;
}

/* MOBILE RESPONSIVE DESIGN ENHANCEMENTS */
@media(max-width:768px){
header {
    position: fixed; 
}
.nav-links{
    width: 100vw;
    right: -100vw;
    align-items: center;
    padding: 110px 24px 80px 24px; 
    text-align: center;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.nav-links a {
    font-size: 1.6rem;
    justify-content: center; 
    width: 100%;
}
.nav-links a:hover {
    transform: none;
}
.caret {
    margin-left: 8px;
}
.nav-item.open .dropdown-menu {
    padding: 10px 0; 
    width: 100%;
}
.dropdown-menu a {
    font-size: 1.05rem;
    text-align: center;
    display: flex;
    justify-content: center; 
    width: 100%;
}
.dropdown-menu a:hover {
    transform: scale(1.02);
}
.nav-links .close-menu-btn {
    font-size: 26px;
    top: 24px;
    right: 24px;
}
.hero { margin-top: 110px; padding: 20px 10px; }
.hero-banner { flex-direction: column-reverse; height: auto; min-height: 550px; }
.hero-content{ padding: 30px 20px; flex: 1.2; }
.hero-img-wrapper { flex: 0.8; min-height: 250px; }
.hero-content h1{ font-size:2.2rem; margin-bottom: 12px; }
.hero-content p { font-size: 0.95rem; }
.btn { margin-top: 20px; padding: 14px 28px; }
.carousel-btn{ display:none; }

.products {
    padding: 60px 10px;
}
/* 2x2 Clean Mobile Layout Split without side-scrolling */
.product-carousel {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 5px 0;
    width: 100%;
}
.product-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
.card-image-wrapper {
    height: 150px !important; 
}
.product-info {
    padding: 10px !important;
}
.product-info h3 {
    font-size: 0.95rem !important;
}
.product-info p {
    display: none !important; 
}
.price {
    margin: 8px 0 !important;
    font-size: 0.9rem !important;
}
.btn-small {
    padding: 8px 6px !important;
    font-size: 0.75rem !important;
    width: 100%;
}

.cake-builder-container { flex-direction: column; padding: 20px; gap: 30px;}
.modal-card { flex-direction: column; max-height: 90vh; overflow-y: auto; }
.modal-img { min-height: 200px; }
.modal-body { padding: 25px; }
}