:root {
  --wp--preset--aspect-ratio--square: 1;
  --wp--preset--aspect-ratio--4-3: 4/3;
  --wp--preset--aspect-ratio--3-4: 3/4;
  --wp--preset--aspect-ratio--3-2: 3/2;
  --wp--preset--aspect-ratio--2-3: 2/3;
  --wp--preset--aspect-ratio--16-9: 16/9;
  --wp--preset--aspect-ratio--9-16: 9/16;
  --wp--preset--color--black: #000000;
  --wp--preset--color--cyan-bluish-gray: #abb8c3;
  --wp--preset--color--white: #ffffff;
  --wp--preset--color--pale-pink: #f78da7;
  --wp--preset--color--vivid-red: #cf2e2e;
  --wp--preset--color--luminous-vivid-orange: #ff6900;
  --wp--preset--color--luminous-vivid-amber: #fcb900;
  --wp--preset--color--light-green-cyan: #7bdcb5;
  --wp--preset--color--vivid-green-cyan: #00d084;
  --wp--preset--color--pale-cyan-blue: #8ed1fc;
  --wp--preset--color--vivid-cyan-blue: #0693e3;
  --wp--preset--color--vivid-purple: #9b51e0;
  --wp--preset--color--ast-global-color-0: var(--ast-global-color-0);
  --wp--preset--color--ast-global-color-1: var(--ast-global-color-1);
  --wp--preset--color--ast-global-color-2: var(--ast-global-color-2);
  --wp--preset--color--ast-global-color-3: var(--ast-global-color-3);
  --wp--preset--color--ast-global-color-4: var(--ast-global-color-4);
  --wp--preset--color--ast-global-color-5: var(--ast-global-color-5);
  --wp--preset--color--ast-global-color-6: var(--ast-global-color-6);
  --wp--preset--color--ast-global-color-7: var(--ast-global-color-7);
  --wp--preset--color--ast-global-color-8: var(--ast-global-color-8);
  --wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%);
  --wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg, rgb(122, 220, 180) 0%, rgb(0, 208, 130) 100%);
  --wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg, rgb(252, 185, 0) 0%, rgb(255, 105, 0) 100%);
  --wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg, rgb(255, 105, 0) 0%, rgb(207, 46, 46) 100%);
  --wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg, rgb(238, 238, 238) 0%, rgb(169, 184, 195) 100%);
  --wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg, rgb(74, 234, 220) 0%, rgb(151, 120, 209) 20%, rgb(207, 42, 186) 40%, rgb(238, 44, 130) 60%, rgb(251, 105, 98) 80%, rgb(254, 248, 76) 100%);
  --wp--preset--gradient--blush-light-purple: linear-gradient(135deg, rgb(255, 206, 236) 0%, rgb(152, 150, 240) 100%);
  --wp--preset--gradient--blush-bordeaux: linear-gradient(135deg, rgb(254, 205, 165) 0%, rgb(254, 45, 45) 50%, rgb(107, 0, 62) 100%);
  --wp--preset--gradient--luminous-dusk: linear-gradient(135deg, rgb(255, 203, 112) 0%, rgb(199, 81, 192) 50%, rgb(65, 88, 208) 100%);
  --wp--preset--gradient--pale-ocean: linear-gradient(135deg, rgb(255, 245, 203) 0%, rgb(182, 227, 212) 50%, rgb(51, 167, 181) 100%);
  --wp--preset--gradient--electric-grass: linear-gradient(135deg, rgb(202, 248, 128) 0%, rgb(113, 206, 126) 100%);
  --wp--preset--gradient--midnight: linear-gradient(135deg, rgb(2, 3, 129) 0%, rgb(40, 116, 252) 100%);
  --wp--preset--font-size--small: 13px;
  --wp--preset--font-size--medium: 20px;
  --wp--preset--font-size--large: 36px;
  --wp--preset--font-size--x-large: 42px;
  --wp--preset--spacing--20: 0.44rem;
  --wp--preset--spacing--30: 0.67rem;
  --wp--preset--spacing--40: 1rem;
  --wp--preset--spacing--50: 1.5rem;
  --wp--preset--spacing--60: 2.25rem;
  --wp--preset--spacing--70: 3.38rem;
  --wp--preset--spacing--80: 5.06rem;
  --wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);
  --wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);
  --wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);
  --wp--preset--shadow--outlined: 6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);
  --wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);
}
:root {
  --wp--style--global--content-size: var(--wp--custom--ast-content-width-size);
  --wp--style--global--wide-size: var(--wp--custom--ast-wide-width-size);
}
:where(body) {
  margin: 0;
}
.wp-site-blocks > .alignleft {
  float: left;
  margin-right: 2em;
}
.wp-site-blocks > .alignright {
  float: right;
  margin-left: 2em;
}
.wp-site-blocks > .aligncenter {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
:where(.wp-site-blocks) > * {
  margin-block-start: 24px;
  margin-block-end: 0;
}
:where(.wp-site-blocks) > :first-child {
  margin-block-start: 0;
}
:where(.wp-site-blocks) > :last-child {
  margin-block-end: 0;
}
:root {
  --wp--style--block-gap: 24px;
}
:root :where(.is-layout-flow) > :first-child {
  margin-block-start: 0;
}
:root :where(.is-layout-flow) > :last-child {
  margin-block-end: 0;
}
:root :where(.is-layout-flow) > * {
  margin-block-start: 24px;
  margin-block-end: 0;
}
:root :where(.is-layout-constrained) > :first-child {
  margin-block-start: 0;
}
:root :where(.is-layout-constrained) > :last-child {
  margin-block-end: 0;
}
:root :where(.is-layout-constrained) > * {
  margin-block-start: 24px;
  margin-block-end: 0;
}
:root :where(.is-layout-flex) {
  gap: 24px;
}
:root :where(.is-layout-grid) {
  gap: 24px;
}
.is-layout-flow > .alignleft {
  float: left;
  margin-inline-start: 0;
  margin-inline-end: 2em;
}
.is-layout-flow > .alignright {
  float: right;
  margin-inline-start: 2em;
  margin-inline-end: 0;
}
.is-layout-flow > .aligncenter {
  margin-left: auto !important;
  margin-right: auto !important;
}
.is-layout-constrained > .alignleft {
  float: left;
  margin-inline-start: 0;
  margin-inline-end: 2em;
}
.is-layout-constrained > .alignright {
  float: right;
  margin-inline-start: 2em;
  margin-inline-end: 0;
}
.is-layout-constrained > .aligncenter {
  margin-left: auto !important;
  margin-right: auto !important;
}
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: var(--wp--style--global--content-size);
  margin-left: auto !important;
  margin-right: auto !important;
}
.is-layout-constrained > .alignwide {
  max-width: var(--wp--style--global--wide-size);
}
body .is-layout-flex {
  display: flex;
}
.is-layout-flex {
  flex-wrap: wrap;
  align-items: center;
}
.is-layout-flex > :is(*, div) {
  margin: 0;
}
body .is-layout-grid {
  display: grid;
}
.is-layout-grid > :is(*, div) {
  margin: 0;
}
body {
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}
a:where(:not(.wp-element-button)) {
  text-decoration: none;
}
:root :where(.wp-element-button, .wp-block-button__link) {
  background-color: #32373c;
  border-width: 0;
  color: #fff;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  padding-top: calc(0.667em + 2px);
  padding-right: calc(1.333em + 2px);
  padding-bottom: calc(0.667em + 2px);
  padding-left: calc(1.333em + 2px);
  text-decoration: none;
  text-transform: inherit;
}
.has-black-color {
  color: var(--wp--preset--color--black) !important;
}
.has-cyan-bluish-gray-color {
  color: var(--wp--preset--color--cyan-bluish-gray) !important;
}
.has-white-color {
  color: var(--wp--preset--color--white) !important;
}
.has-pale-pink-color {
  color: var(--wp--preset--color--pale-pink) !important;
}
.has-vivid-red-color {
  color: var(--wp--preset--color--vivid-red) !important;
}
.has-luminous-vivid-orange-color {
  color: var(--wp--preset--color--luminous-vivid-orange) !important;
}
.has-luminous-vivid-amber-color {
  color: var(--wp--preset--color--luminous-vivid-amber) !important;
}
.has-light-green-cyan-color {
  color: var(--wp--preset--color--light-green-cyan) !important;
}
.has-vivid-green-cyan-color {
  color: var(--wp--preset--color--vivid-green-cyan) !important;
}
.has-pale-cyan-blue-color {
  color: var(--wp--preset--color--pale-cyan-blue) !important;
}
.has-vivid-cyan-blue-color {
  color: var(--wp--preset--color--vivid-cyan-blue) !important;
}
.has-vivid-purple-color {
  color: var(--wp--preset--color--vivid-purple) !important;
}
.has-ast-global-color-0-color {
  color: var(--wp--preset--color--ast-global-color-0) !important;
}
.has-ast-global-color-1-color {
  color: var(--wp--preset--color--ast-global-color-1) !important;
}
.has-ast-global-color-2-color {
  color: var(--wp--preset--color--ast-global-color-2) !important;
}
.has-ast-global-color-3-color {
  color: var(--wp--preset--color--ast-global-color-3) !important;
}
.has-ast-global-color-4-color {
  color: var(--wp--preset--color--ast-global-color-4) !important;
}
.has-ast-global-color-5-color {
  color: var(--wp--preset--color--ast-global-color-5) !important;
}
.has-ast-global-color-6-color {
  color: var(--wp--preset--color--ast-global-color-6) !important;
}
.has-ast-global-color-7-color {
  color: var(--wp--preset--color--ast-global-color-7) !important;
}
.has-ast-global-color-8-color {
  color: var(--wp--preset--color--ast-global-color-8) !important;
}
.has-black-background-color {
  background-color: var(--wp--preset--color--black) !important;
}
.has-cyan-bluish-gray-background-color {
  background-color: var(--wp--preset--color--cyan-bluish-gray) !important;
}
.has-white-background-color {
  background-color: var(--wp--preset--color--white) !important;
}
.has-pale-pink-background-color {
  background-color: var(--wp--preset--color--pale-pink) !important;
}
.has-vivid-red-background-color {
  background-color: var(--wp--preset--color--vivid-red) !important;
}
.has-luminous-vivid-orange-background-color {
  background-color: var(--wp--preset--color--luminous-vivid-orange) !important;
}
.has-luminous-vivid-amber-background-color {
  background-color: var(--wp--preset--color--luminous-vivid-amber) !important;
}
.has-light-green-cyan-background-color {
  background-color: var(--wp--preset--color--light-green-cyan) !important;
}
.has-vivid-green-cyan-background-color {
  background-color: var(--wp--preset--color--vivid-green-cyan) !important;
}
.has-pale-cyan-blue-background-color {
  background-color: var(--wp--preset--color--pale-cyan-blue) !important;
}
.has-vivid-cyan-blue-background-color {
  background-color: var(--wp--preset--color--vivid-cyan-blue) !important;
}
.has-vivid-purple-background-color {
  background-color: var(--wp--preset--color--vivid-purple) !important;
}
.has-ast-global-color-0-background-color {
  background-color: var(--wp--preset--color--ast-global-color-0) !important;
}
.has-ast-global-color-1-background-color {
  background-color: var(--wp--preset--color--ast-global-color-1) !important;
}
.has-ast-global-color-2-background-color {
  background-color: var(--wp--preset--color--ast-global-color-2) !important;
}
.has-ast-global-color-3-background-color {
  background-color: var(--wp--preset--color--ast-global-color-3) !important;
}
.has-ast-global-color-4-background-color {
  background-color: var(--wp--preset--color--ast-global-color-4) !important;
}
.has-ast-global-color-5-background-color {
  background-color: var(--wp--preset--color--ast-global-color-5) !important;
}
.has-ast-global-color-6-background-color {
  background-color: var(--wp--preset--color--ast-global-color-6) !important;
}
.has-ast-global-color-7-background-color {
  background-color: var(--wp--preset--color--ast-global-color-7) !important;
}
.has-ast-global-color-8-background-color {
  background-color: var(--wp--preset--color--ast-global-color-8) !important;
}
.has-black-border-color {
  border-color: var(--wp--preset--color--black) !important;
}
.has-cyan-bluish-gray-border-color {
  border-color: var(--wp--preset--color--cyan-bluish-gray) !important;
}
.has-white-border-color {
  border-color: var(--wp--preset--color--white) !important;
}
.has-pale-pink-border-color {
  border-color: var(--wp--preset--color--pale-pink) !important;
}
.has-vivid-red-border-color {
  border-color: var(--wp--preset--color--vivid-red) !important;
}
.has-luminous-vivid-orange-border-color {
  border-color: var(--wp--preset--color--luminous-vivid-orange) !important;
}
.has-luminous-vivid-amber-border-color {
  border-color: var(--wp--preset--color--luminous-vivid-amber) !important;
}
.has-light-green-cyan-border-color {
  border-color: var(--wp--preset--color--light-green-cyan) !important;
}
.has-vivid-green-cyan-border-color {
  border-color: var(--wp--preset--color--vivid-green-cyan) !important;
}
.has-pale-cyan-blue-border-color {
  border-color: var(--wp--preset--color--pale-cyan-blue) !important;
}
.has-vivid-cyan-blue-border-color {
  border-color: var(--wp--preset--color--vivid-cyan-blue) !important;
}
.has-vivid-purple-border-color {
  border-color: var(--wp--preset--color--vivid-purple) !important;
}
.has-ast-global-color-0-border-color {
  border-color: var(--wp--preset--color--ast-global-color-0) !important;
}
.has-ast-global-color-1-border-color {
  border-color: var(--wp--preset--color--ast-global-color-1) !important;
}
.has-ast-global-color-2-border-color {
  border-color: var(--wp--preset--color--ast-global-color-2) !important;
}
.has-ast-global-color-3-border-color {
  border-color: var(--wp--preset--color--ast-global-color-3) !important;
}
.has-ast-global-color-4-border-color {
  border-color: var(--wp--preset--color--ast-global-color-4) !important;
}
.has-ast-global-color-5-border-color {
  border-color: var(--wp--preset--color--ast-global-color-5) !important;
}
.has-ast-global-color-6-border-color {
  border-color: var(--wp--preset--color--ast-global-color-6) !important;
}
.has-ast-global-color-7-border-color {
  border-color: var(--wp--preset--color--ast-global-color-7) !important;
}
.has-ast-global-color-8-border-color {
  border-color: var(--wp--preset--color--ast-global-color-8) !important;
}
.has-vivid-cyan-blue-to-vivid-purple-gradient-background {
  background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;
}
.has-light-green-cyan-to-vivid-green-cyan-gradient-background {
  background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;
}
.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background {
  background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;
}
.has-luminous-vivid-orange-to-vivid-red-gradient-background {
  background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;
}
.has-very-light-gray-to-cyan-bluish-gray-gradient-background {
  background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;
}
.has-cool-to-warm-spectrum-gradient-background {
  background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;
}
.has-blush-light-purple-gradient-background {
  background: var(--wp--preset--gradient--blush-light-purple) !important;
}
.has-blush-bordeaux-gradient-background {
  background: var(--wp--preset--gradient--blush-bordeaux) !important;
}
.has-luminous-dusk-gradient-background {
  background: var(--wp--preset--gradient--luminous-dusk) !important;
}
.has-pale-ocean-gradient-background {
  background: var(--wp--preset--gradient--pale-ocean) !important;
}
.has-electric-grass-gradient-background {
  background: var(--wp--preset--gradient--electric-grass) !important;
}
.has-midnight-gradient-background {
  background: var(--wp--preset--gradient--midnight) !important;
}
.has-small-font-size {
  font-size: var(--wp--preset--font-size--small) !important;
}
.has-medium-font-size {
  font-size: var(--wp--preset--font-size--medium) !important;
}
.has-large-font-size {
  font-size: var(--wp--preset--font-size--large) !important;
}
.has-x-large-font-size {
  font-size: var(--wp--preset--font-size--x-large) !important;
}
:root :where(.wp-block-pullquote) {
  font-size: 1.5em;
  line-height: 1.6;
}

