/* =============================================
   FIERA - site.css
   Paleta: Negro #050505 + Dorado #FFD600
   Fuentes: Bebas Neue (display) + Montserrat (body)
   ============================================= */
:root {
    --gold: #FFD600;
    --dark: #050505;
    --dark-2: #0b0b0b;
    --dark-3: #111;
    --dark-4: #1a1a1a;
    --border: #222;
    --muted: #aaa;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Montserrat', Arial, sans-serif;
}

/* =============================================
   RESET & BASE
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    background-size: cover;
    background-attachment: fixed;
    background-image: url('../imagenes fiera/rock background fiera.jpg');
    color: white;
    overflow-x: hidden;
}

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

/* =============================================
   LAYOUT
   ============================================= */
.main-container {
    display: flex;
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar {
    transition: width 0.3s ease;
    overflow: hidden;
    width: 52px;
    height: 100%;
    min-height: 100vh;
    background-color: var(--dark-2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    border-right: 1px solid var(--border);
    z-index: 200;
}

.menu-icon {
    font-size: 28px;
    color: var(--gold);
    margin-top: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

    .menu-icon:hover {
        transform: scale(1.1);
    }

.sidebar-icons {
    display: none;
    flex-direction: column;
    gap: 36px;
    margin-bottom: 40px;
}

    .sidebar-icons a {
        font-size: 22px;
        color: #555;
        transition: color 0.2s, transform 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .sidebar-icons a:hover {
            color: var(--gold);
            transform: scale(1.15);
        }

/* =============================================
   CONTENT
   ============================================= */
.content {
    margin-left: 52px;
    width: calc(100% - 52px);
    min-height: 100vh;
    transition: margin-left 0.3s ease, width 0.3s ease;
}

/* =============================================
   HERO / LOGO
   ============================================= */
.hero {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--dark);
    border-bottom: 1px solid var(--dark-4);
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: 'FIERA';
        position: absolute;
        font-family: var(--font-display);
        font-size: 280px;
        color: rgba(255, 214, 0, 0.07);
        letter-spacing: 24px;
        user-select: none;
        pointer-events: none;
        filter: blur(3px);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
    }

    .hero img {
        height: 155px;
        width: auto;
        max-width: 55%;
        object-fit: contain;
        position: relative;
        z-index: 1;
    }

.logo-text {
    font-family: var(--font-display);
    font-size: 90px;
    letter-spacing: 18px;
    color: white;
    position: relative;
    animation: fadeDown 0.8s ease both;
}

.logo-dot,
.gold-dot {
    color: var(--gold);
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   WHITE BAR
   ============================================= */
.white-bar {
    background-color: var(--gold);
    color: var(--dark);
    text-align: center;
    padding: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 11px;
}

/* =============================================
   HERO BANNER
   ============================================= */
.hero-banner {
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
    gap: 40px;
}

    .hero-banner::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        width: 45%;
        height: 100%;
        background: linear-gradient(to left, rgba(255, 214, 0, 0.05), transparent);
        pointer-events: none;
    }

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 6px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: 96px;
    line-height: 0.95;
    letter-spacing: 4px;
    margin-bottom: 30px;
    animation: fadeUp 0.9s ease both;
}

    .hero-headline em {
        color: var(--gold);
        font-style: normal;
    }

.hero-sub {
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 1px;
    max-width: 360px;
    line-height: 1.9;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-img-wrap {
    flex-shrink: 0;
    width: 340px;
    height: 400px;
    border: 1px solid var(--gold);
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-3);
}

    .hero-img-wrap::before {
        content: '';
        position: absolute;
        top: -8px;
        left: -8px;
        right: 8px;
        bottom: 8px;
        border: 1px solid rgba(255, 214, 0, 0.2);
        pointer-events: none;
    }

    .hero-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* =============================================
   BOTONES
   ============================================= */
.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 14px 40px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid var(--gold);
}

    .btn-gold:hover {
        background: white;
        border-color: white;
        color: var(--dark);
    }

.btn-outline {
    display: inline-block;
    border: 2px solid #444;
    color: white;
    padding: 14px 40px;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-outline:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

/* =============================================
   SECTION TITLE
   ============================================= */
.section-title {
    font-family: var(--font-display);
    font-size: 60px;
    letter-spacing: 4px;
    padding: 60px 80px 30px;
    line-height: 1;
}

/* =============================================
   CATEGORÍAS
   ============================================= */
.categories-section {
 }

.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 0 80px 60px;
}

.cat-item {
    background: #0f0f0f;
    border: 1px solid var(--dark-4);
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: block;
    color: white;
}

    .cat-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--gold);
        transform: scaleX(0);
        transition: transform 0.3s;
    }

    .cat-item:hover::after {
        transform: scaleX(1);
    }

    .cat-item:hover {
        background: #141414;
        color: var(--gold);
    }

