/*.wks-label-wrap {
    position: relative;
    display: block;
}*/
.woocommerce ul.products li.product .rey-thPos.rey-thPos--bottom-left {
    bottom: 10px !important;
    left: 0px !important;
}
.wks-label-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    bottom: 10px;
    /*position: absolute;*/
    top: auto;
    z-index: 20;
}
.wks-label-container-singel {
display: flex;
    flex-direction: column;
    align-items: flex-start;
    bottom: 30px;
    /*position: absolute;*/
    top: auto;
    z-index: 20;
}
.wks-custom-single-label {
    position: absolute;
    bottom: 10px;
    left: 0px;
}
.wks-custom-label {
    margin-top: 3px;
    font-size: x-small;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
}

#label-deal {
    background: #f6af95;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
}
#custom-label-single-1 {
    background: #ff8484;
    color: white;
    padding: 3px 10px;
    }

#label-sale {
    background:#cf2929;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
}
#custom-label-single-2 {
    background: red;
    color: white;
    padding: 3px 10px;
    }

#label-new {
    background: #E5EFE2;
    color: #205049;
    padding-left: 10px;
    padding-right: 10px;
}
#custom-label-single-3 {
   background:#3aa4ff;
    color: white;
    padding: 3px 10px;
}
#label-spr {
    background: green;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
}
#custom-label-single-4 {
	background: green;
    color: white;
    padding: 3px 10px;
   
}
#label-coming-soon {
    background: #FBB560;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
}
#label-preorder {
    background: black;
    color: white;
    padding: 0px 10px;
}
#custom-label-single-5 {
    background: orange;
    color: white;
    padding: 3px 10px;
    
}

#label-ondemand {
    background: black;
    color: white;
    padding: 0px 10px;
}
.wks-label-wrap-single {
    position: absolute;
    top: 10px;
    left: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-start;
}



/*shipping info*/

.wks-shipping-info-archive {
    margin-bottom: 10px;
}
.wks-truck-icon {
    width: 28px;
    margin-right: 10px;
}

.wks-shipping-stock {
    display: flex;
    align-items: center;
}

.wks-moq-info-archive {
    margin: -4px 0 10px;
    font-size: 11px;
    line-height: 14px;
}

.wks-moq-mix-archive {
    text-decoration: underline;
}

.wks-sku-info-archive {
    margin: -6px 0 10px;
    font-size: 11px;
    line-height: 14px;
}
/*
h2.woocommerce-loop-product__title {
    margin-: 0px;
}
*/
.wks-shipping-single, .wks-fast-shipping-single, .wks-ondemand-single, .wks-lithium-single {
	padding: 0.3rem 0rem 0.3rem 3rem;  
	font-size: 0.75rem;
	position:	relative;
	
}
.wks-shipping-single::before, .wks-fast-shipping-single::before, .wks-ondemand-single::before, .wks-lithium-single::before {
	  
    color: #8e8e8e;
    display: inline-block;
    float: left;
    /* margin: 0 10px 0 0; */
    vertical-align: baseline;
    line-height: 1;
    position: absolute;
    left: 0rem;
    top: calc(50% - 0.5rem);
	
}
.wks-fast-shipping-single::before {
content: url(../assets/images/slowtruck.svg);
	width: 25px;
}
.wks-shipping-single::before {
content: url(../assets/images/slowtruck.svg);
	width: 25px;
}
.wks-ondemand-single::before {
content: url(../assets/images/clock.svg);
	width: 20px;
}
.wks-lithium-single::before {
content: url(../assets/images/note.svg);
	width: 20px;
}

/*Shipping info loop*/
.wks-shipping-loop-wrap {
    margin-bottom: 5px;
		position:relative;
}
.wks-fast-shipping-loop, .wks-ondemand-loop, .wks-volume-discount-loop {
	padding: 0rem 0rem 0rem 1.5rem
}

.wks-fast-shipping-loop {
	padding: 0rem 0rem 0rem 2.5rem
}
.wks-fast-shipping-loop::before, .wks-ondemand-loop::before, .wks-volume-discount-loop::before {
	  color: #8e8e8e;
    display: inline-block;
    float: left;
    vertical-align: baseline;
    line-height: 1;
    position: absolute;
    left: 0;
}



.wks-fast-shipping-loop::before  {
content: url(../assets/images/fasttruck.svg);
	width: 30px;
		top: calc(50% - 0.43rem);
}

