/*
Theme Name: Toppy Kids Center V5
Theme URI: https://toppykidscenter.bg
Author: Toppy Kids Center
Author URI: https://toppykidscenter.bg
Description: Персонализирана WordPress тема за Toppy Kids Center. V5 добавя директно изпращане на контактната форма към atanas.vasilev@overtopagency.com, премахва WhatsApp/mailto fallback, запазва поправките за снимки, меню и Google Maps.
Version: 5.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: toppy-kids-center
Tags: custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, threaded-comments, translation-ready, one-column

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

===========================================================
   Toppy Kids Center — стилове
   Палитра: крем фон, сливово контурче, лилаво заглавие,
   розово / жълто / небесно синьо / мента акценти,
   органични "blob" форми навсякъде — взети директно от брошурата.
=========================================================== */

/* ===========================================================
   Toppy Kids Center — стилове
   Палитра: крем фон, сливово контурче, лилаво заглавие,
   розово / жълто / небесно синьо / мента акценти,
   органични "blob" форми навсякъде — взети директно от брошурата.
=========================================================== */

:root{
  --cream:      #FAF3E7;
  --cream-2:    #F3EADA;
  --plum:       #4A3446;      /* контур на слончето, основен текст */
  --purple:     #3E2A73;      /* "ПАРТИ ПАКЕТИ" лилаво заглавие */
  --pink:       #F3A7C4;
  --pink-deep:  #E8557B;
  --yellow:     #F7CB4D;
  --yellow-soft:#FBEBA6;
  --blue:       #A7D8F3;
  --mint:       #A3DFC4;
  --coral:      #F0A98A;
  --white:      #FFFFFF;

  --radius-lg:  32px;
  --radius-md:  22px;
  --shadow:     0 18px 40px -18px rgba(74,52,70,0.28);

  --font-display: 'Baloo 2', 'Fredoka', sans-serif;
  --font-body:    'Quicksand', 'Nunito', sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--cream);
  color:var(--plum);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.6;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  margin:0;
  color:var(--purple);
  line-height:1.08;
}
.eyebrow{
  font-family:var(--font-display);
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:.8rem;
  color:var(--pink-deep);
  font-weight:700;
}
section{ position:relative; padding:96px 6vw; overflow:hidden; }
.wrap{ max-width:1180px; margin:0 auto; position:relative; z-index:2; }
.center{ text-align:center; }
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.02rem;
  padding:16px 34px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease;
  box-shadow:0 10px 24px -10px rgba(74,52,70,.35);
}
.btn:hover{ transform:translateY(-3px) scale(1.02); }
.btn-pink{ background:var(--pink-deep); color:var(--white); }
.btn-outline{ background:transparent; border:2.5px solid var(--purple); color:var(--purple); box-shadow:none; }

/* ---------- decorative blobs (reused everywhere, like the brochure bg) ---------- */
.blob{ position:absolute; border-radius:50% 50% 45% 55% / 55% 45% 55% 45%; z-index:0; pointer-events:none; }
.blob.yellow{ background:var(--yellow-soft); }
.blob.pink{ background:var(--pink); opacity:.55; }
.blob.blue{ background:var(--blue); opacity:.6; }
.blob.mint{ background:var(--mint); opacity:.55; }
.blob.coral{ background:var(--coral); opacity:.35; }

/* organic photo frame like the brochure's "cloud" photo crops */
.frame{
  border-radius:38% 62% 58% 42% / 46% 40% 60% 54%;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:8px solid var(--white);
}
.frame img{ width:100%; height:100%; object-fit:cover; }
.frame.alt{ border-radius:62% 38% 42% 58% / 40% 55% 45% 60%; }

/* ===================== NAV ===================== */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(250,243,231,.9);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(74,52,70,.08);
}
.nav{
  max-width:1180px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 6vw;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:44px; width:auto; }
