/* ═══════════════════════════════════════
   AVC FASHION — PROFESSIONAL STORE THEME
   Estilo: Shein / Zara
═══════════════════════════════════════ */
:root {
    --blanco: #ffffff;
    --negro: #111111;
    --gris1: #f8f8f8;
    --gris2: #f0f0f0;
    --gris3: #e0e0e0;
    --gris4: #888888;
    --acento: #111111;
    --acento2: #333333;
    --texto: #111111;
    --texto2: #555555;
    --borde: #ebebeb;
    --sombra: 0 2px 12px rgba(0,0,0,0.06);
    --sombra2: 0 8px 32px rgba(0,0,0,0.10);
    --r: 12px;
    --trans: all 0.25s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: #fafafa;
    color: #111111;
    overflow-x: hidden;
    font-size: 14px;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── HEADER ─── */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    z-index: 1000;
}
.header-top-bar {
    background: #111111;
    height: 38px;
    display: none;
    align-items: center;
}
.header-top-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-top-left,
.header-top-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-contact-link {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.header-contact-link:hover { color: white; }
.header-sep {
    color: rgba(255,255,255,0.2);
    margin: 0 10px;
    font-size: 12px;
}
.header-main {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    height: 84px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.header-main-inner {
    width: 100%;
    padding: 0 48px;
    display: flex;
    align-items: center;
    gap: 40px;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}
.header-logo img {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eeeeee;
}
.header-logo-txt h1 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #111111;
    line-height: 1;
    letter-spacing: -0.03em;
}
.header-logo-txt span {
    font-size: 10px;
    color: #bbbbbb;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-top: 4px;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}
.header-nav > a {
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555555;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.header-nav > a:hover { color: #111111; background: #f5f5f5; }
.header-nav > a.active { color: #111111; font-weight: 700; background: #f5f5f5; }
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.header-cart {
    position: relative;
    width: 44px; height: 44px;
    border-radius: 10px;
    background: #f5f5f5;
    color: #111111;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
}
.header-cart:hover { background: #111111; color: white; }
.cart-badge {
    position: absolute; top: -5px; right: -5px; background: var(--acento);
    color: white; border-radius: 50%; width: 18px; height: 18px;
    font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
    border: 2px solid #111;
}
.cart-badge.hidden { display: none; }
.header-menu-toggle {
    display: none;
    background: none; border: none;
    font-size: 20px; cursor: pointer;
    color: #111111; flex-shrink: 0;
}

/* ═══ DROPDOWN CATEGORÍAS ═══ */
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.nav-dropdown > a {
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #555555;
    transition: all 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    text-decoration: none;
}
.nav-dropdown:hover > a { color: #111111; }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #ffffff;
    border-top: 3px solid #e63946;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 9999;
    padding: 8px 0;
    max-height: 400px;
    overflow-y: auto;
    flex-direction: column;
}
.nav-dropdown:hover .nav-dropdown-menu {
    display: flex;
}
.nav-dropdown-menu a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 9px 16px !important;
    font-size: 13px !important;
    color: #333333 !important;
    background: transparent !important;
    border: none !important;
    text-decoration: none !important;
    transition: all 0.15s !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}
.nav-dropdown-menu a:hover {
    background: #f5f5f5 !important;
    color: #e63946 !important;
    padding-left: 22px !important;
}
.nav-dropdown-divider {
    height: 1px;
    background: #eeeeee;
    margin: 4px 0;
    width: 100%;
}
.nav-dropdown-header {
    font-size: 10px;
    font-weight: 700;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 16px 4px;
    display: block;
}
.nav-cat-count {
    font-size: 11px;
    color: #aaa;
    background: #f5f5f5;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 600;
    flex-shrink: 0;
}
.nav-ver-todos-link {
    color: #e63946 !important;
    font-weight: 700 !important;
}

/* ─── ANUNCIO TOP BAR ─── */
.top-bar-track span { color: rgba(255,255,255,0.7); }
.top-bar-track span strong { color: white; }

/* ─── SLIDER MULTI-CARD ─── */
.slider-wrap {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
    padding: 32px 0;
    margin-top: 0;
}
.slider-header {
    max-width: 1300px;
    margin: 0 auto 24px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.slider-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.02em;
}
.slider-header a {
    font-size: 12px;
    color: #e63946;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid currentColor;
}
.slider-track-wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 56px;
    overflow: hidden;
}
.slider-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slide {
    min-width: calc(25% - 12px);
    max-width: calc(25% - 12px);
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid #ebebeb;
    display: flex;
    flex-direction: column;
}
.slide:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.10); }
.slide-img-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8f8f8;
    position: relative;
    flex-shrink: 0;
}
.slide-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}
.slide:hover .slide-img-wrap img { transform: scale(1.04); }
.slide-info {
    padding: 12px 14px 14px;
    background: #ffffff;
}
.slide-cat {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e63946;
    font-weight: 700;
    margin-bottom: 5px;
}
.slide-nombre {
    font-size: 13px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 6px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.slide-precio {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #ffffff;
    border: 1px solid #ebebeb;
    color: #111111;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: var(--trans);
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn:hover { background: #111111; color: white; border-color: #111111; }
.slider-btn.prev { left: 8px; }
.slider-btn.next { right: 8px; }
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}
.slider-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none; cursor: pointer;
    transition: var(--trans);
}
.slider-dot.active { background: var(--acento); width: 20px; border-radius: 3px; }

@media (max-width: 900px) {
    .slide { min-width: calc(50% - 8px); max-width: calc(50% - 8px); }
    .slide-img-wrap { height: 220px; }
}
@media (max-width: 480px) {
    .slide { min-width: calc(50% - 6px); max-width: calc(50% - 6px); }
    .slide-img-wrap { height: 180px; }
    .slider-track { gap: 10px; }
}

/* ═══ SECCIONES ═══ */
.seccion { padding: 48px 24px; max-width: 1300px; margin: 0 auto; }
.seccion-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.seccion-titulo::after { display: none; }
.seccion-sub { font-size: 12px; color: #aaaaaa; margin-top: 4px; margin-bottom: 28px; }
.seccion-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.ver-todos {
    font-size: 11px; color: #111111; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 1px;
    white-space: nowrap;
}

/* ═══ CATEGORÍAS ═══ */
.cats-section {
    background: #ffffff;
    padding: 40px 0;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
}
.cats-inner { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.cats-grid { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cats-grid::-webkit-scrollbar { display: none; }
.cat-card {
    background: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    min-width: 130px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px 14px;
    text-align: center;
}
.cat-card:hover { background: #ffffff; border-color: #111111; transform: translateY(-2px); }
.cat-card img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; margin-bottom: 10px; }
.cat-card-icono { font-size: 28px; margin-bottom: 10px; line-height: 1; }
.cat-card h3 { font-size: 10px; font-weight: 700; color: #111111; margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.08em; }
.cat-card span { font-size: 10px; color: #aaaaaa; font-weight: 400; }
.cat-card:hover h3 { color: #111111; }

/* ═══ GRID PRODUCTOS ═══ */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.prod-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.25,0.46,0.45,0.94);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: none;
}
.prod-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}
.prod-card-img {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #f8f8f8;
    position: relative;
}
.prod-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}
.prod-card:hover .prod-card-img img { transform: scale(1.04); }
.prod-card-badge {
    position: absolute;
    top: 8px; left: 8px;
    background: #111111;
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 2;
}
.prod-card-badge.agotado { background: #888888; }
.prod-card-badge.nuevo { background: #111111; }
.prod-card-seleccionar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(17,17,17,0.82);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(4px);
    z-index: 3;
}
.prod-card:hover .prod-card-seleccionar { transform: translateY(0); }
.prod-card-info { padding: 10px 12px 6px; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.prod-card-cat { font-size: 10px; color: #aaaaaa; font-weight: 500; text-transform: uppercase; letter-spacing: 0.10em; }
.prod-card-nombre {
    font-size: 13px; font-weight: 500; color: #111111;
    line-height: 1.3; letter-spacing: -0.01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prod-card-talla { font-size: 11px; color: #aaaaaa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-card-precio { font-size: 15px; font-weight: 700; color: #111111; margin-top: 4px; letter-spacing: -0.02em; }
.prod-card-footer { padding: 8px 12px 12px; }
.btn-agregar {
    width: 100%;
    padding: 9px;
    border-radius: 8px;
    background: #111111;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-agregar:hover { background: #333333; }
.btn-agregar.agotado { background: #f5f5f5; color: #cccccc; border: 1px solid #eeeeee; cursor: not-allowed; }
.btn-agregar.agregado { background: #16a34a; }

/* ═══ NOVEDADES SECTION ═══ */
.novedades-section { background: #fafafa; padding: 48px 0; }
.novedades-inner { max-width: 1300px; margin: 0 auto; padding: 0 24px; }

/* ═══ BANNER PROMO ═══ */
.banner-promo {
    background: #111111;
    color: white;
    padding: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto 48px;
    max-width: 1300px;
}
.banner-promo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px; font-weight: 800; color: white;
    margin-bottom: 6px; letter-spacing: -0.02em;
}
.banner-promo p { font-size: 13px; color: rgba(255,255,255,0.6); }
.banner-promo a {
    background: white;
    color: #111111;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
    text-decoration: none;
}
.banner-promo a:hover { background: #f0f0f0; }

/* ═══ FILTROS CATÁLOGO ═══ */
.filtros-wrap { background: #ffffff; border-bottom: 1px solid #f0f0f0; padding: 16px 24px; }
.filtros-bar {
    max-width: 1300px; margin: 0 auto;
    display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap;
}
.filtro-grupo { display: flex; flex-direction: column; gap: 5px; }
.filtro-grupo label { font-size: 10px; font-weight: 700; color: #aaaaaa; text-transform: uppercase; letter-spacing: 0.1em; }
.filtro-grupo select, .filtro-grupo input {
    border: 1px solid #ebebeb; border-radius: 8px; padding: 9px 14px;
    font-family: inherit; font-size: 13px; color: #111111; background: #fafafa;
    outline: none; transition: all 0.2s;
}
.filtro-grupo select:focus, .filtro-grupo input:focus { border-color: #111111; background: white; }
.filtros-precio { display: flex; align-items: center; gap: 8px; }
.filtros-precio input { width: 80px; }
.filtro-buscar { flex: 1; min-width: 240px; }
.filtro-buscar input { width: 100%; }
.btn-filtrar {
    padding: 10px 20px;
    background: #111111;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    font-family: inherit;
    transition: all 0.2s;
    white-space: nowrap;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.btn-filtrar:hover { background: #333333; }
.resultados-count { font-size: 12px; color: #aaaaaa; margin-bottom: 20px; font-weight: 500; }
.catalogo-wrap { max-width: 1300px; margin: 0 auto; padding: 28px 24px 56px; }

/* ─── CARRITO PANEL ─── */
.carrito-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s;
    backdrop-filter: blur(2px);
}
.carrito-overlay.open { opacity: 1; pointer-events: all; }
.carrito-panel {
    position: fixed; top: 0; right: -440px; width: 440px; max-width: 100vw;
    height: 100vh; background: white; z-index: 2001;
    display: flex; flex-direction: column;
    transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -4px 0 40px rgba(0,0,0,0.15);
}
.carrito-panel.open { right: 0; }
.carrito-header {
    padding: 20px 24px;
    border-bottom: 1px solid #ebebeb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111111;
    color: white;
}
.carrito-header h2 { font-family: 'Playfair Display', serif; font-size: 18px; color: white; }
.carrito-close { background: none; border: none; font-size: 20px; cursor: pointer; color: rgba(255,255,255,0.7); transition: var(--trans); }
.carrito-close:hover { color: white; }
.carrito-items { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.carrito-vacio { text-align: center; padding: 60px 0; color: var(--gris4); }
.carrito-vacio p { font-size: 14px; margin-top: 12px; }
.carrito-item { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--borde); }
.carrito-item:last-child { border-bottom: none; }
.carrito-item-img { width: 72px; height: 90px; border-radius: 4px; overflow: hidden; background: var(--gris2); flex-shrink: 0; }
.carrito-item-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.carrito-item-info { flex: 1; }
.carrito-item-nombre { font-size: 13px; font-weight: 600; color: var(--negro); margin-bottom: 3px; }
.carrito-item-talla { font-size: 11px; color: var(--gris4); margin-bottom: 8px; }
.carrito-item-precio { font-size: 15px; font-weight: 700; color: var(--negro); }
.carrito-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn { width: 26px; height: 26px; border-radius: 4px; border: 1px solid var(--borde); background: white; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: var(--trans); }
.qty-btn:hover { background: var(--negro); color: white; border-color: var(--negro); }
.qty-num { font-size: 14px; font-weight: 700; min-width: 24px; text-align: center; }
.carrito-item-del { background: none; border: none; color: var(--gris4); cursor: pointer; font-size: 14px; transition: var(--trans); padding: 4px; }
.carrito-item-del:hover { color: var(--acento); }
.carrito-footer { padding: 20px 24px; border-top: 1px solid var(--borde); background: var(--gris1); }
.carrito-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.carrito-total span { font-size: 13px; color: var(--gris4); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.carrito-total strong { font-size: 24px; font-weight: 700; color: var(--negro); }
.btn-pedido {
    width: 100%; padding: 16px; background: #25d366; color: white;
    border: none; border-radius: 4px; cursor: pointer; font-size: 14px;
    font-weight: 700; font-family: inherit; transition: var(--trans);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.btn-pedido:hover { background: #1fb855; }

/* ─── MODAL PEDIDO ─── */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 3000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
    backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
    background: white; border-radius: var(--r); padding: 36px; width: 100%; max-width: 420px;
    max-height: 90vh; overflow-y: auto;
    transform: translateY(20px); transition: transform 0.3s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-box h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 6px; }
.modal-box p { font-size: 13px; color: var(--gris4); margin-bottom: 24px; }
.form-grupo { margin-bottom: 16px; }
.form-grupo label { display: block; font-size: 10px; font-weight: 700; color: var(--gris4); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.form-grupo input, .form-grupo select {
    width: 100%; border: 1px solid var(--borde); border-radius: 4px; padding: 12px 14px;
    font-family: inherit; font-size: 14px; color: var(--texto); outline: none; transition: var(--trans);
}
.form-grupo input:focus, .form-grupo select:focus { border-color: var(--negro); }
.modal-btns { display: flex; gap: 12px; margin-top: 24px; }
.btn-cancelar { flex: 1; padding: 12px; border: 1px solid var(--borde); border-radius: 4px; background: white; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--texto2); transition: var(--trans); }
.btn-cancelar:hover { border-color: var(--negro); }
.btn-enviar-wa { flex: 2; padding: 12px; background: #25d366; color: white; border: none; border-radius: 4px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700; transition: var(--trans); text-transform: uppercase; letter-spacing: 0.05em; }
.btn-enviar-wa:hover { background: #1fb855; }

/* ─── DETALLE PRODUCTO ─── */
.detalle-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 24px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.galeria-principal { aspect-ratio: 3/4; border-radius: var(--r); overflow: hidden; background: var(--gris2); position: relative; }
.galeria-principal img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.galeria-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.galeria-thumb { width: 60px; height: 75px; border-radius: 4px; overflow: hidden; background: var(--gris2); cursor: pointer; border: 2px solid transparent; transition: var(--trans); }
.galeria-thumb:hover, .galeria-thumb.active { border-color: var(--negro); }
.galeria-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.detalle-info { padding-top: 8px; }
.detalle-cat { font-size: 11px; font-weight: 700; color: var(--acento); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.detalle-nombre { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--negro); margin-bottom: 10px; line-height: 1.2; }
.detalle-talla { font-size: 13px; color: var(--texto2); margin-bottom: 20px; background: var(--gris1); padding: 8px 14px; border-radius: 4px; display: inline-block; }
.detalle-precio { font-size: 32px; font-weight: 700; color: var(--negro); margin-bottom: 8px; }
.detalle-stock { font-size: 13px; color: var(--texto2); margin-bottom: 28px; }
.detalle-stock strong { color: #16a34a; }
.detalle-btns { display: flex; flex-direction: column; gap: 10px; }
.btn-detalle-carrito { padding: 16px 24px; background: var(--negro); color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 13px; font-weight: 700; font-family: inherit; transition: var(--trans); display: flex; align-items: center; justify-content: center; gap: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.btn-detalle-carrito:hover { background: var(--acento); }
.btn-detalle-wa { padding: 14px 24px; background: white; color: #25d366; border: 2px solid #25d366; border-radius: 4px; cursor: pointer; font-size: 13px; font-weight: 700; font-family: inherit; transition: var(--trans); display: flex; align-items: center; justify-content: center; gap: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.btn-detalle-wa:hover { background: #25d366; color: white; }
.detalle-beneficios { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--borde); display: flex; flex-direction: column; gap: 10px; }
.detalle-beneficios span { font-size: 13px; color: var(--texto2); display: flex; align-items: center; gap: 10px; }

/* ═══ FOOTER ═══ */
.footer {
    background: #111111;
    color: rgba(255,255,255,0.75);
    padding: 0;
    margin-top: 80px;
}
.footer-top {
    padding: 56px 24px 48px;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 56px;
}
.footer-brand h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.45);
    margin-bottom: 28px;
    max-width: 280px;
}
.footer-redes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-redes a {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    background: transparent;
}
.footer-redes a:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: rgba(255,255,255,0.3);
}
.footer-col h4 {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 20px;
}
.footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 12px;
    transition: all 0.2s;
    text-decoration: none;
}
.footer-col a:hover {
    color: white;
    padding-left: 6px;
}
.footer-middle {
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 28px 24px;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-middle-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.footer-middle-item strong {
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}
.footer-middle-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.footer-divider {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-divider p { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-divider a {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-divider a:hover { color: rgba(255,255,255,0.6); }

/* ─── TOAST ─── */
.toast {
    position: fixed; top: 80px; left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #16a34a; color: white; padding: 14px 28px;
    border-radius: 4px; font-size: 13px; font-weight: 700;
    z-index: 9999; opacity: 0; pointer-events: none;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap; box-shadow: 0 4px 20px rgba(22,163,74,0.4);
    letter-spacing: 0.05em; text-transform: uppercase;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── BREADCRUMB ─── */
.breadcrumb-wrap { background: var(--gris1); border-bottom: 1px solid var(--borde); padding: 10px 24px; }
.breadcrumb { max-width: 1200px; margin: 0 auto; font-size: 12px; color: var(--gris4); }
.breadcrumb a { color: var(--gris4); transition: var(--trans); }
.breadcrumb a:hover { color: var(--negro); }
.breadcrumb span { margin: 0 8px; }

/* ─── MARCA DE AGUA ─── */
.prod-card-img::after {
    content: 'AVC Fashion @avc_fashion.ec   AVC Fashion @avc_fashion.ec   AVC Fashion @avc_fashion.ec';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: #1a1a1a; opacity: 0.28;
    transform: rotate(-35deg); pointer-events: none; white-space: nowrap;
    letter-spacing: 0.08em; overflow: hidden; line-height: 2.5;
}
.galeria-principal::after {
    content: 'AVC Fashion @avc_fashion.ec   AVC Fashion @avc_fashion.ec   AVC Fashion @avc_fashion.ec';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; color: #1a1a1a; opacity: 0.28;
    transform: rotate(-35deg); pointer-events: none; white-space: nowrap;
    letter-spacing: 0.08em; overflow: hidden; line-height: 2.5; z-index: 1;
}
.slide::after {
    content: 'AVC Fashion @avc_fashion.ec   AVC Fashion @avc_fashion.ec   AVC Fashion @avc_fashion.ec';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; color: #ffffff; opacity: 0.18;
    transform: rotate(-35deg); pointer-events: none; white-space: nowrap;
    letter-spacing: 0.08em; overflow: hidden; line-height: 2.5; z-index: 1;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
    .productos-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .productos-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-middle { flex-direction: column; align-items: flex-start; gap: 12px; }
    .banner-promo { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
    .productos-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .prod-card-info { padding: 8px 10px 4px; }
    .prod-card-footer { padding: 6px 10px 10px; }
}
@media (max-width: 768px) {
    .header-main-inner { padding: 0 16px; gap: 12px; }
    .header-nav { display: none; }
    .header-nav.mobile-open {
        display: flex; flex-direction: column; position: fixed;
        top: 60px; left: 0; right: 0; background: #111; padding: 12px;
        border-bottom: 1px solid rgba(255,255,255,0.1); gap: 4px; z-index: 999;
    }
    .header-menu-toggle { display: block; }
    .productos-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .detalle-wrap { grid-template-columns: 1fr; gap: 28px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .carrito-panel { width: 100vw; }
}
@media (max-width: 480px) {
    .productos-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .prod-card-info { padding: 8px 8px 4px; }
    .prod-card-footer { padding: 0 8px 8px; }
    .seccion { padding: 36px 16px; }
}

/* ─── TOP BAR ANIMADO ─── */
.top-bar {
    background: #111111; color: rgba(255,255,255,0.7);
    padding: 0; height: 30px; overflow: hidden;
    display: flex; align-items: center;
    font-size: 11px; letter-spacing: 0.04em;
    margin-top: 84px;
}
.top-bar-track {
    display: flex; gap: 0; white-space: nowrap;
    animation: marquee 25s linear infinite;
}
.top-bar-track span {
    font-size: 12px; font-weight: 500; padding: 0 40px;
    letter-spacing: 0.05em; color: rgba(255,255,255,0.8);
}
.top-bar-track span strong { color: var(--acento); }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ─── BADGE STOCK BAJO ─── */
.badge-stock-bajo {
    position: absolute; bottom: 8px; left: 8px; z-index: 2;
    background: #f59e0b; color: white; font-size: 10px;
    font-weight: 700; padding: 3px 8px; border-radius: 2px;
    letter-spacing: 0.05em; text-transform: uppercase;
    animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

/* ─── BADGE LIVE ─── */
.badge-live {
    position: absolute; top: 8px; right: 8px; z-index: 2;
    background: #e63946; color: white; font-size: 10px;
    font-weight: 700; padding: 3px 8px; border-radius: 2px;
    letter-spacing: 0.05em;
}

/* ─── PRECIO TACHADO ─── */
.prod-precio-original {
    font-size: 12px; color: var(--gris4);
    text-decoration: line-through; margin-right: 6px;
}
.prod-precio-descuento { color: var(--acento); }

/* ─── SELECCIONAR (hover card) ─── */
.prod-card-seleccionar {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(17,17,17,0.85); color: white;
    text-align: center; padding: 10px; font-size: 11px;
    font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    transform: translateY(100%); transition: transform 0.3s ease;
    backdrop-filter: blur(4px);
}
.prod-card:hover .prod-card-seleccionar { transform: translateY(0); }

/* ─── CATS GRID MEJORADO ─── */
.cat-card { position: relative; overflow: hidden; background: var(--blanco); }
.cat-card::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: var(--acento);
    transform: scaleX(0); transition: transform 0.3s ease;
}
.cat-card:hover::before { transform: scaleX(1); }


/* ═══ PANEL CATEGORÍAS LATERAL ═══ */
.cats-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 3000; opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.cats-overlay.open { opacity: 1; pointer-events: all; }
.cats-panel {
    position: fixed;
    top: 0; left: -320px;
    width: 300px; height: 100vh;
    background: white;
    z-index: 3001;
    display: flex; flex-direction: column;
    transition: left 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    box-shadow: 4px 0 40px rgba(0,0,0,0.2);
}
.cats-panel.open { left: 0; }
.cats-panel-header {
    background: #111111;
    color: white;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.cats-panel-header h3 {
    font-size: 16px; font-weight: 700;
    color: white; font-family: 'Playfair Display', serif;
}
.cats-panel-close {
    background: none; border: none;
    color: rgba(255,255,255,0.7);
    font-size: 22px; cursor: pointer;
    line-height: 1; padding: 0;
}
.cats-panel-close:hover { color: white; }
.cats-panel-search {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
.cats-panel-search input {
    width: 100%; border: 1px solid #e0e0e0;
    border-radius: 6px; padding: 9px 12px;
    font-size: 13px; font-family: inherit;
    outline: none; box-sizing: border-box;
}
.cats-panel-search input:focus { border-color: #e63946; }
.cats-panel-list {
    flex: 1; overflow-y: auto; padding: 8px 0;
}
.cats-panel-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 11px 20px !important;
    font-size: 13px !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    border-left: 3px solid transparent !important;
}
.cats-panel-item:hover {
    background: #f7f7f7 !important;
    color: #e63946 !important;
    border-left-color: #e63946 !important;
    padding-left: 26px !important;
}
.cats-panel-item-count {
    font-size: 11px; color: #aaa;
    background: #f0f0f0; padding: 2px 8px;
    border-radius: 10px; font-weight: 600;
}
.cats-panel-footer {
    padding: 16px; border-top: 1px solid #eee;
    flex-shrink: 0;
}
.cats-panel-footer a {
    display: block; text-align: center;
    background: #111; color: white;
    padding: 12px; border-radius: 6px;
    font-size: 13px; font-weight: 700;
    text-decoration: none; transition: all 0.2s;
}
.cats-panel-footer a:hover { background: #e63946; }

/* Botón hamburguesa */
.btn-categorias {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111111;
    color: white;
    border: none;
    width: 44px; height: 44px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.btn-categorias:hover { background: #333333; }
.hamburger {
    display: flex; flex-direction: column;
    gap: 4px; width: 16px;
}
.hamburger span {
    display: block; height: 2px;
    background: currentColor; border-radius: 2px;
}

/* ─── CARRITO FLOTANTE ─── */
.carrito-flotante {
    position: fixed;
    bottom: 96px;
    right: 28px;
    z-index: 1499;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #111111;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: all 0.25s;
}
.carrito-flotante:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}
.carrito-flotante.oculto {
    opacity: 0;
    transform: translateY(12px) scale(0.8);
    pointer-events: none;
}
.carrito-flotante-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e63946;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}
@media (max-width: 480px) {
    .carrito-flotante {
        bottom: 84px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
}

/* ─── BOTÓN WA FLOTANTE ─── */
.wa-flotante {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1500;
    background: #25d366;
    color: white;
    border-radius: 50px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 0px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    overflow: hidden;
    max-width: 56px;
    min-width: 56px;
    height: 56px;
    justify-content: center;
}
.wa-flotante:hover {
    max-width: 210px;
    min-width: 210px;
    background: #1fb855;
    box-shadow: 0 6px 28px rgba(37,211,102,0.6);
    transform: translateY(-2px);
    padding: 13px 20px;
    gap: 10px;
    justify-content: flex-start;
}
.wa-flotante svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: block;
}
.wa-flotante-txt {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.25s 0.1s, max-width 0.35s;
    font-family: 'DM Sans', sans-serif;
    color: white;
}
.wa-flotante:hover .wa-flotante-txt {
    opacity: 1;
    max-width: 160px;
}
.wa-flotante::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: #25d366;
    animation: wa-pulse 2.5s ease-out infinite;
    z-index: -1;
}
@keyframes wa-pulse {
    0%   { transform: scale(1); opacity: 0.6; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}
@media (max-width: 480px) {
    .wa-flotante, .wa-flotante:hover {
        bottom: 20px; right: 16px;
        width: 52px; height: 52px;
        min-width: 52px; max-width: 52px;
        border-radius: 50%;
        padding: 12px;
        justify-content: center;
        gap: 0;
    }
    .wa-flotante-txt { display: none; }
}

