/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Login Screen */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--skin-light) 0%, var(--skin-medium) 50%, var(--nude) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.login-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(92, 74, 58, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 2px solid var(--skin-medium);
}

.login-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
}

.login-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--skin-medium);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
    background: var(--bg-light);
    color: var(--text-color);
    transition: var(--transition);
}

.login-input:focus {
    outline: none;
    border-color: var(--nude);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(232, 180, 160, 0.1);
}

.login-btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--skin-light);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.login-btn:hover {
    background: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(92, 74, 58, 0.3);
}

.login-error {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 20px;
    font-family: 'Cormorant Garamond', serif;
}

.main-content {
    width: 100%;
    overflow-x: hidden;
    /* Dejar espacio para el header fijo y evitar solapamientos en la primera sección */
    padding-top: 100px;
}

html {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary-color: #5C4A3A;
    --secondary-color: #D4A574;
    --accent-color: #C9A88B;
    --skin-light: #F5E6D3;
    --skin-medium: #E8D5C4;
    --skin-dark: #D4B896;
    --nude: #E8B4A0;
    --text-color: #5C4A3A;
    --text-light: #8B7355;
    --bg-light: #FAF7F2;
    --bg-cream: #F5F1EB;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 1.1rem;
}

/* Estilos para enlaces visitados - evitar color morado por defecto */
a:visited {
    color: var(--skin-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(92, 74, 58, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(92, 74, 58, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: 'Playfair Display', serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--skin-light);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--skin-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('../images/moni/tatuespalda.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(92, 74, 58, 0.4) 0%, rgba(232, 213, 196, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 8px;
    font-family: 'Playfair Display', serif;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--skin-light);
    box-shadow: 0 4px 15px rgba(92, 74, 58, 0.3);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 74, 58, 0.4);
    color: var(--white);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(37, 211, 102, 0.08);
    color: #1a8f4a;
    border: 2px solid rgba(37, 211, 102, 0.4);
    border-radius: 25px;
    margin-top: 1rem;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: none;
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    color: var(--white);
}

.btn-whatsapp i {
    color: #25D366;
}

.btn-whatsapp-submit {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    width: 100%;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-top: 1rem;
    margin-bottom: 0;
}

.btn-whatsapp-submit:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: var(--white);
}

.btn-whatsapp-submit i {
    margin-right: 8px;
}

.whatsapp-preview {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #e5ddd5;
    border-radius: 10px;
    border: 1px solid #d4c5b9;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    color: #075e54;
    font-weight: 600;
    font-size: 0.9rem;
}

.preview-header i {
    font-size: 1.2rem;
    color: #25D366;
}

.preview-content {
    display: flex;
    justify-content: flex-end;
}

.preview-bubble {
    background: #dcf8c6;
    padding: 0.8rem 1rem;
    border-radius: 7.5px;
    max-width: 80%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.preview-bubble::after {
    content: '';
    position: absolute;
    right: -8px;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 15px 15px;
    border-color: transparent transparent #dcf8c6 transparent;
}

.preview-bubble p {
    margin: 0;
    color: #000;
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    width: 100%;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--nude);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 3rem;
    font-style: italic;
    font-weight: 300;
}

.bookings {
    background: var(--white);
    padding: 60px 0;
    margin: 40px 0;
}

.budget-button-container {
    text-align: center;
    margin-bottom: 0rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Variante ligera para el bloque de “Pedir presupuesto” en la página principal */
.bookings.bookings-hero {
    margin-top: 0;
    margin-bottom: 0;
    padding: 10px 0 5px;
}

/* Ajuste de separación entre el bloque de presupuesto y la galería principal */
.gallery#galeria {
    padding-top: 40px;
}

.bookings-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.bookings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.booking-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 1rem;
    background: linear-gradient(135deg, var(--skin-light) 0%, var(--skin-medium) 100%);
    border-radius: 15px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--skin-medium);
    box-shadow: 0 5px 15px rgba(92, 74, 58, 0.1);
    min-height: 90px;
}

