* {
    box-sizing: border-box;
}

:root {
    --color-primary: #4B3621;
    --color-secondary: #6F4E37;
    --color-cream: #F5F5DC;
    --color-white: #FFFFFF;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
}



html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--color-cream);
    color: var(--color-primary);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}




h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

/* ... existing button styles ... */
.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.5px;
    font-family: var(--font-sans);
    font-weight: 700;
}

.btn:hover {
    background-color: var(--color-secondary);
}

/* --- UNIFIED NAVIGATION --- */
.hero-nav {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1300px;
    padding: 0 30px;
    box-sizing: border-box;
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(75, 54, 33, 0.95);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    height: 70px;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}







@media (min-width: 1024px) {
    .hero-nav {
        width: calc(100% - 80px);
        /* Larger margins for larger screens */
    }
}


@media (min-width: 769px) {
    .nav-logo {
        position: absolute;
        left: 40px;
    }

    .lang-selector {
        position: absolute;
        right: 40px;
        left: auto;
    }

    .lang-dropdown {
        left: auto;
        right: 0;
    }
}


/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative;
}

.split-pane {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.split-pane::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.split-pane::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 2;
    transition: opacity 0.4s ease;
}

.pane-menu::before {
    background-image: url('https://i.imgur.com/8MSDT5h.jpeg');
}

.pane-reserve::before {
    background-image: url('https://i.imgur.com/anabWfg.jpeg');
}

.pane-content {
    position: relative;
    z-index: 3;
    padding: 40px;
    max-width: 500px;
}

.pane-content h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--color-white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    font-family: var(--font-serif);
}

.pane-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--color-cream);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.pane-btn {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    transition: all 0.3s ease;
    background: transparent;
}


@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .split-pane {
        width: 100%;
        flex: none;
        height: 50vh;
    }

    .pane-content {
        padding: 20px;
        max-width: 90%;
    }

    .pane-content h2 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .pane-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .hero-nav {
        justify-content: space-between;
        top: 15px;
        left: 15px;
        right: 15px;
        width: auto;
        transform: none;
        padding: 0 20px;
        height: 60px;
        position: fixed;
        /* Explicitly ensure it's fixed */
    }

    .nav-links {
        top: 0 !important;
        /* Force top 0 for overlay */
    }
}

input[type="date"].form-control {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    min-height: 50px;
}



/* --- LANGUAGE SELECTOR --- */
.lang-selector {
    position: absolute;
    z-index: 1001;
}

.lang-current {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.lang-current:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    border-color: var(--color-white);
}

.lang-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    min-width: 100px;
    margin-top: 5px;
    border-radius: 4px;
    overflow: hidden;
}

.lang-selector.active .lang-dropdown {
    display: flex;
}

