:root {
  --black: #050404;
  --wine: #4b1720;
  --wine2: #6d2632;
  --bone: #d5c7aa;
  --bone2: #eee2c7;
  --olive: #555737;
  --olive2: #73734b;
  --muted: #a09478;
  --line: rgba(213, 199, 170, 0.25);
  --shadow: rgba(0, 0, 0, 0.72);
  --danger: #9d3944;
  --max: 1180px;
  --radius: 24px;
}

/* RESET */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* BODY */
body {
  margin: 0;
  min-height: 100vh;
  color: var(--bone);
  font-family: Georgia, 'Times New Roman', serif;

  background:
    radial-gradient(circle at 80% 5%, rgba(109, 38, 50, 0.25), transparent 28%),
    radial-gradient(circle at 15% 20%, rgba(85, 87, 55, 0.22), transparent 26%),
    linear-gradient(180deg, #020202 0%, #0b0909 45%, #050404 100%);
}

/* GRID TEXTURE */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);

  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.18));
  z-index: 0;
}

/* WRAPPER */
.page {
  position: relative;
  z-index: 1;
}

/* POSTER */
.poster-section {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.poster-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 28px 90px var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset;
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(213, 199, 170, 0.28);
  border-radius: 12px;
  pointer-events: none;
}

.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* SECTIONS */
.section {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 56px 0;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: stretch;
}

/* CARD */
.card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(15, 12, 12, 0.94), rgba(28, 18, 20, 0.82));
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px var(--shadow);
  backdrop-filter: blur(6px);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(213, 199, 170, 0.09),
    transparent 35%,
    rgba(109, 38, 50, 0.11)
  );
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

/* MOLDURA DECORATIVA */
.ornamental-frame {
  border: 1px solid rgba(213, 199, 170, 0.28);
  box-shadow:
    0 18px 60px var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset;
}

.ornamental-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(213, 199, 170, 0.11);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
  z-index: 1;
}

.center-card {
  text-align: center;
}

/* TEXT */
.eyebrow {
  margin: 0 0 14px;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

h2,
h3 {
  margin: 0;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
  color: var(--bone2);
}

h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  margin-bottom: 12px;
}

h3 {
  font-size: 24px;
}

.lead {
  font-size: 21px;
  margin-top: 18px;
  color: rgba(238, 226, 199, 0.84);
}

p {
  font-size: 18px;
  margin-top: 18px;
  color: rgba(238, 226, 199, 0.84);
  line-height: 1.7;
}

.section p {
  max-width: 760px;
}

/* META INFO */
.meta-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.meta-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(213, 199, 170, 0.16);
}

.meta-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(75, 23, 32, 0.42);
  border: 1px solid rgba(213, 199, 170, 0.24);
}

.meta-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
  color: var(--bone2);
}

.meta-item span {
  color: rgba(238, 226, 199, 0.74);
  line-height: 1.45;
}

/* COUNTDOWN */
.countdown-clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  padding: 20px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(85, 87, 55, 0.26), rgba(75, 23, 32, 0.22));
  border: 1px solid rgba(213, 199, 170, 0.24);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(28px, 4vw, 52px);
  color: var(--bone2);
  white-space: nowrap;
}

.countdown-clock small {
  font-size: 0.45em;
  color: var(--muted);
}

/* FORM */
.form-card {
  margin-top: 24px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(213, 199, 170, 0.22);
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--bone2);
}

input,
select {
  width: 100%;
  height: 52px;
  margin-bottom: 16px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(213, 199, 170, 0.26);
  background: rgba(0, 0, 0, 0.42);
  color: var(--bone2);
  font-size: 17px;
  outline: none;
  font-family: inherit;
}

input:focus,
select:focus {
  border-color: rgba(213, 199, 170, 0.62);
  box-shadow: 0 0 0 4px rgba(213, 199, 170, 0.08);
}

select option {
  background-color: #eeeeee;
  color: #111111;
}

select option:checked {
  background-color: var(--wine);
  color: #ffffff;
}

.input-error {
  border-color: #b34a4a !important;
  box-shadow: 0 0 0 2px rgba(179, 74, 74, 0.25);
}

/* BUTTONS */
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: auto;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wine), var(--wine2));
  border: 1px solid rgba(213, 199, 170, 0.3);
  color: var(--bone2);
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
}

.btn.secondary {
  background: linear-gradient(135deg, var(--olive), var(--olive2));
}

