/* ============================================================
   FOURA — DESIGN SYSTEM v2 "Concrete & Signal"
   Tipografia: Syne (display) · Manrope (texto) · JetBrains Mono (datos)
   Paleta: hueso calido + tinta + naranja señal + verde WhatsApp
   ============================================================ */

:root {
    /* Fija el esquema claro: sin esto, el "modo oscuro automatico" de
       Chrome Android e iOS lavaba los textos en algunos telefonos. */
    color-scheme: light only;

    /* superficie */
    --f-bone:       #F4F1EA;
    --f-bone-deep:  #EBE7DC;
    --f-paper:      #FFFFFF;
    --f-ink:        #131210;
    --f-ink-soft:   #2A2823;
    --f-muted:      #5F5A4C;   /* oscurecido: mejor contraste en pantallas al sol */
    --f-line:       #DCD7C8;
    --f-line-dark:  #2E2C26;

    /* señal */
    --f-accent:     #FF4D00;
    --f-accent-soft:#FFE5D9;
    --f-wa:         #1DAB54;
    --f-wa-deep:    #128C42;
    --f-danger:     #D7263D;
    --f-ok:         #1DAB54;

    /* tipografia */
    --font-display: 'Syne', sans-serif;
    --font-body:    'Manrope', sans-serif;
    --font-mono:    'JetBrains Mono', monospace;

    /* forma */
    --r-card: 18px;
    --r-pill: 999px;
    --r-input: 12px;
    --shadow-pop: 0 14px 34px -18px rgba(19, 18, 16, 0.38);
    --shadow-soft: 0 18px 40px -22px rgba(19, 18, 16, 0.35);
    --ring: 0 0 0 3px rgba(19, 18, 16, 0.08);
    --ease-snap: cubic-bezier(.22, 1, .36, 1);
}

/* ============ BASE ============ */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--f-bone);
    color: var(--f-ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* grano sutil en todo el sitio */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2000;
    opacity: .2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, .display-font { font-family: var(--font-display); letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }

::selection { background: var(--f-accent); color: #fff; }

img { user-select: none; }

/* ============ UTILIDADES ============ */
.f-eyebrow {
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--f-muted);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.f-eyebrow::before {
    content: "";
    width: 1.4rem; height: 2px;
    background: var(--f-accent);
    display: inline-block;
}

.f-mono { font-family: var(--font-mono); }

/* El contenido se muestra siempre: sin fade-in al hacer scroll. */

/* ============ BOTONES ============ */
.f-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .92rem;
    line-height: 1;
    padding: .95rem 1.6rem;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--f-ink);
    background: transparent;
    color: var(--f-ink);
    cursor: pointer;
    transition: transform .18s var(--ease-snap), box-shadow .18s var(--ease-snap),
                background .18s, color .18s;
    white-space: nowrap;
}
.f-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-pop);
    color: var(--f-ink);
}
.f-btn:active { transform: none; box-shadow: none; }

