/* ==========================================================================
   KARA Makeup — Premium Huda-Style Design System
   ========================================================================== */
:root {
    --primary: #E22963;
    --secondary: #E4484B;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));

    --bg-main: #FAFAFA;
    --bg-surface: #FFFFFF;
    --text-main: #1C1C1C;
    --text-muted: #777777;
    --border-color: #EAEAEA;
    --shadow-color: rgba(226, 41, 99, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --gold-glow: #FF66B2;
    --announce-h: 38px;
    --header-h: 72px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    letter-spacing: 0.2px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: color 0.3s ease;
}

button { 
    font-family: inherit; 
    border: none; 
    background: none; 
    cursor: pointer; 
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F1F1F1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* ==========================================================================
   BARRA DE ANUNCIO (estilo Huda Beauty)
   ========================================================================== */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--announce-h);
    background: #C51F51 !important;
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 0 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.announcement-bar p {
    color: #FFFFFF !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   HEADER (Translucent & Minimalist)
   ========================================================================== */
.main-header {
    background: linear-gradient(90deg, #C51F51 0%, #E9AE52 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    position: fixed;
    top: var(--announce-h);
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
}

.logo-img {
    height: 38px; 
    width: 38px; 
    object-fit: cover;
    border-radius: 50%; 
    border: 1.5px solid #ffffff;
}

.main-header .logo-text {
    font-family: 'Cormorant Garamond', serif !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.7rem !important;
    letter-spacing: 4px !important;
}

.nav-menu { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
}

.main-header .nav-link,
.main-header .nav-services-btn {
    font-family: 'Cormorant Garamond', serif !important;
    color: #FFFFFF !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.5rem 1rem !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    position: relative;
    transition: all 0.3s ease !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; 
    left: 50%;
    width: 0; 
    height: 1.5px;
    background: #FFFFFF;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-header .nav-link:hover::after,
.main-header .nav-link.active::after {
    width: 70%;
}

.main-header .nav-services-btn .arrow-indicator {
    font-size: 0.6rem;
    margin-left: 2px;
}

/* SERVICIOS: intro personal de la maquilladora */
.artist-intro {
    text-align: center;
    padding-bottom: 1.4rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.artist-badge {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.8rem;
    border-radius: 50%;
    background: var(--gradient);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.artist-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.artist-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.1rem;
}

.artist-instagram-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.65rem 1.2rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.artist-instagram-pill:hover {
    opacity: 0.85;
}

/* COMPOSITOR DE RESERVA — pasos, chips de ocasión y vista previa en vivo */
.composer-step-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin: 1.2rem 0 0.7rem;
}

.occasion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.occasion-chip {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.occasion-chip:hover {
    border-color: var(--primary);
}

.occasion-chip.active {
    background: var(--gradient);
    border-color: transparent;
    color: #FFFFFF;
}

.services-grid#lookCards .service-card {
    cursor: pointer;
    position: relative;
}

.service-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}

.service-card.selected .service-body::after {
    content: '✓ Seleccionado';
    display: inline-block;
    margin-top: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.composer-preview {
    background: var(--bg-main);
    border: 1px dashed var(--border-color);
    padding: 1rem 1.1rem;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-muted);
    min-height: 3.5em;
}

.btn-composer-send {
    width: 100%;
    margin-top: 1.2rem;
    background: var(--gradient);
    color: #FFFFFF;
    border: none;
    padding: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn-composer-send:hover:not(:disabled) {
    opacity: 0.88;
}

.btn-composer-send:disabled {
    background: #D8D8D8;
    color: #999999;
    cursor: not-allowed;
}

/* SERVICIOS: tarjetas dentro del modal (ver #servicesModal) */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    border: 1px solid var(--border-color);
    text-align: left;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.service-card .service-img-wrap {
    position: relative;
    overflow: hidden;
}

.service-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.service-card .service-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000000;
    color: #FFFFFF;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.35rem 0.6rem;
}

.service-card .service-body {
    padding: 1rem;
}

.service-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.services-extra {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.dropdown-item-link {
    display: flex !important; 
    align-items: center !important;
    gap: 12px !important; 
    padding: 12px 16px !important;
    color: var(--text-main) !important;
    font-weight: 600 !important; 
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border-radius: 0px !important; 
    background: transparent !important; 
    width: 100%; 
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown-item-link:hover {
    background: rgba(0, 0, 0, 0.03) !important;
    color: var(--primary) !important;
}

.compact-btn {
    background: var(--gradient) !important; 
    color: #FFFFFF !important;
    width: 100% !important; 
    padding: 12px !important; 
    border-radius: 10px !important;
    font-size: 0.75rem !important; 
    text-transform: uppercase !important;
    font-weight: 700 !important; 
    letter-spacing: 1.5px !important;
    text-align: center;
    border: none !important;
    box-shadow: 0 6px 16px rgba(226, 41, 99, 0.28);
    transition: all 0.3s ease;
}

.compact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(226, 41, 99, 0.38);
}

/* ==========================================================================
   SECCIÓN DE SERVICIOS DE MAQUILLAJE EN HOME PAGE
   ========================================================================== */
.servicios-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.home-service-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.home-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(164, 53, 232, 0.12);
    border-color: rgba(164, 53, 232, 0.3);
}

.home-service-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.home-service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.home-service-card:hover .home-service-img-wrap img {
    transform: scale(1.06);
}

.home-service-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 10, 20, 0.85);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-service-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.home-service-body h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-main);
}

