/**
 * WooCommerce AJAX Product Filter Styles
 * Place in: your-theme/assets/css/custom.css
 */

:root {
    --site_black: #282A31;
    --site_green: #025758;
    --site_orange: #ED7C41;
    --site_white: #fff;
    --site_border: rgba(40, 42, 49, 0.15);
    --trans: 0.4s ease;
    --heading_font: 'Reloka' ;
} 

.site_container {
/*     width: 100%;
    max-width: calc(1320px + 6%);
    margin-inline: auto; */
    padding-inline: 3%;
}

.woocommerce-shop #page > #content, 
.single-product #page > #content {
    max-width: 100%;
    padding: 0;
    overflow: hidden;
}
.woocommerce-page #page > #content > .row, 
.woocommerce-shop #page > #content > .row, 
.single-product #page > #content > .row {
    margin: 0;
}
.woocommerce-page #page > #content > .row #primary, 
.woocommerce-shop #page > #content > .row > #primary, 
.single-product #page > #content > .row > #primary {
    padding: 0;
}
.woocommerce-page #page > #content > .row #primary, 
.woocommerce-shop #page > #content > .row > #primary .site-main #primary, 
.single-product #page > #content > .row > #primary .site-main #primary {
	width: 100%;
}
.woocommerce-page #page > #content > .row > #primary .site-main #primary > nav.woocommerce-breadcrumb, 
.woocommerce-shop #page > #content > .row > #primary .site-main #primary > nav.woocommerce-breadcrumb, 
.single-product #page > #content > .row > #primary .site-main #primary > nav.woocommerce-breadcrumb, 
.woocommerce-page #page > #content #secondary,
.single-product #page > #content > #secondary {
    display: none;
}

.shop_filter {
    border-bottom: 1px solid var(--site_border);
}

.wpf-wrapper {
    display: flex;
    gap: 0;
    color: var(--site_black);
    font-family: inherit;
}

/* ================= SIDEBAR ================= */

.wpf-sidebar,
.wpf-content, 
.product_single_page {
    padding-block: clamp(32px, 2.78vw, 40px) clamp(48px, 6.94vw, 100px);
}

.wpf-sidebar {
    width: calc(275px + clamp(24px, 2.78vw, 40px));
    flex: 0 0 calc(275px + clamp(24px, 2.78vw, 40px));
    border-right: 1px solid var(--site_border);
    padding-right: clamp(24px, 2.78vw, 40px);
}

.wpf-sidebar-header h3 {
	font-size: 22px;
    line-height: 1.4;
    font-family: var(--heading_font);
	font-weight: 500;
	margin: 0 0 16px;
}

.wpf-filter-block {
    border-top: 1px solid var(--site_border);
    padding: 16px 0;
}

.wpf-filter-block-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	user-select: none;
}

.wpf-toggle-icon {
	font-size: 18px;
	color: var(--site_black);
	line-height: 1;
}

.wpf-filter-block-body {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wpf-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
    line-height: 22px;
	cursor: pointer;
	color: var(--site_black);
}

.wpf-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--site_green) !important;
	cursor: pointer;
    margin-top: -2px;
}

.wpf-checkbox > span {
    opacity: 0.75;
    width: calc(100% - 18px - 8px);
    max-width: max-content;
}

/* Price fields */

.wpf-price-fields {
	display: flex;
	gap: 10px;
	margin-bottom: 0;
}

.wpf-price-field {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.wpf-price-field label {
	font-size: 15px;
    line-height: 22px;
    font-weight: 500;
	color: var(--site_black);
}

.wpf-price-field input {
	width: 100%;
    padding: 8px 14px;
    border: 1px solid var(--site_border);
    border-radius: 30px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    box-sizing: border-box;
}

/* Dual range slider */

.wpf-price-slider-wrap {
	position: relative;
	height: 24px;
	margin-top: 6px;
}

.wpf-slider-track,
.wpf-slider-range {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 4px;
	border-radius: 4px;
}

.wpf-slider-track {
	left: 0;
	right: 0;
	background: #e5e7eb;
}

.wpf-slider-range {
	background: var(--site_green);
}

.wpf-price-slider-wrap input[type="range"] {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	width: 100%;
	margin: 0;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
	height: 4px;
}

.wpf-price-slider-wrap input[type="range"]::-webkit-slider-thumb {
	pointer-events: all;
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--site_white);
	border: 2px solid var(--site_green);
	cursor: pointer;
	position: relative;
	z-index: 2;
}