/* ===== AUDIO PLAYER FIXED ===== */
.audio-player-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.audio-toggle-btn {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.audio-toggle-btn i {
  font-size: 24px;
  width: auto;
  height: auto;
  display: inline-block;
}

.audio-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.1);
}

.audio-toggle-btn.playing {
  background: rgba(0, 0, 0, 0.8);
  animation: pulse-audio 1.5s infinite;
}

@keyframes pulse-audio {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(0, 0, 0, 0);
  }
}

/* ===== GALLERY ===== */
.gallery-wrapper {
  max-width: 100%;
  margin: 24px auto 0;
  padding: 0 12px;
}
.gallery-main {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 12px;
  overflow: hidden;
}
.gallery-main .swiper-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
}
.gallery-thumbs {
  width: 100%;
  height: 72px;
  padding: 0 4px;
}
.gallery-thumbs .swiper-slide {
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s;
  border-radius: 6px;
  overflow: hidden;
}
.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}
.gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Navigation arrows */
.gallery-main .swiper-button-next,
.gallery-main .swiper-button-prev {
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: background 0.3s;
}
.gallery-main .swiper-button-next:hover,
.gallery-main .swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.6);
}
.gallery-main .swiper-button-next::after,
.gallery-main .swiper-button-prev::after {
  font-size: 16px;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 767px) {
  .gallery-thumbs {
    height: 56px;
  }
  .gallery-main .swiper-slide img {
    aspect-ratio: 3/4;
  }
}