.f-btn--ink   { background: var(--f-ink); color: var(--f-bone); }
.f-btn--ink:hover { color: var(--f-bone); }
.f-btn--light { background: var(--f-bone); color: var(--f-ink); border-color: var(--f-bone); }
.f-btn--ghost-light { border-color: rgba(244,241,234,.4); color: var(--f-bone); background: transparent; }
.f-btn--ghost-light:hover { color: var(--f-bone); border-color: rgba(244,241,234,.75); box-shadow: none; }
.f-btn--accent { background: var(--f-accent); border-color: var(--f-accent); color: #fff; }
.f-btn--accent:hover { color: #fff; }
.f-btn--wa { background: var(--f-wa); border-color: var(--f-wa); color: #fff; }
.f-btn--wa:hover { color: #fff; background: var(--f-wa-deep); border-color: var(--f-wa-deep); }
.f-btn--danger {
    background: var(--f-danger);
    border-color: var(--f-danger);
    color: #fff;
}
.f-btn--danger:hover { color: #fff; filter: brightness(1.08); }
.f-btn--sm { padding: .6rem 1.1rem; font-size: .8rem; }
.f-btn--lg { padding: 1.15rem 2.2rem; font-size: 1rem; }
.f-btn--block { width: 100%; }
.f-btn[disabled], .f-btn.is-disabled { opacity: .45; pointer-events: none; }

.f-btn .ti, .f-btn .bi { font-size: 1.1em; }

/* icono circular */
.f-iconbtn {
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1.5px solid var(--f-ink);
    background: var(--f-paper);
    color: var(--f-ink);
    transition: transform .18s var(--ease-snap), box-shadow .18s var(--ease-snap), background .18s;
}
.f-iconbtn:hover { transform: translateY(-1px); box-shadow: var(--shadow-pop); }

/* ============ BADGES ============ */
.f-badge {
    font-family: var(--font-mono);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .42rem .7rem;
    border-radius: var(--r-pill);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid transparent;
}
.f-badge--accent { background: var(--f-accent); color: #fff; }
.f-badge--new    { background: var(--f-paper); border-color: var(--f-ink); color: var(--f-ink); }
.f-badge--ink    { background: var(--f-ink); color: var(--f-bone); }
.f-badge--ghost  { background: var(--f-paper); border-color: var(--f-line); color: var(--f-muted); }
.f-badge--ok     { background: #E2F4E8; color: #0F7A39; }
.f-badge--warn   { background: #FFF1D6; color: #9A6B00; }
.f-badge--danger { background: #FCE4E8; color: var(--f-danger); }

/* ============ NAVBAR ============ */
.f-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(244, 241, 234, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--f-line);
    transition: box-shadow .25s;
}
.f-nav.is-scrolled { box-shadow: 0 10px 30px -18px rgba(19,18,16,.35); }
.f-nav .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: .9rem 0;
}

.f-wordmark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: .04em;
    color: var(--f-ink);
    display: inline-flex;
    align-items: baseline;
    line-height: 1;
}
.f-wordmark .dot { color: var(--f-accent); }
.f-wordmark--light { color: var(--f-bone); }

/* Logo subido desde el panel (reemplaza el texto FOURA) */
.f-logo { height: 34px; width: auto; max-width: 190px; object-fit: contain; display: block; }
.f-logo--lg { height: 48px; max-width: 240px; }
@media (max-width: 575.98px) { .f-logo { height: 28px; max-width: 140px; } }

.f-nav .links {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin: 0; padding: 0;
}
.f-nav .links a {
    font-size: .88rem;
    font-weight: 600;
    color: var(--f-ink-soft);
    padding: .55rem .9rem;
    border-radius: var(--r-pill);
    transition: background .15s, color .15s;
}
.f-nav .links a:hover,
.f-nav .links a.is-active { background: var(--f-ink); color: var(--f-bone); }

.f-nav .actions { display: flex; align-items: center; gap: .6rem; }

/* chip estatico de tasa BCV */
.f-rate {
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .06em;
    color: var(--f-muted);
    border: 1.5px solid var(--f-line);
    background: var(--f-paper);
    border-radius: var(--r-pill);
    padding: .5rem .9rem;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
}
.f-rate strong { color: var(--f-ink); font-weight: 600; }

/* buscador */
.f-search {
    display: flex;
    align-items: center;
    background: var(--f-paper);
    border: 1.5px solid var(--f-line);
    border-radius: var(--r-pill);
    padding: .15rem .35rem .15rem 1rem;
    transition: border-color .15s, box-shadow .15s;
    min-width: 220px;
}
.f-search:focus-within { border-color: var(--f-ink); box-shadow: var(--ring); }
.f-search input {
    border: 0; outline: 0; background: transparent;
    font-size: .85rem; width: 100%;
    font-family: var(--font-body);
    padding: .45rem 0;
}
.f-search button {
    border: 0; background: var(--f-ink); color: var(--f-bone);
    width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .8rem;
    flex: none;
}

/* pill carrito */
.f-cartpill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--f-ink);
    color: var(--f-bone);
    font-weight: 700;
    font-size: .85rem;
    border-radius: var(--r-pill);
    padding: .65rem 1.25rem;
    border: 1.5px solid var(--f-ink);
    transition: transform .18s var(--ease-snap), box-shadow .18s var(--ease-snap);
}
.f-cartpill:hover { color: var(--f-bone); transform: translateY(-1px); box-shadow: var(--shadow-pop); }
.f-cartpill .count {
    background: var(--f-accent);
    color: #fff;
    font-family: var(--font-mono);
    font-size: .68rem;
    min-width: 1.35rem; height: 1.35rem;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 .25rem;
}

/* hamburguesa + drawer movil */
.f-burger {
    display: none;
    border: 1.5px solid var(--f-ink);
    background: var(--f-paper);
    border-radius: 12px;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.f-drawer {
    position: fixed;
    inset: 0 30% 0 0;
    max-width: 340px;
    background: var(--f-ink);
    color: var(--f-bone);
    z-index: 1050;
    padding: 2rem 1.6rem;
    transform: translateX(-103%);
    transition: transform .35s var(--ease-snap);
    display: flex;
    flex-direction: column;
    gap: .35rem;
    overflow-y: auto;
}
.f-drawer.is-open { transform: none; box-shadow: 40px 0 80px rgba(0,0,0,.4); }
.f-drawer a {
    color: var(--f-bone);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    padding: .55rem 0;
    border-bottom: 1px solid var(--f-line-dark);
}
.f-drawer a:hover { color: var(--f-accent); }
.f-drawer .small-links a {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 500;
    border: 0;
    color: rgba(244,241,234,.7);
    padding: .35rem 0;
}
.f-drawer-backdrop {
    position: fixed; inset: 0;
    background: rgba(19,18,16,.55);
    z-index: 1049;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.f-drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ============ HERO ============ */
.f-hero {
    background: var(--f-ink);
    color: var(--f-bone);
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 6.5rem;
}
.f-hero::before {
    content: "";
    position: absolute;
    width: 900px; height: 900px;
    border-radius: 50%;
    right: -280px; top: -380px;
    background: radial-gradient(closest-side, rgba(255,77,0,.12), transparent 70%);
    pointer-events: none;
}
.f-hero .badge-drop {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--f-bone);
    border: 1px solid var(--f-line-dark);
    background: rgba(244,241,234,.06);
    border-radius: var(--r-pill);
    padding: .5rem 1rem;
    margin-bottom: 1.6rem;
}
.f-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.02;
    margin-bottom: 1.4rem;
}
.f-hero h1 .accent { color: var(--f-accent); }
.f-hero .lead-text {
    color: rgba(244,241,234,.72);
    font-size: 1.06rem;
    max-width: 480px;
    line-height: 1.7;
}
.f-hero .meta-rate {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .12em;
    color: rgba(244,241,234,.55);
}
.f-hero .meta-rate strong { color: var(--f-accent); }

/* tarjeta flotante del hero */
.f-hero-card {
    background: var(--f-bone);
    color: var(--f-ink);
    border-radius: var(--r-card);
    padding: 1.2rem;
    width: min(330px, 100%);
    box-shadow: 0 24px 60px -24px rgba(0,0,0,.55);
    transition: transform .3s var(--ease-snap);
}
.f-hero-card:hover { transform: translateY(-4px); }
.f-hero-card img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    border-radius: 12px;
    background: var(--f-bone-deep);
}
.f-hero-card .name { font-weight: 800; font-size: .95rem; margin-top: .8rem; }
.f-hero-card .price { font-family: var(--font-mono); font-weight: 600; color: var(--f-accent); }

/* ============ SECCIONES ============ */
.f-section { padding: 4.5rem 0; }
.f-section--deep { background: var(--f-bone-deep); }

.f-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.4rem;
}
.f-section-head h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    font-weight: 800;
    margin: .35rem 0 0;
    line-height: 1.05;
}
.f-section-head .index {
    font-family: var(--font-mono);
    color: var(--f-muted);
    font-size: .75rem;
    letter-spacing: .2em;
}

/* ============ COMO COMPRAR (home, 3 pasos) ============
   OJO: no llamar ".f-steps" — ese nombre ya lo usa el stepper del checkout. */
.f-howto-wrap { margin-top: 2.4rem; }
.f-howto {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem 1.6rem;
    background: var(--f-paper);
    border: 1.5px solid var(--f-line);
    border-radius: var(--r-card);
}
.f-howto .step {
    display: flex;
    gap: .95rem;
    align-items: flex-start;
    padding: .35rem .4rem;
}
.f-howto .step > i {
    font-size: 1.75rem;
    color: var(--f-accent);
    margin-top: .15rem;
    flex: none;
}
.f-howto .num {
    display: block;
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .18em;
    color: var(--f-muted);
    margin-bottom: .15rem;
}
.f-howto strong {
    display: block;
    font-size: .95rem;
    margin-bottom: .1rem;
}
.f-howto .desc {
    display: block;
    font-size: .8rem;
    color: var(--f-muted);
    line-height: 1.5;
}
@media (max-width: 767.98px) {
    .f-howto { grid-template-columns: 1fr; gap: .4rem; }
}

/* ============ PRODUCT CARD ============ */
.f-card {
    background: var(--f-paper);
    border: 1.5px solid var(--f-line);
    border-radius: var(--r-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .25s var(--ease-snap), box-shadow .25s var(--ease-snap), border-color .25s;
}
.f-card:hover {
    transform: translateY(-3px);
    border-color: var(--f-ink);
    box-shadow: var(--shadow-pop);
}
.f-card .img-wrap {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--f-bone-deep);
}
.f-card .img-wrap .cover { display: block; width: 100%; height: 100%; }
.f-card .img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-snap);
}
.f-card:hover .img-wrap img { transform: scale(1.06); }
.f-card .badges {
    position: absolute;
    top: .8rem; left: .8rem;
    display: flex; flex-direction: column; gap: .35rem;
    align-items: flex-start;
    z-index: 2;
}
.f-card .body {
    padding: .85rem .9rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: .12rem;
}
.f-card .brand {
    font-family: var(--font-mono);
    font-size: .58rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--f-muted);
    min-height: 1em;
}
.f-card .name {
    font-weight: 700;
    font-size: .86rem;
    line-height: 1.3;
    color: var(--f-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: .4rem;
}
.f-card .name:hover { color: var(--f-accent); }
.f-card .price-row { display: flex; align-items: baseline; gap: .45rem; margin-top: auto; }
.f-card .price-usd {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: .98rem;
}
.f-card .price-old {
    font-family: var(--font-mono);
    font-size: .72rem;
    color: var(--f-muted);
    text-decoration: line-through;
}
.f-card .price-ves {
    font-family: var(--font-mono);
    font-size: .64rem;
    color: var(--f-muted);
}
.f-card .actions {
    margin-top: .7rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem;
}
.f-card .actions:has(> :only-child) { grid-template-columns: 1fr; }
.f-card .actions .f-btn {
    padding: .55rem .4rem;
    font-size: .72rem;
    gap: .3rem;
    white-space: nowrap;
}

/* Tactil: sin efectos de hover (en iOS obligaban a tocar dos veces) */
@media (hover: none) {
    .f-card:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--f-line);
    }
    .f-card:hover .img-wrap img { transform: none; }
}