.wpf-price-slider-wrap input[type="range"]::-moz-range-thumb {
	pointer-events: all;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--site_white);
	border: 2px solid var(--site_green);
	cursor: pointer;
}

.wpf-price-slider-wrap input[type="range"]::-webkit-slider-runnable-track {
	background: transparent;
}

/* Clear all */

.wpf-clear-all-btn {
    margin-top: 16px;
	position: relative;
    padding: 11px 20px;
    background: transparent;
    border: 1px solid var(--site_border);
    border-radius: 6px;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    color: var(--site_black);
    cursor: pointer;
    transition: var(--trans);
}

.wpf-clear-all-btn:hover {
	background: #f7f7f7;
	border-color: #f7f7f7;
}

/* ================= RIGHT CONTENT ================= */

.wpf-content {
	flex: 1;
	min-width: 0;
    padding-left: clamp(24px, 2.78vw, 40px);
}

.wpf-content-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	flex-wrap: wrap;
	gap: 16px 24px;
}

.wpf-total-count, 
.wpf-sort-wrap label {
	font-size: 15px;
    line-height: 22px;
	font-weight: 500;
	color: var(--site_black);
}

.wpf-sort-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wpf-sort-wrap select {
	padding: 11px 20px;
	border: 1px solid var(--site_border);
	border-radius: 6px;
	font-size: 15px;
	line-height: 22px;
	font-weight: 600;
	background: var(--site_white);
	cursor: pointer;
	background: url('/wp-content/uploads/2026/08/arrow.svg')no-repeat calc(100% - 20px) center/10px;
	padding-right: 20px;
	appearance: none;
}

/*select field css*/
.wpf-sort-wrap select:valid {
    color: var(--site_black);
}
.wpf-sort-wrap select option[value=""] {color: var(--site_black);}

.wpf-sort-wrap select option {
    color: var(--site_black);
}
@media (hover: hover) and (pointer: fine) {
    .wpf-sort-wrap select,
    .wpf-sort-wrap select::picker(select) {
        appearance: base-select;
    }

    .wpf-sort-wrap select::picker-icon {
        opacity: 0;
    }

    .wpf-sort-wrap select::picker(select) {
        border: none;
        border-radius: 8px;
        opacity: 0;
        top: calc(anchor(bottom) + 4px);
        left: 0;
    }

    .wpf-sort-wrap select:open::picker(select) {
        opacity: 1;
    }

    .wpf-sort-wrap select option {
        display: flex;
        justify-content: flex-start;
        gap: 20px;
        border: 1px solid #ddd;
        background: rgb(247 247 247 / 50%);
        padding: 10px;
        transition: 0.4s;
    }

    .wpf-sort-wrap select option:first-of-type {
        border-radius: 8px 8px 0 0;
    }

    .wpf-sort-wrap select option:last-of-type {
        border-radius: 0 0 8px 8px;
    }

    .wpf-sort-wrap select option:not(:last-of-type) {
        border-bottom: none;
    }

    .wpf-sort-wrap select option:not(:first-of-type):hover,
    .wpf-sort-wrap select option:focus:not(:first-of-type) {
        background: #e5e5e5;
    }
    .wpf-sort-wrap select option::checkmark {
        display: none;
    }
}

/*select field css end*/

/* Selected filter chips */

.wpf-selected-filters:not(:empty) {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.wpf-filter-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	padding: 5px 10px 5px 12px;
	font-size: 12px;
	color: var(--site_black);
}

.wpf-remove-tag {
	cursor: pointer;
	font-weight: 700;
	color: var(--site_black);
	line-height: 1;
	padding: 0 2px;
}

.wpf-remove-tag:hover {
	color: var(--site_black);
}

/* Product grid */

.wpf-products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 2.22vw, 32px) clamp(12px, 1.39vw, 20px);
	transition: opacity 0.2s ease;
}

.wpf-products-grid.wpf-grid-loading {
	opacity: 0.45;
	pointer-events: none;
}

.wpf-loading-placeholder,
.wpf-no-products {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 0;
	color: var(--site_black);
	font-size: 14px;
}