.wks-ondemand-loop::before  {
content: url(../assets/images/clock.svg);
	width: 17px;
		top: calc(50% - 0.53rem);
}

.wks-volume-discount-loop::before {
    content: url(../assets/images/volume.svg);
	width: 17px;
		top: calc(50% - 0.53rem);
}
/*Product bullets*/
.wks-bullet-wrap-single {
    margin: 20px 0px;
    border: 1px solid #dfe3e7;
    border-radius: 3px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    line-height: 2rem;
}
.wks-bullet-inner-wrap-single {
    display: flex;
    margin-right:25px;
    align-items: baseline;
}
.wks-bullet-icon {
    width: 10px;
    margin-right:10px;
}

.wks-bullet-icon img {
    width: 10px;
    max-width: none !important;
}


span.wks-bullet-focus {
    font-weight: 700;
    /*margin-left: 5px;*/
}

.tooltip-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-size: 8px;
    color: #0073aa;
    top: -6px;
}

.tooltip-text {
    visibility: hidden;
    width: 300px;
    background-color: #fff;
    color: #585857;
    text-align: left;
    padding: 20px;
    border-radius: 3px;
    position: absolute;
    bottom: 100%; /* Adjusted to reduce the distance */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, max-height 0.3s ease-out;
    white-space: normal;
    max-height: 0;
    border: 1px solid #ccc;
    overflow: hidden;
    font-size: 14px;
    z-index: 1;
}

.tooltip-icon {
    font-weight: bold;
    font-size: 8px;
    color: #ffffff;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #000;
    margin-left:5px;
}
.wks-bullet-shipping-single a {
    text-decoration: underline;
}

/* Show Tooltip on Hover */
.tooltip-wrapper:hover .tooltip-text,
.tooltip-wrapper:focus .tooltip-text,
.tooltip-text:hover,
.tooltip-text:focus {
    visibility: visible;
    opacity: 1;
    max-height: 500px; /* Large enough to accommodate long text */
}

/* Tooltip visibility when active class is added */
.tooltip-wrapper.active .tooltip-text {
    visibility: visible;
    opacity: 1;
    max-height: 500px;
}
/*need anything else section*/
.need-anything-else {
    margin: 4rem 0;
    padding: 4rem 2rem;
    background: #f5f5f5;
    text-align: center;
}

.need-anything-else__inner {
    max-width: 800px;
    margin: 0 auto;
}

.need-anything-else h2 {
    margin: 0 0 1rem;
    color: #111;
    font-size: clamp(2rem, 4vw, 2rem);
    line-height: 1.2;
}

.need-anything-else p {
    margin: 0 0 2rem;
    color: #555;
    font-size: 1.125rem;
    line-height: 1.6;
}

.need-anything-else__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #111;
    transition: all 0.25s ease;
}

.need-anything-else__button:hover {
    background: #333;
    border-color: #333;
    color: #fff;
    transform: translateY(-2px);
}

.need-anything-else__button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .need-anything-else {
        padding: 3rem 1.5rem;
    }

    .need-anything-else h2 {
        font-size: 2rem;
    }

    .need-anything-else p {
        font-size: 1rem;
    }
}

/*Size guide*/
.wks-size-guide-wrapper {
    margin-top: 30px;
    margin-bottom: 10px;
}

.wks-size-guide {
    font-size: 0.83rem;
    position: relative;
    text-decoration: underline;
}

a.wks-size-guide img {
    width: px;
}

/*unit price*/
.wks-price-per-unit {
    font-size: small;
    font-weight: 400;
}
.wks-baseunit {
    font-weight: 400;
    /*padding-left:0.5rem;*/
    font-size: 0.9rem;
}
.wks-baseunit-single {
    font-weight: 400;
    padding-left:0.5rem;
    font-size: 1rem;
}

.wks-unitprice {
    width: 100%;
    font-size:0.9rem;
    font-weight:400;
}
.wks-unitprice-single {
    width: 100%;
    font-size:1rem;
    font-weight:400;
    margin-top:0.3em
}

.rey-searchPanel .wks-unitprice-single {
    width: 100%;
    font-weight: 400;
    margin-top: .3em;
    font-size: 0.75rem;
}

