/* ==========================================================================
   BROWNIETHERAPY v3 — FIXED UI
   ========================================================================== */
:root {
    --bg-dark: #1e2e26;
    --bg-light: #f8f4ea;
    --card-bg: rgba(255,255,255,0.05);
    --card-bg-light: rgba(255,255,255,0.7);
    --gold: #f5e8bd;
    --gold-dark: #c8a96e;
    --gold-hover: #f3e5ab;
    --text-light: #f8f9fa;
    --text-muted: #c2c9c5;
    --text-dark: #1e2e26;
    --text-dark-brown: #2b1d0e;
    --text-dark-muted: #4a3c2e;
    --border-glass: rgba(255,255,255,0.1);
    --border-light: rgba(30,46,38,0.1);
}

* { margin:0; padding:0; box-sizing:border-box; }
/* TYPOGRAPHY IMPROVEMENT — larger base size + line-height for readability */
body { background:var(--bg-dark); color:var(--text-light); font-family:'DM Sans',sans-serif; overflow-x:hidden; font-size:1.05rem; line-height:1.7; }
h1,h2,h3,h4,h5,h6 { font-family:'Cormorant Garamond','Playfair Display',serif; letter-spacing:0.02em; font-weight:700; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; }

/* --- Text color helpers --- */
.text-dark-brown { color:var(--text-dark-brown)!important; }
.text-dark-muted { color:var(--text-dark-muted)!important; }
.text-dark-green { color:var(--text-dark)!important; }
.text-muted-cream { color:var(--text-muted); }

/* --- Section alternating --- */
section { padding:70px 0; }
.section-dark { background:var(--bg-dark); color:var(--text-light); }
.section-light { background:var(--bg-light); color:var(--text-dark-brown); }
/* Decorative doodles are absolutely positioned inside sections */
.section-light, .section-dark { position:relative; }

/* =================================================================
   NAVBAR — Logo center, links left, cart right
   ================================================================= */
.navbar-glass { background:rgba(30,46,38,0.88)!important; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid rgba(255,255,255,0.08); padding:0.4rem 1rem!important; min-height:64px!important; transition:all 0.3s; display:flex; align-items:center; }
.navbar-glass.scrolled { background:rgba(10,18,14,0.97)!important; box-shadow:0 4px 24px rgba(0,0,0,0.35); }

/* Row layout: left links, centered logo, right icons */
.navbar-row { display:flex; align-items:center; justify-content:space-between; position:relative; gap:12px; min-height:64px; height:100%; }

/* Left links take available space so center logo remains in the middle */
.navbar-left { display:flex; align-items:center; gap:8px; flex:1; }
.navbar-links-desktop { display:flex; align-items:center; gap:6px; }

/* Right icons align to the end, giving space for centered logo */
.navbar-right { flex:1; z-index:5; display:flex; align-items:center; justify-content:flex-end; gap:8px; }

/* Center logo — use normal flow so it's centered between the two flex children */
.nav-logo-center {
    position:relative;
    top:0;
    left:0;
    transform:none;
    z-index:4;
    margin:0;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0;
    align-self:center;
    height:100%;
}
.nav-logo-img {
    display:block;
    max-height:100px!important; /* prominent size (desktop) */
    height:auto!important;
    width:auto!important;
    object-fit:contain;
    vertical-align:middle;
    filter:none!important; /* no shadow */
    transition:transform 0.22s;
    margin:0 auto;
}
.nav-logo-img:hover { transform:scale(1.04); }

/* Make logo larger on smaller screens so it remains visible */
@media(max-width:991px) {
    .nav-logo-img { max-height:96px!important; }
}

/* Hero (homepage) logo: no shadow and balanced size */
.site-logo-img { max-width:460px!important; width:100%!important; height:auto!important; object-fit:contain; filter:none; transform:translateY(0); transition:transform 0.28s ease, filter 0.28s ease; }
.site-logo-img:hover { transform:translateY(-4px) scale(1.01); }

@media(max-width:991px) {
    .nav-logo-center { position:static; transform:none; flex:1; text-align:center; }
    .navbar-collapse { background:rgba(30,46,38,0.98); border-radius:0 0 16px 16px; padding:16px; margin-top:8px; border:1px solid rgba(255,255,255,0.06); position:absolute; top:100%; left:0; right:0; z-index:50; }
    .navbar-nav { text-align:center; }
    .nav-link { padding:12px 16px!important; font-size:1rem; }
}

/* Right links */
.navbar-collapse { flex:0 0 auto; }
.nav-link { color:var(--text-light)!important; font-weight:500; margin:0 4px; padding:6px 14px!important; border-radius:8px; transition:all 0.3s; font-size:0.9rem; }
.nav-link:hover,.nav-link.active { color:var(--gold)!important; background:rgba(245,232,189,0.08); }

.btn-icon { color:var(--text-light); position:relative; display:flex; align-items:center; padding:6px; border-radius:8px; transition:all 0.3s; }
.btn-icon:hover { color:var(--gold); background:rgba(245,232,189,0.1); }
.badge-cart { position:absolute; top:-4px; right:-8px; background:var(--gold); color:#000; font-size:0.65rem; font-weight:700; border-radius:50%; padding:2px 6px; }
.navbar-toggler:focus { box-shadow:none; }

@media(max-width:991px) {
    .nav-logo-center { position:static; transform:none; flex:1; text-align:center; }
    .navbar-collapse { background:rgba(30,46,38,0.98); border-radius:0 0 16px 16px; padding:16px; margin-top:8px; border:1px solid rgba(255,255,255,0.06); position:absolute; top:100%; left:0; right:0; z-index:50; }
    .navbar-nav { text-align:center; }
    .nav-link { padding:12px 16px!important; font-size:1rem; }
}

/* =================================================================
   HERO
   ================================================================= */
.hero { position:relative; padding:130px 0 80px; background:var(--bg-dark); text-align:center; overflow:hidden; min-height:90vh; display:flex; align-items:center; }
/* HERO VIDEO IMPROVEMENT — clearer video, lighter green tint, better contrast for content */
.hero video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; opacity:0.4; }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(180deg,rgba(20,32,26,0.35) 0%,rgba(20,32,26,0.78) 100%); z-index:1; }
.hero-content { position:relative; z-index:2; width:100%; }
.hero-logo-wrap { display:flex; justify-content:center; margin-bottom:16px; }
.site-logo-img { max-width:460px!important; width:100%!important; height:auto!important; object-fit:contain; filter:none; }
.hero-tagline { font-size:1.3rem; color:var(--gold); font-weight:500; margin-bottom:24px; letter-spacing:1px; }
.hero-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* =================================================================
   BUTTONS
   ================================================================= */