/* ===== RSVP FORM STYLE ===== */
.rsvp-form-wrapper {
  max-width: 480px;
  margin: 20px auto 0;
  padding: 0 12px;
}

.rsvp-form-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Label */
.rsvp-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
  font-family: inherit;
}

/* Input text */
.rsvp-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d4c5b2;
  border-radius: 8px;
  font-size: 14px;
  color: #3e2f1c;
  background: #fefcf8;
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  box-sizing: border-box;
  font-family: inherit;
}

.rsvp-input:focus {
  border-color: #8b6f47;
  box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.12);
}

.rsvp-input::placeholder {
  color: #bfae96;
}

/* Select wrapper + arrow */
.rsvp-select-wrap {
  position: relative;
}

.rsvp-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #8b6f47;
  pointer-events: none;
}

/* Select */
.rsvp-select {
  width: 100%;
  padding: 12px 36px 12px 14px;
  border: 1px solid #d4c5b2;
  border-radius: 8px;
  font-size: 14px;
  color: #3e2f1c;
  background: #fefcf8;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  box-sizing: border-box;
  font-family: inherit;
}

.rsvp-select:focus {
  border-color: #8b6f47;
  box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.12);
}

.rsvp-select option[disabled] {
  color: #bfae96;
}

/* Submit wrapper */
.rsvp-submit-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

