/**
 * Tienda en línea — Janna's Boutique
 * Mismos tokens que la landing (brand.css), versión limpia: crema, blanco y rosa con acento dorado.
 */
@import url("brand.css");

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.t {
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.55;
    color: var(--fg);
    background: var(--cream);
    min-height: 100vh;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.t-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.t-skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: #fff; padding: 8px 12px; z-index: 99; }
.t-skip:focus { left: 8px; }
.t-muted { color: var(--muted); }
.t-wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .t-wrap { padding-inline: 28px; } }

/* ── Tipografía ── */
.t-display, .t-h1, .t-h2, .t-h3, .t-logo { font-family: var(--font-display); letter-spacing: -0.015em; }
.t-display { font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.05; font-weight: 600; }
.t-display em { font-style: italic; color: var(--brand-dark); }
.t-h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1.1; font-weight: 600; }
.t-h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.15; font-weight: 600; }
.t-h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; }
.t-h2--grid { margin: 8px 0 18px; }
.t-h2 .t-muted { font-family: var(--font-ui); font-size: 0.9rem; font-weight: 500; }
.t-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 8px; }
.t-lead { color: var(--muted); font-size: 1.02rem; max-width: 38rem; margin-top: 10px; }
.t-link { color: var(--brand-dark); font-weight: 600; font-size: 14px; border-bottom: 1px solid transparent; }
.t-link:hover { border-color: currentColor; }

