
:root {
  --sg-gold: #9e753c;
  --sg-gold-dark: #6d512a;
  --sg-gold-light: #cdb587;
  --sg-bg: #f9f1e6;
  --sg-card-bg: #ffffff;
  --sg-border-gold: rgba(158, 117, 60, 0.3);
  --sg-text-primary: #9e753c;
  --sg-text-muted: #6d512a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html.sg-html, body.sg-body {
  width: 100%;
  min-height: 100%;
  background-color: var(--sg-bg);
  color: var(--sg-gold-dark);
  font-family: 'Cinzel', 'Amiri', 'Readex Pro', serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.sg-envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at center, #fbf7ee 0%, #f4e8d3 55%, #e8d5b5 100%);
  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;
}
.sg-envelope-overlay.opened {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.06);
  pointer-events: none;
}
.sg-envelope-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url('/saraya-gold/castle-background.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.sg-leaves-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}
.sg-envelope-overlay .petal {
  position: absolute;
  top: -30px;
  opacity: 0.75;
  animation: sgPetalFall linear forwards;
}
.sg-envelope-overlay .petal:nth-child(2n) { color: #9e753c; }
.sg-envelope-overlay .petal:nth-child(3n) { color: #cdb587; }
.sg-envelope-overlay .petal:nth-child(4n) { color: #6d512a; }
.sg-envelope-overlay .petal:nth-child(5n) { color: #d4af37; }
@keyframes sgPetalFall {
  to {
    transform: translateY(105vh) translateX(var(--sway, 20px)) rotate(360deg);
  }
}
.sg-env-flower {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  width: 190px;
  max-width: 44vw;
  opacity: 0.75;
  filter: drop-shadow(0 4px 10px rgba(109, 81, 42, 0.15));
}
.sg-env-flower.fl-top-right {
  top: -15px;
  right: -15px;
  transform: scaleX(-1) rotate(-5deg);
}
.sg-env-flower.fl-top-left {
  top: -15px;
  left: -15px;
  transform: rotate(-5deg);
}
.sg-env-flower.fl-bottom-right {
  bottom: -15px;
  right: -15px;
  transform: rotate(-10deg);
}
.sg-env-flower.fl-bottom-left {
  bottom: -15px;
  left: -15px;
  transform: scaleX(-1) rotate(-10deg);
}
.sg-envelope-box {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 380px;
  display: flex;
  justify-content: center;
}
.sg-envelope-card {
  position: relative;
  width: 100%;
  background: rgba(255, 252, 247, 0.96);
  border: 2px solid rgba(158, 117, 60, 0.35);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(109, 81, 42, 0.35), 0 8px 24px rgba(0, 0, 0, 0.1), 0 0 40px rgba(158, 117, 60, 0.2);
  text-align: center;
  padding: 50px 24px 34px;
  backdrop-filter: blur(8px);
}
.sg-wax-seal {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d4af37, #9e753c 60%, #6d512a 100%);
  box-shadow: 0 6px 20px rgba(109, 81, 42, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  animation: sgPulse 2.2s ease-in-out infinite;
  transition: transform 0.2s ease;
}
.sg-wax-seal:hover {
  transform: translate(-50%, -50%) scale(1.08);
}
@keyframes sgPulse {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(109, 81, 42, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.45), 0 0 0 0 rgba(158, 117, 60, 0.4);
  }
  50% {
    box-shadow: 0 8px 26px rgba(109, 81, 42, 0.65), inset 0 2px 4px rgba(255, 255, 255, 0.55), 0 0 0 12px rgba(158, 117, 60, 0);
  }
}
.sg-envelope-names {
  color: var(--sg-gold-dark);
  font-family: 'Amiri', serif;
  font-size: clamp(28px, 7vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}
.sg-envelope-amp {
  font-family: 'Alex Brush', 'Amiri', cursive;
  font-size: 24px;
  line-height: 1;
  color: var(--sg-gold);
  margin: 2px 0;
}
.sg-envelope-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 16px;
}
.sg-envelope-divider .sg-divider-line {
  width: 44px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--sg-gold));
}
.sg-envelope-divider .sg-divider-line:last-child {
  background: linear-gradient(to left, transparent, var(--sg-gold));
}
.sg-envelope-divider .sg-divider-ornament {
  color: var(--sg-gold);
  font-size: 13px;
  opacity: 0.85;
}
.sg-envelope-guest-name {
  color: var(--sg-gold-dark);
  font-size: 17px;
  margin-bottom: 12px;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sg-envelope-guest-name span {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sg-gold);
  opacity: 0.9;
}
.sg-envelope-guest-name b {
  font-family: 'Amiri', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--sg-gold-dark);
}
.sg-envelope-intro {
  color: var(--sg-gold-dark);
  font-family: 'Amiri', serif;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 18px;
  opacity: 0.9;
}
.sg-envelope-date-badge {
  color: var(--sg-gold);
  font-family: 'Amiri', 'Cinzel', serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.sg-open-btn {
  position: relative;
  background: linear-gradient(135deg, #b88d4c 0%, #9e753c 50%, #6d512a 100%);
  color: #ffffff;
  font-family: 'Amiri', 'Cinzel', serif;
  font-size: 17px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  padding: 11px 36px;
  box-shadow: 0 4px 18px rgba(109, 81, 42, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  cursor: pointer;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sg-open-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(109, 81, 42, 0.5);
}
.sg-open-btn:active {
  transform: translateY(0) scale(0.99);
}
.sg-open-btn-seal {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sg-open-btn-seal svg {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}
.sg-open-btn-text {
  letter-spacing: 0.5px;
}
.sg-envelope-guest-name > span { line-height: 18px; }
html[lang="ar"] .sg-envelope-guest-name > span { line-height: 23px; }
.sg-envelope-divider .sg-divider-ornament { line-height: 18px; }
.sg-envelope-date-badge { line-height: 27px; }
.sg-open-btn-text { line-height: 30px; }
.sg-btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  animation: sgShine 3s infinite;
}
@keyframes sgShine {
  0% { left: -100%; }
  40%, 100% { left: 160%; }
}
.sg-main {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--sg-bg);
  color: var(--sg-gold-dark);
  border-inline: 1px solid var(--sg-border-gold);
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 768px) {
  .sg-main {
    max-width: 600px;
  }
}
.sg-castle-bg-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -20;
  opacity: 0.18;
  background-image: url('/saraya-gold/castle-background.webp');
  background-size: 100% auto;
  background-repeat: repeat-y;
}
.sg-hero-section {
  position: relative;
  width: 100%;
  padding-top: 24px;
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sg-frame-container {
  position: relative;
  width: 92%;
  max-width: 440px;
  aspect-ratio: 2172 / 2541;
  margin: 0 auto;
  direction: ltr !important;
}
.sg-hero-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
}
.sg-lantern-left {
  position: absolute;
  top: 13%;
  left: 11%;
  width: 6.8%;
  max-width: 30px;
  height: auto;
  object-fit: contain;
  z-index: 4;
  pointer-events: none;
  transform-origin: top center;
  animation: sgLanternSway 4.5s ease-in-out infinite alternate;
}
.sg-lantern-right {
  position: absolute;
  top: 13%;
  right: 11%;
  width: 6.8%;
  max-width: 30px;
  height: auto;
  object-fit: contain;
  z-index: 4;
  pointer-events: none;
  transform-origin: top center;
  animation: sgLanternSway 4.5s ease-in-out infinite alternate-reverse;
}
.sg-calligraphy-top {
  position: absolute;
  top: 13%;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  z-index: 4;
  pointer-events: none;
}
.sg-hero-quote {
  position: absolute;
  top: 25.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 62%;
  max-width: 250px;
  font-family: 'Amiri', serif;
  font-size: clamp(10.5px, 2.3vw, 12px);
  line-height: 1.5;
  color: var(--sg-gold-dark);
  text-align: center;
  z-index: 6;
  font-style: italic;
  opacity: 0.95;
  direction: rtl;
  margin: 0;
  padding: 0 4px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85);
}
.sg-flower-top-left {
  position: absolute;
  top: -3.5%;
  left: -3.5%;
  width: 34%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  z-index: 5;
  pointer-events: none;
  animation: sgFloat 6s ease-in-out infinite alternate;
}
.sg-flower-top-right {
  position: absolute;
  top: -3.5%;
  right: -3.5%;
  width: 34%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  z-index: 5;
  pointer-events: none;
  scale: -1 1;
  animation: sgFloat 6s ease-in-out infinite alternate-reverse;
}
.sg-flower-bottom-left {
  position: absolute;
  bottom: 0%;
  left: -2%;
  width: 36%;
  max-width: 160px;
  height: auto;
  object-fit: contain;
  z-index: 3;
  pointer-events: none;
  transform: scaleX(-1);
}
.sg-flower-bottom-right {
  position: absolute;
  bottom: 0%;
  right: -2%;
  width: 36%;
  max-width: 160px;
  height: auto;
  object-fit: contain;
  z-index: 3;
  pointer-events: none;
}
.sg-hero-names-inner {
  position: absolute;
  left: 50%;
  top: 57%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 6;
  width: 76%;
  direction: rtl;
}
.sg-hero-name {
  font-family: 'Amiri', serif;
  font-size: clamp(34px, 8.5vw, 48px);
  font-weight: 700;
  color: var(--sg-gold);
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8), 0 2px 8px rgba(158, 117, 60, 0.15);
}
.sg-hero-amp {
  font-family: 'Alex Brush', 'Amiri', cursive;
  font-size: clamp(22px, 5.5vw, 30px);
  color: var(--sg-gold-dark);
  line-height: 1;
  margin: 3px 0;
  opacity: 0.9;
}
.sg-portrait-section {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 10px 16px 28px;
  display: flex;
  justify-content: center;
}
.sg-portrait-card {
  position: relative;
  width: 240px;
  height: 310px;
  background: #ffffff;
  padding: 10px;
  border-radius: 120px 120px 14px 14px;
  box-shadow: 0 12px 30px rgba(158, 117, 60, 0.22), 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--sg-gold-light);
}
.sg-portrait-inner {
  width: 100%;
  height: 100%;
  border-radius: 110px 110px 10px 10px;
  overflow: hidden;
}
.sg-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sg-portrait-flower-tr {
  position: absolute;
  top: -16px;
  right: -20px;
  width: 75px;
  height: auto;
  pointer-events: none;
  transform: scaleX(-1);
}
.sg-portrait-flower-bl {
  position: absolute;
  bottom: -16px;
  left: -20px;
  width: 75px;
  height: auto;
  pointer-events: none;
  transform: scaleX(-1);
}
.sg-ceremony-section, .sg-reception-section {
  position: relative;
  isolation: isolate;
  padding: 56px 16px 30px;
  z-index: 10;
}
@media (min-width: 768px) {
  .sg-ceremony-section, .sg-reception-section {
    padding: 68px 32px 40px;
  }
}
.sg-sec-gold-frame {
  pointer-events: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 98%;
  height: auto;
  object-fit: contain;
  z-index: 0;
  top: -30px;
}
@media (min-width: 768px) {
  .sg-sec-gold-frame {
    width: 88%;
    top: -40px;
  }
}
.sg-side-flower-left {
  pointer-events: none;
  position: absolute;
  top: 42%;
  left: -35%;
  width: 65%;
  z-index: 2;
  object-fit: contain;
}
.sg-side-leaf-right {
  pointer-events: none;
  position: absolute;
  top: 63%;
  right: -10%;
  width: 25%;
  z-index: 2;
  object-fit: contain;
  transform: scaleX(-1);
}
.sg-side-lantern-1 {
  pointer-events: none;
  position: absolute;
  top: 68%;
  left: 6%;
  width: 7.5%;
  z-index: 1;
}
.sg-side-lantern-2 {
  pointer-events: none;
  position: absolute;
  top: 79%;
  right: 2%;
  width: 7.5%;
  z-index: 1;
}
.sg-side-leaf-left {
  pointer-events: none;
  position: absolute;
  top: 19%;
  left: -10%;
  width: 30%;
  z-index: 2;
}
.sg-side-flower-right {
  pointer-events: none;
  position: absolute;
  top: 28%;
  right: -35%;
  width: 65%;
  z-index: 2;
  transform: scaleX(-1);
}
.sg-side-lantern-3 {
  pointer-events: none;
  position: absolute;
  top: 30%;
  left: 4%;
  width: 8%;
  z-index: 1;
}
.sg-side-lantern-4 {
  pointer-events: none;
  position: absolute;
  top: 45%;
  right: 2%;
  width: 8%;
  z-index: 1;
}
.sg-ceremony-content, .sg-reception-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.sg-section-title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sg-gold);
  font-family: 'Cinzel', 'Amiri', serif;
}
.sg-section-title.note-title {
  font-size: 20px;
}
.sg-announcement {
  font-size: 15px;
  line-height: 1.6;
  color: var(--sg-gold-dark);
  max-width: 440px;
  margin: 4px 0;
  font-family: 'Readex Pro', 'Amiri', sans-serif;
}
.sg-hosts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  margin: 6px 0;
}
.sg-host-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
}
.sg-host-role {
  color: var(--sg-gold);
  font-weight: 500;
}
.sg-host-name {
  color: var(--sg-gold-dark);
  font-weight: 700;
}
.sg-couple-full-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 8px 0;
}
.sg-full-name {
  font-size: 32px;
  font-family: 'Amiri', 'Cinzel', serif;
  color: var(--sg-gold);
  font-weight: 700;
}
.sg-couple-role {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sg-gold-dark);
  font-family: 'Readex Pro', sans-serif;
}
.sg-couple-amp {
  font-size: 24px;
  color: var(--sg-gold);
  font-family: 'Alex Brush', cursive;
}
.sg-gold-line {
  width: 80%;
  max-width: 320px;
  height: auto;
  margin: 8px 0;
  vertical-align: top;  
}
.sg-quote {
  font-size: 14px;
  font-style: italic;
  color: var(--sg-gold-dark);
  line-height: 1.75;
  max-width: 460px;
  opacity: 0.95;
  font-family: 'Amiri', serif;
}
.sg-gallery-section {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 32px 16px;
  text-align: center;
}
.sg-gallery-counter {
  font-size: 13px;
  color: var(--sg-gold);
  margin-top: 4px;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.sg-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}