.btn-gold { background:var(--gold); color:#121212!important; font-weight:600; border-radius:50px; padding:12px 32px; border:none; transition:all 0.3s; box-shadow:0 4px 15px rgba(212,175,55,0.25); font-family:'DM Sans',sans-serif; }
.btn-gold:hover { background:var(--gold-hover); color:#121212!important; transform:translateY(-2px); box-shadow:0 8px 24px rgba(212,175,55,0.35); }
.btn-outline-gold { background:transparent; color:var(--gold)!important; font-weight:600; border-radius:50px; padding:12px 32px; border:2px solid var(--gold); transition:all 0.3s; font-family:'DM Sans',sans-serif; }
.btn-outline-gold:hover { background:var(--gold); color:#121212!important; transform:translateY(-2px); }
.divider-gold { width:60px; height:3px; background:var(--gold); margin:10px auto 25px; border-radius:2px; }
.section-title {
    font-size:2.2rem;
    font-weight:700;
    letter-spacing:0.14em;
    text-transform:uppercase;
}
.section-title span {
    color:var(--gold-dark);
}
.section-subtitle { max-width:600px; }

/* TYPOGRAPHY IMPROVEMENT — bigger, bolder headings and section text */
.section-title { font-size:2.6rem; font-weight:800; }
.section-subtitle { font-size:1.05rem; line-height:1.7; }
.menu-card-title { font-size:1.35rem !important; font-weight:700; }
.menu-card-price { font-size:1.35rem !important; }
.hero-tagline { font-size:1.5rem !important; }
.footer-heading { font-size:1.05rem !important; }
.nav-link, .nav-link-mobile { font-size:1rem !important; }

/* =================================================================
   SEARCH BAR — VISIBLE TEXT
   ================================================================= */
.profile-strip { background:rgba(30,46,38,0.04); border:1px solid var(--border-light); padding:24px; border-radius:16px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.search-wrap { min-width:320px; position:relative; }
.search-icon { position:absolute; left:14px; top:50%; transform:translateY(-50%); color:#8a7a6a; font-size:1rem; z-index:2; pointer-events:none; }
.search-input-v2 { background:#fff!important; border:2px solid rgba(200,169,110,0.3)!important; color:#222!important; border-radius:14px!important; padding:12px 16px 12px 40px!important; font-size:0.95rem; box-shadow:0 2px 8px rgba(0,0,0,0.04); transition:all 0.3s; width:100%; }
.search-input-v2:focus { border-color:var(--gold-dark)!important; box-shadow:0 0 0 4px rgba(200,169,110,0.15)!important; color:#222!important; outline:none; }
.search-input-v2::placeholder { color:#9a8a7a; }
.search-dropdown { background:#fff; border:1px solid var(--border-light); border-radius:12px; box-shadow:0 8px 24px rgba(0,0,0,0.1); }
.search-result-item { color:var(--text-dark-brown); border-bottom:1px solid var(--border-light); padding:10px 16px; display:flex; justify-content:space-between; }
.search-result-item:hover { background:rgba(245,232,189,0.15); }

/* =================================================================
   CELEBRATE (LIGHT)
   ================================================================= */
.celebrate-section { padding-top:30px; }
.celebrate-desc { color:var(--text-dark-muted); font-size:1.05rem; line-height:1.7; max-width:500px; }
.celebrate-features { display:flex; flex-direction:column; gap:10px; margin-top:18px; }
.celebrate-feature-light { display:flex; align-items:center; gap:12px; color:var(--text-dark-brown); font-size:0.93rem; padding:10px 16px; background:rgba(30,46,38,0.04); border:1px solid rgba(30,46,38,0.08); border-radius:12px; transition:all 0.3s; }
.celebrate-feature-light:hover { background:rgba(200,169,110,0.1); border-color:var(--gold-dark); transform:translateX(6px); }
.celebrate-feature-light i { color:var(--gold-dark); font-size:1.1rem; flex-shrink:0; }
.celebrate-icon-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; max-width:320px; margin:0 auto; }
.c-icon-card-light { background:#fff; border:1px solid rgba(30,46,38,0.08); border-radius:16px; padding:28px 16px; text-align:center; transition:all 0.3s; box-shadow:0 2px 8px rgba(0,0,0,0.04); }
.c-icon-card-light:hover { border-color:var(--gold-dark); transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,0.08); }
.c-icon-card-light i { font-size:2rem; color:var(--gold-dark); display:block; margin-bottom:8px; }
.c-icon-card-light span { font-size:0.85rem; color:var(--text-dark-muted); font-weight:500; }

/* =================================================================
   CARDS
   ================================================================= */
.glass-card { background:var(--card-bg); backdrop-filter:blur(10px); border:1px solid var(--border-glass); border-radius:16px; padding:24px; }
.menu-card { background:var(--card-bg); border:1px solid var(--border-glass); border-radius:16px; overflow:hidden; transition:transform 0.3s,box-shadow 0.3s; height:100%; display:flex; flex-direction:column; }
.menu-card:hover { transform:translateY(-5px); border-color:rgba(212,175,55,0.3); box-shadow:0 12px 30px rgba(0,0,0,0.4); }
.menu-card-light { background:var(--card-bg-light); backdrop-filter:blur(10px); border:1px solid var(--border-light); }
.menu-card-light:hover { box-shadow:0 12px 30px rgba(0,0,0,0.1); border-color:var(--gold-dark); }
.menu-card-img-wrap { position:relative; width:100%; padding-top:75%; overflow:hidden; }
.menu-card-img-wrap img { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; transition:transform 0.5s; }
.menu-card:hover .menu-card-img-wrap img { transform:scale(1.06); }
.badge-special,.badge-popular { position:absolute; top:12px; padding:5px 12px; font-size:0.72rem; font-weight:600; border-radius:30px; z-index:2; font-family:'DM Sans',sans-serif; }
.badge-special { left:12px; background:#e63946; color:#fff; }
.badge-popular { right:12px; background:var(--gold); color:#000; }
.menu-card-body { padding:20px; display:flex; flex-direction:column; flex-grow:1; }
.menu-card-cat { font-size:0.78rem; color:var(--gold-dark); text-transform:uppercase; letter-spacing:1px; }
.menu-card-title { font-size:1.2rem; margin:5px 0 8px; }
.menu-card-price { font-size:1.25rem; font-weight:700; color:var(--gold-dark); margin-top:auto; margin-bottom:12px; }
.menu-card-areas { font-size:0.8rem; color:var(--text-muted); margin-bottom:12px; }
.add-cart-btn { width:100%; background:transparent; border:1px solid var(--gold); color:var(--gold); padding:10px; border-radius:30px; font-weight:600; transition:all 0.3s; font-family:'DM Sans',sans-serif; cursor:pointer; }
.add-cart-btn:hover { background:var(--gold); color:#121212; }
.add-cart-btn-light { border-color:var(--gold-dark); color:var(--gold-dark); }
.add-cart-btn-light:hover { background:var(--gold-dark); color:#fff; }
.category-pills { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-bottom:40px; }
.category-pill { padding:8px 22px; border-radius:30px; background:rgba(30,46,38,0.06); border:1px solid var(--border-light); color:var(--text-dark-brown); cursor:pointer; transition:all 0.3s; font-family:'DM Sans',sans-serif; font-weight:500; }
.category-pill.active,.category-pill:hover { background:var(--gold-dark); color:#fff; border-color:var(--gold-dark); }

/* =================================================================
   ABOUT (dark)
   ================================================================= */
.about-section.section-dark { background:var(--bg-dark); }
.about-section.section-dark .section-title { color:var(--text-light); }
.about-section.section-dark .section-title span { color:var(--gold); }
.about-grid { display:flex!important; flex-direction:row!important; align-items:center!important; gap:36px!important; flex-wrap:nowrap!important; }
.about-grid>.about-images,.row.about-grid>.about-images { flex:0 0 45%!important; max-width:45%!important; }
.about-grid>.about-text-dark,.row.about-grid>.about-text-dark { flex:1 1 55%!important; max-width:55%!important; }
.image-stack { position:relative; width:100%; max-width:360px!important; margin:0 auto; }
.img-main { position:relative; display:block; width:100%!important; max-width:320px!important; height:auto!important; border-radius:8px!important; object-fit:cover!important; box-shadow:0 12px 30px rgba(0,0,0,0.2)!important; z-index:5!important; border:3px solid rgba(245,232,189,0.1)!important; }
.img-decor { position:absolute!important; opacity:0.9!important; border-radius:8px!important; box-shadow:0 8px 20px rgba(0,0,0,0.15)!important; }
.img-decor.decor-1 { left:-20px!important; top:-8px!important; width:260px!important; z-index:2!important; transform:rotate(-4deg)!important; }
.img-decor.decor-2 { left:-70px!important; top:-24px!important; width:220px!important; z-index:1!important; transform:rotate(-6deg)!important; }
@media(max-width:700px) { .img-decor { display:none!important; } }
@media(max-width:600px) { .about-grid { flex-direction:column!important; gap:20px!important; } .about-grid>.about-images,.row.about-grid>.about-images,.about-grid>.about-text-dark,.row.about-grid>.about-text-dark { max-width:100%!important; flex:1 1 100%!important; } .img-main { max-width:100%!important; } }

/* =================================================================
   GALLERY — full image, no crop
   ================================================================= */
.gallery-grid-v2 { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:16px; }
.gallery-item-v2 { position:relative; border-radius:14px; overflow:hidden; background:#fff; border:1px solid var(--border-light); box-shadow:0 2px 8px rgba(0,0,0,0.05); }
.gallery-item-v2 img { width:100%; height:auto; object-fit:contain; display:block; transition:transform 0.5s; }
.gallery-item-v2:hover img { transform:scale(1.03); }
.gallery-caption { padding:12px 16px; background:#fff; color:var(--text-dark-brown); font-size:0.85rem; font-weight:500; border-top:1px solid var(--border-light); }

/* =================================================================
   INSTAGRAM — Working video cards
   ================================================================= */
.insta-post-card, .insta-video-card { border-radius:14px; overflow:hidden; border:1px solid var(--border-glass); position:relative; aspect-ratio:9/16; background:#111; transition:all 0.3s; display:block; }
.insta-post-card:hover, .insta-video-card:hover { border-color:var(--gold); transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,0.3); }
.insta-post-card img, .insta-post-card video, .insta-video { width:100%; height:100%; object-fit:cover; display:block; }
.insta-play-overlay { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,0.3); cursor:pointer; transition:opacity 0.3s; }
.insta-play-overlay i { font-size:3rem; color:#fff; filter:drop-shadow(0 2px 6px rgba(0,0,0,0.5)); transition:transform 0.3s; }
.insta-play-overlay:hover i { transform:scale(1.15); }
.insta-label { position:absolute; bottom:12px; left:12px; right:12px; color:#fff; font-size:0.8rem; font-weight:600; text-shadow:0 1px 4px rgba(0,0,0,0.6); }
.insta-post-fallback .insta-play-overlay { background:rgba(0,0,0,0.4); }
.instagram-carousel .carousel-control-prev,
.instagram-carousel .carousel-control-next {
    width:3rem;
    height:3rem;
    top:50%;
    transform:translateY(-50%);
}
.instagram-carousel .carousel-control-prev-icon,
.instagram-carousel .carousel-control-next-icon {
    background-size:100% 100%;
}

/* =================================================================
   EVENTS
   ================================================================= */
.event-card { background:#fff; border:1px solid var(--border-light); border-radius:16px; padding:28px; position:relative; transition:all 0.3s; box-shadow:0 2px 8px rgba(0,0,0,0.04); }
.event-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,0.08); border-color:var(--gold-dark); }
.event-card-highlight { border-color:var(--gold-dark); box-shadow:0 4px 16px rgba(200,169,110,0.15); }
.event-badge { position:absolute; top:16px; right:16px; background:var(--gold-dark); color:#fff; padding:4px 12px; border-radius:20px; font-size:0.72rem; font-weight:600; }
.event-card h4 { color:var(--text-dark-brown); font-size:1.2rem; margin-bottom:10px; }
.event-location,.event-date { font-size:0.85rem; color:var(--text-dark-muted); margin-bottom:4px; }
.event-location i,.event-date i { color:var(--gold-dark); margin-right:4px; }
.event-desc { font-size:0.85rem; color:var(--text-dark-muted); margin:8px 0 14px; }
.event-img { border-radius:12px; overflow:hidden; margin-bottom:14px; }
.event-img img { width:100%; height:180px; object-fit:cover; }

/* Reviews */
.review-card { transition:transform 0.3s,border-color 0.3s; }
.review-card:hover { transform:translateY(-4px); border-color:rgba(245,232,189,0.2); }
.stars i { color:var(--gold); font-size:0.9rem; }

/* =================================================================
   NEW FEATURE: REVIEWS SECTION — live Google Places API carousel
   Modern card, soft shadow, center aligned, mobile-friendly.
   No dummy data, no external "View on Google" link/button.
   ================================================================= */
.reviews-section { padding-top:40px; padding-bottom:60px; }
.reviews-carousel .carousel-inner { padding: 4px 4px 12px; }

/* Average rating summary badge, e.g. "★ 4.8/5 (120 Google reviews)" */
.reviews-avg-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px auto 28px;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.15rem;
}
.reviews-avg-badge i { color: #fbbc04; font-size: 1.2rem; }
.reviews-avg-count { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; }

/* Light review card on the dark reviews section (matches site's cream/beige accent) */
.review-card-light {
    background: #f8f4ea;
    color: #1e2e26;
    border-radius: 16px;
    padding: 22px 20px;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.review-card-light:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(0,0,0,0.28); }
.review-avatar-light,
.review-avatar-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-bottom: 12px;
}
.review-avatar-light {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1e2e26;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
}
.review-avatar-photo { object-fit: cover; display: block; }
.review-card-body { display: flex; flex-direction: column; }
.review-name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.review-name { font-weight: 700; color: #1e2e26; font-size: 1rem; }
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1a7f4b;
    background: rgba(26,127,75,0.1);
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
}
.verified-badge i { font-size: 0.85rem; }

/* Google-style star rating: golden filled stars, soft outline for empty */
.google-stars { margin: 8px 0 10px; }
.google-stars i { color: #fbbc04; font-size: 0.95rem; margin-right: 1px; }
.google-stars i.bi-star { color: #dadce0; }

.review-card-light .review-text { color: #3a4a41; font-size: 0.95rem; line-height: 1.6; margin: 0 0 10px; }
.review-card-light .review-time { color: #8a9b8e; font-size: 0.78rem; }

.reviews-carousel .carousel-control-prev,
.reviews-carousel .carousel-control-next { width: 3rem; height: 3rem; top: 50%; transform: translateY(-50%); opacity: 0.85; }
.reviews-carousel .carousel-control-prev-icon,
.reviews-carousel .carousel-control-next-icon { background-size: 100% 100%; }

/* Tablet: show 2 cards instead of 3 */
@media(min-width:769px) and (max-width:991px) {
    .reviews-carousel .col-md-4:nth-child(3) { display: none; }
}
@media(max-width:768px) {
    .review-card-light { padding: 20px 18px; }
    .reviews-avg-badge { font-size: 1.05rem; margin-bottom: 22px; }
}

/* =================================================================
   WHATSAPP FLOAT BUTTON — fixed, all pages, smooth hover
   ================================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float i { color: #fff; font-size: 1.8rem; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 26px rgba(37,211,102,0.5); }
@media(max-width:480px) {
    .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
    .whatsapp-float i { font-size: 1.5rem; }
}

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer-final { background:linear-gradient(180deg,#0d1a13,#0a1210); padding:50px 0 0; color:#8a9b8e; border-top:1px solid rgba(245,232,189,0.06); }
.footer-logo-img { height:110px; width:auto; max-width:260px; object-fit:contain; filter:none; margin-bottom:12px; display:block; -webkit-filter:drop-shadow(0 8px 20px rgba(0,0,0,0.6)); filter:drop-shadow(0 8px 20px rgba(0,0,0,0.6)); transition:transform 0.3s, box-shadow 0.3s; }
.footer-logo-img:hover, .footer-logo-img:focus { transform:translateY(-4px) scale(1.02); box-shadow:0 12px 30px rgba(0,0,0,0.5); }
.footer-brand-text, .footer-heading {
    font-family:'Cormorant Garamond','Playfair Display',serif;
}
.footer-brand-text {
    font-size:1.5rem;
    font-weight:800;
    color:var(--gold);
}
.footer-tagline { color:#6b8b78; font-size:0.9rem; margin-bottom:16px; font-style:italic; }
.footer-socials { display:flex; gap:10px; }
.footer-socials a { width:38px; height:38px; border-radius:10px; border:1px solid rgba(245,232,189,0.1); display:flex; align-items:center; justify-content:center; color:#8a9b8e; font-size:1.05rem; transition:all 0.3s; }
.footer-socials a:hover { background:var(--gold); color:#0a1210; border-color:var(--gold); transform:translateY(-3px); }
.footer-heading {
    font-size:0.95rem;
    color:var(--gold);
    margin-bottom:16px;
    font-weight:600;
}
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { margin-bottom:8px; font-size:0.85rem; color:#6b8b78; }
.footer-links a { color:#8a9b8e; transition:color 0.3s; }
.footer-links a:hover { color:var(--gold); }
.footer-contact i { color:var(--gold-dark); margin-right:6px; }
.footer-bottom-bar { border-top:1px solid rgba(245,232,189,0.06); margin-top:36px; padding:18px 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
.footer-bottom-bar p { font-size:0.75rem; color:#4a5e50; margin:0; }
.footer-made { font-size:0.75rem; color:#4a5e50; }
.footer-heart { color:#c0392b; display:inline-block; animation:heartBeat 1.5s ease infinite; }
@keyframes heartBeat { 0%,100%{transform:scale(1);} 15%{transform:scale(1.25);} 30%{transform:scale(1);} 45%{transform:scale(1.15);} }

/* =================================================================
   RIPPLE / UTILITIES
   ================================================================= */
.ripple { position:relative; overflow:hidden; }
.ripple-effect { position:absolute; border-radius:50%; background:rgba(255,255,255,0.3); animation:rippleAnim 0.6s linear; pointer-events:none; }
@keyframes rippleAnim { from{transform:scale(0);opacity:1;} to{transform:scale(4);opacity:0;} }

/* Cart reusables */
.cart-row { background:var(--card-bg); border:1px solid var(--border-glass); border-radius:16px; padding:16px; margin-bottom:12px; }
.qty-control { display:inline-flex; align-items:center; gap:10px; }
.qty-btn { width:32px; height:32px; border-radius:50%; border:1px solid var(--border-glass); background:transparent; color:var(--text-light); font-size:1.1rem; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all 0.2s; }
.qty-btn:hover { background:var(--gold); color:#121212; border-color:var(--gold); }
.form-control { background:rgba(255,255,255,0.06); border:1px solid var(--border-glass); color:var(--text-light); border-radius:12px; padding:10px 16px; }
.form-control:focus { background:rgba(255,255,255,0.08); border-color:var(--gold); color:var(--text-light); box-shadow:0 0 0 3px rgba(245,232,189,0.12); }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media(max-width:768px) {
    .hero { padding:100px 0 50px; min-height:70vh; }
    .site-logo-img { max-width:280px!important; }
    .hero-tagline { font-size:1.15rem !important; }
    section { padding:50px 0; }
    .section-title { font-size:2rem !important; }
    .gallery-grid-v2 { grid-template-columns:1fr 1fr; gap:10px; }
    .footer-bottom-bar { flex-direction:column; text-align:center; }
    .celebrate-section .row { flex-direction:column; }
    .popular-carousel .col-md-4:not(:first-child) { display:none; }
    .reviews-carousel .col-md-4:not(:first-child) { display:none; }
    .profile-strip { flex-direction:column; }
    .search-wrap { min-width:100%!important; }
    .insta-video-card { aspect-ratio:9/14; }
}
@media(max-width:480px) {
    .hero { padding:80px 0 40px; }
    .site-logo-img { max-width:220px!important; }
    .hero-btns { flex-direction:column; align-items:center; }
    .btn-gold,.btn-outline-gold { width:100%; max-width:280px; text-align:center; }
    .gallery-grid-v2 { grid-template-columns:1fr; }
    .celebrate-icon-grid { gap:10px; }
    .c-icon-card-light { padding:20px 10px; }
    .footer-top .row { text-align:center; }
    .footer-socials { justify-content:center; }
    .nav-logo-img { height:38px!important; }
}
@media(hover:none) { .add-cart-btn,.btn-gold,.btn-outline-gold,.category-pill { min-height:44px; display:flex; align-items:center; justify-content:center; } }

/* Hide any old footer classes */
.site-footer,.site-footer-v2 { display:none!important; }

/* =================================================================
   NAVBAR v6 — Hamburger LEFT, Logo CENTER, Links+Cart RIGHT
   ================================================================= */
.navbar-row { display:flex; align-items:center; min-height:68px; padding:0 12px; position:relative; }
.navbar-hamburger { display:none; background:none; border:none; color:var(--text-light,#f8f9fa); font-size:1.8rem; padding:6px; cursor:pointer; line-height:1; order:0; }
.navbar-logo { position:absolute; left:50%; transform:translateX(-50%); z-index:5; line-height:0; order:1; }
.nav-logo-img { height:58px; width:auto; object-fit:contain; filter:none!important; transition:transform 0.3s; }
.nav-logo-img:hover { transform:scale(1.06); }
.navbar-right { margin-left:auto; display:flex; align-items:center; gap:4px; order:2; }
.navbar-links-desktop { display:flex; align-items:center; gap:2px; }
.navbar-mobile-menu { display:none; background:rgba(30,46,38,0.98); border-top:1px solid rgba(255,255,255,0.06); padding:8px 16px 16px; }
.navbar-mobile-menu.open { display:block; animation:slideDown 0.3s ease; }
@keyframes slideDown { from{opacity:0;transform:translateY(-10px);} to{opacity:1;transform:translateY(0);} }
.nav-link-mobile { display:block; color:#f8f9fa; padding:12px 16px; border-radius:10px; font-size:1rem; font-weight:500; text-align:center; text-decoration:none; transition:all 0.2s; }
.nav-link-mobile:hover,.nav-link-mobile.active { color:#f5e8bd; background:rgba(245,232,189,0.08); }
@media(max-width:991px) {
    .navbar-hamburger { display:flex!important; align-items:center; position:relative; z-index:6; }
    .navbar-links-desktop { display:none!important; }
    /* Keep the logo absolutely centered so it doesn't shift to the side when mobile content wraps */
    .navbar-logo { position:absolute; left:50%; transform:translateX(-50%); z-index:5; }
    /* Ensure there is enough horizontal padding so the centered logo doesn't overlap the hamburger or cart */
    .navbar-row { padding-left:56px; padding-right:56px; }
    /* Keep the right-side icons visible and above the mobile menu */
    .navbar-right { position:relative; z-index:6; }
}
/* Center primary buttons on smaller screens */
@media(max-width:767px) {
    .btn-gold, .btn-outline-gold, .add-cart-btn { display:block !important; margin:12px auto !important; width:90% !important; max-width:420px; text-align:center !important; }
    .hero-btns { justify-content:center !important; }
}

/* =================================================================
   HOME-BAKERY NOTE BANNER
   ================================================================= */
/* =================================================================
   BAKERY BITE BANNER FIX — light background matching site's light theme
   ================================================================= */
.bakery-note-banner { background: var(--bg-light); padding:30px 0; border-top:1px solid rgba(200,169,110,0.15); border-bottom:1px solid rgba(200,169,110,0.15); }
.bakery-note-inner { display:flex; align-items:center; justify-content:center; gap:14px; max-width:700px; margin:0 auto; padding:20px 28px; background:#fff; border:1px solid rgba(200,169,110,0.25); border-radius:16px; box-shadow:0 4px 16px rgba(30,46,38,0.06); }
.bakery-note-inner i { font-size:1.8rem; color:var(--gold-dark); flex-shrink:0; }
.bakery-note-inner p { color:var(--text-dark-muted); font-size:0.95rem; margin:0; line-height:1.6; text-align:left; }
.bakery-note-inner strong { color:var(--text-dark-brown); }
@media(max-width:576px) {
    .bakery-note-inner { flex-direction:column; text-align:center; padding:16px 20px; }
    .bakery-note-inner p { text-align:center; }
}

/* =================================================================
   ORDER CONFIRMATION PAGE & MODAL
   ================================================================= */
.order-confirm-modal { background:var(--bg-dark,#1e2e26); border:1px solid rgba(245,232,189,0.15); border-radius:20px; color:#f8f9fa; }
.confirm-icon { font-size:3.5rem; margin-bottom:8px; }
.confirm-title { font-family:'Playfair Display',serif; font-size:1.8rem; color:#f5e8bd; margin-bottom:12px; }
.order-detail-card { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); border-radius:14px; padding:20px; }

/* WhatsApp button */
.btn-whatsapp { background:#25d366; color:#fff!important; font-weight:600; border-radius:50px; padding:12px 28px; border:none; transition:all 0.3s; font-family:'DM Sans',sans-serif; }
.btn-whatsapp:hover { background:#1fb855; color:#fff!important; transform:translateY(-2px); box-shadow:0 6px 20px rgba(37,211,102,0.3); }

/* =================================================================
   FOOTER FIX — always visible
   ================================================================= */
.site-footer-final { display:block!important; visibility:visible!important; }

@media (max-width:360px) {
    /* Make logo compact and preserve center alignment */
    .nav-logo-img { max-height:44px !important; }
    .navbar-row { padding-left:48px !important; padding-right:48px !important; }

    /* Buttons full width with slight side padding */
    .btn-gold, .btn-outline-gold, .add-cart-btn { width:92% !important; padding:10px 14px !important; }

    /* Footer and small text adjustments */
    .footer-brand-text { font-size:1.1rem !important; }
    .footer-links li { font-size:0.9rem !important; }

    /* Ensure nav mobile links are comfortably tappable */
    .nav-link-mobile { padding:12px 14px !important; font-size:1rem !important; }
}

/* High-contrast / focus improvements for accessibility on mobile only */
@media (max-width:768px) {
    .nav-link-mobile:focus, .nav-link-mobile:hover { outline:2px solid rgba(245,232,189,0.16); outline-offset:2px; }
    .btn-gold:focus, .btn-outline-gold:focus, .add-cart-btn:focus { box-shadow:0 6px 18px rgba(245,232,189,0.12) !important; }
}

/* =================================================================
   NEW: WISHLIST / FAVOURITE BUTTON (heart toggle on product cards)
   Works on desktop and mobile — placed opposite corner to existing
   badges so it never overlaps "Popular" / "Today's Special" tags.
   ================================================================= */
.wishlist-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    transition: transform 0.25s, background 0.25s;
}
.wishlist-btn i { color: #9a8a7a; transition: color 0.2s; }
.wishlist-btn:hover { transform: scale(1.08); background: #fff; }
.wishlist-btn.active i,
.wishlist-btn:hover i { color: #e0245e; }
.wishlist-btn.active { animation: heartPop 0.3s ease; }
@keyframes heartPop { 0%{transform:scale(1);} 50%{transform:scale(1.25);} 100%{transform:scale(1);} }

/* Wishlist page: match empty-state icon color to the new heart accent */
.text-muted-cream + .bi-heart { color:#e0245e; }

/* MOBILE FIX START — wishlist button tap target + spacing */
@media(max-width:768px) {
    .wishlist-btn { width: 40px; height: 40px; bottom: 10px; right: 10px; }
}
@media(hover:none) {
    .wishlist-btn { min-width:44px; min-height:44px; }
}
/* MOBILE FIX END */

/* =================================================================
   MOBILE FIX START — Hero content contrast (mobile only, desktop unchanged)
   Base overlay/video opacity now updated site-wide (see HERO VIDEO
   IMPROVEMENT above); this just keeps the tagline readable on mobile.
   ================================================================= */
@media(max-width:768px) {
    .hero video { opacity: 0.32; }
    .hero-tagline { text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
}
/* MOBILE FIX END */

/* =================================================================
   MOBILE FIX START — Light-section text safety net (readability only)
   Only touches elements inside light sections that lack an explicit
   dark-text class, so nothing here can affect the desktop design.
   ================================================================= */
@media(max-width:768px) {
    .section-light p:not([class*="text-"]),
    .section-light h1:not([class*="text-"]),
    .section-light h2:not([class*="text-"]),
    .section-light h3:not([class*="text-"]),
    .section-light h4:not([class*="text-"]),
    .section-light h5:not([class*="text-"]),
    .section-light h6:not([class*="text-"]) {
        color: var(--text-dark-brown);
    }
}
/* MOBILE FIX END */

/* =================================================================
   MOBILE FIX START — Footer alignment & spacing (mobile only)
   Desktop footer layout is untouched; this only centers content
   and tightens spacing under 768px as requested.
   ================================================================= */
@media(max-width:768px) {
    .site-footer-final { text-align: center; padding-top: 36px; }
    .footer-top .row { text-align: center; }
    .footer-brand-wrap { display: flex; justify-content: center; }
    .footer-socials { justify-content: center; margin: 0 auto 8px; }
    .footer-heading { margin-top: 18px; }
    .footer-links { padding-left: 0; }
    .footer-contact li { justify-content: center; display: flex; align-items: center; gap: 6px; }
    .footer-bottom-bar { flex-direction: column; text-align: center; gap: 6px; }
}
/* MOBILE FIX END */

/* =================================================================
   MOBILE FIX START — Cart / checkout row tidy-up (mobile only)
   ================================================================= */
@media(max-width:480px) {
    .cart-row { flex-wrap: wrap; justify-content: center; text-align: center; padding: 14px; }
    .cart-row img { width: 64px; height: 64px; }
    .cart-row .text-end { text-align: center !important; width: 100%; margin-top: 8px; }
}
/* MOBILE FIX END */

/* ===== Instagram reel play-cards (URL-only, embed opens in modal) ===== */
.insta-reels-carousel { position: relative; max-width: 1140px; margin: 0 auto; }
.insta-reels-track {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scroll-behavior: smooth; padding: 4px 2px 12px;
    scrollbar-width: none;
}
.insta-reels-track::-webkit-scrollbar { display: none; }
.insta-reel-card {
    position: relative; flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start;
    aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; cursor: pointer;
    border: 1px solid var(--border-glass); display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; padding: 20px;
    background: linear-gradient(160deg, #24382e 0%, #1a2820 60%, #16211a 100%);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.insta-reel-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
/* Real cover image fills the card (scraped once + cached locally, or bakery fallback) */
.insta-reel-thumb { position:absolute; inset:0; z-index:0; }
.insta-reel-thumb img {
    width:100%; height:100%; object-fit:cover; display:block;
    transition:transform 0.45s ease; background:#24382e;
}
.insta-reel-card:hover .insta-reel-thumb img { transform:scale(1.06); }
/* Dark scrim so badge/title/CTA stay readable over any photo */
.insta-reel-scrim {
    position:absolute; inset:0; z-index:1; pointer-events:none;
    background:linear-gradient(180deg, rgba(10,16,13,0.35) 0%, rgba(10,16,13,0) 32%, rgba(10,16,13,0) 55%, rgba(10,16,13,0.82) 100%);
}
.insta-reel-glow {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(120px 120px at 50% 38%, rgba(245,232,189,0.14), transparent 70%);
}
.insta-reel-badge {
    position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 0.72rem; color: var(--gold);
    border: 1px solid rgba(245,232,189,0.4); border-radius: 40px; padding: 3px 10px;
    display: inline-flex; align-items: center; gap: 5px; background: rgba(10,16,13,0.45);
}
.insta-reel-play {
    width: 60px; height: 60px; border-radius: 50%; margin-bottom: 16px; position: relative; z-index: 2;
    background: rgba(245,232,189,0.12); border: 2px solid var(--gold); color: var(--gold);
    display: flex; align-items: center; justify-content: center; font-size: 1.9rem;
    transition: all 0.3s;
}
.insta-reel-card:hover .insta-reel-play { background: var(--gold); color: #17231b; transform: scale(1.06); }
.insta-reel-title {
    position: relative; z-index: 2;
    color: var(--text-light); font-weight: 600; font-size: 0.98rem; line-height: 1.3;
    margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    text-shadow: 0 1px 6px rgba(10,16,13,0.7);
}
.insta-reel-cta {
    position: relative; z-index: 2;
    font-size: 0.8rem; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gold);
    border: 1px solid var(--gold); border-radius: 40px; padding: 6px 16px; transition: all 0.3s;
}
.insta-reel-card:hover .insta-reel-cta { background: var(--gold); color: #17231b; }
/* Clean "watch on Instagram" fallback card — used only when a real reel
   thumbnail could not be resolved. No stock photo, no green screen. */
.insta-reel-card.no-thumb {
    text-decoration: none;
    gap: 4px;
}
.insta-reel-card.no-thumb .insta-reel-play { margin-bottom: 10px; }
.insta-reel-card.no-thumb .insta-reel-title {
    -webkit-line-clamp: unset;
    margin-bottom: 0;
    color: var(--gold);
}
.insta-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold);
    background: rgba(30,46,38,0.85); color: var(--gold); font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.25s;
}
.insta-nav:hover { background: var(--gold); color: #121212; }
.insta-prev { left: -8px; }
.insta-next { right: -8px; }

/* Reel modal */
.insta-modal { position: fixed; inset: 0; z-index: 2000; display: none; }
.insta-modal.open { display: block; }
.insta-modal-backdrop { position: absolute; inset: 0; background: rgba(10,16,13,0.82); backdrop-filter: blur(3px); }
.insta-modal-body {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 400px; max-width: 94vw; background: #000; border-radius: 16px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6); border: 1px solid rgba(245,232,189,0.25);
}
.insta-modal-frame { width: 100%; height: 78vh; max-height: 720px; background: #000; }
.insta-modal-frame iframe { width: 100%; height: 100%; display: block; }
.insta-modal-close {
    position: absolute; top: 8px; right: 12px; z-index: 4; background: rgba(0,0,0,0.5);
    color: #fff; border: none; width: 34px; height: 34px; border-radius: 50%;
    font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.insta-modal-close:hover { background: var(--gold); color: #000; }
/* Clean fallback card inside the modal when the embed is blocked / fails to load */
.insta-modal-fallback {
    position: absolute; inset: 0; z-index: 3; display: none;
    flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    text-align: center; padding: 24px; background: linear-gradient(160deg, #24382e 0%, #1a2820 60%, #16211a 100%);
    color: var(--text-light);
}
.insta-modal-fallback.show { display: flex; }
.insta-modal-fallback i { font-size: 2.4rem; color: var(--gold); }
.insta-modal-fallback p { margin: 0; font-weight: 500; }

@media (max-width: 992px) { .insta-reel-card { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 768px) { .insta-reel-card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 480px) {
    .insta-reel-card { flex-basis: 78%; }
    .insta-nav { display: none; }
    .insta-modal-frame { height: 70vh; }
}

/* ============================================================
   AESTHETIC SECTION TRANSITIONS + BAKERY DOODLES
   Additive only. Uses existing theme vars. No libraries, no heavy animation.
   Colors: dark green #1e2e26, cream #f8f4ea, gold #f5e8bd / #c8a96e
   ============================================================ */

/* Wave dividers sit at the top or bottom edge of a section and are filled
   with the NEIGHBOURING section's colour so the two flow together.
   The SVG is inlined as a data-URI background so no extra files are needed. */
.wave-sep { position: relative; }
.wave-sep > .container { position: relative; z-index: 2; }

.wave-sep::before,
.wave-sep::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 70px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 1;
}
.wave-sep::before { top: -1px; }
.wave-sep::after  { bottom: -1px; }

/* --- Fill variants (colour = the section the wave points INTO) --- */
/* Cream wave (used when the adjoining section is cream/light) */
.wave-top-cream::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath fill='%23f8f4ea' d='M0,40 C240,80 480,0 720,25 C960,50 1200,75 1440,35 L1440,0 L0,0 Z'/%3E%3C/svg%3E"); }
.wave-bottom-cream::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath fill='%23f8f4ea' d='M0,30 C240,-10 480,70 720,45 C960,20 1200,-5 1440,35 L1440,70 L0,70 Z'/%3E%3C/svg%3E"); }
/* Dark green wave (used when the adjoining section is dark) */
.wave-top-dark::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath fill='%231e2e26' d='M0,35 C240,75 480,-5 720,20 C960,45 1200,70 1440,30 L1440,0 L0,0 Z'/%3E%3C/svg%3E"); }
.wave-bottom-dark::after  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath fill='%231e2e26' d='M0,25 C240,-15 480,65 720,40 C960,15 1200,-10 1440,30 L1440,70 L0,70 Z'/%3E%3C/svg%3E"); }

/* Give waved sections a little breathing room so content clears the curve */
.wave-sep { padding-top: 90px; padding-bottom: 90px; }

/* --- Soft gold hand-drawn curved line divider (a lighter alternative) --- */
.curve-line-sep::after {
    content: "";
    position: absolute;
    bottom: 24px; left: 50%; transform: translateX(-50%);
    width: 180px; height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 18'%3E%3Cpath d='M2,9 C40,-2 70,20 100,9 C130,-2 160,16 178,7' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' opacity='0.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: contain;
    pointer-events: none;
}

/* ============================================================
   BAKERY DOODLES — subtle outline SVGs in section corners
   ============================================================ */
.doodle {
    position: absolute;
    pointer-events: none;
    opacity: 0.14;
    z-index: 1;
    width: 90px; height: 90px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.doodle.on-dark  { filter: none; }         /* gold strokes read well on dark */
.doodle.on-light { opacity: 0.18; }        /* visible but subtle on cream */

/* placement helpers */
.doodle.tl { top: 24px;  left: 24px; }
.doodle.tr { top: 24px;  right: 24px; }
.doodle.bl { bottom: 24px; left: 24px; }
.doodle.br { bottom: 24px; right: 24px; }
.doodle.ml { top: 50%; left: 18px;  transform: translateY(-50%); }
.doodle.mr { top: 50%; right: 18px; transform: translateY(-50%); }
/* smaller size for tighter sections / secondary pages so nothing crowds the content */
.doodle.sm { width: 56px; height: 56px; }

/* individual doodle shapes (outline, gold #c8a96e) */
.d-cupcake  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 28 L22 54 H42 L46 28 Z'/%3E%3Cpath d='M16 28 H48'/%3E%3Cpath d='M22 28 C20 16 30 12 32 20 C34 12 44 16 42 28'/%3E%3Ccircle cx='32' cy='12' r='2'/%3E%3C/svg%3E"); }
.d-whisk    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M34 8 L44 40'/%3E%3Cpath d='M30 16 C22 24 22 40 40 44'/%3E%3Cpath d='M36 14 C30 22 30 38 43 42'/%3E%3Cpath d='M42 12 C38 20 38 36 45 40'/%3E%3Cpath d='M44 40 L48 52'/%3E%3C/svg%3E"); }
.d-cookie   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='32' cy='32' r='20'/%3E%3Ccircle cx='26' cy='26' r='2'/%3E%3Ccircle cx='38' cy='28' r='2'/%3E%3Ccircle cx='30' cy='38' r='2'/%3E%3Ccircle cx='40' cy='38' r='2'/%3E%3C/svg%3E"); }
.d-cake     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 52 H50 V34 C50 30 46 28 32 28 C18 28 14 30 14 34 Z'/%3E%3Cpath d='M14 40 C20 46 26 34 32 40 C38 46 44 34 50 40'/%3E%3Cpath d='M32 28 V18'/%3E%3Ccircle cx='32' cy='15' r='2'/%3E%3C/svg%3E"); }
.d-rollpin  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='16' y='24' width='32' height='16' rx='8'/%3E%3Cpath d='M8 32 H16 M48 32 H56'/%3E%3C/svg%3E"); }
.d-heart    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 46 C12 32 18 16 32 24 C46 16 52 32 32 46 Z'/%3E%3C/svg%3E"); }
.d-sparkle  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 14 C33 26 38 31 50 32 C38 33 33 38 32 50 C31 38 26 33 14 32 C26 31 31 26 32 14 Z'/%3E%3C/svg%3E"); }
.d-choc     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='18' y='18' width='28' height='28' rx='2'/%3E%3Cpath d='M32 18 V46 M18 32 H46'/%3E%3C/svg%3E"); }
.d-chefhat  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 44 H44 V34 C52 34 52 22 44 22 C44 14 20 14 20 22 C12 22 12 34 20 34 Z'/%3E%3Cpath d='M20 44 L20 50 H44 V44'/%3E%3C/svg%3E"); }
.d-brownie  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 24 L50 24 L46 46 L18 46 Z'/%3E%3Cpath d='M14 24 L18 20 L54 20 L50 24'/%3E%3Cpath d='M23 33 h1 M31 33 h1 M39 33 h1'/%3E%3C/svg%3E"); }
.d-cakeslice{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 46 L44 46 L30 20 Z'/%3E%3Cpath d='M14 46 L14 40 L30 14 L44 40 L44 46'/%3E%3Ccircle cx='30' cy='16' r='2'/%3E%3C/svg%3E"); }

/* Dark brand-colour strokes for doodles on LIGHT/cream backgrounds.
   Same shapes as above, recoloured to dark green #1e2e26 so they are
   clearly visible on cream. Purely decorative: pointer-events none,
   opacity handled by .doodle.on-light (0.18). */
.doodle.on-light.d-cupcake  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231e2e26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 28 L22 54 H42 L46 28 Z'/%3E%3Cpath d='M16 28 H48'/%3E%3Cpath d='M22 28 C20 16 30 12 32 20 C34 12 44 16 42 28'/%3E%3Ccircle cx='32' cy='12' r='2'/%3E%3C/svg%3E"); }
.doodle.on-light.d-whisk    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231e2e26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M34 8 L44 40'/%3E%3Cpath d='M30 16 C22 24 22 40 40 44'/%3E%3Cpath d='M36 14 C30 22 30 38 43 42'/%3E%3Cpath d='M42 12 C38 20 38 36 45 40'/%3E%3Cpath d='M44 40 L48 52'/%3E%3C/svg%3E"); }
.doodle.on-light.d-cookie   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231e2e26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='32' cy='32' r='20'/%3E%3Ccircle cx='26' cy='26' r='2'/%3E%3Ccircle cx='38' cy='28' r='2'/%3E%3Ccircle cx='30' cy='38' r='2'/%3E%3Ccircle cx='40' cy='38' r='2'/%3E%3C/svg%3E"); }
.doodle.on-light.d-cake     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231e2e26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 52 H50 V34 C50 30 46 28 32 28 C18 28 14 30 14 34 Z'/%3E%3Cpath d='M14 40 C20 46 26 34 32 40 C38 46 44 34 50 40'/%3E%3Cpath d='M32 28 V18'/%3E%3Ccircle cx='32' cy='15' r='2'/%3E%3C/svg%3E"); }
.doodle.on-light.d-rollpin  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231e2e26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='16' y='24' width='32' height='16' rx='8'/%3E%3Cpath d='M8 32 H16 M48 32 H56'/%3E%3C/svg%3E"); }
.doodle.on-light.d-heart    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231e2e26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 46 C12 32 18 16 32 24 C46 16 52 32 32 46 Z'/%3E%3C/svg%3E"); }
.doodle.on-light.d-sparkle  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231e2e26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 14 C33 26 38 31 50 32 C38 33 33 38 32 50 C31 38 26 33 14 32 C26 31 31 26 32 14 Z'/%3E%3C/svg%3E"); }
.doodle.on-light.d-choc     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231e2e26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='18' y='18' width='28' height='28' rx='2'/%3E%3Cpath d='M32 18 V46 M18 32 H46'/%3E%3C/svg%3E"); }
.doodle.on-light.d-chefhat  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231e2e26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 44 H44 V34 C52 34 52 22 44 22 C44 14 20 14 20 22 C12 22 12 34 20 34 Z'/%3E%3Cpath d='M20 44 L20 50 H44 V44'/%3E%3C/svg%3E"); }
.doodle.on-light.d-brownie  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231e2e26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 24 L50 24 L46 46 L18 46 Z'/%3E%3Cpath d='M14 24 L18 20 L54 20 L50 24'/%3E%3Cpath d='M23 33 h1 M31 33 h1 M39 33 h1'/%3E%3C/svg%3E"); }
.doodle.on-light.d-cakeslice{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%231e2e26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 46 L44 46 L30 20 Z'/%3E%3Cpath d='M14 46 L14 40 L30 14 L44 40 L44 46'/%3E%3Ccircle cx='30' cy='16' r='2'/%3E%3C/svg%3E"); }

/* small heading sparkle that sits inline next to a section title */
.title-doodle {
    display: inline-block; width: 26px; height: 26px; vertical-align: middle;
    margin: 0 6px; opacity: 0.5;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23c8a96e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M32 16 C33 27 37 31 48 32 C37 33 33 37 32 48 C31 37 27 33 16 32 C27 31 31 27 32 16 Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ============================================================
   RESPONSIVE — shrink waves + doodles, prevent overflow
   ============================================================ */
html, body { overflow-x: hidden; }   /* guard against any decorative bleed */

@media (max-width: 992px) {
    .wave-sep::before, .wave-sep::after { height: 48px; }
    .wave-sep { padding-top: 70px; padding-bottom: 70px; }
    .doodle { width: 66px; height: 66px; }
}
@media (max-width: 576px) {
    .wave-sep::before, .wave-sep::after { height: 32px; }
    .wave-sep { padding-top: 54px; padding-bottom: 54px; }
    .doodle { width: 48px; height: 48px; opacity: 0.15; }
    .doodle.tl, .doodle.bl { left: 8px; }
    .doodle.tr, .doodle.br { right: 8px; }
    .title-doodle { width: 18px; height: 18px; }
}

/* ============================================================
   TORN / RIPPED-PAPER EDGES (reference-inspired, theme colours)
   Irregular deckle edge, filled with the neighbouring section colour.
   Mixed with the smooth waves above so sections aren't identical.
   ============================================================ */
.torn-sep { position: relative; }
.torn-sep > .container { position: relative; z-index: 2; }
.torn-sep::before,
.torn-sep::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 40px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 1;
}
.torn-sep::before { top: -1px; }
.torn-sep::after  { bottom: -1px; }
.torn-sep { padding-top: 80px; padding-bottom: 80px; }

/* Cream torn edge (adjoining section is cream) */
.torn-bottom-cream::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%23f8f4ea' d='M0,20 L40,14 L80,24 L120,12 L170,26 L210,16 L260,28 L300,15 L350,25 L400,13 L450,27 L500,17 L560,29 L610,14 L660,24 L710,12 L770,26 L820,16 L880,28 L930,14 L980,25 L1030,13 L1090,27 L1140,16 L1190,29 L1250,15 L1300,25 L1360,13 L1410,26 L1440,18 L1440,40 L0,40 Z'/%3E%3C/svg%3E"); }
.torn-top-cream::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%23f8f4ea' d='M0,20 L40,26 L80,16 L120,28 L170,14 L210,24 L260,12 L300,25 L350,15 L400,27 L450,13 L500,23 L560,11 L610,26 L660,16 L710,28 L770,14 L820,24 L880,12 L930,26 L980,15 L1030,27 L1090,13 L1140,24 L1190,11 L1250,25 L1300,15 L1360,27 L1410,14 L1440,22 L1440,0 L0,0 Z'/%3E%3C/svg%3E"); }
/* Dark green torn edge (adjoining section is dark) */
.torn-bottom-dark::after  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%231e2e26' d='M0,20 L40,14 L80,24 L120,12 L170,26 L210,16 L260,28 L300,15 L350,25 L400,13 L450,27 L500,17 L560,29 L610,14 L660,24 L710,12 L770,26 L820,16 L880,28 L930,14 L980,25 L1030,13 L1090,27 L1140,16 L1190,29 L1250,15 L1300,25 L1360,13 L1410,26 L1440,18 L1440,40 L0,40 Z'/%3E%3C/svg%3E"); }
.torn-top-dark::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%231e2e26' d='M0,20 L40,26 L80,16 L120,28 L170,14 L210,24 L260,12 L300,25 L350,15 L400,27 L450,13 L500,23 L560,11 L610,26 L660,16 L710,28 L770,14 L820,24 L880,12 L930,26 L980,15 L1030,27 L1090,13 L1140,24 L1190,11 L1250,25 L1300,15 L1360,27 L1410,14 L1440,22 L1440,0 L0,0 Z'/%3E%3C/svg%3E"); }

@media (max-width: 992px) {
    .torn-sep::before, .torn-sep::after { height: 28px; }
    .torn-sep { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 576px) {
    .torn-sep::before, .torn-sep::after { height: 20px; }
    .torn-sep { padding-top: 50px; padding-bottom: 50px; }
}
