/* Beldey Sports — catálogo premium (negro / oro / blanco) */

:root {
    --gold: #c9a66b;
    --gold-dim: #9e7d4f;
    --gold-bright: #e8d5b5;
    --black: #070707;
    --surface: #0f0f10;
    --surface-2: #161618;
    --white: #faf9f7;
    --gray-light: #f0eeeb;
    --gray-mid: #e6e3de;
    --muted: #9c9a96;
    --muted-dark: #6b6966;
    --border: rgba(201, 166, 107, 0.22);
    --border-strong: rgba(201, 166, 107, 0.45);
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.35);
    --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.08);
    --max: 1180px;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.page {
    min-height: 100vh;
    background: var(--black);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -30%, rgba(201, 166, 107, 0.09), transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 100%, rgba(80, 60, 40, 0.25), transparent 45%);
    font-family: 'Poppins', system-ui, sans-serif;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    body.nav-open .nav-main {
        max-height: min(70vh, 420px);
        overflow-y: auto;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

::selection {
    background: rgba(201, 166, 107, 0.35);
    color: #fff;
}

.site-main {
    overflow-x: hidden;
}

/* ——— Header ——— */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 7, 7, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.75rem clamp(1rem, 3vw, 1.75rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
}

/* Hamburguesa + redes agrupados (móvil: columna arriba-derecha) */
.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    max-height: 96px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 480px) {
    .logo-img {
        max-height: clamp(58px, 19vw, 86px);
    }
}

.logo-mark {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--gold), var(--gold-dim));
    color: #111;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 20px rgba(201, 166, 107, 0.25);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name {
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}

.logo-tag {
    font-size: 0.74rem;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--gold-bright);
    cursor: pointer;
    transition: background 0.2s var(--ease), border-color 0.2s;
}

.nav-toggle:hover {
    background: rgba(201, 166, 107, 0.1);
    border-color: var(--border-strong);
}

.nav-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem 0.25rem;
}

.nav-main a {
    padding: 0.5rem 0.9rem;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}

.nav-main a:hover,
.nav-main a.active {
    color: var(--gold-bright);
    background: rgba(201, 166, 107, 0.1);
}

.header-social {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.header-social__btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--gold);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.2s, border-color 0.2s, color 0.2s, background 0.2s;
}
.header-social__btn svg {
    display: block;
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
}

.header-social__btn:hover {
    color: #111;
    background: linear-gradient(145deg, var(--gold-bright), var(--gold));
    border-color: transparent;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo actions"
            "nav nav";
        align-items: center;
        column-gap: 1rem;
        row-gap: 0.5rem;
    }

    .logo-wrap {
        grid-area: logo;
        align-self: center;
    }

    .header-actions {
        grid-area: actions;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        align-self: center;
        gap: 0.45rem 0.55rem;
    }

    .nav-toggle {
        display: flex;
    }

    .header-social {
        flex-basis: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.45rem;
    }

    .nav-main {
        grid-area: nav;
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0 0.15rem;
        border-top: 1px solid var(--border);
        margin-top: 0.15rem;
    }
    .nav-main.is-open {
        display: flex;
    }
    .nav-main a {
        border-radius: var(--radius-sm);
        text-align: center;
    }
}

/* ——— Hero ——— */
.hero {
    position: relative;
    min-height: clamp(360px, 62vh, 600px);
    display: flex;
    align-items: center;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg);
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
    transition: transform 8s var(--ease);
}

.hero:hover .hero__bg {
    transform: scale(1.06);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(5, 5, 5, 0.94) 0%,
        rgba(5, 5, 5, 0.72) 42%,
        rgba(5, 5, 5, 0.25) 72%,
        transparent 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 34rem;
}

.hero-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--gold);
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: clamp(2.4rem, 7.5vw, 4rem);
    line-height: 1.02;
    color: #fff;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.hero-title__accent {
    font-style: italic;
    font-weight: 600;
    background: linear-gradient(120deg, var(--gold-bright), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    margin: 1.25rem 0 1.75rem;
    font-size: clamp(0.92rem, 2vw, 1.05rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.72);
    max-width: 28rem;
    line-height: 1.65;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: #111;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(201, 166, 107, 0.35);
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(201, 166, 107, 0.45);
}

/* ——— Buscador ——— */
.search-wrap {
    max-width: var(--max);
    margin: -1.75rem auto 0;
    padding: 0 clamp(1rem, 3vw, 1.75rem);
    position: relative;
    z-index: 3;
}