/* Submit button */
.rsvp-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  background: #8b6f47;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition:
    background 0.3s,
    transform 0.3s;
  font-family: inherit;
}

.rsvp-submit-btn:hover {
  background: #6b5233;
  transform: translateY(-1px);
}

.rsvp-submit-btn:active {
  transform: scale(0.96);
}

.rsvp-btn-icon {
  display: flex;
  align-items: center;
}

/* Message box */
.rsvp-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}

.rsvp-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.rsvp-message.error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Animasi fadeInUp untuk form */
.rsvp-form-wrapper {
  animation: rsvpFadeIn 0.6s ease forwards;
}

@keyframes rsvpFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus state biar form aktif terlihat */
.wishes-form .cui-input:focus,
.wishes-form .cui-textarea:focus,
.wishes-form .cui-select:focus {
  outline: none;
  border-color: #8b6f47 !important;
  box-shadow: 0 0 0 2px rgba(139, 111, 71, 0.15);
}

/* Item ucapan */
.wishes-item {
  padding: 14px 0;
  border-bottom: 1px solid #e8ddd0;
}

.wishes-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.wishes-name {
  font-weight: 600;
  font-size: 14px;
  color: #4a3724;
}

.wishes-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  color: #fff;
  font-weight: 500;
}

.wishes-badge.hadir {
  background: #3d9a62;
}
.wishes-badge.tidak-hadir {
  background: #d90a11;
}
.wishes-badge.masih-ragu {
  background: #d7a916;
}