/* ============ COLORES EN LA TARJETA DEL CATALOGO ============ */
.f-card .card-form { display: contents; }
.card-colores {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: .5rem 0 .1rem;
}
.card-color {
    position: relative;
    cursor: pointer;
    line-height: 0;
}
.card-color input { position: absolute; opacity: 0; pointer-events: none; }
.card-color .dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--f-line);
    display: inline-block;
    transition: transform .15s var(--ease-snap), box-shadow .15s;
}
.card-color:hover .dot { transform: scale(1.1); }
.card-color:has(input:checked) .dot {
    border-color: var(--f-ink);
    box-shadow: 0 0 0 2px var(--f-paper), 0 0 0 3.5px var(--f-ink);
}
.card-color.is-out { cursor: not-allowed; }
.card-color.is-out .dot { opacity: .35; }
.card-color.is-out::after {
    content: "";
    position: absolute;
    left: 1px; right: 1px; top: 50%;
    height: 1.5px;
    background: var(--f-muted);
    transform: rotate(-45deg);
}

/* ============ COLORES (VARIANTES) ============ */
/* muestras compactas en la tarjeta del catalogo y en el carrito */
.swatches { display: flex; gap: .3rem; flex-wrap: wrap; margin: .1rem 0 .45rem; }
.swatch {
    width: 15px; height: 15px;
    border-radius: 50%;
    border: 1.5px solid var(--f-line);
    box-shadow: inset 0 0 0 1.5px var(--f-paper);
    display: inline-block;
    flex: none;
}
.swatch.is-out { opacity: .35; }

