/* 1. PRODUCTOS Y PRECIOS */
.single-product .single_add_to_cart_button,
.single-product .quantity {
  display: none !important;
}

.variations_form .reset_variations {
  display: none !important;
}

.woocommerce-variation-price,
.woocommerce-variation-price .price {
  font-size: 28px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-product .woocommerce-variation.single_variation {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 2. ESTRUCTURA DE GALERÍA */
.single-product .woocommerce-product-gallery {
  float: left;
  width: 100% !important;
  padding-right: 2% !important;
  margin: 0 !important;
}

.single-product .summary {
  float: left;
  width: 53% !important;
  margin: 0 !important;
  padding-left: 0 !important;
}

.woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
}

.woocommerce-product-gallery-thumbnails {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 10px;
}

/* 3. FILTROS POR PÁGINA */
a.post-list-filter-item {
  display: none !important;
}

body.page-id-1111 a.post-list-filter-item[data-terms*="arneses"],
body.page-id-1111 a.post-list-filter-item[data-terms*="mangas"],
body.page-id-1111 a.post-list-filter-item[data-terms*="bozales"],
body.page-id-1111 a.post-list-filter-item[data-terms*="collares"],
body.page-id-1111 a.post-list-filter-item[data-terms*="mordedores"],
body.page-id-1111 a.post-list-filter-item[data-terms*="trabillas"],
body.page-id-1111 a.post-list-filter-item[data-terms*="pelota"],
body.page-id-1111 a.post-list-filter-item[data-terms*="kennel"],
body.page-id-1111 a.post-list-filter-item[data-terms*="varios"] {
  display: inline-block !important;
}

body.page-id-1163 a.post-list-filter-item[data-terms*="busos-k9"],
body.page-id-1163 a.post-list-filter-item[data-terms*="traje-figurancia"],
body.page-id-1163 a.post-list-filter-item[data-terms*="camietas"],
body.page-id-1163 a.post-list-filter-item[data-terms*="maleteria"],
body.page-id-1163 a.post-list-filter-item[data-terms*="varios"] {
  display: inline-block !important;
}

.eel-product-inner .product-buttons-wrap {
  display: none !important;
}

/* 4. BUSCADOR - barra gris siempre visible */
.elementor-element-aa84899 .elementor-search-form__input {
  width: 130px !important;
  padding: 6px 10px !important;
  opacity: 1 !important;
  background:  #e8e8e8 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 20px 0 0 20px !important;
}

.elementor-element-aa84899 .elementor-search-form__input::placeholder {
  color: #aaaaaa !important;
}


.elementor-element-aa84899 .elementor-search-form__submit {
  background: #cc0000 !important;
  color: white !important;
  font-size: 23px !important;
  border: none !important;
  cursor: pointer !important;
  padding: 3px 15px !important;
  border-radius: 0 20px 20px 0 !important;
}

.elementor-element-aa84899 .elementor-search-form__container {
  background: #ffff !important;      /* ← mismo color aquí también */
  border-radius: 10px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  height: 30px !important;             /* ← altura fija delgada */
}

.elementor-element-aa84899 .elementor-search-form__submit i,
.elementor-element-aa84899 .elementor-search-form__submit svg {
  color: white !important;
  fill: white !important;
}


/* 5. BARRA MENÚ + BÚSQUEDA (MÓVIL) */
@media (max-width: 767px) {

  /* Clave: que el dropdown NO se recorte */
  .elementor-element-c6be0c8,
  .elementor-element-c6be0c8 > .elementor-container,
  .elementor-element-c6be0c8 .elementor-column,
  .elementor-element-c6be0c8 .elementor-widget-wrap {
    overflow: visible !important;
  }

  /* Contenedor BLANCO */
  .elementor-element-c6be0c8 > .elementor-container {
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    align-items: center !important;
    background: #ffffff !important;
    padding: 8px 10px !important;
    border-bottom: 1px solid #eeeeee !important;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.05) !important;
    position: relative !important; /* referencia para la lupa */
  }

  /* Botón MENÚ para fondo blanco */
  .elementor-element-c6be0c8 .elementor-menu-toggle {
    background: transparent !important;
    color: #333333 !important;
    font-size: 13px !important;
    font-weight: bold !important;
  }

  .elementor-element-c6be0c8 .elementor-menu-toggle i {
    color: #cc0000 !important;
  }

  .elementor-element-c6be0c8 .elementor-column {
    width: 50% !important;
    min-width: 50% !important;
    flex: 0 0 50% !important;
  }

  .elementor-element-c6be0c8 .elementor-widget-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  /* Alineación de elementos */
  .elementor-element-74a75c1 .elementor-widget-wrap { justify-content: flex-end !important; }
  .elementor-element-f056478 .elementor-widget-wrap { justify-content: flex-start !important; }

  /* Lupa “al frente” */
  .elementor-element-aa84899{
    position: absolute !important;
    right: 10px !important;
    top: 12px !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
  }

  .elementor-element-74a75c1 .elementor-search-form__submit {
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Dropdown del menú con altura y scroll (para que se vean todas las opciones) */
  .elementor-element-c6be0c8 .elementor-nav-menu--dropdown,
  .elementor-element-c6be0c8 .elementor-nav-menu__container.elementor-nav-menu--dropdown {
    max-height: 70vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 99999 !important;
  }
}

/* 6. AJUSTES GLOBALES (SEGUROS) */
html, body {
  overflow-x: hidden !important;
}

/* IMPORTANTE:
   Quitamos overflow:hidden GLOBAL porque corta carruseles y dropdowns. */
.elementor-section {
  max-width: 100% !important;
  overflow: visible !important;
}

/* 7. MENÚ EN PC: evitar recortes del submenú */
@media (min-width: 1025px){

  header, .site-header,
  .elementor-location-header,
  .elementor-section, .elementor-container, .elementor-column, .elementor-widget-wrap{
    overflow: visible !important;
  }

  .elementor-nav-menu--main .sub-menu{
    display: block;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .elementor-nav-menu--main{
    position: relative !important;
    z-index: 99999 !important;
  }
}

/* Oculta el contenedor de PhotoSwipe que detectaste */
.pswp {
    display: none !important;
}

/* Fuerza la desaparicion de las columnas de widgets de Storefront */
.site-footer .footer-widgets {
    display: none !important;
}
.woocommerce ul.products li.product a img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background-color: #ffffff;
}

