/* ============================================================================
   COSTURA BETOUGH · HOJA DE ESTILOS PRINCIPAL
   Contiene: base, botones animados, cabecera, tienda, carrito, checkout,
   cuenta del cliente, notificaciones y páginas de estado.
   ============================================================================ */

/* ------------------------------ Variables -------------------------------- */
:root {
    --bg: #fbf7f2;
    --bg-soft: #f6eee5;
    --surface: #fffdfa;
    --surface-2: #fff8f1;
    --ink: #15131f;
    --ink-soft: #2c2736;
    --muted: #6f6878;
    --line: #eadfd3;
    --line-soft: #f3ebe2;
    --brand: #f2552c;
    --brand-600: #dd451f;
    --brand-700: #b83716;
    --brand-soft: #ffece4;
    --gold: #f0b429;
    --wa: #25d366;
    --wa-dark: #0f8f45;
    --wa-soft: #e7f9ee;
    --green: #0e8a5f;
    --green-soft: #e5f7ef;
    --red: #c62f2f;
    --red-soft: #fdeaea;
    --blue: #2563eb;
    --blue-soft: #e8effd;
    --purple: #7c3aed;
    --purple-soft: #f1ebfe;
    --amber: #a85806;
    --amber-soft: #fff4df;
    --teal: #0f766e;
    --teal-soft: #e4f6f3;
    --shadow-xs: 0 1px 2px rgba(21, 19, 31, .05);
    --shadow-sm: 0 4px 14px -6px rgba(21, 19, 31, .12);
    --shadow-md: 0 18px 40px -22px rgba(21, 19, 31, .28);
    --shadow-lg: 0 36px 80px -36px rgba(84, 37, 16, .38);
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --ease: cubic-bezier(.2, .7, .3, 1);
}

/* -------------------------------- Base ----------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background:
        radial-gradient(1200px 600px at 85% -10%, #ffe9dc 0%, transparent 55%),
        radial-gradient(900px 500px at -10% 20%, #fff2e4 0%, transparent 50%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
[hidden] { display: none !important; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .9em;
    background: var(--bg-soft);
    padding: 2px 6px;
    border-radius: 6px;
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 800; }
h3 { font-size: 1.02rem; letter-spacing: -.015em; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.muted { color: var(--muted); }
.ta-right { text-align: right; }
.ta-center { text-align: center; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: fixed; left: 16px; top: -60px; z-index: 999;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid rgba(242, 85, 44, .35); outline-offset: 2px; }

/* ------------------------------- Iconos ---------------------------------- */
.icon { width: 22px; height: 22px; flex: 0 0 auto; vertical-align: -.18em; }
.icon--xs { width: 15px; height: 15px; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 28px; height: 28px; }
.icon--xl { width: 46px; height: 46px; }