.wpf-product-link {
	display: block;
	text-decoration: none;
	color: inherit;
    padding: 8px 8px 0;
    background: var(--site_white);
	border: 1px solid var(--site_border);
	border-radius: 16px;
	overflow: hidden;
	transition: var(--trans);
}
.wpf-product-link:focus {
    outline: none;
    border-color: var(--site_green);
}
.wpf-product-link:hover {
    border-color: var(--site_green);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.wpf-product-image {
	position: relative;
	aspect-ratio: 292 / 362;
    border-radius: 12px;
	overflow: hidden;
	background: #f9fafb;
}

.wpf-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
    transition: var(--trans);
}

.wpf-product-card:hover .wpf-product-image img {
    transform: scale(1.04);
}

.wpf-sale-badge {
	position: absolute;
	top: clamp(10px, 1.11vw, 16px);
	left: clamp(10px, 1.11vw, 16px);
	background: var(--site_orange);
	color: var(--site_white);
	font-size: 12px;
    line-height: 1.2;
    letter-spacing: 2%;
	font-weight: 700;
	text-transform: uppercase;
	padding: 6px 10px;
	border-radius: 2px;
	z-index: 2;
}

.wpf-product-info {
	padding: clamp(10px, 1.11vw, 16px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpf-product-title {
	font-size: 16px;
	font-weight: 500;
	margin: 0;
	line-height: 1.4;
	color: var(--site_black);
	/* full length, wraps naturally rather than truncating */
	white-space: normal;
	word-break: break-word;
}

.wpf-product-rating {
	display: flex;
	align-items: center;
	gap: 6px;
}

.wpf-stars {
    display: inline-flex;
    gap: 1px;
    font-size: 20px;
    line-height: 1;
    font-weight: 500;
}

.wpf-star-full {
	color: var(--site_orange);
}

.wpf-star-half {
	position: relative;
	display: inline-block;
	color: #e5e7eb;
}

.wpf-star-half::before {
	content: '\2605';
	position: absolute;
	left: 0;
	top: 0;
	width: 50%;
	overflow: hidden;
	color: var(--site_orange);
}

.wpf-star-empty {
	color: #e5e7eb;
}

.wpf-rating-number {
    font-size: 15px;
    margin-top: 2px;
    line-height: 1.2;
    color: var(--site_black);
    font-weight: 500;
}

.wpf-product-price {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--site_black);
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
}

.wpf-product-price del {
	opacity: 0.75;
	font-weight: 400;
}

.wpf-product-price ins {
	text-decoration: none;
	color: var(--site_black);
}

/* Load more */

.wpf-loadmore-wrap {
	text-align: center;
	margin-top: clamp(24px, 4.17vw, 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 1.67vw, 24px);
}

.wpf-viewed-text {
	font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
	color: var(--site_black);
	margin: 0 0;
}

.wpf-loadmore-btn {
	position: relative;
	padding: 11px 20px;
	background: transparent;
	border: 1px solid var(--site_border);
	border-radius: 6px;
	font-size: 15px;
    line-height: 22px;
	font-weight: 600;
	color: var(--site_black);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: var(--trans);
}

.wpf-loadmore-btn:hover {
	background: var(--site_black);
	color: var(--site_white);
}

.wpf-loadmore-btn .wpf-btn-loader {
	display: none;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(0, 0, 0, 0.2);
	border-top-color: var(--site_black);
	border-radius: 50%;
	animation: wpf-spin 0.6s linear infinite;
}

.wpf-loadmore-btn:hover .wpf-btn-loader {
	border-top-color: var(--site_white);
	border-color: rgba(255, 255, 255, 0.3);
	border-top-color: var(--site_white);
}

.wpf-loadmore-btn.wpf-btn-loading .wpf-btn-text {
	/* filter: blur(2px); */
	opacity: 0.5;
}

.wpf-loadmore-btn.wpf-btn-loading .wpf-btn-loader {
	display: inline-block;
}

.wpf-loadmore-btn:disabled {
	cursor: not-allowed;
}

@keyframes wpf-spin {
	to { transform: rotate(360deg); }
}

.global_service {
/*     padding-block: clamp(48px, 6.94vw, 100px); */
    /* border-top: 1px solid var(--site_border);
    border-bottom: 1px solid var(--site_border); */
}
.global_service .widget_siteorigin-panels-builder {
    margin-bottom: 0;
}

/* ===================================================================
   SINGLE PRODUCT PAGE
   =================================================================== */ 

.wpf-product-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
	align-items: flex-start;
}