/* selector de color en la ficha del producto */
.f-colorpick { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.f-coloropt {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1.5px solid var(--f-line);
    border-radius: var(--r-pill);
    padding: .45rem .9rem .45rem .5rem;
    cursor: pointer;
    background: var(--f-paper);
    transition: border-color .15s, box-shadow .15s, transform .15s;
    user-select: none;
}
.f-coloropt input { position: absolute; opacity: 0; pointer-events: none; }
.f-coloropt .dot {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--f-line);
    flex: none;
}
.f-coloropt .nombre { font-size: .82rem; font-weight: 700; }
.f-coloropt:hover { border-color: var(--f-ink); }
.f-coloropt:has(input:checked) {
    border-color: var(--f-ink);
    box-shadow: var(--ring);
}
.f-coloropt.is-out {
    opacity: .45;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* boton Instagram (degradado de la marca) */
.f-btn--ig {
    background: linear-gradient(45deg, #F09433, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888);
    border-color: transparent;
    color: #fff;
}
.f-btn--ig:hover { color: #fff; filter: brightness(1.06); }

/* ============ CATEGORY TILES ============ */
.f-cat-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    background: var(--f-paper);
    border: 1.5px solid var(--f-line);
    border-radius: var(--r-card);
    padding: 1.4rem;
    height: 100%;
    overflow: hidden;
    transition: transform .25s var(--ease-snap), box-shadow .25s var(--ease-snap),
                border-color .25s, background .25s, color .25s;
}
.f-cat-tile:hover {
    background: var(--f-ink);
    color: var(--f-bone);
    border-color: var(--f-ink);
    transform: translateY(-3px);
    box-shadow: var(--shadow-pop);
}
.f-cat-tile .num {
    font-family: var(--font-mono);
    font-size: .7rem;
    color: var(--f-muted);
    letter-spacing: .15em;
}
.f-cat-tile:hover .num { color: var(--f-accent); }
.f-cat-tile .label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}
.f-cat-tile .label i { transition: transform .25s var(--ease-snap); }
.f-cat-tile:hover .label i { transform: translateX(5px); color: var(--f-accent); }

/* ============ BANDA WHATSAPP ============ */
.f-waband {
    background: var(--f-ink);
    color: var(--f-bone);
    border-radius: calc(var(--r-card) * 1.4);
    padding: 3.2rem 2.6rem;
    position: relative;
    overflow: hidden;
}
.f-waband::before {
    content: "";
    position: absolute;
    width: 480px; height: 480px;
    border-radius: 50%;
    left: -160px; bottom: -260px;
    background: radial-gradient(closest-side, rgba(29,171,84,.16), transparent 70%);
}
.f-waband h3 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    max-width: 520px;
    position: relative;
}
.f-waband p { color: rgba(244,241,234,.65); max-width: 440px; position: relative; }