.search {
    display: flex;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: rgba(15, 15, 16, 0.95);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.search:focus-within {
    border-color: rgba(201, 166, 107, 0.65);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 166, 107, 0.15);
}

.search-form.search {
    max-width: none;
}

.search input {
    flex: 1;
    min-width: 0;
    padding: 1rem 1.25rem;
    border: none;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
}

.search input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.search button {
    flex-shrink: 0;
    padding: 0 1.5rem;
    border: none;
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: #111;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.2s;
}

.search button:hover {
    filter: brightness(1.08);
}

.search--inline {
    margin: 1rem 0 1.5rem;
    max-width: 520px;
    border-radius: var(--radius);
}

.search--inline input {
    background: rgba(255, 255, 255, 0.06);
}

/* ——— Secciones genéricas ——— */
.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 1.75rem);
}

.section--dark {
    padding-top: clamp(2.5rem, 5vw, 3.75rem);
}

.section--family {
    padding-top: 0;
}

/* ——— Texto de marca / marketing ——— */
.brand-pitch {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(201, 166, 107, 0.06) 0%, transparent 45%, rgba(0, 0, 0, 0.2) 100%);
}

.brand-pitch__inner {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.brand-pitch__eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.brand-pitch__headline {
    margin: 0 0 1rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.45rem, 3.8vw, 2.1rem);
    line-height: 1.2;
    color: #fff;
}

.brand-pitch__lead {
    margin: 0 0 1.35rem;
    font-size: clamp(0.92rem, 2vw, 1.02rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.brand-pitch__list {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    text-align: left;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.brand-pitch__list li {
    position: relative;
    margin-bottom: 0.85rem;
    padding-left: 1.35rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.brand-pitch__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    box-shadow: 0 0 12px rgba(201, 166, 107, 0.45);
}

.brand-pitch__list strong {
    color: var(--gold-bright);
    font-weight: 600;
}

.brand-pitch__cta {
    margin: 0;
    font-size: 0.85rem;
}

.brand-pitch__link {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 166, 107, 0.4);
    transition: color 0.2s, border-color 0.2s;
}

.brand-pitch__link:hover {
    color: var(--gold-bright);
    border-bottom-color: var(--gold-bright);
}

.brand-after-family {
    max-width: 38rem;
    margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
    padding: 0 0.5rem;
    text-align: center;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.65;
    color: var(--muted);
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.section__head {
    text-align: center;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.section__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 3.5vw, 2.15rem);
    color: #fff;
    letter-spacing: 0.02em;
}

.section__title--dark {
    color: #111;
}

.section__subtitle {
    margin-top: 0.5rem;
    font-size: 0.88rem;
    color: var(--muted);
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

.section__subtitle--dark {
    color: var(--muted-dark);
}

.section__head--light {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

/* ——— Grid categorías (oscuro) ——— */
.categories {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(168px, 220px));
    gap: clamp(12px, 2vw, 18px);
}

.explora-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 1.35rem 1.15rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
}

.explora-empty a {
    color: var(--gold);
    font-weight: 600;
}

.category {
    position: relative;
    min-height: 168px;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-position: center;
    background-size: cover;
    isolation: isolate;
    transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.category::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
    opacity: 0.85;
    z-index: 0;
    transition: opacity 0.3s;
}

.category:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.category:hover::before {
    opacity: 0.95;
}

.category--fallback {
    background-image:
        linear-gradient(145deg, rgba(201, 166, 107, 0.12), transparent 50%),
        linear-gradient(160deg, #1a1816, #0d0d0e 80%);
}

.cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 35%, rgba(0, 0, 0, 0.88));
    pointer-events: none;
    z-index: 1;
}

.category-label {
    position: absolute;
    bottom: 1rem;
    left: 0.75rem;
    right: 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    z-index: 2;
}

.category-count {
    position: absolute;
    bottom: 2.65rem;
    left: 0.5rem;
    right: 0.5rem;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-bright);
    opacity: 0.92;
    z-index: 2;
}

/* ——— Familia ——— */
.family-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2vw, 20px);
    max-width: 100%;
}

.family-card {
    position: relative;
    min-height: clamp(200px, 28vw, 280px);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    border: 1px solid var(--border);
    background-size: cover;
    background-position: center;
    transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.family-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.family-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(185deg, transparent 15%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.92) 100%);
    pointer-events: none;
}

