/* Layout bar */
.apl-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
}

.apl-tabs{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0;
  padding:0;
}
.apl-tab{
  cursor:pointer;
  padding:8px 5px;
  border-radius:999px;
  font-size:14px;
  line-height:1;
  user-select:none;
  color: rgb(0 0 0 / 60%);
}
.apl-tab.active{
  color: #000000;
}

/*new style */

select#apl-sort {
    border: none;
    background: #ff000000;
	font-family: 'Inter', sans-serif;
	font-weight: 500;   
	font-style: normal; 
	font-size: 16px;
	line-height: 24px;  
	letter-spacing: 0; 
	color:#000000;
}
option {
font-family: 'Inter', sans-serif;
  font-weight: 500;   
  font-style: normal; 
  font-size: 16px;
  line-height: 24px;  
  letter-spacing: 0; 
color:#000000;  
}
select#apl-sort:focus-visible {
    border: none;
    background: #ff000000;
    outline: none;
}

.apl-bar {
    border-bottom: 1px solid #9e9d8687;
    padding-bottom: 10px;
}

h2.apl-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0;
    color: #000000;
    max-width: calc(100% - 90px);
}

.apl-sort label {
  font-family: 'Inter', sans-serif;
  font-weight: 300;  
  font-style: normal;
  font-size: 16px;
  line-height: 24px; 
  letter-spacing: 0; 
  color: rgb(0 0 0 / 60%);
}

.apl-product-title {
    display: flex;
    justify-content: space-between;
    padding: 12px 10px 0;
    gap: 10px;
}
.apl-swatches {
    max-width: 100px;
    display: flex;
        padding: 8px 0 0;
    flex-wrap: wrap;
    gap: 4px 0px;
}
.apl-product-price {
    display: flex;
    justify-content: space-between;
    font-family: Inter;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    gap: 10px;
    padding: 8px 10px 0;
}
.apl-product-price  del {
    color: #8E8B8A;
    margin-right: 15px;
}
.apl-product-price > a {
    font-size: 22px;
    color: rgb(0 0 0 / 70%);
}
/*new style close*/


/* Grid uses Woo's .products if your theme defines it; else we set a grid */
.apl-products {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    
}
.apl-product {
    padding: 0 0 20px 8px;
        width: 25%;
        position: relative;
}
.apl-swatches .apl-swatch {
    height: 12px;
    width: 11px;
    display: inline-block;
    margin: 0 0px 0 4px;
}
.apl-product .apl-thumb {
    padding: 10%;
    width: 100%;
    display: flex;
    background: #FCF9F7;
}

.apl-product .apl-thumb img {
    width: 100%;
}


/* Status/sentinel */
.apl-status{
  text-align:center;
  padding:14px 0;
  color:#666;
  font-size:14px;
}
.apl-sentinel{ height:1px; }
.apl-sort select{ min-width: 150px; }


.apl-product-badges {
    position: absolute;
    z-index: 1;
    left: 10px;
    top: 0;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.apl-product-badge {
    font-family: Inter;
    font-weight: 500;
    font-size: 10px;
    line-height: 20px;
    color: #FFFFFF;
    background: #9E9D86;
    text-transform: uppercase;
    padding: 2px 8px;
}

@media (min-width:992px)
{

.apl-product:nth-child(8n - 2),
.apl-product:nth-child(8n - 3),
.apl-product:nth-child(8n - 6) {
    margin-right: 25%;
}
.apl-product:nth-child(8n - 4) {
    width: 50%;
}

}
@media (min-width:768px) and (max-width:991px)
{
.apl-product {
    width: 33.33%;
}

.apl-product:nth-child(5n - 1)
{
width: 66.66%;
}

}
@media (max-width:1200px)
{
h2.apl-title {
    font-size: 16px;
}
}
@media (max-width:767px)
{
.apl-product {
    width: 50%;
}

.apl-product:nth-child(5n)
{
width: 100%;
}

.apl-bar {
    border-bottom: 0px solid #9e9d8687;
    padding-bottom: 0;
    flex-wrap: wrap;
    gap: 9px;
}
.apl-sort select {
    min-width: 136px;
        font-size: 14px;
}

.apl-sort label {
    font-size: 14px;
}
.apl-tabs {
    flex-wrap: unset;
    gap: 10px;
    white-space: nowrap;
    width: calc(100% + 40px);
    border-bottom: 0.5px solid var(--sage-1, #9E9D86);
    padding: 0 20px 10px;
    margin: 0 -20px;
    overflow: auto;
}
}