.cat-icon {
    font-size: 34px;
    margin-bottom: 16px;
    color: var(--gold);
}

.cat-item h3 {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.cat-item p {
    font-size: 10px;
    color: #666;
    letter-spacing: 3px;
}

/* =============================================
   PRODUCTOS
   ============================================= */
.products {
    width: 100%;
    padding: 0 80px 80px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.ver-todo {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    transition: opacity 0.2s;
}

    .ver-todo:hover {
        opacity: 0.7;
    }

/* =============================================
   PRODUCT GRID & CARDS
   ============================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background: linear-gradient(to bottom, var(--dark-3), var(--dark-4));
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

    .card:hover {
        border-color: var(--gold);
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(255, 214, 0, 0.12);
    }

.card-img-wrap {
    width: 100%;
    height: 280px;
    background: var(--dark-4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .card-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s;
    }

.card:hover .card-img-wrap img {
    transform: scale(1.04);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--dark);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 10px;
    z-index: 1;
}

.badge-red {
    background: #cc3333;
    color: white;
}

.card-body {
    padding: 18px 20px;
}

    .card-body h2 {
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

.price {
    color: var(--gold);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

.card-tallas {
    display: block;
    color: #555;
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* =============================================
   CONTACTO
   ============================================= */
.contact-section {
    padding: 80px;
}

.contact-box {
    width: 100%;
    border: 2px solid var(--gold);
    padding: 60px;
    background: rgba(255, 214, 0, 0.02);
    backdrop-filter: blur(5px);
}

    .contact-box h3 {
        color: var(--gold);
        text-align: center;
        letter-spacing: 6px;
        font-size: 11px;
        font-weight: 400;
        margin-bottom: 12px;
    }

    .contact-box h1 {
        font-family: var(--font-display);
        text-align: center;
        font-size: 70px;
        letter-spacing: 6px;
        margin-bottom: 50px;
    }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-item h2 {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 4px;
    margin-bottom: 10px;
    font-weight: 400;
}

.contact-item p {
    color: var(--gold);
    font-weight: 700;
    font-size: 18px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--dark-2);
    border-top: 1px solid var(--dark-4);
    padding: 40px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 8px;
    color: white;
}

.footer-copy {
    font-size: 11px;
    color: #444;
    letter-spacing: 2px;
}

/* =============================================
   CATÁLOGO
   ============================================= */
.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 50px 80px 30px;
}

.catalog-sub {
    font-size: 11px;
    color: #555;
    letter-spacing: 3px;
    margin-top: 8px;
}

.catalog-filter {
    display: flex;
    align-items: center;
    gap: 14px;
}

.filter-label {
    font-size: 10px;
    letter-spacing: 3px;
    color: #555;
}