.home-service-body p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.4rem;
}

.home-service-body .btn-huda-primary {
    width: 100%;
    padding: 0.95rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

@media (max-width: 768px) {
    .home-services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .home-service-img-wrap {
        height: 200px !important;
    }

    .home-service-body {
        padding: 1.4rem !important;
    }
}

/* ACTIONS */
.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 0.25rem; 
}

.main-header .header-actions button {
    background-color: transparent !important;
    border: none !important;
    color: #FFFFFF !important;
    width: 38px !important; 
    height: 38px !important;
    border-radius: 0 !important;
    display: inline-flex !important; 
    align-items: center !important; 
    justify-content: center !important;
    transition: transform 0.2s ease !important;
}

.main-header .header-actions button:hover { 
    background-color: transparent !important;
    transform: scale(1.15) !important;
}

.main-header .header-actions svg { 
    color: #FFFFFF !important; 
    stroke: #FFFFFF !important; 
}

.badge-container { 
    position: relative; 
}

.badge {
    position: absolute; 
    top: -4px; 
    right: -4px;
    background: var(--gradient) !important; 
    color: #FFFFFF !important;
    font-size: 0.65rem; 
    font-weight: 700; 
    min-width: 17px; 
    height: 17px;
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(226, 41, 99, 0.45);
}

.search-wrapper { 
    position: relative; 
}

.search-dropdown {
    position: absolute; 
    top: 130%; 
    right: 0; 
    width: 280px;
    background: white; 
    border: 1px solid var(--border-color);
    padding: 0.85rem; 
    border-radius: 0px; 
    display: none; 
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.search-dropdown.active { 
    display: block; 
}

.search-dropdown input { 
    width: 100%; 
    padding: 0.6rem 1rem; 
    border-radius: 0px; 
    border: 1px solid var(--border-color); 
    outline: none; 
    color: #1c1c1c; 
    background: #ffffff;
    font-size: 0.8rem;
}

/* En móvil: el dropdown de 280px anclado al icono se salía de la pantalla
   (por eso se veía "a la mitad"). Aquí pasa a ser una barra fija de ancho
   completo, siempre totalmente visible sin importar dónde esté el icono. */
@media (max-width: 640px) {
    .search-dropdown {
        position: fixed;
        top: calc(var(--header-h) + var(--announce-h) + 10px);
        left: 1rem;
        right: 1rem;
        width: auto;
    }

    .search-dropdown input {
        font-size: 16px; /* evita que iOS haga zoom automático al enfocar */
        padding: 0.75rem 1rem;
    }
}

.menu-hamburger { 
    display: none; 
    flex-direction: column; 
    gap: 6px; 
    width: 24px; 
}

.menu-hamburger span { 
    width: 100%; 
    height: 2px; 
    background-color: #FFFFFF; 
}



.btn-gradient {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    background: #FFFFFF !important;
    color: var(--primary) !important; 
    font-weight: 700 !important; 
    padding: 1rem 2.5rem !important; 
    border-radius: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    font-size: 0.8rem !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease !important;
}

.btn-gradient:hover { 
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.section-title { 
    text-align: center; 
    font-size: 2rem; 
    font-weight: 400; 
    margin-bottom: 4rem; 
    font-family: 'Cormorant Garamond', serif; 
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title::after { 
    content: ""; 
    display: block; 
    width: 40px;
    height: 1px;
    background: #000000;
    margin: 1rem auto 0 auto;
    opacity: 0.8; 
}

.gsap-reveal { 
    opacity: 0; 
    transform: translateY(30px); 
}

/* ==========================================================================
   LÍNEAS DE BELLEZA (Categories)
   ========================================================================== */
.categories-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 1.1rem; 
}

@media (max-width: 1024px) and (min-width: 641px) {
    .categories-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 1rem;
    }
    .category-card {
        height: 210px !important;
        border-radius: 14px !important;
        font-size: 1.1rem !important;
    }
}

@media (max-width: 640px) {
    .categories-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 0.75rem;
    }
    .category-card {
        height: 175px !important; 
        font-size: 0.95rem !important;
        border-radius: 12px !important;
    }
    .category-card:last-child {
        grid-column: 1 / -1;
        height: 145px !important;
    }
}