.brand span{
  font-family:var(--font-display); font-weight:700; font-size:1.3rem; color:var(--plum);
}
.brand small{ display:block; font-size:.6rem; letter-spacing:.2em; color:var(--pink-deep); font-weight:700;}
.links{ display:flex; gap:28px; font-weight:600; font-size:.95rem;}
.links a{ position:relative; padding:4px 0; }
.links a:hover{ color:var(--pink-deep); }
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-phone{ font-weight:700; font-family:var(--font-display); color:var(--purple); }
.burger{ display:none; }

/* ===================== HERO ===================== */
.hero{ padding-top:70px; padding-bottom:60px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:50px; align-items:center; }
.hero h1{ font-size:clamp(2.4rem,4.6vw,3.9rem); }
.hero h1 em{ font-style:normal; color:var(--pink-deep); }
.hero p.lead{ font-size:1.15rem; margin:22px 0 32px; max-width:46ch; color:#5b4a56;}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:34px;}
.hero-facts{ display:flex; gap:28px; flex-wrap:wrap; }
.hero-facts div{ display:flex; flex-direction:column; }
.hero-facts strong{ font-family:var(--font-display); font-size:1.6rem; color:var(--purple);}
.hero-facts span{ font-size:.82rem; color:#7a6b76; font-weight:600;}
.hero-photo{ position:relative; }
.hero-photo .frame{ width:100%; aspect-ratio:4/4.6; }
.hero-badge{
  position:absolute; bottom:-26px; left:-26px;
  background:var(--white); border-radius:24px; padding:16px 20px;
  box-shadow:var(--shadow); display:flex; gap:12px; align-items:center;
  max-width:230px;
}
.hero-badge .icon{ font-size:1.6rem; }
.hero-badge strong{ display:block; font-family:var(--font-display); color:var(--purple); font-size:.95rem;}
.hero-badge span{ font-size:.78rem; color:#7a6b76; }

/* ===================== SECTION HEADERS ===================== */
.section-head{ max-width:640px; margin:0 auto 54px; text-align:center; }
.section-head h2{ font-size:clamp(1.9rem,3.4vw,2.7rem); margin-top:10px; }
.section-head p{ color:#6c5c67; margin-top:14px; }
.section-head.left{ margin:0 0 46px; text-align:left; }

/* ===================== PARTY PACKAGES ===================== */
#packages{ background:var(--cream-2); border-radius:60px; margin:0 4vw; }
.pkg-grid{ display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.pkg-card{
  background:var(--white); border-radius:var(--radius-lg);
  padding:38px 34px; box-shadow:var(--shadow); position:relative;
  display:flex; flex-direction:column; gap:16px;
}
.pkg-card .tag{
  align-self:flex-start; font-family:var(--font-display); font-weight:700; font-size:.85rem;
  padding:8px 18px; border-radius:999px; color:var(--plum);
}
.pkg-card.mon .tag{ background:var(--pink); }
.pkg-card.fri .tag{ background:var(--yellow); }
.pkg-price{ display:flex; align-items:baseline; gap:10px; }
.pkg-price strong{ font-family:var(--font-display); font-size:2.6rem; color:var(--purple);}
.pkg-price span{ color:#8a7a85; font-size:.95rem;}
.pkg-card ul{ list-style:none; margin:6px 0 0; padding:0; display:flex; flex-direction:column; gap:12px;}
.pkg-card ul li{ display:flex; gap:10px; align-items:flex-start; font-size:.96rem; color:#4a3a46;}
.pkg-card ul li::before{
  content:"✓"; flex:none; width:22px; height:22px; border-radius:50%;
  background:var(--mint); color:var(--plum); font-size:.72rem; font-weight:800;
  display:flex; align-items:center; justify-content:center; margin-top:2px;
}
.pkg-note{
  margin-top:36px; display:grid; grid-template-columns:1fr 1fr; gap:20px;
}
.note-box{ border-radius:var(--radius-md); padding:20px 24px; font-weight:700; font-size:.92rem; text-align:center; }
.note-box.warn{ background:var(--yellow-soft); color:#8a5a10; }
.note-box.info{ background:var(--blue); color:#1c4560; }

/* capacity strip */
.capacity{
  display:flex; align-items:center; justify-content:center; gap:14px;
  background:var(--yellow); border-radius:999px; padding:16px 28px;
  font-family:var(--font-display); font-weight:700; color:var(--plum);
  width:fit-content; margin:34px auto 0;
}

/* ===================== CATERING ===================== */
.catering-tabs{ display:flex; gap:14px; justify-content:center; margin-bottom:44px; flex-wrap:wrap;}
.tab-btn{
  font-family:var(--font-display); font-weight:700; font-size:.95rem;
  padding:12px 26px; border-radius:999px; background:var(--white); color:var(--plum);
  border:2px solid transparent; cursor:pointer; box-shadow:0 6px 16px -8px rgba(74,52,70,.25);
}
.tab-btn.active{ background:var(--purple); color:var(--white); }

.cater-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.cater-grid.hidden{ display:none; }
.cater-card{
  background:var(--white); border-radius:var(--radius-lg); box-shadow:var(--shadow);
  padding:30px 28px; position:relative;
}
.cater-card .bites{
  position:absolute; top:-16px; right:26px;
  background:var(--pink-deep); color:var(--white);
  font-family:var(--font-display); font-weight:700; font-size:.8rem;
  border-radius:999px; padding:10px 16px; text-align:center; line-height:1.1;
  box-shadow:0 8px 18px -8px rgba(232,85,123,.6);
}
.cater-card h4{ font-size:1.15rem; margin-bottom:4px; }
.cater-card .price{
  font-family:var(--font-display); font-weight:700; color:var(--purple);
  font-size:1.5rem; margin:14px 0 16px;
}
.cater-card .price small{ font-size:.85rem; color:#8a7a85; font-weight:600; }
.cater-card ul{ margin:0; padding-left:0; list-style:none; display:flex; flex-direction:column; gap:8px; }
.cater-card ul li{ font-size:.9rem; color:#5b4a56; padding-left:18px; position:relative; }
.cater-card ul li::before{ content:"•"; color:var(--pink-deep); position:absolute; left:0; font-weight:900;}
.cater-card .extras{ margin-top:14px; padding-top:14px; border-top:1px dashed rgba(74,52,70,.2); font-size:.85rem; color:#7a6b76;}

.cater-note{
  margin-top:44px; background:var(--yellow-soft); border-radius:var(--radius-md);
  padding:20px 30px; text-align:center; font-weight:700; color:#8a5a10; max-width:720px; margin-inline:auto;
}

/* ===================== ADD-ONS ===================== */
#addons{ background:var(--cream-2); border-radius:60px; margin:0 4vw; }
.addon-layout{ display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.addon-list{ display:flex; flex-direction:column; gap:14px; }
.addon-row{
  display:flex; justify-content:space-between; align-items:center; gap:18px;
  background:var(--white); border-radius:999px; padding:16px 26px;
  box-shadow:0 8px 20px -12px rgba(74,52,70,.25);
}
.addon-row .txt strong{ display:block; font-family:var(--font-display); font-size:1rem; color:var(--plum);}
.addon-row .txt span{ font-size:.82rem; color:#7a6b76;}
.addon-row .price{ font-family:var(--font-display); font-weight:700; color:var(--pink-deep); white-space:nowrap;}
.addon-photos{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.addon-photos .frame:nth-child(1){ aspect-ratio:1/1.15; }
.addon-photos .frame:nth-child(2){ aspect-ratio:1/1; margin-top:36px; }
.addon-photos .frame:nth-child(3){ aspect-ratio:1/1; margin-top:-36px;}
.addon-photos .frame:nth-child(4){ aspect-ratio:1/1.15; }

/* two-column add-on rows (used by the Сладка погача section) */
.addons-2col{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:10px; }
@media (max-width:720px){ .addons-2col{ grid-template-columns:1fr; } }

/* ===================== POGACHA (Сладка погача) ===================== */
#pogacha{ background:var(--cream-2); border-radius:60px; margin:0 4vw; }
.pogacha-layout{ display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; margin-bottom:54px; }
.pogacha-card{
  background:var(--white); border-radius:var(--radius-lg); box-shadow:var(--shadow);
  padding:38px 34px; display:flex; flex-direction:column; gap:16px; position:relative;
}
.pogacha-card .tag{
  align-self:flex-start; font-family:var(--font-display); font-weight:700; font-size:.85rem;
  padding:8px 18px; border-radius:999px; color:var(--plum); background:var(--yellow);
}
.pogacha-photos{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.pogacha-photos .frame:nth-child(1){ aspect-ratio:1/1.2; }
.pogacha-photos .frame:nth-child(2){ aspect-ratio:1/1; margin-top:34px; }
.pogacha-photos .frame:nth-child(3){ aspect-ratio:1/1; margin-top:-34px; }
.pogacha-photos .frame:nth-child(4){ aspect-ratio:1/1.2; }
.pogacha-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:44px; }
.pogacha-strip .frame{ aspect-ratio:1.2/1; }

/* ===================== FACILITY ===================== */
.fac-layout{ display:grid; grid-template-columns:.9fr 1.1fr; gap:54px; align-items:center; }
.fac-list{ display:flex; flex-direction:column; gap:16px; margin-top:30px;}
.fac-item{
  display:flex; gap:16px; align-items:flex-start;
  background:var(--white); border-radius:var(--radius-md); padding:18px 22px;
  box-shadow:0 8px 20px -14px rgba(74,52,70,.3);
}
.fac-item .ic{
  flex:none; width:46px; height:46px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:1.3rem;
}
.fac-item:nth-child(1) .ic{ background:var(--mint); }
.fac-item:nth-child(2) .ic{ background:var(--blue); }
.fac-item:nth-child(3) .ic{ background:var(--pink); }
.fac-item:nth-child(4) .ic{ background:var(--yellow); }
.fac-item strong{ font-family:var(--font-display); font-size:1rem; color:var(--plum); display:block;}
.fac-item p{ margin:4px 0 0; font-size:.88rem; color:#6c5c67; }
.fac-photos{ display:grid; grid-template-columns:1.2fr .8fr; grid-template-rows:1fr 1fr; gap:18px; }
.fac-photos .frame:nth-child(1){ grid-row:1/3; aspect-ratio:.8/1;}
.fac-photos .frame:nth-child(2){ aspect-ratio:1.3/1; }
.fac-photos .frame:nth-child(3){ aspect-ratio:1.3/1; }

/* ===================== BOOKING FORM ===================== */
#booking{ background:var(--cream-2); border-radius:60px; margin:0 4vw; }
.booking-layout{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:start; }
.booking-info .fac-list{ margin-top:26px; }

.booking-form{
  background:var(--white); border-radius:var(--radius-lg); box-shadow:var(--shadow);
  padding:40px; display:flex; flex-direction:column; gap:18px;
}
.form-row{ display:flex; flex-direction:column; gap:6px; }
.form-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-grid-2 > div{ display:flex; flex-direction:column; gap:6px; }
.booking-form label{
  font-family:var(--font-display); font-weight:600; font-size:.86rem; color:var(--plum);
}
.booking-form input,
.booking-form select,
.booking-form textarea{
  font-family:var(--font-body); font-size:.96rem; color:var(--plum);
  background:var(--cream); border:2px solid transparent; border-radius:14px;
  padding:13px 16px; width:100%; transition:border-color .2s ease, background .2s ease;
}
.booking-form input::placeholder,
.booking-form textarea::placeholder{ color:#a9989f; }
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus{
  outline:none; border-color:var(--pink-deep); background:var(--white);
}
.booking-form textarea{ resize:vertical; min-height:90px; }
.form-actions{ display:flex; flex-direction:column; gap:12px; margin-top:8px; }
.form-hint{ font-size:.78rem; color:#8a7a85; text-align:center; margin:0; }
.form-success{
  display:none; text-align:center; font-weight:700; color:#2c7a4b;
  background:var(--mint); border-radius:14px; padding:14px 18px; margin:0;
}
.form-success.show{ display:block; }

/* ===================== GALLERY ===================== */
#gallery{ background:var(--cream-2); border-radius:60px; margin:0 4vw; }
.gal-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.gal-grid .frame{ aspect-ratio:.85/1; }
.gal-grid .frame:nth-child(2){ margin-top:34px; }
.gal-grid .frame:nth-child(4){ margin-top:-20px; }

/* ===================== CTA STRIP ===================== */
.cta-strip{
  background:var(--purple); border-radius:var(--radius-lg);
  padding:64px 6vw; text-align:center; color:var(--white);
  position:relative; overflow:hidden;
}
.cta-strip h2{ color:var(--white); font-size:clamp(1.8rem,3.4vw,2.6rem); }
.cta-strip p{ color:#e3dcf0; max-width:52ch; margin:16px auto 30px; }
.cta-strip .btn-pink{ background:var(--pink); color:var(--purple); }

/* ===================== FOOTER ===================== */
footer{ padding:70px 6vw 40px; }
.foot-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:40px; margin-bottom:50px;}
.foot-brand .brand{ margin-bottom:14px; }
.foot-brand p{ color:#7a6b76; max-width:34ch; font-size:.92rem;}
footer h5{ font-family:var(--font-display); color:var(--purple); margin-bottom:16px; font-size:1rem;}
footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; font-size:.92rem; color:#5b4a56;}
.social-row{ display:flex; gap:12px; margin-top:16px;}
.social-row a{
  width:40px; height:40px; border-radius:50%; background:var(--white);
  display:flex; align-items:center; justify-content:center; box-shadow:0 6px 14px -8px rgba(74,52,70,.3);
}
.copyline{
  border-top:1px solid rgba(74,52,70,.12); padding-top:24px;
  display:flex; justify-content:space-between; font-size:.8rem; color:#8a7a85; flex-wrap:wrap; gap:10px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width:960px){
  .links, .nav-phone{ display:none; }
  .hero-grid, .pkg-grid, .cater-grid, .addon-layout, .fac-layout, .booking-layout{ grid-template-columns:1fr; }
  .form-grid-2{ grid-template-columns:1fr; }
  .booking-form{ padding:28px 22px; }
  .pkg-note{ grid-template-columns:1fr; }
  .fac-layout{ direction:ltr; }
  .fac-photos{ order:-1; }
  .gal-grid{ grid-template-columns:repeat(2,1fr); }
  .foot-grid{ grid-template-columns:1fr; }
  section{ padding:70px 6vw; }
  .hero-badge{ display:none; }
}
@media (max-width:560px){
  .gal-grid{ grid-template-columns:1fr 1fr; }
  .addon-photos{ grid-template-columns:1fr 1fr; }
  .capacity{ text-align:center; font-size:.85rem; padding:14px 18px;}
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn:hover{ transform:none; }
}

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline:3px solid var(--pink-deep); outline-offset:3px; border-radius:8px;
}


/* ===================== V4 MENU IMPROVEMENTS ===================== */
#masthead{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(250,243,231,0.96);
  backdrop-filter:saturate(1.1) blur(10px);
  border-bottom:1px solid rgba(74,52,70,0.08);
}
.nav{
  gap:22px;
}
.links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:10px;
}
.links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  transition:background .25s ease, color .25s ease, transform .2s ease;
}
.links a:hover,
.links a:focus-visible{
  background:rgba(232,85,123,0.12);
  color:var(--pink-deep);
  transform:translateY(-1px);
}
.nav-cta{
  gap:12px;
}
.nav-phone{
  white-space:nowrap;
}
.burger{
  display:none;
  width:42px;
  height:42px;
  border:none;
  border-radius:14px;
  background:rgba(74,52,70,0.08);
  align-items:center;
  justify-content:center;
  gap:4px;
  cursor:pointer;
}
.burger span{
  display:block;
  width:18px;
  height:2px;
  background:var(--plum);
  border-radius:2px;
}
.mobile-nav{
  display:none;
  padding:0 6vw 18px;
  gap:10px;
}
.mobile-nav a{
  display:block;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,0.55);
  font-weight:600;
}
.mobile-nav a.btn{
  text-align:center;
}

@media (max-width: 980px){
  .links,
  .nav-phone,
  .nav-cta .btn{
    display:none;
  }
  .burger{
    display:flex;
  }
  .mobile-nav{
    display:none;
  }
  #masthead.menu-open .mobile-nav{
    display:flex;
    flex-direction:column;
  }
}


/* ===================== V4.1 FANCY HORIZONTAL MENU + MAP FIXES ===================== */
#masthead .nav{
  max-width:1280px;
  padding:12px 4vw;
}
#masthead .brand{
  flex:0 0 auto;
}
#masthead .links{
  list-style:none;
  margin:0;
  padding:7px;
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:center;
  gap:6px;
  background:rgba(255,255,255,.62);
  border:2px solid rgba(255,255,255,.7);
  border-radius:999px;
  box-shadow:0 14px 30px -24px rgba(74,52,70,.55), inset 0 1px 0 rgba(255,255,255,.85);
}
#masthead .links li{ margin:0; padding:0; }
#masthead .links a{
  position:relative;
  z-index:1;
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  padding:9px 13px;
  border-radius:999px;
  font-family:var(--font-display);
  font-weight:700;
  font-size:.91rem;
  line-height:1;
  color:var(--purple);
  overflow:hidden;
  transition:transform .22s ease, color .22s ease, box-shadow .22s ease;
}
#masthead .links a::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  border-radius:inherit;
  background:linear-gradient(135deg, rgba(243,167,196,.45), rgba(247,203,77,.42), rgba(163,223,196,.36));
  opacity:0;
  transform:scale(.85);
  transition:opacity .22s ease, transform .22s ease;
}
#masthead .links a:hover,
#masthead .links a:focus-visible{
  color:var(--pink-deep);
  transform:translateY(-2px);
  box-shadow:0 10px 22px -16px rgba(74,52,70,.45);
}
#masthead .links a:hover::before,
#masthead .links a:focus-visible::before{
  opacity:1;
  transform:scale(1);
}
#masthead .nav-cta .btn{
  padding:12px 20px;
  box-shadow:0 12px 22px -14px rgba(232,85,123,.8);
}
#masthead .nav-phone{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(247,203,77,.22);
}
#masthead .burger{
  flex-direction:column;
  box-shadow:0 12px 24px -18px rgba(74,52,70,.55);
}
#masthead .mobile-nav{
  max-width:680px;
  margin:0 auto;
}
#masthead.menu-open .mobile-nav,
#masthead.nav-open .mobile-nav{
  display:flex;
  flex-direction:column;
}
#masthead .mobile-nav a{
  font-family:var(--font-display);
  font-weight:700;
  color:var(--purple);
  border:1px solid rgba(255,255,255,.75);
}
.toppy-contact-map{
  position:relative;
  z-index:2;
  max-width:1180px;
  margin:30px auto 0;
  border:8px solid var(--white);
  border-radius:34px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:var(--white);
}
.toppy-contact-map iframe{
  display:block;
  width:100%;
  height:380px;
  border:0;
}
footer .toppy-contact-map{
  margin-top:18px;
  border-width:5px;
  border-radius:24px;
}
footer .toppy-contact-map iframe{ height:220px; }
@media (max-width:1180px){
  #masthead .links,
  #masthead .nav-phone,
  #masthead .nav-cta .btn{ display:none; }
  #masthead .burger{ display:flex; }
}
@media (max-width:640px){
  #masthead .nav{ padding:10px 5vw; }
  #masthead .brand span{ font-size:1.08rem; }
  .toppy-contact-map{ border-width:5px; border-radius:24px; margin-top:22px; }
  .toppy-contact-map iframe{ height:300px; }
}


