@media (max-width: 767px) {
    /* Sube toda la sección de productos */
    #main .featured-products {
        margin-top: -15px !important;
        padding-top: 0 !important;
    }

    /* Reduce el espacio arriba y abajo del título "Recomendado" */
    .products-section-title.h2 {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
        padding-top: 0 !important;
        font-size: 1.2rem; /* Opcional: ajusta el tamaño del texto */
    }
}
.st_easy_content .swiper-pagination { display: none !important; }
#st_swiper_1 .swiper-pagination, #swiper_container_1 .swiper-pagination { display: none !important; }
#st_swiper_1 .sttext_banner_btn, #swiper_container_1 .sttext_banner_btn { display: none !important; }
#steasy_element_83 .sttext_banner_btn { display: none !important; }
















/* === CENTER_MENU_SEARCH_V2 === */
#st_header #header_primary_row {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
}
#st_header #header_left {
  display: flex !important;
  align-items: center !important;
}
#st_header #header_center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#st_header #header_center > .flex_container.header_box {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0px !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  width: auto !important;
}
#st_header #header_center .st_mega_menu_container {
  margin: 0 !important;
  padding: 4px !important;
  flex: 0 0 auto !important;
}
#st_header #header_center .search_widget_block {
  flex: 1 1 auto !important;
  width: auto !important;
  display: flex !important;
  align-items: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
}
#st_header #header_center .search_widget_block .search_widget_form,
#st_header #header_center .search_widget_block .search_widget_form_inner,
#st_header #header_center .search_widget_block form {
  width: 100% !important;
  display: flex !important;
}
#st_header #header_center .search_widget_block input[type="text"] {
  flex: 1 1 auto !important;
}
#st_header #header_right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}
#st_header #header_center .search_widget_form_inner {
  height: 42px !important;
}
#st_header #header_center .search_widget_block input[type="text"] {
  height: 42px !important;
}
#st_header #header_center .search_widget_block {
  margin-left: -8px !important;
}
/* === END CENTER_MENU_SEARCH_V2 === */

/* --- CAMPI PANEL MOD: HIDE BUTTON TEXT (ICONS ONLY) --- */
.ajax_add_to_cart_button span,
.addToWishlist span,
.st_compare_button span,
.st_share_button span,
.btn-adc span,
.pro_add_to_cart span {
    display: none !important;
}

.ajax_add_to_cart_button, 
.addToWishlist, 
.st_compare_button, 
.st_share_button {
    padding: 0 10px !important;
    text-align: center !important;
    min-width: 40px !important;
    justify-content: center !important;
}

.ajax_add_to_cart_button i, 
.addToWishlist i, 
.st_compare_button i,
.st_share_button i {
    margin: 0 !important;
    font-size: 18px !important;
}

/* --- CAMPI PANEL MOD V2: ROBUST ICON-ONLY BUTTONS --- */

/* 1. WISHLIST & COMPARE (Text in SPAN) */
.addToWishlist span,
.st_compare_button span,
.pro_add_to_cart span,
.btn-adc span {
    display: none !important;
}

/* 2. SHARE BUTTON (Text is DIRECT NODE - NO SPAN) */
/* Inspecting stsocial-drop.tpl: div.dropdown_tri contains text directly */
.pro_right_item .dropdown_tri {
    font-size: 0 !important; /* Hide text */
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 3. RESTORE ICON SIZES (Since container is font-size:0) */
.pro_right_item .dropdown_tri i,
.addToWishlist i,
.st_compare_button i {
    font-size: 18px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

/* 4. HIDE DROPDOWN ARROWS (Optional cleanup for icon-only look) */
.pro_right_item .dropdown_tri .arrow_down,
.pro_right_item .dropdown_tri .arrow_up {
    display: none !important;
}

/* 5. CONTAINER ALIGNMENT */
.addToWishlist,
.st_compare_button {
    font-size: 0 !important; /* Fallback for any stray text */
    padding: 0 10px !important;
    text-align: center !important;
    min-width: 35px !important;
}

/* --- CAMPI PANEL MOD V3: NUCLEAR OPTION --- */

/* 1. Share Button - The Text Node Problem */
/* We target the container, hide everything, then show only the icon */
.pro_right_item .dropdown_tri {
    visibility: hidden !important; 
    position: relative !important;
    width: 40px !important;
}

.pro_right_item .dropdown_tri i {
    visibility: visible !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 18px !important;
}

/* 2. Wishlist & Compare - Same Strategy */
.addToWishlist, 
.st_compare_button {
    visibility: hidden !important;
    position: relative !important;
    width: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
}

.addToWishlist i,
.st_compare_button i {
    visibility: visible !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 18px !important;
}

/* 3. Kill any arrows */
.arrow_down, .arrow_up {
    display: none !important;
}

/* --- CAMPI PANEL MOD V4: WISHLIST FIX --- */
.add_to_wishlist .btn_text,
.add_to_wishlist .wishlist_product_count {
    display: none !important;
}
.add_to_wishlist {
    min-width: 0 !important;
    padding: 0 10px !important;
}

/* --- CAMPI PANEL MOD V5: TOTAL ANNIHILATION OF TEXT --- */

/* 1. WISHLIST: Target ALL possible containers and children */
.hover_fly_btn .btn_text,
.hover_fly_btn .wishlist_product_count,
.add_to_wishlist .btn_text,
.add_to_wishlist .wishlist_product_count,
.addToWishlist span {
    display: none !important;
    font-size: 0 !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. SHARE & COMPARE */
.pro_right_item .dropdown_tri,
.st_compare_button {
    font-size: 0 !important;
}

.pro_right_item .dropdown_tri i,
.st_compare_button i {
    font-size: 18px !important;
}

/* 3. Container Reset */
.hover_fly_btn,
.add_to_wishlist,
.st_compare_button {
    text-align: center !important;
    justify-content: center !important;
    padding: 0 8px !important;
    min-width: 30px !important;
}

/* --- CAMPI PANEL MOD V6: THE FINAL STRAW --- */

/* Target the plain span in Share button in hover fly */
.hover_fly_btn_inner span {
    display: none !important;
}

/* Ensure container size is minimal */
.hover_fly_btn .hover_fly_btn_inner {
    padding: 0 5px !important;
    justify-content: center !important;
}

/* Fix for any icon alignment */
.hover_fly_btn_inner i {
    margin: 0 !important;
}

/* --- CAMPI PANEL MOD: ALWAYS VISIBLE BUTTONS --- */
.bottom_hover_fly {
    opacity: 1 !important;
    transform: none !important;
    position: relative !important; /* Sit in flow, don't overlay */
    visibility: visible !important;
    bottom: auto !important;
    margin-top: 10px !important;
    display: block !important;
}

/* Ensure no weird hover transition artifacts */
.product_list_item:hover .bottom_hover_fly {
    transform: none !important;
}

/* Optional: Center align if not already */
.bottom_hover_fly {
    text-align: center !important;
}

/* Adjust card height/overflow if needed */
.pro_outer_box, .product_list_item {
    overflow: visible !important;
}
