/* Auto-split from style.css — shared base (all themes) */
/* Blushed Crumbs Bakehouse & BakeBox Admin Style System */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
:root {
    --primary: #e67399;
    --primary-hover: #d25a82;
    --pink-bg: #fcebf1;
    --pink-cloud-vibrant: #f896b8;
    --pink-accent: #ffd6e0;
    --burgundy-bg: #401829;
    --dark-text: #4a2133;
    --light-text: #666666;
    --card-shadow: 0 8px 30px rgba(74, 33, 51, 0.08);
}

/* Google Fonts' official base rule for the Material Symbols ligature font
   (rustic_kitchen's decorative-icon replacement for emoji — see the
   rustic_kitchen theme block for the icon-name-to-glyph mapping). Requires
   the Material Symbols Outlined stylesheet link in a page's <head>. */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

/* Site Header — was dropped from every theme's split file except whichever
   one happened to sit last in the pre-split monolith (sunny_whisk,
   clean_minimal, country_farmhouse, artisan_sourdough still carry a
   duplicate copy of this block; playful_treats, modern_bakery,
   rustic_kitchen, sweet_elegant and daily_batch never had it at all,
   which is why their live header/nav rendered unstyled and un-overlaid
   above the hero instead of floating transparently on top of it).
   Restored here as the single canonical copy every theme should read. */
.site-header {
    background-color: transparent;
    padding: 15px 0 0 0;
    position: relative;
    z-index: 100;
}

