/* ═══════════════════════════════════════════════════════════════
   Mommata — Hoja de estilos principal
   ═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────────────── */
:root {
    --teal:        #0ABFBF;
    --teal-dark:   #089898;
    --gold:        #FDD840;
    --bg:          #F7F2DA;
    --bg-white:    #FFFFFF;
    --text:        #1C1C1C;
    --text-muted:  #666666;
    --border:      #E2DDD4;
    --red:         #D94040;
    --green:       #2E8B57;
    --radius:      4px;
    --shadow:      0 2px 12px rgba(0,0,0,.08);
    --shadow-lg:   0 8px 32px rgba(0,0,0,.12);
    --transition:  .25s ease;
    --font-body:   'Montserrat', sans-serif;
    --font-serif:  'Cormorant Garamond', serif;
    --container:   1200px;
}

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    background: #F7F2DA;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── UTILIDADES ────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only   { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── BARRA SUPERIOR ────────────────────────────────────────────── */
.topbar {
    background: #F7F2DA;
    color: var(--text);
    text-align: center;
    padding: 6px 20px;
    font-size: 12px;
    letter-spacing: .03em;
    border-bottom: 1px solid rgba(0,0,0,.07);
}
.topbar p { margin: 0; }
.topbar strong { color: var(--red); }

/* ── HEADER ────────────────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #00AAAD;
    border-bottom: none;
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}
.header__menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 4px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.header__menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}
.header__logo .logo-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 36px;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: .02em;
}
.header__actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.action-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: background var(--transition);
    color: var(--gold);
}
.action-btn svg { stroke-width: 2.2; }
.action-btn:hover { background: rgba(255,255,255,.15); }
.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--teal);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    min-width: 17px;
    height: 17px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}
.badge-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    background: var(--teal);
    border-radius: 50%;
}

/* ── BARRA DE BÚSQUEDA ─────────────────────────────────────────── */
.search-bar {
    display: none;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-white);
}
.search-bar.active { display: block; }
.search-bar .container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.search-bar form {
    flex: 1;
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.search-bar input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    background: transparent;
}
.search-bar button[type="submit"] {
    padding: 10px 16px;
    background: var(--teal);
    color: #fff;
}
.search-close { color: var(--text-muted); font-size: 16px; padding: 4px 8px; }

/* ── NAVEGACIÓN PRINCIPAL ──────────────────────────────────────── */
.main-nav {
    background: #F7F2DA;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 64px;
    z-index: 899;
}
.main-nav__list {
    display: flex;
    gap: 0;
    justify-content: center;
}
.main-nav__list a {
    display: block;
    padding: 14px 18px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text);
    transition: color var(--transition);
    white-space: nowrap;
}
.main-nav__list a:hover,
.main-nav__list a.active { color: var(--teal); }

/* ── DROPDOWN NAV ─────────────────────────────────────────────────── */
.nav-item { position: relative; }

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #F7F2DA;
    border-top: 3px solid var(--teal);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    min-width: 200px;
    z-index: 1000;
    padding: 16px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.nav-dropdown ul { list-style: none; padding: 0; margin: 0; }
.nav-dropdown ul li a {
    display: block;
    padding: 10px 24px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}
.nav-dropdown ul li a:hover {
    color: var(--teal);
    background: rgba(0,170,173,.06);
}

.nav-item--has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Overlay oscuro */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 800;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
}
.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Nav transparente al hacer scroll */
.main-nav {
    transition: background .3s ease, border-color .3s ease;
}
.main-nav--transparent {
    background: transparent;
    border-bottom-color: transparent;
}
.main-nav--transparent .main-nav__list a {
    color: #fff;
}
.main-nav--transparent .main-nav__list a:hover {
    color: rgba(255,255,255,.7);
}
.main-nav--transparent .nav-dropdown ul li a {
    color: var(--text);
}
.main-nav--transparent .nav-dropdown ul li a:hover {
    color: var(--teal);
}

