/*
Theme Name: Setakflat Child
Description: This is a child theme for Setakflat Theme
Author: Setak
Template: setakflat
Version: 3.0
*/

/* =================================================================
   FONTS
   ================================================================= */

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: 100;
	src: url('https://kolpakperfume.ir/fonts/woff/YekanBakhFaNum-thin.woff') format('woff'),
	url('https://kolpakperfume.ir/fonts/woff2/YekanBakhFaNum-thin.woff2') format('woff2');
}

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: 300;
	src: url('https://kolpakperfume.ir/fonts/woff/YekanBakhFaNum-Light.woff') format('woff'),
	url('https://kolpakperfume.ir/fonts/woff2/YekanBakhFaNum-Light.woff2') format('woff2');
}

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: normal;
	src: url('https://kolpakperfume.ir/fonts/woff/YekanBakhFaNum-Regular.woff') format('woff'),
	url('https://kolpakperfume.ir/fonts/woff2/YekanBakhFaNum-Regular.woff2') format('woff2');
}

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: 600;
	src: url('https://kolpakperfume.ir/fonts/woff/YekanBakhFaNum-SemiBold.woff') format('woff'),
	url('https://kolpakperfume.ir/fonts/woff2/YekanBakhFaNum-SemiBold.woff2') format('woff2');
}

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: bold;
	src: url('https://kolpakperfume.ir/fonts/woff/YekanBakhFaNum-Bold.woff') format('woff'),
	url('https://kolpakperfume.ir/fonts/woff2/YekanBakhFaNum-Bold.woff2') format('woff2');
}

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: 800;
	src: url('https://kolpakperfume.ir/fonts/woff/Yekan Bakh FaNum-ExtraBold.woff') format('woff'),
	url('https://kolpakperfume.ir/fonts/woff2/Yekan Bakh FaNum-ExtraBold.woff2') format('woff2');
}

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: 900;
	src: url('https://kolpakperfume.ir/fonts/woff/Yekan Bakh FaNum-Black.woff') format('woff'),
	url('https://kolpakperfume.ir/fonts/woff2/Yekan Bakh FaNum-Black.woff2') format('woff2');
}

@font-face {
	font-family: Yekan Bakh FaNum;
	font-style: normal;
	font-weight: 950;
	src: url('https://kolpakperfume.ir/fonts/woff/Yekan Bakh FaNum-ExtraBlack.woff') format('woff'),
	url('https://kolpakperfume.ir/fonts/woff2/Yekan Bakh FaNum-ExtraBlack.woff2') format('woff2');
}

@font-face {
	font-family: 'Morabba';
	src: url('https://kolpakperfume.ir/fonts/woff2/Morabba-Bold.woff2') format('woff2');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Morabba';
	src: url('https://kolpakperfume.ir/fonts/woff2/Morabba-Regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Morabba';
	src: url('https://kolpakperfume.ir/fonts/woff2/Morabba-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
}


/* =================================================================
   BASE TYPOGRAPHY & LAYOUT
   ================================================================= */

h1, h2, h3, h4, h5, h6 {
	font-family: 'Morabba' !important;
	letter-spacing: 0.2px;
	color: #660033;
}

h3 {
	font-size: 1.1rem;
}

body.rtl, body.press-this a.wp-switch-editor, a, li, div, section {
	font-family: 'Yekan Bakh FaNum' !important;
	letter-spacing: -.05px;
}

button, input[type="button"], input[type="submit"], .button {
	color: #fff;
	background-color: #DD7E7C;
	border-radius: 100px;
	line-height: 50px;
	padding: 0 25px;
}

#main, #wrapper {
	background-color: #fff;
	position: relative;
}

.shop-container {
	background: #fff;
	padding: 30px;
	border-radius: 30px 0 30px 0;
}


/* =================================================================
   SLIDER
   ================================================================= */

.slider-nav-reveal .flickity-prev-next-button,
.slider-nav-reveal .flickity-prev-next-button:hover {
	background-color: transparent !important;
	box-shadow: none !important;
}

.row-slider.flickity-enabled {
	background: #ffffff;
	padding: 25px 20px 5px !important;
	border-radius: 20px;
}


/* =================================================================
   PRODUCT CARD
   ================================================================= */

.product-small .col-inner {
	background: #ffffff;
	border: 1.5px solid #e8e8e8;
	border-radius: 32px 0 32px 0;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	overflow: hidden;
}

.product-small .product-title {
	margin: 10px 0 !important;
	height: 70px !important;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	line-height: 1.5;
}

.product-small .product-title a {
	font-size: 15px;
	font-weight: 500;
}


.image-fade_in_back {
	box-shadow: 0 15px 10px -5px var(--shadow-color) !important;
	border-radius: 50%;
	margin: 10px;
	min-height: 210px;
}

.image-fade_in_back:hover {
	transform: translateY(-3px) scale(1.03) !important;
	box-shadow: 0 25px 15px -5px var(--shadow-color) !important;
}

/* --- Mobile --- */
@media (max-width: 768px) {
	.image-fade_in_back {
		min-height: 180px;
		margin:5px;
	}
	.product-small .box-image img {
		width: 165px !important;
	}

	.box-text.text-center {
		height: 220px !important;
	}
}


/* =================================================================
   PRODUCT IMAGE
   ================================================================= */

.product-small .box-image {
	overflow: visible !important;
	text-align: center;
	padding-top: inherit !important;
}

.product-small .box-image img {
	border-radius: 0 0 30px 30px !important;
	transition: all 0.4s ease !important;
	padding: 30px !important;
	background: transparent;
	--shadow-color: #000000;
	width: 180px;
	height: auto;
}

/*.product-small .box-image:hover img {
	transform: translateY(-3px) scale(1.03) !important;
	box-shadow: 0 25px 15px -5px var(--shadow-color) !important;
}*/

.product-small:hover .col-inner .box-image {
	animation: rotateBorder 3s linear infinite;
	cursor: pointer;
}

@keyframes rotateBorder {
	0%   { filter: hue-rotate(0deg) brightness(1); }
	50%  { filter: hue-rotate(180deg) brightness(1.1); }
	100% { filter: hue-rotate(360deg) brightness(1); }
}


/* =================================================================
   DISCOUNT BADGE
   ================================================================= */

.kp-discount-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	width: 42px;
	height: 42px;
	background: #d9873e;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: #ffffff;
	z-index: 10;
	box-shadow: 0 3px 10px rgba(177, 101, 99, 0.3);
}