/* ---------------- Gallery (left) ---------------- */

.wpf-product-gallery, 
.wpf-product-summary {
	width: calc(50% - 10px);
}

.wpf-main-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--site_border);
    cursor: zoom-in;
    aspect-ratio: 650 / 800;
    background: var(--site_border);
    display: block;
}

.wpf-fancybox-hidden {
	display: none;
}

.wpf-main-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.15s ease-out;
	transform-origin: center center;
}

.wpf-zoom-icon {
	position: absolute;
	bottom: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--site_white);
	color: var(--site_black);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	pointer-events: none;
	z-index: 2;
}

.wpf-thumbnail-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.wpf-thumb-btn {
    width: clamp(50px, 5.69vw, 82px);
    height: auto;
    aspect-ratio: 82 / 101;
    padding: 0;
    border-radius: 6px;
    border: 1px solid var(--site_border);
    overflow: hidden;
    cursor: pointer;
    background: none;
    transition: border-color var(--trans);
}

.wpf-thumb-btn.wpf-active,
.wpf-thumb-btn:hover {
	border-color: var(--site_green);
}

.wpf-thumb-btn img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------------- Lightbox popup ---------------- */

.wpf-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.wpf-lightbox.wpf-active {
	display: flex;
}

.wpf-lightbox-image {
	max-width: 85%;
	max-height: 85vh;
	object-fit: contain;
	border-radius: 6px;
}

.wpf-lightbox-close,
.wpf-lightbox-prev,
.wpf-lightbox-next {
	position: absolute;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: var(--site_white);
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--trans);
}

.wpf-lightbox-close:hover,
.wpf-lightbox-prev:hover,
.wpf-lightbox-next:hover {
	background: rgba(255, 255, 255, 0.25);
}

.wpf-lightbox-close {
	top: 24px;
	right: 24px;
	width: 40px;
	height: 40px;
	font-size: 24px;
}

.wpf-lightbox-prev,
.wpf-lightbox-next {
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	font-size: 18px;
}

.wpf-lightbox-prev {
	left: 24px;
}

.wpf-lightbox-next {
	right: 24px;
}

/* ---------------- Summary (right) ---------------- */
/* Variable product — attribute selects */
.wpf-variations {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: 20px;
}

.wpf-variation-row label {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--site_black);
	margin-bottom: 8px;
}

.wpf-variation-row select, 
.woocommerce div.product form.cart .variations select {
	width: 100%;
	height: 48px;
	padding: 0 46px 0 18px;
	border: none;
	border-radius: 12px;
	background-color: rgba(40, 42, 49, 0.08);
	background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23282A31' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 14px;
	color: var(--site_black);
	cursor: pointer;
}

.wpf-variation-row select:focus {
	outline: 1px solid var(--site_green);
}

.wpf-variations .reset_variations {
	align-self: flex-start;
	font-size: 12px;
	color: var(--site_green);
	text-decoration: underline;
}

/* Selected variation info — price is already shown in the top price row */
.single_variation .woocommerce-variation-price {
	display: none;
}

.single_variation .woocommerce-variation-availability,
.single_variation .woocommerce-variation-description {
	font-size: 13px;
	margin-bottom: 12px;
	color: rgba(40, 42, 49, 0.75);
}

/* Until a variation is chosen, the cart buttons look disabled */
.woocommerce-variation-add-to-cart-disabled .wpf-qty-cart-row,
.woocommerce-variation-add-to-cart-disabled .wpf-buy-now-btn {
	opacity: 0.5;
}

.single_add_to_cart_button.disabled {
	cursor: not-allowed;
}
.wpf-product-summary {
    padding-left: clamp(12px, 2.78vw, 40px);
}

.wpf-product-summary .woocommerce-breadcrumb {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--site_black);
	margin-bottom: 12px;
}

.woocommerce-breadcrumb a {
	color: var(--site_black);
	text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
	color: var(--site_green);
}

.wpf-title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
}

