/* ==========================================================
   Gigi Crea · arte en limpiapipas
   ========================================================== */
:root {
  --pink: #E8508A;
  --pink-d: #C7356F;
  --pink-l: #FCE1EC;
  --purple: #7A4FCB;
  --purple-l: #EEE6FB;
  --yellow: #FFC23D;
  --yellow-l: #FFF2CF;
  --teal: #2BB3A3;
  --teal-d: #1A8A7E;
  --teal-l: #DDF5F1;
  --ink: #2F2340;
  --ink-2: #625873;
  --cream: #FFF8F0;
  --paper: #FFFDF9;
  --line: #EFE3D8;
  --wa: #25D366;
  --wa-d: #1DA851;

  --radius: 20px;
  --shadow: 0 14px 34px -14px rgba(47, 35, 64, .28);
  --shadow-s: 0 4px 14px -6px rgba(47, 35, 64, .18);
  --f-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-body: "Nunito", system-ui, sans-serif;
  --f-script: "Pacifico", cursive;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.nowrap { white-space: nowrap; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.kicker { font-family: var(--f-script); color: var(--pink); font-size: 1.15rem; margin: 0 0 .35em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }

/* línea de "limpiapipas" decorativa bajo los títulos de sección */
.section__head h2::after, .page-hero h1::after {
  content: ""; display: block; width: 92px; height: 10px; margin: 14px auto 0; border-radius: 10px;
  background: repeating-linear-gradient(90deg, var(--pink) 0 6px, #F27FAA 6px 9px);
}
.page-hero h1::after { margin-left: 0; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.45em; border-radius: 999px; border: 2px solid transparent;
  font: 800 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--pink); color: #fff; box-shadow: 0 6px 16px -6px rgba(232, 80, 138, .7); }
.btn--primary:hover { background: var(--pink-d); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); font-size: 1rem; cursor: pointer; }
.icon-btn:hover { background: var(--pink-l); }

/* ---------- cabecera ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255, 253, 249, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 800; color: var(--ink-2); padding: .5em .9em; border-radius: 999px; transition: background .15s, color .15s; }
.nav a:hover { color: var(--ink); background: var(--cream); }
.nav a[aria-current="page"] { background: var(--pink-l); color: var(--pink-d); }
.topbar__actions { display: flex; gap: 8px; align-items: center; }
.cart-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.cart-btn:hover { border-color: var(--pink); }
.cart-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.cart-btn__count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--pink); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.cart-btn__count.pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.35); } }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; padding: 11px; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- portada ---------- */
.hero { padding: 56px 0 76px; overflow: hidden;
  background:
    radial-gradient(520px 340px at 88% 18%, var(--pink-l), transparent 70%),
    radial-gradient(420px 300px at 70% 95%, var(--yellow-l), transparent 70%),
    radial-gradient(460px 300px at 5% 90%, var(--teal-l), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--pink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__collage { position: relative; aspect-ratio: 1 / 1; max-width: 520px; justify-self: center; width: 100%; }
.polaroid { position: absolute; margin: 0; background: #fff; padding: 10px 10px 32px; border-radius: 6px; box-shadow: var(--shadow); }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.polaroid--a { width: 50%; top: 0; left: 2%; transform: rotate(-6deg); z-index: 2; }
.polaroid--b { width: 44%; top: 6%; right: 2%; transform: rotate(6deg); }
.polaroid--c { width: 42%; bottom: -2%; left: 34%; transform: rotate(-1deg); z-index: 3; }
.polaroid::after { content: ""; position: absolute; top: -12px; left: 50%; width: 70px; height: 24px; margin-left: -35px; background: rgba(252, 225, 236, .85); transform: rotate(-3deg); }
.polaroid--b::after { background: rgba(221, 245, 241, .9); }
.polaroid--c::after { background: rgba(255, 242, 207, .95); }

/* ---------- secciones ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 56px 0 72px; }
.section--tint { background: var(--cream); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section__head p:last-child { color: var(--ink-2); }

/* ---------- dos líneas (puertas) ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.door {
  display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center;
  padding: 22px; border-radius: 26px; text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.door--creaciones { background: var(--pink-l); }
.door--insumos { background: var(--teal-l); }
.door img { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; }
.door h2 { margin: 0 0 .25em; }
.door p { margin: 0 0 .8em; color: var(--ink-2); }
.door__eyebrow { font-weight: 800; font-size: .8rem !important; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .3em !important; }
.door--creaciones .door__eyebrow, .door--creaciones .door__link { color: var(--pink-d) !important; }
.door--insumos .door__eyebrow, .door--insumos .door__link { color: var(--teal-d) !important; }
.door__link { font-weight: 800; }

/* ---------- páginas internas ---------- */
.page-hero { padding: 40px 0 34px; border-bottom: 1px solid var(--line); }
.page-hero--creaciones { background: linear-gradient(120deg, var(--pink-l), var(--paper) 70%); }
.page-hero--insumos { background: linear-gradient(120deg, var(--teal-l), var(--paper) 70%); }
.page-hero__inner { display: grid; grid-template-columns: 1fr 210px; gap: 32px; align-items: center; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { margin: 0; }
.page-hero__img { width: 210px; border-radius: 22px; transform: rotate(4deg); box-shadow: var(--shadow); }
.crumbs { font-size: .9rem; color: var(--ink-2); margin-bottom: 10px; font-weight: 700; }
.crumbs a { color: var(--ink-2); }

/* ---------- tienda ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.chip { border: 2px solid var(--line); background: #fff; color: var(--ink-2); padding: .5em 1.1em; border-radius: 999px; font: 800 .95rem var(--f-body); cursor: pointer; }
.chip:hover { border-color: var(--pink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; animation: fadeUp .4s ease both; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.card__media { position: relative; display: block; border: 0; padding: 0; background: var(--cream); cursor: zoom-in; width: 100%; overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__badge { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .94); font-size: .74rem; font-weight: 800; padding: .3em .75em; border-radius: 999px; letter-spacing: .02em; }
.card__badge--creaciones { color: var(--pink-d); }
.card__badge--insumos { color: var(--teal-d); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); }
.card__title { font-family: var(--f-head); font-size: 1.08rem; font-weight: 700; margin: 0; line-height: 1.2; }
.card__desc { font-size: .93rem; color: var(--ink-2); margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.price { font-weight: 800; font-size: 1.1rem; margin: 0; }
.price--ask { color: var(--ink-2); font-size: .95rem; font-weight: 700; }
.add-btn { border: 0; background: var(--pink); color: #fff; border-radius: 999px; padding: .55em 1.05em; font: 800 .9rem var(--f-body); cursor: pointer; white-space: nowrap; }
.add-btn:hover { background: var(--pink-d); }
.add-btn--alt { background: var(--ink); }
.add-btn--alt:hover { background: #4A3A5E; }
.add-btn.is-added { background: var(--teal); }
.add-btn--off, .add-btn--off:hover { background: #E6E0E9; color: #8B8299; cursor: not-allowed; }
.quedan { display: block; font-size: .78rem; font-weight: 800; color: var(--pink-d); }
.sent { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: #E2F6F3; color: #137A6E; font-weight: 700; font-size: .92rem; }
.drawer__note input { width: 100%; padding: .6em .8em; border: 2px solid var(--line); border-radius: 12px; font: 600 1rem var(--f-body); }
#detalleAgregar:disabled { background: #E6E0E9; color: #8B8299; cursor: not-allowed; }

/* ---------- kits ---------- */
.kits-banner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; background: var(--yellow-l); border-radius: 32px; padding: 48px; }
.kits-banner__text p { color: var(--ink-2); }
.kits-banner__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kits-banner__media img { border-radius: 20px; box-shadow: var(--shadow); }
.kits-banner__media img:last-child { margin-top: 40px; }

/* ---------- encargos ---------- */
.custom { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.custom__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.custom__media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.custom__media img:last-child { margin-top: 48px; }
.custom__text > p { color: var(--ink-2); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 28px; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 3px dotted var(--pink); color: var(--pink); display: grid; place-items: center; font: 700 1.1rem var(--f-head); }
.steps span { color: var(--ink-2); font-size: .95rem; }

/* ---------- cómo comprar ---------- */
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how li { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 28px; }
.how p { color: var(--ink-2); margin: 0; }
.how__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 16px; font: 700 1.4rem var(--f-head); color: #fff; }
.how li:nth-child(1) .how__n { background: var(--pink); }
.how li:nth-child(2) .how__n { background: var(--teal); }
.how li:nth-child(3) .how__n { background: var(--purple); }

/* ---------- banda de llamado ---------- */
.cta-band { display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; align-items: center; }
.cta-band img { border-radius: 18px; box-shadow: var(--shadow-s); }
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .3em; }
.cta-band p { margin: 0; color: var(--ink-2); }

/* ---------- sobre ---------- */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; max-width: 980px; }
.about__logo { width: 100%; height: auto; }
.about p { color: var(--ink-2); }
.about__social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact > div > p { color: var(--ink-2); }
.contact__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact__list a { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 10px; border-radius: 14px; font-weight: 700; }
.contact__list a:hover { background: var(--cream); }
.contact__list small { display: block; font-weight: 600; color: var(--ink-2); font-size: .8rem; }
.contact__ico { width: 46px; height: 46px; border-radius: 50%; background: var(--pink-l); color: var(--pink-d); display: grid; place-items: center; flex: none; }
.contact__ico svg { width: 22px; height: 22px; }
.contact__ico--wa { background: #DCF8E6; color: var(--wa-d); }
.form { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 14px; }
.form h3 { margin: 0 0 4px; }
.form label, .options label { display: grid; gap: 6px; font-weight: 800; font-size: .92rem; }
.form input, .form select, .form textarea, .drawer textarea, .options select {
  font: 400 1rem var(--f-body); color: var(--ink); padding: .7em .9em;
  border: 2px solid var(--line); border-radius: 12px; background: var(--paper); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus, .drawer textarea:focus, .options select:focus { outline: none; border-color: var(--pink); }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form__error { color: var(--pink-d); font-weight: 700; margin: 0; }

/* ---------- pie ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.footer__brand img { height: 58px; width: auto; margin-bottom: 14px; }
.footer__brand p { opacity: .75; max-width: 26em; font-size: .95rem; }
.footer h3 { font-family: var(--f-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #F9C6DA; margin: 6px 0 12px; }
.footer nav { display: grid; gap: 8px; align-content: start; }
.footer nav a { text-decoration: none; opacity: .85; font-size: .95rem; overflow-wrap: anywhere; }
.footer nav a:hover { opacity: 1; text-decoration: underline; }
.footer__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; opacity: .6; }

/* ---------- whatsapp flotante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(29, 168, 81, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- carrito ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(47, 35, 64, .45); animation: fade .2s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: var(--paper); display: flex; flex-direction: column; box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .3); animation: slideIn .25s ease; }
@keyframes fade { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.5rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: #fff; }
.drawer__note { display: grid; gap: 6px; font-weight: 800; font-size: .9rem; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.drawer__total strong { font-size: 1.25rem; }
.drawer__hint { margin: 0; font-size: .85rem; color: var(--ink-2); }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.line img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.line__name { font-weight: 800; line-height: 1.25; margin: 0 0 2px; }
.line__opt { font-size: .82rem; color: var(--purple); margin: 0 0 2px; font-weight: 700; }
.line__price { font-size: .85rem; color: var(--ink-2); margin: 0; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; }
.qty button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; font-size: 1.05rem; color: var(--ink); border-radius: 50%; }
.qty button:hover { background: var(--cream); }
.qty span { min-width: 22px; text-align: center; font-weight: 800; }
.empty { text-align: center; padding: 40px 8px; color: var(--ink-2); }
.empty img { margin: 0 auto 12px; }
.empty__links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- modal detalle ---------- */
.modal { border: 0; padding: 0; border-radius: 24px; width: min(880px, calc(100% - 32px)); max-height: calc(100% - 32px); background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4); }
.modal::backdrop { background: rgba(47, 35, 64, .5); }
.modal[open] { animation: fadeUp .25s ease; }
.modal__grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal__img { background: #F3ECE4; display: flex; flex-direction: column; position: sticky; top: 0; align-self: start; height: min(720px, calc(100vh - 32px)); }
.modal__img > img { width: 100%; flex: 1 1 0; min-height: 0; object-fit: contain; }
.thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
.thumbs:empty { display: none; }
.thumbs button { flex: none; width: 52px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.thumbs button[aria-current="true"] { border-color: var(--pink); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- galería y visor ---------- */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: 6px; }
.carousel__slide { position: relative; flex: 0 0 calc((100% - 3 * 14px) / 4); scroll-snap-align: start; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--cream); box-shadow: var(--shadow-s); }
.carousel__slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s, filter .3s; }
.carousel__slide span { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 700 .85rem var(--f-body); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.carousel__slide:hover img, .carousel__slide:focus-visible img { transform: scale(1.05); filter: brightness(.94); }
.carousel__slide:hover span, .carousel__slide:focus-visible span { opacity: 1; transform: none; }
.carousel__btn { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -28px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 2rem; line-height: 1; padding-bottom: 4px; cursor: pointer; box-shadow: var(--shadow); transition: background .2s, color .2s; }
.carousel__btn:hover { background: var(--pink); color: #fff; }
.carousel__btn--prev { left: -22px; }
.carousel__btn--next { right: -22px; }
.carousel__bar { height: 4px; margin: 18px auto 0; max-width: 240px; border-radius: 999px; background: var(--line); overflow: hidden; }
.carousel__bar span { display: block; height: 100%; width: 25%; border-radius: inherit; background: var(--pink); transition: transform .15s linear; }
.gallery__cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.visor { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.visor::backdrop { background: rgba(20, 14, 28, .88); }
.visor[open] { display: grid; place-items: center; }
.visor > img { max-width: min(92vw, 760px); max-height: 82vh; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.visor__close { position: fixed; top: 16px; right: 16px; background: #fff; }
.visor__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 2rem; line-height: 1; cursor: pointer; }
.visor__nav--prev { left: 16px; }
.visor__nav--next { right: 16px; }
.visor__cap { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); margin: 0; background: rgba(255, 255, 255, .95); color: var(--ink); padding: 8px 16px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.link-btn { border: 0; background: none; padding: 0; color: var(--pink-d); font: inherit; text-decoration: underline; cursor: pointer; }
.modal__body { padding: 36px 32px; display: flex; flex-direction: column; gap: 10px; }
.modal__body h2 { margin: 0; }
.modal__body .kicker { font-size: 1rem; }
.modal__body p { margin: 0; color: var(--ink-2); }
.modal__body .price { color: var(--ink); font-size: 1.35rem; }
.modal__body .price--ask { color: var(--ink-2); font-size: 1.1rem; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: #fff; box-shadow: var(--shadow-s); }
.options { display: grid; gap: 10px; margin: 6px 0; }
.options:empty { display: none; }
.tag { display: inline-block; align-self: flex-start; background: var(--purple-l); color: var(--purple) !important; font-weight: 800; font-size: .88rem; padding: .35em .8em; border-radius: 999px; }
.modal__body .btn--primary { margin-top: auto; }

/* ---------- aviso ---------- */
.toast { position: fixed; left: 50%; top: 20px; transform: translate(-50%, -200%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; z-index: 70; transition: transform .3s ease; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav a { padding: .5em .6em; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero__grid, .custom, .contact, .kits-banner { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero__collage { max-width: 440px; }
  .doors { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; text-align: center; }
  .about__logo { max-width: 260px; margin: 0 auto; }
  .about__social { justify-content: center; }
  .how { grid-template-columns: 1fr; }
  .carousel__slide { flex-basis: calc((100% - 2 * 14px) / 3); }
  .carousel__btn--prev { left: -8px; }
  .carousel__btn--next { right: -8px; }
  .kits-banner { padding: 32px; }
  .cta-band { grid-template-columns: 90px 1fr; }
  .cta-band .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .menu-btn { display: block; }
  .nav { position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-s); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-radius: 0; border-top: 1px solid var(--line); }
  .topbar__actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .brand img { height: 44px; }
  .topbar__inner { height: 70px; }
  .nav { top: 70px; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 64px 0; }
  .section--tight { padding: 36px 0 56px; }
  .door { grid-template-columns: 110px 1fr; gap: 16px; padding: 16px; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__img { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card__body { padding: 12px; }
  .card__title { font-size: 1.02rem; }
  .card__desc { display: none; }
  .card__badge { display: none; }
  .card__foot { flex-direction: column; align-items: stretch; }
  .add-btn { padding: .6em; }
  .kits-banner { padding: 24px; border-radius: 24px; }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__img { position: static; height: auto; }
  .modal__img > img { height: 34vh; flex: none; }
  .carousel__track { gap: 10px; }
  .carousel__slide { flex-basis: 72%; }
  .carousel__slide span { opacity: 1; transform: none; font-size: .8rem; }
  .carousel__btn { width: 40px; height: 40px; margin-top: -24px; font-size: 1.7rem; }
  .carousel__btn--prev { left: 4px; }
  .carousel__btn--next { right: 4px; }
  .visor__nav { top: auto; bottom: 70px; transform: none; }
  .modal__body { padding: 22px; }
  .form { padding: 20px; }
  .custom__media img:last-child, .kits-banner__media img:last-child { margin-top: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band img { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