.wishes-text {
  font-size: 14px;
  color: #5c4b3c;
  line-height: 1.5;
  margin: 0;
}

.wishes-empty {
  text-align: center;
  padding: 30px 0;
  color: #b5a28e;
  font-size: 14px;
}

/* Toast popup - fixed di tengah layar */
/* =========================
   RSVP TOAST PREMIUM
========================= */

.rsvp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 9998;
  animation: overlayIn 0.3s ease;
}

.rsvp-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: 9999;

  min-width: 340px;
  max-width: 92vw;

  padding: 32px 28px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  text-align: center;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;

  background: linear-gradient(180deg, #fdfbf7 0%, #f8f3ea 100%);

  border: 3px solid #c5a35f;
  border-radius: 24px;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);

  animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Frame dekoratif */
.rsvp-toast::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(197, 163, 95, 0.4);
  border-radius: 16px;
  pointer-events: none;
}

/* SUCCESS */
.rsvp-toast.success {
  color: #2f6b3a;
}

/* ERROR */
.rsvp-toast.error {
  color: #b3261e;
}

/* ICON */
.rsvp-toast .toast-icon {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 4px;
}

/* Animasi masuk */
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.75);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Animasi keluar */
@keyframes toastOut {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.75);
  }
}

/* Overlay */
@keyframes overlayIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .rsvp-toast {
    min-width: unset;
    width: calc(100vw - 32px);

    padding: 28px 22px;

    font-size: 16px;
  }

  .rsvp-toast .toast-icon {
    font-size: 46px;
  }
}

