/* =========================================================
   The Macaron Chick — Shared Stylesheet
   Soft pastel, feminine, professional home-bakery theme
========================================================= */

:root {
  --cream: #fdf6f0;
  --cream-dark: #f7ede3;
  --blush: #f7d6dd;
  --pink: #e8a8b9;
  --deep-rose: #c46c8a;
  --deep-rose-dark: #a65470;
  --sage: #a9b285;
  --gold: #c4a574;
  --ink: #3d2b30;
  --ink-soft: #6b5259;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(196, 108, 138, 0.15);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ink);
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.2;
}

.script {
  font-family: 'Parisienne', cursive;
  font-weight: 400;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--cream-dark); }

.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--deep-rose);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head p { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-family: 'Poppins', sans-serif;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--deep-rose);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--deep-rose-dark); }
.btn-outline {
  background: transparent;
  border-color: var(--deep-rose);
  color: var(--deep-rose);
}
.btn-outline:hover { background: var(--deep-rose); color: var(--white); }
.btn-light { background: var(--white); color: var(--deep-rose); }
.btn-light:hover { background: var(--blush); }
.btn-block { width: 100%; justify-content: center; }

/* HEADER / NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(196, 108, 138, 0.12);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  font-family: 'Parisienne', cursive;
  font-size: 2rem;
  color: var(--deep-rose);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo .dot { color: var(--sage); }

.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 999px;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { background: var(--blush); color: var(--deep-rose-dark); }
.nav-links a.btn-primary:hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--deep-rose); border-radius: 2px; }

/* HERO */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(253,246,240,0.88) 0%, rgba(247,214,221,0.55) 55%, rgba(253,246,240,0.35) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.hero-content { max-width: 620px; }
.hero-content .script { font-size: 4.4rem; color: var(--deep-rose); margin-bottom: 6px; }
.hero-content h1 { font-size: 2.1rem; margin-bottom: 18px; }
.hero-content p.lead { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep-rose-dark);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

/* PAGE BANNER */
.page-banner {
  position: relative;
  padding: 90px 0 70px;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(253,246,240,0.9), rgba(247,214,221,0.7));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner .script { font-size: 3rem; color: var(--deep-rose); }
.page-banner p { color: var(--ink-soft); max-width: 560px; margin: 0 auto; }

/* CARDS / GRIDS */
.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s ease;
}
.card:hover { transform: translateY(-6px); }
.card .icon-badge {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blush);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-grid a { display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.gallery-grid img { border-radius: 0; aspect-ratio: 1/1; object-fit: cover; transition: transform 0.35s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

.cta-banner {
  background: linear-gradient(120deg, var(--deep-rose), var(--pink));
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  color: var(--white);
  margin: 0 24px;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.9); }

/* MENU PAGE */
.policy-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.policy-strip .card { text-align: left; padding: 26px; }
.policy-strip .card h3 { font-size: 1rem; }

.menu-block { margin-bottom: 64px; }
.menu-block-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  margin-bottom: 24px; border-bottom: 2px dashed var(--blush); padding-bottom: 18px;
}
.menu-block-head h2 { margin-bottom: 4px; }
.menu-block-head .price-tag {
  background: var(--sage); color: var(--white); padding: 10px 22px; border-radius: 999px;
  font-weight: 700; white-space: nowrap; font-size: 0.95rem;
}
.flavor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.flavor-pill {
  background: var(--white); border: 1.5px solid var(--blush); padding: 12px 16px;
  border-radius: 999px; text-align: center; font-weight: 600; font-size: 0.9rem; color: var(--ink);
}
.menu-note {
  margin-top: 20px; background: var(--blush); padding: 16px 22px; border-radius: var(--radius-sm);
  font-size: 0.92rem; color: var(--deep-rose-dark);
}

.placeholder-flag {
  display: inline-block; background: var(--gold); color: var(--white); font-size: 0.7rem;
  letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
  margin-left: 10px; vertical-align: middle;
}

.menu-items-table { width: 100%; border-collapse: collapse; }
.menu-items-table td { padding: 16px 10px; border-bottom: 1px solid var(--cream-dark); }
.menu-items-table td:last-child { text-align: right; font-weight: 700; color: var(--deep-rose-dark); white-space: nowrap; }
.menu-items-table .item-name { font-weight: 600; }
.menu-items-table .item-desc { display: block; font-size: 0.85rem; color: var(--ink-soft); font-weight: 400; margin-top: 2px; }

/* FORMS */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid #e9dcd9;
  font-family: 'Poppins', sans-serif; font-size: 0.95rem; background: var(--cream); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--deep-rose); background: var(--white); }
.field textarea { resize: vertical; min-height: 110px; }
.field-hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 6px; }

.order-items-list { margin-bottom: 8px; }
.order-item-row { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 12px; margin-bottom: 12px; align-items: center; }
.remove-row-btn {
  background: var(--blush); border: none; color: var(--deep-rose-dark); width: 38px; height: 38px;
  border-radius: 50%; cursor: pointer; font-size: 1rem;
}
.add-row-btn {
  background: none; border: 1.5px dashed var(--deep-rose); color: var(--deep-rose); padding: 10px 18px;
  border-radius: 999px; font-weight: 600; cursor: pointer; font-size: 0.85rem;
}

.form-success {
  display: none; background: var(--sage); color: var(--white); padding: 18px 22px;
  border-radius: var(--radius-sm); margin-top: 20px; font-size: 0.92rem;
}
.form-success.show { display: block; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info-card { background: var(--deep-rose); color: var(--white); border-radius: var(--radius-lg); padding: 40px; }
.contact-info-card h3 { color: var(--white); font-size: 1.3rem; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact-info-item .ci-icon {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item a, .contact-info-item span { color: rgba(255,255,255,0.92); }
.contact-info-item strong { display: block; margin-bottom: 3px; font-family: 'Poppins'; font-size: 0.85rem; letter-spacing: 0.5px; text-transform: uppercase; color: var(--blush); }

/* FOOTER */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .logo { color: var(--blush); }
.site-footer h4 { color: var(--white); font-family: 'Poppins', sans-serif; font-size: 0.95rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--pink); }
.footer-links li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem;
}
.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.social-row a:hover { background: var(--deep-rose); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: stretch; padding: 16px 24px 24px;
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform 0.3s ease; z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { text-align: center; padding: 14px; }
  .nav-toggle { display: flex; }
  .hero-content .script { font-size: 3rem; }
  .hero-content h1 { font-size: 1.5rem; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .flavor-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 36px 24px; margin: 0 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .order-item-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px; }
  .section { padding: 56px 0; }
}