.wpf-product-summary .wpf-product-title {
	font-family: var(--heading_font), serif;
	font-size: clamp(24px, 2.22vw, 32px);
	font-weight: 500;
	color: var(--site_black);
	margin: 0;
	line-height: 1.3;
}
.wpf-product-summary .wpf-wishlist-btn .yith-add-to-wishlist-button-block {
	margin: 0;
}
.wpf-product-summary .wpf-wishlist-btn .yith-wcwl-add-to-wishlist-button {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--site_black);
	transition: border-color var(--trans), color var(--trans);
}
.wpf-product-summary .wpf-wishlist-btn .yith-wcwl-add-to-wishlist-button .yith-wcwl-add-to-wishlist-button__label {
	display: none;
}
.wpf-product-summary .wpf-wishlist-btn a:hover {
	color: var(--site_orange);
}

.wpf-product-summary .wpf-product-rating:not(:empty), 
.wpf-short-description:not(:empty) {
	margin-bottom: 20px;
}

.wpf-short-description {
	font-size: 15px;
	line-height: 1.6;
	color: var(--site_black);
}

.wpf-price-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}

.wpf-price-row del {
	color: var(--site_black);
	font-weight: 500;
	font-size: 14px;
	line-height: 1.4;
	display: block;
	width: 100%;
}

.wpf-price-row ins {
	text-decoration: none;
	font-size: 20px;
	line-height: 1.4;
	font-weight: 600;
	color: var(--site_black);
}

.wpf-discount-badge {
	background: var(--site_orange);
	color: var(--site_white);
	font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.4px;
	padding: 6px 8px 4px;
	border-radius: 2px;
	text-transform: uppercase;
}

.wpf-shipping-note {
	font-size: 14px;
	line-height: 1.4;
	color: var(--site_black);
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--site_border);
}

.wpf-shipping-note a {
	color: var(--site_black);
	text-decoration: underline;
}

/* Cart form row */

.wpf-cart-form {
	margin-bottom: 16px;
}

.wpf-qty-cart-row {
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
}

.wpf-qty-stepper {
	display: flex;
	align-items: center;
	border: 1px solid var(--site_border);
	border-radius: 30px;
	overflow: hidden;
	flex: 0 0 auto;
}

.wpf-qty-stepper .quantity {
	margin: 0;
	display: flex;
}

.wpf-qty-btn {
	width: 40px;
	height: 46px;
	border: none;
	background: none;
	font-size: 18px;
	cursor: pointer;
	color: var(--site_black);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--trans);
}

.wpf-qty-btn:hover {
	background: rgba(40, 42, 49, 0.05);
}
.woocommerce div.product form.cart .wpf-qty-stepper .quantity {
    margin: 0;
    float: none;
    position: relative;
}
.woocommerce .wpf-qty-stepper .quantity input.qty {
	width: 44px;
	height: auto;
	border: none;
	text-align: center;
	font-size: 15px;
	line-height: 1.2;
	font-weight: 500;
	border-left: 1px solid var(--site_border);
	border-right: 1px solid var(--site_border);
	-moz-appearance: textfield;
}

.wpf-qty-stepper input.qty::-webkit-outer-spin-button,
.wpf-qty-stepper input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.wpf-add-to-cart-btn {
	flex: 1;
	border: none;
	border-radius: 30px;
	background: #E9F6F6;
	color: var(--site_green);
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--trans);
}

.wpf-add-to-cart-btn:hover {
	background: rgba(2, 87, 88, 0.2);
}

.wpf-buy-now-btn {
	width: 100%;
	border: none;
	border-radius: 30px;
	background: var(--site_green);
	color: var(--site_white);
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase; 
	padding: 15px;
	cursor: pointer;
	transition: opacity var(--trans);
}

.wpf-buy-now-btn:hover {
	opacity: 0.9;
}

/* Notice widget area (black box — shipping / pickup) */

.wpf-notice-widget-area {
    font-size: 14px;
    line-height: 1.4;
    color: var(--site_green);
    font-weight: 500;
}
.wpf-notice-widget-area:not(:empty) {
    margin-bottom: 20px;
}
.wpf-notice-widget-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wpf-notice-widget-area ul > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.wpf-notice-widget-area ul > li img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.wpf-notice-widget-area ul > li span {
    width: calc(100% - 28px);
}
.wpf-notice-widget-area ul > li:not(:last-child) {
    margin-bottom: 12px;
}
.wpf-notice-widget-item {
	line-height: 1.8;
}