/* ============ CATALOGO ============ */
.f-pagehead {
    background: var(--f-ink);
    color: var(--f-bone);
    padding: 2.8rem 0;
    position: relative;
    overflow: hidden;
}
.f-pagehead h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    margin: .4rem 0 0;
}
.f-pagehead .count {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .15em;
    color: rgba(244,241,234,.55);
}

.f-filterbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    padding: 1.1rem 0;
}
.f-chip {
    font-size: .8rem;
    font-weight: 700;
    padding: .5rem 1.05rem;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--f-line);
    background: var(--f-paper);
    color: var(--f-ink-soft);
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.f-chip:hover { border-color: var(--f-ink); }
.f-chip.is-active { background: var(--f-ink); color: var(--f-bone); border-color: var(--f-ink); }
.f-chip.is-active:hover { color: var(--f-bone); }

/* contador de productos dentro del chip de categoria */
.f-chip .n {
    font-family: var(--font-mono);
    font-size: .62rem;
    line-height: 1;
    background: var(--f-bone-deep);
    color: var(--f-ink-soft);
    border-radius: var(--r-pill);
    padding: .22rem .45rem;
}
.f-chip.is-active .n { background: rgba(244,241,234,.18); color: var(--f-bone); }

/* chip "limpiar filtros" */
.f-chip--clear { border-style: dashed; color: var(--f-muted); }
.f-chip--clear:hover { color: var(--f-ink); }

.f-sort {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    color: var(--f-muted);
}
.f-sort select {
    border: 1.5px solid var(--f-line);
    background: var(--f-paper);
    border-radius: var(--r-pill);
    font-size: .8rem;
    font-weight: 700;
    padding: .5rem 2rem .5rem 1rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23131210' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .8rem center;
    cursor: pointer;
}

/* filtro de rango de precio */
.f-pricefilter {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    color: var(--f-muted);
    flex-wrap: wrap;
}
.f-pricefilter input[type="number"] {
    width: 5.4rem;
    border: 1.5px solid var(--f-line);
    background: var(--f-paper);
    border-radius: var(--r-pill);
    padding: .5rem .8rem;
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 600;
    color: var(--f-ink);
    -moz-appearance: textfield;
}
.f-pricefilter input[type="number"]::-webkit-outer-spin-button,
.f-pricefilter input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.f-pricefilter input[type="number"]:focus {
    outline: none;
    border-color: var(--f-ink);
}

/* vacios */
.f-empty {
    text-align: center;
    padding: 4.5rem 1rem;
    color: var(--f-muted);
    border: 1.5px dashed var(--f-line);
    border-radius: var(--r-card);
    background: var(--f-paper);
}
.f-empty i { font-size: 2.6rem; display: block; margin-bottom: .8rem; color: var(--f-muted); }

