/* Local reproduction of the SevenRooms reservation widget + hero slider
   for the Me-Gal reservations page. Visual-only rebuild, no external calls. */

/* ---------- hero fade slider (replaces Swiper) ---------- */
.mg-hero-slider { position: relative; width: 100%; height: 100%; overflow: hidden; }
.mg-hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease-in-out;
}
.mg-hero-slide.is-active { opacity: 1; }
.mg-hero-dots {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3;
  display: flex; gap: 8px; justify-content: center;
}
.mg-hero-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.5); cursor: pointer;
}
.mg-hero-dots button.is-on { background: #fff; }

/* single food slider at bottom of main */
.mg-food-slider { position: relative; width: 100%; }
.mg-food-slide {
  width: 100%; background-size: cover; background-position: center;
  aspect-ratio: 16 / 9;
}

/* ---------- booking widget ---------- */
.megal-widget { width: 100%; font-family: "Roboto", Arial, sans-serif; }
.mg-wgt {
  background: #fff; border-radius: 2px;
  height: 800px; overflow-y: auto; overflow-x: hidden; /* fixed-height frame with internal scroll, like the original */
  text-align: left; color: #2b2b2b;
  max-width: 100%;
}
.mg-wgt-top {
  background: var(--primary, #5b2f16); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; gap: 12px;
}
.mg-wgt-venue {
  font-family: "ivypresto-display", "Kepler", Georgia, serif;
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  font-size: 17px; line-height: 1.15;
}
.mg-wgt-login {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.75); border-radius: 999px;
  background: transparent; color: #fff; cursor: pointer;
  padding: 7px 16px; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.mg-wgt-login svg { width: 16px; height: 16px; }
.mg-wgt-photo { width: 100%; height: 320px; object-fit: cover; display: block; }
.mg-wgt-body { padding: 22px 26px 26px; }
.mg-wgt-h { font-size: 26px; font-weight: 700; color: #1b1b1b; margin: 2px 0 10px; }
.mg-wgt-addr { display: flex; align-items: center; gap: 7px; color: #555; font-size: 14px; margin-bottom: 18px; }
.mg-wgt-addr svg { width: 15px; height: 15px; flex: 0 0 auto; }

/* search pill */
.mg-search {
  display: flex; align-items: stretch; background: #fff;
  border: 1px solid #e3e3e3; border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08); overflow: visible; position: relative;
}
.mg-search-ico { display: flex; align-items: center; padding: 0 6px 0 18px; color: #333; }
.mg-search-ico svg { width: 18px; height: 18px; }
.mg-seg {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 15px 10px; background: transparent; border: 0; cursor: pointer;
  font-size: 15px; color: #222; font-family: inherit; position: relative;
}
.mg-seg + .mg-seg::before {
  content: ""; position: absolute; left: 0; top: 11px; bottom: 11px;
  width: 1px; background: #e3e3e3;
}
.mg-seg svg { width: 15px; height: 15px; }
.mg-seg.is-open { font-weight: 700; }

/* dropdown panels */
.mg-pop {
  position: fixed; z-index: 9999;
  background: #fff; border: 1px solid #e3e3e3; border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.16); padding: 14px; min-width: 240px;
}
.mg-pop[hidden] { display: none; }
.mg-pop-title { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #888; margin: 2px 0 10px; }
.mg-party-row { display: flex; align-items: center; justify-content: space-between; }
.mg-step { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #ccc; background: #fff; font-size: 20px; cursor: pointer; color: #5b2f16; }
.mg-step:disabled { opacity: .35; cursor: default; }
.mg-party-val { font-size: 20px; font-weight: 700; min-width: 90px; text-align: center; }
.mg-opt { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 15px; font-family: inherit; color: #222; }
.mg-opt:hover { background: #f3efe6; }
.mg-opt.is-sel { background: var(--primary,#5b2f16); color: #fff; }

/* calendar */
.mg-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mg-cal-head button { border: 0; background: transparent; font-size: 20px; cursor: pointer; color: #5b2f16; padding: 2px 8px; }
.mg-cal-month { font-weight: 700; font-size: 15px; }
.mg-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.mg-cal-grid span.dow { font-size: 11px; color: #999; text-align: center; padding: 4px 0; }
.mg-cal-grid button { border: 0; background: transparent; aspect-ratio: 1; border-radius: 50%; cursor: pointer; font-size: 13px; color: #222; }
.mg-cal-grid button:hover:not(:disabled) { background: #f3efe6; }
.mg-cal-grid button.is-sel { background: var(--primary,#5b2f16); color: #fff; }
.mg-cal-grid button:disabled { color: #ccc; cursor: default; }

/* results */
.mg-results { margin-top: 22px; }
.mg-msg { text-align: center; font-size: 15px; color: #222; font-weight: 600; margin: 8px 0 16px; }
.mg-sep { border: 0; border-top: 1px solid #ececec; margin: 14px 0; }
.mg-slot-group-lbl { font-size: 13px; color: #777; margin: 14px 0 8px; }
.mg-slots { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mg-slot {
  border: 1px solid var(--primary,#5b2f16); background: #fff; color: var(--primary,#5b2f16);
  border-radius: 6px; padding: 11px 6px; font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: .15s;
}
.mg-slot:hover { background: var(--primary,#5b2f16); color: #fff; }

/* accordion */
.mg-acc { margin-top: 18px; }
.mg-acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: #f5f5f5; border: 0; border-radius: 10px; padding: 18px 20px;
  font-size: 15px; font-weight: 600; color: #222; cursor: pointer; font-family: inherit;
}
.mg-acc-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.mg-acc.is-open .mg-acc-btn svg { transform: rotate(180deg); }
.mg-acc-body { padding: 14px 4px 2px; font-size: 14px; color: #555; }
.mg-acc-body[hidden] { display: none; }

/* reservation form (after picking a slot) */
.mg-form { margin-top: 18px; display: grid; gap: 12px; }
.mg-form h5 { font-size: 16px; margin: 0 0 4px; color: #1b1b1b; }
.mg-form label { font-size: 12px; color: #777; display: block; margin-bottom: 4px; }
.mg-form input, .mg-form textarea {
  width: 100%; border: 1px solid #d8d8d8; border-radius: 8px; padding: 11px 12px;
  font-size: 15px; font-family: inherit; box-sizing: border-box;
}
.mg-form textarea { min-height: 70px; resize: vertical; }
.mg-form .mg-back { background: none; border: 0; color: var(--primary,#5b2f16); cursor: pointer; font-size: 14px; padding: 0; text-align: left; font-family: inherit; }
.mg-submit {
  background: var(--primary,#5b2f16); color: #fff; border: 0; border-radius: 8px;
  padding: 14px; font-size: 16px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.mg-submit:hover { background: #431f0e; }
.mg-thanks { text-align: center; padding: 22px 6px; }
.mg-thanks .mg-tick { width: 54px; height: 54px; border-radius: 50%; background: var(--primary,#5b2f16); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 14px; }
.mg-thanks h5 { font-size: 20px; margin: 0 0 8px; color: #1b1b1b; }
.mg-thanks p { color: #555; font-size: 14px; margin: 4px 0; }

@media (max-width: 575px) {
  .mg-wgt-photo { height: 220px; }
  .mg-wgt-body { padding: 18px; }
  .mg-slots { grid-template-columns: repeat(2,1fr); }
}

/* ---------- modals (local, replaces Bootstrap modal) ---------- */
.mg-modal {
  position: fixed; inset: 0; z-index: 1050; display: none;
  background: rgba(0,0,0,.5); padding: 20px; overflow-y: auto;
}
.mg-modal.is-open { display: flex; align-items: flex-start; justify-content: center; }
.mg-modal-dialog {
  background: var(--background, #ebe6d6); width: 100%; max-width: 480px;
  margin: 40px auto; border-radius: 0; box-shadow: 0 10px 40px rgba(0,0,0,.3);
}
.mg-modal-full { max-width: 640px; margin: 0 auto; min-height: 100%; }
.mg-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; }
.mg-modal-head i { cursor: pointer; color: var(--primary, #5b2f16); }
.mg-modal-body { padding: 0 24px 28px; }
.mg-modal .nav-link { color: var(--headingColor, #5b2f16); }

/* ---------- instagram grid icon overlays ---------- */
.mg-ig { position: relative; display: block; }
.mg-ig-ic { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.mg-ig-play { top: 50%; right: 50%; transform: translate(50%,-50%); width: 44px; height: 44px;
  background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M8 5v14l11-7z'/></svg>"); }
.mg-ig-multi { background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'><rect x='8' y='3' width='13' height='13' rx='2'/><path d='M3 8v11a2 2 0 0 0 2 2h11'/></svg>"); }

/* widget header bar without the Log In button — center the venue name */
.mg-wgt-top--solo { justify-content: center; text-align: center; }
.mg-wgt-top--solo .mg-wgt-venue { font-size: 19px; }

/* ---------- Instagram lightbox (images open, reels play) ---------- */
.mg-ig { cursor: pointer; }
.mg-lightbox {
  position: fixed; inset: 0; z-index: 1100; display: none;
  background: rgba(0,0,0,.88); align-items: center; justify-content: center; padding: 24px;
}
.mg-lightbox.is-open { display: flex; }
.mg-lb-stage { max-width: 92vw; max-height: 88vh; display: flex; }
.mg-lb-media { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 6px; display: block; }
.mg-lb-close {
  position: absolute; top: 18px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 28px; line-height: 1; cursor: pointer;
}
.mg-lb-close:hover { background: rgba(255,255,255,.22); }

/* Content pages are served as static SSR (no scroll-reveal JS): the theme hides
   `section > *` with opacity:0 until a `.appear` class is added client-side.
   Force all section children visible so content shows without that JS. */
section > * { opacity: 1 !important; }

/* ---------- labeled search segments (Guests / Date / Time) — match original ---------- */
.mg-seg { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 12px 16px; }
.mg-seg-lbl { font-size: 11px; color: #8a8a8a; line-height: 1; }
.mg-seg-val { font-size: 15px; font-weight: 600; color: #222; line-height: 1.1; }
.mg-seg.is-open .mg-seg-val { color: var(--primary, #5b2f16); }
.mg-search-ico { align-self: center; }

/* upcoming-date suggestions shown when the selected day is closed */
.mg-upcoming { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.mg-up {
  width: 100%; text-align: center; border: 1px solid var(--primary, #5b2f16);
  background: #fff; color: var(--primary, #5b2f16); border-radius: 6px;
  padding: 12px 10px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: .15s;
}
.mg-up:hover { background: var(--primary, #5b2f16); color: #fff; }

/* ====================== Reservation widget v2 (SevenRooms-style) ====================== */
/* header venue heading — uppercase display serif, like the original */
.mg-wgt-top--solo .mg-wgt-venue {
  font-family: "ivypresto-display","Kepler",Georgia,serif;
  font-size: 24px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2.88px; line-height: 30px; color: #fff;
}
/* search bar without the leading search icon */
.mg-search { padding: 2px; }
.mg-seg { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 12px 18px; }
.mg-seg-lbl { font-size: 11px; color: #8a8a8a; line-height: 1; }
.mg-seg-val { font-size: 15px; font-weight: 600; color: #222; line-height: 1.1; }
.mg-seg.is-open .mg-seg-val { color: var(--primary,#5b2f16); }

/* dropdown list (guests / time) — brown pill on the selected row */
.mg-pop-list { padding: 10px; max-height: 300px; overflow-y: auto; }
.mg-li { display: block; width: 100%; text-align: center; border: 0; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 15px; color: #222; padding: 13px 10px; border-radius: 999px; }
.mg-li:hover { background: #f3efe6; }
.mg-li.is-sel { background: var(--primary,#5b2f16); color: #fff; }

/* date heading + horizontal slot row */
.mg-dateh { font-size: 15px; font-weight: 700; color: #1b1b1b; margin: 16px 0 10px; }
.mg-slotrow { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; }
.mg-slotrow::-webkit-scrollbar { height: 6px; }
.mg-slotrow::-webkit-scrollbar-thumb { background: #d9d2c6; border-radius: 3px; }
.mg-slotcard { flex: 0 0 auto; min-width: 128px; scroll-snap-align: start;
  border: 1px solid #e1ddd3; border-radius: 10px; background: #fff; cursor: pointer; padding: 12px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: inherit; transition: .12s; }
.mg-slotcard:hover { border-color: var(--primary,#5b2f16); background: #faf7f1; }
.mg-sc-time { font-size: 15px; font-weight: 700; color: #1b1b1b; }
.mg-sc-svc { font-size: 12px; color: #777; }

/* slot detail modal */
.mg-rez-ov { position: fixed; inset: 0; z-index: 1200; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; padding: 20px; }
.mg-rez { background: #fff; border-radius: 14px; width: 100%; max-width: 540px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.mg-rez-x { position: absolute; top: 12px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 24px; line-height: 1; cursor: pointer; color: #333; }
.mg-rez-scroll { overflow-y: auto; padding: 22px 24px 10px; }
.mg-rez-title { font-size: 22px; font-weight: 700; color: #1b1b1b; margin: 0 0 14px; padding-right: 30px; }
.mg-rez-img { width: 100%; border-radius: 10px; display: block; margin-bottom: 12px; }
.mg-rez-when { font-size: 15px; color: #333; font-weight: 600; margin-bottom: 14px; }
.mg-rez-scroll h4 { font-size: 14px; font-weight: 700; color: #1b1b1b; margin: 14px 0 4px; }
.mg-rez-scroll p { font-size: 13px; color: #555; line-height: 1.5; margin: 0 0 6px; }
.mg-rez-select { margin: 10px 20px 20px; background: var(--primary,#5b2f16); color: #fff; border: 0; border-radius: 999px; padding: 15px; font-size: 16px; font-weight: 600; cursor: pointer; font-family: inherit; }
.mg-rez-select:hover { background: #431f0e; }

/* step frame: crumb (top) + scrollable body + sticky foot */
.mg-wgt.mg-flow { overflow: hidden; display: flex; flex-direction: column; }
.mg-crumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid #eee; font-size: 14px; color: #333; flex: 0 0 auto; }
.mg-crumb-back { border: 0; background: transparent; font-size: 22px; cursor: pointer; color: #333; padding: 0 4px 0 0; }
.mg-crumb i { color: #bbb; font-style: normal; }
.mg-step-body { flex: 1; overflow-y: auto; padding: 20px 22px; }
.mg-step-h { font-size: 20px; font-weight: 700; text-align: center; color: #1b1b1b; margin: 0 0 18px; }
.mg-svc-price { font-size: 14px; color: #444; line-height: 1.45; margin: -6px 0 16px; padding: 10px 12px; background: #f7f5f0; border-radius: 8px; border: 1px solid #ebe6d6; text-align: left; }
.mg-co-due { font-size: 15px; color: #333; margin: 0 0 18px; padding: 12px 14px; background: #f7f5f0; border-radius: 8px; border: 1px solid #ebe6d6; }
.mg-co-due strong { font-size: 17px; color: #1b1b1b; }
.mg-step-foot { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; border-top: 1px solid #eee; }
.mg-total { font-size: 14px; color: #666; }
.mg-total b { color: #1b1b1b; font-size: 17px; margin-left: 8px; }
.mg-next { background: var(--primary,#5b2f16); color: #fff; border: 0; border-radius: 999px; padding: 13px 34px; font-size: 16px; font-weight: 600; cursor: pointer; font-family: inherit; }
.mg-next:hover { background: #431f0e; }

/* upgrades */
.mg-upg-group { border: 1px solid #e6e1d7; border-radius: 10px; margin-bottom: 18px; overflow: hidden; }
.mg-upg-ghead { display: flex; align-items: center; justify-content: space-between; background: var(--primary,#5b2f16); color: #fff; padding: 12px 16px; font-size: 14px; font-weight: 700; }
.mg-req { font-weight: 500; font-size: 12px; opacity: .92; }
.mg-upg-group .mg-upg-item { padding: 14px 16px; border-bottom: 1px solid #efece5; }
.mg-upg-group .mg-upg-item:last-child { border-bottom: 0; }
.mg-upg-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 2px; border-bottom: 1px solid #efece5; }
.mg-upg-lbl { font-size: 14px; color: #222; }
.mg-upg-note { font-size: 12px; color: #888; margin-top: 3px; }
.mg-stp { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.mg-stp-b { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #ccc; background: #fff; font-size: 18px; cursor: pointer; color: var(--primary,#5b2f16); }
.mg-stp-b:disabled { opacity: .35; cursor: default; }
.mg-stp-v { min-width: 18px; text-align: center; font-weight: 600; }

/* checkout — SevenRooms layout + Stripe Link card block */
.mg-checkout { padding: 16px 18px 24px; }
.mg-co-layout { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.mg-co-main { flex: 1 1 320px; min-width: 0; max-width: 520px; }
.mg-co-side { flex: 0 0 220px; }
.mg-co-section { margin-bottom: 20px; }
.mg-co-h { font-size: 17px; font-weight: 700; color: #1b1b1b; margin: 0 0 8px; }
.mg-co-h--sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.mg-sr-field { margin-bottom: 14px; }
.mg-sr-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .mg-sr-row2 { grid-template-columns: 1fr; } }
.mg-sr-lbl { display: block; font-size: 13px; color: #4a4a4a; margin-bottom: 6px; font-weight: 400; }
.mg-sr-inp, .mg-sr-sel {
  width: 100%; box-sizing: border-box; border: 1px solid #c8c8c8; border-radius: 6px;
  padding: 13px 12px; font-size: 16px; font-family: inherit; color: #1b1b1b; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.mg-sr-inp::placeholder { color: #9a9a9a; }
.mg-sr-inp:focus, .mg-sr-sel:focus { outline: none; border-color: #5b9fd4; box-shadow: 0 0 0 1px #5b9fd4; }
.mg-sr-sel { appearance: auto; }
.mg-sr-phone { display: flex; align-items: stretch; gap: 0; border: 1px solid #c8c8c8; border-radius: 6px; overflow: hidden; background: #fff; }
.mg-sr-phone:focus-within { border-color: #5b9fd4; box-shadow: 0 0 0 1px #5b9fd4; }
.mg-sr-phone .mg-sr-inp { border: 0; border-radius: 0; box-shadow: none; flex: 1; min-width: 0; }
.mg-sr-phone-cc {
  flex: 0 0 38%; min-width: 132px; max-width: 200px; border: 0; border-right: 1px solid #e0e0e0;
  border-radius: 0; padding: 12px 28px 12px 10px; font-size: 14px; line-height: 1.2; color: #1b1b1b;
  background-color: #fafafa; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' fill='none' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.mg-sr-phone-cc:focus { outline: none; box-shadow: none; }
.mg-co-notes { margin: 8px 0 4px; border-top: 1px solid #eee; padding-top: 4px; }
.mg-acc2 { border-bottom: 1px solid #eee; }
.mg-acc-q { width: 100%; text-align: left; background: transparent; border: 0; padding: 14px 0; font-size: 14px; color: #222; cursor: pointer; font-family: inherit; }
.mg-acc-a { display: none; padding: 0 0 12px; }
.mg-acc2.is-open .mg-acc-a { display: block; }
.mg-acc-a textarea { width: 100%; border: 1px solid #c8c8c8; border-radius: 6px; padding: 10px; font-family: inherit; font-size: 14px; box-sizing: border-box; }
.mg-co-policies { margin: 16px 0 8px; }
.mg-chk { display: flex !important; align-items: flex-start; gap: 10px; font-size: 13px; color: #333; margin: 12px 0 0; line-height: 1.35; cursor: pointer; }
.mg-chk input { width: 18px !important; height: 18px; flex: 0 0 18px; margin: 1px 0 0; accent-color: var(--primary,#5b2f16); }
.mg-co-form .mg-submit {
  margin-top: 16px; width: 100%; background: var(--primary,#5b2f16); color: #fff; border: 0;
  border-radius: 999px; padding: 15px; font-size: 16px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.mg-co-form .mg-submit:hover { background: #431f0e; }
.mg-co-terms { font-size: 12px; color: #888; text-align: center; margin: 12px 0 0; line-height: 1.45; }
.mg-co-img { width: 100%; border-radius: 10px; margin-bottom: 12px; }
.mg-co-card { border: 1px solid #eee; border-radius: 10px; padding: 16px; }
.mg-co-name { font-size: 16px; font-weight: 700; color: #1b1b1b; margin-bottom: 8px; }
.mg-co-line { font-size: 13px; color: #555; margin: 3px 0; }
.mg-co-sum { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eee; font-size: 12px; color: #666; line-height: 1.6; }

/* confirmation */
.mg-done { text-align: center; padding: 48px 26px; }
.mg-done .mg-tick { width: 60px; height: 60px; border-radius: 50%; background: var(--primary,#5b2f16); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 18px; }
.mg-done h3 { font-size: 22px; color: #1b1b1b; margin: 0 0 10px; }
.mg-done p { font-size: 14px; color: #555; margin: 6px 0; }
.mg-done .mg-next { margin-top: 18px; }

@media (max-width: 560px) { .mg-co-side { flex-basis: 100%; } }

/* selected-date slots: 3-column grid of filled brown buttons (like the original) */
.mg-slotgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; }
.mg-gslot { background: var(--primary,#5b2f16); color: #fff; border: 0; border-radius: 8px; padding: 13px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; font-family: inherit; transition: .12s; }
.mg-gslot:hover { background: #431f0e; }
.mg-gslot .mg-sc-time { color: #fff; font-size: 15px; font-weight: 700; }
.mg-gslot .mg-sc-svc { color: rgba(255,255,255,.88); font-size: 12px; }
@media (max-width: 480px) { .mg-slotgrid { grid-template-columns: repeat(2, 1fr); } }

/* keep the brown header bar on multi-step frames (flex column) */
.mg-wgt.mg-flow .mg-wgt-top { flex: 0 0 auto; }

/* upgrade section headers + link */
.mg-upg-sechead { font-size: 13px; font-weight: 700; color: #1b1b1b; margin: 20px 0 6px; line-height: 1.35; }
.mg-upg-link { font-size: 12px; color: var(--primary,#5b2f16); text-decoration: underline; margin-top: 4px; }

/* checkout "Your information" heading — sans, sentence-case (override theme serif/uppercase bleed) */
.mg-co-h { font-family: "Roboto", Arial, sans-serif !important; text-transform: none !important; letter-spacing: normal; }
/* phone field with country-code select, like the original */
.mg-phone { display: flex; gap: 8px; }
.mg-phone-cc { flex: 0 0 auto; width: auto !important; min-width: 92px; }
.mg-phone input { flex: 1; }

/* Stripe Link payment panel (matches SevenRooms embedded checkout) */
.mg-stripe-box {
  border: 1px solid #e0e0e0; border-radius: 8px; background: #fff; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.mg-stripe-fields { padding: 14px 14px 12px; }
.mg-stripe-field { margin-bottom: 12px; }
.mg-stripe-field--card { margin-bottom: 14px; }
.mg-stripe-lbl { display: block; font-size: 13px; color: #303030; margin-bottom: 6px; font-weight: 400; }
.mg-stripe-inpw { position: relative; }
.mg-stripe-inp {
  width: 100%; box-sizing: border-box; border: 1px solid #d9d9d9; border-radius: 6px;
  padding: 11px 12px; font-size: 16px; font-family: inherit; color: #1b1b1b; background: #fff;
}
.mg-stripe-inp::placeholder { color: #a3a3a3; }
.mg-stripe-inp:focus { outline: none; border-color: #0570de; box-shadow: 0 0 0 1px #0570de; }
.mg-stripe-field--card .mg-stripe-inp { padding-right: 108px; }
.mg-stripe-inpw--cvc .mg-stripe-inp { padding-right: 40px; }
.mg-card-brands {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 4px; pointer-events: none;
}
.mg-card-ico { width: 28px; height: 18px; display: block; }
.mg-cvc-ico { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; opacity: .85; }
.mg-stripe-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mg-stripe-selectw { position: relative; }
.mg-stripe-sel {
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' fill='none' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.mg-stripe-legal { font-size: 12px; color: #6b6b6b; line-height: 1.5; margin: 14px 0 0; }
#card_number.is-invalid,
#card_exp.is-invalid,
#card_cvv.is-invalid { border-color: #df1b41; }
.mg-co-sum-title { font-weight: 700; color: #1b1b1b; margin: 0 0 8px; font-size: 14px; }
@media (max-width: 560px) {
  .mg-co-side { flex-basis: 100%; max-width: none; order: -1; }
  .mg-co-main { max-width: none; }
  .mg-stripe-row { grid-template-columns: 1fr; }
}

/* standalone confirmation page (post-checkout) */
.mg-confirm-page .mg-confirm-shell { max-width: 100%; }
.mg-confirm-card {
  background: #fff; border-radius: 4px; overflow: hidden; text-align: left;
}
.mg-confirm-card .mg-confirm-head {
  background: var(--primary,#5b2f16); color: #fff; padding: 14px 20px; font-size: 15px; font-weight: 600;
}
.mg-confirm-inner { padding: 28px 24px 32px; }
.mg-confirm-badge {
  width: 56px; height: 56px; border-radius: 50%; background: var(--primary,#5b2f16); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 16px;
}
.mg-confirm-title { font-size: 22px; font-weight: 700; color: #1b1b1b; margin: 0 0 8px; font-family: "Roboto", Arial, sans-serif; }
.mg-confirm-lead { font-size: 15px; color: #444; margin: 0 0 20px; line-height: 1.5; }
.mg-confirm-details {
  border: 1px solid #eee; border-radius: 10px; padding: 16px 18px; margin: 0 0 20px; background: #fafafa;
}
.mg-confirm-details h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #888; margin: 0 0 12px; font-weight: 600; }
.mg-confirm-dl { margin: 0; display: grid; gap: 10px; }
.mg-confirm-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 1.35; }
.mg-confirm-row dt { color: #666; margin: 0; font-weight: 400; flex: 0 0 42%; }
.mg-confirm-row dd { color: #1b1b1b; margin: 0; font-weight: 600; text-align: right; flex: 1; }
.mg-confirm-ref { font-size: 13px; color: #666; margin: 0 0 16px; }
.mg-confirm-ref strong { color: #1b1b1b; font-weight: 700; }
.mg-confirm-email { font-size: 14px; color: #555; line-height: 1.5; margin: 0 0 24px; }
.mg-confirm-cta {
  display: inline-block; background: var(--primary,#5b2f16); color: #fff !important; text-decoration: none;
  border-radius: 999px; padding: 14px 28px; font-size: 15px; font-weight: 600; border: 0; cursor: pointer; font-family: inherit;
}
.mg-confirm-cta:hover { background: #431f0e; color: #fff; }
@media (max-width: 480px) {
  .mg-confirm-inner { padding: 22px 16px 28px; }
  .mg-confirm-row { flex-direction: column; gap: 2px; }
  .mg-confirm-row dd { text-align: left; }
}

/* mobile sticky Reservations CTA — pin to bottom (theme .footer-cta has no offsets) */
.footer-cta.position-fixed { bottom: 0; left: 0; right: 0; }