.wpf-notice-widget-item + .wpf-notice-widget-item {
	margin-top: 6px;
}

.wpf-notice-widget-title {
	display: none; /* hide widget titles here — plain lines only */
}

/* Trust badges — 3 column static row */

.wpf-trust-badges-area:not(:empty) {
	margin-bottom: 20px;
}
.all_badges {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 14px;
}
.all_badges > * {
	width: calc((100% - (14px * 2)) / 3);
	border: 1px solid var(--site_border);
	padding: 12px 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	border-radius: 8px;
}
.all_badges img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}
.all_badges span {
	width: calc(100% - 32px - 8px);
	font-size: 14px;
	font-weight: 500;
	color: var(--site_black);
	line-height: 1.4;
}

/* ---------------- Accordion ---------------- */
.wpf-accordion:not(:empty) {
	margin-top: 20px;
}
.wpf-accordion {
    border: 1px solid var(--site_border);
    border-radius: 8px;
}
.wpf-accordion-item:not(:last-child) {
    border-bottom: 1px solid var(--site_border);
}
.wpf-accordion-title {
	display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--site_black);
    user-select: none;
}
.wpf-accordion-icon {
	transition: transform var(--trans);
	color: var(--site_black);
}
.wpf-accordion-item.wpf-active .wpf-accordion-icon {
	transform: rotateX(180deg);
}
.wpf-accordion-body {
    overflow: hidden;
    padding: 0 16px 20px;
}
.wpf-accordion-inner {
    font-size: 14px;
    line-height: 1.6;
    color: var(--site_black);
    font-weight: 500;
}
.wpf-accordion-inner > * {margin: 0;}
.wpf-accordion-inner > *:not(:last-child) {margin: 0 0 10px;}

/* Related products — quick action icons (wishlist + add to cart) */

.wpf-related-products {
	padding: clamp(48px, 6.94vw, 100px) 0 0;
}

.wpf-related-products .wpf-products-grid {
    grid-template-columns: repeat(4, 1fr);
}

.wpf-related-title {
	font-family: var(--heading_font), serif;
	text-align: center;
	font-size: clamp(26px, 2.78vw, 40px);
	line-height: 1.2;
	font-weight: 500;
	color: var(--site_black);
	margin: 0 0 clamp(24px, 2.22vw, 32px);
}
.wpf-related-products .wpf-product-card {
	position: relative;
}
.wpf-related-products .wpf-card-actions {
	position: absolute;
	top: clamp(18px, 1.67vw, 24px);
	right: clamp(18px, 1.67vw, 24px);
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 8px;
	opacity: 0;
	transform: translateX(6px);
	transition: var(--trans);
}
.wpf-product-card:hover .wpf-card-actions {
	opacity: 1;
	transform: translateX(0);
}
.wpf-related-products .wpf-card-action-btn {
	width: clamp(30px, 2.78vw, 40px);
	height: clamp(30px, 2.78vw, 40px);
	border-radius: 50%;
	background: var(--site_white);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--site_black);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	transition: background var(--trans), color var(--trans);
	position: relative;
}
.wpf-related-products  a.added_to_cart.wc-forward {
    display: none;
}
/* .wpf-related-products .wpf-card-action-btn.added {
    pointer-events: none;
}
.wpf-related-products .wpf-card-action-btn.added svg path {
    fill: var(--site_black);
} */
.wpf-related-products .wpf-card-action-btn:hover {
	background: var(--site_green);
	color: var(--site_white);
}
.wpf-related-products .wpf-card-action-btn:focus{outline: none;}
.wpf-related-products .yith-add-to-wishlist-button-block {
	margin: 0;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.wpf-card-wishlist a.add_to_wishlist,
.wpf-card-wishlist .yith-wcwl-add-to-wishlist-button  {
	width: clamp(30px, 2.78vw, 40px);
	height: clamp(30px, 2.78vw, 40px);
	display: flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	background: transparent;
	border: none;
}
.wpf-card-wishlist .yith-wcwl-add-to-wishlist-button__label {
    display: none;
}


/* ===================================================================
   CUSTOMER REVIEWS SECTION
   =================================================================== */

.wpf-reviews-section {
	background: #FBF6EF;
	padding: clamp(48px, 6.94vw, 100px) 0;
}
.wpf-reviews-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 2.22vw, 32px);
    padding-block: clamp(24px, 2.78vw, 40px);
    border-block: 1px solid var(--site_border);
}
.wpf-reviews-divider {
	width: 1px;
	align-self: stretch;
	background: var(--site_border);
}
.wpf-reviews-average {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	flex: 0 0 auto;
}
.wpf-reviews-average-number {
    font-family: var(--heading_font), serif;
    font-size: clamp(32px, 3.75vw, 54px);
    line-height: 1.2;
    font-weight: 500;
    color: var(--site_black);
}
.wpf-reviews-count {
	font-size: 16px;
	line-height: 1.4;
	font-weight: 500;
	color: var(--site_black);
}
.wpf-reviews-breakdown {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 420px;
}
.wpf-breakdown-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--site_black);
}
.wpf-breakdown-star {
	width: 34px;
	flex-shrink: 0;
}
.wpf-breakdown-bar {
	flex: 1;
	height: 8px;
	border-radius: 8px;
	background: rgba(40, 42, 49, 0.1);
	overflow: hidden;
}
.wpf-breakdown-bar-fill {
	height: 100%;
	background: var(--site_orange);
	border-radius: 4px;
}
.wpf-breakdown-count {
	width: 24px;
	text-align: right;
	flex-shrink: 0;
}
.wpf-write-review-btn {
	flex: 0 0 auto;
	padding: 12px 26px;
	border-radius: 30px;
	border: 1px solid var(--site_green);
	background: transparent;
	color: var(--site_green);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--trans), color var(--trans);
	white-space: nowrap;
}
.wpf-write-review-btn:hover {
	background: var(--site_green);
	color: var(--site_white);
}