/* =================================================================
   ACTION BUTTONS
   ================================================================= */

.kp-action-buttons {
	display: flex;
	gap: 12px;
	justify-content: center;
	align-items: center;
	position: absolute;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	height: 56px;
	z-index: 6;
	bottom: 8px;
	width: calc(100% - 16px);
	border-radius: 12px;
	padding-top: 16px;
	right: 8px;
	left: 8px;
	opacity: 0;
	transform: translateY(15px);
	visibility: hidden;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.08), 0 -16px 32px rgba(0, 0, 0, 0.06);
}

.product-small:hover .kp-action-buttons {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

/* --- Wishlist Button --- */

.kp-wishlist-btn {
	width: 42px;
	height: 42px;
	cursor: pointer;
	transition: all 0.25s ease;
	position: relative;
	background: transparent;
	color: #565656;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid transparent;
	border-radius: 50%;
	overflow: hidden;
}

.kp-wishlist-btn::before {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(154, 104, 104, 0.15);
	transition: all 0.4s ease;
	z-index: -1;
}

.kp-wishlist-btn:hover::before {
	width: 100%;
	height: 100%;
}

.kp-wishlist-btn svg {
	width: 22px;
	height: 22px;
	stroke: #565656;
	fill: none;
	transition: all 0.25s ease;
}

.kp-wishlist-btn:hover {
	border-color: #9a6868;
	color: #9a6868;
	transform: scale(1.08);
}

.kp-wishlist-btn:hover svg {
	stroke: #9a6868;
	animation: heartBeat 0.6s ease;
}

.kp-wishlist-btn.active {
	border-color: #9a6868;
	background: rgba(154, 104, 104, 0.1);
	color: #9a6868;
}

.kp-wishlist-btn.active svg {
	fill: #9a6868;
	stroke: #9a6868;
}

@keyframes heartBeat {
	0%, 100% { transform: scale(1); }
	25%       { transform: scale(1.2); }
	50%       { transform: scale(0.95); }
	75%       { transform: scale(1.1); }
}

/* --- Add to Cart Button --- */

.kp-add-to-cart {
	height: 42px;
	width: 100px;
	cursor: pointer;
	transition: all 0.25s ease;
	position: relative;
	background: transparent;
	color: #565656;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: 1.5px solid #e0e0e0;
	border-radius: 21px;
	overflow: hidden;
}

.kp-add-to-cart::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, #9a6868, #b57878);
	transition: left 0.3s ease;
	z-index: -1;
}

.kp-add-to-cart:hover::before {
	left: 0;
}

.kp-add-to-cart svg {
	width: 20px;
	height: 20px;
	stroke: #565656;
	transition: all 0.25s ease;
}

.kp-add-to-cart svg circle {
	fill: #565656;
	transition: all 0.25s ease;
}

.kp-add-to-cart span {
	font-size: 14px;
	font-weight: 600;
	transition: all 0.25s ease;
}

.kp-add-to-cart:hover {
	border-color: #9a6868;
	color: #ffffff;
	transform: translateY(-2px);
}

.kp-add-to-cart:hover svg {
	stroke: #ffffff;
}

.kp-add-to-cart:hover svg circle {
	fill: #ffffff;
}

