/* Valentina & Diego - Regala Momentos | Bootstrap v5.0 */
:root {
  --paper: #fffdf9;
  --pink: #de3f70;
  --pink-dark: #bd2857;
  --gold: #c79039;
  --ink: #19171b;
  --line: rgba(222, 63, 112, 0.22);
  --shadow: 0 22px 70px rgba(158, 62, 92, 0.16);
}
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(255,221,231,.7), transparent 28rem), radial-gradient(circle at bottom right, rgba(255,236,242,.8), transparent 30rem), linear-gradient(180deg, #fffaf7, #fff2f5);
}
.gift-page { width: 100%; padding: clamp(12px, 2.5vw, 32px); }
.gift-sheet {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 62px) clamp(18px, 4.2vw, 46px) clamp(18px, 3vw, 34px);
  background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.94)), repeating-linear-gradient(45deg, rgba(222,63,112,.025) 0 1px, transparent 1px 14px);
  border: 1px solid rgba(222,63,112,.16);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.content-layer { z-index: 2; }
.floral-corner { position: absolute; top: -10px; width: clamp(180px, 26vw, 330px); height: clamp(120px, 18vw, 220px); z-index: 1; pointer-events: none; opacity: .9; }
.floral-left { left: -18px; }
.floral-right { right: -18px; transform: scaleX(-1); }
.floral-corner span { position: absolute; display: block; }
.rose { border-radius: 50%; background: radial-gradient(circle at 40% 40%, #ffd8df 0 28%, #f6a3b3 29% 58%, #da758f 59% 100%); border: 2px solid rgba(190,94,112,.45); }
.rose-a { width: 58px; height: 58px; left: 15px; top: 36px; }
.rose-b { width: 42px; height: 42px; right: 10px; top: 5px; }
.leaf { width: 22px; height: 58px; border-radius: 50% 0 50% 0; background: linear-gradient(135deg, #ece4c6, #958d67); border: 1px solid rgba(97,87,54,.45); }
.leaf-a { left: 78px; top: 4px; transform: rotate(45deg); }
.leaf-b { left: 130px; top: 18px; transform: rotate(66deg); }
.leaf-c { left: 58px; top: 112px; transform: rotate(-36deg); }
.twig { height: 2px; background: #b38a42; transform-origin: left center; border-radius: 999px; }
.twig-a { width: 180px; left: 48px; top: 54px; transform: rotate(-18deg); }
.twig-b { width: 210px; left: 30px; top: 115px; transform: rotate(-24deg); }
.gift-header { max-width: 980px; margin: 0 auto clamp(20px, 2.8vw, 34px); padding-inline: clamp(10px, 3vw, 38px); }
.couple-name { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.65rem, 4vw, 3rem); font-weight: 700; letter-spacing: .08em; line-height: 1.05; }
.main-title { margin: .1em 0 .08em; color: var(--pink); font-family: "Great Vibes", "Brush Script MT", cursive; font-size: clamp(3.1rem, 8.3vw, 6.6rem); font-weight: 400; line-height: .92; }
.title-divider { display: flex; justify-content: center; align-items: center; gap: 14px; color: var(--pink); margin: clamp(8px, 1.5vw, 18px) auto; }
.title-divider span { width: clamp(48px, 10vw, 112px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.intro-text { color: #111; font-size: clamp(1rem, 2vw, 1.5rem); line-height: 1.45; }
.intro-text strong { color: var(--pink); font-weight: 500; }
.experience-wrapper { position: relative; z-index: 3; }
.experience-table-wrap { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.88); box-shadow: 0 12px 28px rgba(222,63,112,.09); }
.experience-table { min-width: 940px; overflow: hidden; border-collapse: separate; border-spacing: 0; }
.experience-table thead th { padding: 18px 14px; color: #fff; background: linear-gradient(180deg, #e4577e, #cb3c67); border-right: 1px solid rgba(255,255,255,.6); font-size: clamp(.95rem, 1.6vw, 1.25rem); font-weight: 600; text-align: center; text-transform: uppercase; }
.experience-table thead th:first-child { border-top-left-radius: 18px; }
.experience-table thead th:last-child { border-top-right-radius: 18px; border-right: 0; }
.experience-table td { padding: 12px 16px; border-color: var(--line); border-right: 1px solid var(--line); color: #111; font-size: clamp(.95rem, 1.5vw, 1.15rem); line-height: 1.45; vertical-align: middle; background-color: rgba(255,255,255,.7); }
.experience-table tbody tr:nth-child(even) td { background-color: rgba(255,245,248,.68); }
.experience-table td:last-child { border-right: 0; }
.col-number { width: 8%; } .col-experience { width: 36%; } .col-description { width: 36%; } .col-price { width: 20%; }
.gift-number { color: var(--pink); font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.9rem, 3vw, 2.6rem) !important; font-weight: 500; text-align: center; }
.experience-name { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 12px; color: var(--pink); font-family: "Great Vibes", cursive; font-size: clamp(1.85rem, 3vw, 2.8rem); line-height: .95; }
.experience-name i { margin-left: 6px; font-size: .6em; }
.gift-illustration { width: 70px; height: 70px; display: inline-grid; place-items: center; border: 2px solid rgba(222,63,112,.12); border-radius: 18px; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,239,244,.76)); box-shadow: inset 0 0 0 4px rgba(255,255,255,.55); font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif; font-size: 2.4rem; line-height: 1; }
.gift-price { color: var(--pink); font-size: clamp(1.0rem, 2.0vw, 1.5rem) !important; font-weight: 200; text-align: center; white-space: nowrap; }
.gift-price-free { font-size: clamp(1.1rem, 2.1vw, 1.55rem) !important; }
.gift-footer { padding-top: clamp(16px, 2.4vw, 28px); }
.footer-phrase { color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.15rem, 2.1vw, 1.65rem); line-height: 1.25; }
.footer-phrase span { color: var(--pink); font-family: "Great Vibes", cursive; font-size: clamp(2rem, 4.3vw, 3.4rem); line-height: 1; }
.footer-boxes { margin-top: clamp(16px, 2.6vw, 26px); }
.footer-box { min-height: 80px; display: flex; align-items: center; gap: 18px; padding: clamp(14px, 2vw, 22px); border-radius: 14px; background: linear-gradient(90deg, rgba(255,236,242,.95), rgba(255,246,248,.96)); text-align: left; }
.footer-box i { flex: 0 0 auto; color: var(--pink); font-size: clamp(2.2rem, 4vw, 3.5rem); }
.footer-box p { font-size: clamp(.95rem, 1.4vw, 1.15rem); line-height: 1.35; }
.footer-box-alt { justify-content: center; border-left: 2px solid rgba(222,63,112,.38); color: var(--pink); font-family: "Great Vibes", cursive; }
.footer-box-alt p { font-size: clamp(1.5rem, 2.7vw, 2.2rem); line-height: 1; }
@media (max-width: 991.98px) { .floral-corner { width: clamp(135px, 32vw, 230px); opacity: .72; } .experience-name { grid-template-columns: 62px 1fr; } .gift-illustration { width: 58px; height: 58px; font-size: 2rem; } }
@media (max-width: 767.98px) {
  .gift-page { padding: 0; }
  .gift-sheet { width: 100%; min-height: 100vh; padding: 34px 14px 22px; border-radius: 0; border-left: 0; border-right: 0; }
  .gift-header { padding-top: 14px; } .couple-name { font-size: clamp(1.4rem, 7vw, 2rem); } .main-title { font-size: clamp(3rem, 14vw, 4.8rem); } .intro-text { max-width: 92%; margin: 0 auto; }
  .experience-table-wrap { border: 0; background: transparent; box-shadow: none; overflow: visible; }
  .experience-table, .experience-table thead, .experience-table tbody, .experience-table tr, .experience-table td { display: block; width: 100%; min-width: 0; }
  .experience-table thead { display: none; }
  .experience-table tbody tr { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.88); box-shadow: 0 10px 24px rgba(222,63,112,.10); overflow: hidden; }
  .experience-table td { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border-right: 0; border-bottom: 1px solid var(--line); background: transparent !important; font-size: 1rem; text-align: right; }
  .experience-table td:last-child { border-bottom: 0; }
  .experience-table td::before { content: attr(data-label); min-width: 95px; color: var(--pink-dark); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
  .gift-number { color: #fff; background: linear-gradient(180deg, #e85c86, #c93665) !important; font-size: 1.6rem !important; }
  .gift-number::before { color: #fff !important; }
  .experience-name { width: 100%; grid-template-columns: 56px 1fr; text-align: left; font-size: 2.15rem; }
  td[data-label="Experiencia"] { align-items: center; text-align: left; }
  td[data-label="Experiencia"]::before { align-self: center; }
  .gift-price { font-size: 1.45rem !important; }
  .footer-box, .footer-box-alt { text-align: center; justify-content: center; }
  .footer-box { flex-direction: column; gap: 8px; } .footer-box-alt { border-left: 0; }
}
@media (max-width: 420px) {
  .gift-sheet { padding-inline: 10px; } .floral-corner { width: 150px; } .main-title { font-size: clamp(2.8rem, 13vw, 4rem); } .intro-text { font-size: .98rem; }
  .experience-table td { flex-direction: column; text-align: left; }
  .experience-table td::before { min-width: auto; } .gift-number, .gift-price { text-align: left; }
  .experience-name { grid-template-columns: 54px 1fr; font-size: 1.5rem; }
  .gift-illustration { width: 52px; height: 52px; border-radius: 14px; font-size: 1.8rem; }
}

/* ==========================================================
   ESCALA NATIVA DE VISUALIZACIÓN
   ----------------------------------------------------------
   Objetivo: que el diseño se vea como si el navegador estuviera
   al 60%, pero aplicado desde el propio HTML/CSS.

   Cambia este valor si necesitas otro tamaño:
   0.60 = 60%, 0.70 = 70%, 0.80 = 80%
   ========================================================== */
:root {
  --native-design-scale: 0.60;
}

@media (min-width: 768px) {
  html,
  body {
    min-height: 100%;
  }

  body {
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .gift-page {
    width: auto;
    min-height: auto;
    padding: calc(clamp(12px, 2.5vw, 32px) / var(--native-design-scale));
    zoom: var(--native-design-scale);
  }
}

/* Fallback para navegadores donde zoom no esté disponible. */
@supports not (zoom: 1) {
  @media (min-width: 768px) {
    body {
      display: block;
    }

    .gift-page {
      width: calc(100% / var(--native-design-scale));
      transform: scale(var(--native-design-scale));
      transform-origin: top center;
      margin-left: 50%;
      translate: -50% 0;
    }
  }
}

/* En móvil se conserva el diseño responsive original al 100%. */
@media (max-width: 767.98px) {
  .gift-page {
    zoom: 1;
    transform: none;
    translate: none;
  }
}

/* Botones de monto / aporte */
.gift-price-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  padding: 8px 18px;
  border: 2px solid rgba(222, 63, 112, .32);
  border-radius: 999px;
  color: var(--pink);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255, 238, 244, .96));
  box-shadow:
    0 8px 18px rgba(222, 63, 112, .12),
    inset 0 0 0 3px rgba(255,255,255,.65);
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.05;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.gift-price-btn:hover,
.gift-price-btn:focus {
  color: #fff;
  background: linear-gradient(180deg, #e85c86, #c93665);
  box-shadow: 0 10px 22px rgba(222, 63, 112, .22);
  text-decoration: none;
  transform: translateY(-1px);
}

.gift-price-btn:focus {
  outline: 3px solid rgba(222, 63, 112, .24);
  outline-offset: 3px;
}

.gift-price-free .gift-price-btn {
  min-width: 165px;
  padding-inline: 22px;
}

@media (max-width: 767.98px) {
  .gift-price-btn {
    min-width: 118px;
    min-height: 42px;
    padding: 8px 14px;
  }

  .gift-price-free .gift-price-btn {
    min-width: 145px;
  }
}

@media (max-width: 420px) {
  .gift-price-btn {
    width: fit-content;
    min-width: 112px;
  }
}