/* ===================== V4.3 MOBILE MENU FIX ===================== */
@media (max-width:1180px){
  #masthead .nav{
    min-height:72px;
  }
  #masthead .burger{
    display:flex !important;
    width:58px;
    height:58px;
    min-width:58px;
    border:3px solid rgba(255,255,255,.95);
    border-radius:22px;
    background:linear-gradient(135deg, var(--pink), var(--yellow));
    box-shadow:0 14px 30px -16px rgba(74,52,70,.65), inset 0 1px 0 rgba(255,255,255,.75);
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:6px;
    cursor:pointer;
    position:relative;
    z-index:1205;
    -webkit-tap-highlight-color:transparent;
  }
  #masthead .burger span{
    display:block;
    width:30px;
    height:4px;
    border-radius:999px;
    background:var(--purple);
    box-shadow:0 1px 0 rgba(255,255,255,.55);
    transition:transform .22s ease, opacity .22s ease;
  }
  #masthead.menu-open .burger,
  #masthead.nav-open .burger,
  #masthead.is-open .burger{
    background:linear-gradient(135deg, var(--yellow), var(--mint));
  }
  #masthead.menu-open .burger span:nth-child(1),
  #masthead.nav-open .burger span:nth-child(1),
  #masthead.is-open .burger span:nth-child(1){ transform:translateY(10px) rotate(45deg); }
  #masthead.menu-open .burger span:nth-child(2),
  #masthead.nav-open .burger span:nth-child(2),
  #masthead.is-open .burger span:nth-child(2){ opacity:0; }
  #masthead.menu-open .burger span:nth-child(3),
  #masthead.nav-open .burger span:nth-child(3),
  #masthead.is-open .burger span:nth-child(3){ transform:translateY(-10px) rotate(-45deg); }

  #masthead .mobile-nav{
    display:flex !important;
    flex-direction:column;
    gap:12px;
    max-width:720px;
    margin:0 auto;
    padding:0 5vw;
    max-height:0;
    opacity:0;
    overflow:hidden;
    pointer-events:none;
    transform:translateY(-8px);
    transition:max-height .28s ease, opacity .22s ease, transform .22s ease, padding .22s ease;
  }
  #masthead.menu-open .mobile-nav,
  #masthead.nav-open .mobile-nav,
  #masthead.is-open .mobile-nav{
    max-height:720px;
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
    padding:12px 5vw 22px;
  }
  #masthead .mobile-nav li{
    list-style:none;
    margin:0;
    padding:0;
  }
  #masthead .mobile-nav a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:14px 16px;
    border-radius:20px;
    background:rgba(255,255,255,.9);
    border:2px solid rgba(255,255,255,.95);
    box-shadow:0 10px 24px -20px rgba(74,52,70,.55);
  }
}
@media (max-width:640px){
  #masthead .burger{
    width:62px;
    height:62px;
    min-width:62px;
    border-radius:24px;
  }
  #masthead .burger span{ width:32px; height:4px; }
}