.category-card {
    height: 240px !important; 
    border-radius: 14px !important; 
    background-size: cover; 
    background-position: center;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-weight: 600; 
    font-size: 1.15rem;
    position: relative; 
    overflow: hidden; 
    cursor: pointer;
    filter: brightness(1.05) contrast(1.08) saturate(1.05);
    image-rendering: -webkit-optimize-contrast;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.category-card::before {
    content: ''; 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to top, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.05) 55%, transparent 100%);
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
}

.category-card::after {
    content: '';
    position: absolute;
    bottom: 25px; 
    left: 50%;
    transform: translateX(-50%);
    width: 40px; 
    height: 2px;
    background: #FFFFFF;
    box-shadow: 0 1px 4px rgba(0,0,0,0.6);
    transition: width 0.3s ease;
}

.category-card:hover::after {
    width: 100px;
}

.category-card h3 { 
    z-index: 2; 
    position: relative; 
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 4px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   GAMA PRODUCTOS (Grid & Cards)
   ========================================================================== */
.products-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); 
    gap: 2.5rem; 
}

.product-card {
    background: #FFFFFF !important; 
    border-radius: 0px !important; 
    border: none !important;
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    opacity: 0; 
    transform: translateY(30px);
    box-shadow: none !important;
    border-bottom: 1px solid #EAEAEA !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 15px 45px rgba(0,0,0,0.06) !important;
    transform: translateY(-5px) !important;
}

.product-image-container { 
    position: relative; 
    padding-top: 110% !important; 
    background: #F9F9F9 !important; 
    overflow: hidden; 
    border-radius: 0px !important;
}

.product-image-container img { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.product-card:hover .product-image-container img {
    transform: scale(1.08) !important;
}

.product-info { 
    padding: 1.5rem 0.5rem 1rem 0.5rem !important; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
    text-align: center !important;
}

.product-category { 
    font-size: 0.68rem !important; 
    text-transform: uppercase !important; 
    color: var(--primary) !important; 
    font-weight: 700 !important; 
    letter-spacing: 2px !important; 
    margin-bottom: 0.5rem !important; 
}

.product-title { 
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.95rem !important; 
    font-weight: 500 !important; 
    margin-bottom: 0.5rem !important; 
    min-height: auto !important; 
    line-height: 1.4; 
    color: var(--text-main); 
    letter-spacing: 0.5px !important;
}

.product-price { 
    font-family: 'Playfair Display', serif !important;
    font-size: 1.25rem !important; 
    font-weight: 600 !important; 
    color: #000000 !important; 
    margin-bottom: 1.2rem !important; 
}

.btn-huda-primary {
    background-color: #000000 !important; 
    color: white !important; 
    padding: 1rem 1.5rem !important; 
    border-radius: 0px !important;
    font-weight: 700 !important; 
    text-transform: uppercase !important; 
    font-size: 0.78rem !important; 
    width: 100% !important;
    letter-spacing: 2px !important; 
    border: 1px solid #000000 !important; 
    transition: all 0.3s ease !important;
}

.btn-huda-primary:hover {
    background-color: transparent !important;
    color: #000000 !important;
}

.fav-card-btn {
    position: absolute; 
    top: 15px; 
    right: 15px; 
    background: #FFFFFF !important; 
    width: 36px; 
    height: 36px;
    border-radius: 0px !important; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #333; 
    z-index: 5;
    border: 1px solid #EAEAEA !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important; 
    transition: all 0.3s ease;
}

.fav-card-btn:hover { 
    transform: scale(1.1); 
    background: #FFFFFF !important;
    border-color: #000000 !important;
}

.fav-card-btn.active { 
    color: var(--primary) !important; 
}

/* Badge de urgencia (stock real, no inventado) */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient);
    color: #FFFFFF;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 0.7rem;
    z-index: 5;
}

