/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/**
 * 
 * The below code is added by naveen (support@bsf.io)
 * 
 * 
 **/

select.orderby {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;

  width: 100% !important;
  max-width: 260px !important;
  padding: 10px 36px 10px 12px !important;
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
  background-color: #f9f9f9 !important;
  color: #333 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  background-image: url("data:image/svg+xml,%3Csvg fill='%23666' height='12' width='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4l4 4 4-4z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 12px !important;
}

select.orderby:hover {
  border-color: #ccc !important;
  background-color: #f2f2f2 !important;
}

select.orderby:focus {
  border-color: #aaa !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05) !important;
  background-color: #fff !important;
}

/* Dropdown options */
select.orderby option {
  background-color: #fff !important;
  color: #333 !important;
  padding: 8px 12px !important;
  font-size: 15px !important;
  border-radius: 0 !important;
}

/* Highlight hovered/selected option (Chrome/Edge support) */
select.orderby option:hover,
select.orderby option:checked {
  background-color: #f0f0f0 !important;
  color: #000 !important;
}
/* --- Strong override: bottom-centered Out of Stock badge with 5px
padding --- */

/* keep the product card as the positioning context only (do NOT
switch
to flex) */
.woocommerce ul.products li.product,
.woocommerce div.product {
	position: relative;
}

/* force the badge styles (high specificity + !important) */
.woocommerce ul.products li.product .ast-shop-product-out-of-stock {
	position: absolute !important;
	left: 50% !important;
	bottom: 15px !important;
	transform: translateX(-50%) !important;
	display: inline-block !important;
	box-sizing: border-box !important;
	width: auto !important;
	max-width: calc(100% - 40px) !important; /* prevents overflow on small cards */
	padding: 0px !important; /* <- enforced 0px padding */
	border: 0px solid #D2D0EB !important; /* match background */
	border-radius: 6px !important;
	background-color: #D2D0EB !important;
	color: #150426 !important;
	font-family: "Reddit Sans", sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	text-transform: uppercase !important;
	text-align: center !important;
	white-space: nowrap !important;
	z-index: 9999 !important;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}

/* remove any pseudo-element decoration that might be adding its own
background/size */
.woocommerce ul.products li.product .ast-shop-product-out-of-stock::before,
.woocommerce ul.products li.product .ast-shop-product-out-of-stock::after {
	content: none !important;
	background: transparent !important;
}