.sg-gallery-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}
.sg-gallery-collage .sg-gallery-card:first-child,
.sg-gallery-collage .sg-gallery-card:nth-child(5n+1) {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}
.sg-gallery-3d {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 15px 12px 25px;
  max-width: 460px;
  margin: 0 auto;
  perspective: 900px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sg-gallery-3d::-webkit-scrollbar { display: none; }
.sg-gallery-3d .sg-gallery-card {
  flex: 0 0 76%;
  aspect-ratio: 3 / 4;
  scroll-snap-align: center;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(158, 117, 60, 0.2);
  transform: scale(0.96);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sg-gallery-card {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--sg-border-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.sg-gallery-card:hover {
  transform: scale(1.02);
}
.sg-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sg-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.sg-lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.sg-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  font-size: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.sg-reception-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sg-reception-intro {
  font-size: 14px;
  color: var(--sg-gold-dark);
  font-weight: 500;
}
.sg-reception-time {
  font-size: 32px;
  color: var(--sg-gold);
  font-weight: 700;
  font-family: 'Readex Pro', sans-serif;
}
.sg-reception-day-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--sg-gold-dark);
  font-weight: 500;
}
.sg-dot-sep {
  color: var(--sg-gold);
}
.sg-countdown-wrapper {
  margin: 14px 0 10px;
  text-align: center;
  width: 100%;
}
.sg-countdown-heading {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--sg-gold);
  margin-bottom: 8px;
  font-weight: 600;
}
.sg-countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sg-cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
}
.sg-cd-val {
  font-size: 24px;
  font-weight: 700;
  color: var(--sg-gold);
  font-family: 'Readex Pro', sans-serif;
}
.sg-cd-lbl {
  font-size: 11px;
  color: var(--sg-gold-dark);
}
.sg-cd-sep {
  font-size: 20px;
  color: var(--sg-gold);
  font-weight: 700;
  align-self: flex-start;
  margin-top: 2px;
}
.sg-calendar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.sg-calendar-frame-wrap {
  position: relative;
  width: 100%;
  max-width: 330px;
  aspect-ratio: 300 / 330;
  margin: 6px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sg-calendar-frame-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.sg-calendar-table-inner {
  position: relative;
  z-index: 2;
  width: 82%;
  padding: 10px;
}
.sg-calendar-month-title {
  font-family: 'Cinzel', 'Amiri', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--sg-gold);
  margin-bottom: 8px;
  text-align: center;
}
.sg-calendar-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 12px;
  color: var(--sg-gold-dark);
}
.sg-calendar-table th {
  padding: 4px 2px;
  font-size: 11px;
  color: var(--sg-gold);
  border-bottom: 1px solid var(--sg-border-gold);
}
.sg-calendar-table td {
  padding: 6px 2px;
  font-size: 12px;
  height: 26px;
}
.sg-cal-circled-day {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #ffffff;
  font-weight: 700;
}
.sg-cal-heart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--sg-gold);
  z-index: -1;
}
.sg-add-cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--sg-gold-dark);
  border: 1px solid var(--sg-border-gold);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-family: 'Readex Pro', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(158, 117, 60, 0.1);
}
.sg-add-cal-btn:hover {
  background: var(--sg-gold);
  color: #ffffff;
  border-color: var(--sg-gold);
}
.sg-rsvp-cta-wrap {
  margin-top: 6px;
}
.sg-rsvp-btn-cta {
  display: inline-block;
  background: var(--sg-gold);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 28px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: 'Readex Pro', sans-serif;
  box-shadow: 0 4px 15px rgba(158, 117, 60, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}
.sg-rsvp-btn-cta:hover {
  transform: translateY(-2px);
  background: #85612f;
}
.sg-map-section {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.sg-venue-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sg-venue-name {
  font-size: 17px;
  color: var(--sg-gold);
  font-weight: 700;
}
.sg-venue-address {
  font-size: 13.5px;
  color: var(--sg-gold-dark);
}
.sg-map-card {
  width: 100%;
  max-width: 440px;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--sg-border-gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.sg-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.sg-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sg-gold);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(158, 117, 60, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}
.sg-directions-btn:hover {
  transform: translateY(-2px);
  background: #85612f;
}
.sg-notes-section {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 24px 16px;
}
.sg-notes-card {
  background: #ffffff;
  border: 1px solid var(--sg-border-gold);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(158, 117, 60, 0.12);
  padding: 24px 18px;
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
}
.sg-notes-kn{margin-top:10px}
.sg-notes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  text-align: start;
}
.sg-note-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--sg-gold-dark);
  line-height: 1.5;
}
.sg-note-bullet {
  color: var(--sg-gold);
  font-size: 12px;
  margin-top: 2px;
}
.sg-timeline-section {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 24px 16px;
}
.sg-timeline-card {
  background: #ffffff;
  border: 1px solid var(--sg-border-gold);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(158, 117, 60, 0.12);
  padding: 24px 18px;
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}
.sg-timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 20px;
  padding: 10px 0;
  text-align: start;
}
.sg-timeline-line {
  position: absolute;
  top: 15px;
  bottom: 15px;
  inset-inline-start: 22px;
  width: 2px;
  background: var(--sg-border-gold);
  z-index: 1;
}
.sg-timeline-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
}
.sg-timeline-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sg-bg);
  border: 2px solid var(--sg-gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(158, 117, 60, 0.15);
}
.sg-timeline-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.sg-timeline-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sg-timeline-time {
  font-family: 'Readex Pro', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sg-gold);
}
.sg-timeline-title {
  font-family: 'Amiri', serif;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--sg-gold-dark);
}
.sg-rsvp-section {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 32px 16px;
}
.sg-rsvp-card {
  background: #ffffff;
  border: 1px solid var(--sg-border-gold);
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(158, 117, 60, 0.12);
  padding: 26px 18px;
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}
.sg-rsvp-intro {
  font-size: 13.5px;
  color: var(--sg-gold-dark);
  margin-top: 6px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.sg-rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: start;
}
.sg-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sg-form-group label {
  font-size: 13px;
  color: var(--sg-gold);
  font-weight: 600;
  font-family: 'Readex Pro', sans-serif;
}
.sg-input, .sg-select, .sg-textarea {
  width: 100%;
  background: #fdfbf7;
  color: var(--sg-gold-dark);
  border: 1px solid var(--sg-border-gold);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}
