/* Iporã Store — tienda móvil primero. Marca: degradé coral→fucsia, acento manteca, tipografía geométrica. */
:root {
  --coral: #F0685C;
  --fucsia: #C82868;
  --butter: #FFDE9E;
  --ink: #2B1420;
  --muted: #76596A;
  --bg: #FFF7F4;
  --surface: #FFFFFF;
  --line: #F0DCE1;
  --blush: #FDE8EC;
  --ok: #1F7A4D;
  --error: #B42335;
  --grad: linear-gradient(120deg, var(--coral) 0%, var(--fucsia) 100%);
  --f-display: "Urbanist", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(120, 20, 60, .28);
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(32px, 6vw, 54px); font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--butter); outline-offset: 2px; border-radius: 6px; }

/* barra superior */
.topbar { background: var(--grad); color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; padding: 8px 12px; letter-spacing: .01em; }
.topbar span + span::before { content: "·"; margin: 0 10px; opacity: .8; }

/* encabezado */
header.site { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; }
.logo b { font-family: var(--f-display); font-weight: 800; font-size: 28px; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo small { font-family: var(--f-display); font-weight: 700; font-size: 11px; letter-spacing: .32em; color: var(--muted); }
nav.main { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; }
nav.main a { text-decoration: none; color: var(--muted); }
nav.main a:hover { color: var(--ink); }
nav.main a.btn, nav.main a.btn:hover { color: #fff; }
@media (max-width: 720px) { nav.main a:not(.btn) { display: none; } }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 24px; font: 700 16px var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: 0 14px 34px -12px rgba(120, 20, 60, .45); }
.btn-light { background: #fff; color: var(--fucsia); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* hero */
.hero { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.hero::before { width: 420px; height: 420px; left: -160px; top: -180px; }
.hero::after { width: 520px; height: 520px; right: -200px; bottom: -300px; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-block: 56px 64px; }
.hero h1 em { font-style: normal; color: var(--butter); }
.hero p.lead { font-size: 18px; margin-top: 16px; max-width: 46ch; opacity: .95; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-pics a { background: #fff; border-radius: var(--radius); padding: 10px; box-shadow: 0 20px 40px -20px rgba(60, 0, 30, .5); text-decoration: none; color: var(--ink); display: grid; gap: 8px; }
.hero-pics a:nth-child(2) { transform: translateY(28px); }
.hero-pics img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.hero-pics span { font-weight: 700; font-size: 14px; padding: 0 4px 4px; display: flex; justify-content: space-between; gap: 8px; }
.hero-pics span i { font-style: normal; color: var(--fucsia); white-space: nowrap; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 40px 52px; }
  .hero-pics a:nth-child(2) { transform: none; }
}

/* confianza */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-block: 22px; }
.trust div { display: flex; gap: 12px; align-items: center; }
.trust svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--blush); color: var(--fucsia); }
.trust b { display: block; font-size: 15px; }
.trust small { color: var(--muted); font-size: 13.5px; line-height: 1.35; display: block; }
@media (max-width: 720px) { .trust .wrap { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* secciones */
section.block { padding-block: 64px; }
.section-head { display: grid; gap: 8px; margin-bottom: 28px; }
.eyebrow { font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--fucsia); }
.section-head p { color: var(--muted); max-width: 60ch; }

/* productos */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 720px) { .products { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .pic { position: relative; background: #fff; }
.card .pic img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.tag { position: absolute; left: 14px; top: 14px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.card .body { padding: 20px; display: grid; gap: 10px; align-content: start; }
.card .body p { color: var(--muted); font-size: 15px; }
.price-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.price { font-family: var(--f-display); font-weight: 800; font-size: 26px; }
.price-note { font-size: 14px; color: var(--ok); font-weight: 600; }
.card .btn { margin-top: 8px; }

/* pasos */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
@media (max-width: 720px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; }
.steps li::before { counter-increment: step; content: counter(step); width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font: 800 18px var(--f-display); display: grid; place-items: center; }
.steps p { color: var(--muted); font-size: 15px; }

/* preguntas */
.faq { display: grid; gap: 12px; max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 22px var(--f-display); color: var(--fucsia); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* pie */
footer.site { background: var(--ink); color: #F6DCE4; padding-block: 44px; margin-top: 24px; }
footer.site .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 28px; }
footer.site .logo b { background: none; color: #fff; }
footer.site .logo small { color: #F6DCE4; }
footer.site p, footer.site li { font-size: 14.5px; opacity: .85; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site h3 { font-size: 15px; color: #fff; margin-bottom: 10px; }
footer.site .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; font-size: 13px; opacity: .7; }
@media (max-width: 720px) { footer.site .wrap { grid-template-columns: minmax(0, 1fr); } }

/* página de producto */
.crumb { font-size: 14px; color: var(--muted); padding-block: 18px 0; }
.crumb a { text-decoration: none; }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-block: 18px 40px; align-items: start; }
@media (max-width: 860px) { .pdp { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.pdp .gallery { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 84px; }
@media (max-width: 860px) { .pdp .gallery { position: static; } }
.pdp .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp .info { display: grid; gap: 18px; }
.pdp .lead { font-size: 18px; color: var(--muted); }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.benefits li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.benefits li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C82868' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.benefits b { display: block; }
.benefits span { color: var(--muted); font-size: 15px; }

/* opciones de compra */
.options { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.options legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.opt { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--surface); border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.opt:hover { border-color: #E9B8C6; }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--fucsia); }
.opt:has(input:checked) { border-color: var(--fucsia); background: #FFF3F6; }
.opt b { display: block; }
.opt small { color: var(--ok); font-weight: 600; font-size: 13.5px; }
.opt .p { font: 800 19px var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.badge { display: inline-block; background: var(--butter); color: var(--ink); font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; letter-spacing: .02em; }

.mini-trust { display: grid; gap: 6px; font-size: 14.5px; color: var(--muted); }
.mini-trust div { display: flex; gap: 8px; align-items: center; }
.mini-trust svg { width: 18px; height: 18px; color: var(--fucsia); flex: none; }

.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 720px) { .detail-grid { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: start; }
.panel ol, .panel ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.panel .note { background: var(--blush); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }

/* formulario */
.order { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 80px; }
.order .head { background: var(--grad); color: #fff; padding: 22px 24px; display: grid; gap: 4px; }
.order .head p { opacity: .95; font-size: 15px; }
.order form { padding: 24px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field .hint { font-size: 13.5px; color: var(--muted); }
.field input[type=text], .field input[type=tel], .field select, .field textarea { font: 16px var(--f-body); color: var(--ink); background: #FFFBFA; border: 1.5px solid #E8CFD6; border-radius: 12px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fucsia); box-shadow: 0 0 0 4px rgba(200, 40, 104, .12); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--error); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fucsia); }
.check a { color: var(--fucsia); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px dashed var(--line); padding-top: 16px; }
.total span { color: var(--muted); }
.total b { font: 800 26px var(--f-display); }
.total small { display: block; color: var(--ok); font-weight: 600; font-size: 13.5px; text-align: right; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #FDECEE; color: var(--error); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; font-weight: 600; }

/* barra fija en el celular */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -16px rgba(60, 0, 30, .35); padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); display: none; align-items: center; justify-content: space-between; gap: 12px; }
.sticky-buy b { font: 800 20px var(--f-display); display: block; line-height: 1.1; }
.sticky-buy small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 860px) { .sticky-buy.show { display: flex; } body.has-sticky { padding-bottom: 76px; } }

/* páginas simples */
.simple { padding-block: 56px; display: grid; gap: 18px; max-width: 720px; }
.simple p, .simple li { color: var(--muted); }
.thanks { text-align: center; justify-items: center; margin: 0 auto; }
.thanks .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); }
.thanks .ok svg { width: 36px; height: 36px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; text-align: left; display: grid; gap: 8px; width: 100%; max-width: 520px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