.site-header:has(+ #storefront-view .hero-section),
.site-header:has(+ #storefront-view .playful-hero),
.site-header:has(+ #storefront-view .farmhouse-hero),
.site-header:has(+ #storefront-view .midnight-hero),
.site-header:has(+ #storefront-view .petal-hero),
.site-header:has(+ #storefront-view .sw-hero),
.site-header:has(+ #storefront-view .db-hero) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo img {
    height: 75px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text, #4a2133);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
}

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

.admin-btn {
    background-color: white;
    color: var(--primary) !important;
    padding: 8px 22px;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-order-btn {
    background: linear-gradient(135deg, #ff8dae 0%, #e67399 100%);
    color: white !important;
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(230, 115, 153, 0.4);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 115, 153, 0.55);
    color: white !important;
    opacity: 1 !important;
}

/* ==========================================================================
   Entrance Animations (all themes)
   - Hero content animates in on load via CSS.
   - Everything below the fold animates in on scroll via .js-reveal,
     toggled to .is-visible by an IntersectionObserver in app.js.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    .site-header {
        animation: headerSlideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .hero-section .subheading {
        animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
    }

    .hero-section .hero-wrapper h1 {
        animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
    }

    .hero-section .hero-buttons {
        animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
    }

    @keyframes headerSlideDown {
        from { opacity: 0; transform: translateY(-18px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes heroFadeUp {
        from { opacity: 0; transform: translateY(26px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .js-reveal {
        opacity: 0;
        transform: translateY(36px);
        transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        transition-delay: calc(var(--reveal-i, 0) * 50ms);
    }

    .js-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Highlights Bar */
.highlights-bar {
    background: #f896b8;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 25px;
    position: relative;
    z-index: 10;
}

.highlight-item {
    text-align: center;
}

.highlight-item .icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.22);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    font-size: 1.3rem;
}

.highlight-item h4 {
    font-size: 1.05rem;
    color: white;
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 0.85rem;
    color: #fce7ef;
}

/* Video Promo Banner */
.video-promo-banner {
    position: relative;
    padding: 100px 25px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.video-promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 65%, transparent) 0%, color-mix(in srgb, var(--primary-hover, var(--primary)) 70%, transparent) 100%);
    z-index: 2;
    pointer-events: none;
}

.video-promo-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
    filter: brightness(0.6);
}

.video-overlay-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 20px;
}

.video-overlay-content h2 {
    font-size: 2.8rem;
    color: white;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Categories Section */
.categories-section {
    background: linear-gradient(180deg, #fceaf0 0%, #ffffff 100%);
    padding: 70px 25px 80px 25px;
    text-align: center;
}

.section-title-script {
    font-family: 'Great Vibes', cursive;
    font-size: 4.8rem;
    color: #e67399;
    margin-bottom: 50px;
    font-weight: 500;
}

.categories-grid-exact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.category-card-exact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-image-frame {
    width: 100%;
    height: 440px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(64, 24, 41, 0.12);
    border: 3px solid #ffffff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: #fdf5f8;
}

.category-card-exact:hover .category-image-frame {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(230, 115, 153, 0.25);
}

.category-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-card-exact h3 {
    margin-top: 18px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #401829;
    letter-spacing: 0.3px;
}

/* Whimsical Section */
.whimsical-section {
    background-color: var(--burgundy-bg);
    color: white;
    padding: 80px 25px;
}

.whimsical-two-column {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.whimsical-col-left {
    flex: 1;
    min-width: 320px;
    text-align: center;
}

.whimsical-col-left img {
    max-width: 400px;
    width: 100%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.whimsical-col-right {
    flex: 1.3;
    min-width: 340px;
    text-align: left;
}

.whimsical-col-right h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 4.2rem;
    color: white;
    line-height: 1.05;
    margin-bottom: 30px;
}

.whimsical-bullet-list {
    list-style-type: disc;
    padding-left: 20px;
    line-height: 1.8;
}

.whimsical-bullet-list li {
    font-size: 0.92rem;
    color: #fce7ef;
    margin-bottom: 16px;
}

.whimsical-bullet-list li strong {
    color: white;
    font-weight: 700;
}

.whimsical-hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 35px;
}

/* Reviews Section */
.reviews-section {
    background-color: #f9c7d8;
    padding: 70px 25px;
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.cloud-review-card {
    background: white;
    border-radius: 25px;
    padding: 30px 25px;
    box-shadow: var(--card-shadow);
    text-align: left;
}

.cloud-review-card h4 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: #401829;
    text-align: right;
    margin-top: 15px;
}

/* Footer Video CTA */
.cta-video-banner {
    position: relative;
    padding: 100px 25px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.cta-video-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.18) 100%);
    z-index: 1;
    pointer-events: none;
}

.cta-video-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
    filter: brightness(0.5);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: #ffffff !important;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Site Footer */
.site-footer {
    background-color: var(--footer-bg, #401829);
    color: var(--footer-text, #ffffff);
    padding: 40px 25px;
    text-align: center;
    border-top: var(--footer-border-top, none);
    transition: background-color 0.3s ease;
}

.footer-logo img {
    height: 90px;
    margin-bottom: 15px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 30px;
    margin-bottom: 20px;
    max-width: 100%;
    padding: 0 15px;
}

.footer-nav a,
.footer-link {
    color: var(--footer-link-color, #ff8dae);
    text-decoration: none;
    font-family: var(--footer-link-font, 'Great Vibes', cursive);
    font-size: var(--footer-link-size, 2rem);
    font-weight: var(--footer-link-weight, 400);
    transition: opacity 0.2s ease;
}

.footer-nav a:hover,
.footer-link:hover {
    opacity: 0.75;
}

.copyright-text {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-top: 12px;
}

.footer-nap {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 8px;
}

.footer-nap-phone {
    font-family: inherit;
    font-size: inherit;
}

.footer-newsletter {
    margin-top: 24px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.footer-newsletter-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 10px;
}

.footer-newsletter-fields {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--footer-text, #ffffff);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background: var(--primary, #e67399);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.footer-newsletter-btn:hover {
    opacity: 0.85;
}

.footer-newsletter-success {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-newsletter-error {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #fca5a5;
    margin-top: 6px;
}

/* ─── Sweet & Elegant (default — deep plum) ─── */
body.theme-sweet_elegant {
    --footer-bg: #401829;
    --footer-text: #ffffff;
    --footer-border-top: none;
    --footer-link-color: #ff8dae;
    --footer-link-font: 'Great Vibes', cursive;
    --footer-link-size: 2rem;
    --footer-link-weight: 400;
}

/* ─── Rustic Kitchen ("Rimberio" board — deep chocolate) ─── */
body.theme-rustic_kitchen {
    --footer-bg: #723F18;
    --footer-text: #F8F3EA;
    --footer-border-top: 4px solid #9D7052;
    --footer-link-color: #CFBBA2;
    --footer-link-font: 'Georgia', serif;
    --footer-link-size: 1.2rem;
    --footer-link-weight: 700;
}

/* ─── Modern Bakery (frosted glass over indigo) ─── */
body.theme-modern_bakery {
    --footer-bg: rgba(30, 27, 75, 0.8);
    --footer-text: #e0e7ff;
    --footer-border-top: 1px solid rgba(255, 255, 255, 0.15);
    --footer-link-color: #a5b4fc;
    --footer-link-font: 'Inter', sans-serif;
    --footer-link-size: 1rem;
    --footer-link-weight: 700;
}

body.theme-modern_bakery .site-footer {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ─── Playful Treats ("Pastry Corner" reference — navy) ─── */
body.theme-playful_treats {
    --footer-bg: #1A1A2E;
    --footer-text: #FFD9EC;
    --footer-border-top: 4px dashed #FF4FA0;
    --footer-link-color: #1AD1CB;
    --footer-link-font: 'Oswald', sans-serif;
    --footer-link-size: 1.1rem;
    --footer-link-weight: 700;
}

/* ─── Artisan Deli (charcoal & mustard) ─── */
body.theme-country_farmhouse {
    --footer-bg: #2b2117;
    --footer-text: #f6efe1;
    --footer-border-top: 4px solid #c1810a;
    --footer-link-color: #c1810a;
    --footer-link-font: 'Oswald', sans-serif;
    --footer-link-size: 1rem;
    --footer-link-weight: 700;
}

/* ─── Artisan Sourdough (dark charcoal brown) ─── */
body.theme-artisan_sourdough {
    --footer-bg: #2c2419;
    --footer-text: #f7f0e3;
    --footer-border-top: 3px solid #b8860b;
    --footer-link-color: #b8860b;
    --footer-link-font: 'Georgia', serif;
    --footer-link-size: 1.2rem;
    --footer-link-weight: 700;
}

/* ─── Midnight Bakehouse (deep navy & brushed gold) ─── */
body.theme-clean_minimal {
    --footer-bg: #0f2438;
    --footer-text: #f7f5f1;
    --footer-border-top: 1px solid #b8935a;
    --footer-link-color: #b8935a;
    --footer-link-font: 'Playfair Display', serif;
    --footer-link-size: 1rem;
    --footer-link-weight: 600;
}

/* ─── Sunny Whisk (diagonal sky/mustard/pink) ─── */
body.theme-sunny_whisk {
    --footer-bg: #14213d;
    --footer-text: #bdeaf5;
    --footer-border-top: 4px dashed #f5c518;
    --footer-link-color: #ff4f9e;
    --footer-link-font: 'Poppins', sans-serif;
    --footer-link-size: 1.05rem;
    --footer-link-weight: 700;
}

/* ─── The Daily Batch (mustard & jet black) ─── */
body.theme-daily_batch {
    --footer-bg: #14140f;
    --footer-text: #f2f2ef;
    --footer-border-top: 4px solid #f2d310;
    --footer-link-color: #f2d310;
    --footer-link-font: 'Poppins', sans-serif;
    --footer-link-size: 1rem;
    --footer-link-weight: 700;
}

/* ─── Lavender Bloom (orchid purple & soft lavender) ─── */
body.theme-lavender_bloom {
    --footer-bg: #3b1f47;
    --footer-text: #f6eefa;
    --footer-border-top: 4px solid #8e4fa3;
    --footer-link-color: #f3d9ff;
    --footer-link-font: 'Poppins', sans-serif;
    --footer-link-size: 1rem;
    --footer-link-weight: 600;
}

/* POPUP ORDER FORM MODAL STYLING */
.order-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 15, 26, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(6px);
}

.order-modal-card {
    background: white;
    border-radius: 25px;
    max-width: 920px;
    width: 95%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    padding: 35px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    border: none;
    background: #fce7ef;
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: var(--primary);
    color: white;
}

#cake-order-builder {
    background: white;
    border-radius: 20px;
    padding: 10px;
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeInStep 0.3s ease;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

#product-grid,
#flavor-list,
#frosting-list,
#filling-list,
#social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.product {
    background: #fdf7f9;
    border: 2px solid var(--pink-accent);
    padding: 18px 12px;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    user-select: none;
}

.product:hover {
    border-color: var(--primary);
    background: #fff0f5;
}

.product.selected,
.option-chip.selected {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: #5c1d37 !important;
    box-shadow: 0 6px 18px rgba(230, 115, 153, 0.4) !important;
    transform: translateY(-2px);
}

.product.selected span,
.option-chip.selected span {
    color: #ffffff !important;
}

.price-badge {
    background: var(--primary) !important;
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    flex-shrink: 0;
}

.product.selected .price-badge,
.option-chip.selected .price-badge {
    background: #ffffff !important;
    color: var(--primary) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

/* Upload Dropzone */
.upload-dropzone {
    border: 2px dashed var(--primary) !important;
    padding: 35px 20px;
    text-align: center;
    border-radius: 16px;
    background: var(--pink-bg) !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-dropzone:hover {
    border-style: solid !important;
    transform: translateY(-2px);
}

.cart-bar {
    background: var(--pink-bg);
    padding: 16px 20px;
    border-radius: 18px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 25px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

#cart-summary {
    font-size: 0.95rem;
    color: var(--dark-text);
}

#cart-summary strong {
    font-size: 1.2rem;
    color: var(--primary);
}

.nav-buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.next-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.2s;
    min-width: 120px;
    height: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 0 0 auto;
}

.next-btn:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.back-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    color: var(--dark-text);
    transition: all 0.2s;
    min-width: 90px;
    height: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 0 0 auto;
}

.back-btn:hover {
    background: #f5f5f5;
}

/* 📱 MOBILE RESPONSIVE MODAL & SIDE-BY-SIDE BUTTONS RULES */
@media (max-width: 600px) {
    .order-modal-card {
        padding: 20px 14px !important;
        width: 96% !important;
        max-height: 94vh !important;
        border-radius: 16px !important;
    }

    .modal-close-btn {
        top: 12px !important;
        right: 14px !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 1.1rem !important;
    }

    .sticky-order-summary-bar {
        padding: 10px 12px !important;
        margin-bottom: 15px !important;
    }

    .sticky-order-summary-bar span {
        font-size: 0.72rem !important;
    }

    .sticky-order-summary-bar strong {
        font-size: 1.1rem !important;
    }

    .nav-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        width: 100% !important;
        justify-content: space-between !important;
    }

    .nav-buttons .back-btn,
    .nav-buttons .next-btn {
        flex: 1 !important;
        min-width: 0 !important;
        padding: 10px 6px !important;
        font-size: 0.88rem !important;
        height: 42px !important;
    }

    #product-grid,
    #flavor-list,
    #frosting-list,
    #filling-list,
    #social-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
        gap: 10px !important;
    }
}

/* Interactive Calendar Grid & Themed Day Boxes */
#interactive-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    max-width: 420px;
    margin: 20px auto;
    text-align: center;
}