.family-title {
    position: absolute;
    bottom: 1.25rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    z-index: 2;
}

@media (max-width: 720px) {
    .family-row {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ——— Categorías (bloque claro) ——— */
.catalog-section.section--light {
    max-width: none;
    margin: 0;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
    background: linear-gradient(180deg, var(--gray-light) 0%, var(--white) 35%, var(--gray-mid) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.catalog-section .cat-grid-light {
    max-width: var(--max);
    margin: 0 auto;
}

.catalog-section .section__head--light {
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
}

.cat-grid-light {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}

.cat-tile {
    position: relative;
    padding: 1.35rem 1.25rem 1.2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
    overflow: hidden;
}

.cat-tile::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), var(--gold-dim));
    opacity: 0;
    transition: opacity 0.25s;
}

.cat-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.cat-tile:hover::before {
    opacity: 1;
}

.cat-tile__badge {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.22rem 0.4rem;
    border-radius: 6px;
    background: rgba(26, 26, 26, 0.06);
    color: var(--gold-dim);
    border: 1px solid rgba(201, 166, 107, 0.35);
}

.cat-tile__name {
    font-weight: 600;
    font-size: 1rem;
}

.cat-tile__sub {
    font-size: 0.78rem;
    color: var(--muted-dark);
}

.cat-tile__meta {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-dim);
}

.catalog-more {
    text-align: center;
    margin-top: 2.25rem;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    border: 2px solid #111;
    color: #111;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.25s, color 0.25s, transform 0.2s;
}

.btn-line:hover {
    background: #111;
    color: #fff;
    transform: translateY(-2px);
}

/* ——— Productos ——— */
.grid--products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}

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

.product-card-wrap {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.product-card-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.product-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    text-decoration: none;
    color: #1a1a1a;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.product-card-wrap:hover .product-card__img-wrap img {
    transform: scale(1.05);
}

.product-card__img-wrap {
    aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, #eceae7, #d8d4cf);
    overflow: hidden;
}

.product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.product-card__ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ddd9d4, #c4bfb8);
}

.product-card__body {
    padding: 1rem 1.15rem 1.25rem;
}

.product-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #111;
    line-height: 1.35;
}

.product-card__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-dim);
}

.product-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 0.75rem 0.7rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(180deg, #fafaf9, #f3f2f0);
}

.cart-qty-input {
    width: 3.25rem;
    padding: 0.35rem 0.4rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
    background: #fff;
    color: #111;
}

.btn-cart-add {
    flex: 1;
    min-width: 0;
    padding: 0.45rem 0.6rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold), #a08040);
    color: #0a0a0a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.2s, transform 0.15s;
}

.btn-cart-add:hover {
    filter: brightness(1.08);
}

.btn-cart-add.is-added {
    background: #2d6a4f;
    color: #fff;
}

.btn-cart-add--large {
    padding: 0.65rem 1.25rem;
    font-size: 0.8rem;
    border-radius: 999px;
}

.product-cart-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin: 1.25rem 0;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.product-cart-cta .cart-qty-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.88rem;
}

.product-cart-cta .cart-qty-input {
    width: 4rem;
}

.cart-go-link {
    font-size: 0.85rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.cart-go-link:hover {
    text-decoration: underline;
}

.header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: 4px;
    border-radius: 10px;
    color: var(--gold);
    border: 1px solid rgba(201, 166, 107, 0.35);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.header-cart:hover {
    background: rgba(201, 166, 107, 0.12);
    color: #fff;
}

.header-cart__icon {
    width: 22px;
    height: 22px;
}

.header-cart__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--gold);
    color: #0a0a0a;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.1rem;
    text-align: center;
}

.header-cart__badge.is-empty {
    display: none;
}

.page-carrito .cart-empty {
    color: var(--muted);
    padding: 2rem 0;
}

.page-carrito .cart-empty .btn-line {
    margin-top: 1rem;
}

.cart-table-wrap {
    margin-top: 0.5rem;
}