/* ===================== V4.4 HARD MOBILE MENU FIX ===================== */
@media (max-width:1180px){
  body #masthead .links,
  body #masthead .nav-phone,
  body #masthead .nav-cta > .btn{ display:none !important; }

  body #masthead .burger{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    width:64px !important;
    height:64px !important;
    min-width:64px !important;
    border-radius:24px !important;
    border:4px solid #fff !important;
    background:linear-gradient(135deg, var(--pink), var(--yellow)) !important;
    box-shadow:0 16px 34px -16px rgba(74,52,70,.75), 0 0 0 4px rgba(255,255,255,.45) !important;
    align-items:center !important;
    justify-content:center !important;
    flex-direction:column !important;
    gap:7px !important;
    position:relative !important;
    z-index:9999 !important;
    cursor:pointer !important;
    padding:0 !important;
    appearance:none !important;
    -webkit-appearance:none !important;
    -webkit-tap-highlight-color:transparent !important;
  }
  body #masthead .burger span{
    display:block !important;
    width:34px !important;
    height:5px !important;
    border-radius:999px !important;
    background:#4a3446 !important;
    box-shadow:0 1px 0 rgba(255,255,255,.7) !important;
    transition:transform .22s ease, opacity .22s ease !important;
  }

  body #masthead .mobile-nav{
    display:flex !important;
    visibility:visible !important;
    flex-direction:column !important;
    gap:12px !important;
    width:min(92vw, 720px) !important;
    margin:0 auto !important;
    box-sizing:border-box !important;
    max-height:0 !important;
    opacity:0 !important;
    overflow:hidden !important;
    pointer-events:none !important;
    transform:translateY(-8px) !important;
    transition:max-height .28s ease, opacity .22s ease, transform .22s ease, padding .22s ease !important;
    padding:0 !important;
    position:relative !important;
    z-index:9998 !important;
  }
  body #masthead.menu-open .mobile-nav,
  body #masthead.nav-open .mobile-nav,
  body #masthead.is-open .mobile-nav{
    max-height:900px !important;
    opacity:1 !important;
    pointer-events:auto !important;
    transform:translateY(0) !important;
    padding:12px 0 22px !important;
  }
  body #masthead .mobile-nav li{ list-style:none !important; margin:0 !important; padding:0 !important; }
  body #masthead .mobile-nav a{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:52px !important;
    padding:14px 18px !important;
    border-radius:22px !important;
    background:rgba(255,255,255,.96) !important;
    border:2px solid rgba(255,255,255,.98) !important;
    color:var(--purple) !important;
    font-weight:800 !important;
    box-shadow:0 12px 26px -20px rgba(74,52,70,.55) !important;
  }
  body #masthead.menu-open .burger span:nth-child(1),
  body #masthead.nav-open .burger span:nth-child(1),
  body #masthead.is-open .burger span:nth-child(1){ transform:translateY(12px) rotate(45deg) !important; }
  body #masthead.menu-open .burger span:nth-child(2),
  body #masthead.nav-open .burger span:nth-child(2),
  body #masthead.is-open .burger span:nth-child(2){ opacity:0 !important; }
  body #masthead.menu-open .burger span:nth-child(3),
  body #masthead.nav-open .burger span:nth-child(3),
  body #masthead.is-open .burger span:nth-child(3){ transform:translateY(-12px) rotate(-45deg) !important; }
}