.booking-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(92, 74, 58, 0.2);
    border-color: var(--nude);
    background: linear-gradient(135deg, var(--skin-medium) 0%, var(--nude) 100%);
}

.booking-city {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.booking-city i {
    font-size: 1.4rem;
}

.booking-city i.fa-calculator {
    animation: rotateCalculator 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes rotateCalculator {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    10% {
        transform: rotate(-10deg) scale(1.1);
    }
    20% {
        transform: rotate(10deg) scale(1.1);
    }
    30% {
        transform: rotate(-8deg) scale(1.05);
    }
    40% {
        transform: rotate(8deg) scale(1.05);
    }
    50% {
        transform: rotate(-5deg) scale(1);
    }
    60% {
        transform: rotate(5deg) scale(1);
    }
    70% {
        transform: rotate(-3deg) scale(1);
    }
    80% {
        transform: rotate(3deg) scale(1);
    }
    90% {
        transform: rotate(0deg) scale(1);
    }
}

.booking-date {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    margin-bottom: 0.3rem;
    text-align: center;
}

.booking-notify {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    margin-top: 0.3rem;
    font-style: italic;
    text-align: center;
}

.booking-btn-upcoming {
    opacity: 0.85;
    background: linear-gradient(135deg, #d4d4d4 0%, #b8b8b8 100%);
    border-color: #c0c0c0;
    color: var(--text-light);
}

.booking-btn-upcoming:hover {
    opacity: 0.95;
    background: linear-gradient(135deg, #b8b8b8 0%, #a0a0a0 100%);
    border-color: #a8a8a8;
}

.booking-btn-upcoming .booking-city {
    color: #6b6b6b;
}

.booking-btn-upcoming .booking-date {
    color: #8b8b8b;
}

.booking-btn-upcoming .booking-notify {
    color: #6b6b6b;
}

/* About Section */
.about {
    background: var(--bg-cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(92, 74, 58, 0.1);
    border: 1px solid var(--skin-medium);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 2;
    font-weight: 400;
}

.signature-image {
    max-width: 200px;
    height: auto;
    margin: 2rem 0 1rem 0;
    display: block;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.1rem;
    width: fit-content;
}

.social-link:hover {
    color: var(--nude);
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.5rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(92, 74, 58, 0.3);
    border: 4px solid var(--skin-light);
    transition: var(--transition);
}

.profile-image:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(92, 74, 58, 0.4);
}

.image-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--skin-medium), var(--nude));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(92, 74, 58, 0.2);
    border: 4px solid var(--skin-light);
}

.image-placeholder i {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.6;
}

/* Gallery Section */
.gallery {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Asegurar que la galería principal tenga al menos 2 columnas pero permita 3 */
#gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    min-width: 0; /* Permitir que se comprima */
}

/* Forzar máximo 3 columnas y mínimo 2 en pantallas grandes */
@media (min-width: 900px) {
    #gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* En pantallas medianas, mantener 2 columnas */
@media (max-width: 899px) and (min-width: 600px) {
    #gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

#gallery-grid .gallery-item {
    min-width: 0; /* Permitir que las imágenes se compriman */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(92, 74, 58, 0.15);
    transition: var(--transition);
    cursor: pointer;
    aspect-ratio: 1;
    border: 2px solid var(--skin-medium);
}

/* Estilos específicos para la página de diseños - mostrar imágenes completas */
.designs-page .gallery-item {
    aspect-ratio: auto;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.designs-page .gallery-item {
    flex-direction: column;
    align-items: stretch;
}

.designs-page .gallery-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(92, 74, 58, 0.15);
    margin-bottom: 1rem;
}

.design-button-container {
    width: 100%;
    padding: 0 1rem 1rem;
    display: flex;
    justify-content: center;
}

.btn-want-design {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: var(--nude);
    color: var(--primary-color);
    border: 2px solid var(--nude);
    border-radius: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(232, 180, 160, 0.3);
}

.btn-want-design:hover {
    background: var(--primary-color);
    color: var(--skin-light);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 74, 58, 0.4);
}

.btn-want-design i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.btn-want-design:hover i {
    color: var(--skin-light);
}

.gallery-item img {
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(92, 74, 58, 0.3);
    border-color: var(--nude);
}

.designs-page .gallery-item:hover {
    transform: translateY(-10px);
    background: transparent;
    border: none;
    box-shadow: none;
}

.designs-page .gallery-item:hover img {
    box-shadow: 0 10px 30px rgba(92, 74, 58, 0.3);
}

/* Estilos para la galería de ilustraciones - igual que diseños pero con opciones de tamaño */
.illustration-gallery-item {
    aspect-ratio: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.illustration-gallery-item .illustration-image-container {
    width: 100%;
    margin-bottom: 1rem;
}

.illustration-gallery-item .illustration-image-container img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(92, 74, 58, 0.15);
}

/* Sin efectos hover para ilustraciones */

.illustration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.illustration-image-container {
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.illustration-image-container:hover {
    transform: scale(1.02);
}

.illustration-sizes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
    width: 100%;
    padding: 0 1rem;
}

.gallery-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--skin-light) 0%, var(--skin-medium) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.gallery-item:hover .gallery-image-placeholder {
    background: linear-gradient(135deg, var(--skin-medium) 0%, var(--nude) 100%);
}