/* Swatches de tono estilo Huda Beauty */
.product-tones {
    margin-bottom: 1rem;
}

.tone-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tone-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 2.5px #FFFFFF;
    cursor: default;
    transition: transform 0.2s ease;
}

.tone-dot:hover {
    transform: scale(1.25);
}

.tone-more {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-left: 4px;
}

.load-more-container { 
    text-align: center; 
    margin-top: 3.5rem; 
}

.btn-glass { 
    padding: 1rem 2.5rem !important; 
    border-radius: 0px !important; 
    background: transparent !important; 
    color: #000000 !important; 
    font-weight: 700 !important; 
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border: 2px solid #000000 !important;
    transition: all 0.3s ease !important;
}

.btn-glass:hover {
    background: #000000 !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   BAG DRAWER (Bolsa de Compra)
   ========================================================================== */
.modal-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.5); 
    backdrop-filter: blur(8px); 
    z-index: 2000; 
    display: none;
}

#cartModal.modal-overlay { 
    justify-content: flex-end; 
    align-items: stretch; 
}

#cartModal .modal-content {
    background: var(--gradient); 
    width: 100%; 
    max-width: 440px; 
    height: 100vh;
    padding: 2.5rem 2rem; 
    display: flex; 
    flex-direction: column; 
    margin-right: -440px; 
    border-radius: 20px 0 0 20px !important;
    border: none;
    box-shadow: -12px 0 50px rgba(0,0,0,0.25);
    transition: margin-right 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#cartModal.open-panel { 
    display: flex !important; 
}

#cartModal.open-panel .modal-content { 
    margin-right: 0; 
}

.drawer-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.28); 
    padding-bottom: 1.2rem; 
}

.drawer-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 52px;
    height: 3px;
    border-radius: 3px;
    background: #FFFFFF;
}

.drawer-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: #FFFFFF;
}

.modal-close { 
    font-size: 2rem; 
    color: #000000; 
    cursor: pointer; 
    transition: opacity 0.2s ease;
}

.modal-close:hover {
    opacity: 0.6;
}

#cartModal .modal-close {
    color: #FFFFFF;
}

.drawer-body-scroll { 
    overflow-y: auto; 
    flex-grow: 1; 
    margin-top: 1.5rem; 
}

.shipping-progress-container { 
    background: rgba(255,255,255,0.14); 
    border-radius: 12px !important; 
    padding: 1.2rem; 
    margin-bottom: 1.5rem; 
    border: 1px solid rgba(255,255,255,0.3); 
}

.shipping-progress-text { 
    font-size: 0.8rem; 
    font-weight: 600; 
    margin-bottom: 10px; 
    letter-spacing: 0.2px;
    color: #FFFFFF;
}

.shipping-progress-text span { 
    color: #FFFFFF; 
    font-weight: 800; 
    text-decoration: underline;
}

.shipping-bar-bg { 
    background: rgba(255,255,255,0.25); 
    height: 5px; 
    border-radius: 4px !important; 
    overflow: hidden; 
}

.shipping-bar-fill { 
    height: 100%; 
    background: #FFFFFF; 
    width: 0%; 
    border-radius: 4px !important;
    transition: width 0.5s ease; 
}

.cart-total-wrapper { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1.5rem 0; 
    font-weight: 700; 
    border-top: 1px solid rgba(255,255,255,0.28);
    letter-spacing: 1px;
    color: #FFFFFF;
}

.cart-total-wrapper span:last-child {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #FFFFFF;
}