.cart-table-wrap .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.cart-table th,
.cart-table td {
    padding: 0.75rem 0.6rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-table th {
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cart-th-thumb {
    width: 72px;
    padding-left: 0.35rem !important;
}

.cart-col-thumb {
    width: 72px;
    vertical-align: middle;
    padding-right: 0.35rem !important;
}

.cart-thumb-wrap {
    display: block;
    width: 56px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.2);
}

.cart-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-thumb--ph {
    width: 100%;
    height: 100%;
    min-height: 70px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.cart-col-title {
    min-width: 0;
}

.cart-col-sub {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.cart-tier-label {
    display: block;
    min-width: 0;
}

.cart-line-tier {
    width: 100%;
    max-width: 220px;
    margin-top: 0.25rem;
    padding: 0.4rem 0.45rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}

.cart-col-price {
    white-space: normal;
    vertical-align: middle;
}

.cart-col-qty .cart-line-qty {
    width: 3.5rem;
    padding: 0.35rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
}

.cart-col-del {
    width: 2.5rem;
    text-align: center;
}

.btn-cart-remove {
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 6px;
}

.btn-cart-remove:hover {
    color: #c44;
    background: rgba(255, 255, 255, 0.06);
}

.cart-mini-link {
    font-size: 0.78rem;
    color: var(--gold);
}

.cart-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.cart-total {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.cart-total strong {
    color: var(--gold-bright);
    font-variant-numeric: tabular-nums;
}

.cart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.btn-cart-clear {
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: var(--muted);
    font-size: 0.8rem;
    cursor: pointer;
}

.btn-cart-clear:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.cart-warn {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
}

/* Carrito: tabla → tarjetas en móvil (precio, cantidad y subtotal visibles sin scroll) */
@media (max-width: 720px) {
    .page-carrito .table-wrap {
        overflow-x: visible;
    }

    .page-carrito .cart-table,
    .page-carrito .cart-table tbody,
    .page-carrito .cart-table thead,
    .page-carrito .cart-table tr {
        display: block;
        width: 100%;
    }

    .page-carrito .cart-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .page-carrito .cart-table tbody tr {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.35rem 0.5rem;
        padding: 0.75rem 2.35rem 0.75rem 0.5rem;
        margin-bottom: 0.85rem;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.22);
    }

    .page-carrito .cart-table tbody td {
        display: block;
        border: none;
        padding: 0;
    }

    .page-carrito .cart-col-thumb {
        flex: 0 0 52px;
        width: 52px;
    }

    .page-carrito .cart-thumb-wrap {
        width: 52px;
        height: 64px;
    }

    .page-carrito .cart-thumb--ph {
        min-height: 64px;
    }

    .page-carrito .cart-col-title {
        flex: 1 1 calc(100% - 64px);
        min-width: 0;
        font-size: 0.86rem;
        line-height: 1.35;
        padding-top: 0.1rem;
    }

    .page-carrito .cart-col-del {
        position: absolute;
        top: 0.45rem;
        right: 0.35rem;
        width: auto;
    }

    .page-carrito .cart-col-price {
        flex: 1 1 100%;
        margin-top: 0.35rem;
        padding-top: 0.45rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .page-carrito .cart-col-price::before {
        content: 'Precio';
        display: block;
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--gold);
        margin-bottom: 0.3rem;
    }

    .page-carrito .cart-line-tier {
        max-width: none;
        width: 100%;
        font-size: 0.7rem;
        padding: 0.42rem 0.4rem;
    }

    .page-carrito .cart-col-qty {
        flex: 0 0 calc(50% - 0.25rem);
        max-width: calc(50% - 0.25rem);
        box-sizing: border-box;
        margin-top: 0.35rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
    }

    .page-carrito .cart-col-qty::before {
        content: 'Cantidad';
        display: block;
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--gold);
        margin-bottom: 0.3rem;
    }

    .page-carrito .cart-col-qty .cart-line-qty {
        width: 100%;
        max-width: 8rem;
        box-sizing: border-box;
    }

    .page-carrito .cart-col-sub {
        flex: 0 0 calc(50% - 0.25rem);
        max-width: calc(50% - 0.25rem);
        box-sizing: border-box;
        margin-top: 0.35rem;
        text-align: right;
        align-self: flex-end;
        white-space: normal;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--gold-bright);
    }

    .page-carrito .cart-col-sub::before {
        content: 'Subtotal';
        display: block;
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--gold);
        margin-bottom: 0.3rem;
        text-align: right;
    }

    .page-carrito .cart-total {
        font-size: 0.98rem;
        line-height: 1.45;
    }

    .page-carrito .cart-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-carrito .cart-actions .btn-wa,
    .page-carrito .cart-actions .btn-cart-clear {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ——— Páginas internas ——— */
.wrap {
    width: min(var(--max), 92%);
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}

.page-inner {
    padding-top: 0.5rem;
}

.breadcrumb {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--gold);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    margin: 0 0.35rem;
    opacity: 0.45;
}

.page-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    margin-bottom: 0.35rem;
    color: #fff;
}