.kp-add-to-cart:hover span {
	letter-spacing: 0.5px;
}

/* --- Added State --- */

.kp-add-to-cart.added {
	border-color: #4caf50;
	color: #4caf50;
}

.kp-add-to-cart.added svg {
	stroke: #4caf50;
}

.kp-add-to-cart.added::before {
	display: none;
}

/* --- Loading State --- */

.kp-wishlist-btn.loading,
.kp-add-to-cart.loading {
	pointer-events: none;
	opacity: 0.5;
}

.kp-wishlist-btn.loading::after,
.kp-add-to-cart.loading::after {
	content: "";
	position: absolute;
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
}

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








/*******************/
/* --- Compare Button --- */
/* --- Compare Wrapper --- */
.kp-compare-wrapper {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Compare Button --- */
.kp-compare-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid transparent;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0;
    line-height: 0;
    z-index: 2;
}

/* --- Compare Icon --- */
.kp-compare-icon {
    stroke: #565656;
    pointer-events: none;
    transition: stroke 0.25s ease;
    z-index: 1;
}

/* --- Hover --- */
.kp-compare-btn:hover {
    border-color: #6868aa;
    transform: scale(1.08);
}

.kp-compare-btn:hover ~ .kp-compare-icon {
    stroke: #6868aa;
}

/* --- Added State --- */
.kp-compare-btn.added {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.kp-compare-btn.added ~ .kp-compare-icon {
    stroke: #4caf50;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .kp-compare-wrapper {
        width: 36px;
        height: 36px;
    }

    .kp-compare-btn {
        width: 36px;
        height: 36px;
    }

    .kp-compare-icon {
        width: 17px;
        height: 17px;
    }
}


/* =================================================================
   RATING STARS
   ================================================================= */

.kp-rating {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 12px 0;
}

.kp-stars {
	display: flex;
	gap: 3px;
}

.kp-stars .star {
	width: 20px;
	height: 20px;
	fill: #ddd;
	transition: fill 0.2s ease;
}

.kp-stars .star.filled {
	fill: #ffcc00;
}

.rating-count {
	font-size: 12px;
	color: #999;
	font-weight: 500;
}

/* --- Mobile --- */
@media (max-width: 768px) {
	.kp-rating {
		margin-top: -27px;
	}
}

/* =================================================================
   PRICE
   ================================================================= */

.kp-price {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin-top: 12px;
}

.price-old {
	font-size: 13px;
	color: #660033;
	opacity: 0.5;
	font-weight: 400;
	text-decoration: line-through;
}

.price-new {
	font-size: 18px;
	font-weight: 700;
	color: #660033;
}

/* --- Mobile --- */
@media (max-width: 768px) {
	.price-new {
		margin-top: -7px;
	}
}

/* =================================================================
   GLOBAL TOAST
   ================================================================= */

#kp-global-toast {
	position: fixed;
	bottom: 24px;
	left: 24px;
	background: #1a1a1a;
	color: #ffffff;
	padding: 14px 20px;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
	max-width: 360px;
	animation: slideInLeft 0.3s ease;
}

.kp-toast-icon {
	color: #4caf50;
	font-size: 16px;
	font-weight: 700;
}

.kp-toast-cart-link {
	color: #ffcc00;
	text-decoration: none;
	font-weight: 600;
	white-space: nowrap;
	margin-right: 4px;
}

.kp-toast-cart-link:hover {
	text-decoration: underline;
}

.kp-toast-close {
	background: none;
	border: none;
	color: #aaa;
	cursor: pointer;
	font-size: 14px;
	padding: 0;
	margin-right: auto;
	line-height: 1;
}