/* paginacion */
.f-pagination {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.f-pagination a, .f-pagination span {
    min-width: 42px; height: 42px;
    padding: 0 .8rem;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--f-line);
    background: var(--f-paper);
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 600;
    transition: all .15s;
}
.f-pagination a:hover { border-color: var(--f-ink); }
.f-pagination .is-current { background: var(--f-ink); color: var(--f-bone); border-color: var(--f-ink); }
.f-pagination .is-disabled { opacity: .35; pointer-events: none; }

/* ============ BREADCRUMB ============ */
.f-crumb {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--f-muted);
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
}
.f-crumb a:hover { color: var(--f-accent); }
.f-crumb .sep { color: var(--f-line); }

/* ============ PRODUCTO DETALLE ============ */
.f-gallery-main {
    background: var(--f-paper);
    border: 1.5px solid var(--f-line);
    border-radius: var(--r-card);
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
}
.f-gallery-main img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity .2s;
}
.f-gallery-main img.is-swapping { opacity: 0; }
.f-thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.foura-thumb {
    width: 76px; height: 76px;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid var(--f-line);
    background: var(--f-paper);
    padding: 0;
    cursor: pointer;
    transition: border-color .15s, transform .15s;
    flex: none;
}
.foura-thumb:hover { transform: translateY(-2px); }
.foura-thumb.is-active { border-color: var(--f-ink); }
.foura-thumb img { width: 100%; height: 100%; object-fit: cover; }

.f-buybox {
    background: var(--f-paper);
    border: 1.5px solid var(--f-line);
    border-radius: var(--r-card);
    padding: 1.8rem;
    position: sticky;
    top: 96px;
}
.f-detail-name {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    line-height: 1.12;
    margin: .3rem 0 .6rem;
}
.f-price-big {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: -.02em;
}
.f-price-ves {
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--f-muted);
}
.f-qty {
    display: inline-flex;
    align-items: stretch;
    border: 1.5px solid var(--f-ink);
    border-radius: var(--r-pill);
    overflow: hidden;
    background: var(--f-paper);
}
.f-qty button {
    border: 0; background: transparent;
    width: 40px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}
.f-qty button:hover { background: var(--f-bone-deep); }
.f-qty input {
    border: 0; outline: 0;
    width: 48px;
    text-align: center;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: .95rem;
    -moz-appearance: textfield;
    appearance: textfield;
}
.f-qty input::-webkit-outer-spin-button,
.f-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.f-perk {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .82rem;
    color: var(--f-ink-soft);
    padding: .55rem 0;
}
.f-perk i { color: var(--f-accent); font-size: 1.15rem; flex: none; }

/* tabs */
.f-tabs {
    display: flex;
    gap: .4rem;
    border-bottom: 1.5px solid var(--f-line);
    margin-bottom: 1.4rem;
}
.f-tabs button {
    border: 0;
    background: transparent;
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--f-muted);
    padding: .8rem 1.1rem;
    margin-bottom: -1.5px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}
.f-tabs button.active { color: var(--f-ink); border-bottom-color: var(--f-accent); }

.f-spec-table { width: 100%; border-collapse: collapse; }
.f-spec-table th, .f-spec-table td {
    padding: .75rem .9rem;
    border-bottom: 1px solid var(--f-line);
    font-size: .88rem;
    text-align: left;
}
.f-spec-table th {
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--f-muted);
    width: 38%;
}

/* ============ CARRITO ============ */
.f-cartline {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 1.2rem;
    align-items: center;
    background: var(--f-paper);
    border: 1.5px solid var(--f-line);
    border-radius: var(--r-card);
    padding: 1rem;
    transition: border-color .2s;
}
.f-cartline:hover { border-color: var(--f-ink); }
.f-cartline img {
    width: 96px; height: 96px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--f-bone-deep);
}
.f-cartline .nm { font-weight: 800; font-size: .95rem; }
.f-cartline .unit { font-family: var(--font-mono); font-size: .75rem; color: var(--f-muted); }
.f-cartline .sub { font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem; text-align: right; }
.f-cartline .rm {
    border: 0; background: transparent;
    color: var(--f-muted);
    font-size: .78rem;
    display: inline-flex; align-items: center; gap: .3rem;
    cursor: pointer;
    padding: 0;
}
.f-cartline .rm:hover { color: var(--f-danger); }