/* ── FLASH ─────────────────────────────────────────────────────── */
.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 13px;
    gap: 12px;
}
.flash--success { background: #d4edda; color: #155724; }
.flash--error   { background: #f8d7da; color: #721c24; }
.flash--info    { background: #d1ecf1; color: #0c5460; }
.flash button   { font-size: 16px; line-height: 1; opacity: .7; }
.flash button:hover { opacity: 1; }

/* ── BOTONES ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: 1.5px solid transparent;
}
.btn--primary {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}
.btn--primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn--outline {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
}
.btn--outline:hover { background: var(--text); color: #fff; }
.btn--full { width: 100%; }
.btn--sm { padding: 8px 16px; font-size: 11px; }

/* ── HOMEPAGE — HERO ───────────────────────────────────────────── */
.hero-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 380px 380px;
    gap: 4px;
    margin-bottom: 48px;
    width: 100%;
    padding: 0;
}
.hero-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.hero-card--main { grid-row: 1 / 3; }
.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.hero-card:hover img { transform: scale(1.03); }
.hero-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}
.hero-card__badge {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 8px;
    width: fit-content;
}
.hero-card__title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}
.hero-card__sub { font-size: 12px; opacity: .85; margin-top: 4px; }

/* ── HOMEPAGE — SECCIÓN TEMPORADAS ─────────────────────────────── */
.section { padding: 56px 0; }
.section__title {
    text-align: center;
    margin-bottom: 8px;
    font-family: var(--font-serif);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.section__subtitle {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 40px;
}

.temporadas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.temporada-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
}
.temporada-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.temporada-card:hover img { transform: scale(1.04); }
.temporada-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.28);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}
.temporada-card__badge {
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 2px 10px;
    border-radius: 2px;
    width: fit-content;
    margin-bottom: 8px;
}
.temporada-card__title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ── HOMEPAGE — BANNER COLECCIÓN ────────────────────────────────── */
.banner-coleccion {
    position: relative;
    width: 100%;
    aspect-ratio: 16/5;
    overflow: hidden;
    margin: 0;
}
.banner-coleccion img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-coleccion__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #fff;
    text-align: center;
}
.banner-coleccion__sub {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.banner-coleccion__title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold);
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

/* ── HOMEPAGE — TEXTO COLECCIÓN ─────────────────────────────────── */
.coleccion-texto { padding: 48px 0; }
.coleccion-texto__inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.coleccion-texto__inner p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-muted);
}
.coleccion-texto__inner strong { color: var(--text); }

/* ── HOMEPAGE — CATEGORÍAS ──────────────────────────────────────── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 0 0 56px;
}
.cat-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius);
}
.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: center;
    padding: 14px;
}

/* ── TARJETA DE PRODUCTO ─────────────────────────────────────────── */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    transition: box-shadow var(--transition);
}
.product-card:hover { box-shadow: var(--shadow); }
.product-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--bg);
}
.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.04); }

/* Hover overlay con acciones rápidas */
.product-card__quick {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(1px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity var(--transition);
    padding: 16px;
}
.product-card:hover .product-card__quick { opacity: 1; }
.product-card__sizes {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.size-btn {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--text);
    border-radius: var(--radius);
    font-size: 11px;
    font-weight: 600;
    background: #fff;
    transition: all var(--transition);
}
.size-btn:hover, .size-btn.active {
    background: var(--text);
    color: #fff;
}
.size-btn:disabled { opacity: .35; cursor: not-allowed; }
.product-card__add {
    background: var(--text);
    color: #fff;
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: background var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.product-card__add:hover { background: var(--teal); }

.product-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}
.badge-nuevo {
    background: var(--green);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    width: fit-content;
}
.badge-oferta {
    background: var(--red);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
    width: fit-content;
}
.product-card__wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
    z-index: 2;
    transition: background var(--transition);
}
.product-card__wishlist:hover { background: #fff; }
.product-card__wishlist.active svg { fill: var(--red); stroke: var(--red); }

.product-card__info { padding: 14px 8px 16px; }
.product-card__name {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--text);
    line-height: 1.4;
}
.product-card__price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-original {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}
.price-actual {
    font-size: 15px;
    font-weight: 600;
    color: var(--red);
}
.price-normal {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}
.price-pct {
    font-size: 11px;
    font-weight: 700;
    color: var(--red);
}
.product-card__colors {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}
.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.15);
    cursor: pointer;
}

/* ── GRID DE PRODUCTOS ──────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 16px;
}

/* ── CARRUSEL ───────────────────────────────────────────────────── */
.carousel { position: relative; }
.carousel__track {
    display: flex;
    gap: 16px;
    overflow: hidden;
}
.carousel__track .product-card { flex: 0 0 calc(25% - 12px); }
.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 5;
    transition: all var(--transition);
}
.carousel__btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.carousel__btn--prev { left: -20px; }
.carousel__btn--next { right: -20px; }

