:root {
  --bg: #f6f6f3;
  --ink: #1c1c1a;
  --muted: #52524b;
  --primary: #e84883;
  --primary-strong: #c8336d;
  --secondary: #82bfb7;
  --accent: #fab948;
  --card: #fffffff2;
  --line: #e8e4de;
  --danger: #c0392b;
  --ok: #2c8578;
  --display-font: "obvia-narrow", "Montserrat", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 0 0, #fffdf6 0, var(--bg) 44%, #f3f7f6 100%);
  min-height: 100vh;
}

.bg-orb {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  filter: blur(70px);
  opacity: 0.3;
}

.bg-orb-a {
  width: 380px;
  height: 380px;
  background: var(--secondary);
  top: -100px;
  right: -120px;
  animation: orbFloatA 12s ease-in-out infinite;
}

.bg-orb-b {
  width: 320px;
  height: 320px;
  background: var(--accent);
  left: -80px;
  bottom: -80px;
  animation: orbFloatB 14s ease-in-out infinite;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid #e7e3dc;
  backdrop-filter: blur(6px);
  background: #fff;
  animation: riseIn 460ms ease both;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 124px;
  height: auto;
  display: block;
}

.topbar-title {
  margin: 0;
  font-family: var(--display-font);
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f1f1d;
  text-align: right;
}

.store-info {
  width: min(1200px, 100% - 2rem);
  margin: 0.7rem auto 0;
  padding: 0.72rem 0.9rem;
  border: 1px solid #ecdcc9;
  border-radius: 14px;
  background: linear-gradient(120deg, #fff8f1 0%, #fff 38%, #f5fffd 100%);
  box-shadow: 0 12px 26px #1c1c1a10;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  animation: riseIn 520ms ease both;
  animation-delay: 60ms;
}

.store-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
}

.store-info-item strong {
  font-family: var(--display-font);
  font-size: 1rem;
  color: #2a2927;
}

.store-info-item span {
  font-size: 0.98rem;
  color: #4b4741;
}

.store-info-note {
  padding-left: 0.95rem;
  border-left: 1px solid #ecdcc9;
}

.store-info-note strong {
  color: #9a2356;
}

.store-info-note span {
  font-size: 0.9rem;
  line-height: 1.45;
}

.store-info-note a {
  color: #c82f6d;
  font-weight: 700;
  text-decoration: none;
}

.store-info-note a:hover {
  text-decoration: underline;
}

.layout {
  width: min(1200px, 100% - 2rem);
  margin: 1.2rem auto 2rem;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 48px #1c1c1a14;
  padding: 1.25rem;
  animation: riseIn 520ms ease both;
}

.layout > .card:first-child {
  animation-delay: 110ms;
}

.layout > .card:last-child {
  animation-delay: 180ms;
}

h2,
h3 {
  font-family: var(--display-font);
}

h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.01em;
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  line-height: 1.1;
}

.muted {
  margin: 0.35rem 0 0.8rem;
  color: var(--muted);
}

.premium-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.1rem 0 1rem;
}

.premium-step {
  font-family: var(--display-font);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  color: #5e5952;
  border: 1px solid #e8ddd1;
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  background: #fffdf9;
}

.premium-step.is-active {
  color: #fff;
  border-color: #d63b74;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 8px 16px #e848832b;
  animation: stepPulse 2.2s ease-in-out infinite;
}

.premium-step.is-complete {
  color: #1b6e54;
  border-color: #bfe7d7;
  background: #ecfbf4;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.customer-grid {
  margin-top: 0.75rem;
  row-gap: 1.15rem;
}

.customer-panel {
  margin-top: 1rem;
  border: 1px solid #e7ded3;
  border-radius: 12px;
  padding: 0.75rem;
  background: linear-gradient(180deg, #fff 0%, #fffcf8 100%);
  display: grid;
  gap: 0.75rem;
}

.customer-panel h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 1.06rem;
  color: #2f2a24;
}

.customer-grid-right {
  margin-bottom: 0;
  gap: 0.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.12rem;
  transition: color 180ms ease;
}

.field:focus-within span {
  color: #2e4d76;
}