span.wks-basunit-wrap {
    margin-top: 0.5rem;
}
.rey-innerSummary .wks-unitprice {
    font-size: 0.7em !important;
}
/*basunitproduct page*/
.rey-innerSummary .wks-baseunit {
    font-weight: 400;
    padding-left: 0.5rem;
    text-transform: lowercase;
    font-size: 0.7em;
}
/*border product image*/
 .woocommerce div.product div.images img {
    border: 1px solid #cdcdcd;
}
/*clear addto cart vaiable loop*/
.rey-productLoop-variationsForm.woocommerce div.product form.cart table.variations td.value .reset_variations, .rey-productLoop-variationsForm.woocommerce div.product form.cart table.variations td.value .rey-resetVariations {
    top: 3.3em;
}

/* Certificates & SPR*/
.wks-sustainability {
    padding: 20px;
    border: 1px solid #ccc;
}
.wks-certificates-container {
    display:flex;
}

.wks-certificates img {
    height:60px !important;
    padding: 0 10px;
}

.wks-link {
display:block;
font-size:0.7rem;
}

.wks-something-else {
      padding: 0rem 0rem 0rem 5rem;    	 
    font-size: 0.75rem;
    position:	relative;
}

.wks-something-else::before {
    content: url(../assets/images/customerservice.svg);
    color: #8e8e8e;
    display: inline-block;
    width: 50px;
    float: left;
    vertical-align: middle;
    line-height: 1;
    position: absolute;
    left:0.3rem;
 }
.wks-something-else a {
    text-decoration: underline;
}


.lithium {
    line-height:1.1;
    margin: 6px 0px;
}

.lithium-restricted {
    background-color: #ffd3da;
    padding: 5px 17px;
    color: black;
    line-height:1.1;
    margin: 6px 0px;
}

.lithium .button {
    float: unset !important;
}

a.wks_contact_us_to_order.woocommerce.single_add_to_cart_button.button.alt {
    color: var(--accent-text-color);
    margin-bottom: 20px;
}

/* Product attributes*/

.wks-attri {
font-weight:700;
}

.variations th.label {
    display: none;
}

/*variations swatches*/
.rey-swatchList {
    margin-bottom: 0px !important;
    text-transform: capitalize;

}

/*Shipping packages: Package heading*/
.wks-shippment {
text-transform: Initial;
font-weight: 400;
}

/*Size guide*/
.wks-size-guide-wrapper {
    margin-top: 30px;
    margin-bottom: 10px;
}

.wks-size-guide {
    font-size: 0.83rem;
    position: relative;
    text-decoration: underline;
}

a.wks-size-guide img {
    width: 19px;
}

/*unit price*/
.wks-price-per-unit {
    font-size: small;
    font-weight: 400;
}
.wks-baseunit {
    font-weight: 400;
    /*padding-left:0.5rem;*/
    font-size: 0.9rem;
}
.wks-baseunit-single {
    font-weight: 400;
    padding-left:0.5rem;
    font-size: 1rem;
}

.woocommerce ul.products li.product .price {
    align-items: baseline !important;
}


.woocommerce ul.products li.product .price>span+del {
    margin-left: 0 !important;
}
.wks-unitprice {
	width: 100%;
	font-size:0.9rem;
	font-weight:400;
}
.wks-unitprice-single {
	width: 100%;
	font-size:1rem;
	font-weight:400;
	margin-top:0.3em
}

.rey-searchPanel .wks-unitprice-single {
    width: 100%;
    font-weight: 400;
    margin-top: .3em;
    font-size: 0.75rem;
}

span.wks-basunit-wrap {
    margin-top: 0.5rem;
}
.rey-innerSummary .wks-unitprice {
    font-size: 0.7em !important;
}
/*basunitproduct page*/
.rey-innerSummary .wks-baseunit {
    font-weight: 400;
    padding-left: 0.5rem;
    text-transform: lowercase;
    font-size: 0.7em;
}
.woocommerce div.product p.price {
    align-items: baseline !important;
}

.woocommerce ul.products li.product .price {
gap:5px !important;
}

/* Rey cancels its own 10px loop-price gap with -10px on the second amount of a variation range.
   Our 5px gap makes that overlap the first price, so cancel our gap instead (keep in sync with gap above)
   and let the dash's own .2em margins space it evenly. */