@keyframes slideInLeft {
	from {
		transform: translateX(-120%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}


/* =================================================================
   HEADER & ACCOUNT
   ================================================================= */

.header span.header-account-title {
	color: #996666;
}

.header .header-button:hover span.header-account-title {
	color: #fff;
}

.header a.account-link.account-login.icon.button.circle.is-outline.is-small {
	border-color: #996666;
	line-height: 40px;
	padding: 0 10px;
}

.header i.icon-user {
	color: #996666;
}

.header .header-button:hover i.icon-user {
	color: #fff;
}

.nav-top-link.nav-top-not-logged-in.icon.button.circle.is-outline.is-small {
	padding: 0 10px;
	line-height: 40px;
	border-color: #996666;
	color: #996666;
}

.nav-top-link.nav-top-not-logged-in.icon.button.circle.is-outline.is-small:hover {
	border-color: #CDA598;
	color: #fff;
}

.dashboard-links a {
	font-size: 1rem;
}

.dashboard-links a:hover {
	background-color: #CDA598;
	color: #fff;
}


/* =================================================================
   WOOCOMMERCE BUTTONS
   ================================================================= */

a.button.checkout.wc-forward,
button#place_order,
a.checkout-button.button.alt.wc-forward,
button.single_add_to_cart_button.button.alt {
	background: #996666;
	font-size: 1.2rem;
	font-family: 'Yekan Bakh FaNum' !important;
	font-weight: 400;
}

.badge-inner.secondary.on-sale {
	background: #ee9710;
}

.quantity input[type=number] {
	-webkit-appearance: textfield;
	-moz-appearance: textfield;
	appearance: textfield;
	border-radius: 0 !important;
	font-size: 1em;
	text-align: center;
	height: 54px;
	line-height: 54px;
	width: 64px !important;
}

.price-wrapper {
	margin: 30px auto;
	padding-right: 10px;
}

a.filter-button.uppercase.plain {
	position: absolute;
	margin-top: 40px;
	right: 50px;
	z-index: 9;
}


/* =================================================================
   ACCESSIBILITY
   ================================================================= */

@media (prefers-reduced-motion: reduce) {
	.kp-action-buttons,
	.kp-wishlist-btn,
	.kp-add-to-cart {
		transition: none;
		animation: none;
	}
}


/* =================================================================
   RESPONSIVE - MOBILE
   ================================================================= */

@media (max-width: 768px) {

	.row-small > .col,
	.row-small > .flickity-viewport > .flickity-slider > .col {
		padding: 0 5px 19.6px;
	}

	.account-link-mobile.icon.button.circle.is-outline.is-small {
		font-size: 24px;
		border: none !important;
		margin: 0;
		min-width: 28px;
	}

	.home #main {
		padding-top: 60px;
	}

	.shop-container {
		padding: 7px;
		border-radius: 30px 0 30px 0;
	}

	a.filter-button.uppercase.plain {
		position: absolute;
		top: -92px;
		right: 7px;
		z-index: 9999;
		border: solid 1px #d9d9d9;
		padding: 10px 7px;
		border-radius: 20px;
		background: #EEE5DB;
		font-size: 0.9rem;
		font-weight: 300 !important;
	}

	.archive header .searchform {
		margin-right: 60px !important;
	}

	.kp-action-buttons {
		opacity: 1;
		transform: translateY(0);
		visibility: visible;
		height: 48px;
		bottom: 6px;
		padding-top: 10px;
		gap: 8px;
	}

	.kp-action-buttons button {
		padding: 5px;
	}

	.kp-wishlist-btn {
		width: 36px;
		height: 36px;
	}

	.kp-wishlist-btn svg {
		width: 18px;
		height: 18px;
	}

	.kp-add-to-cart {
		height: 36px;
		width: 90px;
	}

	.kp-add-to-cart svg {
		width: 17px;
		height: 17px;
	}

	.kp-add-to-cart span {
		font-size: 13px;
	}

	#kp-global-toast {
		bottom: 16px;
		left: 12px;
		right: 12px;
		max-width: 100%;
		font-size: 13px;
	}
}






/**************/
/* =============================================
   Wishlist Page — List Layout
   ============================================= */

/* صفحه اصلی */
.kp-wishlist-page {
    padding: 2rem 0 4rem;
}

.kp-wishlist-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #222;
}

/* حالت خالی */
.kp-wishlist-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 4rem 1rem;
    color: #888;
    text-align: center;
}

.kp-wishlist-empty p {
    font-size: 1rem;
    margin: 0;
}

.kp-wishlist-empty .button {
	display: inline-block;
	color: #fff;
	border-radius: 6px;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background 0.2s;
}

.kp-wishlist-empty .button:hover {
    background: #444;
}

/* =============================================
   لیست آیتم‌ها
   ============================================= */
.kp-wishlist-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
}

/* هر ردیف */
.kp-wishlist-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.kp-wishlist-item:last-child {
    border-bottom: none;
}

.kp-wishlist-item:hover {
    background: #fafafa;
}

/* تصویر */
.kp-wishlist-item__image {
    display: block;
    width: 90px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #efefef;
}

.kp-wishlist-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* اطلاعات */
.kp-wishlist-item__info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.kp-wishlist-item__name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    line-height: 1.4;

    /* برش متن طولانی */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kp-wishlist-item__name:hover {
    color: #000;
    text-decoration: underline;
}