/* ── PÁGINA DE CATEGORÍA ─────────────────────────────────────────── */
.cat-header {
    padding: 32px 0 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.cat-header__breadcrumb {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.cat-header__breadcrumb a:hover { color: var(--teal); }
.cat-header__title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cat-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--bg);
    border-radius: var(--radius);
    margin-bottom: 28px;
    gap: 16px;
}
.cat-toolbar__filter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}
.cat-toolbar__order {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}
.cat-toolbar__order select {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px 12px;
    font-family: inherit;
    font-size: 12px;
    background: #fff;
    outline: none;
}

/* Panel de filtros lateral */
.cat-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
}
.filters-panel { background: var(--bg); padding: 20px; border-radius: var(--radius); }
.filters-panel__group { margin-bottom: 24px; }
.filters-panel__group h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 13px;
    cursor: pointer;
}
.filter-option input { accent-color: var(--teal); }

/* ── FICHA DE PRODUCTO ──────────────────────────────────────────── */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 40px 0;
}
.product-gallery__main {
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg);
    cursor: zoom-in;
}
.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.product-gallery__main:hover img { transform: scale(1.04); }
.product-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.product-gallery__thumb {
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--transition);
    flex-shrink: 0;
}
.product-gallery__thumb.active { border-color: var(--teal); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info__breadcrumb {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.product-info__breadcrumb a:hover { color: var(--teal); }
.product-info__title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.product-info__price-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.product-info__price { font-size: 26px; font-weight: 600; color: var(--red); }
.product-info__price-old {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
}
.product-info__price-pct {
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
}

.product-info__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--text-muted);
}
.product-info__colors { display: flex; gap: 8px; margin-bottom: 24px; }
.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--transition);
}
.color-swatch.active { border-color: var(--text); outline: 2px solid #fff; outline-offset: -4px; }

.product-info__sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.size-option {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}
.size-option:hover, .size-option.active {
    border-color: var(--text);
    background: var(--text);
    color: #fff;
}
.size-option:disabled { opacity: .35; cursor: not-allowed; }

.product-info__qty {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    width: fit-content;
    margin-bottom: 20px;
}
.qty-btn {
    width: 38px;
    height: 42px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.qty-btn:hover { background: var(--bg); }
.qty-input {
    width: 50px;
    height: 42px;
    text-align: center;
    border: none;
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

.product-info__actions { display: flex; gap: 12px; margin-bottom: 28px; }
.product-info__actions .btn { flex: 1; }

.product-info__tabs { border-top: 1px solid var(--border); margin-top: 28px; }
.tabs-nav { display: flex; border-bottom: 1px solid var(--border); }
.tabs-nav button {
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
}
.tabs-nav button.active { color: var(--text); border-bottom-color: var(--text); }
.tab-content { padding: 24px 0; font-size: 14px; line-height: 1.8; display: none; }
.tab-content.active { display: block; }

/* ── CHECKOUT ───────────────────────────────────────────────────── */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 40px 0;
    align-items: start;
}
.checkout-steps { display: flex; gap: 0; margin-bottom: 32px; }
.checkout-step {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 3px solid var(--border);
    transition: all var(--transition);
}
.checkout-step.active { color: var(--text); border-bottom-color: var(--teal); }
.checkout-step.done  { color: var(--teal); border-bottom-color: var(--teal); }

.checkout-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
}
.checkout-card__title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition);
    background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.order-summary {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 100px;
}
.order-summary__title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.order-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.order-item__img {
    width: 64px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
    background: var(--border);
}
.order-item__info { flex: 1; }
.order-item__name { font-size: 13px; font-weight: 500; line-height: 1.4; }
.order-item__meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.order-item__price { font-size: 14px; font-weight: 600; color: var(--red); }

.promo-form {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}
.promo-form input {
    flex: 1;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 13px;
    outline: none;
}
.promo-form input:focus { border-color: var(--teal); }

.order-totals { margin-top: 16px; }
.order-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 6px 0;
    color: var(--text-muted);
}
.order-total-row--final {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    border-top: 1.5px solid var(--border);
    padding-top: 14px;
    margin-top: 8px;
}

.shipping-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.shipping-benefit svg { margin: 0 auto 10px; color: var(--text-muted); }
.shipping-benefit p { font-size: 12px; line-height: 1.5; color: var(--text-muted); }