.cart-item-card, 
.fav-item-card {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 10px;
    border: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.cart-item-card img,
.fav-item-card img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.cart-item-info,
.fav-item-info {
    flex-grow: 1;
    min-width: 0;
}

.cart-item-info h5,
.fav-item-info h5 {
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-price,
.fav-item-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.qty-btn {
    background: #FFFFFF !important;
    border: 1px solid var(--border-color) !important;
    width: 24px; 
    height: 24px; 
    border-radius: 7px;
    font-weight: bold; 
    cursor: pointer;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--gradient) !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
}

.btn-remove-item {
    font-size: 0.72rem;
    color: #FF3B30;
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
}

.w-100 { 
    width: 100%; 
    justify-content: center; 
}

/* ==========================================================================
   MODALS (Quiz, Favs)
   ========================================================================== */
#quizModal.modal-overlay, 
#favsModal.modal-overlay { 
    align-items: center; 
    justify-content: center; 
}

#quizModal .modal-content, 
#favsModal .modal-content { 
    background: var(--gradient); 
    width: 90%; 
    max-width: 500px; 
    padding: 3rem 2.5rem; 
    border-radius: 24px !important; 
    border: none;
    box-shadow: 0 25px 70px rgba(0,0,0,0.3);
    position: relative; 
}

#quizModal h3, 
#favsModal h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    color: #FFFFFF;
}

#quizModal .modal-close,
#favsModal .modal-close {
    color: #FFFFFF;
}

/* Modal de Servicios: le faltaba esta base (fondo, borde, centrado y scroll) */
#servicesModal.modal-overlay {
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

#servicesModal .modal-content {
    background: var(--bg-surface);
    width: 90%;
    padding: 2.5rem 2rem;
    border-radius: 0px !important;
    border: 1px solid #000000 !important;
    position: relative;
    max-height: 88vh;
    overflow-y: auto;
}

#servicesModal h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.quiz-options-list { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    margin-top: 1.5rem; 
}

.quiz-option-btn { 
    width: 100%; 
    padding: 16px 20px; 
    border-radius: 0px !important; 
    border: 1px solid #000000 !important; 
    text-align: left; 
    font-weight: 600; 
    background: var(--bg-surface); 
    color: var(--text-main); 
    letter-spacing: 1px;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.quiz-option-btn:hover {
    background: #FAF6F7;
    border-color: var(--primary) !important;
    color: var(--primary);
}

.quiz-option-btn.selected { 
    background: #000000 !important; 
    color: #FFFFFF !important; 
    border-color: #000000 !important;
}

/* ==========================================================================
   TESTIMONIALS & FOOTER
   ========================================================================== */
.testimonios-section { 
    background: #FFFFFF; 
    padding: 6rem 0; 
    border-top: 1px solid #F0F0F0;
}

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

.testimonial-card { 
    background: #FAF6F7; 
    padding: 3rem 2.5rem; 
    border-radius: 0px !important; 
    border: 1px solid #F5EAEB !important; 
}

.testimonial-text { 
    font-style: italic; 
    line-height: 1.7; 
    color: var(--text-muted); 
    margin-bottom: 1.5rem; 
    font-size: 0.92rem;
}

.testimonial-author { 
    font-weight: 700; 
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.testimonial-stars { 
    color: #FFB800; 
    display: block; 
    margin-top: 0.4rem; 
    font-size: 0.95rem;
}

.main-footer { 
    background: #000000 !important; 
    color: #FFFFFF; 
    padding: 3rem 0 1.5rem; 
}

/* El footer usa la clase genérica .container (padding: 6rem), que se sumaba
   al padding propio del footer y lo hacía verse gigante. Se anula aquí. */
.main-footer .container {
    padding: 0 2rem;
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 2rem; 
}

.footer-brand h3 { 
    font-size: 1.8rem; 
    color: #FFFFFF !important; 
    font-family: 'Playfair Display', serif; 
    letter-spacing: 4px;
    margin-bottom: 0.6rem;
}

.footer-brand p { 
    color: #A0A0A0; 
    font-size: 0.85rem; 
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #A0A0A0;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links ul li a:hover {
    color: #FFFFFF;
}

.footer-contact p {
    color: #A0A0A0;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.footer-contact p a {
    color: #A0A0A0;
    transition: color 0.2s ease;
}

.footer-contact p a:hover {
    color: #FFFFFF;
}

.footer-bottom { 
    text-align: center; 
    padding-top: 1.5rem; 
    border-top: 1px solid #222222; 
    margin-top: 2rem; 
    color: #666; 
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.whatsapp-floating {
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background: #25D366; 
    color: white;
    width: 54px; 
    height: 54px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease;
}

.whatsapp-floating:hover {
    transform: scale(1.1);
}

.quiz-floating {
    position: fixed;
    bottom: 96px;
    right: 30px;
    background: var(--gradient);
    color: white;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s ease;
    animation: quizPulse 2.4s ease-in-out infinite;
}

.quiz-floating:hover {
    transform: scale(1.1);
    animation-play-state: paused;
}

.quiz-floating-tooltip {
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateY(-50%);
    background: #000000;
    color: #FFFFFF;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.quiz-floating:hover .quiz-floating-tooltip {
    opacity: 1;
}

@keyframes quizPulse {
    0%, 100% { box-shadow: 0 4px 15px var(--shadow-color); }
    50% { box-shadow: 0 4px 20px rgba(226, 41, 99, 0.45); }
}

@media (max-width: 768px) {
    .quiz-floating-tooltip { display: none; }
    .quiz-floating { bottom: 92px; width: 48px; height: 48px; }
}

/* Quiz multi-paso: barra de progreso y resultados */
.quiz-progress-wrapper {
    margin-bottom: 1.2rem;
}

.quiz-progress-text {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
}

.quiz-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.28);
    border-radius: 2px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: #FFFFFF;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.quiz-title {
    color: #FFFFFF;
}

.quiz-results-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 1.2rem 0;
}