.kp-wishlist-item__price {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.kp-wishlist-item__price .woocommerce-Price-amount {
    color: #e53935;
}

.kp-wishlist-item__price del {
    color: #aaa;
    font-weight: 400;
    margin-left: 0.4rem;
}

/* دکمه‌های عملیات */
.kp-wishlist-item__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* دکمه افزودن به سبد (WooCommerce) */
.kp-wishlist-item__actions .button, .kp-wishlist-item__actions .add_to_cart_button {
	white-space: nowrap;
	font-size: 0.8rem;
	color: #fff !important;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s;
	text-decoration: none;
}

.kp-wishlist-item__actions .button:hover,
.kp-wishlist-item__actions .add_to_cart_button:hover {
    background: #444;
}

/* دکمه حذف */
.kp-wishlist-remove {
	width: 40px;
	height: 30px;
	background: #DD7E7C;
	border-radius: 50%;
	cursor: pointer;
	transition: color 0.2s, border-color 0.2s, background 0.2s;
	position: absolute;
	z-index: 999999;
	color: #fff;
	margin-top: -70px;
	margin-right: -15px;
	line-height: 30px;
	display: block;
	padding: 0;
	padding-top: 7px;
}

.kp-wishlist-remove:hover {
    color: #e53935;
    border-color: #e53935;
    background: #fff5f5;
}

/* =============================================
   موبایل — زیر ۶۰۰px
   ============================================= */
@media (max-width: 600px) {

    .kp-wishlist-page {
        padding: 1rem 0 3rem;
    }

    .kp-wishlist-title {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    .kp-wishlist-grid {
        border-radius: 8px;
    }

    /* ردیف موبایل: تصویر + اطلاعات در یک خط، دکمه‌ها زیر */
    .kp-wishlist-item {
        grid-template-columns: 70px 1fr;
        grid-template-rows: auto auto;
        gap: 0.6rem 0.75rem;
        padding: 0.85rem 1rem;
    }

    .kp-wishlist-item__image {
        width: 70px;
        height: 70px;
        grid-row: 1 / 2;
        grid-column: 1 / 2;
    }

    .kp-wishlist-item__info {
        grid-row: 1 / 2;
        grid-column: 2 / 3;
    }

    /* دکمه‌ها زیر تصویر و اطلاعات، تمام عرض */
    .kp-wishlist-item__actions {
        grid-row: 2 / 3;
        grid-column: 1 / 3;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-top: 0.5rem;
        border-top: 1px solid #f3f3f3;
    }

    .kp-wishlist-item__actions .button,
    .kp-wishlist-item__actions .add_to_cart_button {
        flex: 1;
        text-align: center;
    }

    .kp-wishlist-remove {
        flex-shrink: 0;
    }

    .kp-wishlist-item__name {
        font-size: 0.88rem;
    }

    .kp-wishlist-item__price {
        font-size: 0.85rem;
    }
}





/*********************/
/* ======= KOLPAK TOPBAR — Flatsome Safe ======= */

#kolpak-topbar,
#kolpak-topbar *,
#kolpak-topbar *::before,
#kolpak-topbar *::after {
  box-sizing: border-box !important;
}

#kolpak-topbar {
  display: flex !important;
  position: relative !important;
  width: 100% !important;
  height: 60px !important;
  min-height: 60px !important;
  max-height: 60px !important;
  background: #7B1C3A !important;
  overflow: hidden !important;
  z-index: 999999 !important;
  direction: rtl !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

#kolpak-topbar.ktb-hidden {
  display: none !important;
}

/* Gold shimmer top line */
#kolpak-topbar::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important; left: -100% !important; right: auto !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #D4A847, transparent) !important;
  animation: ktb-shimmer 2.5s linear infinite !important;
  z-index: 1 !important;
}

@keyframes ktb-shimmer {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* Decorative blobs */
#kolpak-topbar .ktb-blob {
  position: absolute !important;
  border-radius: 50% !important;
  filter: blur(35px) !important;
  opacity: 0.15 !important;
  pointer-events: none !important;
}
#kolpak-topbar .ktb-blob-l {
  width: 180px !important; height: 180px !important;
  background: #D4A847 !important;
  top: -80px !important; right: -20px !important;
}
#kolpak-topbar .ktb-blob-r {
  width: 120px !important; height: 120px !important;
  background: #C94070 !important;
  top: -50px !important; left: 15% !important;
}

/* Close button */
#kolpak-topbar #ktb-close {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 26px !important; height: 26px !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 13px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  transition: background 0.2s !important;
  flex-shrink: 0 !important;
  z-index: 10 !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
}
#kolpak-topbar #ktb-close:hover {
  background: rgba(255,255,255,0.25) !important;
}

/* Dots */
#kolpak-topbar #ktb-dots {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  gap: 5px !important;
  align-items: center !important;
  z-index: 10 !important;
}
#kolpak-topbar .ktb-dot {
  width: 6px !important; height: 6px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.3) !important;
  cursor: pointer !important;
  transition: all 0.35s ease !important;
  display: block !important;
}
#kolpak-topbar .ktb-dot.ktb-active {
  background: #D4A847 !important;
  width: 18px !important;
  border-radius: 3px !important;
}

/* Slider wrapper */
#kolpak-topbar #ktb-slider {
  position: absolute !important;
  top: 0 !important; bottom: 0 !important;
  left: 50px !important; right: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