.page-lead {
    color: var(--muted);
    margin-bottom: 1.5rem;
    max-width: 640px;
}

.section-title {
    font-size: 1rem;
    margin: 2rem 0 1rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.empty-msg {
    color: var(--muted);
    padding: 2rem 0;
}

.subcat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 1rem;
}

.subcat-card {
    min-height: 150px;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    border: 1px solid var(--border);
    transition: transform 0.25s, box-shadow 0.25s;
}

.subcat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.subcat-card--fallback {
    background-image: linear-gradient(135deg, #222, #111);
}

.subcat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.subcat-name {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

/* Categoría: en móvil dos columnas (≈ col-6) para subcategorías y productos */
@media (max-width: 768px) {
    .page-categoria .subcat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .page-categoria .subcat-card {
        min-height: 118px;
    }

    .page-categoria .subcat-name {
        font-size: 0.78rem;
        bottom: 8px;
        padding: 0 6px;
        line-height: 1.25;
    }

    .page-categoria .grid--products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
    }

    .page-categoria .product-card__body {
        padding: 0.55rem 0.65rem 0.75rem;
    }

    .page-categoria .product-card__title {
        font-size: 0.8rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .page-categoria .product-card__price {
        font-size: 0.85rem;
    }

    .page-categoria .product-card__prices-extra {
        font-size: 0.62rem;
    }
}

.product-page .product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
}

@media (max-width: 800px) {
    .product-page .product-layout {
        grid-template-columns: 1fr;
    }
}

.product-gallery__main img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.product-gallery__ph {
    min-height: 320px;
    background: var(--surface-2);
    border-radius: var(--radius);
}

.product-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.product-gallery__thumbs .thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    width: 72px;
    height: 72px;
}

.product-gallery__thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__thumbs .thumb.is-active {
    border-color: var(--gold);
}

.product-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}

.product-prices {
    margin: 0 0 1.15rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.product-prices__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem 1rem;
    align-items: baseline;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--border);
}

.product-prices__row:last-child {
    border-bottom: none;
}

.product-prices dt {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.product-prices dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-bright);
    font-variant-numeric: tabular-nums;
}

.product-prices__row:first-child dd {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold);
}

.product-card__prices-extra {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: var(--muted-dark);
    line-height: 1.35;
}

.product-card__prices-extra span {
    font-variant-numeric: tabular-nums;
}

.product-cats {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.product-cats a {
    color: var(--gold);
}

.product-desc {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.25rem;
    white-space: pre-wrap;
    line-height: 1.65;
}

.btn-wa {
    display: inline-flex;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    background: #25d366;
    color: #062d14;
    font-weight: 700;
    text-decoration: none;
    transition: filter 0.2s, transform 0.2s;
}

.btn-wa:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* ——— Footer ——— */
.site-footer {
    position: relative;
    background: #030303;
    padding: 2.75rem clamp(1.25rem, 4vw, 2rem) 1.5rem;
    margin-top: 0;
    border-top: 1px solid var(--border);
}

.site-footer__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.65;
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 640px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

.footer-eyebrow {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 0.65rem;
}

.footer-col--brand .footer-eyebrow {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0.85rem;
    line-height: 1.2;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    line-height: 1.65;
    max-width: 36ch;
}

.footer-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    margin-top: 0.5rem;
    align-items: center;
}

.footer-social__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: var(--gold);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.footer-social__btn svg {
    display: block;
    flex-shrink: 0;
    width: 1.2rem;
    height: 1.2rem;
}

.footer-social__btn:hover {
    color: #111;
    background: linear-gradient(145deg, var(--gold-bright), var(--gold));
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-copy {
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 2.5rem;
}

/* ——— WhatsApp ——— */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: auto;
    z-index: 100;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2fe677, #25d366);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45), 0 4px 16px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.wa-float:hover {
    transform: scale(1.07);
    box-shadow: 0 16px 48px rgba(37, 211, 102, 0.55), 0 6px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
    .wa-float {
        right: 14px;
        bottom: 14px;
        left: auto;
        width: 54px;
        height: 54px;
    }
}