.quiz-result-card {
    background: #FFFFFF;
    padding: 0.9rem;
    border-radius: 12px;
    border: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    display: flex;
    gap: 12px;
    align-items: center;
    text-align: left;
}

.quiz-result-card img {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.quiz-result-info {
    flex-grow: 1;
    min-width: 0;
}

.quiz-result-info h5 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quiz-back-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.85);
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 0.5rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .menu-hamburger { 
        display: flex; 
    }
    
    .nav-menu {
        position: fixed; 
        top: calc(var(--header-h) + var(--announce-h)); 
        left: -100%; 
        width: 100%; 
        height: calc(100vh - var(--header-h) - var(--announce-h));
        background: #000000; 
        flex-direction: column; 
        align-items: center; 
        padding-top: 4rem; 
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
        gap: 2rem;
        z-index: 999;
    }
    
    .nav-menu.active { 
        left: 0; 
    }
    
    .main-header .nav-link, 
    .main-header .nav-services-btn { 
        width: 80%; 
        justify-content: center; 
        font-size: 0.9rem !important;
    }
    .container { padding: 4rem 1.5rem; }
}

/* ==========================================================================
   HERO — CINEMATIC SPLIT-SCREEN
   ========================================================================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    padding-top: calc(var(--header-h) + var(--announce-h));
    background: #0a0a0a;
    overflow: hidden;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 4rem 5rem 5rem;
    background: linear-gradient(135deg, #C51F51 0%, #E9AE52 100%);
    position: relative;
    z-index: 2;
}

.hero-left::after {
    display: none !important;
}

.hero-eyebrow {
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-bottom: 2rem;
    display: block;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 4.5rem !important;
    font-weight: 400 !important;
    line-height: 1.05 !important;
    color: #FFFFFF;
    margin-bottom: 1.8rem;
    letter-spacing: 0px;
}

.hero-title em {
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic;
    font-weight: 400;
    color: #FFFFFF;
}

.hero-text {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    max-width: 420px;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #000000;
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic;
    font-weight: 700;
    padding: 1rem 2.2rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border: 2px solid #FFFFFF;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-hero-primary:hover {
    background: transparent;
    color: #FFFFFF;
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #FFFFFF;
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic;
    font-weight: 700;
    padding: 1rem 2.2rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border: 2px solid rgba(255,255,255,0.6);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-hero-outline:hover {
    border-color: #FFFFFF;
    background: rgba(255,255,255,0.1);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1;
}

.stat-label {
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.25);
}

/* Right side — full-bleed photo */
.hero-right {
    position: relative;
    overflow: hidden;
    background: #F8C9D6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-model-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    filter: contrast(1.04) saturate(1.05);
    image-rendering: -webkit-optimize-contrast;
    transition: transform 0.4s ease;
    padding: 0.6rem;
}