.rey-loopPrice .woocommerce-Price-amount + .woocommerce-Price-amount {
    margin-inline-start: -5px !important;
}
/*border product image*/
 .woocommerce div.product div.images img {
    border: 1px solid #cdcdcd;
}
/*clear addto cart vaiable loop*/
.rey-productLoop-variationsForm.woocommerce div.product form.cart table.variations td.value .reset_variations, .rey-productLoop-variationsForm.woocommerce div.product form.cart table.variations td.value .rey-resetVariations {
    top: 3.3em;
}

/* Certificates & SPR*/
.wks-sustainability {
    padding: 20px;
    border: 1px solid #ccc;
}
.wks-certificates-container {
	display:flex;
}

.wks-certificates img {
    height:60px !important;
    padding: 0 10px;
}

.wks-link {
display:block;
font-size:0.7rem;
}

.wks-something-else {
  	padding: 0rem 0rem 0rem 5rem;    	 
	font-size: 0.75rem;
	position:	relative;
}

.wks-something-else::before {
    content: url(../assets/images/customerservice.svg);
    color: #8e8e8e;
    display: inline-block;
    width: 50px;
    float: left;
    vertical-align: middle;
    line-height: 1;
    position: absolute;
    left:0.3rem;
 }
.wks-something-else a {
    text-decoration: underline;
}


.lithium {
    line-height:1.1;
    margin: 6px 0px;
}

.lithium-restricted {
    background-color: #ffd3da;
    padding: 5px 17px;
    color: black;
    line-height:1.1;
    margin: 6px 0px;
}

.lithium .button {
    float: unset !important;
}

a.wks_contact_us_to_order.woocommerce.single_add_to_cart_button.button.alt {
    color: var(--accent-text-color);
    margin-bottom: 20px;
}

/* Product attributes*/

.wks-attri {
font-weight:700;
}
.wks-attri-supplier {
    padding: 0px;
    margin: 0px;
}
.variations th.label {
    display: none;
}

/*Shipping packages: Package heading*/
.wks-shippment {
text-transform: Initial;
font-weight: 400;
}

/*Bulk pricing display
Add a dash before the maximum price in the product loop */
.rey-loopPrice span.wks-max-price.woocommerce-Price-amount.amount::before {
    content: "-";
    margin-right: 5px;
    margin-left: 0px;
}

/* Add a dash before the maximum price in the product details */
span.wks-max-price.woocommerce-Price-amount.amount::before {
    content: "-";
    margin-right: 5px;
    margin-left: 5px;
}

/* Style for the exclamation mark icon in the cart item row YITH MOQ*/
tr.woocommerce-cart-form__cart-item.cart_item.moq-product .ywmmq-icon.ywmmq-correct::before {
    color: #b81c23 !important; /* Red color */
    content: '\2757' !important; /* Unicode for ❗️ (exclamation mark) */
    font-size: 1.125rem; /* Optional size */
}

/* Style for the exclamation mark icon in the mini cart item MOQ*/
.woocommerce-mini-cart-item.moq-product .ywmmq-icon.ywmmq-correct::before {
    color: #b81c23; /* Red warning color */
    content: '\2757'; /* Exclamation mark */
}

.woocommerce-error::before {
    color: #b81c23 !important; /* Red color */
}

/*MOQ cart info*/
.wks-moq-info, .wks-cart-sku {
    font-size: 11px;
    line-height:14px;
}
.wks-cart-sku {
    margin-bottom: 5px;
}
/*MOQ tag link*/
.wks-moq-info a {
    text-decoration: underline;
    font-size: 11px !important;
    text-transform: lowercase;
    line-height: 13px;
}

.wks-moq-mix a {
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/*End of Line / Discontinued Item*/
.wks-endofline {
    background-color: #fff3cd;
    border-left: 4px solid #ff9800;
    padding: 10px 15px;
    margin: 10px 0;
    font-size: 0.9rem;
}

.wks-endofline-text {
    color: #856404;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Order Cancellation Request */
.wks-order-cancellation-request {
    margin: 2rem 0;
    padding: 1.25rem;
    border: 1px solid #e5e5e5;
}

.wks-order-cancellation-request__form textarea {
    box-sizing: border-box;
    width: 100%;
}

.wks-order-cancellation-request__notice--success {
    padding: 0.75rem 1rem;
    background: #f0f8f0;
    border-left: 4px solid #2f8f46;
}

.wks-order-cancellation-request__notice--warning {
    padding: 0.75rem 1rem;
    background: #fff8e5;
    border-left: 4px solid #b7791f;
}
