html {
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    margin: 0;
    background-color: #F6F5F2; /* Lightest cream */
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

header {
    background-color: #F0EBE3; /* Cream */
    display: flex;
    justify-content: center;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    height: 70px;
    overflow: visible; /* Allow dropdown to extend beyond header */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    overflow: visible; /* Allow dropdown to extend beyond nav */
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #C77398; /* Mauve Pink */
    font-weight: bold;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon-container {
    position: relative;
    cursor: pointer;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #C77398;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.menu-section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #F6F5F2;
}

.menu-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.menu-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.menu-item {
    background-color: #FFFFFF;
    border-radius: 15px;
    border: 1px solid #F0EBE3;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    width: 300px;
    height: 480px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-content {
    padding: 1rem 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    height: calc(480px - 200px - 80px);
    overflow: hidden;
    box-sizing: border-box;
}

.menu-item h3 {
    font-size: 1.5rem;
    color: #C77398; /* Mauve Pink */
    margin: 0 0 0.25rem;
}

.menu-item p {
    font-size: 1rem;
    padding: 0;
    color: #666;
    margin: 0;
}

.dessert-type {
    font-size: 1rem;
    color: #888;
    margin-bottom: 0.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ingredients {
    font-size: 0.85rem;
    color: #555;
    padding: 0;
    height: 40px;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    line-height: 1.2;
    flex: 1;
}



.about-section {
    padding: 4rem 2rem;
    background-color: #F0EBE3; /* Cream */
    text-align: center;
}

.about-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.contact-section {
    padding: 4rem 2rem;
    background-color: #F6F5F2;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info {
    color: #555;
    line-height: 1.8;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.btn {
    background-color: #C77398; /* Mauve Pink */
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover:not(:disabled) {
    background-color: #b36889;
}

.btn:disabled {
    background-color: #e0b8c6;
    cursor: not-allowed;
}

.btn-order {
    display: block;
    margin: 1rem 1rem 1rem;
    background-color: #C77398; /* Mauve Pink */
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: calc(100% - 2rem);
    text-align: center;
    box-sizing: border-box;
}

.btn-order:hover {
    background-color: #b36889;
    transform: scale(1.05);
}

.faq-section {
    padding: 4rem 2rem;
    background-color: #F0EBE3; /* Cream */
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    background-color: #fff;
    color: #555;
    cursor: pointer;
    padding: 1.2rem;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover, .faq-question.active {
    background-color: #FFEFEF; /* Light Pink */
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #C77398; /* Mauve Pink */
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.2rem;
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    border-radius: 0 0 8px 8px;
}

.faq-answer p {
    padding: 1.2rem 0;
    margin: 0;
}

footer {
    background-color: #F0EBE3; /* Cream */
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid #e0d9d1;
}

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

.logo-placeholder {
    font-size: 1.8rem;
    font-weight: bold;
    color: #C77398;
}

.store-hours h3 {
    color: #C77398;
    margin-bottom: 0.5rem;
}

.store-hours p {
    margin: 0.25rem 0;
}

.copyright {
    font-size: 0.9rem;
    color: #555;
}

/* Scroll Down Arrow Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    opacity: 0;
    animation: fadeInFromTop 1s 1s ease-out forwards;
}

.scroll-down-indicator span {
    position: absolute;
    width: 20px;
    height: 20px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(-45deg);
    animation: bounce-arrow 2s infinite 2s;
}

@keyframes fadeInFromTop {
    0% {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(-45deg) translateY(0);
    }
    40% {
        transform: rotate(-45deg) translateY(-8px);
    }
    60% {
        transform: rotate(-45deg) translateY(-4px);
    }
}

.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Only apply animation effects if JavaScript successfully marks element as observed */
.animate-on-scroll.fade-in-ready {
    opacity: 0;
    transform: translateY(20px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #C77398;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Store Page Specific */
.order-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    box-sizing: border-box;
    height: 80px;
    border-top: 1px solid #f0f0f0;
    background-color: #fafafa;
}

.quantity-input {
    width: 60px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.btn-add-to-cart {
    flex-grow: 1;
}

/* Buy Now Button for Direct Payment Links */
.btn-buy-now {
    flex-grow: 1;
    background: linear-gradient(135deg, #E8A87C 0%, #C38D5A 100%);
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-buy-now:hover {
    background: linear-gradient(135deg, #C38D5A 0%, #E8A87C 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-decoration: none;
    color: white;
}

.btn-buy-now:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Quantity Display for Direct Payment Items */
.quantity-display {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-bottom: 8px;
    text-align: center;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    opacity: 0;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-modal.show {
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.cart-modal.fade-in {
    display: block;
    visibility: visible;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0);
    animation: cartFadeIn 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cart-modal.fade-out {
    animation: cartFadeOut 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cartFadeIn {
    from {
        opacity: 0;
        background-color: rgba(0, 0, 0, 0);
        transform: scale(1.01);
    }
    to {
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.5);
        transform: scale(1);
    }
}

@keyframes cartFadeOut {
    from {
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.5);
        transform: scale(1);
    }
    to {
        opacity: 0;
        background-color: rgba(0, 0, 0, 0);
        transform: scale(0.98);
    }
}

.cart-modal-content {
    background-color: #fefefe;
    position: fixed;
    top: 0;
    right: -450px; /* Start off-screen */
    width: 100%;
    max-width: 400px;
    height: 100%;
    padding: 2.5rem 1.5rem;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
}

.cart-modal.show .cart-modal-content {
    right: 0; /* Slide in */
}

.close-cart-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-cart-btn:hover {
    color: #333;
}

.cart-modal-content h2 {
    margin: 0 0 2rem;
    color: #C77398;
    font-size: 1.8rem;
    font-weight: 300;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.cart-modal-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C77398, transparent);
}

#cart-items {
    flex-grow: 1;
    overflow-y: auto;
    margin-top: 0.5rem;
    padding-right: 8px;
}

#cart-items::-webkit-scrollbar {
    width: 6px;
}

#cart-items::-webkit-scrollbar-track {
    background: rgba(199, 115, 152, 0.1);
    border-radius: 3px;
}

#cart-items::-webkit-scrollbar-thumb {
    background: rgba(199, 115, 152, 0.3);
    border-radius: 3px;
}

#cart-items::-webkit-scrollbar-thumb:hover {
    background: rgba(199, 115, 152, 0.5);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.cart-summary {
    margin-top: 1.5rem;
    text-align: right;
}

#cart-total {
    font-weight: bold;
    font-size: 1.2rem;
}

#checkout-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 65px; /* Adjust based on header height */
        left: 0;
        background-color: #F0EBE3;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        box-shadow: 0 4px 4px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}


.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.2rem;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-radius: 0 0 8px 8px;
}

.faq-answer p {
    padding: 1rem 0;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.menu-item.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.menu-item.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.menu-item.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.menu-item.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }

/* Cart Icon */
.cart-icon-container {
    position: relative;
    cursor: pointer;
    margin-left: 2rem;
}

.cart-icon-container .fa-shopping-cart {
    font-size: 1.5rem;
    color: #C77398;
}

#cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #C77398;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Order Controls */
.order-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem 1rem;
    gap: 0.5rem;
}

.quantity-input {
    width: 60px;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-align: center;
}

.btn-add-to-cart {
    background: linear-gradient(135deg, #C77398 0%, #D4A5C2 50%, #E8D7E3 100%) !important;
    background-color: #C77398 !important;
    color: white !important;
    padding: 0.8rem 1rem;
    border: none !important;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(199, 115, 152, 0.3);
    box-sizing: border-box;
}

.btn-add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-add-to-cart::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 25%,
        transparent 50%,
        rgba(199, 115, 152, 0.1) 75%,
        rgba(199, 115, 152, 0.2) 100%
    );
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 12px;
}

.btn-add-to-cart:hover {
    transform: translateY(-1px) scale(1.005);
    background: linear-gradient(135deg, #D4A5C2 0%, #E8D7E3 50%, #F5EDF1 100%);
    box-shadow: 0 6px 20px rgba(199, 115, 152, 0.4), 
                0 0 15px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    margin-top: -1px;
    margin-bottom: 1px;
}

.btn-add-to-cart:hover::before {
    left: 100%;
}

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

.btn-add-to-cart:active {
    transform: translateY(0) scale(1.002);
    transition: all 0.1s ease;
    margin-top: 0;
    margin-bottom: 0;
}

/* Checkout Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    opacity: 0;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal.fade-out {
    opacity: 0;
    transform: scale(0.98);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.checkout-modal-content {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid #f8f9fa;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 300;
}

.modal-header .close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 30px 25px;
}

.form-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    color: #ff9a9e;
}

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

.form-row.three-col {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff9a9e;
    box-shadow: 0 0 0 3px rgba(255, 154, 158, 0.1);
}

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

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 25px;
    border-top: 2px solid #f8f9fa;
    margin-top: 30px;
}

.btn-secondary {
    background: transparent;
    color: #6c757d;
    border: 2px solid #dee2e6;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 154, 158, 0.3);
}

/* Responsive Design for Checkout Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1% auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-row.three-col {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(0px);
}

.cart-modal.show {
    display: block;
    background-color: rgba(199, 115, 152, 0.1);
    backdrop-filter: blur(8px);
}

.cart-modal-content {
    background: linear-gradient(135deg, #FFEFEF 0%, #F6F5F2 100%);
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    padding: 2rem 1.5rem;
    box-shadow: -8px 0 32px rgba(199, 115, 152, 0.15), -4px 0 16px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-left: 3px solid #C77398;
    overflow-y: auto;
    box-sizing: border-box;
}

.cart-modal.show .cart-modal-content {
    right: 0;
}

.close-cart-btn {
    color: #C77398;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(199, 115, 152, 0.15);
    margin: 0 0 1rem auto;
    flex-shrink: 0;
    border: 2px solid transparent;
    position: relative;
    z-index: 10;
}

.close-cart-btn:before {
    content: attr(aria-label);
    position: absolute;
    top: -35px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.close-cart-btn:hover {
    color: white;
    background: #C77398;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(199, 115, 152, 0.4);
    cursor: pointer;
    border-color: rgba(199, 115, 152, 0.3);
}

.close-cart-btn:hover:before {
    opacity: 1;
}

.close-cart-btn:active {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(199, 115, 152, 0.3);
    transition: all 0.1s ease;
}

.close-cart-btn:focus {
    outline: 2px solid #C77398;
    outline-offset: 2px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    gap: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(199, 115, 152, 0.08);
    border: 1px solid rgba(199, 115, 152, 0.1); 
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cart-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #C77398, #F3D0D7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(199, 115, 152, 0.15);
}

.cart-item:hover:before {
    opacity: 1;
}

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

.cart-item-details p {
    margin: 0 0 0.8rem 0;
}

.cart-item-details p strong {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(199, 115, 152, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(199, 115, 152, 0.1);
}

.quantity-btn {
    background: linear-gradient(135deg, #C77398, #b36889);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(199, 115, 152, 0.2);
}

.quantity-btn:hover {
    background: linear-gradient(135deg, #b36889, #a85d7d);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(199, 115, 152, 0.3);
}

.quantity-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(199, 115, 152, 0.2);
}

.quantity-display {
    font-weight: 700;
    min-width: 40px;
    text-align: center;
    font-size: 1.1rem;
    color: #C77398;
    background: white;
    padding: 0.5rem;
    border-radius: 6px;
    border: 2px solid rgba(199, 115, 152, 0.2);
    box-shadow: inset 0 1px 3px rgba(199, 115, 152, 0.1);
}

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

.cart-item-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.total-price {
    font-weight: bold;
    font-size: 1.1rem;
    color: #C77398;
}

.remove-btn {
    background: #ff4757;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.remove-btn:hover {
    background: #ff3838;
}

.remove-btn i {
    font-size: 0.8rem;
}

.empty-cart-message {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 3rem 2rem;
    margin: 0;
    font-size: 1.2rem;
    background: linear-gradient(135deg, rgba(199, 115, 152, 0.05) 0%, rgba(243, 208, 215, 0.08) 100%);
    border-radius: 12px;
    border: 2px dashed rgba(199, 115, 152, 0.2);
    position: relative;
}

.empty-cart-message:before {
    content: '🛒';
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.6;
}

/* Mobile responsive styles */
@media (max-width: 480px) {
    .cart-modal-content {
        max-width: 100%;
        padding: 1.5rem 1rem;
    }
    
    .cart-modal-content h2 {
        font-size: 1.5rem;
    }
    
    .cart-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .cart-item-controls {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .quantity-btn {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .quantity-display {
        min-width: 32px;
        padding: 0.25rem;
        font-size: 1rem;
    }
    
    .cart-summary {
        padding: 1rem;
        gap: 1rem;
    }
    
    .cart-summary p {
        font-size: 1.1rem;
    }
    
    .cart-summary p strong {
        font-size: 1.3rem;
    }
    
    #checkout-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        min-width: 140px;
        width: 100%;
        max-width: 200px;
    }
}

.cart-summary {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(199, 115, 152, 0.08) 0%, rgba(243, 208, 215, 0.12) 100%);
    border-radius: 12px;
    border: 1px solid rgba(199, 115, 152, 0.15);
    position: relative;
    z-index: 1;
}

.cart-summary p {
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    color: #333;
    text-align: center;
    width: 100%;
}

.cart-summary p strong {
    color: #C77398;
    font-size: 1.5rem;
    display: block;
    margin-top: 0.25rem;
}

#checkout-btn {
    background: linear-gradient(135deg, #C77398 0%, #b36889 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(199, 115, 152, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 160px;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
    text-align: center;
    position: relative;
    z-index: 2;
}

#checkout-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #b36889 0%, #a85d7d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 115, 152, 0.4);
}

#checkout-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(199, 115, 152, 0.3);
}

#checkout-btn:disabled {
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}



/* Responsive Navigation */
.order-controlsnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    width: 100%;
}



.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 60px; /* Adjust based on header height */
        background-color: #F0EBE3;
        width: 100%;
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 1rem 0;
    }

    .hamburger-menu {
        display: flex;
    }

    header {
        justify-content: space-between;
        padding: 0 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .contact-container {
        flex-direction: column;
    }
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-menu span {
    width: 2rem;
    height: 0.25rem;
    background-color: #C77398;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Hidden state for scroll arrow */
.scroll-down-indicator.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

/* ==== MODERN STORE INTERFACE STYLES ==== */

/* Store Hero Section */
.store-hero-section {
    background: linear-gradient(135deg, #C77398 0%, #D4A5C2 50%, #E8D7E3 100%);
    padding: 6rem 2rem 6rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#store-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.store-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(199, 115, 152, 0.4) 0%, rgba(212, 165, 194, 0.3) 50%, rgba(232, 215, 227, 0.2) 100%);
    z-index: 1;
}

.store-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.store-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.store-hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Store Scroll Indicator */
.store-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: block;
    text-align: center;
    width: auto;
    height: auto;
}

.scroll-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: block;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: solid #ffffff;
    border-width: 0 3px 3px 0;
    display: block;
    margin: 0 auto;
    padding: 3px;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    text-decoration: none;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Responsive adjustments for store scroll indicator */
@media (max-width: 768px) {
    .store-scroll-indicator {
        bottom: 1.5rem;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
    
    .scroll-arrow {
        width: 16px;
        height: 16px;
    }
}

/* Filters Section */
.filters-section {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 70px;
    z-index: 500;
    border-bottom: 2px solid #F0EBE3;
    overflow: hidden;
}

.filters-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

/* Search Bar */
.search-bar-container {
    flex: 1;
    min-width: 0; /* Allow flex item to shrink below content size */
}

.search-bar {
    position: relative;
    max-width: 400px;
    width: 100%; /* Ensure it takes full container width */
    box-sizing: border-box; /* Include padding in width calculation */
}

.search-bar i.fa-search {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 2;
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 2.5rem;
    border: 2px solid #E8E8E8;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
    min-width: 0;
}

.search-bar input:focus {
    outline: none;
    border-color: #C77398;
    box-shadow: 0 0 0 3px rgba(199, 115, 152, 0.1);
}

.clear-search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #C77398;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.clear-search-btn.show {
    opacity: 1;
    pointer-events: all;
}

.clear-search-btn:hover {
    background: #A5627D;
    transform: translateY(-50%) scale(1.1);
}

/* Category Filters */
.categories-container h3 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.category-filters {
    display: flex;
    gap: 0.5rem;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid #E8E8E8;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    white-space: nowrap;
}

.category-btn:hover {
    border-color: #C77398;
    color: #C77398;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(199, 115, 152, 0.2);
}

.category-btn.active {
    background: linear-gradient(135deg, #C77398, #D4A5C2);
    border-color: #C77398;
    color: white;
    box-shadow: 0 4px 12px rgba(199, 115, 152, 0.3);
}

.category-btn i {
    font-size: 0.9rem;
}

.category-btn .count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-btn.active .count {
    background: rgba(255, 255, 255, 0.3);
}

/* Sort Container */
.sort-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-container label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.sort-select {
    padding: 0.75rem 1rem;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.sort-select:focus {
    outline: none;
    border-color: #C77398;
    box-shadow: 0 0 0 3px rgba(199, 115, 152, 0.1);
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.results-header h2 {
    color: #333;
    font-size: 2rem;
    font-weight: 600;
}

.results-count {
    color: #666;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Video Hover Effect for Menu Items */
.media-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: #f5f5f5;
    /* Let the container adapt to content */
    aspect-ratio: 16/9;
}

.item-image, .item-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: opacity 0.3s ease;
}

.item-video {
    opacity: 0;
    pointer-events: none;
}

.video-item:hover .item-image {
    opacity: 0;
}

.video-item:hover .item-video {
    opacity: 1;
}

/* Ensure video doesn't interfere with other elements */
.video-item .item-video {
    z-index: 1;
}

.video-item .item-image {
    z-index: 2;
}

.video-item:hover .item-image {
    z-index: 1;
}

.video-item:hover .item-video {
    z-index: 2;
}

/* All menu items now use consistent media container structure */

/* Mobile Responsive for Store Interface */
/* Medium screens - prevent overlap between search and categories */
@media (max-width: 1024px) {
    .filters-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .search-bar {
        max-width: 100%;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .search-bar input {
        min-width: 200px; /* Minimum readable width */
        max-width: 100%;
    }
    
    .categories-container {
        order: 2;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .category-filters {
        justify-content: flex-start;
    }
    
    .sort-container {
        order: 3;
        justify-self: start;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .store-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .store-hero-content p {
        font-size: 1rem;
    }
    
    .filters-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .search-bar {
        max-width: 100%;
    }
    
    .category-filters {
        flex-wrap: wrap;
    }
    
    .results-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .filters-section {
        padding: 1rem;
    }
    
    .category-btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .sort-select {
        min-width: 120px;
        font-size: 0.8rem;
    }
}

/* Address Autocomplete & Verification Styles */
.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
}

.address-suggestion {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.address-suggestion:hover {
    background: #f8f9fa;
}

.address-suggestion:last-child {
    border-bottom: none;
}

.address-verification {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9em;
    display: none;
}

.address-verification.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-color: #28a745;
    color: #155724;
}

.address-verification.warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-color: #ffc107;
    color: #856404;
}

.address-verification.error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border-color: #dc3545;
    color: #721c24;
}

.address-verification.loading {
    background: linear-gradient(135deg, #cce7ff, #b3d9ff);
    border-color: #007bff;
    color: #004085;
    position: relative;
}

.address-verification.loading::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #007bff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Google Places Address Suggestions */
.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.address-suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
    font-size: 14px;
    color: #333;
}

.address-suggestion-item:hover {
    background-color: #f8f9fa;
}

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

.form-group {
    position: relative;
}

/* Loading spinner for address verification */
.address-loading {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ff6b9d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}