/* ===================== V4.5 REAL TOPPY LOGO / WORDMARK ===================== */
#masthead .brand,
footer .brand{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  text-decoration:none !important;
  min-width:max-content;
}
#masthead .brand-mark,
footer .brand-mark{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:58px !important;
  height:50px !important;
  flex:0 0 auto !important;
}
#masthead .brand-mark img,
footer .brand-mark img{
  width:58px !important;
  height:auto !important;
  max-height:54px !important;
  object-fit:contain !important;
  display:block !important;
}
#masthead .brand-wordmark,
footer .brand-wordmark{
  display:inline-flex !important;
  align-items:center !important;
  flex:0 0 auto !important;
}
#masthead .brand-wordmark img,
footer .brand-wordmark img{
  width:168px !important;
  height:auto !important;
  max-height:70px !important;
  object-fit:contain !important;
  display:block !important;
}
#masthead .nav{
  gap:18px !important;
}
#masthead .links{
  flex:1 1 auto !important;
}
footer .brand-mark{
  width:64px !important;
  height:58px !important;
}
footer .brand-mark img{
  width:64px !important;
}
footer .brand-wordmark img{
  width:190px !important;
}
@media (max-width: 980px){
  #masthead .nav{
    padding:10px 5vw !important;
  }
  #masthead .brand{
    gap:8px !important;
    min-width:0 !important;
  }
  #masthead .brand-mark{
    width:48px !important;
    height:42px !important;
  }
  #masthead .brand-mark img{
    width:48px !important;
    max-height:46px !important;
  }
  #masthead .brand-wordmark img{
    width:138px !important;
    max-height:58px !important;
  }
}
@media (max-width: 420px){
  #masthead .brand-wordmark img{
    width:122px !important;
  }
  #masthead .brand-mark,
  #masthead .brand-mark img{
    width:42px !important;
  }
}


/* ===================== V5 BOOKING FORM EMAIL ===================== */
#mailFallback,
.booking-form a#mailFallback {
  display: none !important;
}
.booking-form .form-success.show,
.booking-form .form-success.is-error {
  display: block;
}
.booking-form .form-success.is-error {
  background: #fff3f3;
  border-color: rgba(218, 88, 112, .35);
  color: #8d3446;
}
.booking-form button[type="submit"].is-loading {
  opacity: .75;
  cursor: wait;
}