/* Individual slides */
#kolpak-topbar .ktb-slide {
  position: absolute !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  opacity: 0 !important;
  transform: translateY(20px) !important;
  transition: opacity 0.45s ease, transform 0.45s ease !important;
  pointer-events: none !important;
  flex-wrap: nowrap !important;
}
#kolpak-topbar .ktb-slide.ktb-active {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}
#kolpak-topbar .ktb-slide.ktb-exit {
  opacity: 0 !important;
  transform: translateY(-20px) !important;
}

/* Icon */
#kolpak-topbar .ktb-icon {
  font-size: 18px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

/* Text */
#kolpak-topbar .ktb-text {
  color: #fff !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  text-shadow: none !important;
}
#kolpak-topbar .ktb-text b {
  color: #F5CE70 !important;
  font-weight: 700 !important;
}
#kolpak-topbar .ktb-text span.ktb-muted {
  color: rgba(255,255,255,0.65) !important;
  font-size: 12px !important;
}

/* CTA Button */
#kolpak-topbar .ktb-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(255,255,255,0.13) !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  color: #fff !important;
  padding: 5px 14px !important;
  border-radius: 30px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 0.2s, border-color 0.2s !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}
#kolpak-topbar .ktb-cta:hover {
  background: rgba(255,255,255,0.25) !important;
  border-color: #D4A847 !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* Separator */
#kolpak-topbar .ktb-sep {
  width: 4px !important; height: 4px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.3) !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  #kolpak-topbar .ktb-text { font-size: 12px !important; white-space: normal !important; text-align: center !important; }
  #kolpak-topbar .ktb-cta  { font-size: 11px !important; padding: 4px 10px !important; }
  #kolpak-topbar .ktb-icon { display: none !important; }
  #kolpak-topbar #ktb-close { left: 8px !important; }
  #kolpak-topbar #ktb-dots  { right: 8px !important; }
}
@media (max-width: 480px) {
  #kolpak-topbar .ktb-cta  { display: none !important; }
  #kolpak-topbar .ktb-sep  { display: none !important; }
  #kolpak-topbar .ktb-text { font-size: 11.5px !important; }
}



