/*
Theme Name: Americ Child
Theme URI: http://demo.bravisthemes.com/americ
Author: Bravis-Themes
Author URI: https://themeforest.net/user/bravis-themes
Description: Americ is a beautifully handcrafted, pixel perfect business consulting WordPress Theme based on Elementor Page Builder & designed with great attention to details, flexibility and performance. Americ has stunning styles and elements to help you make a professional website in no time.
Version: 1.0.0
License: ThemeForest
License URI: https://themeforest.net/licenses
Template: americ
Text Domain: americ-child
Tags: accountant, advertising, agency, business, company, consulting, corporate, creative, finance, financial, insurance, marketing, elementor, seo, startup
*/
/* FORZAR IMAGEN HERO HOME */
.elementor-7300 
.elementor-element.elementor-element-a18168e 
.pxl-section-bg-parallax{
    background-image: url('https://stretifex.com/wp-content/uploads/2025/11/mainheroimagestretifex-e1763589902519.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
/* Forzar imagen en la capa ::before si existiera */
.elementor-7300 
.elementor-element.elementor-element-a18168e::before{
    background-image: url('https://stretifex.com/wp-content/uploads/2025/11/mainheroimagestretifex-e1763589902519.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Por si Elementor coloca background directamente en el section */
.elementor-7300 
.elementor-element.elementor-element-a18168e{
    background-image: url('https://stretifex.com/wp-content/uploads/2025/11/mainheroimagestretifex-e1763589902519.png') !important;
}

/* =========================================================
   STRETIFEX – WooCommerce "Mi cuenta" (layout PRO)
   Pegar tal cual en: theme child > style.css
   ========================================================= */

/* Contenedor general de la página de cuenta */
body.woocommerce-account .woocommerce,
body.woocommerce-account .woocommerce-page .woocommerce{
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 40px 20px !important;
  box-sizing: border-box !important;
}

/* Asegurar que el wrapper no centre raro ni reduzca ancho */
body.woocommerce-account .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-account .woocommerce > .u-columns{
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------------------------
   2 columnas (desktop)
---------------------------- */
body.woocommerce-account .woocommerce form.woocommerce-form-login,
body.woocommerce-account .woocommerce form.woocommerce-form-register{
  margin: 0 !important;
}

/* Woo usa .u-columns + .u-column1/.u-column2 */
body.woocommerce-account .woocommerce .u-columns{
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 28px !important;
}

body.woocommerce-account .woocommerce .u-columns .u-column1,
body.woocommerce-account .woocommerce .u-columns .u-column2{
  float: none !important;
  width: 50% !important;
  max-width: 520px !important;
  flex: 0 0 calc(50% - 14px) !important;
  box-sizing: border-box !important;
}

/* ---------------------------
   Cards (login / registro)
---------------------------- */
body.woocommerce-account .woocommerce .u-columns .u-column1,
body.woocommerce-account .woocommerce .u-columns .u-column2{
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 18px !important;
  padding: 28px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.06) !important;
}

/* Títulos */
body.woocommerce-account .woocommerce .u-columns h2{
  font-size: 22px !important;
  margin: 0 0 18px 0 !important;
}

/* Labels e inputs */
body.woocommerce-account .woocommerce label{
  font-weight: 600 !important;
}

body.woocommerce-account .woocommerce input[type="text"],
body.woocommerce-account .woocommerce input[type="email"],
body.woocommerce-account .woocommerce input[type="password"]{
  width: 100% !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0,0,0,.18) !important;
  padding: 12px 14px !important;
  height: auto !important;
  box-shadow: none !important;
  outline: none !important;
}

/* ---------------------------
   Botones (pill amarillo)
---------------------------- */
body.woocommerce-account .woocommerce button,
body.woocommerce-account .woocommerce a.button,
body.woocommerce-account .woocommerce .button{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  padding: 12px 26px !important;
  min-width: 170px !important;

  border: 1px solid #f5c400 !important; /* amarillo */
  background: transparent !important;
  color: #111 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

body.woocommerce-account .woocommerce button:hover,
body.woocommerce-account .woocommerce a.button:hover,
body.woocommerce-account .woocommerce .button:hover{
  background: #f5c400 !important;
  color: #111 !important;
}

/* Enlaces */
body.woocommerce-account .woocommerce a{
  text-decoration: none !important;
}

/* ---------------------------
   Avisos / errores
---------------------------- */
body.woocommerce-account .woocommerce .woocommerce-error,
body.woocommerce-account .woocommerce .woocommerce-message,
body.woocommerce-account .woocommerce .woocommerce-info{
  border-radius: 12px !important;
  padding: 14px 16px !important;
}

/* ---------------------------
   Responsive (móvil)
---------------------------- */
@media (max-width: 900px){
  body.woocommerce-account .woocommerce .u-columns{
    flex-direction: column !important;
    flex-wrap: wrap !important;
  }
  body.woocommerce-account .woocommerce .u-columns .u-column1,
  body.woocommerce-account .woocommerce .u-columns .u-column2{
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
}

.stx-b2b-notice{
  max-width: 1200px;
  margin: 0 auto 18px auto;
  padding: 14px 16px;
  border: 1px solid #f5c400;
  border-radius: 14px;
  background: rgba(245,196,0,0.08);
  color: #111;
  font-weight: 600;
}

.stx-privacy-row{
  margin-top: 14px;
}

.stx-privacy-row a{
  color: #f5c400;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(245,196,0,.55);
}
.stx-privacy-row a:hover{
  opacity: .85;
}
.stx-social-help{
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(0,0,0,.65);
}

/* =========================================================
   STRETIFEX – Woo My Account (logueado)
   Menú lateral + contenido en cards, estilo limpio B2B
   ========================================================= */

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content{
  box-sizing: border-box !important;
}

/* Layout 2 columnas */
body.woocommerce-account .woocommerce-MyAccount-navigation{
  width: 28% !important;
  float: left !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content{
  width: 70% !important;
  float: right !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Cards */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content{
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.06) !important;
}

/* Padding interno */
body.woocommerce-account .woocommerce-MyAccount-navigation{
  padding: 18px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content{
  padding: 22px 24px !important;
}

/* Separación entre cards */
body.woocommerce-account .woocommerce-MyAccount-navigation{
  margin-right: 2% !important;
}

/* Menú */
body.woocommerce-account .woocommerce-MyAccount-navigation ul{
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li{
  margin: 0 !important;
  border-bottom: 1px solid rgba(0,0,0,.08) !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child{
  border-bottom: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a{
  display: block !important;
  padding: 14px 12px !important;
  color: #111 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 12px !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover{
  background: rgba(245,196,0,.10) !important;
}

/* Item activo */
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a{
  background: rgba(245,196,0,.18) !important;
  border: 1px solid rgba(245,196,0,.55) !important;
}

/* Tipografía y enlaces contenido */
body.woocommerce-account .woocommerce-MyAccount-content p{
  color: rgba(0,0,0,.78) !important;
  line-height: 1.6 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content a{
  color: #111 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(245,196,0,.65) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content a:hover{
  opacity: .85 !important;
}

/* Tablas (Pedidos) */
body.woocommerce-account .woocommerce-MyAccount-content table{
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0,0,0,.10) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table th{
  background: rgba(0,0,0,.04) !important;
  font-weight: 700 !important;
}

/* Botones dentro de Mi cuenta */
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button{
  border-radius: 999px !important;
  padding: 12px 22px !important;
  border: 1px solid #f5c400 !important;
  background: transparent !important;
  color: #111 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content button:hover{
  background: #f5c400 !important;
  color: #111 !important;
}

/* Responsive: apilar en móvil */
@media (max-width: 900px){
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content{
    float: none !important;
    width: 100% !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation{
    margin: 0 0 18px 0 !important;
  }
}
/* FORZADO: layout Mi Cuenta */
body.woocommerce-account .woocommerce{
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 40px 20px !important;
}

body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation{
  float: left !important;
  width: 28% !important;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 18px !important;
  padding: 18px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.06) !important;
}

body.woocommerce-account .woocommerce .woocommerce-MyAccount-content{
  float: right !important;
  width: 70% !important;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 18px !important;
  padding: 22px 24px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.06) !important;
}

body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li.is-active a{
  background: rgba(245,196,0,.18) !important;
  border: 1px solid rgba(245,196,0,.55) !important;
  border-radius: 12px !important;
}
/* Woo My Account: quitar iconos del menú (evita solapes) */
body.woocommerce-account .woocommerce-MyAccount-navigation li a:before,
body.woocommerce-account .woocommerce-MyAccount-navigation li a:after{
  display: none !important;
  content: none !important;
}
/* Woo My Account: ocultar icono delante de mensajes (cuadradito) */
body.woocommerce-account .woocommerce-info::before,
body.woocommerce-account .woocommerce-message::before,
body.woocommerce-account .woocommerce-error::before{
  display: none !important;
}
/* Desactivar Contra reembolso si el total del pedido es >= 990€ */
add_filter('woocommerce_available_payment_gateways', function($gateways){

    if (is_admin()) return $gateways;
    if (!is_checkout()) return $gateways;

    // ID del método contra reembolso suele ser 'cod'
    if (!isset($gateways['cod'])) return $gateways;

    // Total actual del carrito (incluye impuestos y envío)
    $total = WC()->cart ? (float) WC()->cart->total : 0;

    if ($total >= 990) {
        unset($gateways['cod']);
    }

    return $gateways;
}, 99);
add_action('woocommerce_review_order_before_payment', function(){
    $limit = 990;
    $total = WC()->cart ? (float) WC()->cart->total : 0;

    if ($total >= $limit) {
        echo '<div class="woocommerce-info" style="margin-bottom:12px;">
            El pago contra reembolso está disponible solo para pedidos inferiores a <strong>'.$limit.'€</strong>.
        </div>';
    }
});

/* ==========================
   STRETIFEX - Top Filters B2B
   ========================== */

.stx-b2b-filters{
  display:flex;
  flex-wrap:wrap;
  gap:14px 16px;
  align-items:flex-end;
  margin: 18px 0 22px;
  padding: 16px 18px;
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 12px 28px rgba(0,0,0,.06);
}

/* cada bloque */
.stx-b2b-filters .stx-filter{
  min-width: 210px;
  flex: 1 1 210px;
}

/* etiquetas */
.stx-b2b-filters .stx-filter-label{
  display:block;
  font-weight:700;
  font-size:13px;
  color:#111;
  margin:0 0 8px;
}

/* quitar estilos de widgets Woo dentro */
.stx-b2b-filters .widget{
  margin:0 !important;
}
.stx-b2b-filters .widget-title{
  display:none !important;
}

/* SELECTS bonitos */
.stx-b2b-filters select{
  width:100%;
  height:46px;
  padding: 0 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.14);
  background:#fff;
  color:#111;
  font-size:14px;
  outline:none;
  box-shadow:none;
}
.stx-b2b-filters select:focus{
  border-color:#f2c200;
  box-shadow:0 0 0 3px rgba(242,194,0,.18);
}

/* ===== Precio: compactarlo ===== */
.stx-b2b-filters .widget_price_filter{
  width:100%;
}
.stx-b2b-filters .price_slider_wrapper{
  margin-top:6px;
}
.stx-b2b-filters .price_slider_amount{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
}

/* texto “Precio: x€” */
.stx-b2b-filters .price_label{
  font-size:13px;
  color:#111;
  font-weight:600;
  white-space:nowrap;
}

/* Botón FILTRAR (negro + borde amarillo, redondo) */
.stx-b2b-filters .price_slider_amount button.button{
  height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid #f2c200;
  background:#111;
  color:#fff;
  font-weight:800;
  letter-spacing:.2px;
  box-shadow:none;
  cursor:pointer;
}
.stx-b2b-filters .price_slider_amount button.button:hover{
  background:#f2c200;
  color:#111;
}

/* Slider (amarillo corporativo) */
.stx-b2b-filters .ui-slider{
  height:6px;
  border-radius:999px;
  background: rgba(0,0,0,.10);
  border:0;
}
.stx-b2b-filters .ui-slider-range{
  background:#f2c200;
  border-radius:999px;
}
.stx-b2b-filters .ui-slider-handle{
  width:18px;
  height:18px;
  top:-6px;
  border-radius:999px;
  border:2px solid #f2c200;
  background:#111;
  cursor:pointer;
}
.stx-b2b-filters .ui-slider-handle:focus{
  outline:none;
  box-shadow:0 0 0 3px rgba(242,194,0,.22);
}

/* Elimina el “espacio vertical raro” del filtro precio */
.stx-b2b-filters .price_slider_wrapper .price_slider{
  margin: 8px 0 0;
}

/* ===== Mobile ===== */
@media (max-width: 768px){
  .stx-b2b-filters{
    padding:14px;
    border-radius:16px;
  }
  .stx-b2b-filters .stx-filter{
    min-width: 100%;
    flex: 1 1 100%;
  }
  .stx-b2b-filters select{
    height:48px;
  }
  .stx-b2b-filters .price_slider_amount{
    flex-direction:column;
    align-items:stretch;
  }
  .stx-b2b-filters .price_slider_amount button.button{
    width:100%;
  }
}
/* ==========================
   STX B2B Filters (FORCE)
   ========================== */

/* contenedor */
body.woocommerce .stx-b2b-filters{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:14px 16px !important;
  align-items:flex-end !important;
  margin:18px 0 22px !important;
  padding:16px 18px !important;
  background:#fff !important;
  border-radius:18px !important;
  border:1px solid rgba(0,0,0,.08) !important;
  box-shadow:0 12px 28px rgba(0,0,0,.06) !important;
}

/* cada bloque */
body.woocommerce .stx-b2b-filters .stx-filter{
  min-width:210px !important;
  flex:1 1 210px !important;
}

/* label */
body.woocommerce .stx-b2b-filters .stx-filter-label{
  display:block !important;
  font-weight:800 !important;
  font-size:13px !important;
  color:#111 !important;
  margin:0 0 8px !important;
}

/* ocultar título de widget */
body.woocommerce .stx-b2b-filters .widget-title{
  display:none !important;
}

/* ===== SELECTS redondos (aquí es donde el theme pisa) ===== */
body.woocommerce .stx-b2b-filters select,
body.woocommerce .stx-b2b-filters .widget select{
  width:100% !important;
  height:46px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  border:1px solid rgba(0,0,0,.14) !important;
  background:#fff !important;
  color:#111 !important;
  font-size:14px !important;
  box-shadow:none !important;
}

body.woocommerce .stx-b2b-filters select:focus{
  border-color:#f2c200 !important;
  box-shadow:0 0 0 3px rgba(242,194,0,.18) !important;
  outline:none !important;
}

/* ===== precio (slider) ===== */
body.woocommerce .stx-b2b-filters .ui-slider{
  height:6px !important;
  border-radius:999px !important;
  background:rgba(0,0,0,.10) !important;
  border:0 !important;
  margin-top:8px !important;
}
body.woocommerce .stx-b2b-filters .ui-slider-range{
  background:#f2c200 !important;
}
body.woocommerce .stx-b2b-filters .ui-slider-handle{
  width:18px !important;
  height:18px !important;
  top:-6px !important;
  border-radius:999px !important;
  border:2px solid #f2c200 !important;
  background:#111 !important;
}

/* línea de precio y botón filtrar en la misma fila */
body.woocommerce .stx-b2b-filters .price_slider_amount{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  margin-top:10px !important;
}

/* texto “Precio: …” */
body.woocommerce .stx-b2b-filters .price_label{
  font-size:13px !important;
  font-weight:700 !important;
  color:#111 !important;
  white-space:nowrap !important;
}

/* botón filtrar */
body.woocommerce .stx-b2b-filters .price_slider_amount button.button,
body.woocommerce .stx-b2b-filters button.button{
  height:44px !important;
  padding:0 18px !important;
  border-radius:999px !important;
  border:1px solid #f2c200 !important;
  background:#111 !important;
  color:#fff !important;
  font-weight:800 !important;
  cursor:pointer !important;
  box-shadow:none !important;
}

body.woocommerce .stx-b2b-filters .price_slider_amount button.button:hover{
  background:#f2c200 !important;
  color:#111 !important;
}

/* ===== mobile ===== */
@media (max-width: 768px){
  body.woocommerce .stx-b2b-filters{
    padding:14px !important;
    border-radius:16px !important;
  }
  body.woocommerce .stx-b2b-filters .stx-filter{
    min-width:100% !important;
    flex:1 1 100% !important;
  }
  body.woocommerce .stx-b2b-filters .price_slider_amount{
    flex-direction:column !important;
    align-items:stretch !important;
  }
  body.woocommerce .stx-b2b-filters .price_slider_amount button.button{
    width:100% !important;
  }
}
/* Fix placeholder select desbordado */
.stx-b2b-filters select {
    height: 46px;
    line-height: 46px;
    padding: 0 14px;
    box-sizing: border-box;
}
/* Centrar texto botón Filtrar */
.stx-b2b-filters button,
.stx-b2b-filters input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    line-height: 1;
}
/* Labels un poco más finos */
.stx-filter-label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Inputs más coherentes visualmente */
.stx-b2b-filters select,
.stx-b2b-filters input {
    border-radius: 10px;
}
/* ==========================
   FIXES STRETIFEX B2B FILTERS
   ========================== */

/* 1) SELECTS: que el placeholder/texto no se salga */
body.woocommerce .stx-b2b-filters .widget_product_categories select,
body.woocommerce .stx-b2b-filters .widget_layered_nav select {
  height: 46px !important;
  line-height: 46px !important;
  padding: 0 14px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Algunos themes meten estilo en option/placeholder raro */
body.woocommerce .stx-b2b-filters .widget_product_categories select option,
body.woocommerce .stx-b2b-filters .widget_layered_nav select option {
  line-height: 1.2 !important;
}

/* 2) BOTÓN FILTRAR: centrado perfecto */
body.woocommerce .stx-b2b-filters .widget_price_filter .price_slider_amount button.button,
body.woocommerce .stx-b2b-filters .widget_price_filter button.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 46px !important;
  line-height: 1 !important;
  padding: 0 26px !important;
}

/* Por si el theme mete pseudo-elementos que desplazan el texto */
body.woocommerce .stx-b2b-filters .widget_price_filter button.button:before,
body.woocommerce .stx-b2b-filters .widget_price_filter button.button:after {
  display: none !important;
  content: none !important;
}
/* =========================
   STX B2B - FIXES VISUALES
   ========================= */

/* --- 1) Placeholder fantasma del select de categoría ---
   Muchos themes meten un <label>/<span> encima del select.
   Esto lo empuja hacia dentro y evita que se "salga" del recuadro.
*/
body.woocommerce .stx-b2b-filters .widget_product_categories,
body.woocommerce .stx-b2b-filters .widget_layered_nav {
  position: relative !important;
}

/* Fuerza el select a tener altura real */
body.woocommerce .stx-b2b-filters select {
  height: 46px !important;
  line-height: 46px !important;
  padding: 0 14px !important;
  box-sizing: border-box !important;
}

/* Si el theme está pintando un texto overlay dentro del widget */
body.woocommerce .stx-b2b-filters .widget_product_categories label,
body.woocommerce .stx-b2b-filters .widget_product_categories .select2-selection__placeholder,
body.woocommerce .stx-b2b-filters .widget_product_categories .select-placeholder,
body.woocommerce .stx-b2b-filters .widget_product_categories .placeholder,
body.woocommerce .stx-b2b-filters .widget_layered_nav label,
body.woocommerce .stx-b2b-filters .widget_layered_nav .select2-selection__placeholder,
body.woocommerce .stx-b2b-filters .widget_layered_nav .select-placeholder,
body.woocommerce .stx-b2b-filters .widget_layered_nav .placeholder {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: calc(100% - 34px) !important;
}

/* --- 2) Botón Filtrar centrado perfecto --- */
body.woocommerce .stx-b2b-filters .widget_price_filter .price_slider_amount button.button,
body.woocommerce .stx-b2b-filters .widget_price_filter button.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  height: 46px !important;
  line-height: 1 !important;
  padding: 0 26px !important;
}

/* Por si el theme mete pseudo-elementos que desplazan el texto */
body.woocommerce .stx-b2b-filters .widget_price_filter button.button:before,
body.woocommerce .stx-b2b-filters .widget_price_filter button.button:after {
  content: none !important;
  display: none !important;
}
/* === FIX alineación: Categoría vs resto === */
body.woocommerce .stx-b2b-filters .widget_product_categories select {
  height: 46px !important;
  line-height: 46px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* === STX FIX: alineación visual del filtro Categoría === */

/* 1) Fuerza que cada bloque de filtro se comporte igual */
body.woocommerce .stx-b2b-filters > * {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

/* 2) Asegura misma altura/estilo en TODOS los selects dentro del bloque filtros */
body.woocommerce .stx-b2b-filters select,
body.woocommerce .stx-b2b-filters .select2-container--default .select2-selection--single {
  height: 46px !important;
  min-height: 46px !important;
  line-height: 46px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}

/* 3) El widget de categorías a veces mete un margin/padding distinto en el wrapper */
body.woocommerce .stx-b2b-filters .widget_product_categories,
body.woocommerce .stx-b2b-filters .widget_product_categories form,
body.woocommerce .stx-b2b-filters .widget_product_categories .dropdown_product_cat {
  margin: 0 !important;
  padding: 0 !important;
}

/* 4) Si el label de “Categoría” viene como <span> o <label> con estilos distintos */
body.woocommerce .stx-b2b-filters .widget_product_categories label,
body.woocommerce .stx-b2b-filters .widget_product_categories .widget-title,
body.woocommerce .stx-b2b-filters .widget_product_categories .stx-filter-label {
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}
/* Eliminar flecha extra de Select2 solo en filtros B2B */
.stx-b2b-filters .select2-selection__arrow {
    display: none !important;
}
.stx-b2b-filters .select2-selection--single {
    padding-right: 16px !important;
}
/* ===== Tienda B2B (Shop): quitar SOLO el ordering de arriba ===== */
body.woocommerce-shop .woocommerce-topbar .woocommerce-ordering,
body.post-type-archive-product .woocommerce-topbar .woocommerce-ordering{
  display:none !important;
}

/* (Opcional) asegúrate de que el contador sigue visible */
body.woocommerce-shop .woocommerce-topbar .woocommerce-result-count,
body.post-type-archive-product .woocommerce-topbar .woocommerce-result-count{
  display:block !important;
}
/* =========================
   GRID MOBILE 2x2 – FIX DEFINITIVO
========================= */

@media (max-width: 767px) {

  /* Grid limpio, sin herencias */
  .woocommerce ul.products{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;

    width: 100% !important;
    max-width: 100% !important;
    padding: 0 14px !important;
    margin: 0 auto !important;

    justify-content: start !important;
    align-content: start !important;
  }

  /* Reset TOTAL del producto */
  .woocommerce ul.products li.product{
    width: auto !important;
    max-width: none !important;

    float: none !important;
    clear: none !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;
    position: relative !important;
  }

}
/* =========================
   FIX FINAL: Woo odd/even clear BUG
========================= */

@media (max-width: 767px) {

  /* Mata cualquier clear heredado (especialmente odd) */
  .woocommerce ul.products li.product,
  .woocommerce ul.products li.product:nth-child(odd),
  .woocommerce ul.products li.product:nth-child(even){
    clear: none !important;
  }

  /* Fuerza flujo normal del grid */
  .woocommerce ul.products{
    grid-auto-flow: row !important;
  }

}
/* ===============================
   MOBILE SHOP FIX – 2 por fila
=============================== */

@media (max-width: 767px) {

  /* 1. Aseguramos ancho completo del contenedor */
  .woocommerce,
  .woocommerce-page,
  .woocommerce .container,
  .woocommerce ul.products {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 2. Grid REAL (no flex) */
  .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* 3. Limpiamos estilos legacy del theme */
  .woocommerce ul.products li.product {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }

}
/* ===== Woo Pagination: arreglar tamaño en móvil (que no se corte) ===== */
@media (max-width: 768px){

  /* contenedor */
  .woocommerce nav.woocommerce-pagination,
  .woocommerce .woocommerce-pagination{
    width: 100%;
    margin: 18px auto 30px !important;
    text-align: center;
  }

  /* la lista */
  .woocommerce nav.woocommerce-pagination ul,
  .woocommerce .woocommerce-pagination ul.page-numbers{
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  /* cada item */
  .woocommerce nav.woocommerce-pagination ul li,
  .woocommerce .woocommerce-pagination ul.page-numbers li{
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* botones */
  .woocommerce nav.woocommerce-pagination ul li a,
  .woocommerce nav.woocommerce-pagination ul li span,
  .woocommerce .woocommerce-pagination ul.page-numbers li a,
  .woocommerce .woocommerce-pagination ul.page-numbers li span{
    min-width: 56px !important;
    height: 46px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 16px !important;
    line-height: 1 !important;
  }

  /* si el theme mete “cuadrados” muy grandes por width fijo */
  .woocommerce .woocommerce-pagination ul.page-numbers li a,
  .woocommerce .woocommerce-pagination ul.page-numbers li span{
    width: auto !important;
  }
}

/* aún más pequeño en móviles chicos */
@media (max-width: 420px){
  .woocommerce nav.woocommerce-pagination ul,
  .woocommerce .woocommerce-pagination ul.page-numbers{
    gap: 8px !important;
  }

  .woocommerce nav.woocommerce-pagination ul li a,
  .woocommerce nav.woocommerce-pagination ul li span,
  .woocommerce .woocommerce-pagination ul.page-numbers li a,
  .woocommerce .woocommerce-pagination ul.page-numbers li span{
    min-width: 48px !important;
    height: 42px !important;
    padding: 0 12px !important;
    font-size: 15px !important;
    border-radius: 11px !important;
  }
}

/* =========================
   TIENDA (MÓVIL): 2 columnas reales (sin empezar en 1 a la derecha)
   ========================= */
@media (max-width: 767px){

  /* Fuerza layout consistente */
  body.woocommerce ul.products,
  body.post-type-archive-product ul.products{
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;   /* evita “empezar a la derecha” */
    align-items: stretch !important;
    gap: 18px !important;                 /* separación homogénea */
    padding: 0 !important;
    margin: 0 auto !important;
  }

  /* Cada tarjeta = 50% - gap */
  body.woocommerce ul.products li.product,
  body.post-type-archive-product ul.products li.product{
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    width: auto !important;

    flex: 0 0 calc(50% - 9px) !important;     /* 18px gap -> 9px por lado */
    max-width: calc(50% - 9px) !important;
  }

  /* Por si el theme mete “odd/even” con márgenes */
  body.woocommerce ul.products li.product:nth-child(odd),
  body.woocommerce ul.products li.product:nth-child(even),
  body.post-type-archive-product ul.products li.product:nth-child(odd),
  body.post-type-archive-product ul.products li.product:nth-child(even){
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* Ocultar el selector de orden (orden predeterminado) en shop + categorías + atributos */
body.woocommerce .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering,
body.tax-pa_color .woocommerce-ordering,
body.tax-pa_talla .woocommerce-ordering,
body.tax-pa_tipo .woocommerce-ordering {
  display: none !important;
}

/* Si tu theme lo mete dentro de topbar */
body.woocommerce .woocommerce-topbar .woocommerce-ordering {
  display: none !important;
}

/* =========================
   CATEGORÍAS (product_cat)
   /product-category/...
   ========================= */

/* 1) Quitar "Orden predeterminado" arriba */
body.tax-product_cat .woocommerce-topbar .woocommerce-ordering{
  display:none !important;
}

/* (Opcional) si también quieres ocultar el contador arriba */
body.tax-product_cat .woocommerce-topbar .woocommerce-result-count{
  /* display:none !important; */
}

/* 2) Evitar el "zoom out" / layout raro en categorías */
body.tax-product_cat #pxl-wrapper,
body.tax-product_cat #pxl-main{
  transform:none !important;
  zoom:1 !important;
}

/* 3) Igualar ancho del contenedor al de tienda-b2b */
body.tax-product_cat #pxl-main .container{
  max-width:1658px !important; /* ajusta si quieres */
  width:100% !important;
}

body.tax-product_cat #pxl-content-area{
  width:100% !important;
  max-width:none !important;
}
/* 2) Evitar el "zoom out" / layout raro en categorías */
body.tax-product_brand #pxl-wrapper,
body.tax-product_brand #pxl-main{
  transform:none !important;
  zoom:1 !important;
}

/* 3) Igualar ancho del contenedor al de tienda-b2b */
body.tax-product_brand #pxl-main .container{
  max-width:1658px !important; /* ajusta si quieres */
  width:100% !important;
}

body.tax-product_brand #pxl-content-area{
  width:100% !important;
  max-width:none !important;
}
/* FIX: Mi cuenta pegada al header */
body.woocommerce-account #pxl-main,
body.woocommerce-account #pxl-content-main,
body.woocommerce-account #pxl-content-area,
body.woocommerce-account .pxl-content-area{
  padding-top: 50px !important;   /* ajusta 40-80 según te guste */
}

/* Extra: asegura margen del bloque Woo */
body.woocommerce-account .woocommerce{
  margin-top: 20px !important;
}

.stx-link { color:#000; font-weight:600; }
.stx-link:hover { color:#f5c400; }
/* OFFCANVAS MÓVIL — ocultar iconos sociales SOLO si no hay enlaces */
.pxl-icon-mobile a[href=""],
.pxl-icon-mobile a:not([href]){
  display: none !important;
}

/* Si todos los enlaces están vacíos, ocultar el contenedor */
.pxl-icon-mobile:has(a[href=""]),
.pxl-icon-mobile:has(a:not([href])){
  display: none !important;
}

/* === FIX MOBILE: MI CUENTA (nav arriba + tabs) === */
@media (max-width: 768px){

  /* 1) Quita floats/anchos del theme (esto es lo que te lo deja enano y a la izquierda) */
  body.woocommerce-account #pxl-main .woocommerce-MyAccount-navigation,
  body.woocommerce-account #pxl-main .woocommerce-MyAccount-content{
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    clear: both !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* 2) Nav arriba y contenido debajo */
  body.woocommerce-account #pxl-main .woocommerce-MyAccount-navigation{
    display: block !important;
    order: 1 !important;
    margin: 0 0 12px 0 !important;
  }
  body.woocommerce-account #pxl-main .woocommerce-MyAccount-content{
    display: block !important;
    order: 2 !important;
    margin: 0 !important;
  }

  /* 3) Convierte el menú en “tabs” horizontales */
  body.woocommerce-account #pxl-main .woocommerce-MyAccount-navigation ul{
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 10px !important;

    list-style: none !important;
    padding: 10px !important;
    margin: 0 !important;

    background: #fff !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.06) !important;
  }

  body.woocommerce-account #pxl-main .woocommerce-MyAccount-navigation ul li{
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body.woocommerce-account #pxl-main .woocommerce-MyAccount-navigation ul li a{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;

    padding: 12px 16px !important;
    border-radius: 999px !important;

    background: #f3f3f3 !important;
    color: #111 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1px solid rgba(0,0,0,.08) !important;
  }

  body.woocommerce-account #pxl-main .woocommerce-MyAccount-navigation ul li.is-active a{
    background: #fff3d6 !important;
    border-color: #f1c232 !important;
  }
}
/* === Mi cuenta: reducir espacio superior en móvil === */
@media (max-width: 768px){
  body.woocommerce-account #pxl-main{
    padding-top: 0 !important;
  }

  body.woocommerce-account #pxl-content-main,
  body.woocommerce-account #pxl-content-area,
  body.woocommerce-account main#pxl-content-main,
  body.woocommerce-account #pxl-content-main > .container,
  body.woocommerce-account #pxl-content-area > .container{
    padding-top: 10px !important;
    margin-top: 0 !important;
  }

  /* si el theme mete un “wrapper” con margen arriba */
  body.woocommerce-account .pxl-content-wrap,
  body.woocommerce-account .pxl-content-wrap > .container{
    padding-top: 10px !important;
    margin-top: 0 !important;
  }
}
/* =========================
   MENÚ MÓVIL (OFFCANVAS) STRETIFEX
   Fondo negro + texto blanco + hover amarillo
   ========================= */

/* Fondo del panel + backdrop */
.pxl-header-menu-backdrop,
.pxl-header-menu-scroll,
.pxl-header-menu,
.pxl-header-menu .pxl-header-menu-inner,
.pxl-header-menu .pxl-header-menu-content,
.pxl-menu-mobile,
.pxl-menu-mobile-wrap,
.pxl-menu-mobile-content{
  background:#000 !important;
}

/* Títulos grandes del panel (Distribución / profesional) */
.pxl-heading-mobile,
.pxl-heading-mobile *{
  color:#fff !important;
}

/* Links del menú */
.pxl-header-nav a,
.pxl-menu-mobile a,
.pxl-menu-mobile-wrap a{
  color:#fff !important;
  text-decoration:none !important;
}

/* Hover / Activo amarillo corporativo */
.pxl-header-nav a:hover,
.pxl-header-nav a:focus,
.pxl-menu-mobile a:hover,
.pxl-menu-mobile a:focus,
.pxl-header-nav li.current-menu-item > a,
.pxl-header-nav li.current-menu-ancestor > a,
.pxl-menu-mobile li.current-menu-item > a,
.pxl-menu-mobile li.current-menu-ancestor > a{
  color:#f1c232 !important;
}

/* Separadores/lineas (que ahora se ven grisáceas) */
.pxl-header-nav li,
.pxl-menu-mobile li,
.pxl-menu-mobile-wrap li{
  border-color: rgba(255,255,255,.12) !important;
}

/* Icono + (submenús) y otros iconitos del menú */
.pxl-header-nav .pxl-menu-toggle,
.pxl-menu-mobile .pxl-menu-toggle,
.pxl-menu-mobile-wrap .pxl-menu-toggle,
.pxl-header-nav i,
.pxl-menu-mobile i,
.pxl-menu-mobile-wrap i{
  color:#fff !important;
}

/* Hover del + */
.pxl-header-nav .pxl-menu-toggle:hover,
.pxl-menu-mobile .pxl-menu-toggle:hover,
.pxl-menu-mobile-wrap .pxl-menu-toggle:hover{
  color:#f1c232 !important;
}

/* Bloque "Contáctanos" */
.pxl-item-contact-mobile,
.pxl-item-contact-mobile *{
  color:#fff !important;
}

/* Texto secundario (teléfono/email) un pelín más suave */
.pxl-item-contact-mobile p,
.pxl-item-contact-mobile a{
  color: rgba(255,255,255,.75) !important;
}
.pxl-item-contact-mobile a:hover{
  color:#f1c232 !important;
}

/* Botón X (cerrar) */
.pxl-header-menu .pxl-close,
.pxl-header-menu .pxl-close *{
  color:#fff !important;
}
.pxl-header-menu .pxl-close:hover,
.pxl-header-menu .pxl-close:hover *{
  color:#f1c232 !important;
}
/* ===== PhotoSwipe (lightbox Woo) - flechas centradas y bien puestas ===== */
.pswp__button--arrow--left,
.pswp__button--arrow--right{
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 56px !important;
  height: 56px !important;
  opacity: 1 !important;
  z-index: 999999 !important;
}

/* Separación lateral */
.pswp__button--arrow--left{ left: 18px !important; }
.pswp__button--arrow--right{ right: 18px !important; }

/* “botón” visible (sin tocar el JS) */
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 999px !important;
  background: rgba(0,0,0,.35) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
}

/* Ajuste mobile */
@media (max-width: 768px){
  .pswp__button--arrow--left{ left: 10px !important; }
  .pswp__button--arrow--right{ right: 10px !important; }
  .pswp__button--arrow--left,
  .pswp__button--arrow--right{
    width: 48px !important;
    height: 48px !important;
  }
}

/* ===== Ficha de producto: bajar un poco la escala en desktop ===== */
@media (min-width: 1024px){
  .single-product div.product div.images{
    max-width: 80% !important;
}/* ===== PhotoSwipe: flechas visibles SIEMPRE (aunque el tema rompa el icono) ===== */
.pswp__button--arrow--left::after,
.pswp__button--arrow--right::after{
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 12px !important;
  height: 12px !important;
  border-right: 3px solid rgba(255,255,255,.95) !important;
  border-bottom: 3px solid rgba(255,255,255,.95) !important;
  transform-origin: center !important;
}

/* flecha izquierda */
.pswp__button--arrow--left::after{
  transform: translate(-50%,-50%) rotate(135deg) !important;
}

/* flecha derecha */
.pswp__button--arrow--right::after{
  transform: translate(-50%,-50%) rotate(-45deg) !important;
}

/* mejora contraste del botón */
.pswp__button--arrow--left::before,
.pswp__button--arrow--right::before{
  background: rgba(0,0,0,.45) !important;
}
	.pswp__button--arrow--left .pswp__icn,
.pswp__button--arrow--right .pswp__icn{
  display:none !important;
}
	/* ===== PhotoSwipe: sin “circulitos” de fondo ===== */
.pswp__button--arrow--left::before,
.pswp__button--arrow--right::before{
  content: none !important; /* elimina el fondo circular */
  background: transparent !important;
}

/* ===== PhotoSwipe: flechas visibles también en móvil ===== */
.pswp__button--arrow--left,
.pswp__button--arrow--right{
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Si en móvil el tema reduce el botón, lo forzamos */
@media (max-width: 768px){
  .pswp__button--arrow--left,
  .pswp__button--arrow--right{
    width: 52px !important;
    height: 52px !important;
  }

  .pswp__button--arrow--left::after,
  .pswp__button--arrow--right::after{
    width: 14px !important;
    height: 14px !important;
    border-right-width: 3px !important;
    border-bottom-width: 3px !important;
  }
}
	a.pxl-scroll-top{
		right: 18px;
		left: auto !important;
		bottom: 80px !important;
		top: auto !important;
		z-index: 999999 !important;
	}
/* STX — Botón “Finalizar pedido” (Woo Blocks cart) */
body.woocommerce-cart .wc-block-cart__submit
a.wc-block-components-button.wc-block-cart__submit-button{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:56px !important;
  padding:16px 22px !important;
  background:#000 !important;
  color:#f3c200 !important;
  border:2px solid #f3c200 !important;
  border-radius:999px !important;
  font-weight:700 !important;
  text-decoration:none !important;
  box-shadow:0 18px 35px rgba(0,0,0,.18) !important;
}
body.woocommerce-cart .wc-block-cart__submit
a.wc-block-components-button.wc-block-cart__submit-button
.wc-block-components-button__text{
  color:inherit !important;
}
	/* === BOTÓN CHECKOUT – CONTROL DE ANCHO POR DISPOSITIVO === */

/* Base (móvil) */
body.woocommerce-checkout 
.wc-block-components-checkout-place-order-button {
  width: 100% !important;
  max-width: 100% !important;
  margin: 24px auto !important;
}

/* Tablet */
@media (min-width: 768px) {
  body.woocommerce-checkout 
  .wc-block-components-checkout-place-order-button {
    max-width: 480px !important;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  body.woocommerce-checkout 
  .wc-block-components-checkout-place-order-button {
    max-width: 420px !important;
  }
}
	/* Espaciado en carrito vacío */
body.woocommerce-cart .stx-empty-cart h2{
  margin-bottom: 18px !important;
}

body.woocommerce-cart .stx-empty-cart .stx-empty-btn{
  margin-top: 14px !important;
}body.woocommerce-cart .stx-empty-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  background:#000;
  color:#f3c200;
  border:2px solid #f3c200;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  margin:14px 0 10px;
}
	
/* Volver al catálogo / tienda */
.stx-back-to-catalog {
  margin: 20px 0 10px;
}

.stx-back-to-catalog a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #111;
  text-decoration: none;
  opacity: .7;
  transition: all .2s ease;
}

.stx-back-to-catalog a:hover {
  opacity: 1;
  transform: translateX(-2px);
}
	

/* ================================
   STX – Buscador por referencia (solo tienda)
   ================================ */

.stx-refsearch-wrap{
  margin: 18px 0 18px;
}

.stx-refsearch-title{
  margin: 0 0 10px;
  font-weight: 800;
}

.stx-refsearch-form{
  display: flex;
  flex-direction: column;         /* MOBILE first */
  gap: 10px;
  align-items: stretch;
}

.stx-refsearch-input{
  width: 100%;
  height: 54px;                   /* fija altura para alinear */
  padding: 0 18px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.25);
  outline: none;
}

.stx-refsearch-input::placeholder{
  opacity: .7;
}

/* BOTÓN */
.stx-refsearch-btn{
  height: 54px;                   /* MISMA altura que input */
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid #000 !important;
  background: #f2c94c !important;  /* amarillo */
  color: #000 !important;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, transform .08s ease;
  -webkit-appearance: none;
  appearance: none;
}

/* Hover / focus */
.stx-refsearch-btn:hover,
.stx-refsearch-btn:focus{
  background: #000 !important;
  color: #f2c94c !important;
}

.stx-refsearch-btn:active{
  transform: translateY(1px);
}

/* Texto ayuda */
.stx-refsearch-help{
  margin: 8px 0 0;
  opacity: .85;
  font-size: 14px;
}

/* DESKTOP: fila, alineado perfecto */
@media (min-width: 768px){
  .stx-refsearch-form{
    flex-direction: row;
    align-items: center;          /* centra verticalmente */
    gap: 14px;
  }

  .stx-refsearch-input{
    flex: 1 1 auto;
  }

  .stx-refsearch-btn{
    flex: 0 0 auto;
  }
}

/* En móvil, placeholder un pelín más pequeño para que “quepa” */
@media (max-width: 480px){
  .stx-refsearch-input{
    font-size: 15px;
  }
  .stx-refsearch-input::placeholder{
    font-size: 14px;
  }
}
	
	.stx-ref-search { margin: 0 0 18px 0; }
.stx-ref-label { display:block; font-weight:700; margin:0 0 6px 0; }
.stx-ref-row { display:flex; gap:10px; align-items:stretch; }
.stx-ref-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.18);
}
.stx-ref-btn{
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid #111;
  cursor: pointer;
  background: #F2C200;
  color: #111;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stx-ref-btn:hover,
.stx-ref-btn:focus{
  background:#111;
  color:#F2C200;
}
.stx-ref-help{ margin-top:3px; font-size:12px; opacity:.75; }