/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* =========================================================
   WooCommerce Ordering sotto breadcrumb
   ========================================================= */

/* 1) Contenitore header shop */
.nectar-shop-header {
  display: flex;
  flex-direction: column;
}

/* 2) Breadcrumb sopra */
.nectar-shop-header .woocommerce-breadcrumb {
  order: 1;
  margin-bottom: 10px;
}

/* 3) Filtro sotto breadcrumb */
.nectar-shop-header .woocommerce-ordering {
  order: 2;
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  float: none !important;

  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px !important;
}

/* 4) Select styling */
.woocommerce .woocommerce-ordering select.orderby {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  font-size: 14px;
  padding: 12px 40px 12px 14px;
  min-width: 240px;

  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 999px;
  background: #fff;
  color: #111;
  cursor: pointer;
}

/* 5) Freccia custom */
.woocommerce .woocommerce-ordering {
  position: relative;
}
.woocommerce .woocommerce-ordering::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(0,0,0,0.5);
  border-bottom: 2px solid rgba(0,0,0,0.5);
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

/* 6) Mobile */
@media (max-width: 768px) {
  .nectar-shop-header .woocommerce-ordering {
    justify-content: flex-start;
  }

  .woocommerce .woocommerce-ordering select.orderby {
    width: 100%;
  }
}