.lang-option {
    padding: 10px 15px;
    color: var(--color-cream);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-option img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-option:hover {
    background-color: var(--color-secondary);
}

.lang-option.active {
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

@media (max-width: 768px) {
    .lang-selector {
        position: static;
        order: -1;
        /* Keep it on the left */
        margin-right: 0;
    }

    .nav-logo {
        margin-left: 10px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 30px;
    /* Further reduced size */
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    margin: 0;
    display: flex;
    align-items: center;
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    height: 70px;
    z-index: 3100;
    /* Higher than .hero-nav's 3000 */
    pointer-events: none;
    /* Container doesn't block interactions */
}

.nav-links a {
    pointer-events: auto;
    /* Links are clickable */
    color: var(--color-cream);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

/* Highlighted Button Style */
.nav-links a.nav-btn-highlight {
    background-color: var(--color-white);
    color: var(--color-primary) !important;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-left: 1.5rem;
}

.nav-links a.nav-btn-highlight::after {
    display: none;
    /* No underline for button */
}

.nav-links a.nav-btn-highlight:hover {
    background-color: var(--color-secondary);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Active State for Highlighted Button */
.nav-links a.nav-btn-highlight.active {
    background-color: #FFF8E7;
    /* Even lighter cream */
    color: var(--color-primary) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* Mobile adjustments for highligted button */
@media (max-width: 768px) {
    .nav-links a.nav-btn-highlight {
        margin: 20px 0;
        width: 80%;
        max-width: 250px;
        font-size: 1.2rem;
        padding: 15px 20px;
        background-color: var(--color-secondary);
        color: var(--color-white) !important;
    }
}

/* Underline Animation */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--color-white);
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
    color: #FFF8E7;
    /* Ultra light cream active state */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Mobile Menu */
.burger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 3000;
}


.burger-line {
    width: 25px;
    height: 3px;
    background-color: var(--color-cream);
    transition: all 0.3s ease;
}

/* Mobile Nav Links Overlay */
@media (max-width: 768px) {

    /* Fix for background image stutter on mobile */
    body {
        background-attachment: scroll !important;
        background-position: center top !important;
    }

    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(75, 54, 33, 0.98);
        /* Slightly opaque */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-top: 0;
        margin: 0;
        z-index: 2500;
        transform: none;
        /* Reset desktop centering */
        pointer-events: none;
        /* Initially non-clickable when hidden */

        /* Animation & Visibility */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        /* Clickable when active */
    }

    .nav-links a {
        margin: 15px 0;
        font-size: 1.8rem;
        /* Slightly adjusted for elegance */
        width: 100%;
        text-align: center;
        letter-spacing: 4px;
        /* Increased spacing for premium feel */
        text-transform: uppercase;
        font-family: 'Montserrat', sans-serif;
        /* Elegant and modern */
        font-weight: 300;
        /* Light weight for sophistication */
    }



    /* Burger animation when active */
    .burger-menu.active .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* Page Headers for Carta and Contacto to support absolute nav */
.page-header {
    background-color: transparent;
    color: var(--color-primary);
    padding: 140px 20px 40px;
    /* Top padding increased for fixed floating nav, bottom reduced */
    text-align: center;
    position: relative;
}


.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--color-white);
    background-color: var(--color-secondary);
    display: inline-block;
    padding: 10px 40px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-header p {
    color: var(--color-primary);
    font-size: 1.2rem;
    opacity: 0.8;
}

/* --- FOOTER & SOCIALS --- */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-cream);
    padding: 60px 20px 40px;
    text-align: center;
    margin-top: 80px;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 20px;
        /* Reduced padding for mobile */
    }

    .page-header h1 {
        font-size: 2.2rem;
        padding: 10px 30px;
    }

    .page-header p {
        font-size: 1rem;
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: var(--color-cream);
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.social-link:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Contact Page Specific */
.contact-socials {
    margin-top: 30px;
}

.contact-socials h4 {
    margin-bottom: 15px;
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.contact-socials .social-links {
    justify-content: flex-start;
}

.contact-socials .social-link {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.contact-socials .social-link:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

/* --- REVIEWS SECTION --- */
.reviews-section {
    background-color: var(--color-cream);
    padding: 100px 20px 40px;
    /* Reduced bottom padding */
    text-align: center;
}

.reviews-header {
    margin-bottom: 60px;
}

.reviews-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.google-rating .stars {
    color: #FFD700;
    font-size: 1.2rem;
}

.google-rating span {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.review-content {
    font-style: italic;
    color: var(--color-primary);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
}

.review-content::before {
    content: '"';
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-secondary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--color-primary);
}

.review-stars {
    color: #FFD700;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* --- DELIVERY PLATFORMS --- */
.delivery-section {
    padding: 40px 20px 100px;
    /* Reduced top padding */
    background-color: var(--color-cream);
    border-top: 1px solid rgba(75, 54, 33, 0.05);
}

.delivery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.delivery-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.delivery-left h2 {
    font-size: 2.22rem;
    color: var(--color-primary);
    margin-bottom: 40px;
    text-align: left;
}

.delivery-grid {
    display: flex;
    gap: 30px;
}

.delivery-right {
    flex: 1;
}

.info-box {
    background-color: var(--color-primary);
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: none;
}

.info-box h3 {
    font-size: 1.8rem;
    color: var(--color-cream);
    margin-bottom: 20px;
    font-family: var(--font-serif);
}

.info-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-cream);
    font-family: var(--font-sans);
}

.delivery-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.delivery-card:hover {
    transform: translateY(-10px);
}

.delivery-icon-wrapper {
    width: 200px;
    height: 100px;
    background-color: var(--color-white);
    border: 1px solid rgba(75, 54, 33, 0.1);
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.delivery-card:hover .delivery-icon-wrapper {
    transform: scale(1.1);
}

.platform-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .delivery-container {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .delivery-left {
        align-items: center;
    }

    .delivery-left h2 {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .delivery-grid {
        justify-content: center;
        gap: 15px;
    }

    .delivery-icon-wrapper {
        width: 140px;
        /* Reduced to fit side-by-side */
        height: 70px;
        /* Maintain proportions */
    }

    .info-box {
        padding: 30px;
    }
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(74, 52, 39, 0.1);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fdfdfd;
    color: var(--color-primary);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 1px var(--color-secondary);
    background-color: var(--color-white);
}

.form-control::placeholder {
    color: #bbb;
    font-style: italic;
    font-weight: 300;
}

textarea.form-control {
    min-height: 140px;
    resize: none;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234a3427' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 45px;
}

/* Form Layout Grid */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
    width: 100%;
    /* Ensure it takes full card width */
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.order-section {
    background-color: var(--color-cream);
    padding: 20px 20px 100px;
    min-height: calc(100vh - 400px);
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.order-card {
    width: 100%;
    max-width: 750px;
    background-color: var(--color-white);
    padding: 60px;
    border-radius: 0;
    /* More boutique/serious look */
    box-shadow: 20px 20px 0px rgba(75, 54, 33, 0.03);
    border: 1px solid rgba(75, 54, 33, 0.05);
    position: relative;
    z-index: 1;
}

.order-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: 4px;
    background-color: var(--color-secondary);
}

.order-form .form-group {
    margin-bottom: 30px;
    width: 100%;
}

.order-form label {
    display: block;
    margin-bottom: 12px;
    font-weight: 400;
    color: var(--color-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-sans);
}

.price-display {
    margin-top: 20px;
    padding: 20px;
    background-color: #faf7f2;
    border-radius: 0;
    font-size: 1.3rem;
    color: var(--color-primary);
    font-family: var(--font-serif);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(75, 54, 33, 0.05);
    width: 100%;
}

.price-display span:last-child {
    font-weight: 700;
    color: var(--color-secondary);
}

#confirmBtn {
    width: 100%;
    margin-top: 30px;
    padding: 20px;
    opacity: 0.3;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: not-allowed;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

#confirmBtn.enabled {
    opacity: 1;
    cursor: pointer;
}

#confirmBtn.enabled:hover {
    background-color: transparent;
    color: var(--color-primary);
    letter-spacing: 5px;
}

/* --- PRODUCT SELECTION GRID --- */
.cake-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.cake-option-card {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: #faf7f2;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-sizing: border-box;
    position: relative;
}

.cake-option-card:hover {
    background-color: #f5eedf;
    transform: translateY(-2px);
}

.cake-option-card.selected {
    border-color: var(--color-secondary);
    background-color: var(--color-white);
    box-shadow: 0 5px 15px rgba(111, 78, 55, 0.1);
}

.cake-option-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--color-white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cake-option-info {
    flex: 1;
}

.cake-option-info h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-primary);
    font-family: var(--font-serif);
    font-weight: 700;
}

.cake-option-price {
    font-size: 0.85rem;
    color: var(--color-secondary);
    font-weight: 700;
    opacity: 0.9;
}

/* Ensure price display remains clean below grid */
.price-display {
    margin-top: 25px;
}

@media (max-width: 600px) {
    .cake-selection-grid {
        grid-template-columns: 1fr;
    }

    .order-card {
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 20px;
    }

    .reviews-header h2 {
        font-size: 2rem;
    }
}

/* --- BOUTIQUE INFO (Menu Page) --- */
.boutique-info-section {
    background-color: #D2B48C;
    /* Tan / Cafe flojo */
    color: var(--color-primary);
    padding: 80px 20px;
    text-align: center;
    margin-top: 80px;
    /* Space from products */
    margin-bottom: 0;
    /* Flush with footer if desired, but site-footer has margin-top: 80px */
}

.boutique-info-content {
    max-width: 800px;
    margin: 0 auto;
}

.boutique-info-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.boutique-info-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--color-primary);
    opacity: 0.9;
    line-height: 1.6;
}

