/* ============================================
   COLECCIONES - ESTILOS
   ============================================ */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --rojo: #9e0004;
    --azul: #1c3166;
    --amarillo: #f6d86b;
    --beige: #e1c78c;
    --marfil: #F6F4F0;
    --carbon: #1E1E1E;
    --gris: #8C8C8C;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: #2c2c2c;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: var(--font-body);
}

/* MOBILE WRAPPER */
#mobile-wrapper {
    width: 100%;
    max-width: 430px;
    height: 932px;
    max-height: 95vh;
    background-color: var(--marfil);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 10px #1a1a1a, 0 0 0 12px #3a3a3a, 0 20px 60px rgba(0,0,0,0.5);
    border-radius: 40px;
}

#mobile-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background-color: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 9999;
}

#mobile-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

#mobile-content::-webkit-scrollbar {
    display: none;
}

/* NAVEGACIÓN */
.nav-header {
    position: sticky;
    top: 30px;
    background-color: rgba(246, 244, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--beige);
    z-index: 100;
}

.nav-back {
    background: none;
    border: none;
    font-size: 16px;
    color: var(--azul);
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
}

.nav-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--azul);
}

/* CONTENEDOR */
.colecciones-container {
    padding: 30px 30px 60px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* CARD DE COLECCIÓN */
.coleccion-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--beige);
}

/* IMÁGENES */
.coleccion-images {
    position: relative;
}

.coleccion-image.main {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.coleccion-gallery {
    display: flex;
    gap: 0;
}

.gallery-image {
    width: 50%;
    height: 200px;
    object-fit: cover;
}

/* CONTENIDO */
.coleccion-content {
    padding: 30px;
}

.coleccion-header {
    margin-bottom: 24px;
}

.coleccion-season {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rojo);
    margin-bottom: 12px;
}

.coleccion-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--azul);
    line-height: 1;
}

/* DESCRIPCIÓN */
.coleccion-description {
    margin-bottom: 30px;
}

.description-lead {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--azul);
    margin-bottom: 20px;
}

.description-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gris);
    margin-bottom: 16px;
}

.description-text:last-of-type {
    margin-bottom: 30px;
}

/* DETALLES */
.coleccion-details {
    background: linear-gradient(135deg, rgba(246, 216, 107, 0.15) 0%, rgba(225, 199, 140, 0.15) 100%);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--amarillo);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--azul);
}

.detail-value {
    font-size: 14px;
    color: var(--gris);
    text-align: right;
}

/* BOTÓN */
.btn-coleccion {
    width: 100%;
    padding: 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    color: white;
    background-color: var(--rojo);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.btn-coleccion:active {
    background-color: #7a0003;
    transform: scale(0.98);
}

.btn-coleccion.disabled {
    background-color: var(--beige);
    color: var(--gris);
    cursor: not-allowed;
}

.btn-coleccion.disabled:active {
    transform: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    body {
        background-color: var(--marfil);
        align-items: flex-start;
    }
    #mobile-wrapper {
        max-width: 100%;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        box-shadow: none;
    }
    #mobile-wrapper::before { display: none; }
    .nav-header { top: 0; }
}
}

/* FOOTER CRÉDITOS */
.footer-creditos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 20px;
    background-color: var(--marfil);
    border-top: 1px solid var(--beige);
}

.footer-by {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 2px;
    color: var(--azul);
    margin: 0;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
}

.footer-handle {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--azul);
    margin: 0;
}
