/* =========================================================
   Suups Landing (cream + blue + orange, lots of whitespace)
   Matches screenshots:
   - Cream background
   - Big rounded blue headings
   - Soft cards with blue borders
   - Floating cart widget bottom-right (ALL sizes)
========================================================= */

/* -----------------------------
   Design Tokens (Brand)
------------------------------ */
:root{
  --bg: #fbf4ed;
  --bg-2: #fffaf5;
  --card: #ffffff;

  --blue: #0a63d6;
  --blue-2: #d9e8ff;
  --blue-3: #eaf2ff;

  --orange: #ff6a2c;
  --ink: #0b0b0b;

  --text: #0b0b0b;
  --muted: rgba(11,11,11,.68);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;

  --shadow-soft: 0 12px 30px rgba(11,11,11,.08);
  --shadow-card: 0 18px 40px rgba(11,11,11,.10);

  --container: 1120px;
  --header-h: 78px;

  --font-round: "Fredoka", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* -----------------------------
   Base / Reset
------------------------------ */
*{ box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.35;
  display: flex;
  flex-direction: column;
}

main{
  flex: 1 0 auto;
}

.site-footer{
  margin-top: auto;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }

.container{
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
}

@media (max-width: 720px){
  .container{ width: min(var(--container), calc(100% - 32px)); }
}

/* Accessibility */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.skip-link{
  position: absolute;
  left: 14px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid var(--blue-2);
  transform: translateY(-140%);
  z-index: 9999;
}
.skip-link:focus{
  transform: translateY(0);
  outline: none;
}

/* -----------------------------
   Header
------------------------------ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(251,244,237,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10,99,214,.18);
}
.header-inner{
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-logo{
  height: 42px;
  width: auto;
}

/* Desktop nav */
.nav{
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: rgba(11,11,11,.78);
}
.nav a{
  padding: 10px 12px;
  border-radius: 12px;
}
.nav a:hover{
  background: rgba(10,99,214,.06);
  text-decoration: none;
}
.nav-cta{
  color: var(--blue);
  border: 2px solid rgba(10,99,214,.25);
  background: #fff;
}

/* Burger */
.nav-toggle{
  display: none;
  border: 2px solid rgba(10,99,214,.22);
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
}
.burger{
  width: 18px;
  height: 12px;
  position: relative;
  display: block;
}
.burger::before,
.burger::after{
  content:"";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(11,11,11,.85);
  border-radius: 999px;
}
.burger::before{ top: 1px; }
.burger::after{ bottom: 1px; }

/* Mobile nav */
.mobile-nav{
  background: rgba(251,244,237,.98);
  border-top: 1px solid rgba(10,99,214,.14);
}
.mobile-nav-inner{
  padding: 14px 0 18px;
  display: grid;
  gap: 10px;
}
.mobile-nav a{
  background: #fff;
  border: 2px solid rgba(10,99,214,.14);
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 650;
}
.mobile-nav a:hover{
  text-decoration: none;
  border-color: rgba(10,99,214,.28);
}

@media (max-width: 900px){
  .nav{ display: none; }
  .nav-toggle{ display: inline-flex; }
}

/* -----------------------------
   Buttons
------------------------------ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  padding: 16px 18px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .12s ease;
}
.btn:active{ transform: translateY(1px); }
.btn-block{ width: 100%; }

.btn-primary{
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(10,99,214,.18);
}
.btn-orange{
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255,106,44,.22);
}

/* Fix CTA "Aplica" text color on mobile */
@media (max-width: 760px){
  .mobile-nav .btn,
  .mobile-nav .btn-primary{
    background: var(--blue);
    color: #fff !important;
    border-color: var(--blue);
  }
}

/* -----------------------------
   Hero
------------------------------ */
.hero{
  padding: 64px 0 34px;
  background: var(--bg);
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 22px;
}

.hero-title{
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(56px, 7vw, 92px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.hero-sub{
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 650;
  margin: 0 0 18px;
  color: rgba(11,11,11,.86);
}
.hero-sub--tight{ max-width: 26ch; }

.hero-cart{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
}
.basket-svg{
  width: min(420px, 100%);
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(11,11,11,.10));
}

.count-pill{
  background: #fff;
  border: 2px solid rgba(10,99,214,.18);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-body);
  color: var(--blue);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.count-now, .count-total{
  font-weight: 800;
  font-size: 18px;
}
.count-label{
  font-weight: 700;
  font-size: 16px;
  margin-left: 2px;
}
.count-sep{
  opacity: .55;
  font-weight: 700;
}

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-right{ display: grid; place-items: center; margin-top: 10px; }
}

/* -----------------------------
   Sections typography
------------------------------ */
.section{ padding: 56px 0; }

.big-title{
  font-family: var(--font-round);
  color: var(--blue);
  font-weight: 700;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.05;
  margin: 0;
}

.section-title{
  font-family: var(--font-round);
  color: var(--blue);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 56px);
  margin: 0 0 18px;
}