.boutique-info-content .btn-boutique {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
}

.boutique-info-content .btn-boutique:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.site-footer {
    margin-top: 0;
    /* Remove margin-top since we have the boutique section above it */
}

/* --- CONTACT PAGE REDESIGN --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    /* Reduced gap to bring them together */
    max-width: 1200px;
    margin: 60px auto 100px;
    padding: 0 20px;
    align-items: stretch;
    /* Stretch to match heights */
}

.contact-info-card {
    background-color: var(--color-white);
    padding: 30px 40px;
    padding-right: 42%;
    /* Create space for the vertical image */
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: start;
    height: 650px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.card-image-overlay {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 38%;
    z-index: 1;
}

.card-image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-info-card h2,
.info-item,
.contact-socials {
    position: relative;
    z-index: 2;
}

.contact-info-card h2 {
    font-size: 2rem;
    /* Even smaller */
    color: var(--color-primary);
    margin-bottom: 15px;
    /* Reduced margin */
    font-family: var(--font-serif);
    position: relative;
    display: inline-block;
}

.contact-info-card h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--color-secondary);
    margin-top: 8px;
    /* Tighter underline */
}

.info-item {
    margin-bottom: 8px;
    /* Extra tight */
}

.info-item h4 {
    margin: 0 0 2px 0;
    /* Cleared all other margins */
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-family: var(--font-serif);
    font-style: italic;
}