/* ── CARRITO ───────────────────────────────────────────────────── */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    padding: 40px 0;
    align-items: start;
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 10px 12px;
    border-bottom: 1.5px solid var(--border);
    text-align: left;
}
.cart-table td { padding: 16px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 16px; }
.cart-product img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--bg);
}
.cart-product__name { font-size: 13px; font-weight: 500; }
.cart-product__meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.cart-remove { color: var(--text-muted); font-size: 18px; transition: color var(--transition); }
.cart-remove:hover { color: var(--red); }

/* ── PAGINACIÓN ───────────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 40px 0;
}
.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
}
.pagination a:hover { border-color: var(--teal); color: var(--teal); }
.pagination .current { background: var(--text); color: #fff; border-color: var(--text); }

/* ── FOOTER ────────────────────────────────────────────────────── */
.footer {
    background: #00AAAD;
    color: #F7F2DA;
    padding: 56px 0 0;
    margin-top: 80px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(247,242,218,.2);
}
.footer__logo {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 30px;
    color: var(--gold);
    display: block;
    margin-bottom: 20px;
}
.footer address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.8;
}
.footer address a { color: #F7F2DA; }
.footer address a:hover { color: #fff; }
.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.footer__social a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(247,242,218,.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F7F2DA;
    transition: all var(--transition);
}
.footer__social a:hover { border-color: #fff; color: #fff; }
.footer__col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #F7F2DA;
    margin-bottom: 16px;
}
.footer__col ul li + li { margin-top: 8px; }
.footer__col ul a { font-size: 13px; color: #F7F2DA; transition: color var(--transition); }
.footer__col ul a:hover { color: #fff; }

.footer__birthday-title {
    font-size: 14px;
    font-weight: 600;
    color: #F7F2DA;
    margin-bottom: 14px;
}
.footer__newsletter-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}
.footer__newsletter-inputs input {
    padding: 10px 12px;
    border: 1px solid rgba(247,242,218,.4);
    border-radius: var(--radius);
    background: rgba(255,255,255,.12);
    color: #F7F2DA;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition);
}
.footer__newsletter-inputs input::placeholder { color: rgba(247,242,218,.6); }
.footer__newsletter-inputs input:focus { border-color: #fff; }
.footer__newsletter-legal { font-size: 11px; color: rgba(247,242,218,.7); line-height: 1.6; margin-bottom: 14px; }

.footer__payments {
    padding: 24px 0;
    border-bottom: 1px solid rgba(247,242,218,.2);
    text-align: center;
}
.footer__payments p {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(247,242,218,.8);
    margin-bottom: 14px;
}
.footer__payment-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.pay-icon {
    padding: 7px 16px;
    border: 1px solid rgba(247,242,218,.3);
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    color: #F7F2DA;
}
.footer__copy {
    text-align: center;
    font-size: 12px;
    color: rgba(247,242,218,.7);
    padding: 18px 0;
}

/* ── LOGIN / REGISTRO ─────────────────────────────────────────── */
.auth-wrap {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.auth-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}
.auth-box__title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 8px;
}
.auth-box__sub { text-align: center; font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 28px;
}
.auth-tab {
    padding: 12px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-muted);
}
.auth-tab.active { background: var(--text); color: #fff; }
.auth-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}
.auth-link a { color: var(--teal); }

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-grid { grid-template-rows: 300px 300px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
}

@media (min-width: 769px) {
    .header__menu-btn { display: none; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.open { display: block; }
    .main-nav__list { flex-direction: column; }
    .main-nav__list a { padding: 12px 20px; border-bottom: 1px solid var(--border); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .hero-card--main { grid-row: auto; }
    .temporadas-grid { grid-template-columns: 1fr; }
    .checkout-layout, .cart-layout { grid-template-columns: 1fr; }
    .shipping-benefits { grid-template-columns: repeat(2, 1fr); }
    .cat-layout { grid-template-columns: 1fr; }
    .cat-toolbar { flex-direction: column; align-items: flex-start; }
    .footer__grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 8px; }
    .hero-card__title { font-size: 20px; }
    .auth-box { padding: 24px 20px; }
    .shipping-benefits { grid-template-columns: 1fr 1fr; }
}

/* ── FONDO BLANCO (carrito + checkout) ────────────────── */
body.bg-white { background: #fff; }

/* ── MI CUENTA ──────────────────────────────────────── */
.mi-cuenta-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
}
.mi-cuenta-nav {
    display: flex;
    flex-direction: column;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    position: sticky;
    top: 80px;
}
.mi-cuenta-nav__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: all .2s;
}
.mi-cuenta-nav__item:last-child { border-bottom: none; }
.mi-cuenta-nav__item--admin {
    color: var(--gold) !important;
    border-top: 1px solid var(--border);
    font-weight: 600;
    letter-spacing: .04em;
}
.mi-cuenta-nav__item--admin svg { stroke: var(--gold); }
.mi-cuenta-nav__item--admin:hover { background: #fffbea; color: #b8860b !important; }
.mi-cuenta-nav__item:hover { background: #fafafa; color: var(--text); }
.mi-cuenta-nav__item.active { background: var(--teal); color: #fff; font-weight: 600; }
.mi-cuenta-nav__item.active svg { stroke: #fff; }
.mi-cuenta-content__title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--border);
}
.cuenta-form .form-group { margin-bottom: 16px; }
.cuenta-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.cuenta-form input, .cuenta-form select, .cuenta-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
}
.cuenta-form input:focus { border-color: var(--teal); }

/* Tarjeta pedido en Mi Cuenta */
.pedido-card {
    border: 1.5px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}
.pedido-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #fafafa;
    border-bottom: 1px solid var(--border);
}
.pedido-card__body { padding: 12px 18px; }

/* Tarjeta dirección */
.dir-card {
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 18px;
    position: relative;
    transition: border-color .2s;
}
.dir-card--active { border-color: var(--teal); }
.dir-card__badge {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Auth box back link */
.auth-box__back {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 16px;
}
.auth-box__back:hover { color: var(--teal); }

@media (max-width: 768px) {
    .mi-cuenta-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .mi-cuenta-nav {
        flex-direction: row;
        flex-wrap: wrap;
        position: static;
    }
    .mi-cuenta-nav__item {
        flex: 1 1 auto;
        justify-content: center;
        border-bottom: none;
        border-right: 1px solid var(--border);
        font-size: 12px;
        padding: 12px 10px;
    }
    .mi-cuenta-nav__item:last-child { border-right: none; }
}

/* ── CHECKOUT PASOS ACORDEÓN ──────────────────────────── */
.co-step {
    border: 1.5px solid var(--border);
    border-radius: 6px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color .2s;
}
.co-step--done {
    border-color: var(--teal);
}
.co-step--locked {
    opacity: .55;
}
.co-step--locked .co-step__header {
    cursor: default;
}
.co-step__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
}
.co-step__header:hover:not(.co-step--locked .co-step__header) {
    background: #fafafa;
}
.co-step__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.co-step--locked .co-step__num {
    background: var(--border);
    color: var(--text-muted);
}
.co-step__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    flex: 1;
}
.co-step__check {
    font-size: 14px;
    font-weight: 700;
    color: var(--teal);
    min-width: 16px;
}
.co-step__arrow {
    color: var(--text-muted);
    transition: transform .25s ease;
    flex-shrink: 0;
}
.co-step__body {
    padding: 0 20px 24px;
    border-top: 1px solid var(--border);
    animation: coFadeIn .2s ease;
}
@keyframes coFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── PROMO SPLIT (Tienda + Entrar) ──────────────────────── */
.promo-split {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    gap: 48px 60px;
}
.promo-split__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: clamp(52px, 7vw, 96px);
    color: rgba(0,0,0,.08);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    line-height: 1;
}
.promo-split__img {
    position: relative;
    z-index: 1;
}
.promo-split__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}
.promo-split__img--tl { grid-column: 1; grid-row: 1; min-height: 380px; }
.promo-split__img--br { grid-column: 2; grid-row: 2; min-height: 340px; }
.promo-split__text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}
.promo-split__text--tr { grid-column: 2; grid-row: 1; }
.promo-split__text--bl { grid-column: 1; grid-row: 2; }
.promo-split__text p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-muted);
}
.promo-split__text p strong {
    color: var(--text);
    font-weight: 600;
}
.promo-split__text .btn { align-self: flex-start; }
@media (max-width: 768px) {
    .promo-split {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 32px;
        margin: 40px auto;
    }
    .promo-split__logo { display: none; }
    .promo-split__img--tl { grid-column: 1; grid-row: 1; min-height: 260px; }
    .promo-split__text--tr { grid-column: 1; grid-row: 2; }
    .promo-split__text--bl { grid-column: 1; grid-row: 3; }
    .promo-split__img--br { grid-column: 1; grid-row: 4; min-height: 260px; }
}
