/* =========================================================
   BAHÍA ESTUDIO — ESTILOS
   Cambia los colores de marca aquí en :root
   ========================================================= */
:root {
  --brand: #374c8b;        /* azul del logo */
  --brand-dark: #1e3a8a;   /* botones principales */
  --brand-deep: #0f1a3d;   /* fondos oscuros */
  --accent: #3b82f6;       /* azul brillante "tus ideas" */
  --chip: #e3eafc;         /* fondo suave de botones secundarios */
  --bg: #f1f2f5;
  --card: #ffffff;
  --ink: #0f1729;
  --muted: #5b6577;
  --line: #e3e6ec;
  --sale: #e11d48;
  --wa: #1faa53;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 41, .04), 0 4px 16px rgba(15, 23, 41, .06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 41, .16);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Poppins", var(--font);
  --header-h: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.block { padding: 28px 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-dark); color: #fff; box-shadow: 0 6px 18px rgba(30, 58, 138, .28); }
.btn-primary:hover { background: #18307a; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-chip { background: var(--chip); color: var(--brand-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17924a; }
.btn-lg { font-size: 1.02rem; padding: .95em 1.7em; }
.btn-sm { font-size: .85rem; padding: .6em 1.1em; }
.btn-block { width: 100%; }
.btn-text { color: var(--muted); font-size: .85rem; text-decoration: underline; padding: 6px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center;
  position: relative; transition: background .15s;
}
.icon-btn:hover { background: var(--bg); }
.icon-btn .icon { width: 22px; height: 22px; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.topbar {
  background: var(--brand-deep); color: #dfe6ff; font-size: .8rem; text-align: center;
  padding: 7px 16px; display: flex; gap: 8px; justify-content: center; align-items: center;
}
.topbar .icon { width: 16px; height: 16px; }
.header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 46px; width: auto; }
.menu-btn { display: none; }
.search { flex: 1; max-width: 560px; position: relative; display: flex; align-items: center; }
.search > .icon { position: absolute; left: 16px; color: var(--muted); width: 18px; height: 18px; pointer-events: none; }
.search input {
  width: 100%; height: 48px; border: 1px solid transparent; background: var(--bg); border-radius: 14px;
  padding: 0 16px 0 46px; font-size: .95rem; outline: none; transition: border .15s, background .15s;
}
.search input:focus { background: #fff; border-color: var(--accent); }
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 60;
}
.search-results.show { display: block; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; font-size: .92rem; }
.search-results a:hover { background: var(--bg); }
.search-results small { display: block; color: var(--muted); }
.sr-thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.sr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sr-thumb .ph .icon { width: 20px; height: 20px; }
.sr-thumb .ph span { display: none; }
.search-results .sr-all { justify-content: center; color: var(--brand-dark); font-weight: 600; border-top: 1px solid var(--line); border-radius: 0; margin-top: 4px; }
.sr-empty { padding: 12px; font-size: .9rem; color: var(--muted); }
.sr-empty a { color: var(--brand-dark); font-weight: 600; display: inline; padding: 0; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.head-link { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; padding: 8px 12px; border-radius: 12px; }
.head-link:hover { background: var(--bg); }
.head-link .icon { color: var(--wa); }
[data-cart-count] {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--brand-dark); color: #fff; font-size: .72rem; display: grid; place-items: center; font-weight: 700;
}
[data-cart-count].is-empty { background: #9aa3b5; }

.cat-nav { border-top: 1px solid var(--line); }
.nav-mobile-head { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; height: 52px; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; font-size: .94rem; font-weight: 500; color: #263049; }
.nav-link:hover, .nav-item.is-active > .nav-link { color: var(--brand-dark); background: var(--chip); }
.nav-link .chev { width: 15px; height: 15px; transition: transform .2s; }
.nav-cta { margin-left: auto; }
.nav-cta .nav-link { color: var(--brand-dark); font-weight: 600; }
.drop {
  position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: 16px; padding: 8px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 55;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .chev { transform: rotate(180deg); }
.drop a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: .92rem; }
.drop a:hover { background: var(--bg); color: var(--brand-dark); }
.drop a .icon { color: var(--brand); width: 18px; height: 18px; }
.drop .drop-all { font-weight: 600; color: var(--brand-dark); border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; margin-bottom: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: clamp(440px, 62vh, 600px); overflow: hidden; background: var(--brand-deep); }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center; color: #fff;
  background: linear-gradient(90deg, rgba(10, 17, 40, .92) 0%, rgba(10, 17, 40, .7) 45%, rgba(10, 17, 40, .2) 100%), var(--img) center/cover;
  opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide-inner { max-width: 1240px; }
.slide-inner > * { max-width: 620px; }
.slide.is-active .slide-inner > * { animation: rise .7s both; }
.slide.is-active .slide-inner > *:nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide-inner > *:nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide-inner > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .78rem;
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px);
}
.pill .icon { width: 16px; height: 16px; color: #93b4ff; }
.pill-outline { background: none; border: 1.5px solid var(--brand-dark); color: var(--brand-dark); }
.pill-outline .icon { color: var(--brand-dark); }
.slide h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 800; margin: 18px 0 14px; }
.slide h1 em { font-style: normal; color: #6ea0ff; }
.slide p { font-size: clamp(1rem, 1.6vw, 1.15rem); color: #d5dcef; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .45); transition: .3s; }
.hero-dots button.is-active { width: 30px; background: #fff; }

/* ---------- Tarjetas de categoría ---------- */
.cat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -64px; position: relative; z-index: 2; }
.cat-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card-media { aspect-ratio: 16 / 9; overflow: hidden; background: color-mix(in srgb, var(--c) 12%, #fff); }
.cat-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-card-media img { transform: scale(1.06); }
.cat-card-body { display: flex; gap: 12px; padding: 16px; align-items: flex-start; }
.cat-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); }
.cat-card h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 4px; }
.cat-card p { font-size: .85rem; color: var(--muted); line-height: 1.45; }

/* ---------- Chips de subcategorías ---------- */
.lead-center { text-align: center; font-size: 1.08rem; margin-bottom: 22px; color: #263049; }
.chips-track { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.chips-track.is-auto {
  scroll-snap-type: none; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.chips-track.is-auto::-webkit-scrollbar { display: none; }
.chip-card {
  scroll-snap-align: start; background: var(--card); border-radius: var(--radius); padding: 18px 12px 14px; display: flex;
  flex-direction: column; align-items: center; gap: 10px; text-align: center; box-shadow: var(--shadow); transition: transform .2s;
}
.chip-card:hover { transform: translateY(-4px); }
.chip-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.chip-ic .icon { width: 30px; height: 30px; }
.chip-name { font-size: .84rem; font-weight: 600; line-height: 1.25; min-height: 2.5em; display: flex; align-items: center; }
.chip-btn { background: var(--chip); color: var(--brand-dark); font-weight: 600; font-size: .82rem; border-radius: 999px; padding: 6px 18px; }
.chip-card:hover .chip-btn { background: var(--brand-dark); color: #fff; }

/* ---------- Carruseles de productos ---------- */
.shelf-box { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.shelf-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.shelf-head h2 { font-size: 1.3rem; font-weight: 700; }
.shelf-head h2 span { font-weight: 500; color: var(--muted); }
.shelf-ctrl { display: flex; align-items: center; gap: 8px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-dark); font-size: .9rem; margin-right: 6px; }
.link-more .icon { width: 16px; height: 16px; }
.arrow { width: 38px; height: 38px; border-radius: 999px; background: var(--bg); display: grid; place-items: center; transition: .15s; }
.arrow:hover { background: var(--brand-dark); color: #fff; }
.shelf-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-track .card { scroll-snap-align: start; }

/* ---------- Tarjeta de producto ---------- */
.card { display: flex; flex-direction: column; background: var(--card); border-radius: 16px; transition: transform .2s; min-width: 0; }
.card:hover { transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--bg); display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 12px 4px 4px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: .95rem; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-title:hover { color: var(--brand-dark); }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; gap: 8px; }
.price { font-weight: 700; font-size: 1.02rem; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price s { color: var(--muted); font-weight: 400; font-size: .85rem; }
.price-quote { color: var(--brand); font-size: .92rem; }
.btn-add {
  width: 38px; height: 38px; border-radius: 999px; background: var(--brand-dark); color: #fff; display: grid; place-items: center;
  flex-shrink: 0; transition: transform .15s, background .15s;
}
.btn-add:hover { transform: scale(1.1); background: var(--accent); }
.btn-add[disabled] { background: #c1c7d3; cursor: not-allowed; transform: none; }
.btn-add .icon { width: 20px; height: 20px; stroke-width: 2.6; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: 5px 10px; border-radius: 8px; color: #fff; }
.badge-sale { background: var(--sale); }
.badge-out { background: #475069; }
.card.is-out .card-media { opacity: .6; }

/* Imagen de muestra (cuando el producto aún no tiene foto) */
.ph {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--c, var(--brand));
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c, var(--brand)) 18%, #fff) 0, transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--c, var(--brand)) 9%, #fff), color-mix(in srgb, var(--c, var(--brand)) 20%, #fff));
}
.ph .icon { width: 30%; height: 30%; max-width: 72px; max-height: 72px; stroke-width: 1.5; }
.ph span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: .75; text-align: center; padding: 0 10px; }
.ph-lg .icon { max-width: 140px; max-height: 140px; }
.ph-lg span { font-size: .85rem; }

/* ---------- Banners promo ---------- */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo { border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 220px; box-shadow: var(--shadow); transition: transform .2s; }
.promo:hover { transform: translateY(-3px); }
.promo-text { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; justify-content: center; }
.promo-text small { font-size: .88rem; font-weight: 500; }
.promo-text strong { font-family: var(--font-head); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.15; margin-bottom: 8px; }
.promo-art { display: flex; align-items: center; justify-content: center; gap: 4px; position: relative; }
.promo-art .icon { width: 64px; height: 64px; stroke-width: 1.3; }
.promo-art .icon:nth-child(2) { width: 84px; height: 84px; transform: translateY(-14px); }
.promo-a { background: #e5e9f4; }
.promo-a .promo-art { background: linear-gradient(135deg, #c9d6fb, #9fb6f6); color: var(--brand-dark); }
.promo-b { background: var(--brand-dark); color: #fff; }
.promo-b .promo-art { background: linear-gradient(135deg, #2b4fb8, #4c7cf0); color: #fff; }
.promo-b .btn-light .icon { color: var(--wa); }

/* ---------- Beneficios ---------- */
.section-head { text-align: center; margin-bottom: 28px; }
.kicker { display: block; color: var(--brand); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.benefit-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--chip); color: var(--brand-dark); margin-bottom: 16px; }
.benefit-ic .icon { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.12rem; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .95rem; }

/* ---------- Envíos ---------- */
.ship { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ship-img { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--img) center/cover; box-shadow: var(--shadow); }
.ship-text h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 16px 0 12px; }
.ship-text p { color: var(--muted); margin-bottom: 24px; font-size: 1.02rem; }

/* ---------- Reseñas / cifras ---------- */
.stats { background: linear-gradient(120deg, var(--brand-deep), var(--brand-dark)); color: #fff; border-radius: var(--radius); padding: 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.stars { color: #fbbf24; display: flex; gap: 4px; margin-bottom: 12px; }
.stars .icon { fill: currentColor; }
.stats-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.stats-text p { color: #c9d3ee; margin-bottom: 22px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stats-grid div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 20px; }
.stats-grid strong { display: block; font-family: var(--font-head); font-size: 2rem; }
.stats-grid span { color: #c9d3ee; font-size: .88rem; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--brand-deep); color: #aab4cc; margin-top: 40px; padding-top: 56px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-logo { height: 54px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a, .site-footer span { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .icon { width: 16px; height: 16px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; padding: 0; }
.socials a:hover { background: var(--accent); }
.socials .icon { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding: 20px; text-align: center; font-size: .82rem; }

/* ---------- Carrito ---------- */
.fab-cart {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 18px; background: #fff;
  box-shadow: var(--shadow-lg); display: grid; place-items: center; color: var(--ink); transition: transform .15s;
}
.fab-cart:hover { transform: translateY(-2px); }
.fab-cart .icon { width: 26px; height: 26px; }
.fab-cart [data-cart-count] { top: -6px; right: -6px; min-width: 24px; height: 24px; font-size: .78rem; background: var(--ink); }
.overlay { position: fixed; inset: 0; background: rgba(10, 17, 40, .45); z-index: 80; opacity: 0; visibility: hidden; transition: .25s; }
.cart-open .overlay { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 90; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow-lg);
}
.cart-open .cart-drawer { transform: none; }
.cart-open { overflow: hidden; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.2rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cart-empty > .icon { width: 48px; height: 48px; opacity: .4; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .ph span { display: none; }
.cart-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cart-name { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.cart-info small { color: var(--muted); font-size: .8rem; }
.cart-note { font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.cart-remove { color: #9aa3b5; align-self: start; padding: 4px; }
.cart-remove:hover { color: var(--sale); }
.cart-remove .icon { width: 18px; height: 18px; }
.cart-footer { border-top: 1px solid var(--line); padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.cart-footer[hidden] { display: none; }
.cart-comment { font-size: .85rem; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.cart-comment textarea { border: 1px solid var(--line); border-radius: 10px; padding: 10px; resize: vertical; font-size: .9rem; color: var(--ink); }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; }
.cart-total strong { font-size: 1.3rem; font-family: var(--font-head); }
.cart-hint { font-size: .8rem; color: var(--muted); background: var(--chip); padding: 8px 10px; border-radius: 8px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 48px; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; color: var(--muted); }
.qty button:hover { color: var(--brand-dark); }
.qty span, .qty input { min-width: 32px; text-align: center; font-weight: 600; border: 0; width: 40px; background: none; }
.qty-sm { height: 32px; }
.qty-sm button { width: 30px; }
.qty-sm .icon { width: 15px; height: 15px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 14px; display: flex; gap: 10px; align-items: center; font-size: .92rem; z-index: 100; opacity: 0; visibility: hidden; transition: .25s;
  max-width: calc(100% - 32px);
}
.toast .icon { color: #4ade80; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Catálogo ---------- */
.page-head { padding: 28px 0 8px; }
.crumbs { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.crumbs a:hover { color: var(--brand-dark); }
.crumbs .icon { width: 14px; height: 14px; }
.page-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.page-head p { color: var(--muted); margin-top: 6px; max-width: 640px; }
.catalog { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 20px; }
.filters { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 16px); }
.filters h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 4px 6px 10px; font-family: var(--font); }
.f-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: .92rem; font-weight: 500; }
.f-link:hover { background: var(--bg); }
.f-link.is-active { background: var(--chip); color: var(--brand-dark); font-weight: 600; }
.f-link .icon { width: 18px; height: 18px; color: var(--c, var(--brand)); }
.f-link em { margin-left: auto; font-style: normal; font-size: .78rem; color: var(--muted); }
.f-subs { margin: 2px 0 6px 20px; border-left: 2px solid var(--line); padding-left: 8px; }
.f-subs .f-link { font-size: .86rem; padding: 7px 10px; font-weight: 400; }
.filters-help { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--brand-dark); color: #fff; font-size: .88rem; }
.filters-help strong { display: block; font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; }
.filters-help .btn { margin-top: 12px; }
.filters-help .btn .icon { color: var(--wa); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar p { color: var(--muted); font-size: .92rem; }
.toolbar select { border: 1px solid var(--line); background: #fff; border-radius: 12px; height: 42px; padding: 0 12px; font-size: .9rem; }
.chip-filters { display: none; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scrollbar-width: none; }
.chip-filters a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: #fff; font-size: .86rem; font-weight: 500; box-shadow: var(--shadow); }
.chip-filters a.is-active { background: var(--brand-dark); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.grid .card { padding: 10px; box-shadow: var(--shadow); }
.grid .card-media { border-radius: 12px; }
.empty-state { background: var(--card); border-radius: var(--radius); padding: 48px 24px; text-align: center; box-shadow: var(--shadow); }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* ---------- Producto ---------- */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 12px; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--bg); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; opacity: .7; }
.thumbs button.is-active { border-color: var(--brand-dark); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.p-cat { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: .88rem; margin-bottom: 8px; }
.p-cat .icon { width: 16px; height: 16px; }
.p-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.p-price { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.p-price .price { font-size: 1.8rem; font-family: var(--font-head); }
.p-price .price s { font-size: 1.1rem; }
.p-price .badge { position: static; }
.p-desc { color: #3b4458; margin-bottom: 22px; font-size: 1rem; }
.opt { margin-bottom: 18px; }
.opt-label { font-weight: 600; font-size: .9rem; margin-bottom: 8px; display: block; }
.opt-label span { font-weight: 400; color: var(--muted); }
.opt-values { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-values button { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 500; transition: .15s; }
.opt-values button:hover { border-color: var(--brand); }
.opt-values button.is-active { border-color: var(--brand-dark); background: var(--brand-dark); color: #fff; }
.opt textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; resize: vertical; font-size: .92rem; }
.opt textarea:focus { outline: none; border-color: var(--accent); }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 14px; }
.buy-row .btn-primary { flex: 1; min-width: 200px; }
.p-perks { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }
.p-perks div { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.p-perks .icon { color: var(--brand); width: 18px; height: 18px; }

/* ---------- Cómo pedir ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
.step-n { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--chip); position: absolute; top: 10px; right: 18px; line-height: 1; }
.step .benefit-ic { margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 16px; padding: 4px 20px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--brand); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; }
.cta-band { background: linear-gradient(120deg, var(--brand-deep), var(--brand-dark)); color: #fff; border-radius: var(--radius); padding: 40px; text-align: center; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.cta-band p { color: #c9d3ee; margin-bottom: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .shelf-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .cat-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 120px; }
  .menu-btn { display: inline-grid; }
  .header-row { gap: 10px; height: auto; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  .logo img { height: 38px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .search input { height: 44px; }
  .head-link span { display: none; }
  .cat-nav {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 86%); background: #fff; z-index: 90; border: 0;
    transform: translateX(-100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); overflow-y: auto;
  }
  .menu-open .site-header { z-index: 95; }
  .menu-open .cat-nav { transform: none; box-shadow: 0 0 0 100vmax rgba(10, 17, 40, .45); }
  .menu-open { overflow: hidden; }
  .cat-nav .container { padding: 0; }
  .nav-mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .nav-mobile-head img { height: 36px; }
  .nav-list { flex-direction: column; align-items: stretch; height: auto; padding: 10px; gap: 2px; }
  .nav-item { flex-direction: column; align-items: stretch; height: auto; }
  .nav-link { justify-content: space-between; padding: 14px 12px; font-size: 1rem; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 6px 8px; min-width: 0; }
  .has-drop:hover .drop { display: none; }
  .has-drop.is-open .drop { display: block; }
  .has-drop:hover .chev { transform: none; }
  .has-drop.is-open .chev { transform: rotate(180deg); }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .nav-link { background: var(--chip); justify-content: center; }
  .cat-cards { margin-top: 20px; }
  .promo-grid, .ship, .stats, .product { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .filters { display: none; }
  .chip-filters { display: flex; }
  .product { gap: 24px; padding: 18px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar { font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .topbar .icon { vertical-align: -3px; margin-right: 4px; }
  .hero { height: 520px; }
  .slide { background: linear-gradient(180deg, rgba(10, 17, 40, .55), rgba(10, 17, 40, .92)), var(--img) center/cover; }
  .hero-cta .btn { flex: 1; }
  .cat-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card-body { flex-direction: column; padding: 12px; gap: 8px; }
  .cat-card p { display: none; }
  .cat-card h3 { font-size: .92rem; }
  .cat-ic { width: 34px; height: 34px; }
  .chips-track { grid-auto-columns: 128px; gap: 10px; }
  .shelf-box { padding: 16px; border-radius: 16px; }
  .shelf-head h2 { font-size: 1.08rem; }
  .shelf-head h2 span { display: block; font-size: .85rem; }
  .link-more { display: none; }
  .shelf-track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
  .promo { grid-template-columns: 1fr; min-height: 0; }
  .promo-art { display: none; }
  .stats { padding: 26px; }
  .stats-grid strong { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid .card { padding: 8px; }
  .card-title { font-size: .88rem; }
  .price { font-size: .95rem; }
  .btn-add { width: 34px; height: 34px; }
  .steps { grid-template-columns: 1fr; }
  .fab-cart { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .buy-row .btn { flex: 1 1 100%; }
  .cta-band { padding: 28px 20px; }
}

/* =========================================================
   CHECKOUT Y MI PEDIDO
   ========================================================= */
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.loading-box { padding: 80px 0; text-align: center; color: var(--muted); }
.cart-bs { font-size: .85rem; color: var(--muted); text-align: right; margin-top: -6px; }
.btn-wa-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: #17924a; font-weight: 500; }
.btn-wa-link .icon { width: 16px; height: 16px; }

/* Barra de pasos */
.steps-bar { list-style: none; display: flex; gap: 8px; padding: 0; margin: 16px 0 0; flex-wrap: wrap; counter-reset: paso; }
.steps-bar li { counter-increment: paso; display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); font-weight: 500; }
.steps-bar li::before { content: counter(paso); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #dfe3ea; color: var(--muted); font-size: .75rem; font-weight: 700; }
.steps-bar li + li::after { content: ""; order: -1; width: 18px; height: 2px; background: #d5dae3; }
.steps-bar li.is-done::before { background: var(--wa); color: #fff; content: "\2713"; }
.steps-bar li.is-active { color: var(--ink); font-weight: 600; }
.steps-bar li.is-active::before { background: var(--brand-dark); color: #fff; }

/* Estructura del checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.co-main { display: grid; gap: 16px; }
.co-card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 0; margin: 0; min-width: 0; }
fieldset.co-card { display: grid; gap: 14px; }
.co-card legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; display: flex; align-items: center; gap: 10px; }
.co-card legend + * { clear: both; }
.co-n { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-dark); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.co-grid[hidden] { display: none; }
.co-wide { grid-column: 1 / -1; }
.co-field { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: #2b3448; }
.co-field small { font-weight: 400; color: var(--muted); }
.co-field input, .co-field select, .co-field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; font-size: .95rem; font-weight: 400; background: #fff; outline: none; transition: border .15s;
}
.co-field input:focus, .co-field select:focus, .co-field textarea:focus { border-color: var(--accent); }
.co-field input[type=file] { padding: 9px; font-size: .85rem; }
.co-check { display: flex; align-items: center; gap: 10px; font-size: .9rem; cursor: pointer; }
.co-check input { width: 18px; height: 18px; accent-color: var(--brand-dark); }
.co-note { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: #3b4458; background: var(--chip); padding: 12px 14px; border-radius: 12px; margin: 0; }
.co-note .icon { color: var(--brand-dark); margin-top: 2px; }
.co-error { background: #fee2e2; color: #991b1b; padding: 11px 14px; border-radius: 12px; font-size: .9rem; }
.co-error[hidden] { display: none; }

/* Opciones (entrega / pago) */
.choices { display: grid; gap: 10px; }
.choice { cursor: pointer; display: block; position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-box { display: grid; gap: 4px; padding: 14px 16px 14px 46px; border: 1.5px solid var(--line); border-radius: 14px; position: relative; transition: border .15s, background .15s; }
.choice-box::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #b8c0cf; transition: .15s; }
.choice:hover .choice-box { border-color: #b9c6ea; }
.choice input:checked + .choice-box { border-color: var(--brand-dark); background: #f5f8ff; }
.choice input:checked + .choice-box::before { border: 6px solid var(--brand-dark); }
.choice input:focus-visible + .choice-box { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.choice.is-disabled { opacity: .45; cursor: not-allowed; }
.choice-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.choice-top em { font-style: normal; font-size: .85rem; font-weight: 600; color: var(--brand-dark); white-space: nowrap; }
.choice-box small { color: var(--muted); font-size: .84rem; line-height: 1.45; }
.tag-moneda { background: var(--chip); padding: 2px 8px; border-radius: 6px; font-size: .75rem !important; }

/* Resumen */
.co-side { position: sticky; top: calc(var(--header-h) + 16px); }
.co-summary { display: grid; gap: 14px; }
.co-sum-head { display: flex; justify-content: space-between; align-items: center; }
.co-sum-head h2, .h-small { font-size: 1.05rem; margin: 0 0 4px; }
.co-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 6px 0; }
.co-item-plain { grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); padding: 10px 0; }
.co-thumb { position: relative; width: 52px; height: 52px; }
.co-thumb > img, .co-thumb > .ph { border-radius: 10px; width: 52px; height: 52px; object-fit: cover; overflow: hidden; }
.co-thumb .ph .icon { width: 22px; height: 22px; }
.co-thumb .ph span { display: none; }
.co-thumb b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; display: grid; place-items: center; padding: 0 5px; }
.co-item-info { display: grid; gap: 2px; min-width: 0; font-size: .88rem; }
.co-item-info small { color: var(--muted); font-size: .78rem; }
.co-item-price { font-weight: 600; font-size: .9rem; white-space: nowrap; }
.co-totals { margin: 0; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.co-totals > div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.co-totals dt { color: var(--muted); }
.co-totals dd { margin: 0; text-align: right; font-weight: 600; }
.co-totals dd small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.co-total { font-size: 1.15rem !important; padding-top: 6px; border-top: 1px dashed var(--line); }
.co-total dt { color: var(--ink) !important; font-weight: 700; }
.co-total dd { font-family: var(--font-head); font-size: 1.3rem; }
.co-bs.is-main dd { color: var(--brand-dark); font-size: 1.05rem; }
.co-legal { font-size: .76rem; color: var(--muted); text-align: center; }

/* Mi pedido */
.track-wrap { max-width: 560px; margin: 0 auto; display: grid; gap: 16px; }
.track-card { display: grid; gap: 12px; justify-items: start; }
.track-card h1 { font-size: 1.8rem; }
.track-form { display: grid; gap: 12px; width: 100%; }
.mine { display: grid; }
.mine-item { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.mine-item:last-child { border: 0; }
.mine-item .icon { margin-left: auto; color: var(--muted); }
.estado-badge, .rep-estado { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--chip); color: var(--brand-dark); }
.estado-badge[data-estado=cancelado], .rep-estado[data-e=rechazado] { background: #fee2e2; color: #991b1b; }
.estado-badge[data-estado=entregado], .estado-badge[data-estado=en_produccion], .rep-estado[data-e=aprobado] { background: #dcfce7; color: #166534; }
.estado-badge[data-estado=pendiente_pago] { background: #fef3c7; color: #92400e; }
.success-banner { display: flex; gap: 12px; align-items: center; background: #dcfce7; color: #14532d; padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; }
.success-banner > .icon { width: 26px; height: 26px; flex-shrink: 0; }
.order-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.order-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.timeline { list-style: none; margin: 0 0 20px; padding: 20px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; overflow-x: auto; }
.timeline li { flex: 1; min-width: 110px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; position: relative; font-size: .8rem; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 3px; background: #e1e5ec; z-index: 0; }
.timeline li:first-child::before { display: none; }
.timeline li.is-done::before, .timeline li.is-current::before { background: var(--wa); }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; background: #e1e5ec; display: grid; place-items: center; position: relative; z-index: 1; color: #fff; }
.tl-dot .icon { width: 15px; height: 15px; stroke-width: 3; }
.timeline li.is-done .tl-dot { background: var(--wa); }
.timeline li.is-current .tl-dot { background: var(--brand-dark); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand-dark) 18%, transparent); }
.timeline li.is-current { color: var(--ink); font-weight: 600; }
.tl-label { line-height: 1.25; }
.timeline small { font-size: .72rem; color: var(--muted); font-weight: 400; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.order-main, .order-side { display: grid; gap: 16px; }
.estado-card { display: grid; gap: 10px; justify-items: start; }
.estado-card h2 { font-size: 1.3rem; }
.estado-card p { color: #3b4458; }
.estado-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--chip); color: var(--brand-dark); display: grid; place-items: center; }
.estado-ic .icon { width: 24px; height: 24px; }
.estado-card.is-ok .estado-ic { background: #dcfce7; color: #166534; }
.estado-card.is-cancel { border-left: 4px solid var(--sale); }
.guia { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay-card { display: grid; gap: 16px; }
.pay-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.pay-head .kicker { margin-bottom: 4px; }
.pay-amount { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; color: var(--brand-dark); line-height: 1.1; }
.countdown { background: #fef3c7; color: #78350f; border-radius: 14px; padding: 10px 14px; display: grid; text-align: right; font-size: .78rem; }
.countdown strong { font-size: 1.15rem; font-family: var(--font-head); }
.pay-data { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.pay-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 10px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.pay-row:last-child { border-bottom: 0; }
.pay-row span { color: var(--muted); }
.pay-row strong { word-break: break-all; }
.copy { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; color: var(--brand-dark); background: var(--chip); padding: 6px 10px; border-radius: 8px; }
.copy .icon { width: 14px; height: 14px; }
.copy:hover { background: var(--brand-dark); color: #fff; }
.report { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.report h3 { font-size: 1.1rem; }
.report .btn { justify-self: start; }
.rep-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; flex-wrap: wrap; }
.rep-row:last-child { border: 0; }
.order-side p { margin: 0; font-size: .92rem; }

@media (max-width: 960px) {
  .checkout, .order-grid { grid-template-columns: 1fr; }
  .co-side { position: static; }
}
@media (max-width: 640px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-card { padding: 18px 16px; }
  .steps-bar li:not(.is-active) { font-size: 0; gap: 0; }
  .steps-bar li + li::after { width: 10px; }
  .pay-row { grid-template-columns: 1fr auto; }
  .pay-row span { grid-column: 1 / -1; font-size: .8rem; }
  .countdown { text-align: left; width: 100%; }
  .timeline { padding: 16px 8px; }
  .timeline li { min-width: 84px; font-size: .72rem; }
  .report .btn { justify-self: stretch; }
}
.faq-list { margin: 0 0 16px; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