/* Review cards inside the Slick slider */
.wpf-reviews-slider .slick-list {
    margin: 0 -10px;
	border-radius: 16px;
}
.wpf-reviews-slider .slick-list .slick-track {
    display: flex;
    align-items: stretch;
}
.wpf-reviews-slider .slick-list .slick-track::before, .wpf-reviews-slider .slick-list .slick-track::after {
    display: none;
}
.wpf-reviews-slider .slick-list .slick-track .slick-slide {
    margin: 0 10px;
    height: auto;
}
.wpf-review-card {
    background: var(--site_white);
    border: 1px solid var(--site_border);
    border-radius: 16px;
    padding: 24px;
    display: flex !important;
    flex-direction: column;
    gap: 24px;
}
.wpf-review-text {
	font-size: 15px;
	opacity: 0.75;
	line-height: 1.6;
	font-weight: 500;
	color: var(--site_black);
	margin: 0;
}
.wpf-review-author {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 12px;
}
.wpf-review-avatar {
	border-radius: 50%;
	width: 48px;
	height: 48px;
}
.wpf-review-name {
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
	color: var(--site_black);
}

/* Slick's own default arrows/dots — just recoloring them to match the theme */
.wpf-reviews-slider.slick-dotted.slick-slider {
    margin: clamp(24px, 2.78vw, 40px) 0 0;
}
.wpf-reviews-slider button.slick-arrow {
    width: 32px;
    height: 32px;
    background: #fff url('/wp-content/uploads/2026/08/left-arrow.svg')no-repeat center/14px !important;
    border-radius: 50%;
    padding: 0;
    top: calc(50% - 16px);
    left: -46px;
    z-index: 1;
}
.wpf-reviews-slider button.slick-arrow::after, 
.wpf-reviews-slider button.slick-arrow::before {
    display: none;
}
.wpf-reviews-slider button.slick-arrow:hover {
    background-color: var(--site_border);
}
.wpf-reviews-slider button.slick-next.slick-arrow {
    background-image: url('/wp-content/uploads/2026/08/right-arrow.svg') !important;
    left: auto;
    right: -46px;
}
.wpf-reviews-slider ul.slick-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    position: static;
    margin-top: 32px;
}
.wpf-reviews-slider ul.slick-dots > li {
    width: 6px;
    height: 6px;
    position: relative;
    margin: 0;
    border-radius: 50%;
    background: var(--site_black);
    opacity: 0.5;
    transition: var(--trans);
}
.wpf-reviews-slider ul.slick-dots > li.slick-active {
    opacity: 1;
}
.wpf-reviews-slider ul.slick-dots > li button {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0;
}