/* ===== INSTAGRAM CARD ===== */
.ig-swiper .swiper-slide {
  width: 100% !important;
}

.ig-swiper .swiper-wrapper {
  width: 100% !important;
}

.ig-card {
  width: 100%;
  max-width: 440px;
  margin: 24px auto 0;
  background: #fefcf8;
  border: 1px solid #d4c5b2;
  border-radius: 14px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

/* ===== INSTAGRAM CARD ===== */
.ig-swiper .swiper-slide {
  width: 100% !important;
}
.ig-swiper .swiper-wrapper {
  width: 100% !important;
}

.ig-card {
  width: 100%;
  max-width: 440px;
  margin: 24px auto 0;
  background: #fefcf8;
  border: 1px solid #d4c5b2;
  border-radius: 14px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

/* HEADER */
.ig-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}
.ig-header-info {
  flex: 1;
  min-width: 0;
}
.ig-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.ig-username {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: #262626;
  line-height: 1.2;
}
.ig-location {
  display: block;
  font-size: 10px;
  color: #8e8e8e;
  line-height: 1.2;
}
.ig-header-dots {
  flex-shrink: 0;
  cursor: pointer;
  color: #262626;
}

/* PHOTO */
.ig-photo {
  position: relative;
  background: #f0ebe0;
}
.ig-swiper {
  width: 100%;
}
.ig-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.ig-swiper .swiper-pagination-bullet-active {
  background: #fff;
}
.ig-nav {
  color: #fff !important;
  background: rgba(0, 0, 0, 0.3);
  width: 28px !important;
  height: 28px !important;
  border-radius: 50%;
}
.ig-nav::after {
  font-size: 12px !important;
}

/* ACTIONS */
.ig-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
}
.ig-actions-left {
  display: flex;
  gap: 16px;
  align-items: center;
}
.ig-action-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ig-count {
  font-size: 13px;
  font-weight: 600;
  color: #262626;
}
.ig-icon {
  cursor: pointer;
  color: #262626;
  transition:
    transform 0.2s,
    color 0.2s;
}
.ig-icon:hover {
  transform: scale(1.1);
}
.ig-icon.liked {
  color: #e02b40;
  fill: #e02b40;
}