/* ── Botones ── */
.t-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 22px; border-radius: 999px;
    background: var(--fg); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
    transition: background .2s, transform .2s, opacity .2s;
}
.t-btn:hover { background: var(--brand-dark); }
.t-btn:active { transform: scale(.98); }
.t-btn[disabled] { opacity: .4; pointer-events: none; }
.t-btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.t-btn--ghost:hover { background: var(--fg); color: #fff; }
.t-btn--line { background: #fff; color: var(--fg); box-shadow: inset 0 0 0 1px var(--border); }
.t-btn--line:hover { background: var(--fg); color: #fff; box-shadow: none; }
.t-btn--sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.t-btn--block { width: 100%; }
.t-btn.is-done { background: var(--ok); }

/* ── Barra de envío + header ── */
.t-bar {
    position: relative; background: var(--fg); color: var(--dark-text);
    font-size: 12px; text-align: center; padding: 8px 16px; letter-spacing: 0.02em;
}
.t-bar strong { color: #fff; }
.t-bar__track { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.t-bar__fill { display: block; height: 100%; width: 0; background: var(--gold); transition: width .6s ease; }

.t-head { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 244, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.t-head__in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.t-logo { font-size: 22px; font-weight: 700; white-space: nowrap; }
.t-logo span { font-family: var(--font-ui); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.t-nav { display: none; }
.t-nav > a { font-size: 14px; font-weight: 500; padding: 6px 2px; border-bottom: 1px solid transparent; }
.t-nav > a:hover { border-color: var(--brand); }
.t-nav__cats { display: none; }
.t-head__tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.t-icon { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; }
.t-icon:hover { background: var(--brand-soft); }
.t-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.t-count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.t-count.is-bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.t-search { display: none; }
.t-search input { width: 220px; height: 40px; border-radius: 999px; border: 1px solid var(--border); background: #fff; padding: 0 16px; font-size: 13px; }
.t-search input:focus { outline: none; border-color: var(--brand); }

@media (max-width: 1023px) {
    .t-head__menu { margin-left: -8px; }
    /* El desenfoque del encabezado atrapaba al menú fijo dentro de sus 64 px: se quita mientras está abierto. */
    body.menu-open .t-head { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--cream); z-index: 61; }
    .t-nav.is-open {
        display: flex; flex-direction: column; gap: 4px;
        position: fixed; inset: 0 auto 0 0; top: 0; width: min(84vw, 340px); z-index: 60;
        background: var(--cream); padding: 72px 24px 24px; box-shadow: 20px 0 60px rgba(61, 42, 48, .18);
        overflow-y: auto;
    }
    .t-nav.is-open > a { font-family: var(--font-display); font-size: 1.5rem; padding: 6px 0; }
    .t-nav.is-open .t-nav__cats { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
    .t-nav.is-open .t-nav__cats a { color: var(--muted); }
    body.menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(61, 42, 48, .35); z-index: 50; }
}
@media (min-width: 1024px) {
    .t-head__menu { display: none; }
    .t-nav { display: flex; align-items: center; gap: 18px; margin-left: 24px; }
    .t-nav > a { white-space: nowrap; }
}
@media (min-width: 1100px) {
    .t-search { display: block; }
    .t-search input { width: 150px; }
}
@media (min-width: 1240px) {
    .t-nav { gap: 22px; margin-left: 28px; }
    .t-search input { width: 220px; }
}

/* ── Hero ── */
.t-hero { padding: 40px 0 28px; background:
    radial-gradient(60rem 30rem at 85% -10%, var(--brand-soft), transparent 60%),
    radial-gradient(40rem 20rem at -10% 110%, var(--gold-soft), transparent 60%); }
.t-hero__in { display: grid; gap: 28px; align-items: end; }
.t-hero .t-lead { font-size: 1.08rem; }
.t-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.t-perks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.t-perks li { background: rgba(255, 255, 255, .7); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; font-size: 13px; color: var(--muted); }
.t-perks strong { display: block; color: var(--fg); font-size: 14px; }
@media (min-width: 900px) {
    .t-hero { padding: 72px 0 48px; }
    .t-hero__in { grid-template-columns: 1.4fr 1fr; gap: 56px; }
}

/* ── Categorías y secciones ── */
.t-cats { display: flex; gap: 10px; overflow-x: auto; padding-block: 18px; scrollbar-width: none; }
.t-cats::-webkit-scrollbar { display: none; }
.t-cat { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-weight: 500; font-size: 14px; transition: border-color .2s; }
.t-cat:hover { border-color: var(--brand); }
.t-cat__n { font-size: 11px; color: var(--muted); }
.t-section { padding-block: 28px; }
.t-section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.t-pagehead { padding-top: 28px; padding-bottom: 8px; }
.t-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); margin: 18px 0 12px; }
.t-crumbs a:hover { color: var(--brand-dark); }
.t-pagehead .t-crumbs { margin-top: 0; }

/* ── Kits ── */
.t-kits { display: grid; gap: 14px; }
@media (min-width: 700px) { .t-kits { grid-template-columns: repeat(3, 1fr); } }
.t-kit { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--border); transition: transform .25s, box-shadow .25s; }
.t-kit:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(61, 42, 48, .35); }
.t-kit h2, .t-kit h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.t-kit p { color: var(--muted); font-size: 14px; flex: 1; }
.t-kit .t-btn { align-self: flex-start; margin-top: 6px; }
.t-kit__promise { align-self: flex-start; display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--warn); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.t-kit__thumbs { display: flex; margin-bottom: 6px; }
.t-kit__thumbs img { width: 64px; height: 84px; object-fit: cover; border-radius: 12px; border: 3px solid #fff; margin-right: -14px; box-shadow: 0 4px 14px rgba(61, 42, 48, .12); }
.t-kitnote { display: block; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px dashed var(--gold); font-size: 13px; font-weight: 500; }
.t-kitnote .t-kit__promise { margin-right: 8px; }

/* ── Filtros ── */
.t-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.t-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding-bottom: 2px; }
.t-chips::-webkit-scrollbar { display: none; }
.t-chip { flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; font-size: 13px; border: 1px solid var(--border); background: transparent; transition: all .2s; }
.t-chip:hover { border-color: var(--fg); }
.t-chip.is-on { background: var(--fg); border-color: var(--fg); color: #fff; }
.t-sort select { height: 38px; border-radius: 999px; border: 1px solid var(--border); background: #fff; padding: 0 14px; font-size: 13px; }

/* ── Rejilla y tarjetas ── */
.t-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
@media (min-width: 700px) { .t-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; } }
@media (min-width: 1040px) { .t-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.t-card { position: relative; display: flex; flex-direction: column; }
.t-card__img { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; background: var(--nude); }
.t-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.t-card:hover .t-card__img img { transform: scale(1.04); }
.t-card.is-out .t-card__img img { filter: grayscale(.6) opacity(.7); }
.t-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.t-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .92); color: var(--fg); }
.t-badge--sale { background: var(--brand); color: #fff; }
.t-badge--last { background: var(--fg); color: var(--gold-soft); }
.t-badge--out { background: var(--muted); color: #fff; }
.t-badge--bo { background: var(--fg); color: #fff; }
.t-card.is-backorder .t-card__img img { opacity: .9; }
.t-fav { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; z-index: 2; transition: transform .2s; }
.t-fav svg { width: 18px; height: 18px; fill: none; stroke: var(--fg); stroke-width: 1.8; }
.t-fav[aria-pressed="true"] svg { fill: var(--brand); stroke: var(--brand); }
.t-fav:active { transform: scale(.9); }
.t-fav--lg { top: 14px; right: 14px; width: 44px; height: 44px; }
.t-card__body { padding-top: 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.t-card__brand { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.t-card__title { font-family: var(--font-ui); font-size: 14px; font-weight: 500; line-height: 1.35; }
.t-card__title a:hover { color: var(--brand-dark); }
.t-card .t-btn, .t-card .t-pick { margin-top: auto; }
.t-card__body > .t-price { margin-bottom: 8px; }
.t-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-weight: 600; }
.t-price s { color: var(--muted); font-weight: 400; font-size: .9em; }
.t-price--lg { font-size: 1.5rem; margin: 10px 0 14px; align-items: center; }
.t-price--lg s { font-size: 1rem; }

/* ── Ficha de producto ── */
.t-pdp { display: grid; gap: 24px; padding-bottom: 20px; }
@media (min-width: 860px) { .t-pdp { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.t-pdp__media { position: relative; border-radius: 22px; overflow: hidden; background: var(--nude); aspect-ratio: 3 / 4; }
.t-pdp__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 860px) { .t-pdp__info { position: sticky; top: 90px; padding-top: 12px; } }
.t-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.t-tags li { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--border); }
.t-tags a:hover { color: var(--brand-dark); }
.t-pdp__desc { color: var(--fg); opacity: .85; margin-bottom: 18px; }
.t-stock { font-size: 13px; font-weight: 600; color: var(--ok); margin-bottom: 10px; }
.t-stock--last { color: var(--brand-dark); }
.t-stock--bo { color: var(--fg); font-weight: 500; }
.t-line__sub .t-bo, .t-mini .t-bo { color: var(--brand-dark); font-weight: 600; }
.t-stock--last::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 8px; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.t-stock--out { color: var(--muted); }
.t-buy { display: flex; gap: 10px; }
.t-buy .t-btn { flex: 1; }
.t-qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; background: #fff; height: 46px; }
.t-qty button { width: 38px; height: 100%; font-size: 18px; }
.t-qty input { width: 34px; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; }
.t-qty input::-webkit-outer-spin-button, .t-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.t-wa { display: inline-block; margin-top: 14px; }
.t-ship { margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.t-ship p + p { margin-top: 6px; }
.t-ship strong { color: var(--fg); }

/* ── Armador de kit ── */
.t-pick { display: flex; align-items: center; gap: 8px; }
.t-pick .t-btn { flex: 1; }
.t-pick.is-on .t-btn { background: var(--fg); color: #fff; }
.t-pick__n { font-weight: 700; font-size: 13px; }
.t-pick__rm { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: #fff; font-size: 18px; }
.t-card.is-picked .t-card__img { box-shadow: 0 0 0 3px var(--brand); }
.t--kit main { padding-bottom: 96px; }
.t-kitbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -10px 30px -18px rgba(61, 42, 48, .35); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
.t-kitbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.t-kitbar__in > div { display: flex; flex-direction: column; font-size: 13px; }
.t-kitbar strong { font-size: 15px; }

/* ── Carrito / checkout ── */
.t-cart { display: grid; gap: 24px; padding-bottom: 20px; }
@media (min-width: 900px) { .t-cart { grid-template-columns: 1fr 360px; align-items: start; } }
.t-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: start; }
.t-line img { width: 76px; height: 100px; object-fit: cover; border-radius: 12px; background: var(--nude); }
.t-line__title { font-weight: 500; font-size: 14px; }
.t-line__sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.t-line__actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.t-line__actions .t-qty { height: 36px; }
.t-line__rm { font-size: 12px; color: var(--muted); text-decoration: underline; }
.t-line__price { text-align: right; font-weight: 600; font-size: 14px; }
.t-line__price s { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.t-summary { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.t-summary .t-link { text-align: center; }
@media (min-width: 900px) { .t-summary--sticky { position: sticky; top: 90px; } }
.t-totals { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.t-totals > div { display: flex; justify-content: space-between; gap: 12px; }
.t-totals dd { text-align: right; }
.t-totals__big { padding-top: 10px; border-top: 1px solid var(--border); font-size: 1.15rem; font-weight: 700; }
.t-save { color: var(--ok); font-weight: 600; }
.t-progress p { font-size: 13px; margin-bottom: 8px; }
.t-progress__track { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--brand-soft); }
.t-progress__fill { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--gold)); transition: width .5s ease; }
.t-progress__track i { position: absolute; top: -3px; width: 2px; height: 12px; background: var(--fg); opacity: .3; }
.t-progress__labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; }
.t-progress.is-free p { color: var(--ok); font-weight: 600; }
.t-mini { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.t-mini li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.t-mini img { width: 40px; height: 52px; object-fit: cover; border-radius: 8px; }
.t-mini li:not(:has(img)) { grid-template-columns: 1fr auto; }

.t-checkout { display: grid; gap: 20px; padding-bottom: 40px; }
@media (min-width: 900px) { .t-checkout { grid-template-columns: 1fr 380px; align-items: start; } }
.t-checkout__main { display: flex; flex-direction: column; gap: 16px; }
.t-box { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 20px; }
fieldset.t-box legend { float: left; width: 100%; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 14px; }
.t-fields { clear: both; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.t-f { grid-column: span 6; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
@media (min-width: 600px) { .t-f { grid-column: span 3; } .t-f--full { grid-column: span 6; } .t-f--wide { grid-column: span 4; } .t-f--narrow { grid-column: span 2; } }
.t-f input, .t-f select, .t-f textarea { height: 46px; border: 1px solid var(--border); border-radius: 12px; padding: 0 14px; background: var(--bg); font-size: 15px; font-weight: 400; }
.t-f textarea { height: auto; padding: 10px 14px; resize: vertical; }
.t-f input:focus, .t-f select:focus, .t-f textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.t-f .is-bad { border-color: var(--err); }
.t-radios { clear: both; display: grid; gap: 10px; margin-bottom: 16px; }
@media (min-width: 600px) { .t-radios { grid-template-columns: 1fr 1fr; } }
.t-radio { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--border); border-radius: 14px; cursor: pointer; }
.t-radio:has(input:checked) { border-color: var(--fg); background: var(--bg); }
.t-radio input { margin-top: 4px; accent-color: var(--fg); }
.t-radio span { display: flex; flex-direction: column; font-size: 14px; }
.t-radio small { color: var(--muted); font-size: 12px; }
.t-rates { display: grid; gap: 10px; margin-top: 16px; }
.t-rates .t-radio { align-items: center; }
.t-rates .t-radio span { flex: 1; }
.t-rate__price { text-align: right; font-weight: 700; font-size: 14px; }
.t-rate__price s { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.t-rate__price em { font-style: normal; color: var(--ok); }
.t-check { clear: both; display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.t-check input { width: 18px; height: 18px; accent-color: var(--fg); }
.t-check + .t-f { margin-top: 12px; }
.t-error { color: var(--err); background: var(--err-bg); border: 1px solid var(--err-border); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.t-alert { color: var(--warn); background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: 12px; padding: 10px 12px; font-size: 13px; margin-top: 12px; }
.t-fine { font-size: 12px; text-align: center; }

/* ── Pedido ── */
.t-order .t-lead { margin-bottom: 8px; }
.t-mock { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; align-items: center; }
.t-mock .t-alert { width: 100%; }
.t-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 22px; counter-reset: s; }
.t-steps li { position: relative; padding-top: 14px; font-size: 12px; color: var(--muted); border-top: 3px solid var(--border); }
.t-steps li.is-done { color: var(--fg); font-weight: 600; border-color: var(--brand); }
.t-order__detail { display: grid; gap: 16px; }
@media (min-width: 800px) { .t-order__detail { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.t-order__detail .t-mini { margin-bottom: 16px; }

/* ── Vacíos, quiz, toast, footer ── */
.t-empty { text-align: center; padding: 48px 16px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.t-404 { padding-block: 72px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.t-quiz { margin: auto; width: min(92vw, 460px); border: 0; border-radius: 24px; padding: 28px 24px 24px; background: var(--cream); color: var(--fg); box-shadow: 0 30px 80px -20px rgba(61, 42, 48, .45); }
.t-quiz::backdrop { background: rgba(61, 42, 48, .45); backdrop-filter: blur(3px); }
.t-quiz__close { position: absolute; top: 10px; right: 10px; }
.t-quiz__step { border: 0; display: flex; flex-direction: column; gap: 8px; }
.t-quiz__step legend { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.t-quiz__step button { text-align: left; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--border); font-size: 14px; transition: border-color .2s, transform .15s; }
.t-quiz__step button:hover { border-color: var(--brand); transform: translateX(3px); }
.t-quiz__result h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 6px; }
.t-quiz__result p { color: var(--muted); margin-bottom: 16px; }
.t-quiz__result .t-btn { margin: 0 8px 8px 0; }

.t-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 80; background: var(--fg); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 13px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); display: flex; gap: 12px; align-items: center; max-width: calc(100vw - 32px); }
.t-toast a { color: var(--gold-soft); font-weight: 600; text-decoration: underline; }
.t--kit .t-toast { bottom: 96px; }

.t-foot { margin-top: 48px; background: var(--fg); color: var(--dark-text); padding: 40px 0 20px; font-size: 14px; }
.t-foot__grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .t-foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.t-foot h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.t-foot a { display: block; color: #fff; margin-bottom: 6px; opacity: .85; }
.t-foot a:hover { opacity: 1; }
.t-foot p { color: var(--dark-muted); }
.t-logo--foot { color: #fff; margin-bottom: 10px; opacity: 1 !important; }
.t-logo--foot span { color: var(--dark-muted); }
.t-foot__small { font-size: 13px; margin-bottom: 8px; }
.t-foot__legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--dark-border); font-size: 11px; color: var(--dark-muted); }

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

/* ── Blog ── */
.t-posts { display: grid; gap: 16px; }
@media (min-width: 760px) { .t-posts { grid-template-columns: repeat(2, 1fr); } .t-posts--3 { grid-template-columns: repeat(3, 1fr); } .t-post--lead { grid-column: 1 / -1; } }
.t-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.t-post:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(61, 42, 48, .35); }
.t-post__img { aspect-ratio: 16 / 9; background: var(--nude); overflow: hidden; }
.t-post__img img { width: 100%; height: 100%; object-fit: cover; }
.t-post__body { display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.t-post h2 { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.t-post--lead h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.t-post p { color: var(--muted); font-size: 14px; }
@media (min-width: 760px) { .t-post--lead { flex-direction: row; } .t-post--lead .t-post__img { flex: 1.2; aspect-ratio: auto; min-height: 280px; } .t-post--lead .t-post__body { flex: 1; justify-content: center; padding: 32px; } }
.t-article { max-width: 46rem; padding-bottom: 12px; }
.t-article header { margin-bottom: 28px; }
.t-article__date { font-size: 13px; margin-top: 12px; }
.t-article .t-section { padding-inline: 0; }
.t-article .t-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.t-prose { font-size: 17px; line-height: 1.75; }
.t-prose > * + * { margin-top: 1.1em; }
.t-prose h2 { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; margin-top: 1.8em; }
.t-prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.t-prose ul, .t-prose ol { padding-left: 1.3em; }
.t-prose li + li { margin-top: .4em; }
.t-prose li::marker { color: var(--brand); }
.t-prose a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.t-prose blockquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 18px; font-family: var(--font-display); font-size: 1.25rem; font-style: italic; }
.t-inline-prod { display: flex !important; gap: 14px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; text-decoration: none !important; color: var(--fg) !important; }
.t-inline-prod img { width: 64px; height: 84px; object-fit: cover; border-radius: 10px; }
.t-inline-prod span { display: flex; flex-direction: column; line-height: 1.35; }
.t-inline-prod small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.t-inline-prod strong { font-size: 15px; }
.t-inline-prod em { font-style: normal; color: var(--brand-dark); font-size: 13px; font-weight: 600; }

/* Tablas en artículos del blog */
.b-table { overflow-x: auto; margin: 1.25rem 0; }
.b-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.b-table th, .b-table td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--border); }
.b-table th { background: var(--surface); font-weight: 600; }

/* ── Monedero / Mi cuenta ── */
.t-nav__tag { font-size: 10px; font-weight: 700; color: var(--brand-dark); background: var(--gold-soft); border-radius: 999px; padding: 1px 6px; margin-left: 2px; }
.t-mon-band { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 4px 0 8px; padding: 16px 20px; border-radius: 20px;
    background: linear-gradient(110deg, var(--fg), #4a3a3f); color: #fff; }
.t-mon-band__k { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.t-mon-band__t { flex: 1 1 260px; font-size: 15px; }
.t-mon-band__t strong { color: var(--gold-soft); }
.t-mon-band .t-btn { background: var(--gold-soft); color: var(--fg); }
.t-acc-promo { display: block; padding: 12px 16px; border-radius: 14px; background: var(--gold-soft); font-size: 14px; margin-bottom: 4px; }
.t-acc-lead { max-width: 40rem; margin-top: 8px; }
.t-acc-narrow { max-width: 30rem; }
.t-acc-narrow .t-box, .t-acc-narrow .t-error { margin-top: 16px; }
.t-acc-grid { display: grid; gap: 20px; padding-bottom: 48px; }
@media (min-width: 900px) { .t-acc-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.t-acc-form { display: flex; flex-direction: column; gap: 12px; }
.t-acc-form .t-f { grid-column: auto; }
.t-acc-form details { display: flex; flex-direction: column; gap: 10px; }
.t-acc-form details .t-f { margin-top: 10px; }
.t-acc-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.t-acc-tabs a { flex: 1; text-align: center; padding: 10px; border-radius: 999px; border: 1px solid var(--border); font-weight: 600; font-size: 14px; background: #fff; }
.t-acc-tabs a.is-on { background: var(--fg); color: #fff; border-color: var(--fg); }
.t-acc-tiers { list-style: none; display: grid; gap: 10px; }
.t-acc-tiers li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--border); }
.t-acc-tiers li strong { font-size: 1.15rem; text-align: right; }
.t-acc-tiers li em { grid-column: 2; font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok); text-align: right; }
.t-acc-steps { margin: 18px 0 12px 20px; display: grid; gap: 8px; }
.t-acc-saldo { font-family: var(--font-display); font-size: clamp(2.2rem, 7vw, 3rem); font-weight: 600; line-height: 1; }
.t-acc-saldo small { display: block; font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 6px; }
.t-acc-wallet { display: flex; flex-direction: column; gap: 14px; background: linear-gradient(160deg, #fff, var(--bg)); }
.t-acc-code { text-align: center; padding: 14px; border-radius: 16px; border: 2px dashed var(--gold); background: #fff; }
.t-acc-code__n { font-family: ui-monospace, Menlo, monospace; font-size: clamp(2.4rem, 11vw, 3.4rem); font-weight: 700; letter-spacing: .08em; line-height: 1.2; }
.t-acc-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; margin: 12px 0; }
.t-acc-chip { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; border-radius: 14px; border: 1px solid var(--border); background: #fff; text-align: center; }
.t-acc-chip small { font-size: 11px; color: var(--ok); font-weight: 600; }
.t-acc-chip.is-on { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.t-acc-recibe { margin: 10px 0; font-size: 15px; }
.t-acc-movs { list-style: none; margin-top: 10px; }
.t-acc-movs li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 14px; }
.t-acc-movs li small { display: block; color: var(--muted); font-size: 12px; }
.t-acc-out { grid-column: 1 / -1; }
.t-okmsg { color: var(--ok); background: #eef7ef; border: 1px solid #cfe6d2; border-radius: 12px; padding: 10px 12px; font-size: 14px; margin-top: 12px; }
.t-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.t-acc-grid .t-box .t-h3 { margin-bottom: 4px; }
.t-acc-grid .t-box > .t-btn { margin-top: 4px; }
.t-acc-metodos { margin: 4px 0 12px; }
.t-copy { margin-left: 8px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-size: 12px; font-weight: 600; color: var(--fg); vertical-align: middle; }
.t-copy:hover { background: var(--fg); color: #fff; border-color: var(--fg); }
.t-copy.is-ok { background: var(--ok); color: #fff; border-color: var(--ok); }
.t-file { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed var(--border); border-radius: 16px; background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s; }
.t-file:hover, .t-file:focus-within { border-color: var(--brand); background: #fff; }
.t-file.is-on { border-style: solid; border-color: var(--ok); background: var(--ok-bg); }
.t-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.t-file__ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
.t-file__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--fg); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.t-file img { flex: none; width: 48px; height: 48px; object-fit: cover; border-radius: 10px; }
.t-file__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.t-file__txt strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-file__txt small { font-size: 12px; color: var(--muted); }
.t-acc-sub { font-size: 15px; font-weight: 700; margin: 22px 0 6px; padding-top: 16px; border-top: 1px solid var(--border); }
.t-acc-recs { list-style: none; }
.t-acc-recs li + li { border-top: 1px solid var(--border); }
.t-acc-recs a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; font-size: 14px; }
.t-acc-recs a small { display: block; color: var(--muted); font-size: 12px; }
.t-acc-recs__st { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.t-acc-recs__go { font-size: 12px; font-weight: 700; color: var(--brand-dark); }
.t-st { font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.t-st--ok { background: var(--ok-bg); color: var(--ok); }
.t-st--wait { background: var(--gold-soft); color: var(--warn); }
.t-st--todo { background: var(--brand-soft); color: var(--brand-dark); }
.t-st--off { background: #eee; color: #777; }
.t-acc-wait { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; border-color: var(--gold); background: #fffaf0; }
.t-acc-wait__ico { font-size: 28px; line-height: 1; }
.t-acc-wait p + p { margin-top: 6px; }
