/*
 * Template 7 – Refined Luxury Editorial
 * ws-wedding-invitations
 * ─────────────────────────────────────────────────────────────────
 */

/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
  --gold:         #c9a96e;
  --gold-light:   #e8d5b0;
  --gold-dark:    #9a7a45;
  --cream:        #faf8f3;
  --cream-dark:   #f2ede0;
  --ink:          #1a1713;
  --ink-muted:    #6b6355;
  --ink-faint:    #a09580;
  --white:        #ffffff;
  --section-gap:  2.5rem;
}

/* ── RESET / BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Prevent scroll when modal/lightbox is open */
html.ws-lightbox-open,
html.ws-modal-open { overflow: hidden; }

/* ── FLOATING PETAL BG ───────────────────────────────────────── */
#bg-petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.petal {
  position: absolute;
  width: 6px;
  height: 12px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0;
  animation: wsPetalFall linear infinite;
}

@keyframes wsPetalFall {
  0%   { transform: translateY(-20px) rotate(0deg);   opacity: 0.75; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ── INVITATION WRAPPER ──────────────────────────────────────── */
#invitation-content {
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

#invitation-content.visible { opacity: 1; }

/* ── SCROLL-TRIGGERED ANIMATIONS ─────────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-up"] {
  transform: translateY(22px) scale(0.985);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0) scale(1);
}

/* ── SECTION BASE ─────────────────────────────────────────────── */
.ws-section {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.75rem;
  background: var(--white);
  overflow: hidden;
}

.ws-section--ornate {
  --ws-ornate-shift: 0px;
}

.ws-section--ornate::before,
.ws-section--ornate::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.35s ease-out;
}

.ws-section--ornate::before {
  width: 240px;
  height: 240px;
  top: -80px;
  left: -70px;
  opacity: 0.2;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 30%, rgba(201, 169, 110, 0.28), transparent 62%),
    radial-gradient(circle at 62% 58%, rgba(232, 213, 176, 0.24), transparent 66%);
  transform: translateY(calc(var(--ws-ornate-shift) * 0.25));
}

.ws-section--ornate::after {
  width: 180px;
  height: 180px;
  right: -42px;
  bottom: -48px;
  opacity: 0.16;
  background:
    radial-gradient(ellipse at center, rgba(154, 122, 69, 0.24), transparent 68%),
    conic-gradient(from 180deg at 50% 50%, rgba(201, 169, 110, 0.22), transparent 38%, rgba(201, 169, 110, 0.18) 64%, transparent 85%);
  border-radius: 48% 52% 56% 44% / 42% 58% 42% 58%;
  transform: rotate(-12deg) translateY(calc(var(--ws-ornate-shift) * -0.16));
}

.ws-section--ornate > * {
  position: relative;
  z-index: 1;
}

/* ── TYPOGRAPHY HELPERS ──────────────────────────────────────── */
.section-eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-align: center;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1.2rem 0;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: linear-gradient(to right, transparent, var(--gold-light), transparent);
}

.ornament-symbol { font-size: 13px; color: var(--gold); }

/* ════════════════════════════════════════════════════════════════
   ENVELOPE SCENE
   ════════════════════════════════════════════════════════════════ */
#envelope-scene {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a1410 0%, #2e2318 50%, #1a1410 100%);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#envelope-scene.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
}

.env-inner {
  text-align: center;
  padding: 2rem;
  max-width: 360px;
  width: 100%;
}

.env-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.env-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

.env-icon svg { width: 100%; height: 100%; }

.env-subtitle {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.env-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 8vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.env-amp {
  font-style: italic;
  color: var(--gold);
  display: block;
  font-size: 0.8em;
  margin: 0.1em 0;
}

.env-date {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin: 1.2rem 0 2rem;
}

.env-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.2rem auto;
  max-width: 200px;
}

.env-divider::before,
.env-divider::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--gold-dark);
}

.env-divider-icon { color: var(--gold); font-size: 14px; }

.env-guest-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.4rem;
}

.env-guest-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 2rem;
}

#open-envelope {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 14px 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

#open-envelope::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

#open-envelope:hover              { color: var(--ink); }
#open-envelope:hover::before      { transform: translateX(0); }

.env-hint {
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════════════════════════════
   COVER / HERO SECTION  (general-section.php)
   ════════════════════════════════════════════════════════════════ */
.cover-section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: none;
}

.cover-section::before,
.cover-section::after {
  display: none;
}

.cover-mythic {
  position: absolute;
  inset: 3.8rem 50% auto;
  transform: translateX(-50%);
  width: min(92vw, 480px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  filter: sepia(38%) saturate(112%) hue-rotate(350deg);
  animation: wsMythicFloat 8.5s ease-in-out infinite;
}

.cover-mythic img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes wsMythicFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-10px); }
}

.cover-content {
  position: relative;
  z-index: 1;
  width: min(100%, 860px);
}

.cover-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0.55rem;
}

.cover-lead {
  max-width: 520px;
  margin: 0 auto 0.7rem;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.8;
}