/* CAPTION */
.ig-caption {
  padding: 0 14px 8px;
  font-size: 13px;
  color: #262626;
  line-height: 1.4;
}
.ig-caption-user {
  font-weight: 600;
  margin-right: 6px;
}

/* VIEW ALL */
.ig-view-all {
  padding: 0 14px 8px;
  font-size: 13px;
  color: #8e8e8e;
  cursor: pointer;
}

/* KOMENTAR */
.ig-comments {
  max-height: 280px;
  overflow-y: auto;
  padding: 0 14px 8px;
}
.ig-comment-item {
  margin-bottom: 10px;
}
.ig-comment-main {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.ig-comment-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden; /* Penting: memotong foto yang kelebihan */
  background: #c5a35f;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.ig-comment-body {
  flex: 1;
  min-width: 0;
}
.ig-comment-name {
  font-weight: 600;
  font-size: 12px;
  color: #262626;
}
.ig-comment-status {
  font-size: 11px;
  font-weight: 500;
  margin-left: 4px;
}
.ig-comment-status.hadir {
  color: #3d9a62;
}
.ig-comment-status.tidak-hadir {
  color: #d90a11;
}
.ig-comment-text {
  font-size: 13px;
  color: #262626;
  line-height: 1.35;
  margin: 2px 0 3px;
}
.ig-comment-meta {
  font-size: 11px;
  color: #8e8e8e;
  display: flex;
  gap: 12px;
  align-items: center;
}
.ig-comment-reply-btn {
  cursor: pointer;
  font-weight: 600;
  color: #8e8e8e;
  background: none;
  border: none;
  padding: 0;
  font-size: 11px;
}
.ig-comment-reply-btn:hover {
  color: rgb(255, 255, 255);
}

/* REPLIES */
.ig-replies {
  margin-left: 36px;
  margin-top: 6px;
  border-left: 2px solid #e0d6c8;
  padding-left: 12px;
}
.ig-reply-item {
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.ig-reply-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden; /* Penting: memotong foto yang kelebihan */
  background: #c5a35f;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.ig-reply-body {
  flex: 1;
  min-width: 0;
}
.ig-reply-header {
  display: flex;
  align-items: center;
  /* gap: 6px; */
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.ig-reply-name {
  font-weight: 600;
  font-size: 12px;
  color: #262626;
}
.ig-reply-text {
  font-size: 13px;
  color: #262626;
  line-height: 1.35;
  margin: 2px 0 4px;
}
.ig-reply-meta {
  font-size: 10px;
  color: #8e8e8e;
  margin-top: 2px;
}

/* Status kehadiran untuk reply */
.ig-reply-header .ig-comment-status {
  font-size: 10px;
  font-weight: 500;
}
.ig-reply-header .ig-comment-status.hadir {
  color: #2e7d32;
}
.ig-reply-header .ig-comment-status.tidak-hadir {
  color: #c62828;
}

/* REPLY FORM */
.ig-reply-form {
  margin-left: 36px;
  margin-top: 4px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ig-reply-form input {
  flex: 1;
  min-width: 60px;
  padding: 6px 10px;
  border: 1px solid #d4c5b2;
  border-radius: 20px;
  font-size: 11px;
  outline: none;
  background: #fefcf8;
}
.ig-reply-form button {
  padding: 5px 12px;
  border: none;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.ig-reply-submit {
  background: #c5a35f;
  color: #fff;
}
.ig-reply-cancel {
  background: #e8ddd0;
  color: #5c4b3c;
}

/* TIME */
.ig-time {
  padding: 6px 14px 10px;
  font-size: 11px;
  color: #8e8e8e;
  text-transform: uppercase;
}

/* EMPTY */
.ig-empty {
  text-align: center;
  color: #bfae96;
  font-size: 13px;
  padding: 30px 0;
}

/* SCROLLBAR */
.ig-comments::-webkit-scrollbar {
  width: 4px;
}
.ig-comments::-webkit-scrollbar-track {
  background: transparent;
}
.ig-comments::-webkit-scrollbar-thumb {
  background: #d4c5b2;
  border-radius: 4px;
}

/* ADD COMMENT */
#ig-add-comment a {
  text-decoration: none;
}
#ig-add-comment a:hover {
  text-decoration: underline;
}
#ig-add-comment .ig-comment-input {
  flex: 1;
  border: 1px solid #d4c5b2;
  outline: none;
  font-size: 13px;
  background: transparent;
  color: #262626;
}
#ig-add-comment .ig-comment-input::placeholder {
  color: #bfae96;
}
#ig-add-comment .ig-comment-post {
  border: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  cursor: default;
  transition: color 0.2s;
}
#ig-add-comment .ig-comment-post.active {
  color: #c5a35f;
  cursor: pointer;
}