.sg-input:focus, .sg-select:focus, .sg-textarea:focus {
  border-color: var(--sg-gold);
}
.sg-party-picker {
  display: flex;
  align-items: center;
  border: 1px solid var(--sg-border-gold);
  border-radius: 8px;
  overflow: hidden;
  max-width: 160px;
  background: #fdfbf7;
}
.sg-step-btn {
  background: transparent;
  border: none;
  width: 44px;
  height: 40px;
  font-size: 20px;
  color: var(--sg-gold);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.sg-party-input {
  flex: 1;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  color: var(--sg-gold-dark);
}
.sg-rsvp-action-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.sg-choice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Readex Pro', sans-serif;
  cursor: pointer;
  border: 1.5px solid var(--sg-border-gold);
  background: #fdfbf7;
  color: var(--sg-gold-dark);
  transition: all 0.2s ease;
}
.sg-choice-btn.yes.on {
  background: var(--sg-gold);
  color: #ffffff;
  border-color: var(--sg-gold);
}
.sg-choice-btn.no.on {
  background: #8b3a3a;
  color: #ffffff;
  border-color: #8b3a3a;
}
.sg-form-alert {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}
.sg-form-alert.is-err {
  color: #a82424;
}
.sg-form-alert:not(.is-err) {
  color: #2b7045;
}
.sg-wishes-section {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 32px 16px;
}
.sg-wishes-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--sg-border-gold);
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(158, 117, 60, 0.12);
  padding: 26px 18px;
  text-align: center;
  overflow: hidden;
  max-width: 440px;
  margin: 0 auto;
}
.sg-wishes-bg {
  position: absolute;
  inset: 0;
  background: url('/saraya-gold/guestbook-background.webp') center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
}
.sg-wishes-content-inner {
  position: relative;
  z-index: 2;
}
.sg-wishes-intro {
  font-size: 13px;
  color: var(--sg-gold-dark);
  margin-top: 6px;
  margin-bottom: 18px;
}
.sg-wish-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.sg-wish-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--sg-gold);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 26px;
  font-size: 14.5px;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 600;
  cursor: pointer;
  align-self: center;
  box-shadow: 0 4px 14px rgba(158, 117, 60, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}