.cover-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 2.5rem;
}

.cover-badge::before,
.cover-badge::after {
  content: '';
  width: 28px;
  height: 0.5px;
  background: var(--gold-dark);
}

.cover-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  letter-spacing: 0.02em;
}

.cover-amp {
  display: block;
  font-style: italic;
  font-size: 0.5em;
  color: var(--gold);
  margin: 0.3em 0;
  font-weight: 400;
}

.cover-date-line {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin: 1.25rem 0 1.5rem;
}

.cover-couple-grid {
  margin-top: 1.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.cover-couple-card {
  padding: 0.9rem 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 0.5px solid rgba(201, 169, 110, 0.32);
  box-shadow: 0 14px 32px rgba(180, 145, 80, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cover-couple-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(180, 145, 80, 0.12);
}

.cover-couple-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.3);
  margin-bottom: 0.8rem;
}

.cover-couple-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

.cover-couple-card:hover .cover-couple-frame img {
  transform: scale(1.06);
}

.cover-couple-role {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.3rem;
}

.cover-couple-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 3.8vw, 1.5rem);
  color: var(--ink);
  font-weight: 500;
}

.cover-floral {
  position: absolute;
  width: 180px;
  height: 180px;
  pointer-events: none;
  opacity: 0.72;
  z-index: 1;
}

.cover-floral svg {
  width: 100%;
  height: 100%;
}

.cover-floral--tl {
  top: 0;
  left: 0;
  transform: translate(-26%, -20%);
}

.cover-floral--br {
  right: 0;
  bottom: 0;
  transform: translate(26%, 20%);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: wsScrollPulse 2s ease-in-out infinite;
}

@keyframes wsScrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1); }
}

.scroll-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* ════════════════════════════════════════════════════════════════
   EVENT / CEREMONY SECTION  (event-section.php)
   ════════════════════════════════════════════════════════════════ */
.family-block {
  text-align: center;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
  border-bottom: 0.5px solid var(--gold-light);
}

.family-role {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.3rem;
}

.family-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
}

.family-amp {
  font-size: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  margin: 0.3rem 0;
}

.parents-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 1rem;
  margin-top: 1.5rem;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.9;
}

.parents-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}

.parents-divider {
  width: 0.5px;
  background: var(--gold-light);
  align-self: stretch;
}

.event-card {
  padding: 1.5rem 0;
  border-bottom: 0.5px solid rgba(201, 169, 110, 0.2);
}

.event-card:last-child { border-bottom: none; }

.event-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201, 169, 110, 0.12);
  padding: 3px 10px;
  margin-bottom: 0.8rem;
}

.event-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.event-datetime,
.event-place {
  font-size: 13px;
  color: var(--ink-muted);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 0.4rem;
}

.event-icon-sm {
  width: 14px;
  height: 14px;
  stroke: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-calendar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.8rem;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 0.5px solid var(--gold);
  padding: 8px 20px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-calendar:hover {
  background: var(--gold);
  color: var(--white);
}

/* Map */
.map-section {
  background: var(--white);
  padding-block: 0;
  overflow: hidden;
  border: none;
}

.map-section-inner {
  padding: 1.5rem 1.75rem 0;
  padding-left: 0;
}

.map-frame {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
  margin-top: 1rem;
  filter: grayscale(20%) sepia(10%);
}

/* ════════════════════════════════════════════════════════════════
   COUNTDOWN SECTION  (calendar-section.php)
   ════════════════════════════════════════════════════════════════ */
.countdown-section {
  background: var(--white);
  color: var(--ink);
  text-align: center;
}

.countdown-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 0;
}

.countdown-unit {
  flex: 1;
  max-width: 90px;
  position: relative;
}

.countdown-unit + .countdown-unit::before {
  content: ':';
  position: absolute;
  left: 0;
  top: 10px;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

/* Number box per unit – cream bg, gold border */
.countdown-num-wrap {
  display: inline-block;
  background: var(--cream-dark);
  border: 0.5px solid rgba(201, 169, 110, 0.35);
  padding: 0.5rem 0.25rem 0.4rem;
  min-width: 56px;
  margin-bottom: 0.5rem;
}

.countdown-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}

.countdown-unit-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.25rem;
}

.btn-rsvp {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 14px 48px;
  background: transparent;
  color: var(--gold-dark);
  border: 0.5px solid var(--gold);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-rsvp:hover    { background: var(--gold); color: var(--ink); }
.btn-rsvp:disabled { opacity: 0.7; cursor: default; }

/* ════════════════════════════════════════════════════════════════
   TIMELINE  (timeline-section.php)
   ════════════════════════════════════════════════════════════════ */
.ws-timeline-love { overflow: hidden; }

.ws-timeline-love--has-bg {
  background-image: var(--ws-timeline-bg, none);
  background-size: cover;
  background-position: center;
  position: relative;
}

.ws-timeline-love--has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
}

.ws-timeline-love--has-bg > * { position: relative; z-index: 1; }

