/*
Theme Name: Isabella Child Theme
Theme URI: https://isabellamayorista.com.ar
Description: Tema hijo para Shoptimizer.
Author: [Tu Nombre]
Author URI: [Tu sitio web, si tienes]
Template: shoptimizer
Version: 1.0.0
*/
.fixed-top-notice {
  background: #DBCECE;
  padding: 12px;
  text-align: center;
  font-weight: bold;
}
.elementor-menu-cart__main {
	overflow: auto;
}
/* 🔹 Ocultar imágenes en header */
.woocommerce .term-description img,
.woocommerce .woocommerce-products-header img {
    display: none !important;
}

/* 🔹 Aviso de monto mínimo y mensajes */
.woocommerce-min-purchase-notice,
.woocommerce-message,
.woocommerce-error {
    border: none !important;
    background-color: #DBCECE !important;
    color: #5a3e00 !important;
    font-size: 16px !important;
    text-align: center !important;
    padding: 15px 20px !important;
    margin: 20px auto !important;
    border-radius: 12px !important;
    max-width: 800px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* 🔹 Ocultar el h1 del header */
.main-header h1 {
    height: 0;
    visibility: hidden;
}

/* 🔹 Mini cart estilos */
.woocommerce-mini-cart-item a:not(.remove) {
    color: #000 !important;
    font-size: 115% !important;
    font-weight: bold;
}
.woocommerce-mini-cart-item img {
    width: 70px !important;
    height: auto !important;
    border-radius: 6px;
    margin-right: 10px;
}
.elementor-menu-cart__container,
.elementor-menu-cart__container * {
    user-select: none !important;
}

/* 🔹 Sidebar base */
#secondary,
#secondary.widget-area {
    opacity: 1 !important;
    background: transparent !important;
    padding: 0 !important;
    transform: none !important;
    position: relative !important;
    pointer-events: auto !important;
}

/* 🔹 Estilos generales sidebar */
.widget-area {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.widget-title {
    margin: 10px;
}
.woocommerce-widget-layered-nav-dropdown,
.search-form {
    margin: 0 5px;
}
#secondary .widget {
    margin: 1rem;
    padding-bottom: 1rem;
}
#secondary .widget:last-child {
    padding-bottom: 1rem;
}

/* 🔹 Contenido principal */
.content-area {
    margin: 1rem 0;
    padding: 1rem;
}

/* ---- Layout escritorio grande (≥1200px) ---- */
@media (min-width: 1200px) {
    #primary {
        width: 75%;
        float: right;
        margin: 0;
    }

    #secondary {
        width: 23%;
        float: left;
        margin: 0 2% 0 0;
    }

    .site-content::after,
    .content-area::after {
        content: "";
        display: table;
        clear: both;
    }
}

/* ---- Layout escritorio medio (993px a 1199px) ---- */
@media (min-width: 993px) and (max-width: 1199px) {
    #primary {
        width: 70%;
        float: right;
        margin: 0;
    }

    #secondary {
        width: 28%;
        float: left;
        margin: 0 2% 0 0;
    }
}

/* ---- Layout tablet y móvil (≤992px) ---- */
@media (max-width: 992px) {
    #primary,
    #secondary {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        clear: both !important;
        margin: 0 auto !important;
    }

    #secondary {
        margin-top: 1rem !important;
        display: block !important;
    }

    /* Eliminar margen lateral en filtros */
    #secondary .widget {
        margin: 0 0 1rem 0 !important;
    }
}

/* 🔹 Ocultar botón filtros mobile */
.mobile-filter.shoptimizer-mobile-toggle {
    display: none !important;
}

/* 🔹 Enlaces de productos clickeables */
.search-results .product,
.search-results .product a {
    position: relative !important;
    z-index: 1000 !important;
    pointer-events: auto !important;
}

/* 🔹 Contenido siempre encima del sidebar */
.content-area,
.woocommerce-archive,
.woocommerce-page {
    position: relative !important;
    z-index: 10 !important;
}
@media (max-width: 992px) {
    .page-template-template-woocommerce-archives #secondary,
    .wc-active.search-results #secondary,
    .woocommerce.archive #secondary {
			visibility: visible;
        position: relative !important; /* en vez de fixed */
        left: 0 !important;            /* quitar desplazamiento negativo */
        top: auto !important;
        width: 100% !important;        /* ancho completo */
        max-width: 100% !important;
        height: auto !important;       /* que no ocupe toda la pantalla */
        opacity: 1 !important;         /* visible */
        background: transparent !important;
        padding: 0 !important;
        margin: 1rem auto !important;  /* centrado */
        transform: none !important;
        z-index: auto !important;
    }
}
.call-back-feature {
	display:none;
}
/* 🔹 Botones generales de WooCommerce */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-forward{
    background-color: #df87c2 !important; /* color de fondo */
    color: #ffffff !important;           /* color del texto */
    border: none !important;
    border-radius: 6px !important;       /* bordes redondeados */
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: auto
}

/* 🔹 Hover (cuando el usuario pasa el mouse) */
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wc-forward:hover{
    background-color: #d770b5
 !important; /* fondo hover */
    color: #fff !important;
    transform: scale(1.05); /* efecto sutil */
}
footer.site-footer {
	background-color: #FFCBDF !important;
}
a.button.checkout.wc-forward {
	display:none;
}
td.actions button[name="update_cart"] {
    display: block !important;
    margin-top: 65px !important;
    width: 100% !important;
    float: none !important; /* Desactiva cualquier flotado que pueda interferir */
}

.cart_totals .shop_table td, .cart_totals .shop_table th{
	padding:8px;
}
/*.elementor-shortcode p{
	visibility:hidden;
}
.elementor-shortcode p a{
	visibility: visible;
}*/