.sg-wish-submit-btn:hover {
  transform: translateY(-2px);
  background: #85612f;
}
.sg-wishes-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  text-align: start;
}
.sg-wishes-feed .wish-card {
  background: #fdfbf7;
  border-radius: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(158, 117, 60, 0.2);
}
.sg-wishes-feed .wish-author {
  font-size: 13.5px;
  color: var(--sg-gold);
  display: block;
  margin-bottom: 3px;
  font-weight: 700;
}
.sg-wishes-feed .wish-content {
  font-size: 13px;
  color: #4f391b;
  line-height: 1.5;
}
.sg-wishes-feed .empty-wishes {
  font-size: 13px;
  color: var(--sg-gold);
  padding: 16px 0;
  text-align: center;
}
.sg-footer {
  text-align: center;
  padding: 32px 16px 24px;
  font-size: 12.5px;
  color: var(--sg-gold-dark);
}
.sg-footer-thanks {
  font-size: 14px;
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.6;
  color: var(--sg-gold-dark);
  font-family: 'Amiri', serif;
}
.sg-footer-names {
  font-family: 'Amiri', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--sg-gold);
  margin-bottom: 4px;
}
.sg-footer-meta {
  font-size: 12px;
  color: var(--sg-gold-dark);
  opacity: 0.85;
  margin-bottom: 10px;
}
.sg-footer-koroty a {
  color: var(--sg-gold);
  text-decoration: none;
  font-weight: 700;
}
.sg-music-widget {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 999;
}
.sg-music-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sg-gold);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.sg-music-btn:hover {
  transform: scale(1.06);
}
.sg-music-btn.playing svg {
  animation: sgSpin 4s linear infinite;
}
@keyframes sgLanternSway {
  0% { transform: rotate(-3deg); }
  100% { transform: rotate(3deg); }
}
@keyframes sgFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-6px) rotate(1deg); }
}
@keyframes sgSpin {
  100% { transform: rotate(360deg); }
}
.sg-nar .sg-envelope-names,.sg-nar .sg-hero-name,.sg-nar .sg-footer-names,.sg-nar .sg-full-name{font-family:'Aref Ruqaa','Amiri',serif}
.sg-hero-names-inner.is-long{top:60%}
.sg-hero-names-inner.is-long .sg-hero-name{font-size:clamp(22px,6vw,34px);line-height:1.2}
.sg-hero-name{overflow-wrap:anywhere}