.timeline-list {
  list-style: none;
  position: relative;
  padding-left: 2rem;
  margin-top: 1.5rem;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 0.5px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--gold-light) 20%,
    var(--gold-light) 80%,
    transparent
  );
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 15px;
  height: 15px;
  border: 1px solid var(--gold);
  background: var(--white);
  transform: rotate(45deg);
}

.timeline-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--gold);
}

.timeline-date {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}

.timeline-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.timeline-desc {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════
   ALBUM  (album-section.php)
   ════════════════════════════════════════════════════════════════ */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 1.5rem;
}

.album-grid--single { grid-template-columns: 1fr; }

.album-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-dark);
  border: none;
  padding: 0;
}

.album-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.album-item:hover img { transform: scale(1.06); }

.album-more {
  position: absolute;
  inset: 0;
  background: rgba(26, 23, 19, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--white);
  pointer-events: none;
}

/* Lightbox */
.ws-album-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, 0.95);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
}

.ws-album-lightbox[hidden] { display: none; }

.ws-album-lightbox__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: calc(100vw - 120px);
}

.ws-album-lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.ws-album-lightbox__caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold-light);
  text-align: center;
  min-height: 1.4rem;
}

.ws-album-lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  line-height: 1;
  transition: opacity 0.2s;
  z-index: 1;
}

.ws-album-lightbox__close:hover { opacity: 1; }

.ws-album-lightbox__nav {
  background: none;
  border: 0.5px solid rgba(201, 169, 110, 0.35);
  color: var(--gold);
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.ws-album-lightbox__nav:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ════════════════════════════════════════════════════════════════
   GUESTBOOK  (guestbook-section.php)
   ════════════════════════════════════════════════════════════════ */
.guestbook-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  max-height: clamp(260px, 46vh, 420px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 110, 0.65) transparent;
}

.guestbook-list::-webkit-scrollbar {
  width: 6px;
}

.guestbook-list::-webkit-scrollbar-track {
  background: transparent;
}

.guestbook-list::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 110, 0.65);
  border-radius: 999px;
}

.guestbook-list::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 169, 110, 0.85);
}

.guestbook-entry {
  padding: 1.2rem 1.5rem;
  background: var(--cream);
  border-left: 2px solid var(--gold);
}

.guestbook-author {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold-dark);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.guestbook-msg {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-muted);
  line-height: 1.7;
}

.guestbook-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.guestbook-form input,
.guestbook-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 0.5px solid rgba(201, 169, 110, 0.4);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  resize: none;
  border-radius: 0;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
}

.guestbook-form input:focus,
.guestbook-form textarea:focus { border-color: var(--gold); }

.guestbook-form input::placeholder,
.guestbook-form textarea::placeholder { color: var(--ink-faint); font-size: 13px; }

.guestbook-form__feedback {
  font-size: 12px;
  color: var(--ink-muted);
  padding: 0.4rem 0;
}

.btn-submit {
  background: transparent;
  border: 0.5px solid var(--gold);
  color: var(--gold-dark);
  padding: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-submit:hover { background: var(--gold); color: var(--ink); }

/* ════════════════════════════════════════════════════════════════
   GIFT / QR  (gift-section.php)
   ════════════════════════════════════════════════════════════════ */
.gift-text {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: center;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.qr-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 0.5px solid var(--gold-light);
  background: var(--cream);
}

.qr-img-wrap { margin-bottom: 0.8rem; }

.qr-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.qr-bank {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.25rem;
}

.qr-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.qr-name { font-size: 12px; color: var(--ink-muted); }

.qr-empty {
  text-align: center;
  font-size: 13px;
  color: var(--ink-faint);
  padding: 2rem 0;
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════════════════════════════
   FINAL SECTION  (gift-section.php)
   ════════════════════════════════════════════════════════════════ */
.final-section {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border: 0.5px solid rgba(201, 169, 110, 0.25);
}

.final-thanks {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 5vw, 1.75rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.final-message {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.8;
  max-width: 280px;
  margin: 0 auto 2rem;
}

.site-footer-credit {
  padding-top: 1.5rem;
  border-top: 0.5px solid rgba(201, 169, 110, 0.2);
}

.footer-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100px;
  margin: 0 auto 0.75rem;
}

.footer-divider__line {
  flex: 1;
  height: 0.5px;
  background: rgba(201, 169, 110, 0.3);
}

.footer-divider__icon {
  font-size: 10px;
  color: var(--gold);
}

.site-footer-credit a {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-faint);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.site-footer-credit a:hover { color: var(--gold-dark); }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .ws-section {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    padding: 2rem 1.25rem;
  }

  .map-section {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .countdown-unit    { max-width: 72px; }
  .countdown-num     { font-size: 2rem; }
  .countdown-num-wrap { min-width: 44px; padding: 0.4rem 0.15rem; }

  .ws-album-lightbox__stage { max-width: calc(100vw - 80px); }
  .ws-album-lightbox__nav   { width: 36px; height: 36px; font-size: 1.5rem; }
}