/* ---------------- Write a Review Modal ----------------
   Styled here directly (no bootstrap.min.css loaded), driven by
   Bootstrap's real JS modal engine via data-bs-toggle/data-bs-dismiss. */
.single-product .modal {
	position: fixed;
	inset: 0;
	z-index: 1050;
	display: none;
	overflow-y: auto;
}
.single-product .modal.show {
	display: block;
}
.single-product .modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 1040;
}
.single-product .modal-dialog {
	max-width: 520px;
	margin: 60px auto;
	position: relative;
	z-index: 1055;
}
.single-product .modal-content {
	background: var(--site_white);
	border-radius: 10px;
	padding: 24px;
}
.single-product .modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 16px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--site_border);
}
.single-product .modal-title {
	font-family: var(--heading_font), serif;
	font-size: 20px;
	font-weight: 500;
	color: var(--site_black);
	margin: 0;
	padding: 0;
}
.btn-close {
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: var(--site_black);
}
.single-product .modal-body .comment-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.single-product .modal-body #commentform p {
	margin: 0 0;
}
.single-product .modal-body #commentform label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 6px;
	color: var(--site_black);
}
.single-product .modal-body #commentform input[type="text"],
.single-product .modal-body #commentform input[type="email"],
.single-product .modal-body #commentform select,
.single-product .modal-body #commentform textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--site_border);
	border-radius: 6px;
	font-size: 16px;
	line-height: 1.4;
	box-sizing: border-box;
}
.single-product .modal-body .form-submit input#submit {
	font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    letter-spacing: 1px;
    border-radius: 100px !important;
    background: var(--site_black) !important;
    color: var(--site_white) !important;
    border: 1px solid var(--site_border) !important;
    padding: 15px 30px 14px !important;
    width: max-content !important;
    transition: var(--trans) !important;
}
.single-product .modal-body .form-submit input#submit:hover {
	background: var(--site_green) !important;
} 
.single-product .modal-body p.stars a:focus, 
.single-product .modal-body .form-submit input#submit:focus {outline: none !important;}
.single-product .modal-body p.stars a {
	color: var(--site_orange) !important;
}

/* ================= asa RESPONSIVE ================= */
@media (max-width: 1199.98px) {
	.wpf-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 1024px) {
	.global_service .fourbox {
		flex-wrap: wrap !important;
		gap: 20px;
	}
	.global_service .fourbox > .panel-grid-cell {
		width: calc(50% - 10px) !important;
	}
}

@media (max-width: 991.98px) {
	.wpf-wrapper {
		flex-direction: column;
	}
    .wpf-products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
    .wpf-sidebar, .wpf-content {
        padding: clamp(32px, 2.78vw, 40px) 0px;
    }
	.wpf-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--site_border);
		width: 100%;
		flex: none;
	}

	/* Single Product */
	.wpf-main-image-wrap {
		cursor: default;
	}
	.wpf-related-products .wpf-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.wpf-product-summary {
		padding-left: 0;
	}
	.all_badges > * {width: 100%;}
}

@media (max-width: 780px) {
	.global_service .fourbox > .panel-grid-cell {
		width: 100% !important;
	}
	.global_service .fourbox {
		gap: 0px;
	}
	.wpf-product-wrapper {
		flex-direction: column;
	}
	.wpf-product-gallery {
		max-width: 425px;
	}
	.wpf-product-gallery, .wpf-product-summary {
 	   width: 100%;
	}
	.wpf-reviews-summary {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.wpf-reviews-summary > * {
		width: 100%;
		text-align: center;
	}

	.wpf-reviews-average {
		align-items: center;
	}

	.wpf-reviews-divider {
		height: 1px;
		max-width: 200px;
		margin: 0 auto;
	}
}

@media (max-width: 767.98px) {
    .wpf-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.wpf-products-grid, 
	.wpf-related-products .wpf-products-grid {
		grid-template-columns: 1fr;
	}
	.wpf-content-top {
		flex-direction: column;
		align-items: flex-start;
	}

	/* Single Product */
	.wpf-trust-badges-area {
		grid-template-columns: 1fr;
	}
}