.paragraph{
  margin: 0 0 14px;
  font-size: 22px;
  color: rgba(11,11,11,.82);
}
.paragraph--note{
  color: rgba(11,11,11,.70);
  font-size: 20px;
  margin-top: 14px;
}

.tiny-title{
  margin: 28px 0 0;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 26px;
  color: rgba(11,11,11,.85);
}
.tiny-title--blue{ color: var(--blue); }

/* -----------------------------
   Info cards
------------------------------ */
.info-card{
  margin-top: 18px;
  background: #fff;
  border: 2px solid rgba(10,99,214,.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px 26px;
  max-width: 560px;
}
.info-card--hero{ margin-top: 10px; max-width: 520px; }
.info-card--wide{ max-width: 860px; }

.info-title{
  margin: 0 0 8px;
  color: var(--blue);
  font-weight: 800;
  font-size: 20px;
}
.info-body{
  margin: 0;
  font-size: 20px;
  color: rgba(11,11,11,.82);
}
.info-body--big{
  font-size: 22px;
  font-weight: 650;
}
.accent{ color: var(--orange); font-weight: 800; }

/* -----------------------------
   Box + bullets (dash orange like screenshot)
------------------------------ */
.box{
  margin-top: 18px;
  background: #fff;
  border: 2px solid rgba(10,99,214,.18);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-soft);
  max-width: 860px;
}

.bullets{
  margin: 0;
  padding-left: 0;
  display: grid;
  gap: 12px;
  font-size: 20px;
  color: rgba(11,11,11,.82);
  list-style: none;
}

.bullets--dash li{
  position: relative;
  padding-left: 20px;
}
.bullets--dash li::before{
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 900;
}

/* -----------------------------
   Steps
------------------------------ */
.steps{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
  max-width: 900px;
}
.step{
  background: #fff;
  border: 2px solid rgba(10,99,214,.18);
  border-radius: var(--radius-md);
  padding: 18px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-soft);
}
.step-num{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-family: var(--font-body);
}
.step-text{
  font-size: 20px;
  font-weight: 700;
  color: rgba(11,11,11,.82);
}
.step:nth-child(5){
  grid-column: 1 / -1;
  max-width: 520px;
}

@media (max-width: 760px){
  .steps{ grid-template-columns: 1fr; }
  .step:nth-child(5){ grid-column: auto; max-width: none; }
}

/* -----------------------------
   Big banner
------------------------------ */
.big-banner{
  margin: 20px 0 24px;
  background: var(--blue);
  color: #fff;
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 18px 40px rgba(10,99,214,.22);
  text-align: center;
  max-width: 860px;
}
.big-banner p{
  margin: 0;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.2;
}

