/*
 Theme Name:     Venture Child Theme
 Theme URI:      http://vinirama.com/venture/
 Description:    Venture Child Theme
 Author:         ViniRama
 Author URI:     http://vinirama.com
 Template:       venture
 Version:        1.0.0
*/
@import url("../venture/style.css");
@import url(https://fonts.googleapis.com/css?family=Oswald:400,300,700);

/* =====================
   Estilos generales del tema
===================== */

.text-center { text-align: center; }

#logo { margin: 11px 0; }

.titulo-principal { font-size: 28px; }
.titulo { font-size: 20px; }
.subtitulo { font-size: 14px; }
.texto-destacado { font-size: 16px; }

.montserrat { font-family: 'Montserrat', sans-serif; }
.oswald { font-family: "Oswald", Helvetica, Arial, sans-serif; }

.color-primario { color: #005c57; }

/* =====================
   Menú y niveles
===================== */

dt.level1 { background: #e0e0e0; padding: 5px !important; color: white; font-family: "Oswald", Helvetica, Arial, sans-serif; }
dt.level1 a span { font-weight: 600; text-transform: uppercase; color: #005c57 !important; }
dt.level1 a:hover span { color: #005c57 !important; text-decoration: underline; }

dt.level2 { background: #CCC; padding: 5px !important; color: white; font-family: "Oswald", Helvetica, Arial, sans-serif; }
dt.level2 a span { font-weight: 600; color: white !important; }
dt.level2 a:hover span { text-decoration: underline; }
dt.level2.active { background: #005c57 !important; }

/* =====================
   Layout de páginas
===================== */

.cuar-page-content { width: 75%; margin-left: 15px !important; margin-right: 0 !important; float: right !important; }
.post-4064 .cuar-page-content,
.post-4065 .cuar-page-content { width: 100%; margin-left: 0 !important; }
.cuar-page-sidebar { width: 20%; min-width: 155px !important; float: left !important; }

/* =====================
   WooCommerce
===================== */

.woocommerce input[type="radio"],
input-radio { -webkit-appearance: radio !important; }

/* =====================
   Paginación WooCommerce
===================== */

.woocommerce-pagination {
    display: block !important;
    clear: both !important;
    position: relative !important;
    z-index: 10 !important;
    text-align: center !important;
    margin: 40px 0 !important;
    font-family: "Oswald", Helvetica, Arial, sans-serif;
}
.woocommerce-pagination ul { display: inline-flex; padding: 0; list-style: none; gap: 8px; justify-content: center; }
.woocommerce-pagination li { display: inline-block; }
.woocommerce-pagination a,
.woocommerce-pagination span.current {
    display: inline-block;
    padding: 10px 16px;
    background-color: #005c57;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}
.woocommerce-pagination a:hover { background-color: #007666; transform: translateY(-2px); }
.woocommerce-pagination span.current { background-color: #003d38; font-weight: bold; cursor: default; }

@media (max-width: 768px) {
    .woocommerce-pagination a,
    .woocommerce-pagination span.current { padding: 8px 12px; min-width: 32px; }
}

/* =====================
   Clearfix
===================== */

.woocommerce ul.products::after,
.woocommerce .products::after,
.woocommerce-pagination { content: ""; display: block; clear: both; }

/* =====================
   Overlay de búsqueda (corregido)
===================== */

#vc-search-overlay {
    display: none; /* JS controla */
    position: fixed;
    inset: 0;
    z-index: 9999999; /* encima de todo */
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

#vc-search-overlay form {
    background: #fff;
    padding: 30px;
    border-radius: 6px;
    z-index: 10000000;
}

#button-search {
    cursor: pointer;
    position: relative;
    z-index: 10000001;
}

/* =====================
   Otras correcciones de WooCommerce / layout
===================== */

.page-template-default.woocommerce .site-main .products {
    float: none !important;
    display: block !important;
    width: 100%;
    clear: both !important;
}

/* Paginación fuera del contenedor de productos */
.page-template-default.woocommerce nav.woocommerce-pagination {
    clear: both !important;
    float: none !important;
    display: block !important;
    position: relative !important;
    z-index: 20;
    margin-top: 40px !important;
    padding-top: 20px !important;
}
/* =========================
   OCULTAR BUSCADOR NATIVO DEL TEMA
   ========================= */

/* Barra de búsqueda superior */
#site-search {
    display: none !important;
}

/* Botón lupa del header (tema Venture) */
#button-search {
    display: none !important;
}