.btn.green {
  background: linear-gradient(135deg, #48512f, var(--olive2));
}

.btn:hover {
  filter: brightness(1.1);
}

/* NOTICE */
.notice {
  display: none;
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(238, 226, 199, 0.9);
  line-height: 1.55;
}

.notice.show {
  display: block;
}

.notice.error {
  background: rgba(157, 57, 68, 0.12);
  border: 1px solid rgba(157, 57, 68, 0.55);
}

.notice.success {
  background: rgba(124, 139, 84, 0.12);
  border: 1px solid rgba(124, 139, 84, 0.55);
}

.rsvp-success-box {
  margin-top: 24px;
  padding: 24px;
}

/* Botão do grupo de WhatsApp no RSVP — versão discreta */
.hw-whatsapp-row {
  margin-top: 12px;
}

.hw-whatsapp-btn {
  background:
    linear-gradient(180deg, rgba(213, 199, 170, 0.14), rgba(213, 199, 170, 0.22)) !important;
  border: 1px solid rgba(213, 199, 170, 0.34) !important;
  color: var(--bone2) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 22px rgba(0, 0, 0, 0.20);
}

.hw-whatsapp-btn:hover {
  background:
    linear-gradient(80deg, rgba(213, 199, 170, 0.22), rgba(213, 199, 170, 0.32)) !important;
  color: var(--bone2) !important;
  filter: brightness(1.08);
}

/* PRESENTES */
.gift-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
  text-decoration: none;
}