/* -----------------------------
   Form card
------------------------------ */
.form-card{
  background: #fff;
  border: 2px solid rgba(10,99,214,.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 30px 26px;
  max-width: 780px;
}
.form-title{
  margin: 0 0 8px;
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(32px, 3.4vw, 48px);
}
.form-subtitle{
  margin: 0 0 22px;
  color: rgba(11,11,11,.70);
  font-size: 20px;
}
.field{ margin-bottom: 18px; }
.field label{
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 800;
}
.field input{
  width: 100%;
  padding: 16px 16px;
  border-radius: 16px;
  border: 2px solid rgba(10,99,214,.25);
  font-size: 18px;
  outline: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.field input:focus{
  border-color: rgba(10,99,214,.55);
  box-shadow: 0 0 0 4px rgba(10,99,214,.12);
}
.form-card .btn-orange{
  margin-top: 12px;
  padding: 18px 18px;
  font-size: 18px;
  border-radius: 999px;
  width: 100%;
}

/* -----------------------------
   Footer (adjusted)
------------------------------ */
.site-footer{
  padding: 26px 0 34px;
  border-top: 1px solid rgba(10,99,214,.14);
  background: var(--bg-2);
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-left{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.footer-logo{
  height: 34px;
  width: auto;
  flex: 0 0 auto;
}
.footer-muted{
  margin: 0;
  color: rgba(11,11,11,.62);
  max-width: 52ch;
  font-size: 16px;
}
.footer-right{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  color: rgba(11,11,11,.70);
}
.footer-right a{
  padding: 8px 10px;
  border-radius: 12px;
}
.footer-right a:hover{
  background: rgba(10,99,214,.06);
  text-decoration: none;
}
.footer-copy{
  color: rgba(11,11,11,.60);
  font-size: 14px;
}

@media (max-width: 760px){
  .footer-inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-right{ justify-content: flex-start; }
}

/* -----------------------------
   Floating cart widget (ALL SIZES)
------------------------------ */
.floating-cart{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;

  display: inline-flex;
  align-items: flex-end;
  gap: 10px;

  pointer-events: auto;
  text-decoration: none;

  transition: transform .12s ease, filter .12s ease;
}
.floating-cart:hover{
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 18px rgba(11,11,11,.10));
  text-decoration: none;
}

.floating-badge{
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 18px 35px rgba(11,11,11,.22);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.floating-badge-inner{
  text-align: center;
  color: #fff;
  font-family: var(--font-round);
  font-weight: 700;
  line-height: 1.0;
}
.floating-badge-num{ font-size: 26px; }
.floating-badge-text{ font-size: 14px; opacity: .95; }

.floating-card{
  width: 140px;
  background: #fff;
  border-radius: 18px;
  border: 2px solid rgba(10,99,214,.18);
  box-shadow: 0 18px 40px rgba(11,11,11,.16);
  padding: 10px 10px 12px;
  display: grid;
  gap: 8px;
}
.floating-ill{ display: grid; place-items: center; }
.basket-svg--mini{ width: 120px; height: auto; filter: none; }

.floating-pill{
  justify-self: center;
  background: #fff;
  border: 2px solid rgba(10,99,214,.18);
  border-radius: 999px;
  padding: 6px 10px;
  font-family: var(--font-body);
  color: var(--blue);
  box-shadow: 0 10px 18px rgba(11,11,11,.08);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.floating-pill-strong{ font-weight: 900; }
.floating-pill-muted{ opacity: .55; font-weight: 800; }

@media (min-width: 761px){
  .floating-cart{ right: 22px; bottom: 22px; }
}
@media (max-width: 520px){
  .floating-cart{ right: 12px; bottom: 12px; gap: 8px; }
  .floating-card{ width: 132px; }
  .floating-badge{ width: 68px; height: 68px; }
  .floating-badge-num{ font-size: 24px; }
}

/* -----------------------------
   Completed state (hero + floating) – now visible
------------------------------ */
.count-pill.is-complete,
.floating-pill.is-complete{
  border-color: rgba(255,106,44,.70);
  box-shadow:
    0 18px 34px rgba(255,106,44,.18),
    0 0 0 4px rgba(255,106,44,.08);
}
.count-pill.is-complete{
  transform: translateY(-1px);
}

/* -----------------------------
   Basket items inside SVG
------------------------------ */
.basket-items .basket-item{
  opacity: 0;
  transform: translateY(6px) scale(.98);
  transform-origin: center;
  transition: opacity 220ms ease, transform 240ms ease;
  filter: drop-shadow(0 2px 2px rgba(11,11,11,.12));
}
.basket-items .basket-item.is-on{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* -----------------------------
   Flying items into cart (particles)
   Different shapes (circle, square, pill, diamond, triangle)
------------------------------ */
.fly-item{
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;

  width: var(--fly-size, 14px);
  height: var(--fly-size, 14px);

  background: var(--fly-color, #FF6A2C);

  box-shadow:
    0 10px 20px rgba(11,11,11,.14),
    0 2px 0 rgba(255,255,255,.55) inset;

  pointer-events: none;

  transform: translate3d(var(--x0), var(--y0), 0) rotate(var(--r0));
  opacity: 0;

  animation: flyIn var(--fly-dur, 620ms) cubic-bezier(.2,.9,.2,1) forwards;
}

/* Shape variants */
.fly-circle{ border-radius: 999px; }
.fly-square{ border-radius: 6px; }
.fly-pill{ border-radius: 999px; width: calc(var(--fly-size) * 1.45); }
.fly-diamond{
  border-radius: 10px;
  transform:
    translate3d(var(--x0), var(--y0), 0)
    rotate(calc(var(--r0) + 45deg));
}
.fly-triangle{
  background: transparent;
  box-shadow: none;
  width: 0;
  height: 0;
  border-left: calc(var(--fly-size) * 0.65) solid transparent;
  border-right: calc(var(--fly-size) * 0.65) solid transparent;
  border-bottom: calc(var(--fly-size) * 1.1) solid var(--fly-color);
}

@keyframes flyIn{
  0%{
    opacity: 0;
    transform: translate3d(var(--x0), var(--y0), 0) rotate(var(--r0)) scale(.9);
    filter: blur(.3px);
  }
  12%{ opacity: 1; }
  70%{
    opacity: 1;
    transform: translate3d(var(--x1), var(--y1), 0) rotate(var(--r1)) scale(1);
    filter: blur(0px);
  }
  100%{
    opacity: 0;
    transform: translate3d(var(--x2), var(--y2), 0) rotate(var(--r2)) scale(.85);
  }
}

/* Pop on cart */
.floating-cart.cart-pop{
  animation: cartPop 240ms ease;
}
@keyframes cartPop{
  0%{ transform: translateY(0); }
  45%{ transform: translateY(-2px) scale(1.01); }
  100%{ transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  .fly-item{ animation: none; display: none; }
  .floating-cart.cart-pop{ animation: none; }
}


/* Form Errors */
.form-errors{
  background: #fff;
  border: 2px solid rgba(255,106,44,.35);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 16px;
  color: rgba(11,11,11,.82);
  font-weight: 650;
}
.field .errorlist{
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
  color: rgba(255,106,44,.95);
  font-weight: 700;
}

/* =========================================================
   Step2 improvements: pill radios, better errors, dropzone v2
========================================================= */

/* Reduce perceived whitespace on large screens */
.app-card{
  width: min(980px, 100%);
}
@media (min-width: 1100px){
  .app-card{ width: min(1040px, 100%); }
}

/* ---------- Errors (clean) ---------- */
.field.has-error label{
  color: rgba(255,106,44,.95);
}
.field .errorlist{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.field .errorlist li{
  display: inline-block;
  background: rgba(255,106,44,.10);
  border: 2px solid rgba(255,106,44,.28);
  border-radius: 14px;
  padding: 10px 12px;
  color: rgba(11,11,11,.82);
  font-weight: 750;
}

/* ---------- Pill radios (key fix) ---------- */
.pill-group{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pill-group--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pill-group--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 820px){
  .pill-group{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .pill-group{ grid-template-columns: 1fr; }
}

.pill-option{
  position: relative;
  display: block;
  cursor: pointer;
}
.pill-option input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pill-label{
  display: grid;
  place-items: center;
  min-height: 54px;

  background: #fff;
  border: 2px solid rgba(10,99,214,.22);
  border-radius: 18px;

  font-weight: 800;
  font-size: 20px;
  color: rgba(11,11,11,.82);

  box-shadow: var(--shadow-soft);
  transition: transform .08s ease, border-color .12s ease, box-shadow .12s ease;
}
.pill-option:hover .pill-label{
  border-color: rgba(10,99,214,.40);
}
.pill-option input:checked + .pill-label{
  border-color: rgba(255,106,44,.70);
  box-shadow:
    0 18px 34px rgba(255,106,44,.14),
    0 0 0 4px rgba(255,106,44,.10);
}
.pill-option input:focus-visible + .pill-label{
  outline: none;
  box-shadow:
    0 0 0 4px rgba(10,99,214,.18),
    0 18px 34px rgba(11,11,11,.10);
}
.pill-option--wide .pill-label{
  justify-items: start;
  padding: 0 16px;
  text-align: left;
}

/* ---------- Dropzone v2 ---------- */
.dropzone2{
  margin-top: 12px;
  background: #fff;
  border: 2px dashed rgba(10,99,214,.35);
  border-radius: 24px;
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-soft);
}

.dropzone2.is-dragover{
  border-color: rgba(255,106,44,.85);
  box-shadow:
    0 18px 34px rgba(255,106,44,.14),
    0 0 0 4px rgba(255,106,44,.10);
}

.dz2-top{
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
}

.dz2-icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(10,99,214,.08);
  border: 2px solid rgba(10,99,214,.14);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.dz2-title{
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.1;
}
.dz2-sub{
  margin-top: 4px;
  color: rgba(11,11,11,.68);
  font-weight: 650;
  font-size: 16px;
}

.dz2-meta{
  text-align: right;
  display: grid;
  gap: 4px;
}
.dz2-count{
  font-weight: 900;
  color: rgba(11,11,11,.78);
}
.dz2-hint{
  color: rgba(11,11,11,.62);
  font-weight: 650;
  font-size: 14px;
}

.dz2-actions{
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.dz2-btn{
  border-radius: 999px;
  padding: 12px 16px;
}
.dz2-errors{
  color: rgba(255,106,44,.95);
  font-weight: 800;
  font-size: 14px;
}

.dz2-grid{
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 980px){
  .dz2-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 680px){
  .dz2-top{ grid-template-columns: 44px 1fr; }
  .dz2-meta{ text-align: left; grid-column: 1 / -1; }
  .dz2-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 420px){
  .dz2-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.dz2-item{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(10,99,214,.14);
  background: rgba(10,99,214,.04);
  aspect-ratio: 1 / 1;
}
.dz2-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dz2-remove{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 18px rgba(11,11,11,.12);
}

.dz2-input{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Packaging checks: align checkbox + label nicely */
.check-grid{
  margin-top: 12px;
  display: grid;
  gap: 12px;

  /* 3 en desktop */
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 820px){
  /* 2 en tablet */
  .check-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px){
  /* 1 en mobile */
  .check-grid{
    grid-template-columns: 1fr;
  }
}

.check-item{
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 12px;

  padding: 14px 14px;
  background: rgba(10,99,214,.04);
  border: 2px solid rgba(10,99,214,.12);
  border-radius: 18px;

  font-size: 20px;
  color: rgba(11,11,11,.82);
  font-weight: 750;

  cursor: pointer;
  user-select: none;
  transition: border-color .12s ease, box-shadow .12s ease, transform .08s ease;
}

.check-item:hover{
  border-color: rgba(10,99,214,.28);
}

.check-item input[type="checkbox"]{
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--blue);
  border-radius: 6px;
  outline: none;
}

.check-item:has(input[type="checkbox"]:checked){
  border-color: rgba(255,106,44,.60);
  box-shadow:
    0 18px 34px rgba(255,106,44,.10),
    0 0 0 4px rgba(255,106,44,.08);
}

@media (max-width: 520px){
  .check-item{
    font-size: 18px;
    padding: 12px 12px;
    border-radius: 16px;
  }
}

/* Select styled like inputs */
.field select{
  width: 100%;
  padding: 16px 44px 16px 16px;
  border-radius: 16px;
  border: 2px solid rgba(10,99,214,.25);
  font-size: 18px;
  outline: none;
  transition: border-color .12s ease, box-shadow .12s ease;
  background: #fff;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* custom arrow */
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(11,11,11,.65) 50%),
    linear-gradient(135deg, rgba(11,11,11,.65) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;
}

.field select:focus{
  border-color: rgba(10,99,214,.55);
  box-shadow: 0 0 0 4px rgba(10,99,214,.12);
}

/* =========================================================
   Thanks page – wow confirmation
========================================================= */

.thanks-shell{
  display: grid;
  place-items: center;
}

.thanks-card{
  position: relative;
  width: min(1100px, 100%);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
  border: 2px solid rgba(10,99,214,.18);
  border-radius: 30px;
  box-shadow: var(--shadow-card);
  padding: 34px 28px 22px;
  overflow: hidden;
}

.thanks-head{
  max-width: 720px;
  margin-bottom: 18px;
}
.thanks-kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10,99,214,.06);
  border: 2px solid rgba(10,99,214,.14);
  color: var(--blue);
  font-weight: 850;
  letter-spacing: .01em;
  margin-bottom: 10px;
}
.thanks-title{
  margin: 0 0 10px;
  font-family: var(--font-round);
  color: var(--blue);
  font-weight: 700;
  font-size: clamp(34px, 4.3vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.thanks-sub{
  margin: 0;
  color: rgba(11,11,11,.75);
  font-size: 20px;
  font-weight: 650;
}

.thanks-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
  align-items: start;
  margin-top: 18px;
}

@media (max-width: 980px){
  .thanks-grid{ grid-template-columns: 1fr; }
}

/* Burst dots */
.thanks-burst{
  position: absolute;
  inset: -40px -40px auto auto;
  width: 220px;
  height: 220px;
  pointer-events: none;
  opacity: .9;
}
.burst-dot{
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 18px 38px rgba(255,106,44,.18);
  animation: burstFloat 2.6s ease-in-out infinite;
}
.burst-dot:nth-child(1){ top: 34px; right: 50px; animation-delay: .0s; }
.burst-dot:nth-child(2){ top: 82px; right: 20px; background: rgba(10,99,214,1); animation-delay: .2s; }
.burst-dot:nth-child(3){ top: 124px; right: 64px; width: 12px; height: 12px; opacity: .85; animation-delay: .35s; }
.burst-dot:nth-child(4){ top: 58px; right: 110px; width: 10px; height: 10px; opacity: .85; background: rgba(10,99,214,1); animation-delay: .5s; }
.burst-dot:nth-child(5){ top: 148px; right: 28px; width: 9px; height: 9px; opacity: .8; animation-delay: .7s; }

@keyframes burstFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}

/* Left cards */
.status-card,
.next-card{
  background: #fff;
  border: 2px solid rgba(10,99,214,.14);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 18px 18px;
}

.status-card{ margin-bottom: 14px; }

.status-row{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.status-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,106,44,.08);
  border: 2px solid rgba(255,106,44,.22);
  color: rgba(11,11,11,.82);
  font-weight: 850;
}
.status-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,106,44,.14);
}

.status-meta{
  text-align: right;
}
.meta-title{
  font-weight: 800;
  color: rgba(11,11,11,.55);
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.meta-value{
  font-weight: 900;
  color: rgba(11,11,11,.82);
}

.status-body{
  display: grid;
  gap: 10px;
  padding: 10px 0 6px;
}
.status-line{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed rgba(10,99,214,.16);
  padding-bottom: 8px;
}
.status-line:last-child{ border-bottom: 0; padding-bottom: 0; }
.status-line .label{
  font-weight: 850;
  color: rgba(11,11,11,.55);
}
.status-line .value{
  font-weight: 800;
  color: rgba(11,11,11,.82);
  text-align: right;
}

.status-note{
  margin-top: 12px;
  background: rgba(10,99,214,.05);
  border: 2px solid rgba(10,99,214,.12);
  border-radius: 18px;
  padding: 12px 12px;
  color: rgba(11,11,11,.78);
  font-weight: 650;
}
.status-note p{ margin: 0; }

.next-title{
  margin: 0 0 12px;
  font-family: var(--font-round);
  color: var(--blue);
  font-weight: 700;
  font-size: 26px;
}

.next-steps{
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.next-steps li{
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(11,11,11,.80);
  font-weight: 650;
  font-size: 18px;
}
.next-steps .n{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255,106,44,.14);
  border: 2px solid rgba(255,106,44,.22);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.next-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 720px){
  .next-actions{ grid-template-columns: 1fr; }
}

/* Right wow card */
.wow-card{
  background: linear-gradient(180deg, rgba(10,99,214,.06) 0%, rgba(255,106,44,.04) 100%);
  border: 2px solid rgba(10,99,214,.14);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 14px;
  overflow: hidden;
}

.wow-top{
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.wow-badge{
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--orange);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px rgba(255,106,44,.22);
}
.wow-badge-num{
  color: #fff;
  font-weight: 900;
  font-size: 24px;
}
.wow-title{
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--blue);
  font-size: 24px;
}
.wow-muted{
  color: rgba(11,11,11,.65);
  font-weight: 650;
}

.wow-ill{
  display: grid;
  place-items: center;
  padding: 8px 0 10px;
}
.wow-basket{
  width: min(420px, 100%);
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(11,11,11,.12));
}

.wow-footer{
  display: grid;
  gap: 10px;
  padding-top: 6px;
}
.wow-pill{
  justify-self: start;
  background: #fff;
  border: 2px solid rgba(10,99,214,.14);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 750;
  color: rgba(11,11,11,.78);
}
.wow-strong{ font-weight: 900; color: var(--blue); }
.wow-copy{
  margin: 0;
  color: rgba(11,11,11,.72);
  font-weight: 650;
}

/* Micro note */
.micro{
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(11,11,11,.62);
  font-weight: 650;
  font-size: 15px;
}
.micro-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(10,99,214,.9);
  box-shadow: 0 0 0 4px rgba(10,99,214,.12);
}

/* Confetti */
.confetti{
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.confetti-piece{
  position: absolute;
  width: var(--c-w, 10px);
  height: var(--c-h, 14px);
  border-radius: 4px;
  background: var(--c, #ff6a2c);
  transform: translate3d(var(--x,0), -20px, 0) rotate(var(--r,0deg));
  opacity: 0;
  animation: confettiFall var(--dur, 1200ms) ease-out forwards;
}
@keyframes confettiFall{
  0%{ opacity: 0; transform: translate3d(var(--x,0), -24px, 0) rotate(var(--r,0deg)); }
  10%{ opacity: 1; }
  100%{ opacity: 0; transform: translate3d(var(--x2,0), var(--y2, 520px), 0) rotate(calc(var(--r,0deg) + 260deg)); }
}

/* Basket items (reuse your existing animation style, but with thanks selector) */
[data-thanks-items] .basket-item{
  opacity: 0;
  transform: translateY(10px) scale(.98);
  transform-origin: center;
  transition: opacity 260ms ease, transform 300ms ease;
  filter: drop-shadow(0 2px 2px rgba(11,11,11,.14));
}
[data-thanks-items] .basket-item.is-on{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hint bajo el label (para precios y otros) */
.field-hint{
  margin: 6px 0 10px;
  color: rgba(11,11,11,.62);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
}

input[aria-invalid="true"]{
  border-color: rgba(255,106,44,.85) !important;
  box-shadow: 0 0 0 4px rgba(255,106,44,.12) !important;
}

.calendar-embed {
  max-width: 900px;
  margin: 2rem auto;
  border-radius: 16px;
  overflow: hidden;
}