.filter-select {
    background: #111;
    border: 1px solid var(--border);
    color: white;
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

    .filter-select:focus,
    .filter-select:hover {
        border-color: var(--gold);
    }

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.card-brand {
    display: block;
    font-size: 9px;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 6px;
}

.card-desc {
    font-size: 11px;
    color: #666;
    line-height: 1.7;
    margin: 8px 0 14px;
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =============================================
   SIDEBAR EXPANDIBLE
   ============================================= */
.sidebar.sidebar-open {
    width: 220px;
    align-items: flex-start;
}

    .sidebar.sidebar-open .sidebar-icons {
        display: flex;
    }

    .sidebar.sidebar-open .sidebar-icons {
        display: flex;
    }

    .sidebar.sidebar-open .sidebar-icons {
        display: flex;
    }

    .sidebar.sidebar-open .sidebar-icons {
        display: flex;
    }

    .sidebar.sidebar-open .menu-icon {
        padding-left: 28px;
    }

    .sidebar.sidebar-open .sidebar-icons {
        width: 100%;
        padding: 0 16px;
    }

        .sidebar.sidebar-open .sidebar-icons a {
            justify-content: flex-start;
            gap: 16px;
            padding: 10px 14px;
            border-radius: 4px;
            font-size: 20px;
            transform: none;
        }

            .sidebar.sidebar-open .sidebar-icons a:hover {
                background: rgba(255, 214, 0, 0.06);
                transform: none;
                color: var(--gold);
            }

.nav-label {
    display: none;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.2s;
}

.sidebar.sidebar-open .nav-label {
    display: inline;
    opacity: 1;
}

/* =============================================
   ENCHÚLAME LA CHEMI
   ============================================= */
.enchula-intro {
    padding: 60px 80px 20px;
    border-bottom: 1px solid #1a1a1a;
}

.enchula-intro-inner {
    max-width: 600px;
}

.enchula-title {
    font-family: var(--font-display);
    font-size: 72px;
    line-height: 0.95;
    letter-spacing: 4px;
    margin: 12px 0 20px;
}

    .enchula-title em {
        color: var(--gold);
        font-style: normal;
    }

.enchula-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.9;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.enchula-section {
    padding: 60px 80px;
    border-bottom: 1px solid #111;
}

.enchula-step-label {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.step-number {
    font-family: var(--font-display);
    font-size: 72px;
    line-height: 1;
    color: rgba(255, 214, 0, 0.15);
    letter-spacing: 2px;
}

.step-title {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 5px;
    color: white;
}

.base-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
}

.base-card {
    border: 1px solid #222;
    background: #0f0f0f;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

    .base-card:hover {
        border-color: #444;
        background: #141414;
    }

    .base-card.base-selected {
        border-color: var(--gold);
        box-shadow: 0 0 30px rgba(255, 214, 0, 0.15);
    }

.base-check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: var(--gold);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.25s;
    z-index: 2;
}

    .base-check.check-visible {
        opacity: 1;
        transform: scale(1);
    }

.base-img-wrap {
    width: 100%;
    height: 240px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .base-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

.base-img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #333;
}

    .base-img-placeholder i {
        font-size: 48px;
        color: #2a2a2a;
    }

    .base-img-placeholder span {
        font-size: 10px;
        letter-spacing: 3px;
    }

.base-info {
    padding: 20px;
}

.base-tag {
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.base-info h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.base-info p {
    font-size: 11px;
    color: #555;
    letter-spacing: 1px;
}

.base-warning {
    margin-top: 16px;
    color: #cc3333;
    font-size: 12px;
    letter-spacing: 1px;
}

.enchula-form-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
}

.textarea-wrap {
    display: flex;
    flex-direction: column;
}

.design-textarea {
    background: #0f0f0f;
    border: 1px solid #222;
    color: white;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.8;
    padding: 20px;
    resize: none;
    height: 220px;
    outline: none;
    transition: border-color 0.2s;
    letter-spacing: 0.5px;
}

    .design-textarea:focus {
        border-color: var(--gold);
    }

    .design-textarea::placeholder {
        color: #333;
    }

.textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.char-hint {
    font-size: 10px;
    color: #444;
    letter-spacing: 1px;
}

.char-count {
    font-size: 12px;
    color: #555;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.upload-zone {
    border: 1px dashed #333;
    background: #0a0a0a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

    .upload-zone:hover {
        border-color: var(--gold);
        background: #0f0f0f;
    }

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.upload-icon {
    font-size: 36px;
    color: #333;
}

.upload-title {
    font-size: 11px;
    letter-spacing: 3px;
    color: #555;
    font-weight: 600;
}

.upload-sub {
    font-size: 10px;
    color: #333;
    letter-spacing: 1px;
}

.upload-preview {
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
}

    .upload-preview img {
        max-height: 130px;
        max-width: 100%;
        object-fit: contain;
    }

.remove-img {
    background: transparent;
    border: 1px solid #333;
    color: #777;
    font-size: 10px;
    letter-spacing: 2px;
    padding: 6px 14px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s;
}

    .remove-img:hover {
        border-color: #cc3333;
        color: #cc3333;
    }

.datos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    max-width: 900px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-label {
    font-size: 10px;
    letter-spacing: 3px;
    color: #555;
    font-weight: 600;
}

.enchula-input {
    background: #0f0f0f;
    border: 1px solid #222;
    color: white;
    font-family: var(--font-body);
    font-size: 13px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.2s;
    letter-spacing: 0.5px;
    width: 100%;
}

    .enchula-input:focus {
        border-color: var(--gold);
    }

    .enchula-input::placeholder {
        color: #333;
    }

.enchula-send {
    border-bottom: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.btn-send {
    font-size: 13px;
    padding: 18px 60px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.send-note {
    font-size: 11px;
    color: #444;
    letter-spacing: 1px;
}

.toast {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--gold);
    color: var(--dark);
    padding: 16px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

    .toast.toast-visible {
        transform: translateY(0);
        opacity: 1;
    }

/* =============================================
   RESPONSIVE — TABLET (max 1100px)
   ============================================= */
@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-headline {
        font-size: 72px;
    }
}

/* =============================================
   RESPONSIVE — MÓVIL (max 768px)
   ============================================= */
@media (max-width: 768px) {

    /* Sidebar más delgado en móvil */
    .sidebar {
        width: 52px;
    }

        .sidebar .menu-icon {
            font-size: 22px;
            margin-top: 18px;
        }

    .sidebar-icons {
        gap: 28px;
        margin-bottom: 30px;
    }

        .sidebar-icons a {
            font-size: 18px;
        }

    /* Sidebar abierto en móvil ocupa overlay, no empuja contenido */
    .sidebar.sidebar-open {
        width: 200px;
        position: fixed;
        z-index: 300;
    }

    /* Contenido desplazado por sidebar delgado */
    .content {
        margin-left: 52px;
        width: calc(100% - 52px);
    }

    /* Hero logo más pequeño */
    .hero {
        height: 160px;
    }

        .hero img {
            height: 120px;
            max-width: 65%;
        }

        .hero::before {
            font-size: 140px;
        }

    .logo-text {
        font-size: 48px;
        letter-spacing: 8px;
    }

    /* Hero banner apilado */
    .hero-banner {
        flex-direction: column;
        padding: 30px 20px;
        min-height: auto;
        gap: 24px;
    }

    .hero-eyebrow {
        font-size: 10px;
        letter-spacing: 3px;
        margin-bottom: 10px;
    }

    /* Headline más pequeño — este era el gran problema */
    .hero-headline {
        font-size: 52px;
        letter-spacing: 2px;
        margin-bottom: 16px;
    }

    .hero-sub {
        font-size: 13px;
        margin-bottom: 24px;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-gold, .btn-outline {
        padding: 12px 28px;
        font-size: 10px;
        text-align: center;
    }

    /* Imagen del hero */
    .hero-img-wrap {
        width: 100%;
        height: 220px;
    }

    /* Section titles */
    .section-title {
        font-size: 36px;
        letter-spacing: 2px;
        padding: 30px 20px 16px;
    }

    /* Categorías en columna */
    .categories {
        grid-template-columns: 1fr;
        padding: 0 20px 30px;
        gap: 4px;
    }

    .cat-item {
        padding: 28px 20px;
    }

        .cat-item h3 {
            font-size: 20px;
            letter-spacing: 2px;
        }

    /* Productos en 1 columna */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .products {
        padding: 0 20px 50px;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 24px;
    }

    /* Contacto */
    .contact-section {
        padding: 40px 20px;
    }

    .contact-box {
        padding: 30px 20px;
    }

        .contact-box h1 {
            font-size: 42px;
            letter-spacing: 3px;
            margin-bottom: 30px;
        }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-item p {
        font-size: 15px;
    }

    /* Footer */
    .footer {
        padding: 24px 20px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* Catálogo */
    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px 20px;
        gap: 16px;
    }

    /* Enchúlame */
    .enchula-intro,
    .enchula-section {
        padding: 30px 20px;
    }

    .enchula-title {
        font-size: 40px;
    }

    .base-grid,
    .enchula-form-wrap,
    .datos-grid {
        grid-template-columns: 1fr;
    }

    .step-number {
        font-size: 48px;
    }

    .step-title {
        font-size: 24px;
        letter-spacing: 3px;
    }
}

/* =============================================
   PÁGINAS VACÍAS (Favoritos / Carrito)
   ============================================= */
.empty-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.empty-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    max-width: 480px;
}

.empty-icon {
    font-size: 72px;
    color: rgba(255, 214, 0, 0.15);
    margin-bottom: 10px;
    line-height: 1;
}

.empty-title {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 3px;
    line-height: 1.2;
    color: white;
}

.empty-sub {
    font-size: 13px;
    color: #555;
    letter-spacing: 1px;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* =============================================
   CARRITO
   ============================================= */
.carrito-section {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    padding: 60px 80px 80px;
    align-items: start;
}

.carrito-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.carrito-titulo {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 4px;
    color: white;
}

.carrito-count {
    font-size: 11px;
    letter-spacing: 2px;
    color: #444;
}

.carrito-empty {
    min-height: 40vh;
    justify-content: center;
}

/* Resumen */
.carrito-resumen {
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 20px;
}

.resumen-titulo {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 4px;
    color: white;
    margin-bottom: 4px;
}

.resumen-linea {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    letter-spacing: 1px;
    color: #777;
}

    .resumen-linea .gold {
        color: var(--gold);
        font-weight: 600;
    }

.resumen-divider {
    border: none;
    border-top: 1px solid #1a1a1a;
    margin: 4px 0;
}

.resumen-total {
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    font-size: 12px;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    cursor: not-allowed;
    opacity: 0.4;
}

.resumen-nota {
    font-size: 10px;
    color: #333;
    letter-spacing: 1px;
    text-align: center;
    margin-top: -8px;
}

.resumen-contacto {
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resumen-contacto-label {
    font-size: 9px;
    letter-spacing: 3px;
    color: #444;
    text-align: center;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    transition: opacity 0.2s;
}

    .btn-whatsapp:hover {
        opacity: 0.85;
    }

/* Responsive carrito */
@media (max-width: 768px) {
    .carrito-section {
        grid-template-columns: 1fr;
        padding: 30px 20px 50px;
    }

    .carrito-resumen {
        position: static;
    }

    .empty-title {
        font-size: 24px;
    }

    .empty-icon {
        font-size: 56px;
    }
}

/* =============================================
   PÁGINAS VACÍAS (Favoritos / Carrito)
   ============================================= */

.empty-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.empty-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    max-width: 500px;
}

.empty-icon {
    font-size: 72px;
    color: #222;
    margin-bottom: 10px;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        color: #222;
    }

    50% {
        transform: scale(1.08);
        color: rgba(255,214,0,0.3);
    }
}

.empty-title {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 4px;
    color: white;
    line-height: 1.2;
}

.empty-sub {
    font-size: 13px;
    color: #555;
    letter-spacing: 1px;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* =============================================
   CARRITO
   ============================================= */

.carrito-section {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    padding: 60px 80px 80px;
    align-items: start;
}

.carrito-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid #1a1a1a;
}

.carrito-title {
    font-family: var(--font-display);
    font-size: 40px;
    letter-spacing: 4px;
}

.carrito-count {
    font-size: 11px;
    letter-spacing: 3px;
    color: #555;
}

.carrito-empty {
    padding: 60px 20px;
    border: 1px dashed #1a1a1a;
}

/* Resumen */
.carrito-resumen {
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 32px;
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.resumen-title {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.resumen-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #aaa;
    letter-spacing: 1px;
}

.gold-text {
    color: var(--gold);
}

.resumen-divider {
    border: none;
    border-top: 1px solid #1a1a1a;
    margin: 4px 0;
}

.resumen-total {
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    font-size: 12px;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: not-allowed;
    opacity: 0.4;
    border: none;
}

    .btn-checkout:not(:disabled) {
        cursor: pointer;
        opacity: 1;
    }

.checkout-note {
    font-size: 10px;
    color: #444;
    letter-spacing: 2px;
    text-align: center;
}

.resumen-contacto {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding-top: 4px;
}

.resumen-contacto-label {
    font-size: 9px;
    letter-spacing: 3px;
    color: #444;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1a3a1a;
    border: 1px solid #2a5a2a;
    color: #4CAF50;
    padding: 12px 28px;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
}

    .btn-whatsapp:hover {
        background: #25D366;
        border-color: #25D366;
        color: white;
    }

/* Responsive carrito */
@media (max-width: 768px) {
    .carrito-section {
        grid-template-columns: 1fr;
        padding: 30px 20px 50px;
        gap: 30px;
    }

    .empty-title {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .empty-icon {
        font-size: 52px;
    }

    .carrito-resumen {
        position: static;
    }
}

/* =============================================
   CARDS — BOTONES FAV Y CARRITO
   ============================================= */

.card-body-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.btn-fav {
    background: transparent;
    border: none;
    color: #444;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    padding: 2px 4px;
    flex-shrink: 0;
}

    .btn-fav:hover {
        color: #cc3333;
        transform: scale(1.2);
    }

    .btn-fav.fav-active {
        color: #cc3333;
    }

        .btn-fav.fav-active i {
            font-weight: 900;
        }

.btn-add-carrito {
    width: 100%;
    margin-top: 12px;
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 2px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .btn-add-carrito:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

/* =============================================
   BADGES SIDEBAR
   ============================================= */

.badge-sidebar {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--gold);
    color: var(--dark);
    font-size: 9px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

/* =============================================
   TOAST GLOBAL
   ============================================= */

.fiera-toast {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--gold);
    color: var(--dark);
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

    .fiera-toast.toast-visible {
        transform: translateY(0);
        opacity: 1;
    }

/* =============================================
   MODAL PRODUCTO
   ============================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    padding: 20px;
}

    .modal-overlay.modal-visible {
        opacity: 1;
        pointer-events: all;
    }

.modal-box {
    background: #111;
    border: 1px solid var(--gold);
    width: 100%;
    max-width: 800px;
    position: relative;
    animation: modalIn 0.3s ease both;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: 1px solid #333;
    color: white;
    font-size: 16px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 1;
}

    .modal-close:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

.modal-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-img-wrap {
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

    .modal-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.modal-info {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-brand {
    font-size: 9px;
    letter-spacing: 5px;
    color: var(--gold);
    font-weight: 700;
}

.modal-nombre {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 3px;
    line-height: 1.1;
}

.modal-precio {
    color: var(--gold);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.modal-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.modal-tallas-label {
    font-size: 10px;
    letter-spacing: 3px;
    color: #555;
    margin-top: 4px;
}

.modal-tallas {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.talla-btn {
    background: transparent;
    border: 1px solid #333;
    color: white;
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
}

    .talla-btn:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

    .talla-btn.talla-selected {
        background: var(--gold);
        border-color: var(--gold);
        color: var(--dark);
        font-weight: 700;
    }

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.modal-btn-carrito, .modal-btn-fav {
    width: 100%;
    padding: 14px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 2px;
}

/* =============================================
   FAVORITOS PAGE
   ============================================= */

.favoritos-section {
    padding: 60px 80px 80px;
}

.favoritos-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid #1a1a1a;
}

/* =============================================
   CARRITO ITEMS
   ============================================= */

.carrito-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #1a1a1a;
}

.carrito-item-img {
    width: 80px;
    height: 80px;
    background: #1a1a1a;
    overflow: hidden;
    flex-shrink: 0;
}

    .carrito-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.carrito-item-nombre {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 4px 0;
}

.carrito-item-talla {
    font-size: 11px;
    color: #555;
    letter-spacing: 1px;
}

.carrito-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.cantidad-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #333;
}

    .cantidad-control button {
        background: transparent;
        border: none;
        color: white;
        width: 32px;
        height: 32px;
        font-size: 18px;
        cursor: pointer;
        transition: background 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .cantidad-control button:hover {
            background: #1a1a1a;
            color: var(--gold);
        }

    .cantidad-control span {
        width: 36px;
        text-align: center;
        font-size: 13px;
        font-weight: 600;
        border-left: 1px solid #333;
        border-right: 1px solid #333;
        line-height: 32px;
    }

.carrito-item-subtotal {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
}

.btn-eliminar {
    background: transparent;
    border: none;
    color: #444;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px;
}

    .btn-eliminar:hover {
        color: #cc3333;
    }

/* Responsive carrito items */
@media (max-width: 768px) {
    .modal-inner {
        grid-template-columns: 1fr;
    }

    .modal-img-wrap {
        min-height: 220px;
    }

    .modal-info {
        padding: 24px 20px;
    }

    .modal-nombre {
        font-size: 24px;
    }

    .favoritos-section {
        padding: 30px 20px 50px;
    }

    .favoritos-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .carrito-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto;
    }

    .carrito-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* =============================================
   COMING SOON PLACEHOLDER
   ============================================= */
.coming-soon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0d0d0d;
    border-bottom: 2px solid #1a1a1a;
}

.coming-soon-text {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 6px;
    color: #cc2222;
    animation: flickerRed 2.5s ease-in-out infinite;
}

.coming-soon-sub {
    font-size: 10px;
    letter-spacing: 3px;
    color: #444;
    text-transform: uppercase;
}

@keyframes flickerRed {
    0%, 100% {
        opacity: 1;
        color: #cc2222;
    }

    50% {
        opacity: 0.5;
        color: #ff4444;
    }
}

/* =============================================
   PALETA DE COLORES — ENCHÚLAME
   ============================================= */
.color-section {
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
}

.color-label {
    font-size: 10px;
    letter-spacing: 4px;
    color: #555;
    font-weight: 600;
    margin-bottom: 16px;
}

.color-palette {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #333;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

    .color-swatch:hover {
        transform: scale(1.15);
        border-color: #666;
    }

    .color-swatch.color-selected {
        border-color: var(--gold);
        transform: scale(1.2);
        box-shadow: 0 0 12px rgba(255, 214, 0, 0.4);
    }

        .color-swatch.color-selected::after {
            content: '?';
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: white;
            text-shadow: 0 1px 3px rgba(0,0,0,0.8);
        }

.color-selected-label {
    margin-top: 12px;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 600;
    min-height: 18px;
}

/* Fix textarea espacios en blanco */
.design-textarea {
    vertical-align: top;
}

/* Fix móvil enchúlame — texto más pequeño */
@media (max-width: 768px) {
    .enchula-title {
        font-size: 34px !important;
        letter-spacing: 2px;
    }

    .logo-text[style] {
        font-size: 36px !important;
        letter-spacing: 4px !important;
    }

    .step-title {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .color-swatch {
        width: 34px;
        height: 34px;
    }
}