/* Z-INDEX */
.ig-comments,
.ig-comments *,
.ig-add-comment,
.ig-add-comment * {
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
}
.ig-comment-reply-btn,
.ig-reply-submit,
.ig-reply-cancel,
.ig-comment-post {
  pointer-events: auto !important;
  position: relative;
  z-index: 20;
}

/* ============================================
   SLIDESHOW BACKGROUND - PERBAIKAN
   ============================================ */

/* Container slideshow */
.section-bg-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

/* Setiap slide item - TRANSISI DIATUR DI CSS */
.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* ★ INI YANG PENTING ★ */
  /* Durasi 1.5 detik, easing smooth */
  transition:
    opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 10s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  opacity: 0; /* State awal: tersembunyi */
  z-index: 0;
  transform: scale(1);
}

/* ★ STATE AKTIF (foto muncul) ★ */
.slide-item.active {
  opacity: 1; /* State akhir: terlihat */
  z-index: 2; /* Di atas foto lain */
  transform: scale(1.05); /* Zoom pelan efek dramatis */
}

/* ★ STATE KELUAR (foto menghilang) ★ */
.slide-item.slide-out {
  opacity: 0; /* State akhir: tersembunyi */
  z-index: 1; /* Di bawah foto aktif */
  transform: scale(1.08); /* Zoom keluar */
}

/* Overlay gradasi di atas slideshow */
.slideshow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

/* ============================================
   PARTIKEL SALJU/KILAU
   ============================================ */

.snow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.snowflake {
  position: absolute;
  top: -20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  opacity: 0;
  animation: snowFall linear infinite;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  user-select: none;
}

.snowflake.size-sm {
  font-size: 10px;
  opacity: 0.4;
}

.snowflake.size-md {
  font-size: 16px;
  opacity: 0.6;
}

.snowflake.size-lg {
  font-size: 22px;
  opacity: 0.8;
}

@keyframes snowFall {
  0% {
    transform: translateY(-20px) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(calc(100vh + 50px)) rotate(720deg) scale(1.2);
    opacity: 0;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .slide-item {
    transition:
      opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .slide-item.active {
    transform: scale(1.03);
  }

  .snowflake.size-lg {
    font-size: 16px;
  }

  .snowflake.size-md {
    font-size: 12px;
  }

  .snowflake.size-sm {
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  .slideshow-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.8) 100%);
  }
}

.ig-comment-avatar img,
.ig-reply-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ← INI KUNCI! biar ga dikrop */
  object-position: center;
  display: block;
  border-radius: 50%; /* biar foto bulat */
}

.ig-comment-avatar .avatar-text,
.ig-reply-avatar .avatar-text {
  font-size: inherit;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.ig-comment-avatar:hover img,
.ig-reply-avatar:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.ig-comment-status.pengantin {
  color: #c5a35f; /* Warna emas/theme */
  font-weight: 600;
}