.gallery-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.gallery-image-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.designs-page .gallery-item:hover img {
    transform: scale(1.05);
}

/* Designs Preview Section */
.designs-preview {
    background: var(--bg-light);
}

.illustrations-preview {
    background: var(--bg-cream);
}

.preview-grid {
    display: grid;
    /* Mínimo 2 columnas siempre, igual que la galería */
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0; /* Permitir que se comprima, igual que la galería */
}

/* En pantallas grandes, permitir más columnas pero manteniendo mínimo 2 */
@media (min-width: 900px) {
    .preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

.preview-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(92, 74, 58, 0.15);
    transition: var(--transition);
    cursor: pointer;
    aspect-ratio: 1;
    border: 2px solid var(--skin-medium);
    min-width: 0; /* Permitir que se comprima, igual que la galería */
    box-sizing: border-box; /* Incluir border en el tamaño total */
    width: 100%; /* Asegurar que use el ancho disponible */
}

.preview-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(92, 74, 58, 0.3);
    border-color: var(--nude);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.preview-item:hover img {
    transform: scale(1.1);
}

.preview-actions {
    text-align: center;
    margin-top: 2rem;
}

.preview-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Illustrations Section */
.illustrations {
    background: var(--bg-cream);
}

.illustrations .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.illustrations-wrapper {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.illustrations-wrapper.collapsed {
    max-height: 900px;
}

.illustrations-wrapper.expanded {
    max-height: none;
}

.illustrations-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--bg-cream));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.illustrations-wrapper.expanded .illustrations-fade {
    opacity: 0;
}

.btn-show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem auto 0;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--skin-light);
    border: none;
    border-radius: 50px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-show-more:hover {
    background: var(--text-light);
    transform: translateY(-2px);
}

.btn-show-more i {
    transition: transform 0.3s ease;
}

.btn-show-more.expanded i {
    transform: rotate(180deg);
}

/* Cesta de compra */
.cart-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(92, 74, 58, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.5rem;
}

.cart-toggle:hover {
    background: var(--text-light);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(92, 74, 58, 0.4);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--nude);
    color: var(--primary-color);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
}

.cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 15px rgba(92, 74, 58, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    overflow: hidden;
}

.cart.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #3d2f24;
    color: var(--white);
    border-bottom: 2px solid var(--skin-medium);
}

.cart-header h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

.cart-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-close:hover {
    transform: rotate(90deg);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 2rem 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--skin-medium);
    gap: 1rem;
}

.cart-item-thumb {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: transparent;
    border-radius: 6px;
    flex-shrink: 0;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    min-width: 0;
}

.cart-item-info strong {
    color: var(--primary-color);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
}

