/*Prevent item variant overflow (Force variants to wrap)*/
div.theme-product-variant fieldset[class^="theme-product-"] {
    display: flex !important;
    flex-wrap: wrap !important;
    max-width: 100% !important;
    overflow-x: visible !important;
}


/*Add tool-tip to variants*/
div.theme-product-variant fieldset[class^="theme-product-"] label:hover::after {
    content: attr(aria-label);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
}


/*Hide product thumbnail scrollbar*/ 
div.theme-product-detail-image-container div.theme-product-detail-thumbnail-container {
		overflow: auto;
  	scrollbar-width: none;
  	-ms-overflow-style: none; 
}
div.theme-product-detail-image-container div.theme-product-detail-thumbnail-container::-webkit-scrollbar {
		display: none;
}


/*Beautify categories list*/
div.theme-mobile-filters fieldset[data-zs-filter-option-container="Category"] ul {
  	justify-content: space-between;
  	padding-left: 0;
  	list-style: none;
}
div.theme-mobile-filters fieldset[data-zs-filter-option-container="Category"] span.theme-parent-category {
		padding-bottom: 8px;
}
div.theme-mobile-filters fieldset[data-zs-filter-option-container="Category"] li,
div.theme-mobile-filters fieldset[data-zs-filter-option-container="Category"] button {
  	text-align: left;
  	width: 100%;
  	color: #181a1c;
  	font-size: 14px;
}
div.theme-mobile-filters fieldset[data-zs-filter-option-container="Category"] button:hover {
  	color: #464a4f;
}
div.theme-mobile-filters a.theme-product-filter-show-more {
  	color: #181a1c;
}
div.theme-mobile-filters a.theme-product-filter-show-more:hover {
  	color: #464a4f;
}


/*Add to cart parity fix*/
div.theme-product-button-area {
  	border-radius: 16px;
}
div.theme-product-button-area a:hover {
  	background: none !important;
  	transition: none !important;
}


/*Hide second price listing*/
div.theme-product-price div:nth-child(2),
div.theme-product-price div:nth-child(2) span {
		display: none !important;
}

/*Change color of parent categories*/
div.theme-product-filter-option-container>ul>li>span>button {
		color: #464a4f !important;
}
div.theme-product-filter-option-container>ul>li>span>button:hover {
		color: rgb(24, 26, 28) !important;
}


/*Hide category selection for current page*/
div.theme-product-filter-option-container span.theme-parent-category,
div.theme-product-filter-option-container span.theme-parent-category button,
div.theme-product-filter-option-container span.theme-parent-category ~ span.theme-product-filter-count{
		display: none;
  	visibility: hidden;
}
div.theme-product-filter-option-container ul li ul {
		padding-top: 2px !important;
}


/*Hide breadcrumbs if on all products*/
div.theme-product-breadcrumb:has(:only-child) span:only-child {
		display: none;
  	visibility: hidden;
}


/*Hide elements while online ordering unavailable*/
/**/
div.theme-mini-cart,
span.theme-minicart-icon,
div.theme-product-quantity-cart-container,
div.theme-product-varient-quantity,
div.theme-product-quantity-spinner,
div.theme-product-quantity-spinner input,
div.theme-product-button-area,
div.theme-product-button-area a:hover {
		display: none;
  	visibility: hidden;
}
/**/

/*Display item color when selected*/
/*
:root:has(fieldset[class^="theme-product-color"]) div.theme-product-name-ratings div.theme-product-name {
  	anchor-name: --product-title !important;
  	margin-bottom: 15px !important;
}
fieldset[class^="theme-product-color"] label:has(input:checked)::before {
    content: attr(aria-label) !important;
    position: fixed !important;
    position-anchor: --product-title !important;
  	padding: 0px 0px !important;
  	display: block !important;
    color: black !important;
  	font-family: 'Verdana', sans-serif;
  	font-size: 18px;
  	font-weight: 600;
  	top: anchor(bottom) !important;
  	left: anchor(left) !important;
}*/


/*Maximize images*/ /*
div[class*="theme-product-"] a,
div[class*="theme-product-"] picture,
div[class*="theme-product-"] img.theme-shimmer-animation {
  	width: 100%;
  	height: 100%;
  	object-fit: cover !important;
} */