/**
 * Maurice Store Selector Pop-up Styles
 * 
 * Pop-up para seleccionar tienda (Península o Canarias)
 */

/* ========================================
   VARIABLES CSS - GUÍA DE ESTILO MAURICE
======================================== */
:root {
  /* Tipografía */
  --maurice-font-h1-family: 'Fraunces', serif;
  --maurice-font-h1-size: 107px;
  --maurice-font-h1-weight: 600;
  
  --maurice-font-h2-family: 'Fraunces', serif;
  --maurice-font-h2-size: 53px;
  --maurice-font-h2-weight: 600;
  
  --maurice-font-h3-family: 'Outfit', sans-serif;
  --maurice-font-h3-size: 32px;
  --maurice-font-h3-weight: 600;
  
  --maurice-font-paragraph-family: 'Outfit', sans-serif;
  --maurice-font-paragraph-size: 20px;
  --maurice-font-paragraph-weight: 400;
  
  --maurice-font-paragraph-bold-family: 'Outfit', sans-serif;
  --maurice-font-paragraph-bold-size: 20px;
  --maurice-font-paragraph-bold-weight: 600;
  
  --maurice-font-button-family: 'Outfit', sans-serif;
  --maurice-font-button-size: 20px;
  --maurice-font-button-weight: 600;
  
  /* Colores */
  --maurice-color-orange: #fc805a;
  --maurice-color-gray: #a0a0a0;
  --maurice-color-gray-light: #f2f2f2;
  --maurice-color-gray-very-light: #f9f8f7;
  --maurice-color-beige: #f0ece6;
  --maurice-color-beige-light: #f4f3f2;
  
  /* Bordes */
  --maurice-border-button: 3px;
}

/* Overlay del pop-up */
.maurice-store-selector-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.3s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Contenedor del pop-up */
.maurice-store-selector-popup {
    background: #ffffff;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    transform: scale(0.9);
    animation: popIn 0.3s ease-out 0.1s forwards;
    font-family: var(--maurice-font-paragraph-family);
}

@keyframes popIn {
    to {
        transform: scale(1);
    }
}

/* Título */
.maurice-store-selector-title {
    font-size: 28px;
    font-weight: var(--maurice-font-paragraph-bold-weight);
    color: #1a1a1a;
    margin: 0 0 10px 0;
    padding-top: 10px;
    font-family: var(--maurice-font-paragraph-bold-family);
    letter-spacing: -0.02em;
}

/* Subtítulo */
.maurice-store-selector-subtitle {
    font-size: 16px;
    color: var(--maurice-color-gray);
    margin: 0 0 32px 0;
    line-height: 1.5;
    font-family: var(--maurice-font-paragraph-family);
    font-weight: var(--maurice-font-paragraph-weight);
}

/* Contenedor de botones */
.maurice-store-selector-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Botones de selección */
.maurice-store-selector-button {
    padding: 18px 32px;
    font-size: 16px;
    font-weight: var(--maurice-font-button-weight);
    border: 2px solid var(--maurice-color-gray-light);
    border-radius: 30px;
    background: #ffffff;
    color: var(--maurice-color-black);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--maurice-font-button-family);
    letter-spacing: -0.01em;
}

/* Botón de Canarias - borde negro */
.maurice-store-selector-button:not(.primary) {
    border: 3px solid #1a1a1a !important;
    border-color: #1a1a1a !important;
}

.maurice-store-selector-button:hover {
    border-color: var(--maurice-color-orange) !important;
    border: 3px solid var(--maurice-color-orange) !important;
    background: var(--maurice-color-orange) !important;
    color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
}

.maurice-store-selector-button:active {
    opacity: 0.9;
}

/* Botón primario (España) */           
.maurice-store-selector-button.primary {
    background: var(--maurice-color-orange);
    color: #ffffff;
    border: 3px solid var(--maurice-color-orange) !important;
    border-color: var(--maurice-color-orange) !important;
}

.maurice-store-selector-button.primary:hover {
    background: var(--maurice-color-orange) !important;
    border: 3px solid var(--maurice-color-orange) !important;
    border-color: var(--maurice-color-orange) !important;
    color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
}


/* Texto pequeño de información */
.maurice-store-selector-info {
    margin-top: 24px;
    font-size: 14px;
    color: #999;
    font-family: var(--maurice-font-paragraph-family);
    font-weight: var(--maurice-font-paragraph-weight);
}

/* Responsive */
@media (max-width: 600px) {
    .maurice-store-selector-popup {
        padding: 32px 24px;
    }
    
    .maurice-store-selector-title {
        font-size: 24px;
    }
    
    .maurice-store-selector-subtitle {
        font-size: 15px;
    }
    
    .maurice-store-selector-button {
        padding: 16px 28px;
        font-size: 15px;
    }
    
    .maurice-store-selector-info {
        font-size: 13px;
    }
}

/* Animación de salida */
.maurice-store-selector-overlay.closing {
    animation: fadeOut 0.2s ease-in-out forwards;
}

.maurice-store-selector-overlay.closing .maurice-store-selector-popup {
    animation: popOut 0.2s ease-in forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

@keyframes popOut {
    to {
        transform: scale(0.9);
        opacity: 0;
    }
}

.product_title{
    font-size: 32px;
    font-weight: 600;
    font-family: var(--font-primary);
    color: #1a1a1a;
}