.cart-item-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.3rem;
    transition: var(--transition);
    font-size: 1rem;
}

.cart-item-remove:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.cart-footer {
    padding: 1.5rem;
    background: var(--bg-cream);
    border-top: 2px solid var(--skin-medium);
}

.cart-total {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.cart-shipping-note {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.3rem;
    font-family: 'Cormorant Garamond', serif;
}

.cart-total strong {
    font-size: 1.3rem;
}

.cart-view-btn {
    width: 100%;
    justify-content: center;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.cart-send-btn {
    width: 100%;
    justify-content: center;
}

.cart-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .cart {
        width: 100%;
        right: -100%;
    }
    
    .cart-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

.illustration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}


.illustration-image-container {
    cursor: pointer;
    transition: var(--transition);
}

.illustration-image-container:hover {
    transform: scale(1.02);
}

.illustration-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.illustration-sizes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
    width: 100%;
}

.size-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    background: var(--white);
    border: 2px solid var(--skin-medium);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    color: var(--text-color);
    white-space: nowrap;
    justify-content: flex-start;
    min-width: 0;
}

.illustration-buttons {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
}

.btn-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    background: rgba(37, 211, 102, 0.1);
    color: #1a8f4a;
    border: 2px solid rgba(37, 211, 102, 0.4);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    flex: 1;
}

.btn-remove-from-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    background: rgba(212, 42, 42, 0.1);
    color: #c42d2d;
    border: 2px solid rgba(212, 42, 42, 0.4);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    flex: 1;
}

.btn-add-to-cart:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.6);
    transform: translateY(-2px);
}

.btn-add-to-cart.added {
    background: rgba(37, 211, 102, 0.3);
    border-color: #25D366;
    color: #25D366;
}

.btn-remove-from-cart:hover {
    background: rgba(212, 42, 42, 0.2);
    border-color: rgba(212, 42, 42, 0.6);
    transform: translateY(-2px);
}

.btn-remove-from-cart.removed {
    background: rgba(212, 42, 42, 0.3);
    border-color: #d42a2a;
    color: #d42a2a;
}

.btn-add-to-cart i {
    font-size: 0.9rem;
}

@media (max-width: 500px) {
    .illustration-sizes {
        flex-direction: column;
        align-items: center;
    }
    
    .size-option {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        flex-wrap: wrap;
        padding: 0.6rem 0.8rem;
        min-height: auto;
    }
    
    .size-label-text {
        font-size: 0.85rem;
        line-height: 1.4;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.3rem;
    }
    
    .size-label-text .original-price {
        font-size: 0.75em;
    }
    
    .size-label-text .discounted-price {
        font-size: 1.1em;
    }
    
    .size-label-text .discount-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
        margin-left: 0.3rem;
    }
}

.size-option:hover {
    border-color: var(--nude);
    background: var(--skin-light);
}