.info-item p {
    margin: 0;
    /* Cleared all margins */
    color: var(--color-primary);
    line-height: 1.3;
    /* Even tighter line height */
    opacity: 0.8;
    font-size: 0.9rem;
}

.custom-map-container {
    position: relative;
    width: 100%;
    height: 650px;
    /* Vertical / Tall */
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border: 8px solid var(--color-white);
}

.custom-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}



.contact-socials h4 {
    margin-bottom: 10px;
    /* Reduced margin */
    color: var(--color-secondary);
    font-size: 1.1rem;
    font-family: var(--font-serif);
    font-style: italic;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .custom-map-container {
        height: 450px;
    }
}

/* --- ORDER SUCCESS STATE --- */
.success-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 0.6s ease forwards;
    padding: 60px 40px;
    border: 1px solid rgba(111, 78, 55, 0.1);
    border-radius: 20px;
    background-color: #fafafafa;
    margin-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.success-check-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.success-container h2 {
    font-family: var(--font-serif);
    font-size: 2.22rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.success-subtitle {
    font-size: 1.05rem;
    color: var(--color-primary);
    opacity: 0.85;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 40px;
}

.success-subtitle strong {
    color: var(--color-secondary);
    font-weight: 700;
}

.success-actions {
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-extended {
    display: inline-block;
    padding: 18px 60px;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    border: 1px solid var(--color-primary);
    width: auto;
    min-width: 300px;
}

.btn-extended:hover {
    background-color: transparent;
    color: var(--color-primary);
    letter-spacing: 5px;
}