.f-summary {
    background: var(--f-ink);
    color: var(--f-bone);
    border-radius: var(--r-card);
    padding: 1.8rem;
    position: sticky;
    top: 96px;
}
.f-summary .row-line {
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
    padding: .45rem 0;
    color: rgba(244,241,234,.75);
}
.f-summary .row-line strong { color: var(--f-bone); font-family: var(--font-mono); }
.f-summary .total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid var(--f-line-dark);
    margin-top: .8rem;
    padding-top: 1rem;
}
.f-summary .total-line .lbl { font-family: var(--font-display); font-weight: 700; }
.f-summary .total-line .val { font-family: var(--font-mono); font-weight: 600; font-size: 1.6rem; }
.f-summary .ves { font-family: var(--font-mono); font-size: .72rem; color: rgba(244,241,234,.55); text-align: right; }

/* ============ CHECKOUT ============ */
.f-steps {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--f-muted);
    flex-wrap: wrap;
}
.f-steps .step { display: inline-flex; align-items: center; gap: .45rem; }
.f-steps .n {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--f-line);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .62rem;
}
.f-steps .step.is-done .n,
.f-steps .step.is-now .n { background: var(--f-ink); color: var(--f-bone); border-color: var(--f-ink); }
.f-steps .step.is-now { color: var(--f-ink); }
.f-steps .bar { flex: 1; min-width: 30px; height: 1.5px; background: var(--f-line); }

.f-formcard {
    background: var(--f-paper);
    border: 1.5px solid var(--f-line);
    border-radius: var(--r-card);
    padding: 1.8rem;
}
.f-formcard h5 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    display: flex; align-items: center; gap: .6rem;
    margin-bottom: 1.2rem;
}
.f-formcard h5 .n {
    font-family: var(--font-mono);
    font-size: .65rem;
    background: var(--f-ink);
    color: var(--f-bone);
    border-radius: 50%;
    width: 24px; height: 24px;
    display: inline-flex; align-items: center; justify-content: center;
}

.f-label {
    font-family: var(--font-mono);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--f-muted);
    margin-bottom: .4rem;
    display: block;
}
.f-input, .f-select, .f-textarea {
    width: 100%;
    border: 1.5px solid var(--f-line);
    border-radius: var(--r-input);
    background: var(--f-bone);
    padding: .8rem 1rem;
    font-family: var(--font-body);
    font-size: .92rem;
    transition: border-color .15s, box-shadow .15s, background .15s;
    outline: none;
}
.f-input:focus, .f-select:focus, .f-textarea:focus {
    border-color: var(--f-ink);
    background: var(--f-paper);
    box-shadow: var(--ring);
}
.f-input.is-invalid, .f-select.is-invalid { border-color: var(--f-danger); }
.f-feedback { color: var(--f-danger); font-size: .76rem; margin-top: .3rem; }

