
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@keyframes mbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes seal-pulse {
  0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 4px 20px rgba(124, 106, 96, 0.5), inset 0 2px 4px rgba(255,255,255,0.3); }
  50% { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 6px 28px rgba(124, 106, 96, 0.7), inset 0 2px 6px rgba(255,255,255,0.4); }
  100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 4px 20px rgba(124, 106, 96, 0.5), inset 0 2px 4px rgba(255,255,255,0.3); }
}
@keyframes shine {
  0% { transform: translateX(-150%); }
  50%, 100% { transform: translateX(250%); }
}
@keyframes ambient-fall {
  0% { transform: translate(0, -30px) rotate(0deg); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translate(var(--sway, 15px), 105vh) rotate(360deg); opacity: 0; }
}
:root {
  --mb-primary: #7c6a60;
  --mb-muted: #918077;
  --mb-eyebrow: #827771;
  --mb-card-fill: #f6eadd;
  --mb-light-text: #ded9d7;
  --mb-calendar-bg: #7c6a60;
  --mb-page-bg: #fff7f3;
  --mb-font-serif: "EB Garamond", "Amiri", serif;
  --mb-font-script: "The Nautigal", "Amiri", cursive;
  --mb-font-heading: "Cormorant Garamond", "Amiri", "Times New Roman", serif;
  --mb-font-body: "Amiri", "Baskerville", "Times New Roman", serif;
}
:where(button){font-family:inherit}
body.mb-body {
  background-color: var(--mb-page-bg);
  color: var(--mb-primary);
  font-family: var(--mb-font-body);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.mb-audio-btn {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 20px;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mb-primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(124, 106, 96, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mb-audio-btn:hover { transform: scale(1.08); }
.mb-audio-btn.muted { opacity: 0.6; }
.mb-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: linear-gradient(to bottom right, #f3e6da, #e8d5c4, #dcc6b2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  overflow: hidden;
}
.mb-overlay.opened {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  pointer-events: none;
}
.mb-leaves-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.mb-leaves-container .petal {
  line-height: 1.7578;
}
.mb-falling-leaf {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.mb-corner-flower {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  width: 220px;
  max-width: 50vw;
  opacity: 0.7;
}
.mb-corner-flower.tl { top: -10px; inset-inline-start: -20px; transform: rotate(25deg); }
.mb-corner-flower.br { bottom: -10px; inset-inline-end: -20px; transform: rotate(-25deg) scaleX(-1); }
.mb-envelope-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 380px;
  background: rgba(255, 250, 245, 0.96);
  border: 1px solid rgba(124, 106, 96, 0.15);
  border-radius: 12px;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 40px rgba(124, 106, 96, 0.15);
  text-align: center;
  padding: 56px 24px 36px;
}
.mb-wax-seal {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #7c6a60, rgb(94, 76, 66));
  box-shadow: 0 4px 20px rgba(124, 106, 96, 0.5), inset 0 2px 4px rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  animation: seal-pulse 2s ease-in-out infinite;
}
.mb-wax-seal svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}
.mb-envelope-title {
  color: var(--mb-primary);
  font-family: var(--mb-font-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mb-amp {
  font-family: "Baskerville", "EB Garamond", "Amiri", "Times New Roman", serif;
  font-size: 20px;
  line-height: 1;
  color: var(--mb-muted);
}
.mb-envelope-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px 0;
}
.mb-envelope-divider .line {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--mb-primary));
}
.mb-envelope-divider .line.rev {
  background: linear-gradient(to left, transparent, var(--mb-primary));
}
.mb-envelope-divider span {
  color: var(--mb-primary);
  opacity: 0.7;
  font-size: 14px;
}
.mb-envelope-date {
  color: rgba(124, 106, 96, 0.85);
  font-family: "Lora", "Amiri", serif;
  font-size: 17px;
  margin-bottom: 12px;
}
.mb-envelope-guest {
  color: var(--mb-primary);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 6px;
}
.mb-envelope-invite { margin: 0 0 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mb-envelope-invite-lead { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mb-primary); opacity: 0.72; }
.mb-envelope-invite-lead { line-height: 21px; }
.mb-envelope-divider > span { line-height: 25px; }
html[lang="ar"] .mb-open-btn > span { line-height: 30px; }
.mb-envelope-invite .mb-envelope-guest { margin: 0; }
.mb-envelope-greet {
  color: rgba(124, 106, 96, 0.75);
  font-family: "Lora", "Amiri", serif;
  font-size: 16px;
  margin-bottom: 24px;
}
.mb-open-btn {
  position: relative;
  background: var(--mb-primary);
  color: #ffffff;
  font-family: "Lora", "Amiri", serif;
  font-size: 17px;
  font-weight: 600;
  border: none;
  border-radius: 9999px;
  padding: 10px 36px;
  box-shadow: 0 4px 14px rgba(124, 106, 96, 0.35);
  cursor: pointer;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.mb-open-btn:hover { transform: scale(1.04); }
.mb-shine {
  position: absolute;
  top: 0;
  height: 100%;
  width: 32px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shine 3s ease-in-out infinite;
  pointer-events: none;
}
.mb-main-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--mb-page-bg);
  color: var(--mb-primary);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(124, 106, 96, 0.1);
  overflow: hidden;
}
.mb-paper-bg {
  position: absolute;
  inset: 0;
  background-image: url('/minimalism-brown/paper.webp');
  background-size: 100% auto;
  background-position: top center;
  mix-blend-mode: multiply;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.mb-hero-header {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 48px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mb-leaf-watermark {
  position: absolute;
  pointer-events: none;
  object-fit: contain;
  opacity: 0.12;
  z-index: 0;
}
.mb-leaf-watermark.top-left {
  top: 10px;
  inset-inline-start: -20%;
  width: 55%;
}
.mb-leaf-watermark.gallery-leaf {
  top: -10px;
  inset-inline-end: -15%;
  width: 45%;
  transform: rotate(38deg);
  opacity: 0.1;
}
.mb-leaf-watermark.guest-leaf {
  top: -10px;
  inset-inline-start: -15%;
  width: 45%;
  transform: rotate(38deg);
  opacity: 0.1;
}
.mb-house-watermark {
  position: absolute;
  pointer-events: none;
  object-fit: contain;
  opacity: 0.08;
  mix-blend-mode: multiply;
  z-index: 0;
}
.mb-house-watermark.center {
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  max-width: none;
}
.mb-house-watermark.venue-house {
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 135%;
  max-width: none;
}
.mb-house-watermark.gift-house {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  max-width: none;
}
.mb-quote-text {
  position: relative;
  z-index: 10;
  font-family: var(--mb-font-heading);
  color: var(--mb-eyebrow);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  line-height: 1.6;
  max-width: 90%;
}
.mb-names-wrapper {
  position: relative;
  z-index: 10;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.mb-couple-name {
  font-family: var(--mb-font-serif);
  color: var(--mb-primary);
  font-size: clamp(34px, 9vw, 44px);
  line-height: 1;
}
.mb-names-amp-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mb-font-script);
  color: rgba(124, 106, 96, 0.16);
  font-size: 115px;
  line-height: 1;
  pointer-events: none;
  z-index: -1;
}
.mb-polaroid-wrapper {
  position: relative;
  z-index: 10;
  width: 88%;
  max-width: 380px;
  margin: 0 auto;
}
.mb-polaroid-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 1094 / 1554;
}
.mb-polaroid-inner-photo {
  position: absolute;
  left: 11.5%;
  top: 8%;
  width: 72%;
  height: 77%;
  transform: rotate(-4.78deg);
  overflow: hidden;
  background-color: #ffffff;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.mb-polaroid-inner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mb-frame-avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  pointer-events: none;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.2));
}
.mb-polaroid-floating-flower {
  position: absolute;
  bottom: -6%;
  inset-inline-start: -5%;
  width: 34%;
  z-index: 30;
  pointer-events: none;
  animation: mbFloat 5s ease-in-out infinite;
}
.mb-polaroid-floating-flower img {
  width: 100%;
  height: auto;
  filter: drop-shadow(4px 4px 2px rgba(0,0,0,0.25));
}
.mb-card-section {
  position: relative;
  z-index: 10;
  width: 88%;
  max-width: 440px;
  margin: 0 auto 36px;
}
.mb-content-box {
  position: relative;
  overflow: hidden;
  background-color: var(--mb-card-fill);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
}
.mb-content-box.rounded-13 { border-radius: 13px; }
.mb-content-box.rounded-10 { border-radius: 10px; }
.mb-box-paper-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
}
.mb-box-inner {
  position: relative;
  z-index: 10;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.mb-floating-deco {
  position: absolute;
  z-index: 20;
  pointer-events: none;
}
.mb-floating-deco.right-bottom {
  bottom: -6%;
  inset-inline-end: -17%;
  width: 32%;
  animation: mbFloat 5.5s ease-in-out 0.6s infinite;
}
.mb-floating-deco.left-mid {
  top: 33%;
  inset-inline-start: -16%;
  width: 28%;
  animation: mbFloat 6s ease-in-out 0.3s infinite;
}
.mb-floating-deco.right-top {
  top: 15%;
  inset-inline-end: -16%;
  width: 28%;
  animation: mbFloat 5.5s ease-in-out 0.9s infinite;
}
.mb-floating-deco.left-bottom {
  bottom: -6%;
  inset-inline-start: -21%;
  width: 32%;
  animation: mbFloat 6s ease-in-out 0.2s infinite;
}
.mb-deco-flower {
  width: 100%;
  filter: drop-shadow(4px 4px 2px rgba(0,0,0,0.25));
}
.mb-deco-flower.flipped { transform: scaleX(-1); }
.mb-deco-flower.small { width: 85%; }
.mb-deco-leaf {
  width: 100%;
  transform: rotate(10.57deg);
  filter: drop-shadow(4px 4px 2px rgba(0,0,0,0.25));
}
.mb-deco-leaf.flipped { transform: scaleY(-1) rotate(169deg); }
.mb-section-title {
  color: var(--mb-primary);
  font-family: var(--mb-font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mb-family-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}
.mb-family-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mb-family-prefix {
  font-size: 12px;
  color: var(--mb-muted);
}
.mb-family-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--mb-primary);
}
.mb-family-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(124, 106, 96, 0.35);
}
.mb-hosts-intro, .mb-hosts-lead {
  font-size: 13.5px;
  color: var(--mb-muted);
  line-height: 1.6;
}
.mb-ceremony-couple {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.mb-couple-large {
  font-family: var(--mb-font-serif);
  color: var(--mb-primary);
  font-size: 34px;
  line-height: 1.2;
}
.mb-script-amp {
  font-family: "Ms Madi", cursive;
  color: var(--mb-primary);
  font-size: 32px;
  line-height: 1;
}
.mb-ceremony-datetime {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: "Baskerville", "EB Garamond", "Amiri", "Times New Roman", serif;
  margin-top: 6px;
}
.mb-dt-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mb-dt-label {
  font-size: 11px;
  color: var(--mb-muted);
  text-transform: uppercase;
}
.mb-dt-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--mb-primary);
}
.mb-dt-sep {
  font-size: 20px;
  color: rgba(124, 106, 96, 0.4);
}
.mb-gallery-section {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 500px;
  margin: 0 auto 40px;
  text-align: center;
}
.mb-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.mb-gallery-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.mb-gallery-collage .mb-gallery-card:first-child,
.mb-gallery-collage .mb-gallery-card:nth-child(5n+1) {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}
.mb-gallery-3d {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 15px 12px 25px;
  margin-top: 16px;
  perspective: 900px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mb-gallery-3d::-webkit-scrollbar { display: none; }
.mb-gallery-3d .mb-gallery-card {
  flex: 0 0 76%;
  aspect-ratio: 3 / 4;
  scroll-snap-align: center;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(50, 30, 20, 0.22);
  transform: scale(0.96);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mb-gallery-3d .mb-gallery-card:hover {
  transform: scale(1.01);
}
.mb-gallery-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.mb-gallery-card:hover { transform: scale(1.02); }
.mb-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.mb-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.mb-lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.mb-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
}
.mb-reception-subtitle {
  font-size: 13px;
  color: var(--mb-muted);
}
.mb-date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--mb-primary);
}
.mb-weekday, .mb-month-year {
  font-family: var(--mb-font-heading);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
}
.mb-date-sep {
  width: 1px;
  height: 38px;
  background: rgba(124, 106, 96, 0.35);
}
.mb-big-day {
  font-family: "Times New Roman", serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--mb-primary);
}
.mb-time-badge {
  font-family: var(--mb-font-heading);
  font-size: 14px;
  color: var(--mb-primary-dark);
  font-weight: 600;
}
.mb-countdown-box {
  width: 100%;
  padding: 14px 12px;
  background: rgba(124, 106, 96, 0.08);
  border-radius: 8px;
}
.mb-countdown-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mb-muted);
  margin-bottom: 8px;
}
.mb-countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.mb-cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
}
.mb-cd-num {
  font-family: var(--mb-font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--mb-primary);
  line-height: 1;
}
.mb-cd-label {
  font-size: 10px;
  color: var(--mb-muted);
}
.mb-cd-sep {
  font-size: 18px;
  font-weight: bold;
  color: var(--mb-muted);
  line-height: 1;
}
.mb-calendar-wrapper {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.mb-calendar-inner {
  background-color: var(--mb-calendar-bg);
  border-radius: 10px;
  padding: 12px 16px 16px;
  width: 100%;
  max-width: 300px;
  color: var(--mb-light-text);
  box-shadow: 0 4px 12px rgba(124, 106, 96, 0.25);
}
.mb-cal-header-cursive {
  font-family: var(--mb-font-script);
  font-size: 28px;
  color: var(--mb-light-text);
  line-height: 1.1;
  text-align: center;
  margin-bottom: 8px;
}
.mb-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-size: 10px;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 6px;
  text-align: center;
}
.mb-cal-matrix {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mb-cal-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}
.mb-cal-cell {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  width: 26px;
  margin: 0 auto;
  border-radius: 50%;
}
.mb-cal-cell.out { opacity: 0.25; }
.mb-cal-cell.wedding-day {
  background-color: #ffffff;
  color: var(--mb-primary);
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.mb-add-cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--mb-primary);
  font-family: var(--mb-font-serif);
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 12px;
  cursor: pointer;
  border: none;
}
.mb-rsvp-cta-wrap {
  margin-top: 8px;
  width: 100%;
}
.mb-rsvp-btn {
  display: inline-block;
  background-color: var(--mb-primary);
  color: #ffffff;
  font-family: "Baskerville", "EB Garamond", "Amiri", "Times New Roman", serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  padding: 10px 36px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 14px rgba(124, 106, 96, 0.3);
}
.mb-rsvp-btn:hover { transform: scale(1.04); background-color: var(--mb-primary-dark); }
.mb-location-section {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 480px;
  margin: 0 auto 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mb-venue-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--mb-primary);
  margin-top: 8px;
}
.mb-venue-address {
  font-size: 13.5px;
  color: var(--mb-muted);
  margin-top: 4px;
  margin-bottom: 14px;
}
.mb-map-card {
  width: 100%;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(124, 106, 96, 0.2);
}
.mb-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.mb-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--mb-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.mb-zigzag-timeline {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 26px auto 10px;
  padding: 8px 0;
  direction: ltr !important;
}
.mb-zigzag-line {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 1.5px;
  background: rgba(124, 106, 96, 0.4);
  transform: translateX(-50%);
}
.mb-zigzag-row {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 26px;
  min-height: 48px;
}
.mb-zigzag-row:last-child {
  margin-bottom: 0;
}
.mb-zigzag-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  z-index: 2;
  box-sizing: border-box;
}
.mb-zigzag-dot.solid {
  background: var(--mb-primary, #7c6a60);
  border: 2px solid var(--mb-primary, #7c6a60);
}
.mb-zigzag-dot.ring {
  background: #faf5f0;
  border: 2.5px solid var(--mb-primary, #7c6a60);
}
.mb-zigzag-side {
  width: 50%;
  box-sizing: border-box;
  display: flex;
}
.mb-zigzag-row.on-right .mb-zigzag-side.left {
  visibility: hidden;
}
.mb-zigzag-row.on-right .mb-zigzag-side.right {
  padding-left: 20px;
  padding-right: 0;
  justify-content: flex-start;
  align-items: flex-start;
}
.mb-zigzag-row.on-left .mb-zigzag-side.right {
  visibility: hidden;
}
.mb-zigzag-row.on-left .mb-zigzag-side.left {
  padding-right: 20px;
  padding-left: 0;
  justify-content: flex-end;
  align-items: flex-end;
}
.mb-zigzag-content {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  direction: rtl;
  text-align: right;
}
[dir="ltr"] .mb-zigzag-content {
  direction: ltr;
  text-align: left;
}
.mb-zigzag-time {
  font-family: var(--mb-font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--mb-primary, #7c6a60);
  letter-spacing: 0.05em;
  line-height: 1.25;
}
.mb-zigzag-title {
  font-family: var(--mb-font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: #3e2b1d;
  line-height: 1.35;
  word-break: break-word;
}
.mb-notes-section {
  width: 88%;
  max-width: 420px;
  margin: 24px auto;
  position: relative;
  z-index: 10;
}
.mb-notes-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: var(--mb-card-fill);
  color: var(--mb-primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid rgba(124, 106, 96, 0.2);
}
.mb-notes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mb-note-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--mb-primary);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(124, 106, 96, 0.15);
  border-radius: 8px;
  padding: 8px 14px;
}
.mb-rsvp-lead {
  font-size: 13px;
  color: var(--mb-muted);
  margin-bottom: 4px;
}
.mb-rsvp-form,
.mb-box-inner .krsvp {
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
}
.mb-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mb-form-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--mb-primary);
}
.mb-input, .mb-select {
  padding: 10px 12px;
  border: 1px solid rgba(124, 106, 96, 0.3);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  color: var(--mb-primary);
  background: #ffffff;
  outline: none;
}
.mb-input:focus, .mb-select:focus {
  border-color: var(--mb-primary);
}
.mb-form-alert {
  padding: 8px;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
  display: none;
}
.mb-guestbook-section {
  position: relative;
  z-index: 10;
  width: 92%;
  max-width: 480px;
  margin: 0 auto 40px;
  text-align: center;
}
.mb-papernote-container {
  position: relative;
  width: 100%;
  padding: 40px 20px 30px;
}
.mb-papernote-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(4px 4px 6px rgba(0,0,0,0.18));
}
.mb-papernote-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.note-title {
  transform: translateY(-8px);
}
.mb-wish-form {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mb-wish-input-group input,
.mb-wish-input-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--mb-primary);
  border-radius: 6px;
  background: transparent;
  color: var(--mb-primary);
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.mb-wish-input-group textarea { resize: vertical; }
.mb-wish-submit-btn {
  background: var(--mb-primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 9px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.mb-wish-submit-btn:hover { background: var(--mb-primary-dark); }
.mb-wishes-list {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  max-height: 240px;
  overflow-y: auto;
}
.wish-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(124, 106, 96, 0.25);
  border-radius: 8px;
  padding: 10px;
  text-align: start;
}
.wish-author {
  font-weight: 700;
  font-size: 12px;
  color: var(--mb-primary);
}
.wish-content {
  font-size: 13px;
  color: var(--mb-muted);
  margin-top: 2px;
}
.mb-footer-section {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 24px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mb-thanks-note {
  font-family: var(--mb-font-serif);
  font-size: 15px;
  color: var(--mb-primary);
  max-width: 80%;
  line-height: 1.6;
}
.mb-footer-names {
  font-family: var(--mb-font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--mb-primary);
}
.mb-footer-meta {
  font-size: 12px;
  color: var(--mb-muted);
}
.mb-envelope-title,.mb-couple-name,.mb-cr-name,.mb-couple-large,.mb-footer-couple-names,.mb-footer-names{font-family:"EB Garamond",'Reem Kufi',serif}
@media (max-width: 600px) {
  .mb-floating-deco.right-bottom { width: 22%; inset-inline-end: -12%; }
  .mb-floating-deco.left-mid { width: 19%; inset-inline-start: -12%; }
  .mb-floating-deco.right-top { width: 19%; inset-inline-end: -12%; }
  .mb-floating-deco.left-bottom { width: 22%; inset-inline-start: -14%; }
}
.mb-ceremony-couple { flex-wrap: wrap; row-gap: 0; }
.mb-add-cal-btn, .mb-map-btn { position: relative; }
.mb-add-cal-btn::after, .mb-map-btn::after { content: ''; position: absolute; inset: -10px -6px; }
.mb-couple-large { overflow-wrap: anywhere; min-width: 0; }