.hero-right:hover .hero-model-img {
    transform: scale(1.02);
}

.hero-img-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: var(--gradient);
    color: #FFFFFF;
    padding: 0.6rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.hero-img-badge span:first-child {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-img-badge span:last-child {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-style: italic;
    font-weight: 400;
}

/* ==========================================================================
   MARQUEE TICKER
   ========================================================================== */
.marquee-strip {
    background: linear-gradient(90deg, #C51F51 0%, #E9AE52 100%) !important;
    padding: 0.9rem 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.marquee-track {
    display: inline-flex;
    gap: 3rem;
    animation: marqueeScroll 22s linear infinite;
    will-change: transform;
}

.marquee-track span {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: #FFFFFF !important;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

.marquee-track span:nth-child(even) {
    color: #FFFFFF !important;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   RESPONSIVE — HERO SPLIT
   ========================================================================== */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-left {
        padding: 5rem 2rem 4rem 2rem;
        order: 2;
    }
    .hero-left::after { display: none; }
    .hero-right {
        order: 1;
        height: 85vw;
        min-height: 340px;
        max-height: 520px;
        background: #F8C9D6;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }
    .hero-model-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
        padding: 0;
        filter: contrast(1.04) saturate(1.05);
        image-rendering: -webkit-optimize-contrast;
    }
    .hero-title { font-size: 3rem !important; }
    .hero-img-badge { top: 1rem; left: 1rem; }
    .container { padding: 4rem 1.5rem; }
}

/* ==========================================================================
   ADMIN PANEL: BOTÓN EDITAR, TONE BUILDER CON COLOR PICKER & MULTI-FOTOS
   ========================================================================== */
.btn-edit {
    background: #EBF3FF;
    border: 1.5px solid #B4D3FE;
    color: #1A69D2;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-edit:hover {
    background: #1A69D2;
    color: #FFFFFF;
    border-color: #1A69D2;
    transform: scale(1.04);
}

.tone-builder-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.tone-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 0.8rem;
}

.color-picker-input {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    padding: 2px;
    background: #fff;
    flex-shrink: 0;
}

.tone-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tone-chip-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F5F3EF;
    border: 1px solid #EAEAEA;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.tone-chip-color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}

.tone-chip-remove {
    background: none;
    border: none;
    color: #FF3B30;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 2px;
}

/* Swatches de Tono con Colores Reales en la tienda */
.tone-dot {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.15), 0 0 0 3px #FFFFFF !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    display: inline-block;
    position: relative;
}

.tone-dot:hover,
.tone-dot.active {
    transform: scale(1.25) !important;
    box-shadow: 0 0 0 2px var(--primary), 0 0 0 4px #FFFFFF !important;
}

/* ==========================================================================
   WIDGET DE ESTADÍSTICAS DE INVENTARIO & BADGES DE STOCK
   ========================================================================== */
.inventory-stats-widget {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F6FF 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(74, 133, 246, 0.25);
    border-radius: 20px;
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 30px rgba(74, 133, 246, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-card.stat-total {
    background: linear-gradient(135deg, #FFFFFF 0%, #EBF3FF 100%);
    border-color: rgba(74, 133, 246, 0.35);
}

.stat-card.stat-low {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5EB 100%);
    border-color: rgba(255, 152, 0, 0.35);
}

.stat-card.stat-out {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFEBF0 100%);
    border-color: rgba(255, 102, 178, 0.35);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(74, 133, 246, 0.15);
}

.stat-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.65rem;
    font-weight: 800;
    font-family: 'Bodoni Moda', serif;
    line-height: 1.1;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 2px;
}

.stock-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.stock-badge.badge-out {
    background: #FFEBEB;
    color: #D32F2F;
    border: 1px solid #FFCDD2;
}

.stock-badge.badge-low {
    background: #FFF3E0;
    color: #E65100;
    border: 1px solid #FFE0B2;
}

.stock-badge.badge-ok {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

/* ==========================================================================
   ESTRUCTURA DE ITEMS DEL CATÁLOGO & BOTONES DE ACCIÓN
   ========================================================================== */
.catalog-item {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FBFF 100%);
    border: 1.5px solid rgba(74, 133, 246, 0.2);
    border-radius: 18px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: 0 6px 20px rgba(74, 133, 246, 0.04);
    transition: all 0.25s ease;
}

.catalog-item:hover {
    border-color: rgba(255, 102, 178, 0.4);
    box-shadow: 0 12px 30px rgba(74, 133, 246, 0.12), 0 0 20px rgba(255, 102, 178, 0.08);
}

.item-main {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
}

.item-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.item-details {
    flex-grow: 1;
    min-width: 0;
}

.item-title {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
    word-break: break-word;
    line-height: 1.3;
}

.item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.item-price {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border-top: 1px dashed #EAEAEA;
    padding-top: 0.75rem;
}

.item-actions .btn-edit,
.item-actions .btn-delete {
    flex: 1;
    min-height: 42px;
    justify-content: center;
    font-size: 0.85rem;
    border-radius: 10px;
    font-weight: 700;
    padding: 0.6rem 1rem;
    white-space: nowrap;
}

.btn-edit {
    background: #EBF3FF;
    border: 1.5px solid #B4D3FE;
    color: #1A69D2;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-edit:hover {
    background: #1A69D2;
    color: #FFFFFF;
    border-color: #1A69D2;
    transform: scale(1.02);
}

.btn-delete {
    background: #FFF0F0;
    border: 1.5px solid #FFCDD2;
    color: #D32F2F;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-delete:hover {
    background: #D32F2F;
    color: #FFFFFF;
    border-color: #D32F2F;
    transform: scale(1.02);
}

/* ==========================================================================
   OPTIMIZACIONES DE RESPONSIVIDAD PARA TELÉFONO (MÓVIL)
   ========================================================================== */
@media (max-width: 768px) {
    .inventory-stats-widget {
        grid-template-columns: 1fr !important;
        gap: 0.9rem !important;
    }

    .studio-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .studio-col-photo { order: 1 !important; }
    .studio-col-fields { order: 2 !important; }
    .studio-col-preview { order: 3 !important; }

    .studio-panel {
        padding: 1.2rem !important;
        border-radius: 16px !important;
        margin: 1rem 0 !important;
    }

    .studio-title {
        font-size: 1.5rem !important;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
    }

    .form-grid .input-group:last-child {
        grid-column: auto !important;
    }

    .tone-input-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .tone-input-row input[type="text"] {
        width: 100% !important;
    }

    .tone-input-row button {
        width: 100% !important;
    }

    /* Adaptación de Items del Catálogo en Teléfono */
    .catalog-item {
        padding: 1rem !important;
        border-radius: 14px !important;
        gap: 0.75rem !important;
    }

    .item-main {
        display: flex !important;
        align-items: center !important;
        gap: 0.8rem !important;
        width: 100% !important;
    }

    .item-thumb {
        width: 52px !important;
        height: 52px !important;
    }

    .item-details {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .item-title {
        font-size: 0.88rem !important;
        line-height: 1.25 !important;
    }

    .item-meta {
        font-size: 0.72rem !important;
        gap: 5px !important;
    }

    .item-price {
        font-size: 1.15rem !important;
        margin-left: auto !important;
        padding-left: 4px !important;
    }

    .item-actions {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        width: 100% !important;
        padding-top: 0.65rem !important;
    }

    .item-actions .btn-edit,
    .item-actions .btn-delete {
        flex: 1 1 50% !important;
        min-height: 44px !important;
        padding: 0.6rem 0.5rem !important;
        font-size: 0.8rem !important;
        justify-content: center !important;
    }

    .upload-area {
        min-height: 140px !important;
        padding: 1rem !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 2.5rem 1rem !important;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }

    .product-card {
        padding: 0 !important;
    }

    .product-info {
        padding: 0.8rem 0.4rem !important;
    }

    .product-title {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
    }

    .product-price {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
    }

    .btn-huda-primary,
    .btn-add-cart {
        padding: 0.6rem 0.5rem !important;
        font-size: 0.68rem !important;
    }
}