.size-option input[type="radio"] {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.size-option:has(input:checked) {
    background: var(--skin-light);
    border-color: var(--primary-color);
}

.size-label-text {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.size-quantity-badge {
    display: none;
    background: rgba(37, 211, 102, 0.2);
    color: #1a8f4a;
    border-radius: 12px;
    padding: 0.2rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0.3rem;
}

.illustration-buy-btn {
    margin-top: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

.illustration-item {
    aspect-ratio: auto;
    border: none;
    box-shadow: none;
    background: transparent;
}

.illustration-item:hover {
    box-shadow: none;
    border: none;
}

.illustration-item img {
    object-fit: contain;
    background: transparent;
}


/* Contact Section */
.contact {
    background: var(--bg-cream);
}

.contact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-single-column {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    width: 100%;
    margin: 3rem auto 0;
    gap: 1.5rem;
}

.contact-single-column .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item-message {
    flex-direction: column;
    align-items: flex-start;
}

.info-item-message > div {
    width: 100%;
}

.info-item-message p {
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.6;
}

.info-item-message .contact-form {
    margin-top: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}

.info-item-message .btn-whatsapp {
    margin-top: 1rem;
}

.info-item-message .btn-whatsapp i {
    font-size: 1.1rem;
    color: #25D366;
    margin-top: 0;
    margin-right: 0;
}

.contact-form {
    background: var(--white);
    padding: 2rem 2rem 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(92, 74, 58, 0.1);
    border: 1px solid var(--skin-medium);
    margin-bottom: 0;
    height: fit-content;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--skin-medium);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
    transition: var(--transition);
    background: var(--bg-light);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--nude);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(232, 180, 160, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(92, 74, 58, 0.1);
    border: 1px solid var(--skin-medium);
}

.info-item i {
    font-size: 2rem;
    color: var(--nude);
    margin-top: 0.5rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.info-item a h3 {
    color: var(--primary-color);
    transition: var(--transition);
}

.info-item a:has(h3) {
    text-decoration: none;
}

.info-item a:hover h3 {
    color: var(--nude);
}

.info-item p,
.info-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--nude);
}

.info-item a:visited {
    color: var(--skin-light);
}

.map-container {
    margin-top: 2rem;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(92, 74, 58, 0.1);
    border: 1px solid var(--skin-medium);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: none;
}

.map-link {
    margin-top: 0.5rem;
    text-align: center;
    padding: 0.5rem;
}

.map-link a {
    color: var(--nude);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: 'Cormorant Garamond', serif;
}

.map-link a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.map-link a:visited {
    color: var(--skin-light);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--skin-light);
    padding: 2rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link {
    color: var(--skin-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: 'Cormorant Garamond', serif;
}

.footer-link:hover {
    color: var(--nude);
    text-decoration: underline;
}

.footer-link:visited {
    color: var(--skin-light);
}

.footer-separator {
    color: var(--skin-light);
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    color: var(--skin-light);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social-link:hover {
    color: var(--nude);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Desactivar animaciones en móvil */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    * {
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        transition-duration: 0s !important;
    }
    
    /* Mantener solo transiciones esenciales */
    .nav-menu,
    .nav-toggle .bar {
        transition: var(--transition);
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(92, 74, 58, 0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        text-align: center;
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .about-text p {
        font-size: 1.1rem;
        line-height: 1.8;
        text-align: left;
    }

    .profile-image {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .discount-banner-main {
        padding: 0.4rem 0;
        margin-top: 80px;
    }
    
    .discount-banner-content {
        gap: 0.5rem;
        flex-wrap: wrap;
        padding: 0 1rem;
    }
    
    .discount-icon {
        font-size: 1rem;
    }
    
    .discount-text-inline {
        font-size: 0.85rem;
    }
    
    .discount-code-badge {
        font-size: 0.85rem;
    }
    
    .bookings {
        padding: 0px 0;
        margin-top: 180px;
        margin-bottom: 40px;
    }
    
    .budget-button-container {
        margin-bottom: 2rem;
    }
    
    .bookings-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .bookings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .booking-btn {
        padding: 1rem 0.8rem;
        min-height: 80px;
    }
    
    .booking-city {
        font-size: 1.1rem;
    }
    
    .booking-city i.fa-calculator {
        animation: rotateCalculator 3s ease-in-out infinite;
        display: inline-block;
    }
    
    .booking-date {
        font-size: 0.85rem;
    }
    
    .booking-notify {
        font-size: 0.8rem;
    }
    
    /* Mantener 2 columnas en la galería principal en móvil */
    #gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-grid {
        gap: 1rem;
    }
    
    .designs-page .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Para pantallas muy pequeñas, mantener 2 columnas pero más estrechas */
    @media (max-width: 400px) {
        #gallery-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 0.8rem;
        }
    }
    
    .designs-page .gallery-item {
        padding: 0;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .info-item {
        padding: 1.2rem;
    }
    
    .info-item iframe {
        width: 100% !important;
        height: 250px !important;
        max-width: 100%;
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 1rem;
    }

    .nav-brand h1 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    section {
        padding: 40px 0;
    }
    
    .about-text {
        padding: 1.2rem;
        margin: 0 0.5rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .signature-image {
        max-width: 150px;
        margin: 1.5rem 0 1rem 0;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }

    .about-content {
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .discount-banner-main {
        padding: 0.35rem 0;
        margin-top: 75px;
    }
    
    .discount-banner-content {
        gap: 0.4rem;
        padding: 0 0.5rem;
    }
    
    .discount-icon {
        font-size: 0.9rem;
    }
    
    .discount-text-inline {
        font-size: 0.75rem;
    }
    
    .discount-code-badge {
        font-size: 0.8rem;
    }
    
    .bookings {
        padding: 30px 0;
    }
    
    .budget-button-container {
        margin-bottom: 1.5rem;
    }
    
    .bookings-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .bookings-grid {
        gap: 1rem;
    }
    
    .booking-btn {
        padding: 0.9rem 0.7rem;
        min-height: 75px;
    }
    
    .booking-city {
        font-size: 1rem;
    }
    
    .booking-city i.fa-calculator {
        animation: rotateCalculator 3s ease-in-out infinite;
        display: inline-block;
    }
    
    .booking-date {
        font-size: 0.8rem;
    }
    
    .booking-notify {
        font-size: 0.75rem;
    }
    
    .gallery-grid {
        gap: 1rem;
    }
    
    /* Mantener 2 columnas mínimo en preview-grid en móvil, igual que la galería */
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Para pantallas muy pequeñas, mantener 2 columnas pero más estrechas, igual que la galería */
    @media (max-width: 400px) {
        .preview-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 0.8rem;
        }
        
        .preview-item {
            min-width: 0;
            box-sizing: border-box;
        }
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    .info-item {
        padding: 1rem;
    }
    
    .info-item iframe {
        height: 200px !important;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .contact .container {
        padding: 0 20px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(92, 74, 58, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    max-height: 90%;
    gap: 2rem;
    position: relative;
    pointer-events: auto;
}

.modal-content-wrapper * {
    pointer-events: auto;
}

.modal-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-out;
}

.modal-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.btn-modal-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: var(--nude);
    color: var(--primary-color);
    border: 2px solid var(--nude);
    border-radius: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(232, 180, 160, 0.3);
}

.btn-modal-order:hover {
    background: var(--primary-color);
    color: var(--skin-light);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 74, 58, 0.4);
}

.btn-modal-order i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.btn-modal-order:hover i {
    color: var(--skin-light);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0;
    margin: 0;
    border: none;
    transition: background 0.2s ease;
    line-height: 1;
    font-family: inherit;
}

.modal-close::before {
    content: '×';
    display: block;
    line-height: 1;
    margin-top: -7px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--skin-light);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
        width: 40px;
        height: 40px;
    }
    
    .modal-content-wrapper {
        max-width: 95%;
        max-height: 90%;
        gap: 1.5rem;
    }
    
    .modal-image {
        max-width: 100%;
        max-height: 70vh;
    }
    
    .btn-modal-order {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }
}

/* Estilos para precios con descuento */
.original-price {
    text-decoration: line-through;
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.9em;
    margin-right: 0.3rem;
    white-space: nowrap;
}

.discounted-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.3em;
    white-space: nowrap;
}

.discount-badge {
    display: inline-block;
    background: rgba(232, 180, 160, 0.2);
    color: var(--primary-color);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    font-family: 'Cormorant Garamond', serif;
    white-space: nowrap;
    flex-shrink: 0;
}

.order-discount {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--skin-medium);
    color: var(--primary-color);
    font-weight: 500;
}

.discount-label {
    color: var(--text-light);
}

.discount-amount {
    color: var(--primary-color);
    font-weight: 600;
}

.discount-code {
    color: var(--text-light);
    font-size: 0.85em;
    font-style: italic;
    margin-left: 0.5rem;
}

/* Estilos en la cesta de compra */
.cart-item-info .original-price {
    font-size: 0.85em;
}

.cart-item-info .discounted-price {
    font-size: 1em;
    margin-left: 0.3rem;
}


