/* =========================
   CÓDIGO DE VESTIMENTA
========================= */

#dress-code {
    text-align: center;
}

.dress-container {
    max-width: 1050px;
    margin: 0 auto;
    padding-left: 36px;
    padding-right: 36px;
}

#dress-code h2 {
    font-family: var(--font-title);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-dress-dark);
    margin-bottom: 16px;
}

.dress-style {
    display: table;
    margin: 22px auto;

    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 500;
    font-style: normal;
    line-height: 1.1;

    color: #FFFFFF;
    background-color: var(--color-olive, #8A8E69);

    padding: 10px 42px;
    border-radius: 999px;
}

.dress-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 300px;
    margin: 20px auto;
    color: var(--color-dress-gold);
    font-size: 1.5rem;
}

.dress-ornament span {
    height: 1px;
    flex: 1;
    background: var(--color-dress-gold);
    opacity: 0.65;
}

.dress-reserved-title {
    font-family: var(--font-script);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-dress-dark);
    margin: 18px 0;
}

.dress-description {
    max-width: 650px;
    margin: 0 auto 42px;
    font-family: var(--font-title);
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    line-height: 1.5;
    color: #514239;
}

.dress-palette {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px 20px;
    max-width: 950px;
    margin: 0 auto;
}

.dress-color {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 108px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    line-height: 1.4;
    color: #514239;
}

.dress-swatch {
    display: block;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background-color: var(--swatch);
    border: 1px solid rgba(95, 75, 58, 0.22);
    box-shadow: 0 3px 10px rgba(0,0,0,0.035);
}

/* Adaptación para celulares */
@media (max-width: 700px) {
    .dress-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .dress-description {
        margin-bottom: 32px;
    }

    .dress-palette {
        gap: 24px 12px;
    }

    .dress-color {
        width: 86px;
        font-size: 0.65rem;
    }

    .dress-swatch {
        width: 50px;
        height: 50px;
    }
}


/* Tipografía consistente con la invitación */

#dress-code h2 {
    font-family: var(--font-title);
    font-weight: 500;
    color: var(--color-dark);
    letter-spacing: 0.02em;
}

.dress-style {
    font-family: var(--font-title);
    font-weight: 00;
    color: #FFFFFF;
    font-style: italic;
}

.dress-reserved-title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-style: italic;
    font-weight: 500;
    color: var(--color-dark);
}

.dress-description {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 400;
    line-height: 1.9;
    color: var(--color-text);
}

.dress-color {
    font-family: var(--font-body);
    color: var(--color-text);
}


/* Recuperar el icono original */
.dress-icon {
    display: block;
    width: 110px;
    height: auto;
    object-fit: contain;
    margin: 12px auto 14px;
}

/* Ajustes para celular */
@media (max-width: 600px) {
    .dress-icon {
        width: 90px;
        margin: 8px auto 12px;
    }
}

