/*!
Theme Name: Reina del Sur
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: reina-del-sur
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Reina del Sur is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	    font-family: "Manrope", sans-serif;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/




/* --- Navegación Principal --- */

/* Aseguramos que el fondo del nav sea negro puro */
.bg-black {
   
}

/* --- RESET Y ESTILO DE NAVEGACIÓN --- */

/* Eliminar subrayado y color azul de todos los enlaces del header */
.site-header a, 
.site-header .navbar-nav .nav-link {
    text-decoration: none !important; /* Adiós al subrayado */
    color: #ffffff !important;        /* Forzamos el blanco inicial */

    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

/* Efecto HOVER y página activa en Dorado */
.site-header a:hover, 
.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .current-menu-item > a,
.site-header .navbar-nav .current_page_item > a {
    color: #0c92b5 !important; /* El dorado de la marca */
    text-decoration: none !important;
}

/* Eliminar el estilo de lista (puntos) que a veces deja Underscores */
.site-header ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* Ajuste de espaciado para que no se peguen los textos */
.navbar-nav.gap-4 .nav-item {
    margin-left: 1.5rem;
}

/* Opcional: Borde sutil inferior para separar del contenido */
.site-header {
    
}

.lang-selector-wrapper {
    height: 100vh;
    width: 100%;
    background: url('img/fondo-idioma.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}




.age-verification-wrapper {
    height: 100vh;
    width: 100%;
    background-image: url('img/age-verification-bg.jpg');
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fondo-blanco {
	background-color: rgba(255, 255, 255, 0.6);
	padding: 3em;
}

.logo-inicio {
	width: 60%;
}

.age-verification-wrapper h2 {

 color: #000;
 font-weight: bolder;
}


.about-us-row p {
	text-align: justify;
	font-size: 1.2em;
}

/* Contenedor de la imagen con el arco o borde si es necesario */
.product-image-container img {
    max-height: 500px;
    object-fit: contain;
    /* Si quieres el efecto de sombra o resplandor de la imagen */
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.1));
}

/* Botón "COMPRA AQUÍ" exacto al diseño */
.btn-buy-now {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    padding: 10px 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.btn-buy-now:hover {
    background-color: transparent;
    color: #ffffff;
}

/* Espaciado de párrafos en la descripción */
.product-description p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Separación entre productos */
.product-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-row:last-child {
    border-bottom: none;
}


/* Ajustes para la página individual */
.single-product-img img {
    max-height: 80vh;
    width: auto;
    filter: drop-shadow(0 20px 50px rgba(255, 255, 255, 0.05));
    transition: transform 0.5s ease;
}

.single-product-img:hover img {
    transform: scale(1.02);
}

/* Navegación inferior */
.post-navigation a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.post-navigation a:hover {
    opacity: 1;
}

/* Asegurar que el contenido del editor respete los márgenes */
.entry-content p {
    margin-bottom: 1.5rem;
}


.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Estilo para los enlaces del menú del footer */
.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer ul li {
    display: inline-block;
    margin: 0 15px;
}

.site-footer ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.site-footer ul li a:hover {
    color: #0c92b5; /* Dorado Señor de los Cielos */
}

.social-links i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-links a:hover i {
    transform: translateY(-3px);
    color: #0c92b5;
}


/* Sección de Contacto */
.contact-wrapper {
    height: 100vh; /* Pantalla completa */
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 0px; /* Espacio para el header si es fijo */
}

.contact-card {
    background-color: rgba(0, 0, 0, 0.50); /* Negro con 75% opacidad */
    backdrop-filter: blur(5px); /* Efecto de desenfoque sutil detras */
    width: 100%;
    max-width: 550px;
    border-radius: 2px;
    margin-right: 5%; /* Ajuste para que no esté pegado al borde derecho */
}

.contact-logo {
    max-width: 250px;
}

.contact-info-list a {
  
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.contact-info-list a:hover {
    color: #d4af37; /* Dorado al pasar el mouse */
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        justify-content: center !important;
        padding-right: 0 !important;
    }
    .contact-card {
        margin: 20px;
        padding: 30px !important;
    }
}


/* --- Contenedor Principal del Overlay --- */
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background-color: #000;
    background-size: cover;
    background-position: center center;
    /* Transiciones suaves para el fondo y la visibilidad general */
    transition: background-image 1s ease-in-out, opacity 1.5s ease, visibility 1.5s ease;
    display: none; /* Se activa por JS */
}

/* Fondo Paso 1: Botella y Montañas (Img 8) */
.age-gate-overlay.bg-step-lang {
    background-image: url('img/fondo-idioma.jpg'); /* Ajusta tu ruta */
}

/* Fondo Paso 2: Hacienda Nocturna (Img 10) */
.age-gate-overlay.bg-step-age {
    background-image: url('img/age-verification-bg.jpg'); /* Ajusta tu ruta */
}


/* --- Estilos de los Pasos (Steps) --- */
.gate-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Transición para el efecto de entrada/salida entre pasos */
    transition: opacity 0.5s ease, transform 0.5s ease;
   padding-left:15% ;
    padding-right:15% ;
}

/* Estado oculto para transición */
.step-hidden {
    opacity: 0;
    transform: translateY(30px); /* Pequeño desplazamiento hacia abajo */
}

/* Estado visible para transición */
.step-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Componentes del Diseño --- */

/* Botones Blancos (Paso 1 - Img 8) */
.btn-gate-white {
    background-color: transparent;
    color: #fff;
    border: none;
    padding: 15px 50px;
    font-family: "Manrope", sans-serif;
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.btn-gate-white:hover {
    transform: scale(1.05);
    color: #f0f0f0;
}

/* Caja Blanca Semi-transparente (Paso 2 - Img 10) */
.age-box-container {
    background-color: rgba(255, 255, 255, 0.50); /* Blanco al 85% de opacidad */
    padding: 20px 40px 40px 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px); /* Efecto de cristal esmerilado opcional */
}

.age-box-logo {
    max-width: 380px;
}

.age-box-container h2 {
	font-weight: 400!important;
}

/* Botones Negros (Paso 2 - Img 10) */
.btn-gate-black {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 0.6em 1.6em;
    font-weight: bolder;
    font-size: 1.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-gate-black:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

.lang-btns {
    position: absolute;
    top: 50px;
    left: 50px;
}


/* --- Clases de Utilidad para JS --- */
/* Bloquear scroll del body */
body.gate-active { overflow: hidden; }

/* Ocultar el overlay al finalizar */
.age-gate-hide {
    opacity: 0 !important;
    visibility: hidden !important;
}


.hover-effect {
    transition: transform 0.4s ease, filter 0.4s ease;
    cursor: pointer;
}

.hover-effect:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* --- Overlay de Icono de Video --- */

/* Necesario para que el icono absoluto se centre respecto a esto */
.image-link-wrapper {
    position: relative;
    display: block;
}

.video-icon-overlay {
    position: absolute;
    bottom: -2%;
    left: 50%;
    /* Técnica de centrado perfecto */
    transform: translate(-50%, -50%);
    z-index: 10; /* Asegura que esté sobre la imagen */
    
    /* Importante: permite que el clic atraviese el icono y active el enlace */
    pointer-events: none; 
}

/* Estilo del icono de FontAwesome */
.video-icon-overlay i {
    font-size: 3rem; /* Tamaño grande y visible */
    color: #ffffff;
    opacity: 0.7; /* Un poco sutil al inicio */
    text-shadow: 0 2px 15px rgba(0,0,0,0.5); /* Sombra para contraste sobre cualquier fondo */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Transición suave */
}

/* Efecto Hover: Cuando pasas el mouse sobre la IMAGEN (el wrapper) */
.image-link-wrapper:hover .video-icon-overlay i {
    opacity: 1;
    color: #d4af37; /* Cambia al dorado de la marca */
    transform: scale(1.15); /* Crece un poco */
}

/* Mantener el zoom de la imagen que ya teníamos */
.hover-zoom {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.image-link-wrapper:hover .hover-zoom {
    transform: scale(1.05);
}


/* --- Selector de Idioma Header --- */

.lang-switcher-header {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 1.5rem;
}

.lang-link {
    color: rgba(255, 255, 255, 0.5) !important; /* Más tenue si no está activo */
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.lang-link:hover {
    color: #bf3f1d !important; /* Dorado al pasar el mouse */
}

.lang-link.active-lang {
    color: #606060 !important; /* Blanco sólido para el idioma actual */
    pointer-events: none; /* Desactivar clic en el idioma activo */
}

.lang-separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* Ajuste para móviles */
@media (max-width: 991.98px) {
    .lang-switcher-header {
        border-left: none;
        padding-left: 0;
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Logo selector lenguaje*/

.logo-lang {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.logo-lang img{
   width: 250px;
   height: auto;
     }


/* --- Estilos del Desplegable (Dropdown) --- */

/* Borde dorado sutil para el cuadro del menú */
.dropdown-menu.border-gold-sub {
   
    border-top: 2px solid #0c92b5; /* Línea acento superior */
    border-radius: 0;
    margin-top: 45px; /* Espacio para que respire */
}

/* Estilo de los links dentro del dropdown */
.dropdown-item {
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 1.6rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #111;
    color: #d4af37;
    padding-left: 1.8rem; /* Pequeño desplazamiento al hacer hover */
}

/* Flecha del dropdown en color blanco */
.dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 0.5em;
    opacity: 0.7;
}

/* 1. Asegurar que el padre sea la referencia de posición */
.navbar-nav .menu-item-has-children {
    position: relative; /* Esto evita que el submenú se vaya a la orilla */
    display: flex;
    align-items: center;
}

/* 2. Posicionar el dropdown justo debajo del botón */
.navbar-nav .dropdown-menu {
    position: absolute;
    top: 100%; /* Justo debajo */
    left: 0;   /* Alineado a la izquierda del texto PRODUCTOS */
    margin-top: 0;
    min-width: 350px; /* Ajusta según el largo de tus nombres */
}

.navbar-nav .dropdown-menu li {
margin-top: 1em;
}

/* Desktop: Abrir al pasar el mouse (opcional) */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}

.slogan h2 {

	font-size: 2.8em;
	font-weight: 500;
}

.about-us h3 {
	font-weight: 600;
	font-size: 2.2em;
}


/* RESPONSIVE  */

@media (min-width: 1440px){
.container {
    width: 1170px;
}
}

@media (max-width:767px) {

    .navbar-nav .nav-link {
        font-size: 1.2rem; /* Más grande en móvil para facilitar el clic */
        padding:0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

   
   /* 1. Asegurar que el padre sea la referencia de posición */
.navbar-nav .menu-item-has-children {
    position: relative; /* Esto evita que el submenú se vaya a la orilla */
    display: block;
   
}

/* 2. Posicionar el dropdown justo debajo del botón */
.navbar-nav .dropdown-menu {
    position: relative;

    min-width: 250px; /* Ajusta según el largo de tus nombres */
}
  

    .site-header ul {

    text-align: center;
}

  .site-header ul li {
 font-size: 1.2rem; /* Más grande en móvil para facilitar el clic */
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }

       .site-header ul li:last-child {
        border-bottom: none;
    }

.lang-btn {
    font-size: 1.3rem;
	width: 100%;
	text-align: center;
	padding: 10px 0;

}	
.fondo-blanco {
	width: 94%;
}

.btn-gate-white {
  font-size: 1.3rem;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
	
}

@media (max-width: 560px) {

    .logo-lang {
    position: absolute;
    bottom: 70px;

}

.logo-lang img{
   width: 220px;
   height: auto;
     }


.cont-products {
    margin-top: 0em!important;
} 

.about-us-row p {
	
	font-size: 1em;
}

.gate-step {

   padding-left:5% ;
    padding-right:5% ;
}

.age-box-container {

    padding: 20px 20px;
    width: 100%;

}
.age-box-logo {
    max-width: 220px;
}

.btn-gate-black {

    padding: 0m;
    font-weight: bolder;
    font-size: 1.3rem;

}
.lang-btns {
  position: relative; 
  left: auto;

}

.lang-btns > div {
    flex-direction: row!important;
}

.contact-card {

    width: 94%;

}

}