/* radio de zona de envio */
.f-zone {
    display: flex;
    align-items: center;
    gap: .9rem;
    border: 1.5px solid var(--f-line);
    border-radius: var(--r-input);
    padding: .9rem 1.1rem;
    cursor: pointer;
    background: var(--f-bone);
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.f-zone:hover { border-color: var(--f-ink); }
.f-zone input { accent-color: var(--f-ink); width: 1.05rem; height: 1.05rem; flex: none; }
.f-zone .zn { font-weight: 700; font-size: .9rem; }
.f-zone .zd { font-size: .76rem; color: var(--f-muted); }
.f-zone .zp { margin-left: auto; font-family: var(--font-mono); font-weight: 600; font-size: .9rem; }
.f-zone:has(input:checked) {
    border-color: var(--f-ink);
    background: var(--f-paper);
    box-shadow: var(--ring);
}

/* variante oscura: radios dentro del resumen del carrito (fondo tinta) */
.f-summary .f-zone {
    background: rgba(244,241,234,.05);
    border-color: var(--f-line-dark);
}
.f-summary .f-zone:hover { border-color: rgba(244,241,234,.5); }
.f-summary .f-zone .zn { color: var(--f-bone); }
.f-summary .f-zone .zd { color: rgba(244,241,234,.55); }
.f-summary .f-zone input { accent-color: var(--f-accent); }
.f-summary .f-zone:has(input:checked) {
    background: rgba(244,241,234,.1);
    border-color: var(--f-bone);
    box-shadow: none;
}

/* ============ ORDEN CONFIRMADA ============ */
.f-confirm-hero {
    text-align: center;
    padding: 3.5rem 0 1.5rem;
}
.f-confirm-hero .check {
    width: 84px; height: 84px;
    margin: 0 auto 1.4rem;
    border-radius: 50%;
    background: var(--f-wa);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem;
    box-shadow: 0 18px 40px -18px rgba(29,171,84,.6);
}
.f-confirm-hero h1 { font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.f-ordernum {
    font-family: var(--font-mono);
    background: var(--f-paper);
    border: 1.5px solid var(--f-line);
    border-radius: var(--r-pill);
    padding: .55rem 1.3rem;
    display: inline-block;
    font-weight: 600;
    letter-spacing: .08em;
}

/* ============ LOGIN ============ */
.f-login-wrap {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.f-login-side {
    background: var(--f-ink);
    color: var(--f-bone);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.f-login-side::after {
    content: "";
    position: absolute;
    width: 560px; height: 560px;
    border-radius: 50%;
    right: -200px; bottom: -260px;
    background: radial-gradient(closest-side, rgba(255,77,0,.12), transparent 70%);
}
.f-login-side h2 { font-weight: 800; font-size: 2.2rem; max-width: 360px; position: relative; }
.f-login-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}
.f-login-card { width: min(400px, 100%); }

/* ============ FOOTER ============ */
.f-footer {
    background: var(--f-ink);
    color: rgba(244,241,234,.7);
    margin-top: 5rem;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}
.f-footer h6 {
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--f-bone);
    margin-bottom: 1.1rem;
}
.f-footer a {
    display: block;
    color: rgba(244,241,234,.65);
    font-size: .88rem;
    padding: .3rem 0;
    transition: color .15s, transform .15s;
}
.f-footer a:hover { color: var(--f-accent); transform: translateX(3px); }
.f-footer .bottom {
    border-top: 1px solid var(--f-line-dark);
    margin-top: 3rem;
    padding: 1.4rem 0 1.6rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(244,241,234,.4);
    position: relative;
    z-index: 2;
}
/* ============ FLASH / TOASTS ============ */
.foura-flash-wrap {
    position: fixed;
    right: 1.2rem;
    bottom: 5.6rem;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    max-width: min(380px, calc(100vw - 2.4rem));
}
.foura-flash-wrap .alert {
    position: relative;
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0;
    border-radius: 14px;
    border: 1px solid rgba(19,18,16,.12);
    box-shadow: var(--shadow-pop);
    font-size: .88rem;
    font-weight: 600;
    padding: .9rem 2.6rem .9rem 1.1rem;
    animation: f-toast-in .45s var(--ease-snap);
}
.foura-flash-wrap .alert-success { background: #E9F8EE; color: #0F7A39; }
.foura-flash-wrap .alert-danger  { background: #FCE9EC; color: var(--f-danger); }
.foura-flash-wrap .btn-close { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); font-size: .7rem; }
@keyframes f-toast-in {
    from { opacity: 0; transform: translateY(14px) scale(.97); }
    to   { opacity: 1; transform: none; }
}

/* ============ BOTON FLOTANTE WHATSAPP ============ */
.f-wafloat {
    position: fixed;
    right: 1.3rem;
    bottom: 1.3rem;
    z-index: 1070;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--f-wa);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 14px 30px -10px rgba(19,18,16,.45);
    transition: transform .2s var(--ease-snap), box-shadow .2s, background .2s;
}
.f-wafloat:hover { color: #fff; transform: translateY(-2px); background: var(--f-wa-deep); }

/* ============ RESPONSIVE ============ */

/* Tablets e iPad en horizontal: el buscador compite con el menu */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .f-search { min-width: 150px; }
    .f-nav .links a { padding: .55rem .65rem; font-size: .84rem; }
    .f-rate { display: none !important; }
}

/* iPad / tablets verticales */
@media (min-width: 768px) and (max-width: 991.98px) {
    .f-hero h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
    .f-buybox, .f-summary { position: static; }
    .f-gallery-main { max-height: 520px; }
}

@media (max-width: 991.98px) {
    .f-nav .links, .f-nav .f-search { display: none; }
    .f-burger { display: inline-flex; }
    .f-hero { padding: 3.5rem 0 5rem; }
    .f-hero::after { font-size: 26vw; bottom: -1.5rem; }
    .f-buybox, .f-summary { position: static; }
    .f-login-wrap { grid-template-columns: 1fr; }
    .f-login-side { min-height: 220px; padding: 2rem; }
    .f-section { padding: 3rem 0; }
}
@media (max-width: 575.98px) {
    .f-cartline { grid-template-columns: 72px 1fr; }
    .f-cartline img { width: 72px; height: 72px; }
    .f-cartline .sub { grid-column: 2; text-align: left; }
    .f-section-head { flex-direction: column; align-items: flex-start; gap: .8rem; }
    .f-waband { padding: 2.2rem 1.5rem; }
    .f-pagehead::after { display: none; }
}