.gift-item {
  min-height: 210px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(213, 199, 170, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.2s;
}

.gift-preview:hover .gift-item {
  border-color: rgba(213, 199, 170, 0.42);
}

.gift-item:hover {
  transform: translateY(-3px);
}

.gift-emoji {
  font-size: 42px;
}

.gift-item strong {
  color: var(--bone2);
  font-size: 19px;
  display: block;
  margin-bottom: 6px;
}

.gift-item span {
  color: rgba(238, 226, 199, 0.68);
  line-height: 1.45;
}

/* FAQ */
.faq-list {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(213, 199, 170, 0.18);
}

.question {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: transparent;
  border: 0;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 19px;
  color: var(--bone2);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  min-width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(213, 199, 170, 0.2);
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.answer {
  height: 0;
  overflow: hidden;
  padding: 0 20px;
  opacity: 0;
  color: rgba(238, 226, 199, 0.8);
  font-size: 17px;
  line-height: 1.65;
  transition:
    height 0.52s cubic-bezier(0.55, 0.06, 0.42, 1),
    opacity 0.38s ease;
}

.answer-inner {
  overflow: hidden;
  padding-bottom: 0;
  transform: translateY(-10px);
  transition:
    transform 0.52s cubic-bezier(0.55, 0.06, 0.42, 1),
    padding-bottom 0.52s cubic-bezier(0.55, 0.06, 0.42, 1);
}

.faq-item.open .answer {
  opacity: 1;
  transition:
    height 0.68s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.58s cubic-bezier(0.16, 1, 0.3, 1) 0.07s;
}

.faq-item.open .answer-inner {
  padding-bottom: 22px;
  transform: translateY(0);
  transition:
    transform 0.64s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
    padding-bottom 0.68s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.faq-closing .answer {
  opacity: 0;
  transition:
    height 0.56s cubic-bezier(0.55, 0.06, 0.42, 1),
    opacity 0.34s ease;
}

.faq-item.faq-closing .answer-inner {
  padding-bottom: 22px;
  transform: translateY(-8px);
  transition:
    transform 0.44s cubic-bezier(0.55, 0.06, 0.42, 1),
    padding-bottom 0s;
}

/* Contato discreto no final do FAQ */
.hw-faq-contact {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 28px auto 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(238, 226, 199, 0.16);
  text-align: center !important;
}

.hw-faq-contact p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;

  width: 100%;
  max-width: 100%;
  margin: 0 auto !important;

  color: rgba(238, 226, 199, 0.62);
  font-size: 14px;
  line-height: 1.6;
  text-align: center !important;
}

.hw-faq-contact a {
  color: var(--bone2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hw-faq-contact a:hover {
  color: #d5c7aa;
}

@media (max-width: 560px) {
  .hw-faq-contact p {
    flex-direction: column;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .answer,
  .answer-inner,
  .faq-icon {
    transition: none;
  }
}

/* FOOTER */
.footer {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 36px 0 54px;
  color: rgba(238, 226, 199, 0.54);
  text-align: center;
  border-top: 1px solid rgba(213, 199, 170, 0.14);
}

/* =========================
   ADMIN — GERENCIAMENTO
========================= */

body.admin-page {
  padding: 28px;
  font-family: Arial, sans-serif;
}

.admin-container {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-header h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  color: var(--bone2);
}

.admin-subtitle {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

.admin-card {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(15, 12, 12, 0.94), rgba(28, 18, 20, 0.82));
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.admin-filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.admin-full {
  grid-column: 1 / -1;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.admin-actions.no-margin {
  margin: 0;
}

.admin-checkbox-area {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 6px;
}

.admin-check-card {
  display: block;
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  cursor: pointer;
}

.check-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-header input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--wine2);
  transform: scale(1.05);
}

.check-header strong {
  color: var(--bone2);
  font-size: 15px;
  line-height: 1.2;
}

.admin-check-card small {
  display: block;
  margin-top: 5px;
  margin-left: 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.admin-notice {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(102, 112, 71, 0.18);
  border: 1px solid rgba(102, 112, 71, 0.5);
  color: var(--bone2);
}

.admin-empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

.admin-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-counter {
  color: var(--muted);
  font-size: 15px;
}

.admin-page label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  font-family: Arial, sans-serif;
}

.admin-page input,
.admin-page select {
  width: 100%;
  height: 46px;
  margin-bottom: 0;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.42);
  color: var(--bone2);
  font-size: 15px;
  outline: none;
  font-family: Arial, sans-serif;
}

.admin-page input:focus,
.admin-page select:focus {
  border-color: rgba(238, 226, 199, 0.55);
  box-shadow: 0 0 0 3px rgba(238, 226, 199, 0.08);
}

.admin-page select {
  cursor: pointer;
}

.admin-page select option {
  background-color: #eeeeee;
  color: #111111;
}

.admin-page select option:checked {
  background-color: var(--wine);
  color: #ffffff;
}

.admin-page .btn {
  min-height: 44px;
  padding: 11px 18px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.admin-page .btn.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.admin-page .btn.green {
  background: linear-gradient(135deg, #48512f, var(--olive2));
}

.admin-page .btn:hover {
  filter: brightness(1.1);
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 38px 0;
  }

  .gift-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  body.admin-page {
    padding: 18px;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-filters,
  .admin-form-grid,
  .admin-checkbox-area {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .section {
    width: min(100% - 28px, var(--max));
  }

  .poster-section {
    width: min(100% - 16px, 1440px);
    padding-top: 14px;
  }

  .button-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .countdown-clock {
    width: 100%;
    font-size: 25px;
    padding: 18px 16px;
    gap: 8px;
  }

  .gift-preview {
    grid-template-columns: 1fr;
  }

  .admin-container {
    width: 100%;
  }

  .admin-card {
    padding: 18px;
    border-radius: 18px;
  }

  .admin-header h1 {
    font-size: 26px;
  }

  .admin-page .btn {
    width: 100%;
  }
}
#rsvp-form {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#rsvp-form.is-fading {
  opacity: 0;
  transform: translateY(10px);
}

.is-hidden {
  display: none !important;
}

.back-link {
  display: inline-flex;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.back-link:hover {
  color: var(--bone2);
}

.center-card h2 {
  text-align: center;
}

.center-card .countdown-clock {
  margin-left: auto;
  margin-right: auto;
}

#contagem .eyebrow {
  display: inline-block;
  text-align: center;
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

.countdown-clock {
  text-transform: none;
}

.countdown-clock #clock {
  font-family: Georgia, 'Times New Roman', serif;
  text-transform: lowercase;
}
/* PRESENTES — CARROSSEL PREMIUM */
.gift-story {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(238, 226, 199, 0.78);
}

.gift-carousel-viewport {
  min-width: 0;
  overflow: hidden;
}

.gift-carousel-shell .gift-carousel-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 20;
  pointer-events: none;
}

.gift-carousel-shell .gift-carousel-fade--left {
  left: calc(52px + 14px);
  background: linear-gradient(90deg, rgba(18, 10, 11, 0.95), transparent);
}

.gift-carousel-shell .gift-carousel-fade--right {
  right: calc(52px + 14px);
  background: linear-gradient(270deg, rgba(18, 10, 11, 0.95), transparent);
}

.gift-carousel-loop {
  overflow: hidden;
  margin-top: 34px;
  padding: 10px 0 26px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 64px,
    #000 calc(100% - 64px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 64px,
    #000 calc(100% - 64px),
    transparent 100%
  );
}


.gift-track {
  display: flex;
  gap: 24px;
  width: max-content;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
}

.gift-track span {
  font-weight: bold;
}
.gift-track.is-auto {
  animation: giftMarquee var(--gift-loop-duration, 120s) linear infinite;
}

.gift-carousel-shell:hover .gift-track.is-auto,
.gift-carousel-shell:focus-within .gift-track.is-auto {
  animation-play-state: paused;
}

.gift-card {
  flex: 0 0 228px;
  min-height: 368px;
  padding: 18px;
  border-radius: 18px;

  background:
    radial-gradient(circle at 50% 0%, rgba(213, 199, 170, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(30, 20, 20, 0.96), rgba(18, 12, 13, 0.98));

  border: 1px solid rgba(213, 199, 170, 0.18);
  color: var(--bone2);
  text-decoration: none;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  opacity: 0.58;
  transform: scale(0.94);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);

  transition:
    transform 0.32s ease,
    opacity 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease,
    background 0.32s ease;
}

.gift-card.is-centered {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(213, 199, 170, 0.38);
  z-index: 2;
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(109, 38, 50, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.gift-card.is-centered:hover {
  transform: scale(1) translateY(-6px);
  border-color: rgba(213, 199, 170, 0.48);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(109, 38, 50, 0.28);
}

.gift-card:not(.is-centered):hover {
  opacity: 0.72;
  transform: scale(0.96) translateY(-3px);
  border-color: rgba(213, 199, 170, 0.28);
}

.gift-card img {
  width: 162px;
  height: 162px;
  object-fit: contain;
  display: block;
  padding: 8px;
  border-radius: 16px;
  background: rgba(238, 226, 199, 0.94);
}

.gift-card > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 12px;
  color: rgba(238, 226, 199, 0.88);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  line-height: 1.35;
}

.gift-card small {
  display: block;
  margin: 4px 0 0;
  padding: 0 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(238, 226, 199, 0.78);
  font-style: italic;
}

.gift-card strong {
  display: block;
  margin: 10px 0;
  color: var(--bone2);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
}

.gift-card-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(213, 199, 170, 0.26);
  border-radius: 999px;

  background: linear-gradient(135deg, var(--wine), var(--wine2));
  color: var(--bone2);
  text-decoration: none;

  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  font-weight: 700;

  cursor: pointer;
  transition: 0.2s ease;
}

.gift-card:hover .gift-card-btn {
  filter: brightness(1.12);
}

.gift-list-cta {
  text-align: center;
  margin-top: 10px;
}

.gift-list-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 13px 26px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(213, 199, 170, 0.24);

  color: var(--bone2);
  text-decoration: none;
  font-weight: 700;

  transition: 0.2s ease;
}

.gift-list-cta a:hover {
  background: rgba(213, 199, 170, 0.08);
  border-color: rgba(213, 199, 170, 0.42);
}

@keyframes giftMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* MOBILE */
@media (max-width: 760px) {
  .gift-carousel-loop {
    margin-top: 26px;
    overflow: hidden;
    padding-bottom: 20px;
  }

  .gift-carousel-shell .gift-carousel-fade {
    display: none;
  }

  .gift-card {
    flex: 0 0 208px;
    min-height: 348px;
    background:
      radial-gradient(circle at 50% 0%, rgba(213, 199, 170, 0.08), transparent 42%),
      linear-gradient(145deg, rgba(32, 20, 20, 0.98), rgba(18, 12, 13, 0.98));
  }

  .gift-card img {
    width: 144px;
    height: 144px;
    object-fit: contain;
    display: block;

    padding: 10px;
    border-radius: 16px;

    background:
      radial-gradient(circle at center, rgba(238, 226, 199, 0.95), rgba(213, 199, 170, 0.82));

    border: 1px solid rgba(213, 199, 170, 0.55);

    box-shadow:
      inset 0 0 18px rgba(75, 23, 32, 0.18),
      0 8px 20px rgba(0, 0, 0, 0.22);
  }

  .gift-card > span {
    font-size: 15px;
  }

  .gift-card strong {
    font-size: 19px;
  }

  .gift-card small {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(238, 226, 199, 0.76);
  }
}
/* PRESENTES — NAVEGAÇÃO MANUAL + ARRASTE */
.gift-carousel-shell {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.gift-carousel-loop {
  margin-top: 0;
  padding: 18px 0 30px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-x;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 64px,
    #000 calc(100% - 64px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 64px,
    #000 calc(100% - 64px),
    transparent 100%
  );
}

.gift-carousel-loop.is-dragging {
  cursor: grabbing;
}

.gift-track {
  width: max-content;
}

.gift-card--clone {
  pointer-events: none;
}

.gift-card--clone .gift-card-btn {
  pointer-events: auto;
}

.gift-card {
  user-select: none;
}

.gift-carousel-loop.is-dragging .gift-card {
  pointer-events: none;
}

.gift-carousel-loop.is-dragging .gift-card-btn {
  pointer-events: auto;
}

.gift-arrow {
  width: 52px;
  height: 52px;
  font-size: 36px;
  z-index: 4;
}

@media (max-width: 760px) {
  .gift-carousel-shell {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
    margin-top: 26px;
  }

  .gift-arrow {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .gift-carousel-loop {
    margin-top: 0;
  }

  .gift-carousel-shell .gift-carousel-fade--left {
    left: calc(42px + 8px);
  }

  .gift-carousel-shell .gift-carousel-fade--right {
    right: calc(42px + 8px);
  }
}