/***************/
/***************/
/***************/
   :root {
      --maroon:       #6b1a2b;
      --maroon-dark:  #4e1020;
      --maroon-light: #8c2438;
      --cream:        #faf4ec;
      --cream-dark:   #f0e8d9;
      --cream-deeper: #e8ddd0;
      --text:         #2a1a1e;
      --text-muted:   #7a6065;
      --gold:         #c9a96e;
      --white:        #ffffff;
    }
 
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
    body {
      font-family: 'Vazirmatn', sans-serif;
      background-color: var(--cream);
      color: var(--text);
      direction: rtl;
      line-height: 1.8;
      overflow-x: hidden;
    }
 
    /* ═══════════════════════════════
       HERO SECTION
    ═══════════════════════════════ */
    .hero {
      background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 60%, #9e2d42 100%);
      color: var(--white);
      padding: 90px 60px 100px;
      position: relative;
      overflow: hidden;
      text-align: center;
    }
 
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 700px 400px at 20% 80%, rgba(201,169,110,.12) 0%, transparent 70%),
        radial-gradient(ellipse 500px 300px at 80% 20%, rgba(255,255,255,.05) 0%, transparent 60%);
      pointer-events: none;
    }
 
    .hero-ornament {
      position: absolute;
      top: -60px; left: -60px;
      width: 320px; height: 320px;
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 50%;
    }
    .hero-ornament-2 {
      position: absolute;
      bottom: -80px; right: -80px;
      width: 400px; height: 400px;
      border: 1px solid rgba(201,169,110,.15);
      border-radius: 50%;
    }
 
    .hero-badge {
      display: inline-block;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.25);
      color: var(--gold);
      font-size: .8rem;
      font-weight: 600;
      letter-spacing: .08em;
      padding: 6px 20px;
      border-radius: 30px;
      margin-bottom: 28px;
      backdrop-filter: blur(6px);
    }
 
    .hero h1 {
      font-size: clamp(2rem, 5vw, 3.2rem);
      font-weight: 800;
      line-height: 1.4;
      margin-bottom: 20px;
      position: relative;
    }
 
    .hero h1 span {
      color: var(--gold);
    }
 
    .hero-sub {
      font-size: 1.05rem;
      font-weight: 300;
      color: rgba(255,255,255,.78);
      max-width: 620px;
      margin: 0 auto 40px;
    }
 
    .hero-divider {
      width: 80px;
      height: 3px;
      background: linear-gradient(90deg, var(--gold), transparent);
      margin: 0 auto;
      border-radius: 2px;
    }
 
    /* ═══════════════════════════════
       STATS BAR
    ═══════════════════════════════ */
    .stats-bar {
      background: var(--white);
      box-shadow: 0 4px 30px rgba(107,26,43,.08);
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0;
    }
 
    .stat-item {
      flex: 1;
      min-width: 180px;
      max-width: 260px;
      padding: 36px 24px;
      text-align: center;
      border-left: 1px solid var(--cream-dark);
      transition: background .25s;
    }
    .stat-item:last-child { border-left: none; }
    .stat-item:hover { background: var(--cream); }
 
    .stat-num {
      font-size: 2.4rem;
      font-weight: 800;
      color: var(--maroon);
      line-height: 1;
      display: block;
    }
    .stat-label {
      font-size: .85rem;
      color: var(--text-muted);
      margin-top: 6px;
      font-weight: 500;
    }
 
    /* ═══════════════════════════════
       SECTION COMMONS
    ═══════════════════════════════ */
    section {
      padding: 90px 60px;
    }
 
    .section-tag {
      display: inline-block;
      color: var(--maroon);
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      border-bottom: 2px solid var(--gold);
      padding-bottom: 4px;
      margin-bottom: 18px;
    }
 
    .section-title {
      font-size: clamp(1.6rem, 3.5vw, 2.4rem);
      font-weight: 800;
      color: var(--maroon-dark);
      line-height: 1.4;
      margin-bottom: 20px;
    }
 
    .section-body {
      font-size: 1rem;
      color: var(--text-muted);
      line-height: 2;
      max-width: 560px;
    }
 
    /* ═══════════════════════════════
       INTRO SPLIT
    ═══════════════════════════════ */
    .intro {
      background: var(--cream);
    }
 
    .intro-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
    }
 
    .intro-visual {
      position: relative;
    }
 
    .intro-card {
      background: var(--white);
      border-radius: 24px;
      padding: 50px 44px;
      box-shadow: 0 8px 50px rgba(107,26,43,.1);
      position: relative;
      overflow: hidden;
    }
 
    .intro-card::before {
      content: '';
      position: absolute;
      top: 0; right: 0;
      width: 140px; height: 140px;
      background: linear-gradient(225deg, var(--maroon) 0%, transparent 65%);
      border-radius: 0 24px 0 100%;
      opacity: .07;
    }
 
    .intro-card::after {
      content: '"';
      position: absolute;
      top: 20px; right: 36px;
      font-size: 7rem;
      color: var(--maroon);
      opacity: .06;
      line-height: 1;
      font-family: Georgia, serif;
    }
 
    .intro-year {
      font-size: 5rem;
      font-weight: 800;
      color: var(--maroon);
      opacity: .08;
      position: absolute;
      bottom: 20px;
      left: 30px;
      line-height: 1;
      user-select: none;
    }
 
    .intro-card p {
      font-size: 1.05rem;
      color: var(--text);
      line-height: 2;
      position: relative;
      z-index: 1;
    }
 
    .badge-row {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 28px;
    }
 
    .badge {
      background: var(--cream);
      border: 1.5px solid var(--cream-deeper);
      color: var(--maroon);
      font-size: .78rem;
      font-weight: 600;
      padding: 6px 16px;
      border-radius: 20px;
    }
 
    /* ═══════════════════════════════
       QUALITY SECTION
    ═══════════════════════════════ */
    .quality {
      background: var(--maroon);
      color: var(--white);
      position: relative;
      overflow: hidden;
    }
 
    .quality::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 800px 500px at 90% 50%, rgba(201,169,110,.08) 0%, transparent 65%);
    }
 
    .quality-inner {
      max-width: 1200px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }
 
    .quality .section-title { color: var(--white); }
    .quality .section-body  { color: rgba(255,255,255,.72); max-width: 100%; }
    .quality .section-tag   { color: var(--gold); border-color: var(--gold); }
 
    .quality-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: start;
      margin-top: 0;
    }
 
    .quality-features {
      display: grid;
      gap: 28px;
      margin-top: 40px;
    }
 
    .feature-item {
      display: flex;
      gap: 20px;
      align-items: flex-start;
    }
 
    .feature-icon {
      width: 52px; height: 52px;
      min-width: 52px;
      background: rgba(255,255,255,.1);
      border: 1px solid rgba(255,255,255,.15);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
    }
 
    .feature-text h4 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 6px;
      color: var(--gold);
    }
 
    .feature-text p {
      font-size: .9rem;
      color: rgba(255,255,255,.68);
      line-height: 1.8;
    }
 
    /* ═══════════════════════════════
       PACKAGING SECTION
    ═══════════════════════════════ */
    .packaging {
      background: var(--cream-dark);
    }
 
    .packaging-inner {
      max-width: 1200px;
      margin: 0 auto;
    }
 
    .packaging-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
 
    .pack-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
 
    .pack-card {
      background: var(--white);
      border-radius: 18px;
      padding: 28px 22px;
      box-shadow: 0 4px 20px rgba(107,26,43,.07);
      transition: transform .25s, box-shadow .25s;
      position: relative;
      overflow: hidden;
    }
 
    .pack-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(107,26,43,.14);
    }
 
    .pack-card::after {
      content: '';
      position: absolute;
      bottom: 0; right: 0;
      width: 60px; height: 3px;
      background: var(--maroon);
      border-radius: 2px 0 0 0;
    }
 
    .pack-card-icon {
      font-size: 2rem;
      margin-bottom: 14px;
    }
 
    .pack-card h4 {
      font-size: .95rem;
      font-weight: 700;
      color: var(--maroon-dark);
      margin-bottom: 8px;
    }
 
    .pack-card p {
      font-size: .82rem;
      color: var(--text-muted);
      line-height: 1.8;
    }
 
    .pack-card.featured {
      background: var(--maroon);
      grid-column: span 2;
    }
 
    .pack-card.featured h4,
    .pack-card.featured p { color: var(--white); }
    .pack-card.featured p { color: rgba(255,255,255,.7); }
    .pack-card.featured::after { background: var(--gold); }
 
    /* ═══════════════════════════════
       CERTIFICATIONS
    ═══════════════════════════════ */
    .certs {
      background: var(--white);
      padding: 70px 60px;
      text-align: center;
    }
 
    .certs-inner {
      max-width: 900px;
      margin: 0 auto;
    }
 
    .certs h2 {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--maroon-dark);
      margin-bottom: 50px;
    }
 
    .certs-row {
      display: flex;
      justify-content: center;
      gap: 30px;
      flex-wrap: wrap;
    }
 
    .cert-box {
      background: var(--cream);
      border: 2px solid var(--cream-deeper);
      border-radius: 16px;
      padding: 28px 36px;
      min-width: 180px;
      transition: border-color .25s, transform .25s;
    }
 
    .cert-box:hover {
      border-color: var(--maroon);
      transform: translateY(-3px);
    }
 
    .cert-box .cert-icon { font-size: 2.2rem; margin-bottom: 10px; }
    .cert-box .cert-name {
      font-size: .88rem;
      font-weight: 700;
      color: var(--maroon);
    }
 
    /* ═══════════════════════════════
       CTA
    ═══════════════════════════════ */
    .cta {
      background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
      color: var(--white);
      text-align: center;
      padding: 80px 60px;
      position: relative;
      overflow: hidden;
    }
 
    .cta::before {
      content: 'KOLPAK';
      position: absolute;
      font-size: 14rem;
      font-weight: 900;
      color: rgba(255,255,255,.03);
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      white-space: nowrap;
      pointer-events: none;
      letter-spacing: .1em;
    }
 
    .cta h2 {
      font-size: 2rem;
      font-weight: 800;
      margin-bottom: 16px;
      position: relative;
    }
 
    .cta p {
      color: rgba(255,255,255,.72);
      margin-bottom: 40px;
      font-size: 1rem;
      position: relative;
    }
 
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--white);
      color: var(--maroon);
      font-family: 'Vazirmatn', sans-serif;
      font-size: .95rem;
      font-weight: 700;
      padding: 14px 36px;
      border-radius: 50px;
      border: none;
      cursor: pointer;
      text-decoration: none;
      transition: background .25s, transform .2s, box-shadow .25s;
      position: relative;
    }
 
    .btn:hover {
      background: var(--gold);
      color: var(--white);
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(0,0,0,.25);
    }
 
    .btn-outline {
      background: transparent;
      color: var(--white);
      border: 2px solid rgba(255,255,255,.4);
      margin-right: 16px;
    }
 
    .btn-outline:hover {
      background: rgba(255,255,255,.1);
      color: var(--white);
      border-color: var(--white);
    }
 
    /* ═══════════════════════════════
       RESPONSIVE
    ═══════════════════════════════ */
    @media (max-width: 900px) {
      section { padding: 60px 30px; }
      .hero { padding: 60px 30px 70px; }
      .intro-grid,
      .quality-grid,
      .packaging-grid { grid-template-columns: 1fr; gap: 40px; }
      .stats-bar { flex-direction: column; align-items: center; }
      .stat-item { border-left: none; border-bottom: 1px solid var(--cream-dark); width: 100%; max-width: 100%; }
    }
 
    @media (max-width: 560px) {
      .pack-cards { grid-template-columns: 1fr; }
      .pack-card.featured { grid-column: span 1; }
      .certs { padding: 50px 20px; }
    }
 
    /* ═══════════════════════════════
       ENTRANCE ANIMATIONS
    ═══════════════════════════════ */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }
 
    .hero h1, .hero-badge, .hero-sub { animation: fadeUp .7s ease both; }
    .hero h1        { animation-delay: .1s; }
    .hero-badge     { animation-delay: .0s; }
    .hero-sub       { animation-delay: .2s; }
    .hero-divider   { animation: fadeUp .5s .35s ease both; }