.label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffe8d2, #ffeef7);
  color: var(--primary-strong);
  line-height: 1;
  border: 1px solid #efcfbe;
}

.label-icon svg {
  width: 1rem;
  height: 1rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.74rem 0.78rem;
  font: inherit;
  font-size: 1.06rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #d8ccbf;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: #e287aa;
  box-shadow: 0 0 0 3px #f6d3e2;
  transform: translateY(-1px);
}

.coverage-wrap {
  margin-top: 0.9rem;
  border: 1px dashed #d6cec2;
  border-radius: 12px;
  padding: 0.7rem;
  background: linear-gradient(180deg, #fff 0%, #fffcf7 100%);
}

.custom-size-panel {
  margin-top: 0.9rem;
  border: 1px dashed #d8ccb9;
  border-radius: 12px;
  padding: 0.75rem;
  background: linear-gradient(180deg, #fff 0%, #f9fcff 100%);
}

.custom-size-panel h3 {
  margin: 0 0 0.35rem;
}

.custom-size-panel .grid {
  margin-bottom: 0;
}

.custom-area-preview {
  margin: 0.55rem 0 0.35rem;
  font-weight: 700;
  color: #2e4669;
}

.custom-whatsapp-link {
  display: inline-block;
  text-decoration: none;
  color: #0a6b3a;
  background: #e9fff3;
  border: 1px solid #bde6ce;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.coverage-guide {
  margin: 0 0 0.7rem;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  background: #fff8ef;
  border: 1px solid #f4e1c7;
}

.coverage-guide p {
  margin: 0 0 0.32rem;
  color: #4e4a43;
  font-size: 0.9rem;
  line-height: 1.35;
}

.coverage-guide p:last-child {
  margin-bottom: 0;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.coverage-card {
  border: 1px solid #eadfce;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  animation: riseIn 560ms ease both;
}

.coverage-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px #1c1c1a1a;
}

.coverage-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.coverage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coverage-card .field {
  padding: 0.55rem;
}

.coverage-card .field input {
  text-align: center;
  font-weight: 700;
}

.coverage-helper {
  display: inline-block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.coverage-lineas {
  border-bottom: 3px solid #fab948;
}

.coverage-mixto {
  border-bottom: 3px solid #e84883;
}

.coverage-pleno {
  border-bottom: 3px solid #82bfb7;
}

.badge {
  border-radius: 999px;
  font-size: 0.82rem;
  padding: 0.2rem 0.55rem;
  background: #ffeaf2;
  color: #99305b;
  font-weight: 600;
  margin-left: 0.4rem;
}

.disclaimer {
  margin: 0.8rem 0;
  color: #7b3d00;
  background: #fff2dc;
  border: 1px solid #ffd7a1;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
}

.upload-panel {
  margin-top: 1rem;
  margin-bottom: 0.65rem;
  border: 1px dashed #e84883;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fff2f8 100%);
  padding: 0.75rem;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.upload-panel.is-dragover {
  border-color: #c8336d;
  background: linear-gradient(180deg, #fff7fb 0%, #ffe6f1 100%);
  box-shadow: 0 12px 24px #e8488322;
}

.upload-panel .field {
  margin-bottom: 0.4rem;
}

.upload-panel .field span {
  color: #b3265e;
  font-weight: 700;
}

.upload-note {
  margin: 0;
  font-size: 0.92rem;
  color: #7a2a4e;
  line-height: 1.5;
}

.upload-meta {
  margin: 0 0 0.38rem;
  font-size: 0.9rem;
  color: #5d4f58;
  font-weight: 600;
}

.upload-note a {
  color: #d93d79;
  font-weight: 700;
}

.upload-alternative {
  margin-top: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #f3c0d5;
  border-radius: 10px;
  background: #fff;
  color: #5e5160;
  font-size: 0.95rem;
  line-height: 1.45;
}

.upload-alternative input {
  width: 1.05rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-top: 0.2rem;
  accent-color: #d93d79;
  flex: 0 0 auto;
}

.upload-panel.is-mail-link-mode {
  border-color: #82bfb7;
  background: linear-gradient(180deg, #fff 0%, #eefaf8 100%);
}

.multi-order-box {
  margin-top: 0.9rem;
  margin-bottom: 0.8rem;
  border: 1px dashed #dbcfc4;
  border-radius: 12px;
  background: #fff;
  padding: 0.7rem;
}

.multi-order-head {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
}

.multi-order-head p {
  margin: 0;
  color: #49453f;
  font-size: 0.94rem;
}

.btn-quiet {
  background: #f4f6fb;
  color: #2f4059;
  border: 1px solid #d8deea;
  font-weight: 700;
  padding: 0.5rem 0.7rem;
}

.multi-toggle {
  margin-top: 0.55rem;
  border: 0;
  background: transparent;
  color: #2c3f62;
  padding: 0;
  font-weight: 700;
  cursor: pointer;
}

.items-panel {
  margin-top: 0.55rem;
  border-top: 1px solid #ece7e0;
  padding-top: 0.55rem;
}

.items-list {
  display: grid;
  gap: 0.5rem;
}

.item-row {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
  border: 1px solid #ebe4d7;
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  background: #fffcf6;
}

.item-row strong {
  display: block;
  font-family: var(--display-font);
}

.item-row p {
  margin: 0.1rem 0;
  font-size: 0.9rem;
  color: #4e4a45;
}

.item-row small {
  color: #6d655b;
}

.item-remove {
  border: 1px solid #edc5d5;
  background: #fff3f8;
  color: #a32e5f;
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font-weight: 700;
  cursor: pointer;
}

.actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.summary-actions {
  margin-top: 0.9rem;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 12px 24px #e8488333;
  transition: transform 200ms ease, box-shadow 200ms ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 70%;
  height: 100%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, #ffffff00 0%, #ffffff55 50%, #ffffff00 100%);
  transition: left 420ms ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px #e8488340;
}

.btn-primary:hover::after {
  left: 160%;
}

.btn-secondary {
  background: linear-gradient(135deg, #ecf7f5, #f6fffe);
  color: #275c55;
  border: 1px solid #d8ece8;
}

.btn-secondary:hover,
.btn-quiet:hover {
  transform: translateY(-1px);
  filter: brightness(0.99);
}

.summary {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.payment-panel {
  margin-top: 1rem;
  border: 1px solid #e7ded3;
  border-radius: 12px;
  padding: 0.75rem;
  background: linear-gradient(180deg, #fff 0%, #fffcf8 100%);
}

.payment-panel h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  color: #3f3a34;
  font-weight: 600;
}

.payment-option input[type="radio"] {
  width: 1rem;
  height: 1rem;
}

.payment-transfer-info,
.payment-local-info {
  margin-top: 0.5rem;
  border-radius: 10px;
  padding: 0.6rem;
  border: 1px solid #eadfce;
  background: #fff;
}

.payment-transfer-info p,
.payment-local-info p {
  margin: 0 0 0.22rem;
  font-size: 0.9rem;
  color: #4a453f;
}

.payment-note {
  margin-top: 0.4rem !important;
  color: #7d2d52 !important;
  font-weight: 700;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid #f0ece5;
  padding-bottom: 0.45rem;
  align-items: baseline;
}

.row strong {
  font-family: var(--display-font);
  font-size: 1.06rem;
}

.total {
  color: #fff;
  font-size: 1.28rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border: 1px solid #d63b74;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  margin-top: 0.2rem;
  box-shadow: 0 12px 22px #e8488335;
  position: relative;
  overflow: hidden;
}

.total::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #ffffff00 0%, #ffffff2a 42%, #ffffff00 72%);
  transform: translateX(-120%);
  animation: totalSweep 3.6s ease-in-out infinite;
}

.total strong {
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}

.discount {
  color: var(--ok);
}

.discount-badge-row {
  margin-top: 0.2rem;
}

.discount-badge {
  display: inline-block;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #bfe7d7;
  background: #ecfbf4;
  color: #1b6e54;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.35;
  padding: 0.5rem 0.6rem;
}

.status {
  margin-top: 0.9rem;
  min-height: 1.2rem;
  font-weight: 700;
}

.status.error {
  color: var(--danger);
}

.status.ok {
  color: var(--ok);
}

.upload-progress {
  margin-top: 0.55rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid #f0d8e3;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fff7fb 100%);
}

.upload-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.45rem;
}

.upload-progress-head strong {
  color: #5e2a46;
  font-size: 0.96rem;
}

.upload-progress-head span {
  color: #b12f64;
  font-weight: 800;
  font-size: 0.96rem;
}

.upload-progress-bar {
  position: relative;
  width: 100%;
  height: 0.7rem;
  border-radius: 999px;
  overflow: hidden;
  background: #f4e6ed;
  box-shadow: inset 0 1px 2px #00000010;
}

.upload-progress-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 6px 16px #e8488340;
  transition: width 180ms ease;
}

.mascot-card {
  margin-top: 1rem;
  padding: 0.2rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-card img {
  width: min(180px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 16px #e8488330);
}

.sticky {
  position: sticky;
  top: 0.8rem;
  height: fit-content;
  background: linear-gradient(180deg, #fff 0%, #fffcf6 100%);
}

.site-footer {
  width: min(1200px, 100% - 2rem);
  margin: 0 auto 1.1rem;
  padding: 0.95rem 1rem;
  border-top: 1px solid #e8e0d6;
  color: #4f4a44;
}

.site-footer p {
  margin: 0;
  font-size: 0.98rem;
  text-align: center;
}

.site-footer a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.confirmation-layout {
  width: min(860px, 100% - 2rem);
  margin: 1.2rem auto 2rem;
}

.confirmation-card {
  background: linear-gradient(180deg, #fff 0%, #fffcf6 100%);
}

.confirmation-kicker {
  margin: 0 0 0.35rem;
  color: #7a2b4f;
  font-family: var(--display-font);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.confirmation-order-box {
  margin: 1rem 0;
  border: 1px solid #f1b8cf;
  background: #fff5f9;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
}

.confirmation-order-box p {
  margin: 0 0 0.2rem;
  color: #7a2b4f;
  font-family: var(--display-font);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.confirmation-order-box strong {
  color: #e84883;
  font-family: var(--display-font);
  font-size: 1.6rem;
  line-height: 1.1;
}

.confirmation-summary {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.confirmation-summary .row.accent strong {
  color: #e84883;
}

.confirmation-note {
  margin-top: 1rem;
  border: 2px solid #e9b343;
  background: linear-gradient(180deg, #fff8e9 0%, #fff3d7 100%);
  border-radius: 12px;
  padding: 0.78rem 0.84rem;
  color: #6e4b0f;
  line-height: 1.5;
  box-shadow: 0 8px 18px #e9b34326;
}

.confirmation-note p {
  margin: 0;
}

.confirmation-note p + p {
  margin-top: 0.35rem;
}

.confirmation-note-alias {
  color: #6b2b0f;
  font-family: var(--display-font);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  font-weight: 800;
}

.hidden {
  display: none !important;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbFloatA {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-20px, 16px, 0); }
}

@keyframes orbFloatB {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(18px, -14px, 0); }
}

@keyframes totalSweep {
  0%, 72% { transform: translateX(-120%); }
  100% { transform: translateX(140%); }
}

@keyframes stepPulse {
  0%, 100% { box-shadow: 0 8px 16px #e848832b; }
  50% { box-shadow: 0 11px 20px #e8488352; }
}

@media (max-width: 980px) {
  .topbar {
    padding: 1rem 1rem;
    gap: 0.7rem;
  }

  .store-info {
    width: min(1200px, 100% - 1.6rem);
    margin-top: 0.6rem;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sticky {
    position: static;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 0.9rem 0.8rem;
  }

  .brand-logo {
    width: 108px;
  }

  .topbar-title {
    font-size: 1.05rem;
  }

  .store-info {
    grid-template-columns: 1fr;
    padding: 0.68rem 0.74rem;
  }

  .store-info-note {
    padding-left: 0;
    border-left: 0;
  }

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

  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .multi-order-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .summary-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}