/* ------------------------------- Botones --------------------------------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    transition: transform .2s var(--ease), box-shadow .3s var(--ease),
                background-color .2s, color .2s, border-color .2s;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, .38) 48%, transparent 72%);
    transform: translateX(-130%);
    transition: transform .65s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(.975); }

.btn--primary {
    background: linear-gradient(135deg, var(--brand) 0%, #ff7a45 100%);
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(242, 85, 44, .7);
}
.btn--primary:hover { box-shadow: 0 18px 34px -14px rgba(242, 85, 44, .75); }

.btn--wa {
    background: linear-gradient(135deg, #20bd5a 0%, #2fdc74 100%);
    color: #06361b;
    box-shadow: 0 12px 24px -14px rgba(37, 211, 102, .85);
}
.btn--wa:hover { box-shadow: 0 18px 34px -14px rgba(37, 211, 102, .95); }

.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 12px 24px -16px rgba(21, 19, 31, .8); }
.btn--dark:hover { background: #221f2e; }

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn--ghost:hover { background: var(--surface); border-color: #dccbbb; box-shadow: var(--shadow-sm); }

.btn--disabled,
.btn:disabled {
    background: #ece5dd;
    color: #9a9086;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}
.btn--disabled::after,
.btn:disabled::after { display: none; }

.btn--lg { padding: 15px 28px; font-size: 15px; }
.btn--sm { padding: 9px 16px; font-size: 12.5px; }
.btn--xs { padding: 6px 11px; font-size: 11.5px; gap: .35rem; }
.btn--block { width: 100%; }

.btn--glow { animation: btnGlow 2.8s ease-in-out infinite; }
@keyframes btnGlow {
    0%, 100% { box-shadow: 0 12px 26px -14px rgba(37, 211, 102, .8); }
    50% { box-shadow: 0 14px 38px -8px rgba(37, 211, 102, .65); }
}

.btn__spinner {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    transform: scale(0);
    animation: rippleOut .65s ease-out forwards;
    pointer-events: none;
    z-index: 1;
}
@keyframes rippleOut { to { transform: scale(3); opacity: 0; } }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand-600);
    white-space: nowrap;
    transition: gap .2s var(--ease), color .2s;
}
.link-arrow:hover { gap: .6rem; color: var(--brand-700); }

/* ------------------------------- Avisos ---------------------------------- */
.alert {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    border: 1px solid transparent;
    margin: 16px 0;
}
.alert > span { flex: 1; }
.alert--success { background: var(--green-soft); color: #0a5c42; border-color: #bfe9d8; }
.alert--danger { background: var(--red-soft); color: #9b2020; border-color: #f6cdcd; }
.alert--info { background: var(--blue-soft); color: #1c4ba8; border-color: #cbdafb; }
.alert--warning { background: var(--amber-soft); color: #8a4a04; border-color: #f5dfb2; }
.alert--float { box-shadow: var(--shadow-sm); margin-top: 18px; }
.alert__close {
    background: none; border: 0; padding: 2px; color: inherit; opacity: .65;
    border-radius: 6px; display: grid; place-items: center;
}
.alert__close:hover { opacity: 1; background: rgba(0, 0, 0, .06); }

/* ------------------------------- Píldoras -------------------------------- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.4;
    white-space: nowrap;
}
.pill--green { background: var(--green-soft); color: #076a49; }
.pill--amber { background: var(--amber-soft); color: #91500a; }
.pill--red { background: var(--red-soft); color: #a02525; }
.pill--gray { background: #f2ece6; color: #6d6257; }
.pill--blue { background: var(--blue-soft); color: #1c4ba8; }
.pill--purple { background: var(--purple-soft); color: #5b21b6; }
.pill--teal { background: var(--teal-soft); color: #0b5f58; }

.deadline-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    background: #f2ece6;
    color: #6d6257;
}
.deadline-pill--ok { background: var(--green-soft); color: var(--green); }
.deadline-pill--warning { background: var(--amber-soft); color: var(--amber); }
.deadline-pill--danger { background: var(--red-soft); color: var(--red); }
.deadline-pill--muted { background: #f2ece6; color: var(--muted); }

/* ------------------------------- Formularios ----------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label,
.field > label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-soft);
    display: flex;
    align-items: baseline;
    gap: .3rem;
    flex-wrap: wrap;
}
.field label span { color: var(--brand); }
.field label small { font-weight: 500; color: var(--muted); }
.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder,
.field textarea::placeholder { color: #a99f94; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(242, 85, 44, .65);
    box-shadow: 0 0 0 4px rgba(242, 85, 44, .12);
}
.field input:disabled { background: var(--bg-soft); color: var(--muted); cursor: not-allowed; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #e28f8f; background: #fffafa; }
.field-error { font-size: 11.5px; color: var(--red); font-weight: 600; }
.field-hint { font-size: 11.5px; color: var(--muted); font-weight: 500; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 6px 0 18px;
    cursor: pointer;
}
.checkbox input {
    width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand);
    flex: 0 0 auto;
}
.checkbox--compact { font-size: 12px; margin: 8px 0 0; }
.checkbox.has-error span { color: var(--red); }

.password-wrap { position: relative; }
.password-wrap input { padding-right: 46px; }
.password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 6px;
    border-radius: 8px;
    display: grid;
    place-items: center;
}
.password-toggle:hover { background: var(--bg-soft); color: var(--ink); }
.password-toggle.is-visible { background: var(--brand-soft); color: var(--brand-700); }

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px; overflow: hidden;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: #fff;
    padding: 3px;
    gap: 2px;
}
.qty-control__btn {
    width: 34px; height: 34px;
    border: 0;
    background: transparent;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--ink);
    transition: background .2s, transform .15s;
}
.qty-control__btn:hover { background: var(--bg-soft); }
.qty-control__btn:active { transform: scale(.9); }
.qty-control input {
    width: 42px;
    border: 0;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    background: transparent;
    padding: 0;
    -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-control--sm .qty-control__btn { width: 28px; height: 28px; }
.qty-control--sm input { width: 34px; font-size: 13px; }

/* ------------------------------- Cabecera -------------------------------- */
.topbar {
    background: var(--ink);
    color: #e7e1ec;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .01em;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px;
}
.topbar__inner > span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__links { display: inline-flex; align-items: center; gap: 18px; }
.topbar__wa { display: inline-flex; align-items: center; gap: .4rem; color: #8ff0b6; }
.topbar__wa:hover { color: #c6ffdb; }
.topbar__ig { display: inline-flex; align-items: center; gap: .4rem; color: #e7e1ec; }
.topbar__ig:hover { color: #fff; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(251, 247, 242, .88);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(21, 19, 31, .45); }
.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 13px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__mark {
    width: 44px; height: 44px;
    border-radius: 14px;
    background: linear-gradient(140deg, var(--brand) 0%, #ff8a4c 100%);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 20px -10px rgba(242, 85, 44, .8);
    transition: transform .25s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
.brand__mark .icon { width: 23px; height: 23px; }
.brand__logo { width: 44px; height: 44px; object-fit: contain; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 16.5px; font-weight: 800; letter-spacing: -.03em; }
.brand__text small { font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }

.header-search {
    flex: 1;
    max-width: 480px;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 4px 5px 4px 14px;
    transition: box-shadow .2s, border-color .2s;
}
.header-search:focus-within {
    border-color: rgba(242, 85, 44, .5);
    box-shadow: 0 0 0 4px rgba(242, 85, 44, .1);
}
.header-search__icon { color: var(--muted); width: 18px; height: 18px; }
.header-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font-size: 13px;
    padding: 8px 0;
}
.header-search input:focus { outline: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
    position: relative;
    width: 42px; height: 42px;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    color: var(--ink-soft);
    transition: background .2s, border-color .2s, transform .15s, color .2s;
}
.icon-btn:hover { background: #fff; border-color: var(--line); transform: translateY(-1px); }
.icon-btn--label { width: auto; padding: 0 11px; font-size: 12.5px; font-weight: 700; }
.icon-btn--danger { color: var(--red); }
.icon-btn--danger:hover { background: var(--red-soft); border-color: #f3c9c9; }
.icon-btn--wa { color: var(--wa-dark); }
.icon-btn--wa:hover { background: var(--wa-soft); border-color: #bfe9cf; }
.icon-btn--sm { width: 32px; height: 32px; border-radius: 9px; }
.icon-btn.is-on { color: var(--gold); background: #fff8e5; border-color: #f4e2b6; }

.cart-link { padding-right: 13px; }
.cart-count {
    position: absolute;
    top: 2px;
    left: 26px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: grid;
    place-items: center;
    border: 2px solid var(--bg);
    line-height: 1;
}
.cart-count.is-bump { animation: badgeBump .45s var(--ease); }
@keyframes badgeBump {
    0% { transform: scale(1); }
    40% { transform: scale(1.45); }
    100% { transform: scale(1); }
}
.badge-dot {
    position: absolute;
    top: 2px;
    right: 3px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    display: grid;
    place-items: center;
    border: 2px solid var(--bg);
}
.badge-dot.is-bump { animation: badgeBump .45s var(--ease); }

.account-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border-radius: 999px; transition: background .2s; }
.account-chip:hover { background: #fff; }
.account-chip__text { display: flex; flex-direction: column; line-height: 1.15; }
.account-chip__text small { font-size: 9.5px; color: var(--muted); font-weight: 600; }
.account-chip__text strong { font-size: 12px; letter-spacing: -.01em; }

.avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--avatar, var(--brand));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    letter-spacing: .01em;
}
.avatar--lg { width: 46px; height: 46px; font-size: 15px; }

.menu-toggle {
    display: none;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 11px;
    flex-direction: column;
    justify-content: space-between;
}
.menu-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.main-nav { border-top: 1px solid var(--line-soft); }
.main-nav__inner {
    display: flex;
    align-items: center;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 9px 0;
}
.main-nav__inner::-webkit-scrollbar { display: none; }
.main-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
    padding: 5px 0;
    transition: color .2s;
}
.main-nav__link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}
.main-nav__link:hover { color: var(--ink); }
.main-nav__link:hover::after,
.main-nav__link.is-active::after { transform: scaleX(1); }
.main-nav__link.is-active { color: var(--ink); }
.main-nav__link--admin { color: var(--purple); }
.main-nav__link--cta { color: var(--brand-600); margin-left: auto; }
.main-nav__link--logout { border: 0; background: none; padding: 5px 0; cursor: pointer; }
.main-nav__logout { display: inline-flex; }
.main-nav__link--logout:hover { color: var(--red); }

/* -------------------------------- Portada -------------------------------- */
.hero { padding: 54px 0 34px; overflow: hidden; }
.hero__inner {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 40px;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-600);
}
.eyebrow--light { color: #ffc7ae; }
.hero__copy h1 { margin: 14px 0 16px; }
.hero__copy h1 em {
    font-style: normal;
    color: var(--brand);
    background: linear-gradient(transparent 64%, #ffe0d2 64%);
    padding: 0 .04em;
}
.hero__lead { font-size: 16px; color: var(--muted); max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 22px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ink-soft);
}
.hero__trust .icon { color: var(--green); }

.hero__visual { position: relative; min-height: 450px; }
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}
.hero-blob--one {
    width: 360px; height: 360px;
    right: 6%; top: 8%;
    background: radial-gradient(circle at 35% 30%, #ffd8c4, #ffb28b 70%, #ff9763);
    opacity: .55;
}
.hero-blob--two {
    width: 180px; height: 180px;
    right: 48%; bottom: 4%;
    background: radial-gradient(circle at 40% 30%, #fff0c7, #ffd86b);
    opacity: .5;
}
.hero-card {
    position: absolute;
    background: rgba(255, 253, 250, .92);
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
}
.hero-card--product {
    width: 218px;
    top: 36px;
    left: 12%;
    padding: 12px;
    animation: floatY 6s ease-in-out infinite;
}
.hero-card__image {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff4ea, #ffe2d1);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #ff9a6d;
}
.hero-card__image img { width: 100%; height: 100%; object-fit: cover; }
.hero-card__body { padding: 11px 4px 2px; display: flex; flex-direction: column; gap: 2px; }
.hero-card__tag {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand);
}
.hero-card__body strong { font-size: 13px; line-height: 1.25; letter-spacing: -.01em; }
.hero-card__price { font-size: 14px; font-weight: 800; color: var(--ink); }
.hero-card--chat {
    width: 276px;
    right: 0;
    bottom: 40px;
    padding: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    animation: floatY 7s ease-in-out .8s infinite;
}
.hero-card__wa {
    width: 38px; height: 38px;
    border-radius: 12px;
    background: var(--wa-soft);
    color: var(--wa-dark);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}
.chat-bubble {
    background: #f2ece5;
    border-radius: 12px 12px 12px 4px;
    padding: 7px 10px;
    font-size: 11.5px;
    font-weight: 600;
    margin-bottom: 6px;
}
.chat-bubble--out {
    background: var(--wa-soft);
    border-radius: 12px 12px 4px 12px;
    margin-left: 26px;
    margin-bottom: 0;
}
.hero-card--mini {
    left: 4%;
    bottom: 64px;
    padding: 11px 14px;
    display: flex;
    gap: 9px;
    align-items: center;
    border-radius: 16px;
    animation: floatY 7.5s ease-in-out .4s infinite;
}
.hero-card--mini .icon { color: var(--brand); }
.hero-card--mini strong { display: block; font-size: 11.5px; line-height: 1.2; }
.hero-card--mini small { font-size: 10px; color: var(--muted); }
.hero-sticker {
    position: absolute;
    top: 4px;
    right: 4%;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--ink);
    color: #fff;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    animation: floatY 5.5s ease-in-out infinite;
}
.hero-sticker .icon { color: #8ff0b6; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-11px); }
}

/* ------------------------------- Beneficios ------------------------------ */
.benefits { padding: 8px 0 6px; }
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: rgba(255, 253, 250, .7);
    border: 1px solid var(--line-soft);
    border-radius: 22px;
    padding: 14px;
}
.benefit { display: flex; gap: 11px; align-items: flex-start; padding: 10px 12px; }
.benefit__icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand-600);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}
.benefit strong { display: block; font-size: 12.5px; letter-spacing: -.01em; }
.benefit p { font-size: 11.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

/* -------------------------------- Secciones ------------------------------ */
.section { padding: 56px 0; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}
.section-head h2 { margin-top: 6px; }
.section-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.section--categories { padding-bottom: 12px; }
.section--how { padding-top: 10px; padding-bottom: 30px; }
.section--cta { padding-top: 0; }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}
.category-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius);
    transition: border-color .2s, transform .2s var(--ease), box-shadow .25s;
}
.category-card:hover { transform: translateY(-3px); border-color: #f3bda9; box-shadow: var(--shadow-sm); }
.category-card.is-active { border-color: var(--brand); background: var(--brand-soft); }
.category-card__icon {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: var(--bg-soft);
    color: var(--brand-600);
    display: grid;
    place-items: center;
    margin-bottom: 6px;
}
.category-card strong { font-size: 14px; letter-spacing: -.015em; }
.category-card small { font-size: 11.5px; color: var(--muted); }
.category-card > .icon { margin-top: 8px; color: var(--brand); }

.filter-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-form input {
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13px;
    min-width: 210px;
}
.filter-form input:focus { outline: none; border-color: rgba(242, 85, 44, .5); box-shadow: 0 0 0 4px rgba(242, 85, 44, .1); }

/* -------------------------------- Productos ------------------------------ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #f0c7b5;
}
.product-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.055); }
.product-card__quick {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translate(-50%, 12px);
    opacity: 0;
    background: rgba(21, 19, 31, .9);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: opacity .25s, transform .25s var(--ease);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}
.product-card:hover .product-card__quick { opacity: 1; transform: translate(-50%, 0); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 13px 15px 15px; gap: 3px; }
.product-card__cat {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand-600);
}
.product-card__name { font-size: 14.5px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.product-card__name a:hover { color: var(--brand-600); }
.product-card__desc { font-size: 11.5px; color: var(--muted); line-height: 1.45; margin-top: 1px; }
.product-card__wholesale { display: inline-flex; align-items: center; gap: .3rem; font-size: 10.5px; font-weight: 800; color: var(--green); margin-top: 6px; }
.product-card__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price strong { font-size: 16px; letter-spacing: -.02em; }
.price s { font-size: 11px; color: #a2968a; }
.add-form { flex: 0 0 auto; }
.btn--add { padding: 9px 13px; font-size: 12px; border-radius: 999px; gap: .35rem; }

.badge {
    position: absolute;
    top: 11px;
    left: 11px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
    z-index: 2;
}
.badge--sale { background: var(--brand); color: #fff; box-shadow: 0 6px 14px -6px rgba(242, 85, 44, .8); }
.badge--soldout { left: auto; right: 11px; background: var(--ink); color: #fff; }
.badge--low { left: auto; right: 11px; background: var(--amber-soft); color: var(--amber); border: 1px solid #f0dcb7; }
.badge--new { left: auto; right: 11px; top: 11px; background: #1f9d55; color: #fff; box-shadow: 0 6px 14px -6px rgba(31,157,85,.8); }
.product-card:has(.badge--new) .badge--sale { top: 42px; }

.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.pagination__info { font-size: 12px; color: var(--muted); font-weight: 600; }

.empty-state {
    text-align: center;
    padding: 58px 24px;
    background: rgba(255, 253, 250, .6);
    border: 1.5px dashed #e3d3c4;
    border-radius: 24px;
}
.empty-state__icon {
    width: 74px; height: 74px;
    margin: 0 auto 16px;
    border-radius: 22px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
}
.empty-state h2, .empty-state h3 { font-size: 1.4rem; }
.empty-state p { font-size: 13px; color: var(--muted); max-width: 420px; margin: 6px auto 20px; }
.empty-state__actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.empty-state--cart { padding: 70px 24px; }
.empty-state--panel { background: var(--surface); border-style: solid; border-color: var(--line); }

/* -------------------------------- Cómo comprar --------------------------- */
.how-panel {
    background:
        radial-gradient(700px 300px at 90% 0%, rgba(242, 85, 44, .28), transparent 60%),
        var(--ink);
    color: #fff;
    border-radius: 32px;
    padding: 44px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    box-shadow: var(--shadow-lg);
}
.how-panel__copy h2 { margin: 8px 0 10px; }
.how-panel__copy > p { color: #c8c2d3; font-size: 13.5px; max-width: 460px; }
.steps { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps__num {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    flex: 0 0 auto;
    color: #ffc7ae;
}
.steps strong { display: block; font-size: 13px; }
.steps p { font-size: 12px; color: #b9b3c4; margin-top: 1px; }
.steps--compact { margin-top: 12px; gap: 12px; }
.steps--compact .steps__num { background: var(--brand-soft); border-color: transparent; color: var(--brand-600); }
.steps--compact strong { font-size: 12.5px; color: var(--ink); }
.steps--compact p { font-size: 11.5px; color: var(--muted); }

.how-panel__cards { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.mini-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    padding: 20px;
    transition: background .25s, transform .25s var(--ease);
}
.mini-card:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.mini-card__icon {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .12);
    display: grid;
    place-items: center;
    color: #ffc7ae;
    margin-bottom: 10px;
}
.mini-card h3 { font-size: 14px; }
.mini-card p { font-size: 11.5px; color: #bdb7c8; margin: 4px 0 12px; }
.mini-card .link-arrow { color: #ffc7ae; }
.mini-card--accent { background: rgba(242, 85, 44, .16); border-color: rgba(255, 167, 133, .35); }
.mini-card--accent .mini-card__icon { background: rgba(242, 85, 44, .25); color: #ffd3c1; }

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    background: linear-gradient(120deg, #f2552c 0%, #ff7c44 55%, #ffa45f 100%);
    border-radius: 30px;
    padding: 36px 40px;
    color: #fff;
    box-shadow: 0 30px 60px -30px rgba(242, 85, 44, .6);
}
.cta-band__text h2 { margin: 6px 0 4px; }
.cta-band__text p { font-size: 13px; color: #ffe7db; max-width: 500px; }
.cta-band .btn--wa { box-shadow: 0 16px 30px -12px rgba(9, 62, 31, .5); }

/* --------------------------------- Footer -------------------------------- */
.site-footer {
    margin-top: 40px;
    background: #14121d;
    color: #cfc8da;
    padding: 52px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 34px;
    padding-bottom: 32px;
}
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text small { color: #9e97ab; }
.footer-brand p { font-size: 12px; color: #9e97ab; margin: 14px 0; max-width: 300px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.footer-badges span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: 10.5px;
    font-weight: 600;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h3 {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #8d8699;
    margin-bottom: 4px;
}
.footer-col a,
.footer-col span { display: inline-flex; align-items: center; gap: .4rem; font-size: 12px; color: #b7b0c4; }
.footer-col a:hover { color: #fff; }
.footer-wa { color: #8ff0b6 !important; font-weight: 700; }
.footer-ig { color: #e7e1ec !important; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding-top: 18px;
    font-size: 10.5px;
    color: #8d8699;
}
.footer-bottom__secure { display: inline-flex; align-items: center; gap: .35rem; }
.footer-admin-link { color: #6f6880; transition: color .2s; }
.footer-admin-link:hover { color: #cfc8da; }

.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: linear-gradient(140deg, #2bdc70, #17ae51);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 30px -12px rgba(20, 160, 75, .8);
    transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(4deg); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, .55);
    animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
    0% { transform: scale(1); opacity: .8; }
    70% { transform: scale(1.65); opacity: 0; }
    100% { opacity: 0; }
}

/* -------------------------------- Toasts --------------------------------- */
.toast-stack {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 9px;
    max-width: min(360px, calc(100vw - 40px));
}
.toast {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    background: rgba(21, 19, 31, .95);
    color: #fff;
    border-radius: 13px;
    padding: 12px 14px;
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    animation: toastIn .3s var(--ease);
    backdrop-filter: blur(8px);
}
.toast--success .icon { color: #7ff0af; }
.toast--error .icon { color: #ff9b9b; }
.toast__icon { display: inline-flex; margin-top: 1px; flex: 0 0 auto; }
.toast--success .toast__icon { color: #7ff0af; }
.toast--error .toast__icon { color: #ff9b9b; }
.toast--info .toast__icon { color: #9cc6ff; }
.toast__text { flex: 1; }
.toast.is-leaving { animation: toastOut .25s var(--ease) forwards; }
.toast.is-leaving { pointer-events: none; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px) scale(.97); } }

/* ------------------------------ Migas / títulos --------------------------- */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    color: var(--muted);
    padding: 20px 0 6px;
}
.breadcrumbs a:hover { color: var(--brand-600); }
.breadcrumbs span { opacity: .5; }
.breadcrumbs strong { color: var(--ink); font-weight: 700; }

.page-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 26px;
}
.page-heading h1 { margin: 5px 0 3px; }
.page-heading p { font-size: 13px; color: var(--muted); }
.page-heading--account { padding-bottom: 20px; }
.page-heading--account h1 { margin-bottom: 0; }

/* ---------------------------- Detalle de producto ------------------------ */
.product-detail {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 46px;
    align-items: start;
    padding: 14px 0 20px;
}
.product-detail__frame {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, #fff5ec, #ffe5d6);
    border: 1px solid var(--line);
}
.product-detail__frame img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.product-gallery-thumb {
    width: 74px;
    height: 74px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-soft);
    cursor: pointer;
    transition: border-color .2s, transform .15s;
}
.product-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumb:hover { transform: translateY(-1px); }
.product-gallery-thumb.is-active { border-color: var(--brand); }
.product-detail__notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 14px;
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
}
.product-detail__notes span { display: inline-flex; align-items: center; gap: .3rem; }
.product-detail__info h1 { margin: 6px 0 12px; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.product-detail__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.product-detail__price strong { font-size: 32px; letter-spacing: -.04em; }
.product-detail__price s { font-size: 15px; color: #9e9287; }
.save-tag {
    background: var(--green-soft);
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 999px;
}
.product-detail__price strong.is-wholesale { color: var(--green); }
.wholesale-note {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: var(--green-soft);
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 12px;
    margin: 10px 0 0;
}
.wholesale-note strong { font-weight: 800; }
.stock-line { margin: 14px 0 16px; }
.product-detail__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 22px; }
.product-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.product-buy__actions { display: flex; flex-wrap: wrap; gap: 9px; flex: 1; }
.soldout-box {
    background: var(--red-soft);
    border: 1px solid #f6cdcd;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
}
.soldout-box p { font-size: 12.5px; color: #8f2626; margin-bottom: 10px; }
.product-inquiry {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: 12px;
    font-weight: 700;
    color: var(--wa-dark);
    margin-bottom: 22px;
}
.product-inquiry:hover { text-decoration: underline; }
.accordion { border-top: 1px solid var(--line); margin-top: 8px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 0;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
    content: '+';
    font-size: 19px;
    font-weight: 500;
    color: var(--muted);
    transition: transform .2s;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion__body { padding: 0 0 16px; font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.detail-list { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
.detail-list li { display: flex; align-items: flex-start; gap: .45rem; font-size: 12px; color: var(--ink-soft); }
.detail-list .icon { color: var(--green); margin-top: 2px; }
.section--related { padding-top: 40px; }
.product-grid--compact .product-card { border-radius: 16px; }

/* ---------------------------------- Carrito ------------------------------ */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 28px;
    align-items: start;
    padding-bottom: 30px;
}
.cart-list { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 16px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    transition: box-shadow .2s, border-color .2s;
}
.cart-item:hover { box-shadow: var(--shadow-sm); border-color: #efd6c7; }
.cart-item__media { aspect-ratio: 1 / 1; border-radius: 13px; overflow: hidden; background: var(--bg-soft); }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cart-item__name { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.cart-item__name:hover { color: var(--brand-600); }
.cart-item__unit { font-size: 11.5px; color: var(--muted); }
.cart-item__stock { display: inline-flex; align-items: center; gap: .3rem; font-size: 10.5px; font-weight: 700; color: var(--amber); }
.cart-item__stock--mayoreo { color: var(--green); }
.cart-item__color { display: inline-flex; align-items: center; gap: .35rem; font-size: 11.5px; color: var(--ink-soft); }

/* Muestra de color reutilizable */
.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dot, #d9d2c9);
    border: 1px solid rgba(0, 0, 0, .14);
    box-shadow: inset 0 0 0 1.5px #fff;
    flex: none;
}

/* Cantidad por color en la ficha del producto */
.color-qty { display: flex; flex-direction: column; gap: 9px; margin: 4px 0 14px; }
.color-qty__hint { display: inline-flex; align-items: center; gap: .35rem; font-size: 12.5px; color: var(--ink-soft); font-weight: 600; margin: 0; }
.color-qty__list { display: flex; flex-direction: column; gap: 8px; }
.color-qty__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 7px 11px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: #fff;
    transition: border-color .18s, box-shadow .18s;
}
.color-qty__row.is-active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(242, 85, 44, .12); }
.color-qty__preview { background: none; border: 0; padding: 0; cursor: pointer; line-height: 0; border-radius: 50%; }
.color-qty__preview:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.color-qty__name { font-size: 13px; font-weight: 600; color: var(--ink); }
.color-qty__price { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(242, 85, 44, .12); color: var(--brand); font-size: 11px; font-weight: 800; }
.color-qty__row .qty-control { margin: 0; }
.color-qty__error { display: flex; align-items: center; gap: .35rem; margin: 0; }
.color-qty__error[hidden] { display: none; }
.color-qty.has-error .color-qty__row { border-color: #e28f8f; }
.color-option__swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--swatch, #d9d2c9);
    border: 1px solid rgba(0, 0, 0, .16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: none;
}

/* Muestras de color en la tarjeta del catálogo */
.product-card__colors { display: flex; align-items: center; gap: 4px; margin-top: 7px; flex-wrap: wrap; }
.product-card__colors .color-dot { width: 13px; height: 13px; }
.product-card__colors small { font-size: 10px; color: var(--muted); font-weight: 700; }
.product-card__colors-label { font-size: 10.5px; color: var(--muted); margin-left: 3px; }

/* Color en el resumen del pedido */
.summary-item__color { display: inline-flex; align-items: center; gap: .3rem; }
.cart-item__qty { display: flex; align-items: center; gap: 8px; margin-top: 7px; flex-wrap: wrap; }
.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; align-self: stretch; }
.cart-item__total { font-size: 15px; letter-spacing: -.02em; }
.cart-list__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 4px 2px;
}
.cart-summary {
    position: sticky;
    top: 106px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.cart-summary h2 { font-size: 1.15rem; margin-bottom: 14px; }
.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12.5px;
    padding: 7px 0;
    color: var(--muted);
}
.summary-row strong { color: var(--ink); font-size: 13px; }
.summary-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-top: 14px;
    margin-bottom: 18px;
}
.summary-total span { font-size: 13px; font-weight: 700; }
.summary-total strong { font-size: 23px; letter-spacing: -.03em; }
.cart-summary .btn { margin-bottom: 8px; }
.summary-note {
    display: flex;
    align-items: flex-start;
    gap: .4rem;
    font-size: 10.5px;
    color: var(--muted);
    line-height: 1.5;
    margin-top: 10px;
}
.summary-note .icon { margin-top: 2px; color: var(--green); }
.summary-account {
    margin-top: 16px;
    background: var(--brand-soft);
    border-radius: 14px;
    padding: 14px;
}
.summary-account strong { font-size: 12px; }
.summary-account p { font-size: 11px; color: #8a5b49; margin: 3px 0 7px; }
.summary-items { display: flex; flex-direction: column; gap: 11px; margin-bottom: 12px; }
.summary-items li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}
.summary-items img {
    width: 42px; height: 42px;
    border-radius: 9px;
    object-fit: cover;
    background: var(--bg-soft);
}
.summary-items li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.summary-items strong { font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.summary-items span { font-size: 10.5px; color: var(--muted); }
.summary-items b { font-size: 12px; white-space: nowrap; }
.summary-item__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: 0 0 auto; }
.cart-summary--checkout { top: 100px; }

/* --------------------------------- Checkout ------------------------------ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 28px;
    align-items: start;
    padding-bottom: 30px;
}
.checkout-form { display: flex; flex-direction: column; gap: 16px; }
.checkout-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
}
.checkout-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.checkout-card__head h2 {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: 1.02rem;
}
.checkout-card__head h2 small { font-weight: 500; color: var(--muted); font-size: 11.5px; }
.checkout-card .field:last-child { margin-bottom: 0; }
.checkout-card--security {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    background: var(--green-soft);
    border-color: #c6ebdb;
}
.checkout-security__icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: #fff;
    color: var(--green);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}
.checkout-card--security strong { font-size: 12.5px; color: #0a5c42; }
.checkout-card--security p { font-size: 11.5px; color: #3e7c67; margin-top: 2px; }
.identity-card { display: flex; gap: 13px; align-items: center; }
.identity-card__data { display: flex; flex-direction: column; gap: 2px; }
.identity-card__data strong { font-size: 14px; }
.identity-card__data span { display: inline-flex; align-items: center; gap: .35rem; font-size: 11.5px; color: var(--muted); }
.checkout-disclaimer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: .4rem;
    text-align: center;
    font-size: 10.5px;
    color: var(--muted);
    line-height: 1.5;
}
.checkout-disclaimer .icon { color: var(--green); margin-top: 2px; }

/* --------------------------------- Autenticación ------------------------- */
.auth-layout {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 26px;
    align-items: stretch;
    max-width: 1020px;
    padding: 36px 0 50px;
}
.auth-aside {
    background:
        radial-gradient(500px 300px at 100% 100%, rgba(242, 85, 44, .35), transparent 65%),
        var(--ink);
    color: #fff;
    border-radius: 28px;
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.auth-aside::before {
    content: '';
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .1);
    right: -60px; top: -60px;
}
.auth-aside h1 { margin: 10px 0 10px; }
.auth-aside > p { font-size: 13px; color: #c3bdcd; }
.auth-benefits { display: flex; flex-direction: column; gap: 9px; margin: 22px 0; }
.auth-benefits li { display: flex; align-items: flex-start; gap: .5rem; font-size: 12px; color: #ded9e7; }
.auth-benefits .icon { color: #8ff0b6; margin-top: 2px; }
.auth-aside__foot {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 16px;
    margin-top: auto;
}
.auth-aside__foot > .icon { color: var(--wa); width: 30px; height: 30px; }
.auth-aside__foot strong { display: block; font-size: 12px; }
.auth-aside__foot a { font-size: 11.5px; color: #8ff0b6; }
.auth-aside__foot a:hover { text-decoration: underline; }
.auth-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    align-self: center;
    width: 100%;
}
.auth-card--wide { align-self: stretch; }
.auth-layout--register { max-width: 1080px; }
.auth-card__head { text-align: center; margin-bottom: 20px; }
.auth-card__icon {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
}
.auth-card__head h2 { font-size: 1.4rem; }
.auth-card__head p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.auth-card .field-grid { gap: 0 14px; }
.auth-card form > .btn { margin-top: 6px; }
.auth-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-top: 1px solid var(--line-soft);
    margin-top: 18px;
    padding-top: 16px;
    font-size: 12px;
    color: var(--muted);
}
.auth-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: .35rem;
    font-size: 10px;
    color: var(--muted);
    margin-top: 14px;
    text-align: center;
}
.auth-note .icon { color: var(--green); margin-top: 1px; }

/* ------------------------------ Pedido enviado --------------------------- */
.success-page { max-width: 760px; margin: 30px auto 50px; }
.success-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.success-card::before {
    content: '';
    position: absolute;
    inset: -50% -20% auto;
    height: 260px;
    background: radial-gradient(closest-side, #e2f9ec, transparent);
    z-index: 0;
}
.success-card > * { position: relative; z-index: 1; }
.success-check {
    width: 84px; height: 84px;
    border-radius: 50%;
    background: linear-gradient(140deg, #2ed573, #0f9d58);
    color: #fff;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    box-shadow: 0 20px 40px -18px rgba(15, 157, 88, .75);
    animation: checkPop .55s var(--ease) both;
}
.success-check .icon { width: 40px; height: 40px; }
@keyframes checkPop {
    0% { transform: scale(.4); opacity: 0; }
    60% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}
.success-card h1 { margin: 5px 0 8px; }
.success-lead { font-size: 13.5px; color: var(--muted); max-width: 500px; margin: 0 auto 22px; }
.success-wa { margin-bottom: 24px; }
.success-wa small { display: inline-flex; align-items: center; gap: .3rem; font-size: 10.5px; color: var(--muted); margin-top: 8px; }
.success-summary {
    background: var(--bg);
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    padding: 18px;
    text-align: left;
}
.success-summary__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.success-summary__head strong { font-size: 13px; }
.success-summary .summary-items { margin-bottom: 8px; }
.success-next { margin-top: 24px; text-align: left; }
.success-next h2 { font-size: 1.05rem; }
.success-next .steps { margin-top: 12px; }
.success-actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 26px; }

/* ------------------------------- Cuenta cliente -------------------------- */
.account-layout {
    display: grid;
    grid-template-columns: 258px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    padding-bottom: 34px;
}
.account-nav {
    position: sticky;
    top: 108px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.account-nav__user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 4px 14px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 10px;
    min-width: 0;
}
.account-nav__user > div { min-width: 0; }
.account-nav__user strong { display: block; font-size: 12.5px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-nav__user small { display: block; font-size: 10px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-nav__links { display: flex; flex-direction: column; gap: 2px; }
.account-nav__link {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: 9px 11px;
    border-radius: 11px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-soft);
    border: 0;
    background: none;
    width: 100%;
    text-align: left;
    transition: background .2s, color .2s, transform .15s;
}
.account-nav__link:hover { background: var(--bg-soft); transform: translateX(2px); }
.account-nav__link.is-active { background: var(--brand-soft); color: var(--brand-700); }
.account-nav__link--admin { color: var(--purple); }
.account-nav__link--logout { color: var(--red); }
.account-nav__count {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--muted);
    font-size: 10px;
    display: grid;
    place-items: center;
}
.account-nav__link.is-active .account-nav__count { background: #fff; color: var(--brand-700); }
.account-nav__count--alert { background: var(--brand); color: #fff; }
.account-nav__footer { border-top: 1px solid var(--line-soft); margin-top: 10px; padding-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.account-nav__footer form { margin: 0; }
.account-content { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card {
    display: flex;
    align-items: center;
    gap: 11px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 15px;
    transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: #eccdbd; }
.stat-card > div { display: flex; flex-direction: column; line-height: 1.15; }
.stat-card strong { font-size: 20px; letter-spacing: -.03em; }
.stat-card span:not(.stat-card__icon) { font-size: 10.5px; color: var(--muted); }
.stat-card__icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}
.stat-card__icon--blue { background: var(--blue-soft); color: var(--blue); }
.stat-card__icon--orange { background: var(--brand-soft); color: var(--brand-600); }
.stat-card__icon--amber { background: var(--amber-soft); color: var(--amber); }
.stat-card__icon--purple { background: var(--purple-soft); color: var(--purple); }

.deadline-banner {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--green-soft);
    border: 1px solid #c6ebdb;
    color: #0a5c42;
}
.deadline-banner > div { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.deadline-banner small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.deadline-banner strong { font-size: 14px; letter-spacing: -.01em; }
.deadline-banner span { font-size: 11px; opacity: .85; }
.deadline-banner__icon {
    width: 44px; height: 44px;
    border-radius: 13px;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--green);
    flex: 0 0 auto;
}
.deadline-banner--warning { background: var(--amber-soft); border-color: #f2ddb5; color: #7c4508; }
.deadline-banner--warning .deadline-banner__icon { color: var(--amber); }
.deadline-banner--danger { background: var(--red-soft); border-color: #f6cdcd; color: #922; }
.deadline-banner--danger .deadline-banner__icon { color: var(--red); }
.deadline-banner--muted { background: var(--bg-soft); border-color: var(--line); color: var(--muted); }
.deadline-banner--muted .deadline-banner__icon { color: var(--muted); }

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    min-width: 0;
}
.panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}
.panel__head h2 { font-size: 1.06rem; }
.panel__head p { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.panel--help { display: flex; flex-direction: column; gap: 7px; }
.panel--help h2 { font-size: 1.05rem; }
.panel--help p { font-size: 12px; color: var(--muted); }
.panel__help-icon {
    width: 44px; height: 44px;
    border-radius: 13px;
    background: var(--wa-soft);
    color: var(--wa-dark);
    display: grid;
    place-items: center;
}
.panel--security-note { display: flex; align-items: flex-start; gap: 13px; background: var(--green-soft); border-color: #c6ebdb; flex-wrap: wrap; }
.panel--security-note > div { flex: 1; min-width: 220px; }
.panel--security-note strong { font-size: 12.5px; color: #0a5c42; }
.panel--security-note p { font-size: 11.5px; color: #3e7c67; margin-top: 2px; }
.account-bottom-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: start; }

.muted-note { font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.empty-inline {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 4px;
    flex-wrap: wrap;
}
.empty-inline > div { flex: 1; min-width: 180px; }
.empty-inline strong { font-size: 12.5px; }
.empty-inline p { font-size: 11.5px; color: var(--muted); }
.empty-inline__icon {
    width: 44px; height: 44px;
    border-radius: 13px;
    background: var(--bg-soft);
    color: var(--muted);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

/* --------------------------------- Tablas -------------------------------- */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th {
    text-align: left;
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--muted);
    font-weight: 800;
    padding: 8px 10px;
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
}
.data-table td { padding: 11px 10px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.data-table tbody tr:hover { background: #fffbf6; }
.data-table strong { font-weight: 700; letter-spacing: -.01em; }
.table-sub { display: block; font-size: 10px; color: var(--muted); font-weight: 500; margin-top: 1px; }
.table-link { color: var(--brand-600); font-weight: 700; font-size: 11.5px; }
.table-link:hover { text-decoration: underline; }
.table-link .icon { color: var(--wa-dark); }
.data-table__total td { border-top: 1.5px solid var(--line); font-weight: 800; font-size: 13px; }
.data-table--order { font-size: 12.5px; }
.table-actions { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.table-note { display: flex; align-items: flex-start; gap: .35rem; font-size: 10.5px; color: var(--muted); margin-top: 12px; }
.table-note .icon { margin-top: 1px; }

/* --------------------------------- Avisos -------------------------------- */
.notif-list { display: flex; flex-direction: column; gap: 8px; }
.notif-item {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: #fff;
    position: relative;
}
.notif-item.is-unread { background: #fff8f3; border-color: #f6d9ca; }
.notif-item__icon {
    width: 36px; height: 36px;
    border-radius: 11px;
    background: var(--bg-soft);
    color: var(--ink-soft);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}
.notif-item__icon--pedido_nuevo,
.notif-item__icon--pedido_abierto { background: var(--brand-soft); color: var(--brand-600); }
.notif-item__icon--pago_recibido { background: var(--green-soft); color: var(--green); }
.notif-item__icon--pedido_cerrado { background: var(--purple-soft); color: var(--purple); }
.notif-item__icon--etapa { background: var(--blue-soft); color: var(--blue); }
.notif-item__icon--fecha_limite { background: var(--amber-soft); color: var(--amber); }
.notif-item__body { flex: 1; min-width: 0; }
.notif-item__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.notif-item__top strong { font-size: 12px; }
.notif-item__top small { font-size: 9.5px; color: var(--muted); white-space: nowrap; }
.notif-item p { font-size: 11.5px; color: var(--muted); margin: 2px 0 4px; line-height: 1.45; }
.notif-item__new {
    position: absolute;
    top: 10px; right: 10px;
    font-size: 8.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--brand-600);
}
.notif-list--compact .notif-item { padding: 9px 10px; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; background: transparent; }
.notif-list--compact .notif-item:last-child { border-bottom: 0; }
.notif-list--compact .notif-item.is-unread { background: transparent; }
.notif-list--compact .notif-item__icon { width: 32px; height: 32px; border-radius: 9px; }
.notif-list--compact .notif-item p { display: none; }
.notif-list--compact .notif-item__new { top: 8px; right: 0; }

/* ----------------------------- Pedidos del cliente ----------------------- */
.tabs {
    display: flex;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px;
    overflow-x: auto;
    width: fit-content;
    max-width: 100%;
}
.tabs__link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.tabs__link span {
    font-size: 9.5px;
    background: var(--bg-soft);
    padding: 1px 6px;
    border-radius: 999px;
}
.tabs__link:hover { color: var(--ink); }
.tabs__link.is-active { background: var(--ink); color: #fff; }
.tabs__link.is-active span { background: rgba(255, 255, 255, .18); }

.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 17px;
    transition: border-color .2s, box-shadow .2s;
}
.order-card:hover { border-color: #eccdbd; box-shadow: var(--shadow-sm); }
.order-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.order-card__code { font-size: 13.5px; letter-spacing: -.01em; }
.order-card__date { display: inline-flex; align-items: center; gap: .3rem; font-size: 10px; color: var(--muted); margin-left: 8px; }
.order-card__pills { display: flex; gap: 5px; flex-wrap: wrap; }
.order-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.order-card__meta { display: flex; gap: 20px; flex-wrap: wrap; }
.order-card__meta span { display: flex; flex-direction: column; line-height: 1.25; }
.order-card__meta small { font-size: 9.5px; color: var(--muted); }
.order-card__meta strong { font-size: 12.5px; }
.order-card__deadline {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: right;
}
.order-card__deadline small { font-size: 9.5px; color: var(--muted); }
.order-card__deadline strong { font-size: 11.5px; }
.order-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line-soft);
    margin-top: 12px;
    padding-top: 11px;
}
.mini-progress { display: flex; align-items: center; gap: 5px; }
.mini-progress__dot { width: 22px; height: 4px; border-radius: 4px; background: var(--line); }
.mini-progress__dot--done { background: var(--green); }
.mini-progress__dot--current { background: var(--brand); animation: softPulse 2s ease-in-out infinite; }
@keyframes softPulse { 50% { opacity: .45; } }

/* ------------------------------ Detalle del pedido ----------------------- */
.order-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.order-hero h1 { margin: 4px 0 2px; }
.order-hero p { font-size: 11.5px; color: var(--muted); }
.order-hero__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-hero__pills { display: flex; gap: 5px; flex-wrap: wrap; }
.order-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
}
.order-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.order-side { display: flex; flex-direction: column; gap: 12px; }
.order-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}
.order-meta-grid > div { display: flex; flex-direction: column; gap: 1px; }
.order-meta-grid small { font-size: 9.5px; color: var(--muted); }
.order-meta-grid strong { font-size: 11.5px; letter-spacing: -.01em; }
.deadline-inline {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 16px;
    padding: 11px 13px;
    border-radius: 12px;
    font-size: 11.5px;
    background: var(--green-soft);
    color: #0a5c42;
}
.deadline-inline--warning { background: var(--amber-soft); color: #7c4508; }
.deadline-inline--danger { background: var(--red-soft); color: #922; }
.deadline-inline--muted { background: var(--bg-soft); color: var(--muted); }
.deadline-inline--ok { background: var(--green-soft); color: #0a5c42; }

.track {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    position: relative;
    padding: 6px 0 2px;
}
.track::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--line);
}
.track__step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    flex: 1;
    text-align: center;
}
.track__dot {
    width: 33px; height: 33px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--line);
    color: var(--muted);
    display: grid;
    place-items: center;
    font-size: 10.5px;
    font-weight: 800;
}
.track__label { font-size: 9.5px; font-weight: 700; color: var(--muted); line-height: 1.3; }
.track__step--done .track__dot { background: var(--green); border-color: var(--green); color: #fff; }
.track__step--done .track__label { color: var(--green); }
.track__step--current .track__dot {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(242, 85, 44, .14);
}
.track__step--current .track__label { color: var(--brand-700); }
.track__step--current .track__dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(242, 85, 44, .3);
    animation: softPulse 2.2s ease-in-out infinite;
}

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline__item {
    display: flex;
    gap: 12px;
    padding: 0 0 17px;
    position: relative;
}
.timeline__item::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    bottom: 0;
    width: 1.5px;
    background: var(--line);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:last-child::before { display: none; }
.timeline__dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--brand);
    margin-top: 5px;
    flex: 0 0 auto;
    box-shadow: 0 0 0 3px var(--brand-soft);
}
.timeline__item > div { display: flex; flex-direction: column; line-height: 1.4; }
.timeline__item strong { font-size: 11.5px; font-weight: 700; }
.timeline__item small { font-size: 9.5px; color: var(--muted); margin-top: 1px; }

.side-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    font-size: 11.5px;
}
.side-card small { font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.side-card strong { font-size: 14px; letter-spacing: -.02em; line-height: 1.25; }
.side-card p { font-size: 11.5px; color: var(--muted); }
.side-card__icon {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: var(--bg-soft);
    color: var(--ink-soft);
    display: grid;
    place-items: center;
    margin-bottom: 4px;
}
.side-card--deadline { background: var(--green-soft); border-color: #c6ebdb; color: #0a5c42; }
.side-card--deadline .side-card__icon { background: #fff; color: var(--green); }
.side-card--deadline small { color: #3e7c67; }
.side-card--warning { background: var(--amber-soft); border-color: #f2ddb5; color: #7c4508; }
.side-card--warning .side-card__icon { background: #fff; color: var(--amber); }
.side-card--warning small { color: #9c6f38; }
.side-card--danger { background: var(--red-soft); border-color: #f6cdcd; color: #8f2626; }
.side-card--danger .side-card__icon { background: #fff; color: var(--red); }
.side-card--danger small { color: #a05555; }
.side-card--muted { background: var(--bg-soft); }
.side-card--contact span { display: flex; align-items: center; gap: .35rem; font-size: 11px; color: var(--muted); }
.side-card--contact .link-arrow { margin-top: 6px; }
.side-card--help { background: var(--ink); color: #fff; border-color: var(--ink); }
.side-card--help small { color: #a9a1b8; }
.side-card--help p { color: #b9b3c4; }
.side-card--help .side-card__icon { background: rgba(255, 255, 255, .1); color: var(--wa); }
.side-card--help .btn--ghost { border-color: rgba(255, 255, 255, .22); color: #fff; }
.side-card--help .btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.side-card--help .link-arrow { color: #ffc7ae; }
.inline-check { display: inline-flex; align-items: center; gap: .35rem; color: var(--green); font-size: 11.5px; font-weight: 700; }
.order-note {
    margin-top: 15px;
    background: var(--bg);
    border: 1px dashed var(--line);
    border-radius: 13px;
    padding: 12px 14px;
}
.order-note strong { display: flex; align-items: center; gap: .35rem; font-size: 11px; color: var(--ink-soft); }
.order-note p { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.order-note--internal { background: var(--amber-soft); border-color: #f2ddb5; }
.order-note--internal strong { color: #7c4508; }
.order-note--internal p { color: #8a5a21; }

.banner {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 16px;
    border-radius: 15px;
    font-size: 11.5px;
}
.banner > .icon { width: 24px; height: 24px; flex: 0 0 auto; }
.banner strong { display: block; font-size: 12.5px; }
.banner p { opacity: .85; margin-top: 1px; }
.banner--gray { background: #f1ece6; color: #5f564d; }
.banner--red { background: var(--red-soft); color: #8f2626; }

/* ---------------------------------- Perfil ------------------------------- */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.security-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid var(--line-soft);
    margin-top: 18px;
    padding-top: 14px;
}
.security-meta > div { display: flex; flex-direction: column; }
.security-meta small { font-size: 9.5px; color: var(--muted); }
.security-meta strong { font-size: 11.5px; }

/* ------------------------------ Página de error -------------------------- */
.error-page { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.error-card {
    max-width: 460px;
    width: 100%;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.error-code { font-size: 48px; font-weight: 800; letter-spacing: -.05em; color: var(--brand); line-height: 1; }
.error-card h1 { font-size: 1.5rem; margin: 10px 0 8px; }
.error-card p { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }

/* -------------------------------- Instalador ----------------------------- */
.install-page { padding: 40px 20px 60px; }
.install-wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.install-head { display: flex; align-items: center; gap: 13px; margin-bottom: 4px; }
.install-head h1 { font-size: 1.45rem; }
.install-head p { font-size: 12px; color: var(--muted); }
.install-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.install-card h2 { font-size: 1.15rem; margin-bottom: 6px; }
.install-card > p { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.install-checks { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.install-checks li { display: flex; align-items: center; gap: .5rem; font-size: 12px; font-weight: 600; }
.install-checks .is-ok { color: var(--green); }
.install-checks .is-fail { color: var(--red); }
.install-list { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 16px; }
.install-list li { display: flex; align-items: flex-start; gap: .4rem; font-size: 12px; color: var(--ink-soft); }
.install-list .icon { color: var(--amber); margin-top: 2px; }
.install-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* ------------------------------- Responsive ------------------------------ */
@media (max-width: 1080px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .benefits__grid { grid-template-columns: repeat(2, 1fr); }
    .header-search { max-width: 320px; }
    .hero__inner { gap: 20px; }
    .hero-card--product { left: 4%; width: 195px; }
    .hero-card--chat { width: 250px; }
    .order-detail-grid { grid-template-columns: minmax(0, 1fr) 270px; }
    .account-layout { grid-template-columns: 232px minmax(0, 1fr); }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
    .header-search { display: none; }
    .header-inner { gap: 12px; }
    .header-actions { margin-left: auto; }
    .hero__inner { grid-template-columns: 1fr; }
    .hero { padding-top: 36px; }
    .hero__copy { max-width: 620px; }
    .hero__visual { min-height: 380px; margin-top: 8px; }
    .hero-blob--one { right: 12%; }
    .how-panel { grid-template-columns: 1fr; padding: 32px; }
    .how-panel__cards { flex-direction: row; }
    .mini-card { flex: 1; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-col:last-child { grid-column: span 3; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; }
    .footer-col:last-child h3 { width: 100%; margin: 0; }
    .account-layout { grid-template-columns: 1fr; }
    .account-nav { position: static; }
    .account-nav__links { flex-direction: row; overflow-x: auto; padding-bottom: 2px; }
    .account-nav__link { white-space: nowrap; width: auto; }
    .account-nav__count { margin-left: 0; }
    .account-nav__footer { display: none; }
    .account-nav__user { padding-bottom: 10px; }
    .cart-layout,
    .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .product-detail { grid-template-columns: 1fr; gap: 26px; }
    .product-detail__media { max-width: 560px; }
    .auth-layout { grid-template-columns: 1fr; max-width: 560px; }
    .auth-aside { padding: 28px; }
    .auth-benefits { display: none; }
    .profile-grid { grid-template-columns: 1fr; }
    .order-detail-grid { grid-template-columns: 1fr; }
    .order-side { display: grid; grid-template-columns: 1fr 1fr; }
    .account-bottom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    body { font-size: 14.5px; }
    .container { width: calc(100% - 28px); }
    .topbar__inner > span { display: none; }
    .topbar__inner { justify-content: center; }
    .account-chip__text,
    .icon-btn--label span:not(.cart-count) { display: none; }
    .icon-btn--label { width: 42px; padding: 0; }
    .cart-link { padding-right: 0; }
    .cart-count { left: 26px; }
    .header-wa { display: none; }
    .menu-toggle { display: flex; }
    .main-nav { display: none; }
    .main-nav.is-open { display: block; animation: navDown .25s var(--ease); }
    .main-nav__inner { flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 0 14px; }
    .main-nav__link { padding: 9px 4px; font-size: 13px; }
    .main-nav__link::after { display: none; }
    .main-nav__link--cta { margin-left: 0; }
    .main-nav__logout { display: block; }
    .hero { padding: 30px 0 20px; }
    .hero__visual { min-height: 330px; }
    .hero-card--product { width: 168px; top: 16px; left: 0; }
    .hero-card--chat { width: 224px; right: 0; bottom: 10px; }
    .hero-card--mini { display: none; }
    .hero-sticker { top: 0; right: 0; }
    .hero-blob--one { width: 260px; height: 260px; right: 4%; }
    .benefits { padding-top: 18px; }
    .benefits__grid { grid-template-columns: 1fr; padding: 8px; }
    .section { padding: 40px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .section-head--products { gap: 10px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .product-card { border-radius: 16px; }
    .product-card__body { padding: 10px 11px 12px; }
    .product-card__desc { display: none; }
    .product-card__name { font-size: 13px; }
    .product-card__footer { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 8px; }
    .add-form .btn { width: 100%; }
    .price { flex-direction: row; align-items: baseline; gap: 6px; }
    .price strong { font-size: 14.5px; }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .how-panel { padding: 24px; border-radius: 24px; }
    .how-panel__cards { flex-direction: column; }
    .cta-band { padding: 26px; border-radius: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-brand { grid-column: span 2; }
    .footer-col:last-child { grid-column: span 2; }
    .footer-bottom { justify-content: center; text-align: center; }
    .cart-item { grid-template-columns: 74px 1fr; }
    .cart-item__side { grid-column: 1 / -1; flex-direction: row; align-items: center; border-top: 1px solid var(--line-soft); padding-top: 9px; }
    .cart-item__side form { margin-left: auto; }
    .checkout-card { padding: 18px; }
    .field-grid { grid-template-columns: 1fr; }
    .auth-card { padding: 24px; }
    .success-card { padding: 26px 18px; border-radius: 24px; }
    .page-heading { align-items: flex-start; flex-direction: column; }
    .account-nav__links { gap: 1px; }
    .stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    .stat-card { padding: 12px; }
    .stat-card strong { font-size: 18px; }
    .order-meta-grid { grid-template-columns: 1fr 1fr; }
    .order-side { grid-template-columns: 1fr; }
    .order-card__body { align-items: flex-start; }
    .order-card__deadline { align-items: flex-start; text-align: left; }
    .panel { padding: 17px; }
    .tabs { width: 100%; }
    .track__dot { width: 27px; height: 27px; }
    .track::before { top: 19px; }
    .track__label { font-size: 8px; }
}

@media (max-width: 420px) {
    .hero__actions .btn { flex: 1; justify-content: center; }
    .hero-card--chat { width: 200px; }
    .hero-card--product { width: 148px; }
    .hero-card__body strong { font-size: 11.5px; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .stat-card__icon { width: 34px; height: 34px; }
    .stat-card strong { font-size: 16px; }
    .stat-card span:not(.stat-card__icon) { font-size: 9.5px; }
}

/* --------------------------- Movimiento reducido ------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .reveal-pending { opacity: 1 !important; transform: none !important; }
}

/* ----------------------------- Scroll reveal ----------------------------- */
.reveal-pending {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================ Personalización (camisetas/polos) ========== */
.custom-box {
    border: 1px solid #e5dfd5;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 4px 0 16px;
    background: #faf7f2;
}
.custom-box__title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1f2a37;
}
.custom-box__label {
    display: block;
    font-size: 0.85rem;
    color: #55606c;
    margin-bottom: 8px;
}
.custom-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.custom-options--stack {
    flex-direction: column;
    align-items: stretch;
}
.custom-opt {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 2px solid #e0d9cd;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    background: #fff;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .12s ease;
}
.custom-opt:hover {
    border-color: #b9cec1;
}
.custom-opt:active {
    transform: scale(0.98);
}
.custom-opt input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.custom-opt::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 2px solid #c9c1b5;
    border-radius: 50%;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.custom-opt.is-selected::before,
.custom-opt:has(input:checked)::before {
    border-color: #1f6f54;
    box-shadow: inset 0 0 0 5px #1f6f54;
}
.custom-opt.is-selected,
.custom-opt:has(input:checked) {
    border-color: #1f6f54;
    background: #eef5f1;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(31, 111, 84, 0.18);
}
.custom-opt.is-selected {
    animation: custom-pop .18s ease;
}
@keyframes custom-pop {
    0% { transform: scale(0.96); }
    60% { transform: scale(1.02); }
    100% { transform: scale(1); }
}
.custom-opt small {
    color: #1f6f54;
    font-weight: 700;
    margin-left: auto;
}
.checkbox--custom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}
.checkbox--custom small {
    color: #1f6f54;
    font-weight: 700;
}
.cart-item__custom {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #55606c;
    margin-top: 2px;
}

/* ---------------- Política de privacidad (página legal) ---------------- */
.page-legal .legal-content { max-width: 860px; margin: 0 auto 60px; }
.page-legal .legal-panel { margin-bottom: 16px; padding: 22px 26px; }
.page-legal .legal-panel h2 { font-size: 1.15rem; margin: 0 0 12px; color: var(--ink, #1f2a37); }
.page-legal .legal-panel p { margin: 0 0 10px; line-height: 1.65; color: #4a5561; }
.page-legal .legal-panel p:last-child { margin-bottom: 0; }
.page-legal .legal-panel ul { margin: 0 0 10px; padding-left: 20px; color: #4a5561; }
.page-legal .legal-panel li { margin-bottom: 5px; line-height: 1.55; }
.page-legal .legal-signoff { margin-top: 14px !important; font-style: italic; }
@media (max-width: 600px) {
    .page-legal .legal-panel { padding: 18px 16px; }
}

/* ---------------- Páginas de servicios ---------------- */
.page-servicio .service-hero, .page-servicio .service-section,
.page-servicio .service-cta { padding: 46px 0 8px; }
.service-hero__inner { max-width: 860px; }
.service-hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 10px 0 14px; }
.service-hero p { font-size: 1.05rem; line-height: 1.7; color: var(--muted); max-width: 720px; }
.service-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.service-hero__badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: .85rem; color: var(--muted); }
.service-hero__badges span { display: inline-flex; align-items: center; gap: 6px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 26px; }
.service-panel { padding: 26px; }
.service-panel h2 { font-size: 1.2rem; margin: 8px 0 18px; }
.service-list, .service-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.service-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.service-list li svg { flex: 0 0 auto; margin-top: 2px; color: var(--brand); }
.service-steps li { display: flex; gap: 12px; align-items: flex-start; }
.service-steps li > span { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.service-steps li p { margin: 2px 0 0; line-height: 1.5; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 18px; }
.service-card { display: block; padding: 20px; text-decoration: none; color: inherit; }
.service-card h2 { font-size: 1.05rem; margin: 0 0 10px; }
.service-card__link { font-size: .85rem; font-weight: 700; color: var(--brand); }
.service-cta__box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px; margin: 26px 0 40px; }
.service-cta__box h2 { margin: 0 0 6px; font-size: 1.3rem; }
.service-cta__box p { margin: 0; color: var(--muted); }

/* ---------------- Tarjetas de combos (compactas) ---------------- */
.combos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 18px; }
.combo-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.combo-card__thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.combo-card__thumbs img {
    width: 48px; height: 48px; object-fit: cover; border-radius: 7px;
    border: 1px solid var(--line, #e5dfd5); background: #fff; display: block;
}
.combo-card__title { font-size: 1rem; line-height: 1.3; margin: 0; }
.combo-card__title a { color: inherit; text-decoration: none; }
.combo-card__title a:hover { color: var(--brand); }
.combo-card__desc {
    font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.combo-card__items { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; font-size: .78rem; }
.combo-card__items li { display: flex; justify-content: space-between; gap: 8px; line-height: 1.35; }
.combo-card__items li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo-card__footer {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line, #e5dfd5);
}

/* ---------------- Productos dentro de un combo ---------------- */
.combo-products { margin: 16px 0; padding: 14px; border: 1px solid var(--line, #e5dfd5); border-radius: 14px; background: var(--bg-soft, #fdf9f5); }
.combo-products > strong { display: block; font-size: .95rem; margin-bottom: 10px; }
.combo-products > strong small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); margin-top: 2px; }
.combo-products__list { display: flex; flex-wrap: wrap; gap: 9px; }
.combo-products__item {
    display: flex; align-items: center; gap: 8px; padding: 5px 9px 5px 5px;
    border: 2px solid transparent; border-radius: 12px; background: #fff;
    cursor: pointer; max-width: 100%; transition: border-color .2s, transform .15s, box-shadow .2s;
}
.combo-products__item:hover { transform: translateY(-1px); }
.combo-products__item.is-active { border-color: var(--brand, #f4552b); box-shadow: 0 6px 16px -10px rgba(244,85,43,.8); }
.combo-products__item img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.combo-products__name { font-size: .76rem; line-height: 1.3; text-align: left; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo-products__item strong { font-size: .75rem; color: var(--brand, #f4552b); flex: 0 0 auto; }
.combo-products__current { display: inline-block; margin-top: 12px; font-size: .8rem; color: var(--muted); }
.combo-products__current strong { color: var(--ink, #1f2a37); }