.cal-day {
    padding: 12px 0;
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    color: var(--dark-text);
    transition: all 0.2s ease;
}

.cal-day:hover:not(.booked) {
    border-color: var(--primary);
    background: rgba(230, 115, 153, 0.1);
    transform: translateY(-2px);
}

.cal-day.booked {
    background: #f1ede9 !important;
    border-color: #e5ded7 !important;
    color: #a89f97 !important;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.65;
}

.cal-day.selected {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
    transform: scale(1.05);
}

.cal-day.booked {
    background: #ffe6e6;
    border-color: #ffb3b3;
    color: #c62828;
    cursor: not-allowed;
}

.cal-day.selected {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

/* Upload Dropzone */
.upload-dropzone {
    border: 2px dashed var(--primary);
    padding: 45px;
    text-align: center;
    border-radius: 18px;
    background: #fdf8fa;
    cursor: pointer;
}

/* Bakesy Admin Portal Layout */
.admin-wrapper {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
}

.badge-pro {
    background: #6f42c1;
    color: white;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 10px;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.tab-btn {
    background: white;
    border: 2px solid var(--pink-accent);
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.section-header {
    margin-bottom: 25px;
}

.subtitle {
    color: var(--light-text);
    font-size: 0.95rem;
}

.orders-list-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: white;
    border-radius: 18px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    border-left: 6px solid var(--primary);
}

.order-card.urgent-border {
    border-left: 8px solid #ff4d4f;
    background: #fff1f0;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.due-badge {
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.due-urgent {
    background: #ff4d4f;
    color: white;
}

.due-normal {
    background: #e6f7ff;
    color: #1890ff;
}

.status-tag {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
}

.admin-main-content select.status-new {
    background: #fffbe6 !important;
    color: #faad14 !important;
}

.admin-main-content select.status-in_progress {
    background: #e6f7ff !important;
    color: #1890ff !important;
}

.admin-main-content select.status-paid {
    background: #f6ffed !important;
    color: #52c41a !important;
    border: 1px solid #b7eb8f !important;
}

.admin-main-content select.status-completed {
    background: #e6f7ff !important;
    color: #1890ff !important;
}

.admin-main-content select.status-invoiced {
    background: #f9f0ff !important;
    color: #722ed1 !important;
}

.admin-main-content select.status-ready {
    background: #fff0f6 !important;
    color: #eb2f96 !important;
}

.admin-main-content select.status-cancelled {
    background: #fff1f0 !important;
    color: #f5222d !important;
}

.admin-main-content select.status-unpaid {
    background: #fffbe6 !important;
    color: #faad14 !important;
}

.admin-main-content select.status-deposit_paid {
    background: #e6f7ff !important;
    color: #1890ff !important;
}

.admin-main-content select.status-paid_in_full {
    background: #f6ffed !important;
    color: #52c41a !important;
}

.admin-main-content select.status-select {
    padding: 6px 30px 6px 12px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23333'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 12px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
    height: 32px !important;
    width: auto !important;
    min-width: 130px !important;
    text-transform: uppercase !important;
}

.status-select:hover {
    border-color: #cbd5e1;
    background-color: #fff;
}

.status-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 115, 153, 0.2);
}

.order-card-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Modal Invoice */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.inv-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.inv-table th,
.inv-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

/* COMPREHENSIVE TABLET & MOBILE RESPONSIVE DESIGN SYSTEM */

/* Tablet & Mobile (<= 768px) */
@media (max-width: 768px) {

    /* Header & Navigation */
    .site-header {
        padding: 10px 0 0 0;
    }

    .header-container {
        flex-direction: column;
        gap: 12px;
        padding: 0 15px;
        text-align: center;
    }

    .logo img {
        height: 60px;
        margin: 0 auto;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 4px 6px;
    }

    .admin-btn {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    /* Cloud Dividers - Maintain un-squished natural cloud proportions on mobile */
    .hero-cloud-elementor-top {
        height: 80px;
        width: 100%;
        left: 0;
        transform: none;
    }

    .hero-cloud-elementor-bottom {
        height: 85px;
        width: 100%;
        left: 0;
        transform: rotate(180deg);
    }

    /* Hero Section */
    .hero-section {
        padding: 60px 15px;
    }

    .subheading {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .hero-wrapper h1 {
        font-size: 3rem;
        margin-bottom: 22px;
        line-height: 1.15;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    /* Scaled Mobile Raining Cakes (Keep 3 cakes safely out of text flow) */
    .hero-cake-top-right {
        top: 10px;
        right: 4%;
        width: 90px;
        opacity: 0.9;
    }

    .hero-cake-middle-left {
        top: 12%;
        left: 2%;
        width: 100px;
        opacity: 0.9;
    }

    .hero-cake-far-right {
        top: 32%;
        right: 2%;
        width: 80px;
        opacity: 0.85;
    }

    .hero-cake-bottom-left {
        bottom: 20px;
        left: 4%;
        width: 85px;
        opacity: 0.85;
    }

    .hero-cake-bottom-right {
        bottom: 20px;
        right: 4%;
        width: 95px;
        opacity: 0.9;
    }

    /* Highlights Bar */
    .highlights-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px 15px 30px 15px;
    }

    .highlight-item .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .highlight-item h4 {
        font-size: 0.95rem;
    }

    .highlight-item p {
        font-size: 0.78rem;
    }

    /* Banners */
    .video-promo-banner,
    .cta-video-banner {
        padding: 60px 15px !important;
    }

    .video-overlay-content h2,
    .cta-content h2 {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }

    .video-overlay-content p,
    .cta-content p {
        font-size: 0.9rem;
    }

    /* Categories Section */
    .categories-section {
        padding: 45px 15px 55px 15px;
    }

    .section-title-script {
        font-size: 3.4rem;
        margin-bottom: 30px;
    }

    .categories-grid-exact {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 0 auto;
        gap: 25px;
    }

    .category-image-frame {
        height: 380px;
    }

    /* Whimsical Section */
    .whimsical-section {
        padding: 50px 15px;
    }

    .whimsical-two-column {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .whimsical-col-left img {
        max-width: 270px;
    }

    .whimsical-col-right {
        min-width: 100%;
        text-align: left;
    }

    .whimsical-col-right h2 {
        font-size: 3rem;
        text-align: center;
        margin-bottom: 20px;
    }

    .whimsical-bullet-list li {
        font-size: 0.88rem;
        margin-bottom: 12px;
    }

    /* Reviews Section */
    .reviews-section {
        padding: 45px 15px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cloud-review-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .cloud-review-card h4 {
        font-size: 1.8rem;
    }

    /* Popup Order Modal */
    .order-modal-card {
        width: 95%;
        max-height: 94vh;
        padding: 25px 15px;
        border-radius: 20px;
    }

    .modal-close-btn {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }

    .step h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    #product-grid,
    #flavor-list,
    #frosting-list,
    #filling-list,
    #social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 15px 0;
    }

    .product {
        padding: 12px 8px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .cart-bar {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
        border-radius: 14px;
        text-align: center;
    }

    .nav-buttons {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .next-btn,
    .back-btn {
        flex: 1;
        text-align: center;
        padding: 11px 15px;
        font-size: 0.9rem;
    }

    #interactive-calendar-grid {
        gap: 6px;
        max-width: 100%;
    }

    .cal-day {
        padding: 10px 0;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    /* Admin Portal */
    .admin-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 15px;
    }

    .admin-tabs {
        width: 100%;
    }

    .order-card {
        padding: 16px;
    }

    .footer-nav {
        gap: 12px 20px;
    }

    .footer-nav a,
    .footer-link {
        font-size: 1.4rem;
    }

    .order-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
    .subheading {
        font-size: 1.1rem;
    }

    .hero-wrapper h1 {
        font-size: 2.4rem;
    }

    .section-title-script {
        font-size: 2.8rem;
    }

    .whimsical-col-right h2 {
        font-size: 2.4rem;
    }

    .category-image-frame {
        height: 320px;
    }

    #product-grid,
    #flavor-list,
    #frosting-list,
    #filling-list,
    #social-grid {
        grid-template-columns: 1fr;
    }

    .hero-cake-top-right {
        width: 70px;
    }

    .hero-cake-middle-left {
        width: 80px;
    }

    .hero-cake-bottom-right {
        width: 75px;
    }
}

/* DEDICATED GALLERY PAGE & ADMIN PORTAL GALLERY MANAGER */
.gallery-page-section {
    padding: 60px 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: white;
    border: 2px solid var(--pink-accent);
    color: var(--dark-text);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(230, 115, 153, 0.3);
}

.gallery-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(74, 33, 51, 0.15);
}

.gallery-card-img-wrap {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.gallery-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-img-wrap img {
    transform: scale(1.06);
}

.gallery-card-info {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-card-info h4 {
    font-size: 1.05rem;
    color: var(--dark-text);
    font-weight: 600;
}

.gallery-tag {
    background: #fce7ef;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 5, 12, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4000;
    backdrop-filter: blur(8px);
    padding: 20px;
}

.lightbox-content {
    max-width: 850px;
    width: 100%;
    text-align: center;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Form Builder & Admin Cards */
.form-builder-card {
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    margin-bottom: 25px;
}

.form-builder-card h4 {
    margin-bottom: 18px;
    font-size: 1.2rem;
    color: var(--primary);
}

.form-builder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

/* EXACT ABOUT PAGE DESIGN SYSTEM */
.about-hero-section {
    background: var(--theme-section-bg, var(--pink-bg, #fff7fa));
    text-align: center;
    padding: 110px 20px 80px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-hero-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--primary, #e67399);
    margin-bottom: 15px;
    display: block;
}

.about-hero-title {
    font-family: var(--theme-heading-font, 'Poppins', sans-serif);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-text, #2c2419);
    line-height: 1.15;
    max-width: 800px;
    margin: 0 auto;
}

.meet-founder-section {
    background-color: var(--theme-card-bg, #ffffff);
    padding: 90px 25px;
}

.meet-founder-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.meet-founder-img-wrap {
    flex: 0 0 380px;
}

.meet-founder-img-wrap img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.founder-placeholder-card {
    width: 100%;
    height: 380px;
    border-radius: 20px;
    background: var(--pink-bg, #fff7fa);
    border: 2px dashed var(--primary, #e67399);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.founder-placeholder-card h3 {
    font-family: var(--theme-heading-font, 'Outfit', sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text, #2c2419);
    margin-top: 10px;
    margin-bottom: 4px;
}

.founder-placeholder-card p {
    font-size: 0.9rem;
    color: #888;
}

.meet-founder-content {
    flex: 1;
}

.meet-founder-content h2 {
    font-family: var(--theme-heading-font, 'Poppins', sans-serif);
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-text, #2c2419);
    margin-bottom: 20px;
}

.meet-founder-content p {
    font-size: 1.05rem;
    color: var(--dark-text, #2c2419);
    opacity: 0.88;
    line-height: 1.7;
    margin-bottom: 30px;
}

.founder-testimonial-quote {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
}

.founder-testimonial-quote p {
    font-style: italic;
    font-size: 0.98rem;
    color: var(--dark-text, #2c2419);
    opacity: 0.9;
    margin-bottom: 12px;
}

.founder-author-name {
    font-weight: 700;
    color: var(--primary, #e67399);
    font-size: 1rem;
    display: block;
}

.founder-author-role {
    font-size: 0.85rem;
    color: var(--dark-text, #2c2419);
    opacity: 0.7;
}

/* Ingredients Section */
.ingredients-section {
    background-color: #fff9fc;
    padding: 100px 25px;
}

.ingredients-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #5c1d37;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ingredients-grid-6 {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 45px;
}

.ingredient-card {
    text-align: left;
}

.ingredient-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.ingredient-card-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #5c1d37;
}

.ingredient-card p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.65;
}

/* Our Mission Section */
.mission-section {
    background-color: #fdeef4;
    padding: 90px 25px;
}

.mission-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.mission-content {
    flex: 1;
}

.mission-content h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #5c1d37;
    margin-bottom: 20px;
}

.mission-content p {
    font-size: 1.05rem;
    color: #5c1d37;
    line-height: 1.7;
    margin-bottom: 30px;
}

.mission-bullets-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #5c1d37;
}

.mission-img-wrap {
    flex: 0 0 380px;
}

.mission-img-wrap img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(92, 29, 55, 0.12);
}

/* About CTA Banner */
.about-cta-banner {
    background: linear-gradient(rgba(64, 24, 41, 0.82), rgba(64, 24, 41, 0.88)), url('../images/IMG_8084.jpg') center/cover;
    text-align: center;
    padding: 85px 25px;
    color: white;
}

.about-cta-banner h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 4.2rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.about-cta-banner p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.about-cta-btn {
    background: white;
    color: #5c1d37;
    padding: 12px 36px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.about-cta-btn:hover {
    transform: translateY(-2px);
    background: #fce7ef;
}

/* About Script Footer */
.about-footer {
    background-color: var(--footer-bg, #401829);
    color: var(--footer-text, #ffffff);
    padding: 50px 25px 30px 25px;
    text-align: center;
}

.about-footer-logo img {
    height: 110px;
    margin-bottom: 20px;
}

.about-footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-bottom: 25px;
}

.about-footer-nav a {
    font-family: var(--footer-link-font, 'Great Vibes', cursive);
    font-size: var(--footer-link-size, 2rem);
    color: var(--footer-link-color, #ff8dae);
    text-decoration: none;
    transition: color 0.2s;
}

.about-footer-nav a.active,
.about-footer-nav a:hover {
    opacity: 0.75;
}

.about-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.about-social-icons a {
    color: var(--footer-text, #ffffff);
    font-size: 1.3rem;
    text-decoration: none;
}

.about-copyright {
    font-family: var(--footer-link-font, 'Great Vibes', cursive);
    font-size: 1.6rem;
    color: var(--footer-text, #ffffff);
}

.about-copyright span {
    color: var(--footer-link-color, #ff8dae);
}

/* Mobile Responsiveness for About Page */
@media (max-width: 900px) {

    .meet-founder-container,
    .mission-container {
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }

    .meet-founder-img-wrap,
    .mission-img-wrap {
        flex: 0 0 auto;
        width: 100%;
        max-width: 380px;
    }

    .ingredients-grid-6 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-hero-title {
        font-size: 2.8rem;
    }

    .meet-founder-content h2,
    .ingredients-title,
    .mission-content h2 {
        font-size: 2.4rem;
    }
}

/* HIGH-END MODERN ADMIN SIDEBAR & WORKSPACE GLOWUP */
#admin-portal-view {
    background-color: var(--theme-section-bg, #fcf7fa) !important;
    height: 100vh;
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
}

.admin-layout-container {
    display: flex;
    flex: 1;
    height: 0;
    /* Crucial: lets flex children control their own height */
    width: 100%;
    overflow: hidden;
}

.admin-sidebar {
    width: 280px !important;
    background: var(--theme-accent-bg, #2b0d1b) !important;
    color: white !important;
    padding: 35px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-shrink: 0 !important;
    box-shadow: 6px 0 30px rgba(43, 13, 27, 0.15) !important;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-sidebar .admin-sidebar-brand h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.admin-sidebar-brand .badge-pro {
    display: inline-block;
    background: var(--primary, #e67399);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(230, 115, 153, 0.3);
}

.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px !important;
    border-radius: 14px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease !important;
    width: 100%;
}

.admin-nav-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    transform: translateX(3px);
}

.admin-nav-item.active {
    background: var(--primary, #e67399) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 22px rgba(230, 115, 153, 0.45) !important;
}

.admin-sidebar-footer {
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-main-content {
    flex: 1 !important;
    padding: 45px 50px !important;
    background-color: var(--theme-section-bg, #fcf7fa) !important;
    overflow-y: auto;
    height: 100%;
}

/* MODERN FORM BUILDER CARDS & PANELS */
.form-builder-card,
.order-card,
.add-review-box,
.payment-methods-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 36px !important;
    box-shadow: 0 10px 30px rgba(92, 29, 55, 0.05) !important;
    border: 1px solid #f2e3ea !important;
    margin-bottom: 28px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.form-builder-card:hover {
    box-shadow: 0 14px 40px rgba(92, 29, 55, 0.08) !important;
}

.form-builder-card h4 {
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #5c1d37;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* MODERN INPUT FIELD DESIGN SYSTEM */
.admin-main-content input[type="text"],
.admin-main-content input[type="number"],
.admin-main-content input[type="email"],
.admin-main-content input[type="tel"],
.admin-main-content input[type="url"],
.admin-main-content select,
.admin-main-content textarea {
    width: 100% !important;
    padding: 14px 18px !important;
    border-radius: 14px !important;
    border: 1.5px solid #ebd4e0 !important;
    background-color: #ffffff !important;
    color: #401829 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    font-family: inherit;
    transition: all 0.25s ease !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02) !important;
    outline: none !important;
}

.admin-main-content input:focus,
.admin-main-content select:focus,
.admin-main-content textarea:focus {
    border-color: #e67399 !important;
    box-shadow: 0 0 0 4px rgba(230, 115, 153, 0.2) !important;
    background-color: #ffffff !important;
}

.admin-main-content label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: #5c1d37;
    margin-bottom: 7px;
    letter-spacing: 0.2px;
}

/* MODERN BUTTON STYLING SYSTEM */
.btn-primary {
    background: linear-gradient(135deg, #e67399, #c94b75) !important;
    color: #ffffff !important;
    border-radius: 14px !important;
    padding: 13px 28px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(230, 115, 153, 0.35) !important;
    transition: all 0.25s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(230, 115, 153, 0.45) !important;
    background: linear-gradient(135deg, #ed82a6, #d45781) !important;
}

.btn-secondary {
    background: transparent !important;
    color: var(--primary) !important;
    border-radius: 14px !important;
    padding: 11px 22px !important;
    font-weight: 700 !important;
    border: 2px solid var(--primary) !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
}

.btn-secondary:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.btn-outline {
    background: transparent !important;
    border: 2px solid #e67399 !important;
    color: #e67399 !important;
    border-radius: 14px !important;
    padding: 11px 22px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
}

.btn-outline:hover {
    background: #fdeef4 !important;
    transform: translateY(-2px) !important;
}

/* MOBILE TOP HEADER BAR */
.admin-mobile-header {
    display: none;
    background: #2b0d1b;
    height: 60px;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-hamburger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.mobile-hamburger-btn span {
    display: block;
    width: 26px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.drawer-close-btn {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.admin-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-sidebar-overlay.active {
    display: block !important;
    opacity: 1 !important;
}

/* RESPONSIVE MOBILE SIDEBAR DRAWER (<= 900px) */
@media (max-width: 900px) {
    .admin-mobile-header {
        display: flex !important;
    }

    .drawer-close-btn {
        display: flex !important;
    }

    #admin-portal-view {
        height: auto !important;
        overflow: visible !important;
        flex-direction: column !important;
    }

    .admin-layout-container {
        /* On mobile, sidebar is fixed overlay — main content fills full width */
        flex-direction: row !important;
        height: calc(100vh - 60px) !important;
        margin-top: 60px;
        overflow: hidden;
    }

    .admin-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 290px !important;
        z-index: 999 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5) !important;
        overflow-y: auto !important;
    }

    .admin-sidebar.open {
        transform: translateX(0) !important;
    }

    .admin-sidebar-nav {
        flex-direction: column !important;
        overflow-x: visible !important;
        padding-bottom: 0 !important;
    }

    .admin-nav-item {
        width: 100% !important;
        flex: none !important;
        white-space: normal !important;
    }

    .admin-main-content {
        padding: 25px 16px !important;
        width: 100% !important;
        height: 100% !important;
        overflow-y: auto !important;
    }

    .form-builder-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   FORM STUDIO — FIELDS TABLE
   ============================================ */

.field-table-wrapper {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid #f0e4ea;
}

.field-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    min-width: 600px;
}

.field-table thead {
    background: linear-gradient(135deg, #3a1a2a, #5c1d37);
    color: #fff;
}

.field-table thead th {
    padding: 13px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.field-table tbody .field-row {
    border-bottom: 1px solid #f8eef3;
    transition: background 0.15s;
}

.field-table tbody .field-row:hover {
    background: #fff7fa;
}

.field-table tbody td {
    padding: 13px 16px;
    vertical-align: middle;
}

.drag-handle {
    color: #ccc;
    font-size: 1.2rem;
    cursor: grab;
    text-align: center;
    user-select: none;
}

.drag-handle:active {
    cursor: grabbing;
}

.step-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f9e0eb, #fce8f3);
    color: #7a2b4a;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #f0c5d8;
    white-space: nowrap;
}

.reorder-btn {
    background: #f5eef8;
    border: 1px solid #e0c5d1;
    color: #5c1d37;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
}

.reorder-btn:hover:not(:disabled) {
    background: #e67399;
    border-color: #e67399;
    color: #fff;
}

.reorder-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.delete-field-btn {
    background: #fff0f3;
    border: 1px solid #fcc6d4;
    color: #d9534f;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
}

.delete-field-btn:hover {
    background: #d9534f;
    color: #fff;
    border-color: #d9534f;
}

/* Custom baker field injected in the storefront order form */
.custom-baker-field {
    margin: 18px 0;
    text-align: left;
    background: #fff7fa;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid #f8c6d7;
}

.custom-baker-field label {
    font-weight: 700;
    color: #5c1d37;
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Hide options/description rows by default - JS toggles them */
#field-options-row,
#field-description-row {
    display: none;
}

@media (max-width: 767px) {
    .field-table {
        min-width: 0;
        width: 100%;
    }
}

/* ============================================
   SETTINGS TAB — TOGGLE, COLORS, TYPOGRAPHY
   ============================================ */

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ddd;
    border-radius: 28px;
    transition: 0.3s;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.toggle-switch input:checked+.toggle-slider {
    /* var(--primary) is defined per theme, so this follows whichever theme
       is active instead of always being sweet_elegant's pink. */
    background: var(--primary, #e67399) !important;
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(24px);
}

/* Settings toggle row */
.settings-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff7fa;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid #f0e4ea;
}

/* Color grid */
.settings-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.color-setting-row {
    background: #fff;
    border: 1px solid #f0e4ea;
    border-radius: 12px;
    padding: 14px 16px;
}

.color-setting-row label {
    font-weight: 700;
    font-size: 0.82rem;
    color: #5c1d37;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.color-swatch-input {
    width: 42px;
    height: 42px;
    border: 2px solid #f0e4ea;
    border-radius: 10px;
    cursor: pointer;
    padding: 2px;
    background: none;
}

/* Typography rows */
.typography-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #f8eef3;
}

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

.typo-tag-label {
    font-size: 1.1rem;
    font-weight: 900;
    color: #e67399;
    background: linear-gradient(135deg, #fff0f5, #ffe0ec);
    border: 1.5px solid #f8c6d7;
    border-radius: 10px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: Georgia, serif;
}

.typo-controls {
    flex: 1;
}

.typo-controls label {
    font-weight: 700;
    color: #5c1d37;
    font-size: 0.88rem;
}

@media (max-width: 767px) {
    .settings-color-grid {
        grid-template-columns: 1fr 1fr;
    }

    .typography-row {
        flex-direction: column;
    }
}

/* ============================================
   ADMIN CALENDAR & AVAILABILITY MANAGER STYLES
   ============================================ */
.admin-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.admin-cal-header-day {
    font-weight: 800;
    font-size: 0.8rem;
    color: #5c1d37;
    text-transform: uppercase;
    padding: 8px 0;
    text-align: center;
    background: #fff0f5;
    border-radius: 8px;
    border: 1px solid #f8c6d7;
}

.admin-cal-day {
    background: #ffffff;
    border: 1px solid #f0e4ea;
    border-radius: 12px;
    padding: 14px 6px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #4a2133;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    user-select: none;
}

.admin-cal-day:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 29, 55, 0.1);
}

.admin-cal-day.available {
    background: #f0fff4;
    border-color: #c6f6d5;
    color: #22543d;
}

.admin-cal-day.blocked {
    background: #fff5f5;
    border-color: #feb2b2;
    color: #9b2c2c;
    text-decoration: line-through;
    font-weight: 800;
}

.admin-cal-day.weekly-closed {
    background: #f3e8ff;
    border-color: #d8b4fe;
    color: #581c87;
    opacity: 0.9;
}

.admin-cal-day.empty-slot {
    background: transparent;
    border: none;
    cursor: default;
}

.admin-cal-day.empty-slot:hover {
    transform: none;
    box-shadow: none;
}

.blocked-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff0f3;
    border: 1px solid #f8c6d7;
    color: #9b2c2c;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 700;
}

.blocked-date-badge button {
    background: none;
    border: none;
    color: #d9534f;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1;
    padding: 0 2px;
}

.blocked-date-badge button:hover {
    color: #a71d2a;
}

/* ============================================
   MOBILE-FIRST RESPONSIVE OVERRIDES (ADMIN & STOREFRONT)
   ============================================ */
@media (max-width: 768px) {

    /* 1. Admin Form Studio Mobile Enhancements */
    .form-builder-card {
        padding: 18px 14px !important;
        border-radius: 16px !important;
        margin-bottom: 16px !important;
    }

    .form-builder-card>div[style*="display:flex"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .form-builder-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .form-builder-grid input,
    .form-builder-grid select,
    .form-builder-card input[type="text"],
    .form-builder-card input[type="email"],
    .form-builder-card input[type="number"],
    .form-builder-card select,
    #field-type {
        font-size: 16px !important;
        /* Prevents auto-zoom on iOS safari */
        height: 48px !important;
        border-radius: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        padding-right: 32px !important;
    }

    #save-form-schema-btn {
        width: 100% !important;
        height: 48px !important;
        font-size: 1rem !important;
        border-radius: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Mobile Responsive Card Layout for Steps Table */
    .field-table-wrapper {
        border: none !important;
        background: transparent !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .field-table {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .field-table tbody {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .field-table thead {
        display: none !important;
    }

    .field-table tbody .field-row {
        display: block !important;
        background: #ffffff !important;
        border: 1.5px solid #f0e4ea !important;
        border-radius: 16px !important;
        margin-bottom: 14px !important;
        padding: 14px !important;
        box-shadow: 0 4px 14px rgba(92, 29, 55, 0.05) !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow: hidden !important;
    }

    .field-table tbody td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 3px 0 !important;
        border: none !important;
        min-width: 0 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .field-table tbody td.drag-handle {
        display: inline-block !important;
        width: auto !important;
        margin-right: 6px !important;
        font-size: 1.3rem !important;
    }

    .field-table tbody td:nth-child(2) {
        /* Step # */
        display: inline-block !important;
        width: auto !important;
    }

    .field-table tbody td:nth-child(3) {
        /* Title & Subtext */
        margin-top: 6px !important;
        margin-bottom: 6px !important;
    }

    .field-table tbody td:nth-child(4) {
        /* Template tag */
        margin-bottom: 6px !important;
    }

    .field-table tbody td:nth-child(5) {
        /* Options text */
        font-size: 0.82rem !important;
        color: #777 !important;
        margin-bottom: 8px !important;
        word-break: break-word !important;
    }

    .field-table tbody td:nth-child(6) {
        /* Action buttons */
        margin-top: 10px !important;
        padding-top: 10px !important;
        border-top: 1px dashed #f0e4ea !important;
    }

    .field-table tbody td:nth-child(6)>div {
        display: flex !important;
        justify-content: flex-end !important;
        gap: 10px !important;
    }

    .reorder-btn,
    .delete-field-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
        border-radius: 10px !important;
    }

    /* 2. Storefront Order Modal Mobile Enhancements */
    .order-modal-overlay {
        padding: 0 !important;
        align-items: flex-end !important;
        height: 100dvh !important;
        height: -webkit-fill-available !important;
        /* Fallback for Safari */
    }

    .order-modal-card {
        width: 100% !important;
        max-width: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        padding: 16px 14px 110px 14px !important;
        overflow-y: auto !important;
        box-shadow: none !important;
    }

    @keyframes fadeInStep {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .modal-close-btn {
        top: 14px !important;
        right: 14px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1.4rem !important;
        z-index: 1000 !important;
    }

    #cake-order-builder {
        padding: 0 !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .step.active {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 100px !important;
    }

    .sticky-order-summary-bar {
        padding: 10px 14px !important;
        border-radius: 14px !important;
        margin-bottom: 16px !important;
    }

    .step h2 {
        font-size: 1.55rem !important;
        margin-bottom: 12px !important;
    }

    /* Grid layout for items: 2 columns on mobile */
    #product-grid,
    #flavor-list,
    #frosting-list,
    #filling-list,
    #social-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin: 16px 0 !important;
    }

    .product {
        padding: 14px 10px !important;
        font-size: 0.88rem !important;
        border-radius: 14px !important;
        min-height: 52px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Sticky Bottom Action Navigation Bar */
    .cart-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        margin-top: 0 !important;
        padding: 12px 16px 20px 16px !important;
        /* Extra bottom padding for mobile safe area */
        border-radius: 20px 20px 0 0 !important;
        background: #ffffff !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important;
        border-top: 1.5px solid #eaeaea !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        z-index: 9999 !important;
        box-sizing: border-box !important;
    }

    .nav-buttons {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    .next-btn,
    .back-btn,
    #submit-form-btn {
        flex: 1 !important;
        height: 48px !important;
        font-size: 1rem !important;
        border-radius: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    /* Mobile Calendar */
    #interactive-calendar-grid {
        gap: 6px !important;
    }

    .cal-day {
        height: 44px !important;
        font-size: 0.95rem !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Time slots */
    .time-radio-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .time-radio-card {
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.9rem !important;
    }

    /* Terms box */
    .terms-scroll-box {
        height: 150px !important;
    }

    /* Inspiration dropzone */
    .upload-dropzone {
        padding: 24px 14px !important;
    }

    /* Storefront & Global Mobile Responsive Enhancements */
    .site-header {
        padding: 6px 0 !important;
        position: relative !important;
        z-index: 100 !important;
    }

    .header-container {
        flex-direction: column !important;
        gap: 6px !important;
        padding: 0 12px !important;
        text-align: center !important;
    }

    .logo img {
        height: 42px !important;
        max-height: 42px !important;
        width: auto !important;
        margin: 0 auto !important;
    }

    .nav-links {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 5px 10px !important;
        width: 100% !important;
    }

    .nav-links a {
        font-size: 0.82rem !important;
        padding: 3px 6px !important;
    }

    .nav-order-btn {
        padding: 5px 14px !important;
        font-size: 0.8rem !important;
        border-radius: 20px !important;
        box-shadow: 0 2px 8px rgba(230, 115, 153, 0.4) !important;
        margin: 2px 0 !important;
        display: inline-block !important;
    }

    .admin-btn {
        padding: 5px 12px !important;
        font-size: 0.8rem !important;
        border-radius: 20px !important;
        margin: 2px 0 !important;
        display: inline-block !important;
    }

    .hero-section {
        padding: 40px 15px !important;
    }

    .hero-wrapper h1 {
        font-size: 2.2rem !important;
        margin-bottom: 16px !important;
        word-wrap: break-word !important;
    }

    .subheading {
        font-size: 1rem !important;
        margin-bottom: 4px !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        gap: 10px !important;
        max-width: 260px !important;
        margin: 0 auto !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        text-align: center !important;
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }

    /* Shown on mobile (an earlier max-width:768px block above already
       scales/positions 3 of the 5 cakes and hides the other 2), but
       dropped behind the hero-wrapper's inline z-index:2 so the headline
       and buttons stay readable on top of them. */
    .raining-cake {
        z-index: 0 !important;
    }

    .hero-cloud-elementor-top {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        height: 60px !important;
        width: 100% !important;
        max-width: 100vw !important;
        pointer-events: none !important;
        object-fit: cover !important;
        z-index: 1 !important;
    }

    .hero-cloud-elementor-bottom {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        height: 65px !important;
        width: 100% !important;
        max-width: 100vw !important;
        pointer-events: none !important;
        object-fit: cover !important;
        z-index: 1 !important;
        transform: rotate(180deg) !important;
        transform-origin: center center !important;
    }

    .about-hero-section,
    .menu-hero-section,
    .gallery-hero-section,
    .policy-hero-section {
        padding: 35px 15px 25px 15px !important;
    }

    .about-hero-title,
    .menu-hero-section h1,
    .policy-hero-title {
        font-size: 2.2rem !important;
    }

    .section-title-script {
        font-size: 2.8rem !important;
        margin-bottom: 25px !important;
    }

    .gallery-page-section {
        padding: 25px 15px !important;
    }

    .specialties-cards-container,
    .categories-grid,
    .categories-grid-exact,
    .how-it-works-grid,
    .reviews-grid,
    .gallery-masonry-grid,
    .product-menu-grid,
    .policy-container {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .ingredients-grid-6 {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .meet-founder-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 25px !important;
    }

    .meet-founder-img-wrap {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .meet-founder-img-wrap img {
        height: auto !important;
        max-height: 300px !important;
        width: 100% !important;
    }

    .whimsical-two-column {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .whimsical-col-right h2 {
        font-size: 2rem !important;
    }

    .highlights-bar {
        flex-wrap: wrap !important;
        gap: 15px !important;
        padding: 25px 15px !important;
    }

    .highlight-item {
        flex: 1 1 100% !important;
        min-width: 0 !important;
    }

    .footer-content {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
    }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
    .site-header {
        padding: 4px 0 !important;
    }

    .header-container {
        gap: 4px !important;
        padding: 0 8px !important;
    }

    .logo img {
        height: 36px !important;
        max-height: 36px !important;
    }

    .nav-links {
        gap: 3px 6px !important;
    }

    .nav-links a {
        font-size: 0.76rem !important;
        padding: 2px 4px !important;
    }

    .nav-order-btn,
    .admin-btn {
        padding: 4px 10px !important;
        font-size: 0.75rem !important;
    }

    .hero-wrapper h1 {
        font-size: 1.85rem !important;
    }

    .subheading {
        font-size: 0.95rem !important;
    }
}

/* ─── About Page Specialties Showcase ("What We Bake Best") ─── */
.about-specialties-section {
    background: linear-gradient(135deg, #ffffff 0%, #fff7fa 100%);
    padding: 90px 25px;
    text-align: center;
    border-top: 1px solid rgba(230, 115, 153, 0.15);
}

.about-specialties-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-text, #5c1d37);
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.specialties-cards-container {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.specialty-item-card {
    background: var(--theme-card-bg, #ffffff);
    border: 1px solid rgba(230, 115, 153, 0.2);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: left;
    position: relative;
    box-shadow: 0 10px 30px rgba(230, 115, 153, 0.08);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.specialty-item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(230, 115, 153, 0.16);
}

.specialty-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--primary, #e67399);
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.specialty-item-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-text, #2c2419);
    margin-bottom: 12px;
    line-height: 1.3;
}

.specialty-item-card p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
