:root {
	--kc-bg: #f5f6f8;
	--kc-card: #ffffff;
	--kc-soft: #fff8eb;
	--kc-ink: #071527;
	--kc-muted: #697386;
	--kc-line: #e2e8f0;
	--kc-gold: #f2a000;
	--kc-gold-dark: #b87400;
	--kc-purple: #5b38f4;
	--kc-green: #0f8a6a;
	--kc-red: #ef4056;
	--kc-navy: #071527;
	--kc-shell: min(1120px, calc(100% - 32px));
}

/* Ketabbin v1.4.17: hard mobile containment for cart/checkout and reliable quantity controls. */
html,
body {
	max-width: 100% !important;
	overflow-x: hidden !important;
}
body.woocommerce-cart .kc-cart,
body.woocommerce-cart .kc-cart-panel,
body.woocommerce-cart .kc-cart-items,
body.woocommerce-cart .kc-cart-item,
body.woocommerce-cart .kc-cart-summary-wrap,
body.woocommerce-checkout .kc-main,
body.woocommerce-checkout .kc-content,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout form.checkout,
body.woocommerce-checkout form.checkout > *,
body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .col2-set > *,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order {
	box-sizing: border-box !important;
	min-width: 0 !important;
	max-width: 100% !important;
}
body.woocommerce-cart .kc-native-quantity input.qty {
	display: block !important;
	opacity: 0 !important;
	pointer-events: none !important;
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
}

@media (max-width: 760px) {
	body.woocommerce-cart .kc-shell,
	body.woocommerce-checkout .kc-shell,
	body.woocommerce-cart .kc-main,
	body.woocommerce-checkout .kc-main,
	body.woocommerce-cart .kc-content,
	body.woocommerce-checkout .kc-content,
	body.woocommerce-cart .woocommerce,
	body.woocommerce-checkout .woocommerce {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding-right: 6px !important;
		padding-left: 6px !important;
		transform: none !important;
	}
	body.woocommerce-cart .woocommerce-cart-form.kc-cart,
	body.woocommerce-cart .kc-cart-summary-wrap,
	body.woocommerce-checkout form.checkout,
	body.woocommerce-checkout .col2-set,
	body.woocommerce-checkout .col2-set .col-1,
	body.woocommerce-checkout .col2-set .col-2,
	body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
	body.woocommerce-checkout .woocommerce-shipping-fields,
	body.woocommerce-checkout .woocommerce-additional-fields,
	body.woocommerce-checkout #order_review {
		display: block !important;
		float: none !important;
		clear: both !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		transform: none !important;
	}
	body.woocommerce-checkout .woocommerce-billing-fields,
	body.woocommerce-checkout .woocommerce-additional-fields,
	body.woocommerce-checkout #order_review,
	body.woocommerce-checkout .woocommerce-checkout-review-order {
		width: 100% !important;
		max-width: 100% !important;
		padding: 16px 12px !important;
		overflow: hidden !important;
	}
	body.woocommerce-checkout .form-row,
	body.woocommerce-checkout p.form-row,
	body.woocommerce-checkout .form-row-first,
	body.woocommerce-checkout .form-row-last,
	body.woocommerce-checkout .form-row-wide {
		display: block !important;
		float: none !important;
		clear: both !important;
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 0 14px !important;
		padding: 0 !important;
		transform: none !important;
	}
	body.woocommerce-checkout .form-row label {
		display: block !important;
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 0 7px !important;
		padding: 0 !important;
		text-align: right !important;
		white-space: normal !important;
	}
	body.woocommerce-checkout .woocommerce-input-wrapper,
	body.woocommerce-checkout input.input-text,
	body.woocommerce-checkout textarea,
	body.woocommerce-checkout select,
	body.woocommerce-checkout .select2-container,
	body.woocommerce-checkout .select2-container .selection,
	body.woocommerce-checkout .select2-container--default .select2-selection--single {
		display: block !important;
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		transform: none !important;
	}
	body.woocommerce-cart .kc-cart-panel,
	body.woocommerce-cart .kc-cart-summary-wrap .cart_totals {
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		padding-right: 12px !important;
		padding-left: 12px !important;
	}
	body.woocommerce-cart .kc-cart-item {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		grid-template-columns: minmax(0, 1fr) 78px !important;
		gap: 10px !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		padding: 14px 10px !important;
	}
	body.woocommerce-cart .kc-cart-item__controls,
	body.woocommerce-cart .kc-cart-item__selected,
	body.woocommerce-cart .kc-cart-item__remove,
	body.woocommerce-cart .kc-cart-item__price {
		box-sizing: border-box !important;
		max-width: 100% !important;
	}
	body.woocommerce-cart .kc-cart-item__selected,
	body.woocommerce-cart .kc-cart-item__remove {
		width: min(100%, 270px) !important;
		margin-right: auto !important;
		margin-left: auto !important;
	}
	body.woocommerce-cart .kc-quantity-control {
		width: min(100%, 210px) !important;
		max-width: 210px !important;
		margin-right: auto !important;
		margin-left: auto !important;
	}
	body.woocommerce-checkout .ketabbin-support-fab {
		right: auto !important;
		left: 12px !important;
		bottom: 94px !important;
	}
}

@media (max-width: 390px) {
	body.woocommerce-cart .kc-cart-item {
		grid-template-columns: minmax(0, 1fr) 70px !important;
		padding: 12px 8px !important;
	}
	body.woocommerce-checkout .woocommerce-billing-fields,
	body.woocommerce-checkout .woocommerce-additional-fields,
	body.woocommerce-checkout #order_review,
	body.woocommerce-checkout .woocommerce-checkout-review-order {
		padding-right: 10px !important;
		padding-left: 10px !important;
		border-radius: 18px !important;
	}
}

/* Ketabbin v1.6.1 — compact installment badges above product price. */
.kbp-installment-badges {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 8px;
	margin: 0 0 14px;
}

.kbp-installment-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 0;
	min-height: 46px;
	padding: 7px 9px;
	border: 1px solid rgba(12,35,64,.11);
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 7px 18px rgba(12,35,64,.05);
}

.kbp-installment-badge img {
	display: block;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	border-radius: 8px;
	object-fit: contain;
	background: #fff;
}

.kbp-installment-badge b {
	min-width: 0;
	color: #07182d;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.55;
}

.kc-payment-trust--digipay .kc-payment-trust__mark {
	background: #eef3ff;
}

@media (max-width: 620px) {
	.kbp-installment-badges {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	.kbp-installment-badge {
		justify-content: flex-start;
		min-height: 42px;
	}
}

/* Launch polish: shop filters, checkout progress and truthful product metadata. */
.kc-shop-filters__toggle { display: none; }
.kc-shop-filters__clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 16px;
	border: 1px solid #e6d5b0;
	border-radius: 14px;
	color: #8b5b10;
	font-weight: 800;
	text-decoration: none;
}
.kc-product-card__meta span:last-child,
.kbp-summary__badges .kbp-badge { white-space: nowrap; }
.ketabbin-checkout-steps > span { transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.ketabbin-checkout-steps > span.is-complete { border-color: #8fd9bd; background: #effcf6; color: #087552; }
.ketabbin-checkout-steps > span.is-complete b { background: #087552; color: #fff; }
.woocommerce-checkout-review-order {
	position: sticky;
	top: 18px;
	align-self: start;
}
.kc-categories a small { display: block; margin-top: 3px; color: #7b8492; font-size: 11px; }

@media (max-width: 760px) {
	.kc-shop-filters__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		margin: 8px 0 12px;
		padding: 0 16px;
		border: 1px solid rgba(212,170,87,.45);
		border-radius: 16px;
		background: #07182d;
		color: #fff;
		font: inherit;
		font-weight: 900;
	}
	.kc-shop-filters__toggle::after { content: '+'; font-size: 22px; }
	.kc-shop-filters__toggle[aria-expanded="true"]::after { content: '−'; }
	.kc-shop-filters { display: none !important; }
	.kc-shop-filters.is-open { display: grid !important; grid-template-columns: 1fr !important; }
	.kc-shop-filters label,
	.kc-shop-filters input,
	.kc-shop-filters select,
	.kc-shop-filters button,
	.kc-shop-filters__clear { width: 100%; max-width: none; }
	.woocommerce-checkout-review-order { position: static; }
	.ketabbin-checkout-steps { overflow-x: auto; scroll-snap-type: x proximity; }
	.ketabbin-checkout-steps > span { min-width: 150px; scroll-snap-align: start; }
	.kbp-single__hero,
	.kbp-summary,
	.kbp-gallery,
	.kbp-card,
	.kc-cart-item,
	.kc-cart-order-snapshot { min-width: 0 !important; max-width: 100% !important; }
	.kbp-summary__facts { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 390px) {
	.kbp-summary__facts { grid-template-columns: 1fr !important; }
	.ketabbin-checkout-steps > span { min-width: 132px; font-size: 12px; }
}

.kc-btn--disabled {
	background: #eef1f5 !important;
	color: #667085 !important;
	border-color: #dfe3e8 !important;
	box-shadow: none !important;
	cursor: not-allowed !important;
}

/* Ketabbin v1.4.95: polished product page, desktop bottom navigation and lean buying flow. */
body.single-product {
	background: #f7f8fb !important;
	padding-bottom: 108px !important;
}

body.single-product .kc-mobile-nav {
	right: 50% !important;
	left: auto !important;
	bottom: max(18px, env(safe-area-inset-bottom)) !important;
	width: min(760px, calc(100vw - 44px)) !important;
	min-height: 62px !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	gap: 4px !important;
	padding: 7px !important;
	border: 1px solid rgba(198, 154, 65, .32) !important;
	border-radius: 22px !important;
	background: rgba(255, 255, 255, .88) !important;
	backdrop-filter: saturate(150%) blur(18px) !important;
	box-shadow: 0 18px 42px rgba(7, 24, 45, .16) !important;
	transform: translateX(50%) !important;
}

body.single-product .kc-mobile-nav a,
body.single-product .kc-mobile-nav button {
	min-height: 48px !important;
	padding: 6px 4px !important;
	border-radius: 16px !important;
	color: #667085 !important;
	font-size: 11px !important;
	font-weight: 850 !important;
	text-decoration: none !important;
	transition: background .18s ease, color .18s ease, transform .18s ease;
}

body.single-product .kc-mobile-nav a:hover,
body.single-product .kc-mobile-nav button:hover {
	transform: translateY(-1px);
	background: rgba(246, 238, 222, .72) !important;
	color: var(--kc-gold-dark) !important;
}

body.single-product .kc-mobile-nav span {
	font-size: 20px !important;
}

body.single-product .kc-mobile-nav .is-current {
	background: linear-gradient(180deg, #fff6df, #f1e3ca) !important;
	color: var(--kc-gold-dark) !important;
	box-shadow: inset 0 0 0 1px rgba(198, 154, 65, .24) !important;
}

body.single-product .kbp-single {
	width: min(1140px, calc(100% - 28px)) !important;
	margin-top: 26px !important;
	margin-bottom: 122px !important;
	contain: none !important;
}

body.single-product .kbp-single__hero {
	grid-template-columns: minmax(430px, .98fr) minmax(360px, .82fr) !important;
	gap: 18px !important;
	padding: 18px !important;
	border-radius: 24px !important;
	background: #fff !important;
	box-shadow: 0 20px 50px rgba(7, 24, 45, .075) !important;
}

body.single-product .kbp-gallery {
	padding: 14px !important;
	border-radius: 22px !important;
	background: linear-gradient(180deg, #fff, #fffaf3) !important;
	box-shadow: inset 0 0 0 1px rgba(240, 223, 193, .9) !important;
}

body.single-product .kbp-gallery__stage {
	aspect-ratio: 4 / 3 !important;
	min-height: 430px !important;
	border-radius: 18px !important;
}

body.single-product .kbp-gallery__image {
	padding: 8px !important;
}

body.single-product .kbp-gallery__nav {
	width: 40px !important;
	height: 40px !important;
	border-color: rgba(198, 154, 65, .36) !important;
	background: rgba(255, 255, 255, .92) !important;
	box-shadow: 0 14px 28px rgba(7, 24, 45, .10) !important;
}

body.single-product .kbp-gallery__thumbs {
	gap: 8px !important;
	margin-top: 10px !important;
}

body.single-product .kbp-gallery__thumbs button {
	flex-basis: 58px !important;
	width: 58px !important;
	height: 58px !important;
	border-radius: 14px !important;
}

body.single-product .kbp-gallery__sale {
	top: 20px !important;
	inset-inline-start: 20px !important;
	padding: 5px 10px !important;
	font-size: 12px !important;
	box-shadow: 0 12px 24px rgba(239, 64, 86, .20) !important;
}

body.single-product .kbp-summary {
	align-content: start !important;
	gap: 12px !important;
	padding: 12px 8px !important;
	background: transparent !important;
}

body.single-product .kbp-summary__badges {
	gap: 7px !important;
}

body.single-product .kbp-badge {
	min-height: 30px !important;
	padding: 5px 10px !important;
	font-size: 12px !important;
}

body.single-product .kbp-summary__title {
	display: block !important;
	margin-top: 2px !important;
	color: #07182d !important;
	font-size: clamp(25px, 2.45vw, 34px) !important;
	line-height: 1.52 !important;
	font-weight: 950 !important;
	-webkit-line-clamp: unset !important;
	max-height: none !important;
}

.kbp-summary__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.kbp-summary__facts span {
	min-width: 0;
	display: grid;
	gap: 3px;
	padding: 9px 10px;
	border: 1px solid rgba(15, 23, 42, .08);
	border-radius: 13px;
	background: rgba(255, 255, 255, .72);
	color: #07182d;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.7;
}

.kbp-summary__facts b {
	color: #667085;
	font-size: 11px;
	font-weight: 850;
}

body.single-product .kbp-buybox {
	gap: 10px !important;
	padding: 14px !important;
	border-radius: 20px !important;
	background: linear-gradient(180deg, #fff9ee, #fff4dc) !important;
	box-shadow: 0 14px 34px rgba(198, 124, 0, .10) !important;
}

body.single-product .kbp-buybox__price {
	align-items: flex-start !important;
	gap: 4px !important;
	font-size: clamp(30px, 3.4vw, 42px) !important;
	line-height: 1.18 !important;
	text-align: right !important;
}

body.single-product .kbp-buybox__price del {
	display: inline-flex !important;
	gap: 4px !important;
	color: #8a6a28 !important;
	font-size: .58em !important;
	text-decoration-thickness: 2px !important;
}

body.single-product .kbp-buybox__price ins {
	color: var(--kc-red) !important;
}

.kbp-buybox__note {
	display: grid;
	gap: 5px;
	padding: 10px 12px;
	border: 1px solid rgba(22, 121, 75, .12);
	border-radius: 14px;
	background: rgba(255, 255, 255, .74);
	color: #475467;
	font-size: 12.5px;
	font-weight: 850;
	line-height: 1.8;
}

.kbp-buybox__note span:first-child {
	color: #16794b;
	font-weight: 950;
}

body.single-product .kbp-buybox form.cart {
	grid-template-columns: 132px minmax(0, 1fr) !important;
}

body.single-product .kbp-qty {
	min-height: 46px !important;
	grid-template-columns: 42px minmax(0, 1fr) 42px !important;
	border-radius: 14px !important;
}

body.single-product .kbp-qty button,
body.single-product .kbp-qty__value {
	height: 46px !important;
	font-size: 19px !important;
}

body.single-product .kbp-buybox form.cart .single_add_to_cart_button {
	min-height: 46px !important;
	border-radius: 14px !important;
	font-size: 16px !important;
}

body.single-product .kbp-actions {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 8px !important;
}

body.single-product .kbp-actions .kc-btn {
	min-height: 44px !important;
	border-radius: 14px !important;
	font-size: 13px !important;
}

body.single-product .kbp-reading-guide {
	width: min(1140px, calc(100% - 28px)) !important;
	margin: 18px auto !important;
	padding: 16px !important;
	border-radius: 20px !important;
	background: #fff !important;
	box-shadow: 0 16px 38px rgba(7, 24, 45, .055) !important;
}

body.single-product .kbp-reading-guide header {
	margin-bottom: 12px !important;
}

body.single-product .kbp-reading-guide h2 {
	font-size: clamp(20px, 2.4vw, 28px) !important;
}

body.single-product .kbp-reading-guide > div {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 10px !important;
}

body.single-product .kbp-reading-guide article {
	min-height: 118px !important;
	padding: 14px !important;
	border-radius: 14px !important;
	background: #fbfcfe !important;
}

body.single-product .kbp-reading-guide h3 {
	font-size: 15px !important;
	line-height: 1.7 !important;
}

body.single-product .kbp-reading-guide p {
	margin-top: 6px !important;
	color: #475467 !important;
	font-size: 13px !important;
	line-height: 1.95 !important;
}

body.single-product .kbp-card,
body.single-product .kbp-single .kc-single-book-specs {
	border-radius: 20px !important;
	box-shadow: 0 14px 34px rgba(7, 24, 45, .045) !important;
}

body.single-product .kbp-description {
	background: #fff !important;
	color: #344054 !important;
	font-size: 16px !important;
	line-height: 2.25 !important;
}

body.single-product .kbp-full-description {
	position: relative;
	padding: clamp(18px, 3vw, 28px) !important;
	border: 1px solid rgba(198, 154, 65, .22) !important;
	background: linear-gradient(180deg, #fff 0%, #fffdf8 100%) !important;
}

body.single-product .kbp-section-eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	margin-bottom: 8px;
	padding: 4px 12px;
	border: 1px solid rgba(198, 154, 65, .28);
	border-radius: 999px;
	background: #fff8e6;
	color: var(--kc-gold-dark);
	font-size: 12px;
	font-weight: 950;
	line-height: 1.7;
}

body.single-product .kbp-full-description h2 {
	margin-bottom: 12px !important;
	font-size: clamp(24px, 3vw, 34px) !important;
}

body.single-product .kbp-description__lead {
	margin-bottom: 16px;
	padding: 14px 16px;
	border: 1px solid rgba(15, 23, 42, .08);
	border-radius: 16px;
	background: #f8fafc;
	color: #26384f;
	font-size: 16px;
	font-weight: 850;
	line-height: 2.2;
}

body.single-product .kbp-description__lead p,
body.single-product .kbp-description__body p {
	margin: 0 0 12px;
}

body.single-product .kbp-description__lead p:last-child,
body.single-product .kbp-description__body p:last-child {
	margin-bottom: 0;
}

body.single-product .kbp-description__body {
	color: #344054;
	font-size: 16px;
	font-weight: 650;
	line-height: 2.35;
}

body.single-product .kbp-tabs {
	padding: 16px !important;
}

body.single-product .woocommerce-tabs ul.tabs {
	display: none !important;
}

body.single-product .woocommerce-tabs .panel {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.single-product #reviews::before {
	content: "دیدگاه کاربران";
	display: block;
	margin-bottom: 12px;
	color: #07182d;
	font-size: 22px;
	font-weight: 950;
	line-height: 1.6;
}

body.single-product .kbp-related {
	padding: 16px !important;
	margin-bottom: 112px !important;
}

body.single-product .kbp-related > h2,
body.single-product .kbp-related .related > h2 {
	font-size: clamp(22px, 2.6vw, 30px) !important;
}

body.single-product .kbp-related ul.products {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 12px !important;
}

body.single-product .kbp-related ul.products li.product {
	min-height: 0 !important;
	padding: 10px !important;
	border-radius: 18px !important;
	box-shadow: 0 12px 28px rgba(7, 24, 45, .055) !important;
}

body.single-product .kbp-related ul.products li.product img {
	aspect-ratio: 4 / 3 !important;
	max-height: 168px !important;
	margin-bottom: 8px !important;
	object-fit: contain !important;
}

body.single-product .kbp-related ul.products li.product .woocommerce-loop-product__title {
	min-height: 0 !important;
	font-size: 14px !important;
	line-height: 1.55 !important;
	-webkit-line-clamp: 2 !important;
}

body.single-product .kbp-related ul.products li.product .price {
	min-height: 0 !important;
	margin: 4px 0 8px !important;
	font-size: 15px !important;
}

body.single-product .kbp-related ul.products li.product .button,
body.single-product .kbp-related ul.products li.product .add_to_cart_button,
body.single-product .kbp-related ul.products li.product .product_type_simple,
body.single-product .kbp-related ul.products li.product .kc-loop-library-button {
	min-height: 38px !important;
	margin-top: 6px !important;
	border-radius: 12px !important;
	font-size: 13px !important;
}

@media (max-width: 980px) {
	body.single-product .kbp-single__hero {
		grid-template-columns: 1fr !important;
	}

	body.single-product .kbp-gallery__stage {
		min-height: 0 !important;
		aspect-ratio: 1 / 1 !important;
	}

	body.single-product .kbp-reading-guide > div,
	body.single-product .kbp-related ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	body.single-product {
		padding-bottom: 104px !important;
	}

	body.single-product .kc-mobile-nav {
		right: 12px !important;
		left: 12px !important;
		width: auto !important;
		min-height: 72px !important;
		transform: none !important;
	}

	body.single-product .kbp-single {
		width: calc(100vw - 22px) !important;
		margin-top: 18px !important;
	}

	body.single-product .kbp-single__hero {
		padding: 11px !important;
		border-radius: 22px !important;
	}

	body.single-product .kbp-summary__title {
		font-size: 23px !important;
		line-height: 1.65 !important;
		text-align: center !important;
	}

	.kbp-summary__facts {
		grid-template-columns: 1fr 1fr;
	}

	body.single-product .kbp-buybox form.cart {
		grid-template-columns: 1fr !important;
	}

	body.single-product .kbp-actions,
	body.single-product .kbp-reading-guide > div,
	body.single-product .kbp-related ul.products {
		grid-template-columns: 1fr !important;
	}
}

/* Ketabbin v1.4.18: restore cart card geometry and keep controls readable. */
body.woocommerce-cart .kc-cart-item.is-updating {
	opacity: .72 !important;
	pointer-events: none !important;
}
body.woocommerce-cart .kc-cart-item__controls .kc-quantity-control__button:disabled {
	opacity: .55 !important;
}
@media (max-width: 760px) {
	body.woocommerce-cart .kc-cart-items {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 14px !important;
		width: 100% !important;
	}
	body.woocommerce-cart .kc-cart-item {
		display: grid !important;
		grid-template-columns: 88px minmax(0, 1fr) !important;
		grid-template-areas:
			"thumb body"
			"price price" !important;
		align-items: start !important;
		column-gap: 12px !important;
		row-gap: 16px !important;
		direction: rtl !important;
		padding: 16px 12px !important;
	}
	body.woocommerce-cart .kc-cart-item__thumb {
		grid-area: thumb !important;
		width: 88px !important;
		min-width: 88px !important;
		max-width: 88px !important;
		align-self: start !important;
	}
	body.woocommerce-cart .kc-cart-item__thumb img {
		display: block !important;
		width: 100% !important;
		height: 112px !important;
		object-fit: contain !important;
	}
	body.woocommerce-cart .kc-cart-item__body {
		grid-area: body !important;
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
	}
	body.woocommerce-cart .kc-cart-item__title {
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 0 10px !important;
		text-align: right !important;
	}
	body.woocommerce-cart .kc-cart-item__title a,
	body.woocommerce-cart .kc-cart-item__title strong {
		display: -webkit-box !important;
		width: 100% !important;
		max-width: 100% !important;
		-webkit-line-clamp: 2 !important;
		-webkit-box-orient: vertical !important;
		overflow: hidden !important;
		white-space: normal !important;
		word-break: normal !important;
		font-size: 16px !important;
		line-height: 1.8 !important;
	}
	body.woocommerce-cart .kc-cart-item__meta {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		justify-content: flex-start !important;
		gap: 7px !important;
		width: 100% !important;
		margin: 0 0 12px !important;
	}
	body.woocommerce-cart .kc-cart-item__meta span,
	body.woocommerce-cart .kc-cart-item__meta small {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: 100% !important;
		min-height: 34px !important;
		margin: 0 !important;
		padding: 6px 10px !important;
		white-space: nowrap !important;
		font-size: 11px !important;
		line-height: 1.4 !important;
	}
	body.woocommerce-cart .kc-cart-item__controls {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		gap: 10px !important;
		width: 100% !important;
		min-width: 0 !important;
	}
	body.woocommerce-cart .kc-cart-item__selected,
	body.woocommerce-cart .kc-cart-item__remove,
	body.woocommerce-cart .kc-cart-item__controls .quantity {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
	}
	body.woocommerce-cart .kc-cart-item__selected {
		min-height: 48px !important;
		padding: 8px 12px !important;
		white-space: normal !important;
		font-size: 13px !important;
		line-height: 1.65 !important;
		text-align: center !important;
	}
	body.woocommerce-cart .kc-cart-item__controls .quantity .kc-quantity-control,
	body.woocommerce-cart .kc-quantity-control {
		display: grid !important;
		grid-template-columns: 42px minmax(42px, 1fr) 42px !important;
		width: min(100%, 190px) !important;
		min-width: 0 !important;
		max-width: 190px !important;
		height: 46px !important;
		margin: 0 auto !important;
	}
	body.woocommerce-cart .kc-cart-item__remove {
		min-height: 44px !important;
		padding: 8px 12px !important;
	}
	body.woocommerce-cart .kc-cart-item__price {
		grid-area: price !important;
		grid-column: 1 / -1 !important;
		display: grid !important;
		grid-template-columns: auto minmax(0, 1fr) auto !important;
		align-items: center !important;
		gap: 8px !important;
		width: 100% !important;
		padding-top: 12px !important;
	}
}
@media (max-width: 390px) {
	body.woocommerce-cart .kc-cart-item {
		grid-template-columns: 76px minmax(0, 1fr) !important;
		column-gap: 9px !important;
		padding: 14px 9px !important;
	}
	body.woocommerce-cart .kc-cart-item__thumb {
		width: 76px !important;
		min-width: 76px !important;
		max-width: 76px !important;
	}
body.woocommerce-cart .kc-cart-item__thumb img {
		height: 100px !important;
	}
}

body.woocommerce-cart .kc-cart-item__controls .kc-cart-quantity,
body.woocommerce-cart .kc-cart-qty-control,
body.woocommerce-cart .kc-cart-update {
	display: none !important;
}

body.woocommerce-cart .kc-cart-update {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.woocommerce-cart .kc-cart-item__controls .kc-cart-quantity {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-cart .kc-cart-qty-control {
	display: inline-grid !important;
	grid-template-columns: 46px 58px 46px !important;
	align-items: center !important;
	justify-content: center !important;
	width: 150px !important;
	min-width: 150px !important;
	max-width: 150px !important;
	height: 46px !important;
	margin: 0 auto !important;
	overflow: hidden !important;
	border: 1px solid #efd9af !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: 0 12px 24px rgba(15, 35, 55, 0.06) !important;
	direction: rtl !important;
}

body.woocommerce-cart .kc-cart-qty-control input.qty {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

body.woocommerce-cart .kc-cart-qty-control__button {
	display: grid !important;
	place-items: center !important;
	width: 46px !important;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #bf7a00 !important;
	font-size: 28px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	cursor: pointer !important;
	box-shadow: none !important;
	text-indent: 0 !important;
	opacity: 1 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}

body.woocommerce-cart .kc-cart-qty-control__button:disabled {
	color: #d8c8a8 !important;
	cursor: not-allowed !important;
}

body.woocommerce-cart .kc-cart-qty-control__button::before {
	display: block !important;
	color: currentColor !important;
	font-size: 28px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	text-indent: 0 !important;
	opacity: 1 !important;
}

body.woocommerce-cart .kc-cart-qty-control__button--plus::before {
	content: "+" !important;
}

body.woocommerce-cart .kc-cart-qty-control__button--minus::before {
	content: "−" !important;
}

body.woocommerce-cart .kc-cart-qty-control__value {
	display: grid !important;
	place-items: center !important;
	width: 58px !important;
	height: 46px !important;
	border-inline: 1px solid #efd9af !important;
	color: #000 !important;
	font-size: 19px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-align: center !important;
	direction: ltr !important;
}

/* Ketabbin v1.4.36: one-line story labels on mobile. */
.kc-story span,
.kc-stories .kc-story span {
	display: block !important;
	width: 76px !important;
	max-width: 76px !important;
	margin-inline: auto !important;
	overflow: hidden !important;
	white-space: nowrap !important;
	text-overflow: ellipsis !important;
	line-height: 1.45 !important;
	min-height: 0 !important;
	max-height: 1.45em !important;
	text-align: center !important;
}

@media (max-width: 420px) {
	.kc-story span,
	.kc-stories .kc-story span {
		width: 68px !important;
		max-width: 68px !important;
		font-size: 13px !important;
	}
}

/* Ketabbin v1.4.28: compact only the cream stories container, keep story circles full-size. */
@media (max-width: 760px) {
	.kc-stories {
		padding: 14px 12px 12px !important;
		border-radius: 24px !important;
		min-height: 0 !important;
	}
	.kc-stories .kc-section-head {
		align-items: center !important;
		justify-content: flex-end !important;
		margin-bottom: 12px !important;
		padding: 0 2px !important;
	}
	.kc-stories .kc-section-head h1 {
		margin: 0 !important;
		font-size: 25px !important;
		line-height: 1.35 !important;
		text-align: right !important;
	}
	.kc-stories .kc-section-head span {
		display: none !important;
	}
	.kc-stories .kc-story-rail {
		gap: 14px !important;
		padding: 0 0 2px !important;
	}
	.kc-stories .kc-story {
		flex-basis: 92px !important;
		width: 92px !important;
		gap: 8px !important;
	}
	.kc-stories .kc-story i {
		width: 76px !important;
		height: 76px !important;
		border-width: 4px !important;
	}
	.kc-stories .kc-story span {
		min-height: 38px !important;
		max-height: 40px !important;
		font-size: 13px !important;
		line-height: 1.55 !important;
	}
}
@media (max-width: 420px) {
	.kc-stories .kc-story {
		flex-basis: 92px !important;
		width: 92px !important;
	}
	.kc-stories .kc-story i {
		width: 76px !important;
		height: 76px !important;
	}
}

/* Ketabbin v1.4.30: lower the stories container height while keeping full-size circles. */
@media (max-width: 760px) {
	.kc-stories {
		display: block !important;
		padding: 12px 12px 8px !important;
		border-radius: 24px !important;
		background: var(--kc-soft) !important;
	}
	.kc-stories .kc-section-head {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		width: 100% !important;
		min-height: 0 !important;
		margin: 0 0 6px !important;
		padding: 0 6px !important;
	}
	.kc-stories .kc-section-head h1 {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		color: var(--kc-ink) !important;
		font-size: 21px !important;
		font-weight: 850 !important;
		line-height: 1.4 !important;
		text-align: right !important;
		white-space: nowrap !important;
	}
	.kc-stories .kc-story-rail {
		display: flex !important;
		align-items: flex-start !important;
		gap: 14px !important;
		min-height: 0 !important;
		max-height: 116px !important;
		margin: 0 !important;
		padding: 0 4px !important;
	}
	.kc-stories .kc-story,
	.kc-stories .kc-story i {
		margin-top: 0 !important;
	}
}

/* Ketabbin v1.4.19 final footer palette — white, black and gold only. */
.kc-footer,
body .kc-footer {
	background: #ffffff !important;
	background-image: none !important;
	color: #111111 !important;
	border: 1px solid #d8a62a !important;
	border-bottom: 0 !important;
	box-shadow: 0 -12px 34px rgba(17, 17, 17, .07) !important;
}
.kc-footer::before,
body .kc-footer::before {
	background: transparent !important;
	border-color: rgba(216, 166, 42, .55) !important;
}
.kc-footer .kc-footer__inner,
.kc-footer .kc-footer-brand,
.kc-footer .kc-footer-links,
.kc-footer .kc-footer-trusts {
	background: #ffffff !important;
	color: #111111 !important;
}
.kc-footer .kc-footer-brand img {
	background: transparent !important;
	filter: none !important;
	opacity: 1 !important;
}
.kc-footer .kc-footer-brand strong,
.kc-footer .kc-footer-brand p,
.kc-footer .kc-footer-brand span,
.kc-footer .kc-footer-brand b,
.kc-footer .kc-footer-brand em,
.kc-footer .kc-footer-brand a,
.kc-footer .kc-footer-links a,
.kc-footer .kc-footer-trusts,
.kc-footer .kc-footer-trusts a,
.kc-footer .kc-footer-trusts small {
	color: #111111 !important;
}
.kc-footer .kc-footer-contact {
	background: #ffffff !important;
}
.kc-footer .kc-footer-contact__card,
.kc-footer .kc-footer-contact__card--wide {
	background: #ffffff !important;
	background-image: none !important;
	color: #111111 !important;
	border: 1px solid #d8a62a !important;
	box-shadow: 0 8px 22px rgba(17, 17, 17, .055) !important;
}
.kc-footer .kc-footer-contact__card b,
.kc-footer .kc-footer-contact__card em,
.kc-footer .kc-footer-contact__card[dir="ltr"] b,
.kc-footer .kc-footer-contact__card[dir="ltr"] em {
	color: #111111 !important;
}
.kc-footer .kc-footer-links nav {
	background: #ffffff !important;
	background-image: none !important;
	border: 1px solid #d8a62a !important;
	box-shadow: 0 8px 22px rgba(17, 17, 17, .055) !important;
}
.kc-footer .kc-footer-links nav a {
	background: #ffffff !important;
	background-image: none !important;
	color: #111111 !important;
	border: 1px solid rgba(216, 166, 42, .72) !important;
}
.kc-footer .kc-footer-links nav a:hover,
.kc-footer .kc-footer-links nav a:focus-visible {
	background: #fff8e7 !important;
	color: #111111 !important;
	border-color: #c78b00 !important;
}
.kc-footer .kc-footer-badge,
.kc-footer .kc-enamad__preview,
.kc-footer .widget,
.kc-footer .widget_text {
	background: #ffffff !important;
	background-image: none !important;
	color: #111111 !important;
	border: 1px solid #d8a62a !important;
	box-shadow: 0 8px 22px rgba(17, 17, 17, .055) !important;
}
.kc-footer .kc-footer-badge img,
.kc-footer .kc-enamad__preview img {
	background: #ffffff !important;
}
@media (max-width: 760px) {
	.kc-footer,
	body .kc-footer {
		width: calc(100% - 12px) !important;
		margin-right: 6px !important;
		margin-left: 6px !important;
		padding-top: 20px !important;
		border-radius: 26px 26px 0 0 !important;
	}
	.kc-footer .kc-footer__inner {
		width: calc(100% - 20px) !important;
		max-width: calc(100% - 20px) !important;
		margin-inline: auto !important;
	}
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--kc-bg);
	color: var(--kc-ink);
	font-family: Vazirmatn, IRANSans, Tahoma, Arial, sans-serif;
	line-height: 1.8;
}

a {
	color: inherit;
	text-decoration: none;
}

svg { display: block; }

.kc-header__action svg,
.kc-story svg,
.kc-shortcuts svg,
.kc-categories svg,
.kc-trust-grid svg,
.kc-mobile-nav svg,
.kc-btn svg {
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.kc-icon-spark { stroke: var(--kc-gold); stroke-width: 2.2; }

img {
	max-width: 100%;
	height: auto;
}

.kc-shell {
	width: var(--kc-shell);
	margin-inline: auto;
}

.kc-skip-link {
	position: fixed;
	top: 8px;
	right: 8px;
	z-index: 99999;
	transform: translateY(-120%);
	background: var(--kc-navy);
	color: #fff;
	padding: 8px 12px;
	border-radius: 10px;
}

.kc-skip-link:focus {
	transform: none;
}

.kc-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--kc-line);
	backdrop-filter: blur(14px);
}

.kc-header__inner {
	width: var(--kc-shell);
	min-height: 86px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) 58px;
	grid-template-areas: "search brand menu";
	align-items: center;
	gap: 12px;
	direction: ltr;
}

.kc-header__inner > * {
	direction: rtl;
}

.kc-brand {
	grid-area: brand;
	justify-self: center;
	text-align: center;
}

.kc-brand a,
.kc-brand .custom-logo-link {
	display: grid;
	place-items: center;
	gap: 0;
}

.kc-brand .custom-logo {
	max-width: 178px;
	max-height: 62px;
	object-fit: contain;
}

.kc-brand__official-logo {
	display: block;
	width: 136px;
	height: 50px;
	max-width: 100%;
	object-fit: contain;
	filter: drop-shadow(0 2px 1px rgba(7, 21, 39, .05));
}

.kc-brand__word {
	display: block;
	color: var(--kc-navy);
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.1;
}

.kc-brand__line {
	display: block;
	width: 150px;
	height: 13px;
	margin-top: -4px;
	border-bottom: 4px solid var(--kc-gold);
	border-radius: 0 0 50% 50%;
}

.kc-header__action {
	position: relative;
	width: 50px;
	height: 50px;
	display: grid;
	place-items: center;
	border: 1px solid #f0d8ad;
	border-radius: 17px;
	background: #fffdfa;
	color: var(--kc-navy);
	font: inherit;
	cursor: pointer;
}

.kc-header__menu {
	grid-area: menu;
	justify-self: end;
}

.kc-header__search {
	grid-area: search;
	justify-self: start;
	font-size: 30px;
	line-height: 1;
}

.kc-header__action > span { font-size: 27px; }

.kc-header__action:hover,
.kc-header__action:focus-visible {
	transform: translateY(-2px) rotate(-2deg);
	border-color: var(--kc-gold);
	box-shadow: 0 10px 24px rgba(184, 116, 0, .16);
}

.kc-cart-count {
	position: absolute;
	top: -8px;
	right: -8px;
	min-width: 20px;
	height: 20px;
	display: grid;
	place-items: center;
	padding-inline: 5px;
	border-radius: 999px;
	background: var(--kc-gold);
	border: 2px solid #fff;
	color: var(--kc-ink);
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
	line-height: 1;
}

.kc-search-panel {
	width: var(--kc-shell);
	margin: 0 auto 12px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}

.kc-search-panel[hidden] {
	display: none;
}

.kc-search-panel input {
	min-width: 0;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--kc-line);
	border-radius: 16px;
	background: #fff;
	color: var(--kc-ink);
	font: inherit;
}

.kc-search-panel button,
.kc-btn,
.kc-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 800;
}

.kc-search-panel button {
	min-height: 48px;
	padding-inline: 18px;
	border-radius: 16px;
	background: var(--kc-navy);
	color: #fff;
}

body.kc-menu-is-open { overflow: hidden; }

.kc-menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 1090;
	background: rgba(3, 12, 25, .52);
	backdrop-filter: blur(3px);
}

.kc-menu-overlay[hidden] { display: none; }

.kc-mega-menu {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1100;
	width: min(430px, 92vw);
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	background: #fff;
	box-shadow: -24px 0 70px rgba(3, 12, 25, .24);
	transform: translateX(105%);
	visibility: hidden;
	transition: transform .28s ease, visibility .28s;
	direction: rtl;
}

.kc-mega-menu.is-open {
	transform: translateX(0);
	visibility: visible;
}

.kc-mega-menu__header {
	min-height: 92px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: max(18px, env(safe-area-inset-top)) 20px 16px;
	border-bottom: 1px solid #f0dfc1;
	background: linear-gradient(135deg, #fff9ed, #fff);
}

.kc-mega-menu__header strong,
.kc-mega-menu__header span { display: block; }
.kc-mega-menu__header strong { font-size: 20px; }
.kc-mega-menu__header span { color: var(--kc-muted); font-size: 12px; }

.kc-mega-menu__header button {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border: 1px solid #efd8ad;
	border-radius: 14px;
	background: #fff;
	color: var(--kc-ink);
	font: 300 30px/1 Arial, sans-serif;
	cursor: pointer;
}

.kc-mega-menu__body {
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 14px 16px calc(28px + env(safe-area-inset-bottom));
}

.kc-mega-menu__all {
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	margin-bottom: 10px;
	border-radius: 16px;
	background: var(--kc-navy);
	color: #fff;
	font-weight: 800;
}

.kc-mega-menu__all span { color: var(--kc-gold); font-size: 22px; }

.kc-mega-menu__group {
	border-bottom: 1px solid #edf0f4;
}

.kc-mega-menu__group summary {
	min-height: 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 4px;
	color: var(--kc-ink);
	font-size: 15px;
	font-weight: 850;
	cursor: pointer;
	list-style: none;
}

.kc-mega-menu__group summary::-webkit-details-marker { display: none; }
.kc-mega-menu__group summary span { color: var(--kc-gold-dark); font-size: 22px; transition: transform .2s ease; }
.kc-mega-menu__group[open] summary span { transform: rotate(45deg); }

.kc-mega-menu__group > div {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 12px;
	padding: 0 4px 14px;
}

.kc-mega-menu__group a {
	min-height: 38px;
	display: flex;
	align-items: center;
	padding: 5px 10px;
	border-right: 2px solid #f0d8ad;
	color: #4b5565;
	font-size: 13px;
	line-height: 1.55;
}

.kc-mega-menu__group a:hover,
.kc-mega-menu__group a:focus-visible {
	border-color: var(--kc-gold);
	background: #fff8eb;
	color: var(--kc-ink);
}

@media (max-width: 420px) {
	.kc-mega-menu { width: 94vw; }
	.kc-mega-menu__group > div { grid-template-columns: 1fr; }
}

.kc-main {
	display: grid;
	gap: 18px;
	padding-block: 18px;
}

.kc-stories,
.kc-shortcuts,
.kc-hero,
.kc-products,
.kc-categories,
.kc-mood,
.kc-topics,
.kc-digital,
.kc-magazine,
.kc-trust-strip .kc-shell,
.kc-page__article {
	border: 1px solid var(--kc-line);
	border-radius: 28px;
	background: var(--kc-card);
	overflow: hidden;
}

.kc-stories {
	padding: 22px 18px 18px;
	background: var(--kc-soft);
	border-color: #efd9ae;
}

.kc-section-head,
.kc-product-head,
.kc-categories header,
.kc-mood header,
.kc-magazine header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.kc-section-head h1,
.kc-product-head h2,
.kc-categories h2,
.kc-mood h2,
.kc-topics h2,
.kc-digital h2,
.kc-magazine h2,
.kc-trust-strip h2 {
	margin: 0;
	color: var(--kc-ink);
	font-size: clamp(22px, 6vw, 34px);
	line-height: 1.45;
	letter-spacing: 0;
}

.kc-section-head span,
.kc-product-head p,
.kc-categories p,
.kc-mood p,
.kc-digital p,
.kc-magazine p,
.kc-trust-strip p {
	margin: 4px 0 0;
	color: var(--kc-muted);
	font-size: 14px;
}

.kc-story-rail,
.kc-shortcuts,
.kc-product-rail {
	display: flex;
	flex-wrap: nowrap;
	gap: 14px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

.kc-story-rail {
	padding-bottom: 6px;
}

.kc-story,
.kc-shortcuts a {
	flex: 0 0 92px;
	width: 92px;
	display: grid;
	justify-items: center;
	gap: 8px;
	scroll-snap-align: start;
	text-align: center;
}

.kc-story i {
	width: 76px;
	height: 76px;
	display: grid;
	place-items: center;
	border: 4px solid var(--kc-gold);
	border-radius: 999px;
	background: radial-gradient(circle, #fff 0 58%, #fff8ec 100%);
	color: var(--kc-gold);
	font-size: 26px;
	font-style: normal;
}

.kc-story i img {
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
}

.kc-story span,
.kc-shortcuts span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	min-height: 38px;
	max-height: 40px;
	overflow: hidden;
	color: var(--kc-ink);
	font-size: 13px;
	font-weight: 750;
	line-height: 1.55;
}

.kc-shortcuts {
	padding: 14px 12px;
}

.kc-shortcuts a {
	flex-basis: 84px;
	width: 84px;
}

.kc-shortcuts i {
	width: 66px;
	height: 66px;
	display: grid;
	place-items: center;
	border: 1px solid #f0d8ad;
	border-radius: 999px;
	background: var(--kc-soft);
	color: var(--kc-gold-dark);
	font-size: 24px;
	font-style: normal;
}

.kc-hero {
	min-height: 320px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	align-items: center;
	gap: 24px;
	padding: 42px 34px;
	background: linear-gradient(180deg, #fff1c8 0%, #fff8eb 100%);
	border-color: #efd9ae;
}

.kc-hero > div:first-child,
.kc-digital > div:first-child {
	display: grid;
	justify-items: start;
	gap: 12px;
}

.kc-hero span,
.kc-digital h2 + p + a {
	color: var(--kc-purple);
}

.kc-hero h2 {
	margin: 0;
	color: var(--kc-ink);
	font-size: clamp(34px, 8vw, 54px);
	line-height: 1.45;
	letter-spacing: 0;
}

.kc-hero p {
	margin: 0;
	color: var(--kc-muted);
	font-size: 16px;
}

.kc-hero__button {
	min-height: 48px;
	padding: 10px 24px;
	border-radius: 999px;
	background: var(--kc-purple);
	color: #fff;
	box-shadow: 0 16px 32px rgba(91, 56, 244, .18);
}

.kc-hero-books,
.kc-digital__books {
	position: relative;
	min-height: 210px;
}

.kc-hero-books span,
.kc-digital__books span,
.kc-demo-book {
	position: absolute;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--book-color, #243b55);
	color: #fff;
	border: 2px solid rgba(255,255,255,.8);
	box-shadow: 0 12px 24px rgba(15, 23, 42, .14);
}

.kc-hero-books span {
	width: 96px;
	height: 142px;
	top: 28px;
	right: 80px;
}

.kc-hero-books span:nth-child(2) {
	--book-color: #b84a3c;
	right: 136px;
	top: 12px;
}

.kc-hero-books span:nth-child(3) {
	--book-color: #0f766e;
	right: 22px;
	top: 42px;
}

.kc-products,
.kc-categories,
.kc-mood,
.kc-topics,
.kc-digital,
.kc-magazine,
.kc-trust-strip .kc-shell,
.kc-page__article {
	padding: 24px 20px;
}

.kc-product-head a {
	flex: 0 0 auto;
	color: var(--kc-gold-dark);
	font-size: 14px;
	font-weight: 800;
}

.kc-timer {
	display: flex;
	gap: 6px;
	direction: ltr;
}

.kc-timer span {
	min-width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: #fff3f0;
	color: var(--kc-red);
	font-weight: 800;
}

.kc-product-rail {
	padding: 2px 2px 10px;
}

.kc-product-card {
	flex: 0 0 216px;
	width: 216px;
	border: 1px solid #eadfcd;
	border-radius: 24px;
	background: #fff;
	overflow: hidden;
	scroll-snap-align: start;
	box-shadow: 0 10px 30px rgba(54, 39, 18, .07);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.kc-product-card:hover {
	transform: translateY(-4px);
	border-color: #e8c989;
	box-shadow: 0 18px 42px rgba(54, 39, 18, .12);
}

.kc-product-card__image {
	position: relative;
	height: 190px;
	display: grid;
	place-items: center;
	padding: 18px;
	background: radial-gradient(circle at 50% 38%, #fff 0 28%, #fffaf0 72%, #f7efe1 100%);
	border-bottom: 1px solid #f0e5d2;
}

.kc-product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 10px 9px rgba(23, 31, 44, .13));
}

.kc-product-card__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	min-width: 42px;
	height: 27px;
	display: inline-grid;
	place-items: center;
	padding-inline: 9px;
	border-radius: 9px 14px 14px 9px;
	background: var(--kc-red);
	box-shadow: 0 6px 14px rgba(239, 64, 86, .22);
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
}

.kc-demo-book {
	position: static;
	width: 76px;
	height: 112px;
	font-size: 13px;
}

.kc-product-card__body {
	min-height: 224px;
	padding: 12px 14px 14px;
	display: grid;
	grid-template-rows: auto 52px auto auto 1fr;
	gap: 7px;
	align-content: start;
}

.kc-product-card__category {
	overflow: hidden;
	color: var(--kc-gold-dark);
	font-size: 11px;
	font-weight: 750;
	line-height: 1.45;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.kc-product-card h3 {
	margin: 0;
	min-height: 52px;
	max-height: 52px;
	overflow: hidden;
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-overflow: ellipsis;
}

.kc-product-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	color: var(--kc-muted);
	font-size: 12px;
}

.kc-product-card__meta .is-stock { color: var(--kc-green); }
.kc-product-card__meta .is-out { color: var(--kc-red); }

.kc-product-card__price {
	color: var(--kc-ink);
	font-size: 16px;
	font-weight: 850;
	line-height: 1.35;
}

.kc-product-card__actions {
	display: grid;
	gap: 6px;
	align-self: end;
}

.kc-btn {
	width: 100%;
	min-height: 42px;
	gap: 6px;
	padding: 8px 10px;
	border-radius: 13px;
	font-size: 13.5px;
	font-weight: 900;
}

.kc-btn > span:first-child { flex: 0 0 auto; font-size: 17px; }

.kc-btn--primary {
	background: linear-gradient(135deg, #d99a24, #b87400);
	color: #fff;
	box-shadow: 0 8px 18px rgba(184, 116, 0, .18);
}

.kc-btn--library {
	border: 1px solid #f0d8ad;
	background: linear-gradient(135deg, #fffdf8, #fff6e6);
	color: var(--kc-gold-dark);
	font-size: 12px;
}

.kc-btn--library.is-saved {
	border-color: #b8a8ff;
	background: #f2efff;
	color: #4b2bd6;
}

.single-product div.product .kc-single-purchase {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	margin: 18px 0;
	padding: 14px;
	border: 1px solid #f0d8ad;
	border-radius: 22px;
	background: linear-gradient(135deg, #fffdf8, #fff8eb);
}

.single-product div.product .kc-single-purchase__price {
	min-width: 0;
	text-align: right;
}

.single-product div.product .kc-single-purchase__price .price {
	margin: 0;
}

.single-product div.product .kc-single-purchase__quantity {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: flex-end;
}

.single-product div.product .kc-single-qty-control {
	display: inline-grid;
	grid-template-columns: 42px 56px 42px;
	align-items: center;
	min-height: 44px;
	overflow: hidden;
	direction: rtl;
	border: 1px solid #efd8ad;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(184, 116, 0, .08);
}

.single-product div.product .kc-single-qty-control__label {
	color: var(--kc-muted);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.single-product div.product .kc-single-qty-control__button {
	width: 42px;
	height: 44px;
	border: 0;
	background: transparent;
	color: var(--kc-gold-dark);
	font-size: 24px;
	font-weight: 700;
	cursor: pointer;
}

.single-product div.product .kc-single-qty-control__button:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.single-product div.product .kc-single-qty-control input.qty {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	border-inline: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #000 !important;
	opacity: 0 !important;
	-webkit-text-fill-color: #000 !important;
	appearance: textfield;
	pointer-events: none !important;
}

.single-product div.product .kc-single-qty-control__value {
	display: grid;
	place-items: center;
	width: 56px;
	height: 44px;
	border-inline: 1px solid #f0dfc1;
	color: #000;
	font-size: 19px;
	font-weight: 750;
	line-height: 1;
	text-align: center;
	direction: ltr;
}

.single-product div.product .kc-single-qty-control input.qty::-webkit-outer-spin-button,
.single-product div.product .kc-single-qty-control input.qty::-webkit-inner-spin-button {
	margin: 0;
	appearance: none;
}

.single-product div.product .kc-single-purchase form.cart {
	display: contents;
	margin: 0;
}

.single-product div.product .kc-single-purchase form.cart .single_variation_wrap,
.single-product div.product .kc-single-purchase form.cart .woocommerce-variation-add-to-cart {
	display: contents;
}

.single-product div.product .kc-single-purchase .single_add_to_cart_button {
	grid-column: 1 / -1;
	width: 100%;
	min-height: 50px;
	border-radius: 16px;
	background: linear-gradient(135deg, #d99a24, #b87400);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
}

.woocommerce-cart .kc-cart-update {
	display: none !important;
}

@media (max-width: 520px) {
	.single-product div.product .kc-single-purchase {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.single-product div.product .kc-single-purchase__price,
	.single-product div.product .kc-single-purchase__quantity {
		justify-content: center;
		text-align: center;
	}
}

.kc-categories > div,
.kc-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px 10px;
}

.kc-categories a,
.kc-trust-grid span {
	display: grid;
	justify-items: center;
	gap: 8px;
	text-align: center;
	font-size: 13px;
	font-weight: 750;
}

.kc-categories i,
.kc-trust-grid i {
	width: 68px;
	height: 68px;
	display: grid;
	place-items: center;
	border: 1px solid #f0d8ad;
	border-radius: 999px;
	background: var(--kc-soft);
	color: var(--kc-gold-dark);
	font-style: normal;
	font-size: 22px;
}

.kc-mood > div,
.kc-topics > div {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.kc-mood a,
.kc-topics a {
	min-height: 52px;
	display: grid;
	place-items: center;
	padding: 8px 12px;
	border: 1px solid #f0d8ad;
	border-radius: 18px;
	background: var(--kc-soft);
	color: var(--kc-ink);
	font-weight: 750;
	text-align: center;
}

.kc-topics a {
	border-color: var(--kc-line);
	background: #fbfcfe;
}

.kc-digital {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	align-items: center;
	gap: 22px;
	background: #e9f5ff;
	border-color: #cfe4ff;
}

.kc-digital__books span {
	width: 56px;
	height: 110px;
	top: 44px;
	right: 70px;
}

.kc-digital__books span:nth-child(2) {
	--book-color: #0f766e;
	right: 130px;
}

.kc-digital__books span:nth-child(3) {
	--book-color: #b45309;
	right: 190px;
}

.kc-magazine > div {
	display: grid;
	gap: 10px;
}

.kc-magazine a {
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 14px;
	border: 1px solid var(--kc-line);
	border-radius: 16px;
	background: #fbfcfe;
}

.kc-magazine b {
	flex: 0 0 auto;
	color: var(--kc-gold-dark);
	font-size: 13px;
}

.kc-trust-strip {
	margin-block: 18px;
}

.kc-trust-strip .kc-shell {
	background: var(--kc-soft);
	border-color: #f0d8ad;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
	align-items: center;
	gap: 22px;
}

.kc-footer {
	padding: 0 0 120px;
}

.kc-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 140px;
	gap: 28px;
	padding: 34px;
	border-radius: 28px;
	background: var(--kc-navy);
	color: #fff;
}

.kc-footer strong {
	display: block;
	font-size: 30px;
}

.kc-footer p {
	color: #cbd5e1;
}

.kc-footer nav {
	display: grid;
	gap: 8px;
}

.kc-footer nav a {
	color: #eef2ff;
}

.kc-enamad {
	align-self: center;
	justify-self: center;
}

.kc-enamad a,
.kc-enamad__preview,
.kc-trust-widget {
	width: 112px;
	min-height: 112px;
	display: grid;
	place-items: center;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--kc-line);
	color: var(--kc-gold-dark);
}

.kc-enamad__preview {
	padding: 8px;
	text-align: center;
}

.kc-enamad__preview small {
	display: block;
	margin-top: 3px;
	color: #667085;
	font-size: 9px;
	line-height: 1.35;
}

.kc-enamad img {
	max-width: 96px;
	max-height: 96px;
	object-fit: contain;
}

.kc-mobile-nav {
	position: fixed;
	right: 12px;
	left: 12px;
	bottom: max(10px, env(safe-area-inset-bottom));
	z-index: 1000;
	min-height: 74px;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: center;
	padding: 6px;
	border: 1px solid #f0d8ad;
	border-radius: 24px;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(14px);
	box-shadow: 0 14px 36px rgba(15, 23, 42, .14);
}

.kc-mobile-nav a,
.kc-mobile-nav button {
	min-width: 0;
	display: grid;
	justify-items: center;
	gap: 2px;
	padding: 7px 2px;
	border-radius: 18px;
	color: #7a7f89;
	font-size: 11px;
	line-height: 1.45;
	text-align: center;
}

.kc-mobile-nav button {
	width: 100%;
	border: 0;
	background: transparent;
	font-family: inherit;
	cursor: pointer;
}

.kc-mobile-nav span {
	font-size: 22px;
	line-height: 1;
}

.kc-mobile-nav .is-current {
	background: #f4ead8;
	color: var(--kc-gold-dark);
}

.kc-page {
	padding-block: 24px;
}

.kc-page__article h1 {
	margin-top: 0;
}

@media (max-width: 760px) {
	:root {
		--kc-shell: calc(100% - 24px);
	}

	body {
		padding-bottom: calc(94px + env(safe-area-inset-bottom));
	}

	.kc-main {
		gap: 16px;
		padding-block: 14px;
	}

	.kc-header__inner {
		min-height: 70px;
		grid-template-columns: 54px minmax(0, 1fr) 54px;
	}

	.kc-brand__official-logo {
		width: 136px;
		height: 50px;
	}

	.kc-brand__word {
		font-size: 28px;
	}

	.kc-brand__line {
		width: 138px;
	}

	.kc-header__action {
		width: 50px;
		height: 50px;
	}

	.kc-stories,
	.kc-shortcuts,
	.kc-hero,
	.kc-products,
	.kc-categories,
	.kc-mood,
	.kc-topics,
	.kc-digital,
	.kc-magazine,
	.kc-trust-strip .kc-shell,
	.kc-page__article {
		border-radius: 24px;
	}

	.kc-stories {
		padding: 18px 12px 16px;
	}

	.kc-section-head h1,
	.kc-product-head h2,
	.kc-categories h2,
	.kc-mood h2,
	.kc-topics h2,
	.kc-digital h2,
	.kc-magazine h2,
	.kc-trust-strip h2 {
		font-size: 24px;
	}

	.kc-hero {
		min-height: 300px;
		grid-template-columns: 1fr;
		padding: 32px 18px 28px;
		text-align: center;
	}

	.kc-hero > div:first-child {
		justify-items: center;
	}

	.kc-hero h2 {
		font-size: clamp(32px, 9vw, 42px);
	}

	.kc-hero-books {
		display: none;
	}

	.kc-products,
	.kc-categories,
	.kc-mood,
	.kc-topics,
	.kc-digital,
	.kc-magazine,
	.kc-trust-strip .kc-shell {
		padding: 18px 12px;
	}

	.kc-product-card {
		flex-basis: min(72vw, 224px);
		width: min(72vw, 224px);
	}

	.kc-product-card__image {
		height: 184px;
	}

	.kc-product-card__body {
		min-height: 238px;
	}

	.kc-categories > div,
	.kc-trust-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 12px 8px;
	}

	.kc-categories i,
	.kc-trust-grid i {
		width: 62px;
		height: 62px;
	}

	.kc-categories a,
	.kc-trust-grid span {
		font-size: 12px;
	}

	.kc-mood > div,
	.kc-topics > div {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kc-digital,
	.kc-trust-strip .kc-shell {
		grid-template-columns: 1fr;
		text-align: right;
	}

	.kc-digital__books {
		display: none;
	}

	.kc-footer__inner {
		grid-template-columns: 1fr 120px;
		padding: 28px 20px;
	}
}

/* Ketabbin v1.4.6 — clean single-frame cart quantity control */
body.woocommerce-cart .kc-cart-item__controls {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
}

body.woocommerce-cart .kc-cart-item__controls .quantity,
body.woocommerce-cart .kc-cart-item__controls .quantity:has(.kc-quantity-control) {
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}

body.woocommerce-cart .kc-quantity-control {
	width: 132px !important;
	height: 42px !important;
	display: grid !important;
	grid-template-columns: 40px 52px 40px !important;
	align-items: stretch !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 999px !important;
	background: #fffaf0 !important;
	box-shadow: 0 8px 18px rgba(184, 116, 0, .08) !important;
	overflow: hidden !important;
	direction: ltr !important;
}

body.woocommerce-cart .kc-quantity-control__button {
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	display: grid !important;
	place-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: #fffaf0 !important;
	color: var(--kc-gold-dark) !important;
	font-size: 20px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	cursor: pointer !important;
}

body.woocommerce-cart .kc-quantity-control input.qty,
body.woocommerce-cart .kc-cart-item__controls .kc-quantity-control input.qty,
body.woocommerce-cart .kc-cart-item__controls .quantity .kc-quantity-control input.qty {
	appearance: textfield !important;
	-webkit-appearance: none !important;
	width: 52px !important;
	min-width: 52px !important;
	max-width: 52px !important;
	height: 40px !important;
	min-height: 40px !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-right: 1px solid #ecd7ae !important;
	border-left: 1px solid #ecd7ae !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: #071527 !important;
	-webkit-text-fill-color: #071527 !important;
	font-size: 15px !important;
	font-weight: 950 !important;
	line-height: 40px !important;
	text-align: center !important;
	opacity: 1 !important;
	box-shadow: none !important;
}

body.woocommerce-cart .kc-quantity-control input.qty::-webkit-outer-spin-button,
body.woocommerce-cart .kc-quantity-control input.qty::-webkit-inner-spin-button {
	margin: 0 !important;
	-webkit-appearance: none !important;
}

body.woocommerce-cart .kc-cart-item__meta {
	justify-content: center !important;
}

body.woocommerce-cart .kc-cart-item__meta small {
	padding: 4px 9px !important;
	border: 1px solid #edf0f4 !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #687385 !important;
	font-weight: 850 !important;
}

body.woocommerce-cart .kc-cart-item__remove {
	margin-top: 2px !important;
}

/* Ketabbin v1.4.5 — keep product gallery frame stable while swiping */
.single-product div.product div.images.woocommerce-product-gallery,
.single-product div.product div.images {
	min-height: 430px !important;
}

.single-product div.product div.images .woocommerce-product-gallery__wrapper {
	min-height: 360px !important;
	display: block !important;
}

.single-product div.product div.images .woocommerce-product-gallery__image:first-child,
.single-product div.product div.images .flex-viewport,
.single-product div.product div.images .flex-viewport .woocommerce-product-gallery__wrapper {
	min-height: 360px !important;
}

.single-product div.product div.images .woocommerce-product-gallery__image:first-child a {
	min-height: 360px !important;
	display: grid !important;
	place-items: center !important;
	background: #fff !important;
	border-radius: 18px !important;
}

.single-product div.product div.images .woocommerce-product-gallery__image:first-child img,
.single-product div.product div.images .flex-active-slide img {
	width: 100% !important;
	height: 360px !important;
	max-height: 360px !important;
	object-fit: contain !important;
	background: #fff !important;
}

.single-product div.product div.images .flex-control-thumbs {
	min-height: 58px !important;
}

@media (max-width: 760px) {
	.single-product div.product div.images.woocommerce-product-gallery,
	.single-product div.product div.images {
		min-height: 372px !important;
	}

	.single-product div.product div.images .woocommerce-product-gallery__wrapper,
	.single-product div.product div.images .woocommerce-product-gallery__image:first-child,
	.single-product div.product div.images .flex-viewport,
	.single-product div.product div.images .flex-viewport .woocommerce-product-gallery__wrapper {
		min-height: 292px !important;
	}

	.single-product div.product div.images .woocommerce-product-gallery__image:first-child a {
		min-height: 292px !important;
	}

	.single-product div.product div.images .woocommerce-product-gallery__image:first-child img,
	.single-product div.product div.images .flex-active-slide img {
		height: 292px !important;
		max-height: 292px !important;
	}
}

/* Ketabbin final compact specs override — must remain last */
.kc-single-book-specs {
	width: min(1120px, calc(100% - 24px)) !important;
	margin: 0 auto 120px !important;
	padding: 12px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 20px !important;
	background: #fff !important;
	box-shadow: 0 10px 26px rgba(12, 35, 64, .055) !important;
	direction: rtl !important;
}

.kc-single-book-specs h2 {
	margin: 0 0 8px !important;
	padding: 0 0 8px !important;
	border-bottom: 1px solid #edf0f4 !important;
	color: var(--kc-ink) !important;
	font-size: 17px !important;
	font-weight: 950 !important;
	line-height: 1.45 !important;
}

.kc-single-book-specs div {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 0 !important;
	border: 1px solid #edf0f4 !important;
	border-radius: 14px !important;
	overflow: hidden !important;
	background: #fff !important;
}

.kc-single-book-specs p {
	min-height: 38px !important;
	display: grid !important;
	grid-template-columns: 54px minmax(0, 1fr) !important;
	align-items: center !important;
	gap: 6px !important;
	margin: 0 !important;
	padding: 7px 8px !important;
	border: 0 !important;
	border-bottom: 1px solid #edf0f4 !important;
	background: #fff !important;
}

.kc-single-book-specs p:nth-child(odd) {
	border-left: 1px solid #edf0f4 !important;
}

.kc-single-book-specs p:nth-last-child(-n+2) {
	border-bottom: 0 !important;
}

.kc-single-book-specs span,
.kc-single-book-specs b {
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	line-height: 1.45 !important;
}

.kc-single-book-specs span {
	color: #687385 !important;
	font-size: 10px !important;
	font-weight: 850 !important;
}

.kc-single-book-specs b {
	color: var(--kc-ink) !important;
	font-size: 11px !important;
	font-weight: 850 !important;
}

@media (max-width: 760px) {
	.kc-single-book-specs {
		width: calc(100% - 20px) !important;
		padding: 10px !important;
		border-radius: 18px !important;
	}

	.kc-single-book-specs div {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.kc-single-book-specs p {
		min-height: 36px !important;
		grid-template-columns: 48px minmax(0, 1fr) !important;
		padding: 6px 7px !important;
	}
}

/* Ketabbin v1.4.9 final hotfix — keep after all legacy overrides */
body.woocommerce-cart .kc-cart-item__controls {
	display: grid !important;
	grid-template-columns: 1fr auto auto !important;
	align-items: center !important;
	gap: 8px !important;
}

body.woocommerce-cart .kc-quantity-control,
body.woocommerce-cart .kc-cart-item__controls .quantity .kc-quantity-control {
	width: 132px !important;
	min-width: 132px !important;
	height: 42px !important;
	display: grid !important;
	grid-template-columns: 38px 1fr 38px !important;
	direction: ltr !important;
	align-items: center !important;
	justify-items: center !important;
	border: 1px solid #e6c98f !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 4px #fffaf3, 0 8px 18px rgba(12, 35, 64, .055) !important;
	overflow: hidden !important;
}

body.woocommerce-cart .kc-quantity-control__button {
	width: 38px !important;
	height: 42px !important;
	min-height: 42px !important;
	display: grid !important;
	place-items: center !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--kc-gold-dark) !important;
	-webkit-text-fill-color: var(--kc-gold-dark) !important;
	font-size: 21px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	box-shadow: none !important;
}

body.woocommerce-cart .kc-quantity-control__button--minus {
	order: 1 !important;
}

body.woocommerce-cart .kc-quantity-control input.qty {
	order: 2 !important;
	width: 56px !important;
	min-width: 56px !important;
	max-width: 56px !important;
	height: 40px !important;
	min-height: 40px !important;
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: #fff !important;
	color: var(--kc-ink) !important;
	-webkit-text-fill-color: var(--kc-ink) !important;
	opacity: 1 !important;
	visibility: visible !important;
	font-size: 16px !important;
	font-weight: 950 !important;
	line-height: 40px !important;
	text-align: center !important;
	appearance: textfield !important;
	-moz-appearance: textfield !important;
	box-shadow: none !important;
}

body.woocommerce-cart .kc-quantity-control__button--plus {
	order: 3 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input.input-radio {
	position: absolute !important;
	right: 16px !important;
	top: 50% !important;
	width: 30px !important;
	height: 30px !important;
	margin: 0 !important;
	transform: translateY(-50%) !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	border: 2px solid #d7dee8 !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 4px #fff !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked {
	border-color: #16a34a !important;
	background: #16a34a !important;
	box-shadow: inset 0 0 0 5px #fff, 0 8px 18px rgba(22, 163, 74, .22) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked::after {
	content: "✓" !important;
	position: absolute !important;
	inset: 0 !important;
	display: grid !important;
	place-items: center !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li label img {
	max-width: 126px !important;
	max-height: 56px !important;
	padding: 8px 10px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 16px !important;
	background: #fff !important;
	object-fit: contain !important;
}

/* Ketabbin v1.4.10 — visible quantity value and cleaner mobile cart layout */
body.woocommerce-cart .kc-cart-item__controls {
	display: grid !important;
	grid-template-columns: 1fr auto auto !important;
	align-items: center !important;
	gap: 10px !important;
}

body.woocommerce-cart .kc-cart-item__selected {
	min-width: 0 !important;
	white-space: normal !important;
	position: static !important;
	transform: none !important;
	z-index: 1 !important;
}

body.woocommerce-cart .kc-quantity-control,
body.woocommerce-cart .kc-cart-item__controls .quantity .kc-quantity-control {
	width: 136px !important;
	min-width: 136px !important;
	height: 44px !important;
	display: grid !important;
	grid-template-columns: 40px 1fr 40px !important;
	direction: ltr !important;
	align-items: center !important;
	justify-items: center !important;
	border: 1px solid #e3c27f !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 4px #fffaf3, 0 10px 22px rgba(12, 35, 64, .07) !important;
	overflow: hidden !important;
}

body.woocommerce-cart .kc-quantity-control input.qty {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-width: 1px !important;
	min-height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

body.woocommerce-cart .kc-quantity-control__value {
	order: 2 !important;
	min-width: 42px !important;
	height: 42px !important;
	display: grid !important;
	place-items: center !important;
	background: #fff !important;
	color: var(--kc-ink) !important;
	-webkit-text-fill-color: var(--kc-ink) !important;
	font-size: 17px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	text-align: center !important;
}

body.woocommerce-cart .kc-quantity-control__button {
	width: 40px !important;
	height: 44px !important;
	min-height: 44px !important;
	display: grid !important;
	place-items: center !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--kc-gold-dark) !important;
	-webkit-text-fill-color: var(--kc-gold-dark) !important;
	font-size: 22px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	box-shadow: none !important;
}

body.woocommerce-cart .kc-quantity-control__button--minus {
	order: 1 !important;
}

body.woocommerce-cart .kc-quantity-control__button--plus {
	order: 3 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
	min-height: 94px !important;
	padding: 16px 64px 16px 16px !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked::after {
	content: "✓" !important;
}

body.woocommerce-checkout #payment ul.payment_methods li label img {
	max-width: 146px !important;
	max-height: 64px !important;
	border-radius: 18px !important;
}
body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked {
	border-color: #16a34a !important;
	background: #ecfdf5 !important;
	box-shadow: 0 0 0 5px rgba(22, 163, 74, .14) !important;
}
body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked::after {
	content: "✓" !important;
	color: #16a34a !important;
	font-size: 20px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	background: transparent !important;
}
body.woocommerce-checkout #payment ul.payment_methods li:has(input.input-radio:checked) {
	border-color: #f0a000 !important;
	box-shadow: 0 18px 38px rgba(240, 160, 0, .14) !important;
}
body.woocommerce-checkout #payment ul.payment_methods li label img {
	width: 72px !important;
	height: 72px !important;
	object-fit: contain !important;
	padding: 10px !important;
	background: #fff !important;
	border: 1px solid #ead7a9 !important;
	box-shadow: 0 12px 30px rgba(12, 35, 64, .1) !important;
}

@media (max-width: 760px) {
	body.woocommerce-cart .kc-cart-item__controls {
		grid-template-columns: 1fr !important;
		justify-items: center !important;
	}

	body.woocommerce-cart .kc-cart-item__selected {
		width: min(100%, 230px) !important;
	}

	body.woocommerce-cart .kc-quantity-control,
	body.woocommerce-cart .kc-cart-item__controls .quantity .kc-quantity-control {
		width: min(100%, 230px) !important;
		min-width: 0 !important;
		grid-template-columns: 52px 1fr 52px !important;
	}

	body.woocommerce-cart .kc-cart-item__remove {
		width: min(100%, 230px) !important;
	}

	body.woocommerce-checkout #payment ul.payment_methods li label img {
		max-width: 126px !important;
		max-height: 58px !important;
	}
}

/* Ketabbin v1.4.9 final hotfix — keep after all legacy overrides */
body.woocommerce-cart .kc-cart-item__controls {
	display: grid !important;
	grid-template-columns: 1fr auto auto !important;
	align-items: center !important;
	gap: 8px !important;
}

body.woocommerce-cart .kc-quantity-control,
body.woocommerce-cart .kc-cart-item__controls .quantity .kc-quantity-control {
	width: 132px !important;
	min-width: 132px !important;
	height: 42px !important;
	display: grid !important;
	grid-template-columns: 38px 1fr 38px !important;
	direction: ltr !important;
	align-items: center !important;
	justify-items: center !important;
	border: 1px solid #e6c98f !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 4px #fffaf3, 0 8px 18px rgba(12, 35, 64, .055) !important;
	overflow: hidden !important;
}

body.woocommerce-cart .kc-quantity-control__button {
	width: 38px !important;
	height: 42px !important;
	min-height: 42px !important;
	display: grid !important;
	place-items: center !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--kc-gold-dark) !important;
	-webkit-text-fill-color: var(--kc-gold-dark) !important;
	font-size: 21px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	box-shadow: none !important;
}

body.woocommerce-cart .kc-quantity-control__button--minus {
	order: 1 !important;
}

body.woocommerce-cart .kc-quantity-control input.qty {
	order: 2 !important;
	width: 56px !important;
	min-width: 56px !important;
	max-width: 56px !important;
	height: 40px !important;
	min-height: 40px !important;
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: #fff !important;
	color: var(--kc-ink) !important;
	-webkit-text-fill-color: var(--kc-ink) !important;
	opacity: 1 !important;
	visibility: visible !important;
	font-size: 16px !important;
	font-weight: 950 !important;
	line-height: 40px !important;
	text-align: center !important;
	appearance: textfield !important;
	-moz-appearance: textfield !important;
	box-shadow: none !important;
}

body.woocommerce-cart .kc-quantity-control__button--plus {
	order: 3 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input.input-radio {
	position: absolute !important;
	right: 16px !important;
	top: 50% !important;
	width: 30px !important;
	height: 30px !important;
	margin: 0 !important;
	transform: translateY(-50%) !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	border: 2px solid #d7dee8 !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 4px #fff !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked {
	border-color: #16a34a !important;
	background: #16a34a !important;
	box-shadow: inset 0 0 0 5px #fff, 0 8px 18px rgba(22, 163, 74, .22) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked::after {
	content: "✓" !important;
	position: absolute !important;
	inset: 0 !important;
	display: grid !important;
	place-items: center !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li label img {
	max-width: 126px !important;
	max-height: 56px !important;
	padding: 8px 10px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 16px !important;
	background: #fff !important;
	object-fit: contain !important;
}

/* Ketabbin v1.4.9 — final visible cart quantity and gateway checkmark */
body.woocommerce-cart .kc-quantity-control,
body.woocommerce-cart .kc-cart-item__controls .quantity .kc-quantity-control {
	position: relative !important;
	width: 132px !important;
	min-width: 132px !important;
	height: 42px !important;
	display: grid !important;
	grid-template-columns: 38px 1fr 38px !important;
	direction: ltr !important;
	align-items: center !important;
	justify-items: center !important;
	border: 1px solid #e6c98f !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 4px #fffaf3, 0 8px 18px rgba(12, 35, 64, .055) !important;
	overflow: hidden !important;
}

body.woocommerce-cart .kc-quantity-control__button {
	position: relative !important;
	z-index: 2 !important;
	width: 38px !important;
	height: 42px !important;
	min-height: 42px !important;
	display: grid !important;
	place-items: center !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--kc-gold-dark) !important;
	-webkit-text-fill-color: var(--kc-gold-dark) !important;
	font-size: 21px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	cursor: pointer !important;
	box-shadow: none !important;
}

body.woocommerce-cart .kc-quantity-control__button--minus {
	order: 1 !important;
}

body.woocommerce-cart .kc-quantity-control input.qty {
	order: 2 !important;
	position: relative !important;
	z-index: 3 !important;
	width: 56px !important;
	min-width: 56px !important;
	max-width: 56px !important;
	height: 40px !important;
	min-height: 40px !important;
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: #fff !important;
	color: var(--kc-ink) !important;
	-webkit-text-fill-color: var(--kc-ink) !important;
	opacity: 1 !important;
	visibility: visible !important;
	font-size: 16px !important;
	font-weight: 950 !important;
	line-height: 40px !important;
	text-align: center !important;
	appearance: textfield !important;
	-moz-appearance: textfield !important;
	box-shadow: none !important;
}

body.woocommerce-cart .kc-quantity-control__button--plus {
	order: 3 !important;
}

body.woocommerce-cart .kc-quantity-control input.qty::-webkit-outer-spin-button,
body.woocommerce-cart .kc-quantity-control input.qty::-webkit-inner-spin-button {
	margin: 0 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}

body.woocommerce-cart .kc-cart-item__selected {
	color: var(--kc-ink) !important;
	-webkit-text-fill-color: var(--kc-ink) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input.input-radio {
	position: absolute !important;
	right: 16px !important;
	top: 50% !important;
	width: 30px !important;
	height: 30px !important;
	margin: 0 !important;
	transform: translateY(-50%) !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	border: 2px solid #d7dee8 !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 4px #fff !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked {
	border-color: #16a34a !important;
	background: #16a34a !important;
	box-shadow: inset 0 0 0 5px #fff, 0 8px 18px rgba(22, 163, 74, .22) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked::after {
	content: "✓" !important;
	position: absolute !important;
	inset: 0 !important;
	display: grid !important;
	place-items: center !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
	min-height: 86px !important;
	padding: 14px 60px 14px 14px !important;
}

body.woocommerce-checkout #payment ul.payment_methods li:has(input.input-radio:checked) {
	border-color: #f2ad22 !important;
	background: linear-gradient(135deg, #fff9ed 0%, #fff 100%) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li label img {
	max-width: 126px !important;
	max-height: 56px !important;
	padding: 8px 10px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 16px !important;
	background: #fff !important;
	object-fit: contain !important;
}

.kc-enamad__preview {
	display: inline-grid !important;
	place-items: center !important;
	gap: 6px !important;
	text-decoration: none !important;
}

.kc-enamad__preview img {
	max-width: 120px !important;
	height: auto !important;
	cursor: pointer !important;
}

@media (max-width: 760px) {
	body.woocommerce-cart .kc-quantity-control,
	body.woocommerce-cart .kc-cart-item__controls .quantity .kc-quantity-control {
		width: 100% !important;
		grid-template-columns: 46px 1fr 46px !important;
	}

	body.woocommerce-cart .kc-quantity-control input.qty {
		width: 100% !important;
		min-width: 64px !important;
		max-width: 100% !important;
	}

	body.woocommerce-checkout #payment ul.payment_methods li label img {
		max-width: 112px !important;
		max-height: 52px !important;
	}
}

/* Ketabbin v1.4.8 — cart badge, selected quantity note, checkout/payment polish */
.kc-mobile-nav a span,
.kc-mobile-nav button span {
	position: relative;
}

.kc-mobile-nav .kc-cart-count {
	top: -9px !important;
	right: -10px !important;
	min-width: 19px !important;
	height: 19px !important;
	padding: 0 5px !important;
	display: none !important;
	border: 2px solid #fff !important;
	background: var(--kc-red) !important;
	color: #fff !important;
	font-size: 10px !important;
	font-weight: 950 !important;
	box-shadow: 0 8px 18px rgba(239, 64, 86, .24) !important;
}

.kc-mobile-nav .kc-cart-count.is-visible {
	display: grid !important;
}

body.woocommerce-cart .kc-cart-item__controls {
	display: grid !important;
	grid-template-columns: 1fr auto auto !important;
	align-items: center !important;
	gap: 8px !important;
}

body.woocommerce-cart .kc-cart-item__selected {
	min-height: 34px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 6px 10px !important;
	border: 1px solid #f0dfc1 !important;
	border-radius: 999px !important;
	background: #fffaf2 !important;
	color: var(--kc-ink) !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	line-height: 1.5 !important;
	text-align: center !important;
}

body.woocommerce-cart .kc-quantity-control,
body.woocommerce-cart .kc-cart-item__controls .quantity .kc-quantity-control {
	width: 118px !important;
	min-width: 118px !important;
	height: 38px !important;
	display: grid !important;
	grid-template-columns: 34px 1fr 34px !important;
	align-items: center !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 3px #fffaf3 !important;
	overflow: hidden !important;
}

body.woocommerce-cart .kc-quantity-control input.qty {
	width: 100% !important;
	height: 36px !important;
	min-height: 36px !important;
	padding: 0 !important;
	border: 0 !important;
	background: #fff !important;
	color: var(--kc-ink) !important;
	-webkit-text-fill-color: var(--kc-ink) !important;
	font-size: 15px !important;
	font-weight: 950 !important;
	opacity: 1 !important;
	text-align: center !important;
}

body.woocommerce-cart .kc-quantity-control__button {
	width: 34px !important;
	height: 36px !important;
	min-height: 36px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--kc-gold-dark) !important;
	font-size: 18px !important;
	font-weight: 950 !important;
	box-shadow: none !important;
}

body.woocommerce-cart .kc-cart-item__remove {
	min-width: 58px !important;
}

body.woocommerce-checkout .kc-content,
body.woocommerce-checkout .woocommerce {
	direction: rtl;
}

body.woocommerce-checkout .woocommerce {
	width: min(100% - 22px, 980px);
	margin: 22px auto 130px;
}

body.woocommerce-checkout form.checkout {
	display: grid !important;
	grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr) !important;
	gap: 16px !important;
	align-items: start !important;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout .woocommerce-form-login,
body.woocommerce-checkout .woocommerce-form-coupon {
	padding: 16px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 24px !important;
	background: linear-gradient(160deg, #fff 0%, #fffaf2 100%) !important;
	box-shadow: 0 14px 38px rgba(12, 35, 64, .06) !important;
}

body.woocommerce-checkout h3,
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout #order_review_heading {
	margin: 0 0 14px !important;
	color: var(--kc-ink) !important;
	font-size: clamp(22px, 5vw, 32px) !important;
	font-weight: 950 !important;
	line-height: 1.5 !important;
}

body.woocommerce-checkout .form-row {
	margin: 0 0 12px !important;
}

body.woocommerce-checkout label {
	color: var(--kc-ink) !important;
	font-size: 13px !important;
	font-weight: 900 !important;
	line-height: 1.8 !important;
}

body.woocommerce-checkout abbr.required {
	color: var(--kc-red) !important;
	text-decoration: none !important;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
	min-height: 48px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 15px !important;
	background: #fff !important;
	color: var(--kc-ink) !important;
	box-shadow: none !important;
	font-weight: 800 !important;
}

body.woocommerce-checkout textarea {
	min-height: 86px !important;
	padding: 12px !important;
}

body.woocommerce-checkout table.shop_table {
	border: 1px solid #f0dfc1 !important;
	border-radius: 18px !important;
	overflow: hidden !important;
	background: #fff !important;
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
	padding: 12px 10px !important;
	border-color: #f0dfc1 !important;
	background: transparent !important;
	color: var(--kc-ink) !important;
	font-size: 13px !important;
	line-height: 1.8 !important;
}

body.woocommerce-checkout table.shop_table .order-total th,
body.woocommerce-checkout table.shop_table .order-total td {
	color: var(--kc-red) !important;
	font-size: 17px !important;
	font-weight: 950 !important;
}

body.woocommerce-checkout #payment {
	margin-top: 14px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 22px !important;
	background: #fff8eb !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
	display: grid !important;
	gap: 10px !important;
	padding: 12px !important;
	border: 0 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
	position: relative !important;
	margin: 0 !important;
	padding: 12px 52px 12px 12px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 18px !important;
	background: #fff !important;
	box-shadow: 0 8px 20px rgba(12, 35, 64, .045) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input.input-radio {
	position: absolute !important;
	right: 15px !important;
	top: 18px !important;
	width: 24px !important;
	height: 24px !important;
	margin: 0 !important;
	accent-color: var(--kc-gold) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked + label {
	color: var(--kc-gold-dark) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li:has(input.input-radio:checked) {
	border-color: var(--kc-gold) !important;
	background: linear-gradient(135deg, #fffaf0, #fff) !important;
	box-shadow: 0 12px 30px rgba(184, 116, 0, .12) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li label {
	width: 100%;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	margin: 0 !important;
	cursor: pointer !important;
	font-size: 15px !important;
	font-weight: 950 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li label img {
	max-width: 98px !important;
	max-height: 42px !important;
	padding: 6px 8px !important;
	border: 1px solid #f0dfc1 !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: 0 6px 14px rgba(12, 35, 64, .06) !important;
}

body.woocommerce-checkout #payment div.payment_box {
	margin: 10px 0 0 !important;
	padding: 10px 12px !important;
	border-radius: 14px !important;
	background: #fffaf2 !important;
	color: #566070 !important;
	font-size: 12px !important;
	line-height: 1.9 !important;
}

body.woocommerce-checkout #payment div.form-row {
	padding: 12px !important;
}

body.woocommerce-checkout #place_order {
	width: 100% !important;
	min-height: 56px !important;
	border: 0 !important;
	border-radius: 18px !important;
	background: linear-gradient(135deg, #071527, #0c2340) !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 950 !important;
	box-shadow: 0 16px 32px rgba(12, 35, 64, .16) !important;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
	color: #566070 !important;
	font-size: 13px !important;
	line-height: 2 !important;
}

@media (max-width: 760px) {
	body.woocommerce-cart .kc-cart-item__controls {
		grid-template-columns: 1fr !important;
		justify-items: stretch !important;
	}

	body.woocommerce-cart .kc-cart-item__selected,
	body.woocommerce-cart .kc-quantity-control,
	body.woocommerce-cart .kc-cart-item__remove {
		width: 100% !important;
		max-width: 100% !important;
	}

	body.woocommerce-cart .kc-quantity-control,
	body.woocommerce-cart .kc-cart-item__controls .quantity .kc-quantity-control {
		grid-template-columns: 42px 1fr 42px !important;
		height: 42px !important;
	}

	body.woocommerce-checkout form.checkout {
		grid-template-columns: 1fr !important;
	}

	body.woocommerce-checkout .woocommerce {
		width: calc(100% - 20px);
	}

	body.woocommerce-checkout .woocommerce-billing-fields,
	body.woocommerce-checkout .woocommerce-additional-fields,
	body.woocommerce-checkout #order_review,
	body.woocommerce-checkout .woocommerce-checkout-review-order {
		padding: 13px !important;
		border-radius: 22px !important;
	}

	body.woocommerce-checkout #payment ul.payment_methods li {
		padding: 11px 46px 11px 10px !important;
	}

	body.woocommerce-checkout #payment ul.payment_methods li label img {
		max-width: 82px !important;
		max-height: 38px !important;
	}
}

/* Ketabbin v1.4.7 — final overrides: visible gallery slides, one-column specs, cart quantity */
.single-product div.product div.images .flex-viewport .woocommerce-product-gallery__image,
.single-product div.product div.images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image.flex-active-slide,
.single-product div.product div.images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:first-child,
.single-product div.product div.images .woocommerce-product-gallery__image.kc-is-active {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.single-product div.product div.images .woocommerce-product-gallery__image:not(:first-child).flex-active-slide {
	display: block !important;
}

.single-product div.product div.images.woocommerce-product-gallery,
.single-product div.product div.images {
	min-height: 430px !important;
}

.single-product div.product div.images .woocommerce-product-gallery__wrapper,
.single-product div.product div.images .flex-viewport,
.single-product div.product div.images .flex-viewport .woocommerce-product-gallery__wrapper,
.single-product div.product div.images .woocommerce-product-gallery__image {
	min-height: 360px !important;
}

.single-product div.product div.images .woocommerce-product-gallery__image a {
	min-height: 360px !important;
	display: grid !important;
	place-items: center !important;
	background: #fff !important;
	border-radius: 18px !important;
}

.single-product div.product div.images .woocommerce-product-gallery__image img,
.single-product div.product div.images .flex-active-slide img {
	width: 100% !important;
	height: 360px !important;
	max-height: 360px !important;
	object-fit: contain !important;
	background: #fff !important;
}

.single-product .kc-single-book-specs div {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 0 !important;
	border: 1px solid #f0dfc1 !important;
	border-radius: 18px !important;
	overflow: hidden !important;
	background: #fff !important;
}

.single-product .kc-single-book-specs p,
.single-product .kc-single-book-specs p:nth-child(odd),
.single-product .kc-single-book-specs p:nth-last-child(-n+2) {
	display: grid !important;
	grid-template-columns: minmax(92px, 28%) minmax(0, 1fr) !important;
	min-height: 48px !important;
	gap: 12px !important;
	padding: 10px 12px !important;
	border: 0 !important;
	border-left: 0 !important;
	border-bottom: 1px solid #edf0f4 !important;
	background: #fff !important;
}

.single-product .kc-single-book-specs p:nth-child(even) {
	background: #fffaf4 !important;
}

.single-product .kc-single-book-specs p:last-child {
	border-bottom: 0 !important;
}

.single-product .kc-single-book-specs span,
.single-product .kc-single-book-specs b {
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	line-height: 1.8 !important;
}

body.woocommerce-cart .kc-cart-item__controls .quantity {
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.woocommerce-cart .kc-quantity-control {
	width: 132px !important;
	height: 42px !important;
	display: grid !important;
	grid-template-columns: 40px 52px 40px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 999px !important;
	background: #fffaf0 !important;
	overflow: hidden !important;
	direction: ltr !important;
}

body.woocommerce-cart .kc-quantity-control input.qty {
	width: 52px !important;
	min-width: 52px !important;
	height: 40px !important;
	display: block !important;
	border: 0 !important;
	border-right: 1px solid #ecd7ae !important;
	border-left: 1px solid #ecd7ae !important;
	background: #fff !important;
	color: #071527 !important;
	-webkit-text-fill-color: #071527 !important;
	font-size: 15px !important;
	font-weight: 950 !important;
	text-align: center !important;
	opacity: 1 !important;
}

@media (max-width: 760px) {
	.single-product div.product div.images.woocommerce-product-gallery,
	.single-product div.product div.images {
		min-height: 372px !important;
	}

	.single-product div.product div.images .woocommerce-product-gallery__wrapper,
	.single-product div.product div.images .flex-viewport,
	.single-product div.product div.images .flex-viewport .woocommerce-product-gallery__wrapper,
	.single-product div.product div.images .woocommerce-product-gallery__image,
	.single-product div.product div.images .woocommerce-product-gallery__image a {
		min-height: 292px !important;
	}

	.single-product div.product div.images .woocommerce-product-gallery__image img,
	.single-product div.product div.images .flex-active-slide img {
		height: 292px !important;
		max-height: 292px !important;
	}

	.single-product .kc-single-book-specs div {
		grid-template-columns: 1fr !important;
	}

	.single-product .kc-single-book-specs p,
	.single-product .kc-single-book-specs p:nth-child(odd),
	.single-product .kc-single-book-specs p:nth-last-child(-n+2) {
		grid-template-columns: minmax(82px, 32%) minmax(0, 1fr) !important;
		min-height: 46px !important;
		gap: 9px !important;
		padding: 9px 10px !important;
	}
}

/* Ketabbin v1.4.3 — readable one-column product specifications */
.single-product .kc-single-book-specs,
.single-product .kc-product-features-tab .kc-single-book-specs,
.single-product .kc-single-book-specs--tab {
	width: min(1120px, calc(100% - 24px)) !important;
	margin: 14px auto 120px !important;
	padding: 14px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 22px !important;
	background: linear-gradient(180deg, #fff 0%, #fffaf2 100%) !important;
	box-shadow: 0 14px 36px rgba(12, 35, 64, .06) !important;
	direction: rtl !important;
}

.single-product .kc-product-features-tab .kc-single-book-specs,
.single-product .kc-single-book-specs--tab {
	width: 100% !important;
	margin: 0 !important;
	box-shadow: none !important;
}

.single-product .kc-single-book-specs h2 {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 0 12px !important;
	padding: 0 0 10px !important;
	border-bottom: 1px solid #f0dfc1 !important;
	color: var(--kc-ink) !important;
	font-size: 20px !important;
	font-weight: 950 !important;
	line-height: 1.5 !important;
}

.single-product .kc-single-book-specs h2::before {
	content: "" !important;
	width: 14px !important;
	height: 14px !important;
	flex: 0 0 14px !important;
	border: 2px solid #f5a623 !important;
	border-radius: 5px !important;
	background: #fff8eb !important;
	box-shadow: 0 0 0 4px rgba(245, 166, 35, .12) !important;
}

.single-product .kc-single-book-specs div {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 0 !important;
	border: 1px solid #f0dfc1 !important;
	border-radius: 18px !important;
	overflow: hidden !important;
	background: #fff !important;
}

.single-product .kc-single-book-specs p,
.single-product .kc-single-book-specs p:nth-child(odd),
.single-product .kc-single-book-specs p:nth-last-child(-n+2) {
	min-height: 48px !important;
	display: grid !important;
	grid-template-columns: minmax(92px, 28%) minmax(0, 1fr) !important;
	align-items: center !important;
	gap: 12px !important;
	margin: 0 !important;
	padding: 10px 12px !important;
	border: 0 !important;
	border-left: 0 !important;
	border-bottom: 1px solid #edf0f4 !important;
	background: #fff !important;
}

.single-product .kc-single-book-specs p:nth-child(even) {
	background: #fffaf4 !important;
}

.single-product .kc-single-book-specs p:last-child {
	border-bottom: 0 !important;
}

.single-product .kc-single-book-specs span,
.single-product .kc-single-book-specs b {
	min-width: 0 !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: right !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	line-height: 1.8 !important;
}

.single-product .kc-single-book-specs span {
	color: #687385 !important;
	font-size: 12px !important;
	font-weight: 850 !important;
}

.single-product .kc-single-book-specs b {
	color: var(--kc-ink) !important;
	font-size: 14px !important;
	font-weight: 900 !important;
}

@media (max-width: 760px) {
	.single-product .kc-single-book-specs,
	.single-product .kc-product-features-tab .kc-single-book-specs,
	.single-product .kc-single-book-specs--tab {
		width: calc(100% - 20px) !important;
		margin: 12px auto 120px !important;
		padding: 12px !important;
		border-radius: 20px !important;
	}

	.single-product .kc-product-features-tab .kc-single-book-specs,
	.single-product .kc-single-book-specs--tab {
		width: 100% !important;
		margin: 0 !important;
	}

	.single-product .kc-single-book-specs h2 {
		font-size: 18px !important;
	}

	.single-product .kc-single-book-specs p,
	.single-product .kc-single-book-specs p:nth-child(odd),
	.single-product .kc-single-book-specs p:nth-last-child(-n+2) {
		grid-template-columns: minmax(82px, 32%) minmax(0, 1fr) !important;
		min-height: 46px !important;
		gap: 9px !important;
		padding: 9px 10px !important;
	}

	.single-product .kc-single-book-specs span {
		font-size: 11px !important;
	}

	.single-product .kc-single-book-specs b {
		font-size: 12.5px !important;
	}
}

/* Ketabbin v1.4.4 — compact sale badges inside related product cards */
.single-product .related ul.products li.product span.onsale,
.single-product .upsells ul.products li.product span.onsale,
.single-product .cross-sells ul.products li.product span.onsale,
.single-product .related ul.products li.product .kc-loop-sale-badge,
.single-product .upsells ul.products li.product .kc-loop-sale-badge,
.single-product .cross-sells ul.products li.product .kc-loop-sale-badge {
	top: 10px !important;
	right: 10px !important;
	left: auto !important;
	z-index: 5 !important;
	width: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: 88px !important;
	padding: 5px 8px !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: #ef4056 !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 950 !important;
	line-height: 1.35 !important;
	text-align: center !important;
	box-shadow: 0 8px 18px rgba(239, 64, 86, .22) !important;
	transform: none !important;
}

@media (max-width: 760px) {
	.single-product .related ul.products li.product span.onsale,
	.single-product .upsells ul.products li.product span.onsale,
	.single-product .cross-sells ul.products li.product span.onsale,
	.single-product .related ul.products li.product .kc-loop-sale-badge,
	.single-product .upsells ul.products li.product .kc-loop-sale-badge,
	.single-product .cross-sells ul.products li.product .kc-loop-sale-badge {
		top: 8px !important;
		right: 8px !important;
		max-width: 76px !important;
		padding: 4px 7px !important;
		border-radius: 11px !important;
		font-size: 10px !important;
		line-height: 1.3 !important;
	}
}

/* Ketabbin v1.4.2 — touch gallery, compact specs, and final cart UI */
.single-product div.product div.images {
	position: relative !important;
	overflow: hidden !important;
	touch-action: pan-y !important;
}

.single-product div.product div.images .woocommerce-product-gallery__wrapper {
	margin: 0 !important;
}

.single-product div.product div.images .woocommerce-product-gallery__image {
	text-align: center !important;
	background: #fff !important;
	border-radius: 18px !important;
}

.single-product div.product div.images .woocommerce-product-gallery__image:not(:first-child) {
	display: none !important;
}

.single-product div.product div.images .flex-control-thumbs {
	display: flex !important;
	justify-content: center !important;
	gap: 8px !important;
	margin: 10px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	overflow-x: auto !important;
	scrollbar-width: none !important;
}

.single-product div.product div.images .flex-control-thumbs li {
	width: 54px !important;
	min-width: 54px !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

.single-product div.product div.images .flex-control-thumbs img {
	width: 54px !important;
	height: 54px !important;
	padding: 3px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 14px !important;
	background: #fff !important;
	object-fit: contain !important;
	opacity: 1 !important;
	box-shadow: 0 8px 18px rgba(12, 35, 64, .07) !important;
}

.single-product div.product div.images .flex-control-thumbs img.flex-active,
.single-product div.product div.images .flex-control-thumbs img.is-active {
	border-color: var(--kc-gold) !important;
	box-shadow: 0 0 0 3px rgba(245, 166, 35, .15) !important;
}

.kc-gallery-nav {
	position: absolute;
	top: 42%;
	z-index: 5;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border: 1px solid #ecd7ae;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: var(--kc-ink);
	font-size: 30px;
	font-weight: 900;
	line-height: 1;
	box-shadow: 0 10px 24px rgba(12, 35, 64, .12);
	cursor: pointer;
}

.kc-gallery-nav--prev {
	right: 12px;
}

.kc-gallery-nav--next {
	left: 12px;
}

.kc-product-features-tab .kc-single-book-specs,
.kc-single-book-specs--tab {
	width: 100% !important;
	margin: 0 !important;
	box-shadow: none !important;
}

.kc-single-book-specs div {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.kc-single-book-specs p {
	grid-template-columns: minmax(42px, 38%) minmax(0, 1fr) !important;
	min-width: 0 !important;
}

.kc-single-book-specs span,
.kc-single-book-specs b {
	min-width: 0 !important;
	white-space: nowrap !important;
	text-align: right !important;
}

body.woocommerce-cart .kc-page,
body.woocommerce-cart .kc-content,
body.woocommerce-cart .woocommerce {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding-bottom: 110px !important;
	background: #f6f8fb !important;
	border: 0 !important;
}

body.woocommerce-cart .kc-content > h1,
body.woocommerce-cart .entry-title,
body.woocommerce-cart .page-title {
	width: min(980px, calc(100% - 24px));
	margin: 24px auto 12px !important;
	color: var(--kc-ink) !important;
	font-size: clamp(28px, 7vw, 42px) !important;
	font-weight: 950 !important;
	text-align: right !important;
}

.kc-cart,
body.woocommerce-cart .woocommerce-cart-form {
	width: min(980px, calc(100% - 24px)) !important;
	margin: 18px auto 0 !important;
	direction: rtl !important;
}

.kc-cart-panel,
body.woocommerce-cart table.shop_table {
	padding: 16px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 28px !important;
	background: linear-gradient(180deg, #fff 0%, #fffaf2 100%) !important;
	box-shadow: 0 18px 42px rgba(12, 35, 64, .08) !important;
	overflow: hidden !important;
}

.kc-cart-heading {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 14px !important;
	margin-bottom: 14px !important;
}

.kc-cart-heading span {
	color: var(--kc-gold-dark) !important;
	font-size: 13px !important;
	font-weight: 900 !important;
}

.kc-cart-heading h2 {
	margin: 2px 0 0 !important;
	color: var(--kc-ink) !important;
	font-size: 30px !important;
	font-weight: 950 !important;
}

.kc-cart-heading b {
	padding: 8px 12px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 999px !important;
	background: #fffaf0 !important;
	color: var(--kc-gold-dark) !important;
	font-size: 13px !important;
}

.kc-cart-items {
	display: grid !important;
	gap: 12px !important;
}

.kc-cart-item {
	display: grid !important;
	grid-template-columns: 92px minmax(0, 1fr) auto !important;
	gap: 12px !important;
	align-items: center !important;
	padding: 12px !important;
	border: 1px solid #f0dfc1 !important;
	border-radius: 22px !important;
	background: #fff !important;
}

.kc-cart-item__thumb img,
body.woocommerce-cart .product-thumbnail img {
	width: 82px !important;
	height: 82px !important;
	padding: 5px !important;
	border-radius: 18px !important;
	background: #fff !important;
	object-fit: contain !important;
	box-shadow: 0 10px 24px rgba(12, 35, 64, .08) !important;
}

.kc-cart-item__body {
	min-width: 0 !important;
	display: grid !important;
	gap: 8px !important;
}

.kc-cart-item__title a,
.kc-cart-item__title strong,
body.woocommerce-cart .product-name a {
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	color: var(--kc-ink) !important;
	font-size: 15px !important;
	font-weight: 900 !important;
	line-height: 1.75 !important;
	text-decoration: none !important;
}

.kc-cart-item__meta {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 7px !important;
	color: #687385 !important;
	font-size: 11px !important;
	font-weight: 800 !important;
}

.kc-cart-item__meta .is-stock {
	padding: 4px 8px !important;
	border-radius: 999px !important;
	background: #f2fff7 !important;
	color: #16794b !important;
}

.kc-cart-item__controls {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}

.kc-quantity-control {
	display: inline-grid !important;
	grid-template-columns: 34px 44px 34px !important;
	align-items: center !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 999px !important;
	background: #fffaf0 !important;
	overflow: hidden !important;
}

.kc-quantity-control__button {
	width: 34px !important;
	height: 34px !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--kc-gold-dark) !important;
	font-size: 20px !important;
	font-weight: 950 !important;
	cursor: pointer !important;
}

.kc-quantity-control input.qty,
body.woocommerce-cart .quantity input.qty {
	width: 44px !important;
	height: 34px !important;
	min-height: 34px !important;
	padding: 0 !important;
	border: 0 !important;
	background: #fff !important;
	color: var(--kc-ink) !important;
	font-size: 14px !important;
	font-weight: 950 !important;
	text-align: center !important;
}

.kc-cart-item__remove {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 34px !important;
	padding: 5px 11px !important;
	border: 1px solid rgba(239, 64, 86, .24) !important;
	border-radius: 999px !important;
	background: #fff5f6 !important;
	color: var(--kc-red) !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	text-decoration: none !important;
}

.kc-cart-item__price {
	display: grid !important;
	gap: 2px !important;
	justify-items: end !important;
	min-width: 116px !important;
	color: var(--kc-muted) !important;
	font-size: 11px !important;
	font-weight: 800 !important;
}

.kc-cart-item__price b {
	color: var(--kc-red) !important;
	font-size: 17px !important;
	font-weight: 950 !important;
}

.kc-cart-item__price small {
	color: var(--kc-gold-dark) !important;
	font-size: 12px !important;
	font-weight: 850 !important;
}

.kc-cart-coupon {
	margin-top: 14px !important;
	padding: 12px !important;
	border: 1px dashed #ecd7ae !important;
	border-radius: 20px !important;
	background: #fff !important;
}

.kc-cart-coupon label {
	display: block !important;
	margin-bottom: 8px !important;
	color: var(--kc-ink) !important;
	font-size: 15px !important;
	font-weight: 950 !important;
}

.kc-cart-coupon div {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	gap: 8px !important;
}

.kc-cart-coupon input {
	min-height: 46px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 14px !important;
	background: #fffaf7 !important;
	color: var(--kc-ink) !important;
	font-weight: 850 !important;
}

.kc-cart-coupon button,
.kc-cart-update,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	min-height: 46px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: linear-gradient(135deg, #f2ad22, #c97f00) !important;
	color: #fff !important;
	font-weight: 950 !important;
	box-shadow: 0 12px 24px rgba(184, 116, 0, .17) !important;
}

.kc-cart-update {
	width: 100% !important;
	margin-top: 12px !important;
}

.kc-cart-summary-wrap,
body.woocommerce-cart .cart-collaterals {
	width: min(980px, calc(100% - 24px)) !important;
	margin: 14px auto 120px !important;
	direction: rtl !important;
}

.kc-cart-summary-wrap .cart_totals,
body.woocommerce-cart .cart_totals {
	float: none !important;
	width: 100% !important;
	padding: 16px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 24px !important;
	background: #fff !important;
	box-shadow: 0 14px 36px rgba(12, 35, 64, .07) !important;
}

.kc-cart-summary-wrap .cart_totals h2,
body.woocommerce-cart .cart_totals h2 {
	margin: 0 0 10px !important;
	color: var(--kc-ink) !important;
	font-size: 24px !important;
	font-weight: 950 !important;
	text-align: right !important;
}

.kc-cart-summary-wrap .cart_totals table,
body.woocommerce-cart .cart_totals table {
	border: 0 !important;
	margin: 0 0 12px !important;
}

.kc-cart-summary-wrap .cart_totals th,
.kc-cart-summary-wrap .cart_totals td,
body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td {
	padding: 12px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #edf0f4 !important;
	color: var(--kc-ink) !important;
	text-align: right !important;
}

.kc-cart-summary-wrap .order-total th,
.kc-cart-summary-wrap .order-total td,
body.woocommerce-cart .order-total th,
body.woocommerce-cart .order-total td {
	color: var(--kc-red) !important;
	font-size: 22px !important;
	font-weight: 950 !important;
}

@media (max-width: 760px) {
	.single-product div.product div.images img {
		max-height: 430px !important;
	}

	.single-product div.product div.images .flex-control-thumbs li,
	.single-product div.product div.images .flex-control-thumbs img {
		width: 48px !important;
		height: 48px !important;
		min-width: 48px !important;
		border-radius: 12px !important;
	}

	.kc-gallery-nav {
		width: 34px !important;
		height: 34px !important;
		font-size: 26px !important;
	}

	.kc-single-book-specs {
		margin-bottom: 20px !important;
	}

	.kc-single-book-specs h2 {
		font-size: 16px !important;
	}

	.kc-single-book-specs span {
		font-size: 9.5px !important;
	}

	.kc-single-book-specs b {
		font-size: 10.5px !important;
	}

	.kc-cart-item {
		grid-template-columns: 76px minmax(0, 1fr) !important;
		align-items: start !important;
		padding: 10px !important;
	}

	.kc-cart-item__thumb img {
		width: 70px !important;
		height: 70px !important;
	}

	.kc-cart-item__price {
		grid-column: 1 / -1 !important;
		grid-template-columns: auto minmax(0, 1fr) auto !important;
		align-items: center !important;
		justify-items: start !important;
		min-width: 0 !important;
		padding-top: 8px !important;
		border-top: 1px solid #edf0f4 !important;
	}

	.kc-cart-coupon div {
		grid-template-columns: 1fr !important;
	}
}

/* Ketabbin v1.4.1 final product gallery, specs and cart fixes */
.single-product div.product div.images.woocommerce-product-gallery {
	position: relative !important;
	overflow: hidden !important;
}

.single-product div.product div.images .woocommerce-product-gallery__wrapper {
	margin: 0 !important;
}

.single-product div.product div.images .woocommerce-product-gallery__image {
	overflow: hidden !important;
	border-radius: 22px !important;
	background: #fff !important;
}

.single-product div.product div.images .woocommerce-product-gallery__image img {
	display: block !important;
	width: 100% !important;
	max-height: 520px !important;
	object-fit: contain !important;
	background: #fff !important;
}

.single-product div.product div.images .flex-control-thumbs {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 10px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	overflow-x: auto !important;
	scroll-snap-type: x mandatory !important;
}

.single-product div.product div.images .flex-control-thumbs li {
	float: none !important;
	width: 58px !important;
	min-width: 58px !important;
	max-width: 58px !important;
	margin: 0 !important;
	scroll-snap-align: center !important;
}

.single-product div.product div.images .flex-control-thumbs img {
	width: 58px !important;
	height: 58px !important;
	padding: 4px !important;
	border: 1px solid #eddcbf !important;
	border-radius: 14px !important;
	background: #fff !important;
	object-fit: contain !important;
	box-shadow: 0 8px 20px rgba(12, 35, 64, .08) !important;
}

.single-product div.product div.images .flex-direction-nav {
	position: absolute !important;
	inset: 0 !important;
	z-index: 5 !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	pointer-events: none !important;
}

.single-product div.product div.images .flex-direction-nav a {
	position: absolute !important;
	top: 45% !important;
	display: grid !important;
	place-items: center !important;
	width: 38px !important;
	height: 38px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, .94) !important;
	color: var(--kc-ink) !important;
	box-shadow: 0 12px 28px rgba(12, 35, 64, .14) !important;
	font-size: 0 !important;
	text-decoration: none !important;
	pointer-events: auto !important;
}

.single-product div.product div.images .flex-direction-nav a::before {
	font-size: 24px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
}

.single-product div.product div.images .flex-direction-nav .flex-prev {
	right: 12px !important;
	left: auto !important;
}

.single-product div.product div.images .flex-direction-nav .flex-next {
	left: 12px !important;
	right: auto !important;
}

.single-product div.product div.images .flex-direction-nav .flex-prev::before {
	content: ">" !important;
}

.single-product div.product div.images .flex-direction-nav .flex-next::before {
	content: "<" !important;
}

.kc-product-features-tab .kc-single-book-specs {
	width: 100% !important;
	margin: 0 !important;
	box-shadow: none !important;
}

.kc-single-book-specs div {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.kc-single-book-specs p {
	min-height: 44px !important;
	grid-template-columns: 1fr !important;
	gap: 2px !important;
	align-content: center !important;
}

.kc-single-book-specs span,
.kc-single-book-specs b {
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	text-align: right !important;
}

.kc-single-book-specs span {
	font-size: 9.5px !important;
	line-height: 1.35 !important;
}

.kc-single-book-specs b {
	font-size: 11px !important;
	line-height: 1.45 !important;
}

body.woocommerce-cart .woocommerce-cart-form.kc-cart,
body.woocommerce-cart .kc-cart-summary-wrap {
	display: block !important;
	width: min(960px, calc(100% - 24px)) !important;
	margin: 0 auto 18px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.woocommerce-cart .kc-cart-panel,
body.woocommerce-cart .kc-cart-summary-wrap .cart_totals {
	padding: 18px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 26px !important;
	background: linear-gradient(180deg, #fff, #fffaf2) !important;
	box-shadow: 0 16px 38px rgba(12, 35, 64, .08) !important;
}

body.woocommerce-cart .kc-cart-heading {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	margin-bottom: 16px !important;
}

body.woocommerce-cart .kc-cart-heading span {
	color: var(--kc-gold) !important;
	font-size: 13px !important;
	font-weight: 900 !important;
}

body.woocommerce-cart .kc-cart-heading h2 {
	margin: 4px 0 0 !important;
	color: var(--kc-ink) !important;
	font-size: 30px !important;
	font-weight: 950 !important;
}

body.woocommerce-cart .kc-cart-heading b {
	padding: 8px 12px !important;
	border-radius: 999px !important;
	background: #fff6df !important;
	color: var(--kc-gold-dark) !important;
	font-size: 13px !important;
}

body.woocommerce-cart .kc-cart-items {
	display: grid !important;
	gap: 12px !important;
}

body.woocommerce-cart .kc-cart-item {
	display: grid !important;
	grid-template-columns: 96px minmax(0, 1fr) auto !important;
	gap: 12px !important;
	align-items: center !important;
	padding: 12px !important;
	border: 1px solid #edf0f4 !important;
	border-radius: 20px !important;
	background: #fff !important;
	box-shadow: 0 12px 28px rgba(12, 35, 64, .055) !important;
}

body.woocommerce-cart .kc-cart-item__thumb {
	display: grid !important;
	place-items: center !important;
	width: 96px !important;
	height: 112px !important;
	border-radius: 16px !important;
	background: #fff !important;
	overflow: hidden !important;
}

body.woocommerce-cart .kc-cart-item__thumb img {
	width: 82px !important;
	height: 96px !important;
	object-fit: contain !important;
	background: #fff !important;
}

body.woocommerce-cart .kc-cart-item__body {
	display: grid !important;
	gap: 8px !important;
	min-width: 0 !important;
}

body.woocommerce-cart .kc-cart-item__title a,
body.woocommerce-cart .kc-cart-item__title strong {
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	color: var(--kc-ink) !important;
	font-size: 15px !important;
	font-weight: 900 !important;
	line-height: 1.75 !important;
	text-decoration: none !important;
}

body.woocommerce-cart .kc-cart-item__meta,
body.woocommerce-cart .kc-cart-item__controls {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px !important;
	color: #687385 !important;
	font-size: 12px !important;
}

body.woocommerce-cart .kc-cart-item__meta span {
	padding: 4px 9px !important;
	border-radius: 999px !important;
	background: #eefdf6 !important;
	color: #138557 !important;
	font-weight: 900 !important;
}

body.woocommerce-cart .kc-cart-item__controls .quantity {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 86px !important;
	height: 38px !important;
	padding: 0 10px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 999px !important;
	background: #fffaf2 !important;
}

body.woocommerce-cart .kc-cart-item__controls .qty {
	width: 48px !important;
	height: 30px !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--kc-ink) !important;
	font-weight: 950 !important;
	text-align: center !important;
}

body.woocommerce-cart .kc-cart-item__remove {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 58px !important;
	height: 36px !important;
	padding: 0 12px !important;
	border: 1px solid #ffd2dc !important;
	border-radius: 999px !important;
	background: #fff6f8 !important;
	color: #ef3f62 !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	text-decoration: none !important;
}

body.woocommerce-cart .kc-cart-item__price {
	display: grid !important;
	gap: 4px !important;
	min-width: 104px !important;
	text-align: left !important;
}

body.woocommerce-cart .kc-cart-item__price span,
body.woocommerce-cart .kc-cart-item__price small {
	color: #7b8492 !important;
	font-size: 11px !important;
}

body.woocommerce-cart .kc-cart-item__price b {
	color: var(--kc-ink) !important;
	font-size: 16px !important;
	font-weight: 950 !important;
}

body.woocommerce-cart .kc-cart-coupon {
	margin-top: 14px !important;
	padding: 14px !important;
	border: 1px dashed #e2bd74 !important;
	border-radius: 18px !important;
	background: #fff8e8 !important;
}

body.woocommerce-cart .kc-cart-coupon label {
	display: block !important;
	margin-bottom: 8px !important;
	color: var(--kc-ink) !important;
	font-size: 14px !important;
	font-weight: 950 !important;
}

body.woocommerce-cart .kc-cart-coupon div {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	gap: 8px !important;
}

body.woocommerce-cart .kc-cart-coupon input {
	width: 100% !important;
	height: 46px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 14px !important;
	background: #fff !important;
	color: var(--kc-ink) !important;
}

body.woocommerce-cart .kc-cart-coupon button,
body.woocommerce-cart .kc-cart-update,
body.woocommerce-cart .kc-cart-summary-wrap .wc-proceed-to-checkout .checkout-button {
	min-height: 46px !important;
	border: 0 !important;
	border-radius: 15px !important;
	background: linear-gradient(135deg, var(--kc-gold), var(--kc-gold-dark)) !important;
	color: #fff !important;
	font-weight: 950 !important;
	box-shadow: 0 14px 28px rgba(196, 126, 0, .18) !important;
}

body.woocommerce-cart .kc-cart-update {
	width: 100% !important;
	margin-top: 12px !important;
}

body.woocommerce-cart .kc-cart-summary-wrap .cart_totals h2 {
	margin: 0 0 12px !important;
	color: var(--kc-ink) !important;
	font-size: 24px !important;
	font-weight: 950 !important;
}

@media (max-width: 760px) {
	.single-product div.product div.images .woocommerce-product-gallery__image img {
		max-height: 430px !important;
	}

	.single-product div.product div.images .flex-control-thumbs li,
	.single-product div.product div.images .flex-control-thumbs img {
		width: 50px !important;
		min-width: 50px !important;
		max-width: 50px !important;
		height: 50px !important;
		border-radius: 13px !important;
	}

	.kc-single-book-specs p {
		min-height: 42px !important;
		padding: 6px !important;
	}

	body.woocommerce-cart .woocommerce-cart-form.kc-cart,
	body.woocommerce-cart .kc-cart-summary-wrap {
		width: calc(100% - 20px) !important;
	}

	body.woocommerce-cart .kc-cart-item {
		grid-template-columns: 76px minmax(0, 1fr) !important;
		align-items: start !important;
		padding: 10px !important;
	}

	body.woocommerce-cart .kc-cart-item__thumb {
		width: 76px !important;
		height: 94px !important;
	}

	body.woocommerce-cart .kc-cart-item__thumb img {
		width: 64px !important;
		height: 82px !important;
	}

	body.woocommerce-cart .kc-cart-item__price {
		grid-column: 1 / -1 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		min-width: 0 !important;
		text-align: right !important;
	}

	body.woocommerce-cart .kc-cart-coupon div {
		grid-template-columns: 1fr !important;
	}
}

/* Ketabbin v1.4.0 final overrides — keep after all legacy product/cart rules */
.kc-search-suggestions {
	max-height: min(54vh, 430px) !important;
	overflow-y: auto !important;
	padding-bottom: 10px !important;
}

.kc-search-suggestions a {
	min-height: 50px !important;
	grid-template-columns: 42px minmax(0, 1fr) !important;
}

.kc-search-suggestions img,
.kc-search-suggestions a > span:first-child {
	width: 42px !important;
	height: 42px !important;
}

.kc-search-suggestions b {
	display: -webkit-box !important;
	-webkit-line-clamp: 1 !important;
	-webkit-box-orient: vertical !important;
	white-space: normal !important;
	overflow: hidden !important;
	line-height: 1.6 !important;
}

.kc-search-suggestions small {
	display: none !important;
}

.kc-search-suggestions .kc-search-suggestions__more {
	position: sticky !important;
	bottom: 0 !important;
	min-height: 48px !important;
	display: grid !important;
	grid-template-columns: 1fr !important;
	place-items: center !important;
	border: 1px solid #f2ad22 !important;
	border-radius: 14px !important;
	background: linear-gradient(135deg, #071527, #0c2340) !important;
	color: #fff !important;
	font-weight: 950 !important;
	box-shadow: 0 -10px 22px rgba(255, 255, 255, .94), 0 10px 24px rgba(12, 35, 64, .16) !important;
}

.single-product div.product div.images .flex-control-thumbs {
	display: flex !important;
	justify-content: center !important;
	gap: 8px !important;
	margin: 10px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	overflow-x: auto !important;
}

.single-product div.product div.images .flex-control-thumbs li {
	width: 58px !important;
	flex: 0 0 58px !important;
	float: none !important;
	margin: 0 !important;
}

.single-product div.product div.images .flex-control-thumbs img {
	width: 58px !important;
	height: 58px !important;
	padding: 4px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 16px !important;
	background: #fff !important;
	object-fit: contain !important;
	opacity: .76 !important;
	box-shadow: 0 6px 14px rgba(12, 35, 64, .08) !important;
}

.single-product div.product div.images .flex-control-thumbs img.flex-active,
.single-product div.product div.images .flex-control-thumbs img:hover {
	border-color: #f2ad22 !important;
	opacity: 1 !important;
}

body.woocommerce-cart .kc-cart {
	width: min(100% - 22px, 900px) !important;
	margin: 20px auto 16px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	direction: rtl !important;
}

.kc-cart-panel {
	padding: 16px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 28px !important;
	background: linear-gradient(160deg, #fff 0%, #fffaf2 100%) !important;
	box-shadow: 0 18px 48px rgba(12, 35, 64, .08) !important;
}

.kc-cart-heading {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	margin-bottom: 14px !important;
}

.kc-cart-heading span {
	color: var(--kc-gold-dark) !important;
	font-weight: 900 !important;
}

.kc-cart-heading h2 {
	margin: 2px 0 0 !important;
	color: var(--kc-ink) !important;
	font-size: clamp(30px, 8vw, 44px) !important;
	line-height: 1.25 !important;
}

.kc-cart-heading b {
	padding: 8px 12px !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--kc-ink) !important;
	font-size: 13px !important;
	box-shadow: 0 8px 18px rgba(12, 35, 64, .06) !important;
}

.kc-cart-items {
	display: grid !important;
	gap: 12px !important;
}

.kc-cart-item {
	position: relative !important;
	display: grid !important;
	grid-template-columns: 86px minmax(0, 1fr) !important;
	gap: 10px 12px !important;
	padding: 12px !important;
	border: 1px solid #f0dfc1 !important;
	border-radius: 22px !important;
	background: #fff !important;
	box-shadow: 0 12px 32px rgba(12, 35, 64, .06) !important;
}

.kc-cart-item__thumb {
	grid-row: span 2 !important;
	display: grid !important;
	place-items: center !important;
	width: 86px !important;
	height: 112px !important;
	border-radius: 18px !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 7px #fffaf3 !important;
}

.kc-cart-item__thumb img {
	width: 76px !important;
	height: 96px !important;
	object-fit: contain !important;
	background: #fff !important;
	border-radius: 12px !important;
}

.kc-cart-item__body {
	min-width: 0 !important;
	display: grid !important;
	gap: 8px !important;
	padding-left: 38px !important;
}

.kc-cart-item__title a,
.kc-cart-item__title strong {
	color: var(--kc-ink) !important;
	font-size: 15px !important;
	font-weight: 950 !important;
	line-height: 1.75 !important;
	text-decoration: none !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}

.kc-cart-item__meta,
.kc-cart-item__controls,
.kc-cart-item__price {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
}

.kc-cart-item__meta {
	flex-wrap: wrap !important;
	color: var(--kc-muted) !important;
	font-size: 12px !important;
	font-weight: 800 !important;
}

.kc-cart-item__meta .is-stock {
	color: #16794b !important;
}

.kc-cart-item__meta .is-out {
	color: var(--kc-red) !important;
}

.kc-cart-item__controls,
.kc-cart-item__price {
	justify-content: space-between !important;
}

.kc-cart-item__remove {
	min-height: 38px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 7px 12px !important;
	border: 1px solid rgba(239, 64, 86, .24) !important;
	border-radius: 13px !important;
	background: #fff5f6 !important;
	color: var(--kc-red) !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	text-decoration: none !important;
}

.kc-cart-item__price {
	grid-column: 1 / -1 !important;
	padding-top: 8px !important;
	border-top: 1px solid #f4e7d0 !important;
}

.kc-cart-item__price span,
.kc-cart-item__price small {
	color: var(--kc-muted) !important;
	font-size: 12px !important;
	font-weight: 800 !important;
}

.kc-cart-item__price b {
	color: var(--kc-ink) !important;
	font-size: 18px !important;
	font-weight: 950 !important;
}

.kc-cart-coupon {
	display: grid !important;
	gap: 9px !important;
	margin-top: 14px !important;
	padding: 13px !important;
	border: 1px dashed #e9bd6b !important;
	border-radius: 22px !important;
	background: #fff8eb !important;
}

.kc-cart-coupon label {
	color: var(--kc-gold-dark) !important;
	font-weight: 950 !important;
}

.kc-cart-coupon div {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 116px !important;
	gap: 9px !important;
}

.kc-cart-coupon input {
	width: 100% !important;
	min-height: 48px !important;
	box-sizing: border-box !important;
	padding: 10px 12px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 15px !important;
	background: #fff !important;
	color: var(--kc-ink) !important;
	font: 850 14px/1.4 inherit !important;
}

.kc-cart-coupon button,
.kc-cart-update {
	min-height: 48px !important;
	border-radius: 15px !important;
	font-weight: 950 !important;
}

.kc-cart-summary-wrap {
	width: min(100% - 22px, 900px) !important;
	margin: 0 auto 120px !important;
	direction: rtl !important;
}

.kc-cart-summary-wrap .cart-collaterals,
.kc-cart-summary-wrap .cart_totals {
	width: 100% !important;
	float: none !important;
}

.kc-cart-summary-wrap .cart_totals {
	padding: 16px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 26px !important;
	background: #fff !important;
	box-shadow: 0 16px 42px rgba(12, 35, 64, .07) !important;
}

.kc-cart-summary-wrap .wc-proceed-to-checkout .checkout-button {
	min-height: 58px !important;
	border: 1px solid #f2ad22 !important;
	border-radius: 18px !important;
	background: linear-gradient(135deg, #071527, #0c2340) !important;
	color: #fff !important;
	font-weight: 950 !important;
}

@media (max-width: 760px) {
	body.woocommerce-cart .kc-cart,
	.kc-cart-summary-wrap {
		width: calc(100% - 20px) !important;
	}

	.kc-cart-panel,
	.kc-cart-summary-wrap .cart_totals {
		padding: 12px !important;
		border-radius: 24px !important;
	}

	.kc-cart-coupon div {
		grid-template-columns: 1fr !important;
	}
}

/* Ketabbin v1.4.0 final product specs — compact like approved mockup */
.kc-single-book-specs {
	width: min(1120px, calc(100% - 24px)) !important;
	margin: 0 auto 120px !important;
	padding: 14px 16px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 22px !important;
	background: #fff !important;
	box-shadow: 0 12px 30px rgba(12, 35, 64, .06) !important;
}

.kc-single-book-specs h2 {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 8px !important;
	margin: 0 0 10px !important;
	padding-bottom: 10px !important;
	border-bottom: 1px solid #edf0f4 !important;
	color: var(--kc-ink) !important;
	font-size: 18px !important;
	font-weight: 950 !important;
	line-height: 1.45 !important;
}

.kc-single-book-specs h2::before {
	content: "";
	width: 20px;
	height: 20px;
	border: 1px solid #d59a23;
	border-radius: 6px;
	background: linear-gradient(135deg, #fff8eb, #fff);
	box-shadow: inset 0 0 0 4px #fff;
}

.kc-single-book-specs div {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 0 !important;
	border: 1px solid #edf0f4 !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	background: #fff !important;
}

.kc-single-book-specs p {
	min-height: 42px !important;
	display: grid !important;
	grid-template-columns: 72px minmax(0, 1fr) !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 8px 10px !important;
	border: 0 !important;
	border-bottom: 1px solid #edf0f4 !important;
	background: #fff !important;
}

.kc-single-book-specs p:nth-child(odd) {
	border-left: 1px solid #edf0f4 !important;
}

.kc-single-book-specs p:nth-last-child(-n+2) {
	border-bottom: 0 !important;
}

.kc-single-book-specs span {
	margin: 0 !important;
	color: #687385 !important;
	font-size: 11px !important;
	font-weight: 850 !important;
	line-height: 1.45 !important;
	white-space: nowrap !important;
}

.kc-single-book-specs b {
	min-width: 0 !important;
	color: var(--kc-ink) !important;
	font-size: 12px !important;
	font-weight: 850 !important;
	line-height: 1.55 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

@media (max-width: 760px) {
	.kc-single-book-specs {
		width: calc(100% - 20px) !important;
		margin-bottom: 120px !important;
		padding: 12px !important;
		border-radius: 20px !important;
	}

	.kc-single-book-specs div {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.kc-single-book-specs p {
		grid-template-columns: 58px minmax(0, 1fr) !important;
		min-height: 40px !important;
		padding: 7px 8px !important;
		gap: 6px !important;
	}

	.kc-single-book-specs span {
		font-size: 10px !important;
	}

	.kc-single-book-specs b {
		font-size: 11px !important;
	}
}

/* Ketabbin v1.4.0 — exact cart cards, compact search, product gallery rail */
.kc-search-suggestions {
	max-height: min(62vh, 520px);
	overflow-y: auto;
	padding-bottom: 10px;
}

.kc-search-suggestions a {
	min-height: 54px !important;
}

.kc-search-suggestions b {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	white-space: normal;
	line-height: 1.6;
}

.kc-search-suggestions .kc-search-suggestions__more {
	position: sticky;
	bottom: 0;
	min-height: 48px !important;
	border: 1px solid #f2ad22;
	border-radius: 14px;
	background: linear-gradient(135deg, #071527, #0c2340) !important;
	color: #fff !important;
	box-shadow: 0 -10px 22px rgba(255, 255, 255, .94), 0 10px 24px rgba(12, 35, 64, .16);
}

.single-product div.product div.images .flex-control-thumbs {
	display: flex !important;
	justify-content: center;
	gap: 8px;
	margin: 10px 0 0 !important;
	padding: 0 !important;
	list-style: none;
	overflow-x: auto;
}

.single-product div.product div.images .flex-control-thumbs li {
	width: 64px !important;
	float: none !important;
	flex: 0 0 64px;
	margin: 0 !important;
}

.single-product div.product div.images .flex-control-thumbs img {
	width: 64px !important;
	height: 64px !important;
	padding: 4px;
	border: 1px solid #ecd7ae;
	border-radius: 16px;
	background: #fff !important;
	object-fit: contain;
	opacity: .72;
	box-shadow: 0 6px 14px rgba(12, 35, 64, .08);
}

.single-product div.product div.images .flex-control-thumbs img.flex-active,
.single-product div.product div.images .flex-control-thumbs img:hover {
	border-color: #f2ad22;
	opacity: 1;
}

body.woocommerce-cart .kc-cart {
	width: min(100% - 22px, 900px);
	margin: 20px auto 16px;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.kc-cart-panel {
	padding: 16px;
	border: 1px solid #ecd7ae;
	border-radius: 28px;
	background: linear-gradient(160deg, #fff 0%, #fffaf2 100%);
	box-shadow: 0 18px 48px rgba(12, 35, 64, .08);
}

.kc-cart-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.kc-cart-heading span {
	color: var(--kc-gold-dark);
	font-weight: 900;
}

.kc-cart-heading h2 {
	margin: 2px 0 0;
	color: var(--kc-ink);
	font-size: clamp(30px, 8vw, 44px);
	line-height: 1.25;
}

.kc-cart-heading b {
	padding: 8px 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--kc-ink);
	font-size: 13px;
	box-shadow: 0 8px 18px rgba(12, 35, 64, .06);
}

.kc-cart-items {
	display: grid;
	gap: 12px;
}

.kc-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr);
	gap: 10px 12px;
	padding: 12px;
	border: 1px solid #f0dfc1;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(12, 35, 64, .06);
}

.kc-cart-item__thumb {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 86px;
	height: 112px;
	border-radius: 18px;
	background: #fff;
	box-shadow: inset 0 0 0 7px #fffaf3;
}

.kc-cart-item__thumb img {
	width: 76px !important;
	height: 96px !important;
	object-fit: contain;
	background: #fff !important;
	border-radius: 12px;
}

.kc-cart-item__body {
	min-width: 0;
	display: grid;
	gap: 8px;
	padding-left: 38px;
}

.kc-cart-item__title a,
.kc-cart-item__title strong {
	color: var(--kc-ink);
	font-size: 15px;
	font-weight: 950;
	line-height: 1.75;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.kc-cart-item__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--kc-muted);
	font-size: 12px;
	font-weight: 800;
}

.kc-cart-item__meta .is-stock {
	color: #16794b;
}

.kc-cart-item__meta .is-out {
	color: var(--kc-red);
}

.kc-cart-item__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.kc-cart-item__remove {
	min-height: 38px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 7px 12px;
	border: 1px solid rgba(239, 64, 86, .24);
	border-radius: 13px;
	background: #fff5f6;
	color: var(--kc-red) !important;
	font-size: 12px !important;
	font-weight: 900;
	text-decoration: none;
}

.kc-cart-item__price {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 8px;
	border-top: 1px solid #f4e7d0;
}

.kc-cart-item__price span,
.kc-cart-item__price small {
	color: var(--kc-muted);
	font-size: 12px;
	font-weight: 800;
}

.kc-cart-item__price b {
	color: var(--kc-ink);
	font-size: 18px;
	font-weight: 950;
}

.kc-cart-coupon {
	display: grid;
	gap: 9px;
	margin-top: 14px;
	padding: 13px;
	border: 1px dashed #e9bd6b;
	border-radius: 22px;
	background: #fff8eb;
}

.kc-cart-coupon label {
	color: var(--kc-gold-dark);
	font-weight: 950;
}

.kc-cart-coupon div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 116px;
	gap: 9px;
}

.kc-cart-coupon input {
	width: 100%;
	min-height: 48px;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #ecd7ae;
	border-radius: 15px;
	background: #fff;
	color: var(--kc-ink);
	font: 850 14px/1.4 inherit;
}

.kc-cart-coupon button,
.kc-cart-update {
	min-height: 48px !important;
	border: 0 !important;
	border-radius: 15px !important;
	background: linear-gradient(135deg, #f2ad22, #c97f00) !important;
	color: #fff !important;
	font-weight: 950 !important;
}

.kc-cart-update {
	width: 100% !important;
	margin-top: 10px !important;
	background: #fff !important;
	color: var(--kc-gold-dark) !important;
	border: 1px solid #ecd7ae !important;
}

.kc-cart-summary-wrap {
	width: min(100% - 22px, 900px);
	margin: 0 auto 120px;
}

.kc-cart-summary-wrap .cart-collaterals,
.kc-cart-summary-wrap .cart_totals {
	width: 100% !important;
	float: none !important;
}

.kc-cart-summary-wrap .cart_totals {
	padding: 16px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 26px !important;
	background: #fff !important;
	box-shadow: 0 16px 42px rgba(12, 35, 64, .07);
}

.kc-cart-summary-wrap .cart_totals h2 {
	margin: 0 0 12px !important;
	color: var(--kc-ink);
	font-size: 24px;
	font-weight: 950;
}

.kc-cart-summary-wrap .cart_totals table {
	border: 0 !important;
	margin: 0 !important;
}

.kc-cart-summary-wrap .cart_totals th,
.kc-cart-summary-wrap .cart_totals td {
	padding: 12px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #f0dfc1 !important;
	background: transparent !important;
	color: var(--kc-ink);
}

.kc-cart-summary-wrap .cart_totals .order-total th,
.kc-cart-summary-wrap .cart_totals .order-total td {
	color: var(--kc-ink) !important;
	font-size: 22px;
	font-weight: 950 !important;
}

.kc-cart-summary-wrap .wc-proceed-to-checkout .checkout-button {
	min-height: 58px !important;
	border: 1px solid #f2ad22 !important;
	border-radius: 18px !important;
	background: linear-gradient(135deg, #071527, #0c2340) !important;
	color: #fff !important;
	font-weight: 950 !important;
}

@media (max-width: 760px) {
	.kc-search-suggestions {
		max-height: min(54vh, 430px);
	}

	.kc-search-suggestions a {
		min-height: 50px !important;
		grid-template-columns: 42px minmax(0, 1fr) !important;
	}

	.kc-search-suggestions img,
	.kc-search-suggestions a > span:first-child {
		width: 42px;
		height: 42px;
	}

	.single-product div.product div.images .flex-control-thumbs li,
	.single-product div.product div.images .flex-control-thumbs img {
		width: 58px !important;
		height: 58px !important;
		flex-basis: 58px;
	}

	.kc-cart,
	.kc-cart-summary-wrap {
		width: calc(100% - 20px) !important;
	}

	.kc-cart-panel,
	.kc-cart-summary-wrap .cart_totals {
		padding: 12px !important;
		border-radius: 24px !important;
	}

	.kc-cart-coupon div {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	:root {
		--kc-shell: calc(100% - 18px);
	}

	.kc-brand__word {
		font-size: 25px;
	}

	.kc-brand__line {
		width: 122px;
	}

	.kc-story {
		flex-basis: 88px;
		width: 88px;
	}

	.kc-story i {
		width: 72px;
		height: 72px;
	}

	.kc-shortcuts a {
		flex-basis: 78px;
		width: 78px;
	}

	.kc-shortcuts i {
		width: 62px;
		height: 62px;
	}

	.kc-categories > div,
	.kc-trust-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.kc-footer__inner {
		grid-template-columns: 1fr;
	}

	.kc-enamad {
		justify-self: start;
	}
}

.kc-page,
.kc-shop-page {
	padding: 28px 0 112px;
}

.kc-content,
.kc-page__head,
.kc-shop-page .woocommerce {
	background: #fff;
	border: 1px solid var(--kc-line);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow);
	padding: 24px;
}

.kc-content h1,
.kc-page__head h1 {
	margin: 0 0 12px;
	font-size: clamp(26px, 7vw, 40px);
	color: var(--kc-ink);
}

.kc-page__head {
	margin-bottom: 18px;
}

.kc-page__head p,
.kc-content p {
	color: var(--kc-muted);
	line-height: 2;
	margin: 0;
}

.kc-magazine-list,
.kc-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.kc-magazine-list article,
.kc-contact-card {
	background: #fff;
	border: 1px solid var(--kc-line);
	border-radius: var(--kc-radius-sm);
	box-shadow: var(--kc-shadow);
	overflow: hidden;
}

.kc-magazine-list a,
.kc-contact-card {
	display: grid;
	gap: 10px;
	padding: 16px;
	text-decoration: none;
	color: var(--kc-ink);
}

.kc-magazine-list img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 14px;
}

.kc-magazine-list h2 {
	margin: 0;
	font-size: 18px;
}

.kc-magazine-list p,
.kc-contact-card span {
	margin: 0;
	color: var(--kc-muted);
	line-height: 1.8;
}

.kc-contact-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 18px;
}

@media (max-width: 720px) {
	.kc-magazine-list,
	.kc-contact-grid {
		grid-template-columns: 1fr;
	}

	.kc-content,
	.kc-page__head,
	.kc-shop-page .woocommerce {
		padding: 18px;
	}
}

/* Ketabbin v1.3.6 — polished WooCommerce shop and unified mobile shell */
.kc-header .kc-brand__official-logo,
body.woocommerce-page .kc-header .kc-brand__official-logo,
body.woocommerce-account .kc-header .kc-brand__official-logo,
body.woocommerce-shop .kc-header .kc-brand__official-logo {
	width: 136px !important;
	height: 50px !important;
	max-width: 136px !important;
	max-height: 50px !important;
	object-fit: contain !important;
	filter: drop-shadow(0 3px 2px rgba(7, 21, 39, .08));
}

.kc-shop-page {
	padding: 28px 0 118px;
}

.kc-shop-page .woocommerce {
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

.kc-shop-page .woocommerce-products-header,
.kc-shop-page .woocommerce-result-count,
.kc-shop-page .woocommerce-ordering,
.kc-shop-page .woocommerce-notices-wrapper,
.kc-shop-page ul.products,
.kc-shop-page .woocommerce-pagination {
	width: var(--kc-shell);
	margin-inline: auto;
}

.kc-shop-page .woocommerce-products-header__title,
.kc-shop-page .page-title {
	margin: 24px 0 12px;
	color: var(--kc-ink);
	font-size: clamp(32px, 8vw, 52px);
	font-weight: 950;
	letter-spacing: -.04em;
}

.kc-shop-page .woocommerce-result-count,
.kc-shop-page .woocommerce-ordering {
	float: none;
}

.kc-shop-page .woocommerce-result-count {
	margin-top: 0;
	margin-bottom: 14px;
	color: var(--kc-muted);
	font-weight: 750;
}

.kc-shop-page .woocommerce-ordering {
	margin-bottom: 10px;
}

.kc-shop-page .woocommerce-ordering select,
.kc-shop-filters select {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid #ecd7ae;
	border-radius: 15px;
	background: #fff;
	color: var(--kc-ink);
	font: 750 14px/1.4 inherit;
	outline: none;
	box-shadow: 0 8px 22px rgba(35, 25, 11, .04);
}

.kc-shop-filters {
	width: var(--kc-shell);
	margin: 0 auto 18px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
	gap: 10px;
	align-items: end;
	padding: 12px;
	border: 1px solid #f0d8ad;
	border-radius: 22px;
	background: linear-gradient(135deg, #fff 0%, #fff9ee 100%);
	box-shadow: 0 12px 34px rgba(12, 35, 64, .06);
}

.kc-shop-filters label {
	display: grid;
	gap: 6px;
	color: var(--kc-muted);
	font-size: 12px;
	font-weight: 800;
}

.kc-shop-filters button {
	min-height: 48px;
	padding: 0 16px;
	border: 0;
	border-radius: 15px;
	background: var(--kc-navy);
	color: #fff;
	font: 850 13px/1.4 inherit;
	cursor: pointer;
}

.kc-shop-page ul.products {
	margin-top: 14px !important;
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px !important;
	padding: 0 !important;
}

.kc-shop-page ul.products::before,
.kc-shop-page ul.products::after {
	display: none !important;
}

.kc-shop-page ul.products li.product {
	position: relative;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	display: grid;
	gap: 9px;
	padding: 12px 12px 14px !important;
	border: 1px solid #eadfcd;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(54, 39, 18, .07);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.kc-shop-page ul.products li.product:hover {
	transform: translateY(-3px);
	border-color: #e4c27a;
	box-shadow: 0 18px 40px rgba(54, 39, 18, .12);
}

.kc-shop-page ul.products li.product a.woocommerce-LoopProduct-link {
	display: grid;
	gap: 10px;
	color: inherit;
}

.kc-shop-page ul.products li.product img {
	width: 100% !important;
	aspect-ratio: 1 / 1.18;
	height: auto !important;
	margin: 0 !important;
	padding: 18px;
	border-radius: 18px;
	background: radial-gradient(circle at 50% 36%, #fff 0 30%, #fff8ec 76%, #f4ebdd 100%);
	object-fit: contain;
	filter: drop-shadow(0 12px 10px rgba(23, 31, 44, .14));
}

.kc-shop-page ul.products li.product .woocommerce-loop-product__title {
	min-height: 52px;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--kc-ink);
	font-size: 14px !important;
	font-weight: 900;
	line-height: 1.75;
	text-align: right;
}

.kc-shop-page ul.products li.product .star-rating {
	margin: 0 !important;
	color: var(--kc-gold-dark);
	font-size: 12px;
}

.kc-shop-page ul.products li.product .price {
	display: flex !important;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-start;
	gap: 6px;
	margin: 0 !important;
	color: var(--kc-ink) !important;
	font-size: 15px !important;
	font-weight: 950 !important;
	direction: rtl;
}

.kc-shop-page ul.products li.product .price del {
	color: #99a0aa !important;
	font-size: 12px;
	font-weight: 650;
	opacity: 1 !important;
}

.kc-shop-page ul.products li.product .price ins {
	color: var(--kc-gold-dark);
	text-decoration: none;
}

.kc-loop-sale-badge,
.kc-shop-page span.onsale {
	position: absolute !important;
	top: 14px !important;
	right: 14px !important;
	left: auto !important;
	z-index: 3;
	min-width: 48px !important;
	min-height: 30px !important;
	display: inline-grid !important;
	place-items: center;
	padding: 5px 9px !important;
	border-radius: 10px 15px 15px 10px !important;
	background: #ef4056 !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 950 !important;
	line-height: 1.25 !important;
	box-shadow: 0 8px 18px rgba(239, 64, 86, .25);
}

.kc-shop-page ul.products li.product .button {
	width: 100%;
	min-height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 9px 10px !important;
	border-radius: 13px !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	line-height: 1.4 !important;
	text-align: center;
}

.kc-shop-page ul.products li.product .add_to_cart_button,
.kc-shop-page ul.products li.product .product_type_simple {
	background: linear-gradient(135deg, #d99a24, #b87400) !important;
	color: #fff !important;
	box-shadow: 0 8px 18px rgba(184, 116, 0, .16);
}

.kc-loop-library-button {
	border: 1px solid #f0d8ad !important;
	background: linear-gradient(135deg, #fffdf8, #fff6e6) !important;
	color: var(--kc-gold-dark) !important;
}

.kc-shop-page .woocommerce-pagination {
	margin-top: 28px;
}

.kc-shop-page .woocommerce-pagination ul {
	border: 0 !important;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.kc-shop-page .woocommerce-pagination li {
	border: 0 !important;
}

.kc-shop-page .woocommerce-pagination a,
.kc-shop-page .woocommerce-pagination span {
	min-width: 38px;
	min-height: 38px;
	display: grid !important;
	place-items: center;
	border: 1px solid #eadfcd;
	border-radius: 12px;
	background: #fff;
	color: var(--kc-ink);
}

.kc-shop-page .woocommerce-pagination .current {
	background: var(--kc-navy);
	color: #fff;
}

@media (max-width: 900px) {
	.kc-shop-page ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.kc-shop-page {
		padding-top: 18px;
	}

	.kc-shop-page .woocommerce-products-header__title,
	.kc-shop-page .page-title {
		font-size: 38px;
		text-align: right;
	}

	.kc-shop-filters {
		grid-template-columns: 1fr 1fr;
		border-radius: 20px;
	}

	.kc-shop-filters button {
		grid-column: 1 / -1;
	}

	.kc-shop-page ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px !important;
	}

	.kc-shop-page ul.products li.product {
		border-radius: 20px;
		padding: 10px !important;
	}

	.kc-shop-page ul.products li.product img {
		padding: 12px;
		border-radius: 16px;
	}

	.kc-shop-page ul.products li.product .woocommerce-loop-product__title {
		min-height: 68px;
		font-size: 13px !important;
		line-height: 1.7;
	}

	.kc-shop-page ul.products li.product .button {
		min-height: 38px;
		font-size: 11px !important;
	}
}

@media (max-width: 380px) {
	.kc-shop-page ul.products {
		gap: 10px !important;
	}

	.kc-shop-filters {
		grid-template-columns: 1fr;
	}
}

/* Ketabbin v1.3.7 — fixed-size product cards and live search suggestions */
.kc-search-panel {
	position: relative;
}

.kc-search-suggestions {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	z-index: 1010;
	display: grid;
	gap: 4px;
	padding: 8px;
	border: 1px solid #ecd7ae;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 44px rgba(7, 21, 39, .16);
}

.kc-search-suggestions[hidden] {
	display: none;
}

.kc-search-suggestions a {
	min-height: 58px;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border-radius: 13px;
	color: var(--kc-ink);
}

.kc-search-suggestions a:hover,
.kc-search-suggestions a:focus-visible {
	background: #fff8eb;
}

.kc-search-suggestions img,
.kc-search-suggestions a > span:first-child {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #fff;
	object-fit: contain;
	border: 1px solid #f0dfc1;
}

.kc-search-suggestions b {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 13px;
}

.kc-search-suggestions small {
	color: var(--kc-red);
	font-weight: 900;
	white-space: nowrap;
}

.kc-search-suggestions p {
	margin: 0;
	padding: 12px;
	color: var(--kc-muted);
}

.kc-search-suggestions .kc-search-suggestions__more {
	grid-template-columns: 1fr;
	min-height: 44px;
	justify-items: center;
	background: var(--kc-navy);
	color: #fff;
	font-weight: 900;
}

.kc-product-card {
	height: 506px;
	display: grid;
	grid-template-rows: 190px minmax(0, 1fr);
}

.kc-product-card__image {
	background: #fff !important;
}

.kc-product-card__image img {
	background: #fff !important;
}

.kc-product-card__body {
	min-height: 0;
	grid-template-rows: 18px 58px 24px 54px 94px;
}

.kc-product-card h3 {
	min-height: 58px;
	max-height: 58px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.kc-product-card__price {
	min-height: 54px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	color: var(--kc-ink);
}

.kc-product-card__price del {
	color: var(--kc-gold-dark) !important;
	opacity: 1 !important;
	font-size: 13px;
	font-weight: 800;
}

.kc-product-card__price ins {
	color: var(--kc-red);
	text-decoration: none;
	font-size: 17px;
	font-weight: 950;
}

.kc-product-card__price > .woocommerce-Price-amount,
.kc-product-card__price > span.amount {
	color: var(--kc-ink);
	font-size: 17px;
	font-weight: 950;
}

.kc-product-card__actions {
	height: 94px;
	align-self: end;
	grid-template-rows: repeat(2, 42px);
}

.kc-btn {
	min-height: 42px;
	max-height: 42px;
	white-space: nowrap;
}

.kc-shop-page ul.products li.product {
	min-height: 474px;
	grid-template-rows: auto minmax(68px, auto) 22px 54px 88px;
}

.kc-shop-page ul.products li.product img {
	background: #fff !important;
}

.kc-shop-page ul.products li.product .woocommerce-loop-product__title {
	min-height: 54px !important;
	max-height: 54px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.kc-shop-page ul.products li.product .price {
	min-height: 54px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0;
}

.kc-shop-page ul.products li.product .price del {
	color: var(--kc-gold-dark) !important;
	text-decoration-color: var(--kc-gold-dark);
}

.kc-shop-page ul.products li.product .price ins {
	color: var(--kc-red);
}

.kc-shop-page ul.products li.product .button {
	min-height: 40px !important;
	max-height: 40px;
}

.kc-shop-page ul.products li.product .button + .button,
.kc-shop-page ul.products li.product .kc-loop-library-button {
	margin-top: 7px !important;
}

@media (max-width: 760px) {
	.kc-search-panel {
		grid-template-columns: minmax(0, 1fr) 104px;
	}

	.kc-search-suggestions {
		border-radius: 16px;
	}

	.kc-search-suggestions a {
		grid-template-columns: 40px minmax(0, 1fr);
	}

	.kc-search-suggestions small {
		grid-column: 2;
	}

	.kc-product-card {
		height: 498px;
	}

	.kc-shop-page ul.products li.product {
		min-height: 462px;
	}
}

/* Ketabbin v1.3.8 — stable shop cards and polished cart */
.kc-shop-page ul.products li.product {
	min-height: 430px !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 8px !important;
	padding: 10px !important;
	border-radius: 22px !important;
	background: #fff !important;
	overflow: hidden !important;
}

.kc-shop-page ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex !important;
	flex-direction: column !important;
	gap: 8px !important;
	flex: 0 0 auto !important;
	min-width: 0 !important;
}

.kc-shop-page ul.products li.product img {
	aspect-ratio: 1 / 1.08 !important;
	max-height: 178px !important;
	padding: 12px !important;
	border-radius: 18px !important;
	background: #fff !important;
	object-fit: contain !important;
}

.kc-shop-page ul.products li.product .woocommerce-loop-product__title {
	height: calc(1.58em * 2) !important;
	min-height: calc(1.58em * 2) !important;
	max-height: calc(1.58em * 2) !important;
	margin: 0 !important;
	font-size: 13px !important;
	line-height: 1.58 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

.kc-shop-page ul.products li.product .star-rating {
	min-height: 16px !important;
	margin: 0 !important;
}

.kc-shop-page ul.products li.product .price {
	height: 50px !important;
	min-height: 50px !important;
	max-height: 50px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 1px !important;
	margin: 0 !important;
	overflow: hidden !important;
	line-height: 1.3 !important;
}

.kc-shop-page ul.products li.product .price del {
	color: var(--kc-gold-dark) !important;
	text-decoration-color: var(--kc-gold-dark) !important;
	font-size: 12px !important;
	line-height: 1.25 !important;
}

.kc-shop-page ul.products li.product .price ins {
	color: var(--kc-red) !important;
	font-size: 17px !important;
	line-height: 1.25 !important;
}

.kc-shop-page ul.products li.product .price > .woocommerce-Price-amount,
.kc-shop-page ul.products li.product .price > span.amount {
	color: var(--kc-ink) !important;
	font-size: 16px !important;
	line-height: 1.35 !important;
}

.kc-shop-page ul.products li.product .button {
	min-height: 39px !important;
	max-height: 39px !important;
	margin: 0 !important;
	padding: 8px 9px !important;
	border-radius: 13px !important;
	line-height: 1.35 !important;
	white-space: nowrap !important;
}

.kc-shop-page ul.products li.product .add_to_cart_button,
.kc-shop-page ul.products li.product .product_type_simple,
.kc-shop-page ul.products li.product .product_type_variable {
	margin-top: auto !important;
}

.kc-shop-page ul.products li.product .button + .button,
.kc-shop-page ul.products li.product .kc-loop-library-button {
	margin-top: 6px !important;
	margin-bottom: 0 !important;
}

body.woocommerce-cart .kc-shell,
body.woocommerce-cart .kc-content,
body.woocommerce-cart .woocommerce {
	direction: rtl;
}

body.woocommerce-cart .kc-content,
body.woocommerce-cart .woocommerce {
	width: min(100% - 22px, 940px);
	margin: 20px auto 120px;
}

body.woocommerce-cart .entry-title,
body.woocommerce-cart .page-title {
	margin: 0 0 18px !important;
	color: var(--kc-ink);
	font-size: clamp(30px, 8vw, 46px);
	font-weight: 950;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals {
	padding: 16px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 26px !important;
	background: linear-gradient(160deg, #fff 0%, #fffaf2 100%) !important;
	box-shadow: 0 16px 44px rgba(12, 35, 64, .07);
}

body.woocommerce-cart table.shop_table {
	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 12px !important;
	margin: 0 !important;
}

body.woocommerce-cart table.shop_table th {
	color: var(--kc-muted);
	font-size: 13px;
	font-weight: 850;
}

body.woocommerce-cart table.shop_table td {
	border-top: 1px solid #f0dfc1 !important;
	border-bottom: 1px solid #f0dfc1 !important;
	background: #fff !important;
	vertical-align: middle !important;
}

body.woocommerce-cart table.shop_table td:first-child {
	border-right: 1px solid #f0dfc1 !important;
	border-radius: 18px 0 0 18px;
}

body.woocommerce-cart table.shop_table td:last-child {
	border-left: 1px solid #f0dfc1 !important;
	border-radius: 0 18px 18px 0;
}

body.woocommerce-cart .product-thumbnail img {
	width: 76px !important;
	height: 94px !important;
	padding: 8px;
	border-radius: 16px;
	background: #fff !important;
	object-fit: contain;
	box-shadow: 0 10px 22px rgba(12, 35, 64, .08);
}

body.woocommerce-cart .product-name a {
	color: var(--kc-ink);
	font-weight: 900;
	line-height: 1.65;
	text-decoration: none;
}

body.woocommerce-cart .product-price,
body.woocommerce-cart .product-subtotal {
	color: var(--kc-ink);
	font-weight: 950;
	white-space: nowrap;
}

body.woocommerce-cart .product-remove a.remove {
	width: 36px !important;
	height: 36px !important;
	display: inline-grid !important;
	place-items: center;
	border: 1px solid rgba(239, 64, 86, .24);
	border-radius: 12px;
	background: #fff5f6;
	color: var(--kc-red) !important;
	font-size: 22px !important;
	line-height: 1 !important;
}

body.woocommerce-cart .quantity {
	display: inline-flex !important;
}

.kc-quantity-control {
	display: inline-grid;
	grid-template-columns: 38px 48px 38px;
	align-items: center;
	border: 1px solid #ecd7ae;
	border-radius: 14px;
	background: #fffaf0;
	overflow: hidden;
}

.kc-quantity-control__button {
	width: 38px;
	height: 38px;
	border: 0;
	background: transparent;
	color: var(--kc-gold-dark);
	font: 950 20px/1 inherit;
	cursor: pointer;
}

.kc-quantity-control input.qty {
	width: 48px !important;
	min-height: 38px !important;
	border: 0 !important;
	border-right: 1px solid #ecd7ae !important;
	border-left: 1px solid #ecd7ae !important;
	background: #fff !important;
	color: var(--kc-ink);
	font-weight: 950;
	text-align: center;
	-moz-appearance: textfield;
}

.kc-quantity-control input.qty::-webkit-outer-spin-button,
.kc-quantity-control input.qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

body.woocommerce-cart .coupon {
	width: 100% !important;
	float: none !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 116px;
	gap: 9px;
	margin: 12px 0 !important;
	padding: 12px;
	border: 1px dashed #e9bd6b;
	border-radius: 20px;
	background: #fff8eb;
}

body.woocommerce-cart .coupon::before {
	content: "کد تخفیف";
	grid-column: 1 / -1;
	color: var(--kc-gold-dark);
	font-weight: 950;
}

body.woocommerce-cart .coupon .input-text {
	width: 100% !important;
	min-height: 46px;
	padding: 10px 12px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 14px !important;
	background: #fff !important;
	font: 800 14px/1.4 inherit;
}

body.woocommerce-cart .coupon .button,
body.woocommerce-cart button[name="update_cart"] {
	min-height: 46px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: linear-gradient(135deg, #f2ad22, #c97f00) !important;
	color: #fff !important;
	font-weight: 950 !important;
}

body.woocommerce-cart button[name="update_cart"] {
	width: 100% !important;
	margin-top: 6px !important;
	background: #fff !important;
	color: var(--kc-gold-dark) !important;
	border: 1px solid #ecd7ae !important;
}

body.woocommerce-cart .cart-collaterals {
	margin-top: 18px;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
	width: 100% !important;
	float: none !important;
}

body.woocommerce-cart .cart_totals h2 {
	margin: 0 0 12px !important;
	color: var(--kc-ink);
	font-size: 24px;
	font-weight: 950;
}

body.woocommerce-cart .cart_totals table.shop_table td,
body.woocommerce-cart .cart_totals table.shop_table th {
	padding: 12px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #f0dfc1 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

body.woocommerce-cart .order-total th,
body.woocommerce-cart .order-total td {
	color: var(--kc-ink) !important;
	font-size: 22px;
	font-weight: 950 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout {
	padding: 14px 0 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	min-height: 56px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	border: 1px solid #f2ad22 !important;
	border-radius: 18px !important;
	background: linear-gradient(135deg, #071527, #0c2340) !important;
	color: #fff !important;
	font-weight: 950 !important;
	box-shadow: 0 14px 32px rgba(12, 35, 64, .2);
}

@media (max-width: 760px) {
	.kc-shop-page ul.products li.product {
		min-height: 410px !important;
		border-radius: 20px !important;
	}

	.kc-shop-page ul.products li.product img {
		max-height: 154px !important;
	}

	.kc-shop-page ul.products li.product .button {
		font-size: 10.5px !important;
	}

	body.woocommerce-cart .woocommerce-cart-form,
	body.woocommerce-cart .cart_totals {
		padding: 12px !important;
		border-radius: 22px !important;
	}

	body.woocommerce-cart table.shop_table thead {
		display: none;
	}

	body.woocommerce-cart table.shop_table,
	body.woocommerce-cart table.shop_table tbody,
	body.woocommerce-cart table.shop_table tr,
	body.woocommerce-cart table.shop_table td {
		display: block !important;
		width: 100% !important;
	}

	body.woocommerce-cart table.shop_table tr.cart_item {
		position: relative;
		display: grid !important;
		grid-template-columns: 86px minmax(0, 1fr);
		gap: 8px 12px;
		margin-bottom: 12px;
		padding: 12px;
		border: 1px solid #ecd7ae;
		border-radius: 22px;
		background: #fff;
		box-shadow: 0 12px 32px rgba(12, 35, 64, .06);
	}

	body.woocommerce-cart table.shop_table tr.cart_item td {
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		text-align: right !important;
	}

	body.woocommerce-cart .product-thumbnail {
		grid-row: span 4;
	}

	body.woocommerce-cart .product-thumbnail::before,
	body.woocommerce-cart .product-remove::before,
	body.woocommerce-cart .product-name::before {
		display: none !important;
	}

	body.woocommerce-cart .product-remove {
		position: absolute;
		top: 10px;
		left: 10px;
		width: auto !important;
	}

	body.woocommerce-cart .product-price,
	body.woocommerce-cart .product-quantity,
	body.woocommerce-cart .product-subtotal {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		font-size: 13px;
	}

	body.woocommerce-cart .product-price::before,
	body.woocommerce-cart .product-quantity::before,
	body.woocommerce-cart .product-subtotal::before {
		content: attr(data-title);
		color: var(--kc-muted);
		font-weight: 800;
	}

	body.woocommerce-cart table.shop_table tr:not(.cart_item) td.actions {
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
	}

body.woocommerce-cart .coupon {
		grid-template-columns: 1fr;
	}
}

/* Ketabbin v1.3.9 — product page, tighter shop cards, title-only search */
.kc-search-suggestions a {
	grid-template-columns: 44px minmax(0, 1fr) !important;
}

.kc-search-suggestions small {
	display: none !important;
}

.kc-loop-category {
	height: 18px;
	margin: 0 !important;
	color: var(--kc-gold-dark);
	font-size: 11px;
	font-weight: 900;
	line-height: 18px;
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.kc-shop-page ul.products li.product {
	min-height: 398px !important;
	gap: 6px !important;
}

.kc-shop-page ul.products li.product a.woocommerce-LoopProduct-link {
	gap: 6px !important;
}

.kc-shop-page ul.products li.product img {
	max-height: 150px !important;
	padding: 10px !important;
}

.kc-shop-page ul.products li.product .woocommerce-loop-product__title {
	height: calc(1.55em * 2) !important;
	min-height: calc(1.55em * 2) !important;
	max-height: calc(1.55em * 2) !important;
	font-size: 12.5px !important;
	line-height: 1.55 !important;
}

.kc-shop-page ul.products li.product .star-rating {
	display: none !important;
}

.kc-shop-page ul.products li.product .price {
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	margin-top: 1px !important;
}

.kc-shop-page ul.products li.product .button {
	min-height: 37px !important;
	max-height: 37px !important;
	padding: 7px 8px !important;
}

.kc-shop-page ul.products li.product .button + .button,
.kc-shop-page ul.products li.product .kc-loop-library-button {
	margin-top: 5px !important;
}

.single-product .kc-main,
.single-product .kc-shell,
.single-product .woocommerce {
	direction: rtl;
}

.single-product div.product {
	width: min(1120px, calc(100% - 24px));
	margin: 22px auto 120px !important;
	display: grid;
	grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
	gap: 22px;
	align-items: start;
	padding: 18px;
	border: 1px solid #ecd7ae;
	border-radius: 30px;
	background: linear-gradient(160deg, #fff 0%, #fffaf2 100%);
	box-shadow: 0 18px 48px rgba(12, 35, 64, .08);
}

.single-product div.product div.images,
.single-product div.product div.summary {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.single-product div.product div.images {
	padding: 18px;
	border: 1px solid #f0dfc1;
	border-radius: 26px;
	background: #fff;
	box-shadow: inset 0 0 0 8px #fffaf3;
}

.single-product div.product div.images img {
	width: 100%;
	max-height: 520px;
	object-fit: contain;
	background: #fff !important;
	border-radius: 18px;
}

.single-product div.product .summary {
	display: grid;
	gap: 12px;
	color: var(--kc-ink);
}

.kc-single-book-kicker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	order: -2;
}

.kc-single-book-kicker > * {
	min-height: 30px;
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border: 1px solid #ecd7ae;
	border-radius: 999px;
	background: #fffaf0;
	color: var(--kc-gold-dark);
	font-size: 12px;
	font-weight: 900;
	text-decoration: none;
}

.kc-single-book-kicker .is-stock {
	border-color: rgba(22, 121, 75, .22);
	background: #f2fff7;
	color: #16794b;
}

.kc-single-book-kicker .is-out {
	border-color: rgba(239, 64, 86, .22);
	background: #fff5f6;
	color: var(--kc-red);
}

.single-product div.product .product_title {
	order: -1;
	margin: 0 !important;
	color: var(--kc-ink);
	font-size: clamp(28px, 6vw, 44px);
	font-weight: 950;
	line-height: 1.45;
	text-align: right;
}

.single-product div.product .price {
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	color: var(--kc-ink) !important;
	font-size: 24px !important;
	font-weight: 950;
}

.single-product span.onsale {
	top: 28px !important;
	right: 28px !important;
	left: auto !important;
	z-index: 4;
	min-width: 68px !important;
	min-height: 54px !important;
	display: grid !important;
	place-items: center;
	border-radius: 16px !important;
	background: var(--kc-red) !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 950 !important;
	line-height: 1.4 !important;
	box-shadow: 0 14px 30px rgba(239, 64, 86, .25);
}

.single-product div.product .price del {
	color: var(--kc-gold-dark) !important;
	font-size: 16px;
	font-weight: 850;
	opacity: 1 !important;
	text-decoration-color: var(--kc-gold-dark);
}

.single-product div.product .price ins {
	color: var(--kc-red);
	text-decoration: none;
	font-size: 26px;
	font-weight: 950;
}

.single-product div.product .woocommerce-product-details__short-description {
	padding: 14px;
	border: 1px solid #f0dfc1;
	border-radius: 20px;
	background: #fff;
	color: #566070;
	font-size: 15px;
	line-height: 2;
}

.single-product div.product form.cart {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	margin: 0 !important;
	padding: 14px;
	border: 1px solid #ecd7ae;
	border-radius: 22px;
	background: #fff8eb;
}

.single-product div.product form.cart .quantity {
	margin: 0 !important;
}

.single-product div.product form.cart input.qty {
	min-height: 48px;
	border: 1px solid #ecd7ae;
	border-radius: 14px;
	color: var(--kc-ink);
	font-weight: 950;
	text-align: center;
}

.single-product div.product form.cart .single_add_to_cart_button {
	min-height: 50px;
	border: 0 !important;
	border-radius: 16px !important;
	background: linear-gradient(135deg, #f2ad22, #c97f00) !important;
	color: #fff !important;
	font-weight: 950 !important;
	box-shadow: 0 12px 24px rgba(184, 116, 0, .17);
}

.kc-single-extra-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.kc-single-extra-actions .kc-btn {
	width: 100%;
	min-height: 48px;
	border-radius: 16px;
	font-weight: 900;
}

.kc-btn--wishlist {
	border: 1px solid rgba(239, 64, 86, .24);
	background: #fff5f6;
	color: var(--kc-red);
}

.kc-btn--wishlist.is-saved {
	background: var(--kc-red);
	color: #fff;
}

.single-product div.product .product_meta {
	display: grid;
	gap: 8px;
	padding: 12px 14px;
	border: 1px solid #f0dfc1;
	border-radius: 18px;
	background: #fff;
	color: var(--kc-muted);
	font-size: 13px;
	line-height: 1.9;
}

.single-product div.product .product_meta a {
	color: var(--kc-gold-dark);
	font-weight: 850;
	text-decoration: none;
}

.kc-single-book-specs {
	width: min(1120px, calc(100% - 24px));
	margin: 0 auto 120px;
	padding: 18px;
	border: 1px solid #ecd7ae;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(12, 35, 64, .06);
	direction: rtl;
}

.kc-single-book-specs h2 {
	margin: 0 0 14px;
	color: var(--kc-ink);
	font-size: 25px;
	font-weight: 950;
}

.kc-single-book-specs div {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.kc-single-book-specs p {
	margin: 0;
	padding: 12px;
	border: 1px solid #f0dfc1;
	border-radius: 16px;
	background: #fffaf2;
}

.kc-single-book-specs span {
	display: block;
	margin-bottom: 4px;
	color: var(--kc-muted);
	font-size: 12px;
	font-weight: 800;
}

.kc-single-book-specs b {
	color: var(--kc-ink);
	font-size: 14px;
	line-height: 1.8;
}

.single-product .woocommerce-tabs {
	width: min(1120px, calc(100% - 24px));
	margin: 0 auto 120px !important;
	padding: 18px;
	border: 1px solid #e4e7ec;
	border-radius: 26px;
	background: #fff;
}

.single-product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 8px;
	padding: 0 !important;
	margin: 0 0 18px !important;
	border: 0 !important;
	overflow-x: auto;
}

.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}

.single-product .woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 14px !important;
	background: #fffaf0 !important;
}

.single-product .woocommerce-tabs ul.tabs li.active {
	background: var(--kc-navy) !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
	color: var(--kc-ink) !important;
	font-weight: 900 !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
	color: #fff !important;
}

.single-product .woocommerce-tabs .panel {
	color: var(--kc-ink);
	line-height: 2.1;
}

@media (max-width: 760px) {
	.kc-shop-page ul.products li.product {
		min-height: 382px !important;
	}

	.kc-shop-page ul.products li.product img {
		max-height: 136px !important;
	}

	.single-product div.product {
		grid-template-columns: 1fr;
		width: calc(100% - 20px);
		padding: 12px;
		border-radius: 24px;
		gap: 14px;
	}

	.single-product div.product div.images {
		padding: 12px;
		border-radius: 22px;
	}

	.single-product div.product form.cart {
		grid-template-columns: 1fr;
	}

	.kc-single-extra-actions,
	.kc-single-book-specs div {
		grid-template-columns: 1fr;
	}

	.kc-single-book-specs,
	.single-product .woocommerce-tabs {
		width: calc(100% - 20px);
		margin-bottom: 120px !important;
		padding: 14px;
	}
}

/* Ketabbin final compact specs override — must remain last */
.kc-single-book-specs {
	width: min(1120px, calc(100% - 24px)) !important;
	margin: 0 auto 120px !important;
	padding: 12px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 20px !important;
	background: #fff !important;
	box-shadow: 0 10px 26px rgba(12, 35, 64, .055) !important;
	direction: rtl !important;
}

.kc-single-book-specs h2 {
	margin: 0 0 8px !important;
	padding: 0 0 8px !important;
	border-bottom: 1px solid #edf0f4 !important;
	color: var(--kc-ink) !important;
	font-size: 17px !important;
	font-weight: 950 !important;
	line-height: 1.45 !important;
}

.kc-single-book-specs div {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 0 !important;
	border: 1px solid #edf0f4 !important;
	border-radius: 14px !important;
	overflow: hidden !important;
	background: #fff !important;
}

.kc-single-book-specs p {
	min-height: 38px !important;
	display: grid !important;
	grid-template-columns: 54px minmax(0, 1fr) !important;
	align-items: center !important;
	gap: 6px !important;
	margin: 0 !important;
	padding: 7px 8px !important;
	border: 0 !important;
	border-bottom: 1px solid #edf0f4 !important;
	background: #fff !important;
}

.kc-single-book-specs p:nth-child(odd) {
	border-left: 1px solid #edf0f4 !important;
}

.kc-single-book-specs p:nth-last-child(-n+2) {
	border-bottom: 0 !important;
}

.kc-single-book-specs span,
.kc-single-book-specs b {
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	line-height: 1.45 !important;
}

.kc-single-book-specs span {
	color: #687385 !important;
	font-size: 10px !important;
	font-weight: 850 !important;
}

.kc-single-book-specs b {
	color: var(--kc-ink) !important;
	font-size: 11px !important;
	font-weight: 850 !important;
}

@media (max-width: 760px) {
	.kc-single-book-specs {
		width: calc(100% - 20px) !important;
		padding: 10px !important;
		border-radius: 18px !important;
	}

	.kc-single-book-specs div {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.kc-single-book-specs p {
		min-height: 36px !important;
		grid-template-columns: 48px minmax(0, 1fr) !important;
		padding: 6px 7px !important;
	}
}


/* Ketabbin v1.4.9 final hotfix — keep after all legacy overrides */
body.woocommerce-cart .kc-cart-item__controls {
	display: grid !important;
	grid-template-columns: 1fr auto auto !important;
	align-items: center !important;
	gap: 8px !important;
}

body.woocommerce-cart .kc-quantity-control,
body.woocommerce-cart .kc-cart-item__controls .quantity .kc-quantity-control {
	width: 132px !important;
	min-width: 132px !important;
	height: 42px !important;
	display: grid !important;
	grid-template-columns: 38px 1fr 38px !important;
	direction: ltr !important;
	align-items: center !important;
	justify-items: center !important;
	border: 1px solid #e6c98f !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 4px #fffaf3, 0 8px 18px rgba(12, 35, 64, .055) !important;
	overflow: hidden !important;
}

body.woocommerce-cart .kc-quantity-control__button {
	width: 38px !important;
	height: 42px !important;
	min-height: 42px !important;
	display: grid !important;
	place-items: center !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--kc-gold-dark) !important;
	-webkit-text-fill-color: var(--kc-gold-dark) !important;
	font-size: 21px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	box-shadow: none !important;
}

body.woocommerce-cart .kc-quantity-control__button--minus { order: 1 !important; }
body.woocommerce-cart .kc-quantity-control input.qty {
	order: 2 !important;
	width: 56px !important;
	min-width: 56px !important;
	max-width: 56px !important;
	height: 40px !important;
	min-height: 40px !important;
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: #fff !important;
	color: var(--kc-ink) !important;
	-webkit-text-fill-color: var(--kc-ink) !important;
	opacity: 1 !important;
	visibility: visible !important;
	font-size: 16px !important;
	font-weight: 950 !important;
	line-height: 40px !important;
	text-align: center !important;
	appearance: textfield !important;
	-moz-appearance: textfield !important;
	box-shadow: none !important;
}
body.woocommerce-cart .kc-quantity-control__button--plus { order: 3 !important; }
body.woocommerce-checkout #payment ul.payment_methods li input.input-radio {
	position: absolute !important;
	right: 16px !important;
	top: 50% !important;
	width: 30px !important;
	height: 30px !important;
	margin: 0 !important;
	transform: translateY(-50%) !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	border: 2px solid #d7dee8 !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 4px #fff !important;
}
body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked {
	border-color: #16a34a !important;
	background: #16a34a !important;
	box-shadow: inset 0 0 0 5px #fff, 0 8px 18px rgba(22, 163, 74, .22) !important;
}
body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked::after {
	content: "✓" !important;
	position: absolute !important;
	inset: 0 !important;
	display: grid !important;
	place-items: center !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
}
body.woocommerce-checkout #payment ul.payment_methods li label img {
	max-width: 126px !important;
	max-height: 56px !important;
	padding: 8px 10px !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 16px !important;
	background: #fff !important;
	object-fit: contain !important;
}
/* Ketabbin v1.4.10 final EOF override */
body.woocommerce-cart .kc-cart-item__controls {
	display: grid !important;
	grid-template-columns: 1fr auto auto !important;
	align-items: center !important;
	gap: 10px !important;
}
body.woocommerce-cart .kc-cart-item__selected {
	position: static !important;
	width: auto !important;
	min-width: 0 !important;
	white-space: normal !important;
	transform: none !important;
	z-index: 1 !important;
}
body.woocommerce-cart .kc-quantity-control,
body.woocommerce-cart .kc-cart-item__controls .quantity .kc-quantity-control {
	width: 136px !important;
	min-width: 136px !important;
	height: 44px !important;
	display: grid !important;
	grid-template-columns: 40px 1fr 40px !important;
	direction: ltr !important;
	align-items: center !important;
	justify-items: center !important;
	border: 1px solid #e3c27f !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 4px #fffaf3, 0 10px 22px rgba(12, 35, 64, .07) !important;
	overflow: hidden !important;
}
body.woocommerce-cart .kc-quantity-control input.qty {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-width: 1px !important;
	min-height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
body.woocommerce-cart .kc-quantity-control__value {
	order: 2 !important;
	min-width: 42px !important;
	height: 42px !important;
	display: grid !important;
	place-items: center !important;
	background: #fff !important;
	color: var(--kc-ink) !important;
	-webkit-text-fill-color: var(--kc-ink) !important;
	font-size: 17px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	text-align: center !important;
}
body.woocommerce-cart .kc-quantity-control__button {
	width: 40px !important;
	height: 44px !important;
	min-height: 44px !important;
	display: grid !important;
	place-items: center !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--kc-gold-dark) !important;
	-webkit-text-fill-color: var(--kc-gold-dark) !important;
	font-size: 22px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	box-shadow: none !important;
}
body.woocommerce-cart .kc-quantity-control__button--minus { order: 1 !important; }
body.woocommerce-cart .kc-quantity-control__button--plus { order: 3 !important; }
body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked::after {
	content: "✓" !important;
}
body.woocommerce-checkout #payment ul.payment_methods li label img {
	max-width: 146px !important;
	max-height: 64px !important;
	border-radius: 18px !important;
}
@media (max-width: 760px) {
	body.woocommerce-cart .kc-cart-item__controls {
		grid-template-columns: 1fr !important;
		justify-items: center !important;
	}
	body.woocommerce-cart .kc-cart-item__selected,
	body.woocommerce-cart .kc-quantity-control,
	body.woocommerce-cart .kc-cart-item__remove {
		width: min(100%, 230px) !important;
	}
	body.woocommerce-cart .kc-cart-item__controls .quantity {
		width: min(100%, 230px) !important;
	}
	body.woocommerce-cart .kc-quantity-control,
	body.woocommerce-cart .kc-cart-item__controls .quantity .kc-quantity-control {
		grid-template-columns: 52px 1fr 52px !important;
	}
}

/* Ketabbin v1.4.11: tracking, contact, support and story polish. */
.kc-tracking-top-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 10px 16px;
	background: linear-gradient(135deg, #07182d, #0d2b4d);
	color: #fff;
	text-decoration: none;
	font-weight: 900;
	box-shadow: 0 8px 20px rgba(7, 24, 45, .16);
}
.kc-tracking-top-banner b {
	padding: 6px 12px;
	border-radius: 999px;
	background: #f0a000;
	color: #07182d;
	font-size: 13px;
}
.ketabbin-tracking-page,
.ketabbin-contact-page {
	padding: 18px 0 34px;
}
.ketabbin-tracking-card,
.ketabbin-contact-hero {
	border: 1px solid #ead7a9;
	border-radius: 28px;
	background: linear-gradient(180deg, #fff, #fffaf0);
	padding: 24px 18px;
	box-shadow: 0 18px 40px rgba(12, 35, 64, .08);
	text-align: right;
}
.ketabbin-tracking-card > span,
.ketabbin-contact-hero > span {
	color: #c48300;
	font-weight: 900;
}
.ketabbin-tracking-card h1,
.ketabbin-contact-hero h1 {
	margin: 8px 0 14px;
	color: #06182d;
	font-size: clamp(28px, 8vw, 42px);
	line-height: 1.45;
}
.ketabbin-tracking-form {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}
.ketabbin-tracking-form input,
.ketabbin-support-form input,
.ketabbin-support-form textarea,
.ketabbin-contact-grid a,
.ketabbin-contact-grid > span {
	border: 1px solid #ead7a9;
	border-radius: 18px;
	background: #fff;
	color: #06182d;
	box-shadow: inset 0 0 0 4px #fffaf3;
}
.ketabbin-tracking-form input,
.ketabbin-support-form input,
.ketabbin-support-form textarea {
	width: 100%;
	padding: 15px 16px;
	font-weight: 800;
}
.ketabbin-tracking-form button,
.ketabbin-support-form button {
	border: 0;
	border-radius: 18px;
	padding: 15px;
	background: linear-gradient(135deg, #f2a900, #c87900);
	color: #fff;
	font-weight: 950;
}
.ketabbin-tracking-result article,
.ketabbin-tracking-result p {
	margin-top: 14px;
	border-radius: 20px;
	background: #f7fbff;
	padding: 16px;
	color: #06182d;
}
.ketabbin-tracking-result article {
	display: grid;
	gap: 8px;
}
.ketabbin-contact-grid,
.ketabbin-social-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin-top: 14px;
}
.ketabbin-contact-grid a,
.ketabbin-contact-grid > span {
	display: grid;
	gap: 6px;
	padding: 16px;
	text-decoration: none;
	color: #06182d;
}

.ketabbin-contact-grid > span:last-of-type {
	grid-column: 1 / -1;
}

.ketabbin-social-card {
	display: grid;
	gap: 10px;
	padding: 16px;
	border: 1px solid #ead7a9;
	border-radius: 18px;
	background: #fff;
	box-shadow: inset 0 0 0 4px #fffaf3;
	text-align: center;
}

.ketabbin-social-card i {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: 0 auto;
	border-radius: 18px;
	background: #07182d;
	color: #fff;
	font-style: normal;
	font-weight: 950;
	font-size: 17px;
}

.ketabbin-social-card i svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ketabbin-social-card strong {
	color: #06182d;
	font-size: 16px;
}

.ketabbin-social-card div {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.ketabbin-social-card a,
.ketabbin-social-card div > span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px;
	border: 1px solid rgba(7, 24, 45, .12);
	border-radius: 13px;
	background: #fff8eb;
	color: #06182d;
	text-decoration: none;
	font-size: 12px;
	font-weight: 850;
	line-height: 1.6;
}

.ketabbin-social-card div > span {
	opacity: .45;
}

.ketabbin-social-card--instagram i { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.ketabbin-social-card--telegram i { background: #229ed9; }
.ketabbin-social-card--whatsapp i { background: #25d366; }
.ketabbin-social-card--eitaa i { background: #f58220; }
.ketabbin-social-card--soroush i { background: #1e88e5; }
.ketabbin-social-card--rubika i { background: #08a391; }
.ketabbin-social-card--bale i { background: #28a8e0; }

@media (max-width: 560px) {
	.ketabbin-social-card div {
		grid-template-columns: 1fr;
	}
}
.kc-footer-contact {
	display: grid;
	gap: 6px;
	margin: 12px 0;
	color: #6b7280;
	font-weight: 800;
}
.kc-footer-contact a {
	color: #c48300;
	text-decoration: none;
}
.ketabbin-support-fab {
	position: fixed;
	right: 18px;
	bottom: 104px;
	z-index: 90;
	border: 0;
	border-radius: 999px;
	padding: 13px 18px;
	background: #07182d;
	color: #fff;
	font-weight: 950;
	box-shadow: 0 14px 32px rgba(7, 24, 45, .22);
}
.ketabbin-support-panel {
	position: fixed;
	right: 14px;
	bottom: 158px;
	z-index: 91;
	width: min(360px, calc(100vw - 28px));
	border: 1px solid #ead7a9;
	border-radius: 26px;
	background: #fffaf0;
	padding: 18px;
	box-shadow: 0 24px 60px rgba(7, 24, 45, .22);
}
.ketabbin-support-panel > button {
	position: absolute;
	left: 14px;
	top: 12px;
	border: 0;
	background: transparent;
	color: #06182d;
	font-size: 24px;
}
.ketabbin-support-panel h2 {
	margin: 0 0 14px;
	color: #06182d;
	font-size: 22px;
}
.ketabbin-support-form {
	display: grid;
	gap: 10px;
}
.kc-story {
	position: relative;
}
.kc-story em {
	position: absolute;
	top: 4px;
	left: 4px;
	border-radius: 999px;
	padding: 2px 7px;
	background: #07182d;
	color: #fff;
	font-size: 10px;
	font-style: normal;
	font-weight: 900;
}
.kc-story-viewer {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: grid;
	place-items: center;
	background: rgba(4, 15, 30, .72);
	padding: 18px;
}
.kc-story-viewer[hidden] { display: none !important; }
.kc-story-viewer > div {
	position: relative;
	width: min(430px, 100%);
	border-radius: 28px;
	background: #fff;
	padding: 18px 18px 72px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}
.kc-story-viewer img,
.kc-story-viewer video {
	width: 100%;
	max-height: 68vh;
	object-fit: contain;
	border-radius: 22px;
	background: #fffaf0;
}
.kc-story-viewer audio {
	display: block;
	width: 100%;
	min-width: 0;
}
.kc-story-audio-card {
	display: grid;
	gap: 12px;
	box-sizing: border-box;
	width: 100%;
	margin: 4px 0 0;
	padding: 18px 14px;
	border: 1px solid #ead7a9;
	border-radius: 22px;
	background: linear-gradient(180deg, #fffaf0, #fff);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.kc-story-audio-card span {
	justify-self: start;
	border-radius: 999px;
	padding: 5px 10px;
	background: #07182d;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}
.kc-story-audio-card strong {
	color: #07182d;
	font-size: 17px;
	font-weight: 850;
	line-height: 1.7;
	text-align: right;
}
.kc-story-viewer button {
	border: 0;
	border-radius: 999px;
	background: #07182d;
	color: #fff;
	width: 42px;
	height: 42px;
	font-size: 24px;
}
.kc-story-viewer [data-story-close] {
	position: absolute;
	left: 12px;
	top: 12px;
}
.kc-story-viewer [data-story-prev],
.kc-story-viewer [data-story-next] {
	position: absolute;
	bottom: 16px;
	top: auto;
	transform: none;
}
.kc-story-viewer [data-story-prev] { right: 18px; }
.kc-story-viewer [data-story-next] { left: 18px; }
.kc-story-viewer h2 {
	margin: 0 0 12px;
	padding-left: 46px;
	color: #06182d;
	font-size: 18px;
}
.kc-story-viewer a {
	display: block;
	margin-top: 12px;
	border-radius: 16px;
	background: #f0a000;
	color: #07182d;
	text-align: center;
	text-decoration: none;
	font-weight: 950;
	padding: 12px;
	position: relative;
	z-index: 1;
}
@media (max-width: 420px) {
	.kc-story-viewer {
		padding: 14px;
	}
	.kc-story-viewer > div {
		width: min(100%, 360px);
		border-radius: 24px;
		padding: 16px 14px 68px;
	}
	.kc-story-audio-card {
		padding: 16px 10px;
		border-radius: 20px;
	}
	.kc-story-audio-card strong {
		font-size: 15px;
	}
	.kc-story-viewer audio {
		height: 44px;
	}
	.kc-story-viewer [data-story-prev],
	.kc-story-viewer [data-story-next] {
		width: 40px;
		height: 40px;
		bottom: 14px;
	}
}

/* Ketabbin v1.4.12: hard mobile viewport lock to prevent horizontal zoom drift. */
html,
body {
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: clip !important;
}
body.kc-body {
	position: relative !important;
	min-width: 0 !important;
}
.kc-main,
.kc-header,
.kc-header__inner,
.kc-tracking-top-banner,
.kc-shell,
.kc-page,
.kc-stories,
.kc-shortcuts,
.kc-hero,
.kc-products,
.kc-categories,
.kc-mood,
.kc-topics,
.kc-digital,
.kc-magazine,
.kc-trust-strip,
.kc-footer,
.kc-footer__inner,
.woocommerce,
.woocommerce-page,
.woocommerce div.product,
.woocommerce-cart-form,
.kc-cart,
.kc-cart-panel,
.kc-cart-summary-wrap {
	box-sizing: border-box !important;
	max-width: 100% !important;
	min-width: 0 !important;
}
.kc-shell {
	width: min(100% - 24px, 1120px) !important;
	margin-right: auto !important;
	margin-left: auto !important;
}
img,
video,
iframe,
table {
	max-width: 100% !important;
}
@supports not (overflow-x: clip) {
	html,
	body {
		overflow-x: hidden !important;
	}
}
@media (max-width: 760px) {
	.kc-header,
	.kc-tracking-top-banner,
	.kc-main,
	.kc-footer,
	.kc-trust-strip {
		width: 100vw !important;
		max-width: 100vw !important;
		overflow-x: clip !important;
	}
	.kc-shell {
		width: calc(100vw - 20px) !important;
		max-width: calc(100vw - 20px) !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
	}
	.kc-product-rail,
	.kc-story-rail {
		max-width: 100% !important;
		overscroll-behavior-inline: contain !important;
	}
	.kc-product-card,
	.woocommerce ul.products li.product,
	.kc-cart-item,
	.ketabbin-tracking-card,
	.ketabbin-contact-hero,
	.ketabbin-support-panel {
		max-width: 100% !important;
	}
	.kc-mobile-nav {
		right: 12px !important;
		left: 12px !important;
		width: auto !important;
		max-width: calc(100vw - 24px) !important;
	}
}

/* Ketabbin v1.4.13: real cart updates, stronger tracking page, chat support and footer. */
.kc-page--tracking .kc-content,
.page .ketabbin-tracking-page {
	width: 100% !important;
}
.ketabbin-tracking-card {
	position: relative !important;
	overflow: hidden !important;
}
.ketabbin-tracking-card::before {
	content: "" !important;
	position: absolute !important;
	inset: 12px !important;
	border: 1px dashed rgba(196, 131, 0, .35) !important;
	border-radius: 22px !important;
	pointer-events: none !important;
}
.ketabbin-tracking-form {
	position: relative !important;
	z-index: 1 !important;
	grid-template-columns: minmax(0, 1fr) 150px !important;
}
.ketabbin-tracking-result {
	position: relative !important;
	z-index: 1 !important;
}
.ketabbin-support-panel {
	bottom: 126px !important;
	background: linear-gradient(180deg, #fffaf0, #fff) !important;
}
.ketabbin-support-chat {
	max-height: 240px !important;
	overflow-y: auto !important;
	display: grid !important;
	gap: 10px !important;
	margin: 0 0 12px !important;
	padding: 10px !important;
	border: 1px solid #ead7a9 !important;
	border-radius: 20px !important;
	background: #fff !important;
}
.ketabbin-support-chat:empty {
	display: none !important;
}
.ketabbin-support-chat p {
	width: fit-content !important;
	max-width: 82% !important;
	margin: 0 !important;
	padding: 10px 12px !important;
	border-radius: 16px !important;
	display: grid !important;
	gap: 4px !important;
	font-weight: 800 !important;
}
.ketabbin-support-chat p.is-customer {
	justify-self: end !important;
	background: #fff8e8 !important;
	color: #07182d !important;
}
.ketabbin-support-chat p.is-admin {
	justify-self: start !important;
	background: #07182d !important;
	color: #fff !important;
}
.ketabbin-support-form[hidden] {
	display: none !important;
}
body.woocommerce-checkout #payment ul.payment_methods li {
	display: grid !important;
	grid-template-columns: 54px minmax(0, 1fr) 88px !important;
	align-items: center !important;
	gap: 12px !important;
}
body.woocommerce-checkout #payment ul.payment_methods li input.input-radio {
	grid-column: 1 !important;
	grid-row: 1 !important;
	justify-self: center !important;
	position: relative !important;
	right: auto !important;
	top: auto !important;
}
body.woocommerce-checkout #payment ul.payment_methods li label {
	grid-column: 2 / 4 !important;
	grid-row: 1 !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 82px !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	padding: 0 !important;
	font-weight: 950 !important;
	text-align: right !important;
}
body.woocommerce-checkout #payment ul.payment_methods li label img {
	grid-column: 2 !important;
	justify-self: end !important;
	width: 76px !important;
	height: 76px !important;
}
.kc-footer {
	background: #07182d !important;
	border-radius: 32px 32px 0 0 !important;
	margin-top: 28px !important;
	padding-bottom: 104px !important;
	color: #fff !important;
}
.kc-footer__inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1.25fr) minmax(160px, .75fr) minmax(180px, .8fr) !important;
	gap: 22px !important;
	align-items: start !important;
}
.kc-footer-brand img {
	width: 150px !important;
	height: auto !important;
	padding: 10px !important;
	border-radius: 20px !important;
	background: #fff !important;
	margin-bottom: 12px !important;
}
.kc-footer-brand strong {
	display: block !important;
	font-size: 28px !important;
	color: #fff !important;
}
.kc-footer-brand p,
.kc-footer-contact span {
	color: rgba(255, 255, 255, .72) !important;
}
.kc-footer-contact a {
	color: #f0a000 !important;
	font-size: 20px !important;
	font-weight: 950 !important;
}
.kc-footer-links nav {
	display: grid !important;
	gap: 10px !important;
}
.kc-footer-links nav a {
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 850 !important;
}
.kc-footer-trusts {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 10px !important;
}
.kc-footer-badge {
	min-height: 108px !important;
	display: grid !important;
	place-items: center !important;
	gap: 4px !important;
	padding: 12px !important;
	border-radius: 22px !important;
	background: #fff !important;
	color: #07182d !important;
	text-align: center !important;
	text-decoration: none !important;
	box-shadow: 0 18px 34px rgba(0, 0, 0, .18) !important;
}
.kc-footer-badge img {
	max-height: 72px !important;
	width: auto !important;
}
.kc-footer-badge--pay b {
	color: #c48300 !important;
	font-size: 18px !important;
}
@media (max-width: 760px) {
	.ketabbin-tracking-form {
		grid-template-columns: 1fr !important;
	}
	.ketabbin-support-fab {
		right: 16px !important;
		bottom: 98px !important;
		padding: 12px 15px !important;
	}
	.ketabbin-support-panel {
		right: 10px !important;
		left: 10px !important;
		bottom: 156px !important;
		width: auto !important;
		max-height: calc(100dvh - 190px) !important;
		overflow-y: auto !important;
	}
	.kc-footer__inner {
		grid-template-columns: 1fr !important;
	}
	.kc-footer-trusts {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* Ketabbin v1.4.14: working cart quantity ajax, stable gallery, refined checkout and mobile footer. */
.kc-tracking-top-banner {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 12px !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 12px 16px !important;
	background: linear-gradient(135deg, #07182d, #0e2949) !important;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 950 !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
}
.kc-tracking-top-banner span {
	min-width: 0 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}
.kc-tracking-top-banner b {
	flex: 0 0 auto !important;
	border-radius: 999px !important;
	background: #f0a000 !important;
	color: #07182d !important;
	padding: 8px 14px !important;
	font-size: 13px !important;
	box-shadow: 0 10px 24px rgba(240, 160, 0, .26) !important;
}
body.woocommerce-checkout #payment {
	margin-inline: auto 0 !important;
}
body.woocommerce-checkout #payment ul.payment_methods {
	width: min(100%, 440px) !important;
	margin-right: 0 !important;
	margin-left: auto !important;
	padding: 14px !important;
	border-radius: 24px !important;
	background: linear-gradient(180deg, #fff9ec, #fff) !important;
	border: 1px solid rgba(212, 171, 86, .45) !important;
}
body.woocommerce-checkout #payment ul.payment_methods li {
	position: relative !important;
	display: block !important;
	min-height: 92px !important;
	margin: 0 0 12px !important;
	padding: 16px 68px 16px 104px !important;
	border: 1px solid #ead7a9 !important;
	border-radius: 22px !important;
	background: #fff !important;
	box-shadow: 0 12px 28px rgba(12, 35, 64, .06) !important;
	direction: rtl !important;
}
body.woocommerce-checkout #payment ul.payment_methods li:last-child {
	margin-bottom: 0 !important;
}
body.woocommerce-checkout #payment ul.payment_methods li:has(input.input-radio:checked) {
	border-color: #f0a000 !important;
	background: linear-gradient(135deg, #fff8e9, #fff) !important;
	box-shadow: 0 18px 34px rgba(196, 131, 0, .14) !important;
}
body.woocommerce-checkout #payment ul.payment_methods li input.input-radio {
	appearance: none !important;
	-webkit-appearance: none !important;
	position: absolute !important;
	right: 22px !important;
	left: auto !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 34px !important;
	height: 34px !important;
	margin: 0 !important;
	border: 3px solid #d6dde6 !important;
	border-radius: 999px !important;
	background: #fff !important;
	display: grid !important;
	place-items: center !important;
}
body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked {
	border-color: #27ae60 !important;
	background: #fff !important;
	box-shadow: 0 0 0 8px rgba(39, 174, 96, .1) !important;
}
body.woocommerce-checkout #payment ul.payment_methods li input.input-radio:checked::after {
	content: "✓" !important;
	position: static !important;
	width: auto !important;
	height: auto !important;
	border: 0 !important;
	background: transparent !important;
	color: #27ae60 !important;
	font-size: 24px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	transform: none !important;
}
body.woocommerce-checkout #payment ul.payment_methods li label {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 58px !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #07182d !important;
	font-size: clamp(16px, 4vw, 20px) !important;
	font-weight: 950 !important;
	line-height: 1.8 !important;
	text-align: center !important;
	white-space: normal !important;
}
body.woocommerce-checkout #payment ul.payment_methods li:has(input.input-radio:checked) label {
	color: #b87400 !important;
}
body.woocommerce-checkout #payment ul.payment_methods li label img {
	position: absolute !important;
	left: 16px !important;
	right: auto !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 72px !important;
	height: 72px !important;
	max-width: 72px !important;
	max-height: 72px !important;
	object-fit: contain !important;
	padding: 10px !important;
	border: 1px solid #ead7a9 !important;
	border-radius: 18px !important;
	background: #fff !important;
	box-shadow: 0 12px 24px rgba(12, 35, 64, .08) !important;
}
.kc-footer {
	position: relative !important;
	margin: 34px auto 0 !important;
	padding: 28px 0 112px !important;
	background:
		radial-gradient(circle at 18% 18%, rgba(240, 160, 0, .14), transparent 28%),
		linear-gradient(180deg, #07182d 0%, #051322 100%) !important;
	border-radius: 34px 34px 0 0 !important;
	color: #fff !important;
	overflow: hidden !important;
}
.kc-footer::before {
	content: "" !important;
	position: absolute !important;
	inset: 12px !important;
	border: 1px solid rgba(240, 210, 149, .16) !important;
	border-radius: 26px 26px 0 0 !important;
	pointer-events: none !important;
}
.kc-footer__inner {
	position: relative !important;
	z-index: 1 !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1.1fr) minmax(180px, .6fr) minmax(240px, .8fr) !important;
	gap: 20px !important;
	align-items: start !important;
}
.kc-footer-brand {
	display: grid !important;
	gap: 12px !important;
}
.kc-footer-brand img {
	width: 124px !important;
	max-width: 124px !important;
	height: auto !important;
	padding: 8px 12px !important;
	border-radius: 18px !important;
	background: #fff !important;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .18) !important;
}
.kc-footer-brand strong {
	font-size: 28px !important;
	line-height: 1.5 !important;
	color: #fff !important;
}
.kc-footer-brand p {
	max-width: 420px !important;
	margin: 0 !important;
	color: rgba(255, 255, 255, .72) !important;
	font-size: 15px !important;
	line-height: 2 !important;
}
.kc-footer-contact {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 10px !important;
	max-width: 560px !important;
}
.kc-footer-contact__card {
	display: grid !important;
	gap: 5px !important;
	min-width: 0 !important;
	padding: 12px 14px !important;
	border: 1px solid rgba(240, 210, 149, .22) !important;
	border-radius: 18px !important;
	background: rgba(255, 255, 255, .06) !important;
	color: #fff !important;
	text-decoration: none !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}
.kc-footer-contact__card--wide {
	grid-column: 1 / -1 !important;
}
.kc-footer-contact__card b {
	color: #f0c36b !important;
	font-size: 12px !important;
	font-style: normal !important;
	font-weight: 950 !important;
}
.kc-footer-contact__card em {
	color: rgba(255, 255, 255, .86) !important;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 850 !important;
	line-height: 1.9 !important;
	overflow-wrap: anywhere !important;
}
.kc-footer-contact__card[dir="ltr"] {
	text-align: left !important;
}
.kc-footer-contact__card[dir="ltr"] b {
	text-align: right !important;
}
.kc-footer-contact__card[dir="ltr"] em {
	color: #f0a000 !important;
	font-size: 18px !important;
	font-weight: 950 !important;
	letter-spacing: .3px !important;
}
.kc-footer-links nav {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 8px !important;
	padding: 10px !important;
	border-radius: 20px !important;
	background: rgba(255, 255, 255, .045) !important;
}
.kc-footer-links nav a {
	padding: 9px 12px !important;
	border-radius: 14px !important;
	color: rgba(255, 255, 255, .9) !important;
	text-decoration: none !important;
	font-size: 15px !important;
	font-weight: 900 !important;
}
.kc-footer-links nav a:hover,
.kc-footer-links nav a:focus-visible {
	background: rgba(240, 160, 0, .14) !important;
	color: #fff !important;
}
.kc-footer-trusts {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 10px !important;
}
.kc-footer-badge {
	min-height: 104px !important;
	padding: 12px !important;
	border: 1px solid rgba(240, 210, 149, .28) !important;
	border-radius: 20px !important;
	background: rgba(255, 255, 255, .96) !important;
	color: #07182d !important;
	text-align: center !important;
	text-decoration: none !important;
	box-shadow: 0 18px 34px rgba(0, 0, 0, .16) !important;
}
.kc-footer-badge img {
	width: auto !important;
	max-width: 78px !important;
	max-height: 62px !important;
	object-fit: contain !important;
}
.kc-footer-badge--pay {
	align-content: center !important;
}
.kc-footer-badge--pay b {
	color: #b87400 !important;
	font-size: 18px !important;
	font-weight: 950 !important;
}
.kc-footer-badge small {
	color: #6f7a89 !important;
	font-size: 12px !important;
	font-weight: 800 !important;
}
@media (max-width: 760px) {
	.kc-tracking-top-banner {
		min-height: 48px !important;
		padding: 10px 12px !important;
		font-size: 14px !important;
	}
	.kc-tracking-top-banner b {
		padding: 7px 11px !important;
		font-size: 12px !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods {
		width: calc(100vw - 42px) !important;
		margin-right: 0 !important;
		margin-left: auto !important;
		transform: translateX(6px) !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods li {
		min-height: 88px !important;
		padding: 14px 58px 14px 88px !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods li input.input-radio {
		right: 16px !important;
		width: 32px !important;
		height: 32px !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods li label {
		font-size: 18px !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods li label img {
		left: 12px !important;
		width: 64px !important;
		height: 64px !important;
		max-width: 64px !important;
		max-height: 64px !important;
	}
	.kc-footer {
		margin-top: 28px !important;
		padding-top: 22px !important;
		padding-bottom: 122px !important;
		border-radius: 28px 28px 0 0 !important;
	}
	.kc-footer__inner {
		grid-template-columns: 1fr !important;
		gap: 18px !important;
		width: calc(100vw - 28px) !important;
		max-width: calc(100vw - 28px) !important;
	}
	.kc-footer-brand {
		justify-items: stretch !important;
		text-align: right !important;
	}
	.kc-footer-brand img {
		justify-self: start !important;
		width: 112px !important;
		max-width: 112px !important;
	}
	.kc-footer-brand strong {
		font-size: 25px !important;
	}
	.kc-footer-contact {
		grid-template-columns: 1fr !important;
		max-width: 100% !important;
	}
	.kc-footer-contact__card {
		padding: 12px !important;
	}
	.kc-footer-links nav {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.kc-footer-links nav a {
		font-size: 14px !important;
	}
	.kc-footer-trusts {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.kc-footer-badge {
		min-height: 98px !important;
		border-radius: 18px !important;
	}
}

/* Ketabbin v1.4.15: bright minimal footer and stock-aware cart quantity controls. */
.kc-footer {
	margin: 28px auto 0 !important;
	padding: 22px 0 112px !important;
	background:
		linear-gradient(180deg, rgba(255, 248, 232, .92), #fff 46%),
		#fff !important;
	border-top: 1px solid #ead7a9 !important;
	border-radius: 28px 28px 0 0 !important;
	color: #07182d !important;
	box-shadow: 0 -18px 44px rgba(12, 35, 64, .07) !important;
}
.kc-footer::before {
	inset: 10px !important;
	border: 1px dashed rgba(196, 131, 0, .24) !important;
	border-radius: 22px 22px 0 0 !important;
}
.kc-footer__inner {
	grid-template-columns: minmax(0, 1.2fr) minmax(160px, .6fr) minmax(112px, .35fr) !important;
	gap: 16px !important;
}
.kc-footer-brand {
	gap: 10px !important;
}
.kc-footer-brand img {
	width: 128px !important;
	max-width: 128px !important;
	padding: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
.kc-footer-brand strong {
	color: #07182d !important;
	font-size: 26px !important;
}
.kc-footer-brand p {
	color: #606b7a !important;
	font-size: 14px !important;
	line-height: 1.9 !important;
}
.kc-footer-contact {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 9px !important;
}
.kc-footer-contact__card {
	padding: 10px 12px !important;
	border: 1px solid #ead7a9 !important;
	border-radius: 16px !important;
	background: #fff !important;
	color: #07182d !important;
	box-shadow: 0 12px 28px rgba(12, 35, 64, .055) !important;
}
.kc-footer-contact__card b {
	color: #b87400 !important;
	font-size: 11px !important;
}
.kc-footer-contact__card em {
	color: #263548 !important;
	font-size: 13px !important;
	font-weight: 850 !important;
	line-height: 1.85 !important;
}
.kc-footer-contact__card[dir="ltr"] em {
	color: #07182d !important;
	font-size: 16px !important;
	letter-spacing: 0 !important;
}
.kc-footer-links nav {
	padding: 9px !important;
	border: 1px solid #ead7a9 !important;
	border-radius: 18px !important;
	background: #fff !important;
	box-shadow: 0 12px 28px rgba(12, 35, 64, .055) !important;
}
.kc-footer-links nav a {
	color: #07182d !important;
	background: #fffaf0 !important;
	border: 1px solid rgba(234, 215, 169, .7) !important;
	font-size: 14px !important;
}
.kc-footer-links nav a:hover,
.kc-footer-links nav a:focus-visible {
	background: #f0a000 !important;
	color: #07182d !important;
}
.kc-footer-trusts {
	grid-template-columns: 1fr !important;
	align-self: stretch !important;
}
.kc-footer-badge {
	min-height: 118px !important;
	padding: 12px !important;
	border: 1px solid #ead7a9 !important;
	border-radius: 18px !important;
	background: #fff !important;
	color: #07182d !important;
	box-shadow: 0 14px 30px rgba(12, 35, 64, .08) !important;
}
.kc-footer-badge img {
	max-width: 82px !important;
	max-height: 72px !important;
}
.kc-footer-badge--pay {
	display: none !important;
}
body.woocommerce-cart .kc-quantity-control__value {
	font-family: inherit !important;
	color: #07182d !important;
	direction: rtl !important;
	unicode-bidi: plaintext !important;
}
@media (max-width: 760px) {
	.kc-footer {
		padding-top: 20px !important;
		padding-bottom: 122px !important;
		background: linear-gradient(180deg, #fff8e8 0%, #fff 34%, #fff 100%) !important;
		border-radius: 24px 24px 0 0 !important;
	}
	.kc-footer__inner {
		grid-template-columns: 1fr !important;
		width: calc(100vw - 24px) !important;
		max-width: calc(100vw - 24px) !important;
		gap: 14px !important;
	}
	.kc-footer-brand img {
		width: 116px !important;
		max-width: 116px !important;
		justify-self: center !important;
	}
	.kc-footer-brand strong,
	.kc-footer-brand p {
		text-align: center !important;
	}
	.kc-footer-contact {
		grid-template-columns: 1fr !important;
	}
	.kc-footer-links nav {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.kc-footer-trusts {
		justify-self: center !important;
		width: min(160px, 100%) !important;
	}
	.kc-footer-badge {
		min-height: 112px !important;
	}
}

/* Ketabbin v1.4.16: checkout/cart mobile form containment and WooCommerce-native cart submit. */
body.woocommerce-cart,
body.woocommerce-checkout {
	overflow-x: clip !important;
}
body.woocommerce-cart .kc-main,
body.woocommerce-checkout .kc-main,
body.woocommerce-cart .kc-content,
body.woocommerce-checkout .kc-content,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-cart form.woocommerce-cart-form,
body.woocommerce-checkout form.checkout,
body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order {
	box-sizing: border-box !important;
	max-width: 100% !important;
	min-width: 0 !important;
}
body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2 {
	float: none !important;
	width: 100% !important;
}
body.woocommerce-checkout form.checkout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 16px !important;
}
body.woocommerce-checkout .form-row,
body.woocommerce-checkout .form-row-first,
body.woocommerce-checkout .form-row-last {
	float: none !important;
	clear: both !important;
	width: 100% !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}
body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-container,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}
body.woocommerce-cart .kc-cart-panel,
body.woocommerce-cart .kc-cart-summary-wrap,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order {
	overflow: hidden !important;
}
body.woocommerce-cart .kc-cart-item {
	grid-template-columns: 96px minmax(0, 1fr) !important;
}
body.woocommerce-cart .kc-cart-item__body,
body.woocommerce-cart .kc-cart-item__title,
body.woocommerce-cart .kc-cart-item__controls {
	min-width: 0 !important;
	max-width: 100% !important;
}
@media (max-width: 760px) {
	body.woocommerce-cart .kc-shell,
	body.woocommerce-checkout .kc-shell,
	body.woocommerce-cart .woocommerce,
	body.woocommerce-checkout .woocommerce {
		width: calc(100vw - 20px) !important;
		max-width: calc(100vw - 20px) !important;
		margin-right: auto !important;
		margin-left: auto !important;
	}
	body.woocommerce-checkout form.checkout {
		display: block !important;
		width: 100% !important;
	}
	body.woocommerce-checkout .woocommerce-billing-fields,
	body.woocommerce-checkout .woocommerce-additional-fields,
	body.woocommerce-checkout #order_review,
	body.woocommerce-checkout .woocommerce-checkout-review-order {
		width: 100% !important;
		padding: 18px 14px !important;
		border-radius: 22px !important;
	}
	body.woocommerce-checkout h3,
	body.woocommerce-checkout .woocommerce-billing-fields h3,
	body.woocommerce-checkout #order_review_heading {
		font-size: clamp(22px, 7vw, 31px) !important;
		line-height: 1.5 !important;
		white-space: normal !important;
	}
	body.woocommerce-checkout input.input-text,
	body.woocommerce-checkout textarea,
	body.woocommerce-checkout select,
	body.woocommerce-checkout .select2-container--default .select2-selection--single {
		height: auto !important;
		min-height: 54px !important;
		padding: 12px 14px !important;
		border-radius: 16px !important;
		font-size: 15px !important;
	}
	body.woocommerce-cart .kc-cart-item {
		grid-template-columns: 84px minmax(0, 1fr) !important;
		gap: 12px !important;
		padding: 16px 12px !important;
	}
	body.woocommerce-cart .kc-cart-item__price {
		grid-column: 1 / -1 !important;
		width: 100% !important;
	}
}

/* Ketabbin v1.4.17 final cascade: keep every WooCommerce mobile form inside the viewport. */
html,
body,
body.woocommerce-cart,
body.woocommerce-checkout {
	max-width: 100% !important;
	overflow-x: hidden !important;
}
body.woocommerce-cart .kc-native-quantity input.qty {
	display: block !important;
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
@media (max-width: 760px) {
	body.woocommerce-cart .kc-shell,
	body.woocommerce-checkout .kc-shell,
	body.woocommerce-cart .kc-main,
	body.woocommerce-checkout .kc-main,
	body.woocommerce-cart .kc-content,
	body.woocommerce-checkout .kc-content,
	body.woocommerce-cart .woocommerce,
	body.woocommerce-checkout .woocommerce {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-inline: auto !important;
		padding-inline: 6px !important;
		transform: none !important;
	}
	body.woocommerce-cart .woocommerce-cart-form.kc-cart,
	body.woocommerce-cart .kc-cart-panel,
	body.woocommerce-cart .kc-cart-items,
	body.woocommerce-cart .kc-cart-summary-wrap,
	body.woocommerce-checkout form.checkout,
	body.woocommerce-checkout form.checkout > *,
	body.woocommerce-checkout .col2-set,
	body.woocommerce-checkout .col2-set .col-1,
	body.woocommerce-checkout .col2-set .col-2,
	body.woocommerce-checkout .woocommerce-billing-fields,
	body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
	body.woocommerce-checkout .woocommerce-shipping-fields,
	body.woocommerce-checkout .woocommerce-additional-fields,
	body.woocommerce-checkout #order_review,
	body.woocommerce-checkout .woocommerce-checkout-review-order {
		display: block !important;
		float: none !important;
		clear: both !important;
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		transform: none !important;
	}
	body.woocommerce-checkout .woocommerce-billing-fields,
	body.woocommerce-checkout .woocommerce-additional-fields,
	body.woocommerce-checkout #order_review,
	body.woocommerce-checkout .woocommerce-checkout-review-order {
		padding: 16px 12px !important;
		overflow: hidden !important;
	}
	body.woocommerce-checkout .form-row,
	body.woocommerce-checkout p.form-row,
	body.woocommerce-checkout .form-row-first,
	body.woocommerce-checkout .form-row-last,
	body.woocommerce-checkout .form-row-wide {
		display: block !important;
		float: none !important;
		clear: both !important;
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 0 14px !important;
		padding: 0 !important;
		transform: none !important;
	}
	body.woocommerce-checkout .form-row label,
	body.woocommerce-checkout .woocommerce-input-wrapper,
	body.woocommerce-checkout input.input-text,
	body.woocommerce-checkout textarea,
	body.woocommerce-checkout select,
	body.woocommerce-checkout .select2-container,
	body.woocommerce-checkout .select2-container .selection,
	body.woocommerce-checkout .select2-container--default .select2-selection--single {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		transform: none !important;
	}
	body.woocommerce-checkout .form-row label {
		display: block !important;
		margin-bottom: 7px !important;
		padding: 0 !important;
		text-align: right !important;
		white-space: normal !important;
	}
	body.woocommerce-cart .kc-cart-panel,
	body.woocommerce-cart .kc-cart-summary-wrap .cart_totals {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-inline: 0 !important;
		padding-inline: 12px !important;
	}
	body.woocommerce-cart .kc-cart-item {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		grid-template-columns: minmax(0, 1fr) 78px !important;
		gap: 10px !important;
		margin-inline: 0 !important;
		padding: 14px 10px !important;
	}
	body.woocommerce-cart .kc-cart-item__body,
	body.woocommerce-cart .kc-cart-item__title,
	body.woocommerce-cart .kc-cart-item__meta,
	body.woocommerce-cart .kc-cart-item__controls,
	body.woocommerce-cart .kc-cart-item__selected,
	body.woocommerce-cart .kc-cart-item__remove,
	body.woocommerce-cart .kc-cart-item__price {
		box-sizing: border-box !important;
		min-width: 0 !important;
		max-width: 100% !important;
	}
	body.woocommerce-cart .kc-cart-item__selected,
	body.woocommerce-cart .kc-cart-item__remove {
		width: min(100%, 270px) !important;
		margin-inline: auto !important;
	}
	body.woocommerce-cart .kc-quantity-control {
		width: min(100%, 210px) !important;
		max-width: 210px !important;
		margin-inline: auto !important;
	}
	body.woocommerce-checkout .ketabbin-support-fab {
		right: auto !important;
		left: 12px !important;
		bottom: 94px !important;
	}
}
@media (max-width: 390px) {
	body.woocommerce-cart .kc-cart-item {
		grid-template-columns: minmax(0, 1fr) 70px !important;
		padding: 12px 8px !important;
	}
	body.woocommerce-checkout .woocommerce-billing-fields,
	body.woocommerce-checkout .woocommerce-additional-fields,
	body.woocommerce-checkout #order_review,
	body.woocommerce-checkout .woocommerce-checkout-review-order {
		padding-inline: 10px !important;
		border-radius: 18px !important;
	}
}

/* Ketabbin v1.4.18 final cart-card override — keep last. */
/* Ketabbin v1.4.19 footer palette override — placed after every legacy footer rule. */
/* Ketabbin v1.4.20: centered, responsive checkout gateway cards. */
/* Ketabbin v1.4.21: exactly two complete homepage product cards on mobile. */
/* Ketabbin v1.4.22: balanced section headings and dynamic WooCommerce mobile banners. */
.kc-mobile-banners {
	display: none;
}
@media (max-width: 760px) {
	.kc-product-head,
	.kc-categories > header,
	.kc-mood > header,
	.kc-topics > header,
	.kc-digital > div:first-child,
	.kc-magazine > header,
	.kc-trust-strip .kc-shell > div:first-child {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		padding-right: 14px !important;
		padding-left: 14px !important;
	}
	/* Higher specificity keeps this spacing after the two-card mobile rules below. */
	.kc-products.kc-products .kc-product-head {
		padding-right: 14px !important;
		padding-left: 14px !important;
	}
	.kc-product-head h2,
	.kc-categories h2,
	.kc-mood h2,
	.kc-topics h2,
	.kc-digital h2,
	.kc-magazine h2,
	.kc-trust-strip h2 {
		margin-right: 0 !important;
		margin-left: 0 !important;
		text-align: right !important;
	}
	.kc-mobile-banners {
		display: block !important;
		box-sizing: border-box !important;
		width: calc(100vw - 20px) !important;
		max-width: calc(100vw - 20px) !important;
		margin: 0 auto !important;
		padding: 10px !important;
		border: 1px solid #ead7a9 !important;
		border-radius: 26px !important;
		background: #fff !important;
		overflow: hidden !important;
		box-shadow: 0 12px 30px rgba(12, 35, 64, .055) !important;
	}
	.kc-mobile-banner-rail {
		display: flex !important;
		flex-flow: row nowrap !important;
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		gap: 10px !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		scroll-snap-type: x mandatory !important;
		overscroll-behavior-inline: contain !important;
		-webkit-overflow-scrolling: touch !important;
		touch-action: pan-x pan-y !important;
		scrollbar-width: none !important;
	}
	.kc-mobile-banner-rail::-webkit-scrollbar {
		display: none !important;
	}
	.kc-mobile-banner {
		position: relative !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 112px !important;
		align-items: center !important;
		box-sizing: border-box !important;
		flex: 0 0 100% !important;
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
		min-height: 188px !important;
		gap: 10px !important;
		padding: 18px !important;
		border: 1px solid rgba(255, 255, 255, .7) !important;
		border-radius: 22px !important;
		overflow: hidden !important;
		scroll-snap-align: start !important;
		scroll-snap-stop: always !important;
		color: #071527 !important;
		text-decoration: none !important;
	}
	.kc-mobile-banner::before,
	.kc-mobile-banner::after {
		content: "" !important;
		position: absolute !important;
		border-radius: 999px !important;
		pointer-events: none !important;
	}
	.kc-mobile-banner::before {
		width: 150px !important;
		height: 150px !important;
		top: -74px !important;
		left: -50px !important;
		background: rgba(255, 255, 255, .42) !important;
	}
	.kc-mobile-banner::after {
		width: 90px !important;
		height: 90px !important;
		bottom: -50px !important;
		right: 22% !important;
		border: 18px solid rgba(255, 255, 255, .28) !important;
	}
	.kc-mobile-banner--gold {
		background: linear-gradient(135deg, #fff0bf, #ffd975 58%, #f4b51d) !important;
	}
	.kc-mobile-banner--blue {
		background: linear-gradient(135deg, #e9f5ff, #b9ddff 58%, #75b9f5) !important;
	}
	.kc-mobile-banner--rose {
		background: linear-gradient(135deg, #fff0f3, #ffc6d2 58%, #ef8fa4) !important;
	}
	.kc-mobile-banner__content {
		position: relative !important;
		z-index: 2 !important;
		display: grid !important;
		align-content: center !important;
		gap: 5px !important;
		min-width: 0 !important;
		text-align: right !important;
	}
	.kc-mobile-banner__content span {
		color: #9a6400 !important;
		font-size: 11px !important;
		font-weight: 950 !important;
	}
	.kc-mobile-banner__content h2 {
		margin: 0 !important;
		color: #071527 !important;
		font-size: clamp(20px, 6vw, 27px) !important;
		font-weight: 950 !important;
		line-height: 1.5 !important;
	}
	.kc-mobile-banner__content p {
		margin: 0 !important;
		color: #425067 !important;
		font-size: 11px !important;
		font-weight: 750 !important;
		line-height: 1.7 !important;
	}
	.kc-mobile-banner__content b {
		width: fit-content !important;
		margin-top: 4px !important;
		padding: 7px 11px !important;
		border-radius: 999px !important;
		background: #071527 !important;
		color: #fff !important;
		font-size: 10px !important;
		font-weight: 900 !important;
	}
	.kc-mobile-banner__book {
		position: relative !important;
		z-index: 2 !important;
		display: grid !important;
		place-items: center !important;
		align-self: center !important;
		width: 112px !important;
		height: 148px !important;
		margin: 0 !important;
		padding: 8px !important;
		border: 1px solid rgba(255, 255, 255, .8) !important;
		border-radius: 18px !important;
		background: rgba(255, 255, 255, .68) !important;
		box-shadow: 0 14px 28px rgba(12, 35, 64, .12) !important;
	}
	.kc-mobile-banner__book img {
		display: block !important;
		width: 100% !important;
		height: 118px !important;
		object-fit: contain !important;
		filter: drop-shadow(0 8px 8px rgba(12, 35, 64, .16)) !important;
	}
	.kc-mobile-banner__book i {
		display: grid !important;
		place-items: center !important;
		width: 72px !important;
		height: 96px !important;
		border-radius: 10px !important;
		background: #fff !important;
		color: #d08b00 !important;
		font-size: 34px !important;
	}
	.kc-mobile-banner__book small {
		display: block !important;
		width: 100% !important;
		overflow: hidden !important;
		color: #071527 !important;
		font-size: 8px !important;
		font-weight: 850 !important;
		line-height: 1.4 !important;
		text-align: center !important;
		white-space: nowrap !important;
		text-overflow: ellipsis !important;
	}
	.kc-mobile-banner-dots {
		display: flex !important;
		justify-content: center !important;
		gap: 6px !important;
		margin-top: 9px !important;
	}
	.kc-mobile-banner-dots i {
		width: 7px !important;
		height: 7px !important;
		border-radius: 999px !important;
		background: #d8a62a !important;
	}
	.kc-mobile-banner-dots i:first-child {
		width: 22px !important;
		background: #071527 !important;
	}
}
@media (max-width: 360px) {
	.kc-mobile-banner {
		grid-template-columns: minmax(0, 1fr) 92px !important;
		min-height: 178px !important;
		padding: 14px !important;
	}
	.kc-mobile-banner__content h2 {
		font-size: 19px !important;
	}
	.kc-mobile-banner__book {
		width: 92px !important;
		height: 138px !important;
	}
	.kc-mobile-banner__book img {
		height: 108px !important;
	}
}

/* Ketabbin v1.4.24: keep uploaded story thumbnails perfectly inside the circle. */
.kc-story {
	position: relative !important;
	isolation: isolate !important;
}
.kc-story i {
	box-sizing: border-box !important;
	position: relative !important;
	flex: 0 0 auto !important;
	overflow: hidden !important;
	border-radius: 999px !important;
	contain: paint !important;
}
.kc-story i img,
.kc-story i video {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	border-radius: 999px !important;
	object-fit: cover !important;
	object-position: center !important;
}
.kc-story em {
	z-index: 2 !important;
	top: 0 !important;
	left: 0 !important;
	transform: translate(-4px, 4px) !important;
}
@media (max-width: 760px) {
	.kc-products {
		box-sizing: border-box !important;
		width: calc(100vw - 20px) !important;
		max-width: calc(100vw - 20px) !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding: 16px 10px !important;
		overflow: hidden !important;
	}
	.kc-products .kc-product-head {
		display: flex !important;
		align-items: flex-start !important;
		justify-content: space-between !important;
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		gap: 8px !important;
		margin: 0 0 14px !important;
		padding: 0 2px !important;
	}
	.kc-products .kc-product-head > * {
		min-width: 0 !important;
		max-width: 100% !important;
	}
	.kc-products .kc-product-head h2 {
		font-size: clamp(20px, 6.1vw, 27px) !important;
		line-height: 1.45 !important;
		white-space: normal !important;
	}
	.kc-products .kc-product-head p {
		font-size: 12px !important;
		line-height: 1.7 !important;
	}
	.kc-products .kc-product-rail {
		--kc-mobile-product-gap: 10px;
		display: flex !important;
		flex-flow: row nowrap !important;
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		gap: var(--kc-mobile-product-gap) !important;
		margin: 0 !important;
		padding: 2px 0 10px !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		scroll-snap-type: x mandatory !important;
		scroll-padding-inline: 0 !important;
		overscroll-behavior-inline: contain !important;
		-webkit-overflow-scrolling: touch !important;
		touch-action: pan-x pan-y !important;
		scrollbar-width: none !important;
	}
	.kc-products .kc-product-rail::-webkit-scrollbar {
		display: none !important;
	}
	.kc-products .kc-product-rail > .kc-product-card {
		box-sizing: border-box !important;
		flex: 0 0 calc((100% - var(--kc-mobile-product-gap)) / 2) !important;
		width: calc((100% - var(--kc-mobile-product-gap)) / 2) !important;
		min-width: 0 !important;
		max-width: none !important;
		height: clamp(450px, 125vw, 500px) !important;
		grid-template-rows: clamp(138px, 43vw, 180px) minmax(0, 1fr) !important;
		scroll-snap-align: start !important;
		scroll-snap-stop: always !important;
		border-radius: 20px !important;
	}
	.kc-products .kc-product-card__image {
		height: auto !important;
		min-height: 0 !important;
		padding: clamp(8px, 2.7vw, 14px) !important;
	}
	.kc-products .kc-product-card__badge {
		top: 8px !important;
		right: 8px !important;
		min-width: 0 !important;
		height: 25px !important;
		padding-inline: 7px !important;
		border-radius: 9px !important;
		font-size: 9px !important;
	}
	.kc-products .kc-product-card__body {
		box-sizing: border-box !important;
		min-height: 0 !important;
		padding: clamp(8px, 2.8vw, 12px) !important;
		grid-template-rows: 17px 58px 24px 52px minmax(84px, 1fr) !important;
		gap: 7px !important;
	}
	.kc-products .kc-product-card__category {
		font-size: 10px !important;
	}
	.kc-products .kc-product-card h3 {
		min-height: 58px !important;
		max-height: 58px !important;
		font-size: clamp(11px, 3.35vw, 14px) !important;
		line-height: 1.65 !important;
		-webkit-line-clamp: 2 !important;
	}
	.kc-products .kc-product-card__meta {
		gap: 4px !important;
		font-size: clamp(9px, 2.7vw, 11px) !important;
		white-space: nowrap !important;
	}
	.kc-products .kc-product-card__price {
		min-height: 52px !important;
		font-size: 12px !important;
		line-height: 1.35 !important;
	}
	.kc-products .kc-product-card__price del {
		font-size: clamp(10px, 2.8vw, 12px) !important;
	}
	.kc-products .kc-product-card__price ins,
	.kc-products .kc-product-card__price > .woocommerce-Price-amount,
	.kc-products .kc-product-card__price > span.amount {
		font-size: clamp(13px, 3.8vw, 16px) !important;
	}
	.kc-products .kc-product-card__actions {
		height: 84px !important;
		grid-template-rows: repeat(2, 39px) !important;
		gap: 6px !important;
	}
	.kc-products .kc-product-card__actions .kc-btn {
		min-width: 0 !important;
		min-height: 39px !important;
		max-height: 39px !important;
		padding: 6px 5px !important;
		border-radius: 12px !important;
		gap: 4px !important;
		font-size: clamp(9px, 2.65vw, 12px) !important;
		white-space: nowrap !important;
	}
	.kc-products .kc-product-card__actions .kc-btn svg {
		width: 17px !important;
		height: 17px !important;
		flex: 0 0 17px !important;
	}
}
@media (max-width: 360px) {
	.kc-products {
		padding-right: 8px !important;
		padding-left: 8px !important;
	}
	.kc-products .kc-product-rail {
		--kc-mobile-product-gap: 8px;
	}
	.kc-products .kc-product-rail > .kc-product-card {
		height: 446px !important;
		grid-template-rows: 136px minmax(0, 1fr) !important;
	}
	.kc-products .kc-product-card__body {
		padding: 8px 7px !important;
	}
}
body.woocommerce-checkout #payment,
body.woocommerce-checkout .woocommerce-checkout-payment {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin-right: auto !important;
	margin-left: auto !important;
	transform: none !important;
}
body.woocommerce-checkout #payment ul.payment_methods {
	display: block !important;
	box-sizing: border-box !important;
	width: min(100%, 520px) !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 auto !important;
	padding: 12px !important;
	transform: none !important;
	left: auto !important;
	right: auto !important;
}
body.woocommerce-checkout #payment ul.payment_methods li {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 auto 12px !important;
	transform: none !important;
	left: auto !important;
	right: auto !important;
}
body.woocommerce-checkout #payment ul.payment_methods li:last-child {
	margin-bottom: 0 !important;
}
@media (max-width: 760px) {
	body.woocommerce-checkout #payment,
	body.woocommerce-checkout .woocommerce-checkout-payment {
		padding-right: 0 !important;
		padding-left: 0 !important;
		overflow: visible !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods {
		width: calc(100% - 8px) !important;
		max-width: calc(100% - 8px) !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding: 10px !important;
		transform: none !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods li {
		width: 100% !important;
		min-height: 88px !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding: 14px 60px 14px 84px !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods li input.input-radio {
		right: 16px !important;
		left: auto !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods li label {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 auto !important;
		text-align: center !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods li label img {
		left: 12px !important;
		right: auto !important;
		width: 62px !important;
		height: 62px !important;
		max-width: 62px !important;
		max-height: 62px !important;
	}
}
@media (max-width: 390px) {
	body.woocommerce-checkout #payment ul.payment_methods {
		width: 100% !important;
		max-width: 100% !important;
		padding: 8px !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods li {
		min-height: 82px !important;
		padding: 12px 52px 12px 72px !important;
		border-radius: 18px !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods li input.input-radio {
		right: 13px !important;
		width: 28px !important;
		height: 28px !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods li label {
		font-size: 15px !important;
		line-height: 1.6 !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods li label img {
		left: 10px !important;
		width: 54px !important;
		height: 54px !important;
		max-width: 54px !important;
		max-height: 54px !important;
		padding: 7px !important;
		border-radius: 15px !important;
	}
}
.kc-footer,
body .kc-footer,
.kc-footer .kc-footer__inner,
.kc-footer .kc-footer-brand,
.kc-footer .kc-footer-links,
.kc-footer .kc-footer-trusts,
.kc-footer .kc-footer-contact {
	background: #fff !important;
	background-image: none !important;
	color: #111 !important;
}
.kc-footer,
body .kc-footer {
	border: 1px solid #d8a62a !important;
	border-bottom: 0 !important;
	box-shadow: 0 -12px 34px rgba(17, 17, 17, .07) !important;
}
.kc-footer::before,
body .kc-footer::before {
	background: transparent !important;
	border-color: rgba(216, 166, 42, .55) !important;
}
.kc-footer .kc-footer-brand img {
	background: transparent !important;
	filter: none !important;
	opacity: 1 !important;
}
.kc-footer .kc-footer-brand strong,
.kc-footer .kc-footer-brand p,
.kc-footer .kc-footer-brand span,
.kc-footer .kc-footer-brand b,
.kc-footer .kc-footer-brand em,
.kc-footer .kc-footer-brand a,
.kc-footer .kc-footer-links a,
.kc-footer .kc-footer-trusts,
.kc-footer .kc-footer-trusts a,
.kc-footer .kc-footer-trusts small {
	color: #111 !important;
}
.kc-footer .kc-footer-contact__card,
.kc-footer .kc-footer-contact__card--wide,
.kc-footer .kc-footer-links nav,
.kc-footer .kc-footer-links nav a,
.kc-footer .kc-footer-badge,
.kc-footer .kc-enamad__preview,
.kc-footer .widget,
.kc-footer .widget_text {
	background: #fff !important;
	background-image: none !important;
	color: #111 !important;
	border: 1px solid #d8a62a !important;
	box-shadow: 0 8px 22px rgba(17, 17, 17, .055) !important;
}
.kc-footer .kc-footer-contact__card b,
.kc-footer .kc-footer-contact__card em,
.kc-footer .kc-footer-contact__card[dir="ltr"] b,
.kc-footer .kc-footer-contact__card[dir="ltr"] em,
.kc-footer .kc-footer-links nav a {
	color: #111 !important;
}
.kc-footer .kc-footer-links nav a:hover,
.kc-footer .kc-footer-links nav a:focus-visible {
	background: #fff8e7 !important;
	color: #111 !important;
	border-color: #c78b00 !important;
}
.kc-footer .kc-footer-badge img,
.kc-footer .kc-enamad__preview img {
	background: #fff !important;
}
@media (max-width: 760px) {
	.kc-footer,
	body .kc-footer {
		width: calc(100% - 12px) !important;
		margin-right: 6px !important;
		margin-left: 6px !important;
		padding-top: 20px !important;
		border-radius: 26px 26px 0 0 !important;
	}
	.kc-footer .kc-footer__inner {
		width: calc(100% - 20px) !important;
		max-width: calc(100% - 20px) !important;
		margin-inline: auto !important;
	}
}
body.woocommerce-cart .kc-cart-item.is-updating {
	opacity: .72 !important;
	pointer-events: none !important;
}
.kc-story-viewer {
	padding: 14px !important;
	align-items: center !important;
	inset: 150px 0 126px !important;
	place-items: center !important;
	z-index: 2147483000 !important;
}
.kc-story-viewer > div {
	width: min(82vw, 310px) !important;
	max-height: calc(100dvh - 300px) !important;
	padding: 10px 10px 54px !important;
	border-radius: 20px !important;
	overflow: auto !important;
}
.kc-story-viewer [data-story-media] {
	display: grid !important;
	place-items: center !important;
	width: 100% !important;
}
.kc-story-viewer img,
.kc-story-viewer video {
	width: 100% !important;
	max-height: min(46dvh, 380px) !important;
	aspect-ratio: 9 / 16 !important;
	object-fit: contain !important;
	border-radius: 16px !important;
	background: #fffaf0 !important;
}
.kc-story-viewer audio {
	width: 100% !important;
	max-width: 100% !important;
}
.kc-story-viewer a {
	position: static !important;
	width: 100% !important;
	margin-top: 10px !important;
	padding: 10px !important;
	border-radius: 14px !important;
	font-size: 14px !important;
}
@media (max-width: 420px) {
	.kc-story-viewer {
		inset: 158px 0 128px !important;
		padding: 8px !important;
	}
	.kc-story-viewer > div {
		width: min(80vw, 292px) !important;
		padding: 8px 8px 50px !important;
	}
	.kc-story-viewer img,
	.kc-story-viewer video {
		max-height: min(42dvh, 330px) !important;
	}
}
@media (max-width: 760px) {
	body.woocommerce-cart .kc-cart-items {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 14px !important;
		width: 100% !important;
	}
	body.woocommerce-cart .kc-cart-item {
		display: grid !important;
		grid-template-columns: 88px minmax(0, 1fr) !important;
		grid-template-areas: "thumb body" "price price" !important;
		align-items: start !important;
		gap: 16px 12px !important;
		direction: rtl !important;
		width: 100% !important;
		padding: 16px 12px !important;
	}
	body.woocommerce-cart .kc-cart-item__thumb {
		grid-area: thumb !important;
		width: 88px !important;
		min-width: 88px !important;
		max-width: 88px !important;
	}
	body.woocommerce-cart .kc-cart-item__thumb img {
		display: block !important;
		width: 100% !important;
		height: 112px !important;
		object-fit: contain !important;
	}
	body.woocommerce-cart .kc-cart-item__body {
		grid-area: body !important;
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
	}
	body.woocommerce-cart .kc-cart-item__title {
		display: block !important;
		width: 100% !important;
		margin: 0 0 10px !important;
		text-align: right !important;
	}
	body.woocommerce-cart .kc-cart-item__title a,
	body.woocommerce-cart .kc-cart-item__title strong {
		display: -webkit-box !important;
		width: 100% !important;
		-webkit-line-clamp: 2 !important;
		-webkit-box-orient: vertical !important;
		overflow: hidden !important;
		white-space: normal !important;
		font-size: 16px !important;
		line-height: 1.8 !important;
	}
	body.woocommerce-cart .kc-cart-item__meta {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		justify-content: flex-start !important;
		gap: 7px !important;
		width: 100% !important;
		margin: 0 0 12px !important;
	}
	body.woocommerce-cart .kc-cart-item__meta span,
	body.woocommerce-cart .kc-cart-item__meta small {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: auto !important;
		min-width: 0 !important;
		min-height: 34px !important;
		margin: 0 !important;
		padding: 6px 10px !important;
		white-space: nowrap !important;
		font-size: 11px !important;
		line-height: 1.4 !important;
	}
	body.woocommerce-cart .kc-cart-item__controls {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 10px !important;
		width: 100% !important;
		min-width: 0 !important;
	}
	body.woocommerce-cart .kc-cart-item__selected,
	body.woocommerce-cart .kc-cart-item__remove,
	body.woocommerce-cart .kc-cart-item__controls .quantity {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
	}
	body.woocommerce-cart .kc-cart-item__selected {
		min-height: 48px !important;
		padding: 8px 12px !important;
		white-space: normal !important;
		font-size: 13px !important;
		line-height: 1.65 !important;
		text-align: center !important;
	}
	body.woocommerce-cart .kc-cart-item__controls .quantity .kc-quantity-control,
	body.woocommerce-cart .kc-quantity-control {
		display: grid !important;
		grid-template-columns: 42px minmax(42px, 1fr) 42px !important;
		width: min(100%, 190px) !important;
		min-width: 0 !important;
		max-width: 190px !important;
		height: 46px !important;
		margin: 0 auto !important;
	}
	body.woocommerce-cart .kc-cart-item__remove {
		min-height: 44px !important;
		padding: 8px 12px !important;
	}
	body.woocommerce-cart .kc-cart-item__price {
		grid-area: price !important;
		grid-column: 1 / -1 !important;
		display: grid !important;
		grid-template-columns: auto minmax(0, 1fr) auto !important;
		align-items: center !important;
		gap: 8px !important;
		width: 100% !important;
		padding-top: 12px !important;
	}
}
@media (max-width: 390px) {
	body.woocommerce-cart .kc-cart-item {
		grid-template-columns: 76px minmax(0, 1fr) !important;
		gap: 14px 9px !important;
		padding: 14px 9px !important;
	}
	body.woocommerce-cart .kc-cart-item__thumb {
		width: 76px !important;
		min-width: 76px !important;
		max-width: 76px !important;
	}
	body.woocommerce-cart .kc-cart-item__thumb img {
		height: 100px !important;
	}
}

/* Ketabbin v1.4.67 stable single product redesign. */
body.single-product {
	overflow-x: hidden !important;
	width: 100%;
	max-width: 100%;
}

body.single-product .kc-main,
body.single-product .woocommerce,
body.single-product .site,
body.single-product .site-content {
	max-width: 100% !important;
	overflow-x: clip !important;
}

.kbp-single,
.kbp-single * {
	box-sizing: border-box;
}

.kbp-single {
	width: min(1120px, calc(100% - 24px));
	max-width: 100%;
	margin: 28px auto 120px;
	direction: rtl;
	color: var(--kc-ink);
	overflow-x: clip;
	contain: layout paint;
}

.kbp-single__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr);
	gap: 18px;
	align-items: start;
	padding: 16px;
	border: 1px solid #ecd7ae;
	border-radius: 28px;
	background: linear-gradient(160deg, #fff 0%, #fffaf2 100%);
	box-shadow: 0 18px 48px rgba(12, 35, 64, .08);
	overflow: hidden;
	max-width: 100%;
}

.kbp-gallery,
.kbp-summary,
.kbp-card,
.kbp-single .kc-single-book-specs {
	min-width: 0;
	max-width: 100%;
	border: 1px solid #f0dfc1;
	border-radius: 24px;
	background: #fff;
	overflow: hidden;
}

.kbp-gallery {
	position: relative;
	padding: 12px;
	box-shadow: inset 0 0 0 7px #fffaf3;
}

.kbp-gallery__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
}

.kbp-gallery__image {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	object-position: center !important;
	-webkit-touch-callout: none;
	user-select: none;
}

.kbp-gallery__sale {
	position: absolute;
	z-index: 4;
	top: 20px;
	inset-inline-start: 20px;
	min-width: 84px;
	min-height: 58px;
	display: grid;
	place-items: center;
	padding: 10px 13px;
	border-radius: 18px;
	background: var(--kc-red);
	color: #fff;
	font-size: 16px;
	font-weight: 950;
	box-shadow: 0 14px 30px rgba(239, 64, 86, .25);
}

.kbp-gallery__nav {
	position: absolute;
	z-index: 5;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border: 1px solid #ecd7ae;
	border-radius: 50%;
	background: #fff;
	color: var(--kc-ink);
	font-size: 30px;
	font-weight: 950;
	line-height: 1;
	box-shadow: 0 10px 24px rgba(12, 35, 64, .08);
	cursor: pointer;
}

.kbp-gallery__nav--prev { inset-inline-start: 12px; }
.kbp-gallery__nav--next { inset-inline-end: 12px; }

.kbp-gallery__thumbs {
	width: 100%;
	max-width: 100%;
	display: flex;
	flex-flow: row nowrap;
	gap: 10px;
	justify-content: center;
	margin-top: 12px;
	padding: 4px 2px 8px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.kbp-gallery__thumbs::-webkit-scrollbar {
	display: none;
}

.kbp-gallery__thumbs button {
	flex: 0 0 68px;
	width: 68px;
	height: 68px;
	display: grid;
	place-items: center;
	margin: 0;
	padding: 5px;
	border: 1px solid #ecd7ae;
	border-radius: 16px;
	background: #fff;
	cursor: pointer;
}

.kbp-gallery__thumbs button.is-active {
	border-color: #f2a000;
	box-shadow: 0 0 0 3px rgba(242, 160, 0, .13);
}

.kbp-gallery__thumbs img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.kbp-summary {
	display: grid;
	gap: 14px;
	padding: 18px;
	background: transparent;
	border: 0;
	overflow: hidden;
}

.kbp-summary__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: flex-start;
	max-width: 100%;
}

.kbp-badge {
	min-height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	border: 1px solid #ecd7ae;
	border-radius: 999px;
	background: #fffaf0;
	color: var(--kc-gold-dark);
	font-size: 13px;
	font-weight: 900;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.kbp-badge--stock {
	border-color: rgba(22, 121, 75, .22);
	background: #f2fff7;
	color: #16794b;
}

.kbp-badge--out {
	border-color: rgba(239, 64, 86, .22);
	background: #fff5f6;
	color: var(--kc-red);
}

.kbp-summary__title {
	width: 100%;
	max-width: 100%;
	margin: 0;
	color: var(--kc-ink);
	font-size: clamp(28px, 3.8vw, 40px);
	font-weight: 950;
	line-height: 1.5;
	text-align: right;
	overflow-wrap: anywhere;
	word-break: normal;
	overflow: visible;
}

.kbp-buybox {
	width: 100%;
	max-width: 100%;
	display: grid;
	gap: 10px;
	padding: 14px;
	border: 1px solid #ecd7ae;
	border-radius: 24px;
	background: #fff8eb;
	overflow: hidden;
}

.kbp-buybox__price {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	color: var(--kc-ink);
	font-size: clamp(34px, 4.8vw, 50px);
	font-weight: 950;
	line-height: 1.12;
	text-align: left;
	overflow-wrap: anywhere;
}

.kbp-buybox__price del {
	color: var(--kc-gold-dark);
	font-size: .62em;
	font-weight: 850;
	opacity: 1;
}

.kbp-buybox__price ins {
	color: var(--kc-red);
	text-decoration: none;
}

.kbp-buybox form.cart {
	width: 100% !important;
	max-width: 100% !important;
	display: grid !important;
	grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: hidden;
}

.kbp-buybox form.cart .quantity {
	width: 100% !important;
	margin: 0 !important;
}

.kbp-qty {
	width: 100%;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 48px;
	align-items: center;
	min-height: 50px;
	border: 1px solid #ecd7ae;
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
	direction: rtl;
}

.kbp-qty button {
	width: 48px;
	height: 50px;
	border: 0;
	background: transparent;
	color: var(--kc-gold-dark);
	font-size: 25px;
	font-weight: 950;
	cursor: pointer;
}

.kbp-qty button:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.kbp-qty__value {
	display: grid;
	place-items: center;
	height: 50px;
	border-inline: 1px solid #f0dfc1;
	color: #000;
	font-size: 22px;
	font-weight: 950;
	direction: ltr;
}

.kbp-buybox form.cart input.qty {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 0 !important;
	color: #000;
	pointer-events: none !important;
}

.kbp-buybox form.cart .single_add_to_cart_button {
	width: 100% !important;
	min-height: 58px;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 16px !important;
	background: linear-gradient(135deg, #f2ad22, #c97f00) !important;
	color: #fff !important;
	font-size: 18px !important;
	font-weight: 950 !important;
	box-shadow: 0 12px 24px rgba(184, 116, 0, .17);
}

.kbp-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.kbp-actions .kc-btn {
	width: 100%;
	min-height: 48px;
	border-radius: 16px;
	font-weight: 900;
}

.kbp-card {
	width: 100%;
	max-width: 100%;
	margin-top: 16px;
	padding: 18px;
	color: #566070;
	font-size: 16px;
	font-weight: 650;
	line-height: 2.2;
	overflow-wrap: anywhere;
	overflow: hidden;
}

.kbp-card p,
.kbp-card li,
.kbp-card h2,
.kbp-single .kc-single-book-specs,
.kbp-single .kc-single-book-specs * {
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: normal;
}

.kbp-card h2 {
	margin: 0 0 10px;
	color: var(--kc-ink);
	font-size: 24px;
	font-weight: 950;
	line-height: 1.5;
}

.kbp-specs-wrap .kc-single-book-specs {
	width: 100% !important;
	margin: 16px 0 0 !important;
}

.kbp-related {
	margin-bottom: 120px;
}

.kbp-related > h2,
.kbp-related .related > h2 {
	margin: 0 0 18px;
	color: var(--kc-ink);
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 950;
	line-height: 1.35;
	text-align: right;
}

.kbp-related ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.kbp-related ul.products::before,
.kbp-related ul.products::after {
	display: none !important;
}

.kbp-related ul.products li.product {
	width: auto !important;
	max-width: 100% !important;
	float: none !important;
	clear: none !important;
	display: flex !important;
	flex-direction: column;
	min-width: 0;
	min-height: 100%;
	margin: 0 !important;
	padding: 12px !important;
	border: 1px solid #f0dfc1;
	border-radius: 22px;
	background: #fff;
	text-align: center;
	box-shadow: 0 14px 30px rgba(12, 35, 64, .06);
	overflow: hidden;
}

.kbp-related ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex !important;
	flex-direction: column;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.kbp-related ul.products li.product img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	margin: 0 0 10px !important;
	border-radius: 0 !important;
	object-fit: contain !important;
	background: #fffaf5;
}

.kbp-related ul.products li.product .woocommerce-loop-product__title {
	min-height: 3.2em;
	margin: 8px 0 8px !important;
	padding: 0 !important;
	color: var(--kc-ink);
	font-size: 16px !important;
	font-weight: 950 !important;
	line-height: 1.6 !important;
	display: -webkit-box !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}

.kbp-related ul.products li.product .price {
	min-height: 2.6em;
	display: flex !important;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
	justify-content: center;
	margin: 6px 0 12px !important;
	color: var(--kc-red) !important;
	font-size: 18px !important;
	font-weight: 950 !important;
	line-height: 1.3 !important;
}

.kbp-related ul.products li.product .price del {
	color: var(--kc-gold-dark) !important;
	font-size: .78em !important;
	font-weight: 850 !important;
	opacity: .85 !important;
}

.kbp-related ul.products li.product .price ins {
	color: var(--kc-red) !important;
	text-decoration: none !important;
}

.kbp-related ul.products li.product .button,
.kbp-related ul.products li.product .add_to_cart_button,
.kbp-related ul.products li.product .product_type_simple,
.kbp-related ul.products li.product .product_type_variable {
	width: 100% !important;
	min-height: 48px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: auto 0 8px !important;
	padding: 10px 14px !important;
	border: 0 !important;
	border-radius: 16px !important;
	background: linear-gradient(135deg, #f2ad22, #c97f00) !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 950 !important;
	line-height: 1.3 !important;
	text-decoration: none !important;
	box-shadow: 0 12px 22px rgba(184, 116, 0, .14);
}

.kbp-related ul.products li.product .button + .button,
.kbp-related ul.products li.product .kc-loop-library-button {
	margin-top: 0 !important;
	border: 1px solid #ecd7ae !important;
	background: #fffaf3 !important;
	color: var(--kc-gold-dark) !important;
	box-shadow: none !important;
}

@media (max-width: 760px) {
	body.single-product {
		overflow-x: hidden !important;
	}

	.kbp-single {
		width: calc(100vw - 24px);
		max-width: calc(100vw - 24px);
		margin-top: 22px;
		overflow: hidden;
		contain: layout paint;
	}

	.kbp-single__hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		padding: 12px;
		border-radius: 24px;
	}

	.kbp-gallery {
		padding: 10px;
		border-radius: 22px;
	}

	.kbp-gallery__stage {
		aspect-ratio: 1 / 1;
		border-radius: 18px;
	}

	.kbp-gallery__sale {
		top: 16px;
		inset-inline-start: 16px;
		min-width: 76px;
		min-height: 52px;
		font-size: 14px;
	}

	.kbp-gallery__nav {
		width: 38px;
		height: 38px;
		font-size: 27px;
	}

	.kbp-gallery__thumbs {
		justify-content: flex-start;
		gap: 8px;
		padding-inline: 4px;
	}

	.kbp-gallery__thumbs button {
		flex-basis: 60px;
		width: 60px;
		height: 60px;
		border-radius: 14px;
	}

	.kbp-summary {
		padding: 8px 2px 0;
		gap: 12px;
	}

	.kbp-summary__badges {
		justify-content: center;
	}

	.kbp-badge {
		max-width: 100%;
		font-size: 12.5px;
	}

	.kbp-summary__title {
		font-size: clamp(22px, 6vw, 30px);
		line-height: 1.62;
		text-align: center;
	}

	.kbp-buybox {
		gap: 8px;
		padding: 11px;
		border-radius: 22px;
	}

	.kbp-buybox__price {
		font-size: clamp(32px, 8.4vw, 40px);
	}

	.kbp-buybox form.cart {
		grid-template-columns: 1fr;
	}

	.kbp-actions {
		grid-template-columns: 1fr;
	}

	.kbp-card {
		padding: 14px;
		border-radius: 20px;
		font-size: 15px;
		line-height: 2.05;
	}

	.kbp-related ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px !important;
	}

	.kbp-related ul.products li.product {
		padding: 10px !important;
		border-radius: 20px;
	}

	.kbp-related ul.products li.product .woocommerce-loop-product__title {
		font-size: 15px !important;
		line-height: 1.55 !important;
	}

	.kbp-related ul.products li.product .price {
		font-size: 17px !important;
	}

	.kbp-related ul.products li.product .button,
	.kbp-related ul.products li.product .add_to_cart_button,
	.kbp-related ul.products li.product .product_type_simple,
	.kbp-related ul.products li.product .product_type_variable {
		min-height: 46px !important;
		font-size: 14.5px !important;
	}
}

/* Ketabbin v1.4.66 final checkout logo zoom override. */
body.woocommerce-checkout #payment ul.payment_methods li label img {
	width: 96px !important;
	max-width: 96px !important;
	height: 58px !important;
	max-height: 58px !important;
	padding: 0 !important;
	background: #fff !important;
	object-fit: contain !important;
	transform: scale(1.14);
	transform-origin: center;
}

body.woocommerce-checkout #payment ul.payment_methods li.payment_method_ketabbin_torobpay_cpg label img.ketabbin-torobpay-gateway-logo {
	width: 106px !important;
	max-width: 106px !important;
	height: 62px !important;
	max-height: 62px !important;
	padding: 0 !important;
	background: #fff !important;
	transform: scale(1.08);
}

/* Ketabbin v1.4.70 homepage product-card final polish. */
body.home .kc-products .kc-product-card,
body.front-page .kc-products .kc-product-card {
	display: grid !important;
	grid-template-rows: 190px minmax(0, 1fr) !important;
	height: 486px !important;
	overflow: hidden !important;
}

body.home .kc-products .kc-product-card__body,
body.front-page .kc-products .kc-product-card__body {
	min-height: 0 !important;
	padding: 12px 14px 14px !important;
	display: grid !important;
	grid-template-rows: 18px 54px 24px 48px 88px !important;
	gap: 6px !important;
	align-content: start !important;
}

body.home .kc-products .kc-product-card h3,
body.front-page .kc-products .kc-product-card h3 {
	min-height: 54px !important;
	max-height: 54px !important;
	margin: 0 !important;
	font-size: 15px !important;
	font-weight: 900 !important;
	line-height: 1.8 !important;
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

body.home .kc-products .kc-product-card__meta,
body.front-page .kc-products .kc-product-card__meta {
	align-items: center !important;
	font-size: 12.5px !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
}

body.home .kc-products .kc-product-card__price,
body.front-page .kc-products .kc-product-card__price {
	min-height: 48px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 1px !important;
	font-size: 17px !important;
	font-weight: 950 !important;
	line-height: 1.25 !important;
	color: var(--kc-ink) !important;
}

body.home .kc-products .kc-product-card__price .amount,
body.front-page .kc-products .kc-product-card__price .amount,
body.home .kc-products .kc-product-card__price del,
body.front-page .kc-products .kc-product-card__price del,
body.home .kc-products .kc-product-card__price ins,
body.front-page .kc-products .kc-product-card__price ins {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: baseline !important;
	justify-content: flex-start !important;
	gap: 3px !important;
	direction: rtl !important;
	unicode-bidi: isolate !important;
	white-space: nowrap !important;
}

body.home .kc-products .kc-product-card__price del,
body.front-page .kc-products .kc-product-card__price del {
	font-size: 13px !important;
	font-weight: 850 !important;
	line-height: 1.1 !important;
	color: var(--kc-gold-dark) !important;
	opacity: 1 !important;
}

body.home .kc-products .kc-product-card__price del .kc-price-number,
body.front-page .kc-products .kc-product-card__price del .kc-price-number {
	text-decoration: line-through !important;
	text-decoration-thickness: 2px !important;
	text-decoration-color: currentColor !important;
}

body.home .kc-products .kc-product-card__price ins,
body.front-page .kc-products .kc-product-card__price ins,
body.home .kc-products .kc-product-card__price > .woocommerce-Price-amount,
body.front-page .kc-products .kc-product-card__price > .woocommerce-Price-amount,
body.home .kc-products .kc-product-card__price > span.amount,
body.front-page .kc-products .kc-product-card__price > span.amount {
	font-size: 19px !important;
	font-weight: 950 !important;
	line-height: 1.15 !important;
	text-decoration: none !important;
}

body.home .kc-products .kc-product-card__price .kc-price-currency,
body.front-page .kc-products .kc-product-card__price .kc-price-currency {
	font-size: .68em !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
}

body.home .kc-products .kc-product-card__price ins,
body.front-page .kc-products .kc-product-card__price ins {
	color: var(--kc-red) !important;
}

.kc-product-card__price .amount,
.kc-product-card__price del,
.kc-product-card__price ins,
.kc-shop-page ul.products li.product .price .amount,
.kc-shop-page ul.products li.product .price del,
.kc-shop-page ul.products li.product .price ins,
.kbp-related ul.products li.product .price .amount,
.kbp-related ul.products li.product .price del,
.kbp-related ul.products li.product .price ins,
.kbp-buybox__price .amount,
.kbp-buybox__price del,
.kbp-buybox__price ins,
.kc-cart-item__price .amount {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: baseline !important;
	gap: 3px !important;
	direction: rtl !important;
	unicode-bidi: isolate !important;
	white-space: nowrap !important;
}

.kc-product-card__price .kc-price-currency,
.kc-shop-page ul.products li.product .price .kc-price-currency,
.kbp-related ul.products li.product .price .kc-price-currency,
.kbp-buybox__price .kc-price-currency,
.kc-cart-item__price .kc-price-currency {
	font-size: .64em !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
}

.kc-product-card__price del .kc-price-number,
.kc-shop-page ul.products li.product .price del .kc-price-number,
.kbp-related ul.products li.product .price del .kc-price-number,
.kbp-buybox__price del .kc-price-number,
.kc-cart-item__price del .kc-price-number {
	text-decoration: line-through !important;
	text-decoration-thickness: 2px !important;
	text-decoration-color: currentColor !important;
}

.kbp-buybox__price {
	align-items: flex-end !important;
	text-align: right !important;
}

.kc-cart-item__price b,
.kc-cart-item__price small {
	display: flex !important;
	justify-content: flex-end !important;
}

.kbp-tabs {
	padding: clamp(16px, 3vw, 28px) !important;
}

.kbp-tabs .woocommerce-tabs {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

.kbp-tabs .woocommerce-tabs ul.tabs {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 10px !important;
	margin: 0 0 18px !important;
	padding: 0 !important;
	border: 0 !important;
	overflow-x: auto !important;
	scrollbar-width: none;
}

.kbp-tabs .woocommerce-tabs ul.tabs::-webkit-scrollbar {
	display: none;
}

.kbp-tabs .woocommerce-tabs ul.tabs::before,
.kbp-tabs .woocommerce-tabs ul.tabs li::before,
.kbp-tabs .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}

.kbp-tabs .woocommerce-tabs ul.tabs li {
	flex: 0 0 auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #ecd7ae !important;
	border-radius: 16px !important;
	background: #fffaf0 !important;
	overflow: hidden !important;
}

.kbp-tabs .woocommerce-tabs ul.tabs li.active {
	background: var(--kc-navy) !important;
	border-color: var(--kc-navy) !important;
}

.kbp-tabs .woocommerce-tabs ul.tabs li a {
	display: block !important;
	min-width: 118px;
	padding: 12px 18px !important;
	color: var(--kc-ink) !important;
	font-size: 15px;
	font-weight: 950 !important;
	line-height: 1.6 !important;
	text-align: center;
}

.kbp-tabs .woocommerce-tabs ul.tabs li.active a {
	color: #fff !important;
}

.kbp-tabs .woocommerce-tabs .panel {
	margin: 0 !important;
	padding: 0 !important;
	color: #334155;
	font-size: clamp(15px, 2vw, 17px);
	line-height: 2.1;
	overflow-wrap: anywhere;
}

body.home .kc-products .kc-product-card__actions,
body.front-page .kc-products .kc-product-card__actions {
	height: 88px !important;
	display: grid !important;
	grid-template-rows: repeat(2, 40px) !important;
	gap: 8px !important;
	align-self: end !important;
}

body.home .kc-products .kc-product-card__actions .kc-btn,
body.front-page .kc-products .kc-product-card__actions .kc-btn {
	min-height: 40px !important;
	max-height: 40px !important;
	padding: 7px 10px !important;
	border-radius: 14px !important;
	font-size: 13.5px !important;
	font-weight: 950 !important;
	line-height: 1.35 !important;
}

body.home .kc-products .kc-product-card__actions .kc-btn svg,
body.front-page .kc-products .kc-product-card__actions .kc-btn svg {
	width: 20px !important;
	height: 20px !important;
	flex: 0 0 20px !important;
}

@media (max-width: 760px) {
	body.home .kc-products .kc-product-card,
	body.front-page .kc-products .kc-product-card {
		height: clamp(430px, 118vw, 486px) !important;
		grid-template-rows: clamp(140px, 42vw, 176px) minmax(0, 1fr) !important;
	}

	body.home .kc-products .kc-product-card__body,
	body.front-page .kc-products .kc-product-card__body {
		padding: 9px 10px 10px !important;
		grid-template-rows: 17px 54px 23px 46px 84px !important;
		gap: 6px !important;
	}

	body.home .kc-products .kc-product-card h3,
	body.front-page .kc-products .kc-product-card h3 {
		min-height: 54px !important;
		max-height: 54px !important;
		font-size: clamp(12px, 3.45vw, 14px) !important;
		line-height: 1.85 !important;
	}

	body.home .kc-products .kc-product-card__price,
	body.front-page .kc-products .kc-product-card__price {
		min-height: 46px !important;
		font-size: clamp(13px, 3.7vw, 16px) !important;
	}

	body.home .kc-products .kc-product-card__price ins,
	body.front-page .kc-products .kc-product-card__price ins,
	body.home .kc-products .kc-product-card__price > .woocommerce-Price-amount,
	body.front-page .kc-products .kc-product-card__price > .woocommerce-Price-amount,
	body.home .kc-products .kc-product-card__price > span.amount,
	body.front-page .kc-products .kc-product-card__price > span.amount {
		font-size: clamp(15px, 4.2vw, 18px) !important;
	}

	body.home .kc-products .kc-product-card__actions,
	body.front-page .kc-products .kc-product-card__actions {
		height: 84px !important;
		grid-template-rows: repeat(2, 38px) !important;
	}

	body.home .kc-products .kc-product-card__actions .kc-btn,
	body.front-page .kc-products .kc-product-card__actions .kc-btn {
		min-height: 38px !important;
		max-height: 38px !important;
		font-size: clamp(10px, 2.8vw, 12.5px) !important;
	}
}

/* Ketabbin v1.4.74 final commerce override: intentionally last. */
.kc-product-card,
.kc-shop-page ul.products li.product,
.kbp-related ul.products li.product {
	contain: layout paint;
	overflow: hidden !important;
}

.kc-product-card h3,
.kc-shop-page ul.products li.product .woocommerce-loop-product__title,
.kbp-related ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	min-height: 3.8em !important;
	max-height: 3.8em !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	font-weight: 950 !important;
}

.kc-shop-page ul.products li.product .price,
.kbp-related ul.products li.product .price,
.kc-product-card__price {
	min-height: 50px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 2px !important;
	font-weight: 950 !important;
	direction: rtl !important;
}

.kc-shop-page ul.products li.product .price ins,
.kbp-related ul.products li.product .price ins,
.kc-product-card__price ins {
	color: var(--kc-red) !important;
	text-decoration: none !important;
}

.kc-shop-page ul.products li.product .price del,
.kbp-related ul.products li.product .price del,
.kc-product-card__price del {
	color: var(--kc-gold-dark) !important;
	font-size: .78em !important;
	opacity: .9 !important;
}

.kc-shop-page ul.products li.product .button,
.kc-shop-page ul.products li.product .kc-loop-library-button,
.kbp-related ul.products li.product .button,
.kbp-related ul.products li.product .kc-loop-library-button {
	border-radius: 14px !important;
	font-weight: 950 !important;
}

.kbp-summary__title {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 3 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

.kbp-buybox {
	gap: 8px !important;
}

.kbp-buybox__price {
	font-size: clamp(32px, 4vw, 46px) !important;
}

.kbp-buybox form.cart .single_add_to_cart_button {
	font-size: clamp(16px, 2vw, 19px) !important;
	font-weight: 950 !important;
}

.kbp-qty button,
.kbp-qty__value {
	font-size: clamp(18px, 2.4vw, 24px) !important;
	font-weight: 950 !important;
}

body.woocommerce-checkout .ketabbin-price,
body.woocommerce-checkout .ketabbin-price__number,
body.woocommerce-checkout .ketabbin-price__currency {
	display: inline-flex;
	align-items: baseline;
	gap: 3px;
	direction: rtl;
	unicode-bidi: isolate;
	font-weight: 950;
}

body.woocommerce-checkout .ketabbin-price__currency {
	font-size: .68em;
}

body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout form.checkout {
	max-width: 1120px !important;
}

body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout #payment {
	box-shadow: 0 18px 45px rgba(12, 35, 64, .06) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.woocommerce-checkout #payment ul.payment_methods li:has(input.input-radio:checked) {
	transform: translateY(-1px);
	box-shadow: 0 18px 38px rgba(196, 122, 0, .14) !important;
}

@media (min-width: 900px) {
	.kc-footer .kc-footer__inner {
		display: grid !important;
		grid-template-columns: minmax(0, 1.2fr) minmax(220px, .7fr) minmax(160px, .35fr) !important;
		align-items: stretch !important;
		gap: 18px !important;
	}

	.kc-footer .kc-footer-brand,
	.kc-footer .kc-footer-links,
	.kc-footer .kc-footer-trusts {
		height: 100% !important;
	}

	.kc-footer .kc-footer-contact {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}

	.kc-footer .kc-footer-contact__card--wide {
		grid-column: 1 / -1 !important;
	}

	.kc-footer .kc-footer-links nav {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 8px !important;
	}
}

/* Ketabbin v1.4.79 polish: product cards, search and checkout clarity. */
.kc-search-suggestions,
.kc-mobile-search-panel {
	max-width: min(100vw - 28px, 620px) !important;
	overflow: hidden !important;
}

.kc-search-suggestion {
	min-width: 0 !important;
}

.kc-search-suggestion__title {
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

body.home .kc-products,
body.front-page .kc-products,
.kc-shop-page ul.products,
.kbp-related ul.products {
	align-items: stretch !important;
}

body.home .kc-products .kc-product-card__price,
body.front-page .kc-products .kc-product-card__price,
.kc-shop-page ul.products li.product .price,
.kbp-related ul.products li.product .price {
	letter-spacing: 0 !important;
}

.kc-price-number,
.kc-price-currency,
.woocommerce-Price-amount .kc-price-number,
.woocommerce-Price-amount .kc-price-currency {
	font-variant-numeric: tabular-nums !important;
	letter-spacing: 0 !important;
}

.kc-price-currency {
	margin-inline-start: 4px !important;
	font-size: .66em !important;
	font-weight: 950 !important;
	color: currentColor !important;
}

.kc-product-card__price ins .kc-price-number,
.kc-shop-page ul.products li.product .price ins .kc-price-number,
.kbp-related ul.products li.product .price ins .kc-price-number {
	background-image: linear-gradient(180deg, transparent 60%, rgba(255, 199, 44, .34) 0) !important;
	background-size: 100% 100% !important;
}

.kc-shop-page ul.products li.product .button,
.kbp-related ul.products li.product .button,
.kbp-related ul.products li.product .add_to_cart_button,
.kbp-related ul.products li.product .product_type_simple {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 44px !important;
	margin-top: 10px !important;
	border: 0 !important;
	border-radius: 15px !important;
	background: linear-gradient(135deg, var(--kc-gold), var(--kc-gold-dark)) !important;
	color: #fff !important;
	box-shadow: 0 16px 30px rgba(209, 139, 0, .22) !important;
	font-size: 15px !important;
	font-weight: 950 !important;
	text-decoration: none !important;
}

.kbp-related ul.products li.product .kc-loop-library-button,
.kc-shop-page ul.products li.product .kc-loop-library-button {
	background: #fffaf0 !important;
	color: var(--kc-gold-dark) !important;
	border: 1px solid rgba(193, 146, 55, .42) !important;
	box-shadow: none !important;
}

.kbp-summary__title {
	-webkit-line-clamp: 4 !important;
	max-height: none !important;
}

.kbp-buybox {
	padding-block: clamp(16px, 3vw, 24px) !important;
}

.kbp-buybox__stock,
.kbp-summary__meta,
.kbp-buybox__installment {
	font-weight: 850 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li img {
	width: 74px !important;
	height: 54px !important;
	object-fit: contain !important;
	background: #fff !important;
	padding: 5px !important;
}

body.woocommerce-checkout #payment ul.payment_methods li.payment_method_ketabbin_torobpay img {
	width: 68px !important;
	height: 50px !important;
}

.kc-shop-seo-panel {
	margin: clamp(22px, 5vw, 44px) auto 0 !important;
	padding: clamp(18px, 4vw, 30px) !important;
	border: 1px solid rgba(198, 154, 65, .26) !important;
	border-radius: 24px !important;
	background: linear-gradient(135deg, #fff 0%, #fffaf1 100%) !important;
	box-shadow: 0 18px 45px rgba(12, 35, 64, .055) !important;
	color: var(--kc-ink) !important;
	overflow: hidden !important;
}

.kc-shop-seo-panel h2 {
	margin: 0 0 10px !important;
	font-size: clamp(22px, 3vw, 32px) !important;
	line-height: 1.6 !important;
	font-weight: 950 !important;
}

.kc-shop-seo-panel p {
	margin: 0 !important;
	color: var(--kc-muted) !important;
	font-size: clamp(14px, 1.6vw, 16px) !important;
	line-height: 2.2 !important;
}

.kc-shop-seo-panel div {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	margin-top: 16px !important;
}

.kc-shop-seo-panel a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 38px !important;
	padding: 8px 14px !important;
	border: 1px solid rgba(198, 154, 65, .34) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--kc-gold-dark) !important;
	font-weight: 900 !important;
	text-decoration: none !important;
}

@media (max-width: 760px) {
	.kbp-page,
	.kbp-single,
	.kbp-card,
	.kbp-description,
	.kbp-tabs,
	.kbp-related,
	.kc-shop-page,
	.kc-shop-page ul.products li.product,
	.kc-product-card {
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.kbp-summary__title {
		-webkit-line-clamp: 4 !important;
		font-size: clamp(25px, 7vw, 34px) !important;
		line-height: 1.7 !important;
	}

	.kbp-buybox__price {
		font-size: clamp(34px, 8.6vw, 42px) !important;
		line-height: 1.15 !important;
	}

	.kbp-buybox form.cart .single_add_to_cart_button {
		min-height: 56px !important;
		font-size: clamp(17px, 4.5vw, 20px) !important;
	}
}

/* Ketabbin v1.4.80 final polish: mobile stability, filters, cart and checkout. */
html,
body {
	overflow-x: hidden !important;
}

.kc-header {
	position: sticky !important;
	top: 0 !important;
	z-index: 1000 !important;
	backdrop-filter: saturate(140%) blur(12px);
}

.admin-bar .kc-header {
	top: 32px !important;
}

.kc-header__inner,
.kc-mobile-nav,
.kc-product-card,
.kc-shop-page ul.products li.product,
.kbp-single,
.kbp-single__hero,
.kc-cart-item {
	min-width: 0 !important;
}

.kc-product-card__badge,
.kc-shop-page span.onsale,
.kbp-related ul.products li.product .onsale,
.kbp-gallery__sale {
	width: auto !important;
	min-width: 0 !important;
	max-width: calc(100% - 18px) !important;
	min-height: 0 !important;
	padding: 5px 9px !important;
	border-radius: 999px !important;
	font-size: 11px !important;
	line-height: 1.4 !important;
	white-space: nowrap !important;
	box-shadow: 0 10px 22px rgba(220, 38, 38, .18) !important;
}

.kc-product-card__actions,
.kbp-actions,
.kbp-buybox form.cart {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 10px !important;
	width: 100% !important;
}

.kc-product-card__actions .kc-btn,
.kbp-actions .kc-btn,
.kbp-buybox form.cart .single_add_to_cart_button {
	width: 100% !important;
	max-width: 100% !important;
	white-space: normal !important;
	text-align: center !important;
	overflow-wrap: anywhere !important;
}

.kbp-specs-wrap .kc-single-book-specs,
.kc-product-features-tab .kc-single-book-specs {
	background: #fff !important;
	border: 1px solid rgba(15, 23, 42, .10) !important;
	border-radius: 18px !important;
	padding: clamp(14px, 3vw, 20px) !important;
	box-shadow: 0 16px 34px rgba(15, 23, 42, .055) !important;
}

.kbp-specs-wrap .kc-single-book-specs > div,
.kc-product-features-tab .kc-single-book-specs > div {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 8px !important;
}

.kbp-specs-wrap .kc-single-book-specs p,
.kc-product-features-tab .kc-single-book-specs p {
	display: grid !important;
	grid-template-columns: minmax(95px, .34fr) minmax(0, 1fr) !important;
	gap: 10px !important;
	align-items: start !important;
	margin: 0 !important;
	padding: 11px 12px !important;
	border: 1px solid rgba(15, 23, 42, .08) !important;
	border-radius: 12px !important;
	background: #fafafa !important;
}

.kbp-specs-wrap .kc-single-book-specs span,
.kc-product-features-tab .kc-single-book-specs span {
	color: var(--kc-muted) !important;
	font-weight: 800 !important;
}

.kbp-specs-wrap .kc-single-book-specs b,
.kc-product-features-tab .kc-single-book-specs b {
	min-width: 0 !important;
	color: var(--kc-ink) !important;
	font-weight: 950 !important;
	line-height: 1.9 !important;
	overflow-wrap: anywhere !important;
}

.kc-shop-filters {
	position: sticky !important;
	top: 88px !important;
	z-index: 20 !important;
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) auto !important;
	align-items: end !important;
	gap: 10px !important;
}

.admin-bar .kc-shop-filters {
	top: 120px !important;
}

.kc-shop-filters input[type="number"],
.kc-shop-filters select {
	width: 100% !important;
	min-height: 44px !important;
	border-radius: 12px !important;
}

.kc-shop-filters__check {
	min-height: 44px !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	border: 1px solid rgba(15, 23, 42, .10) !important;
	border-radius: 12px !important;
	background: #fff !important;
	padding: 8px 10px !important;
}

.kc-cart-item__quantity {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 7px 10px !important;
	border: 1px solid rgba(15, 23, 42, .10) !important;
	border-radius: 14px !important;
	background: #fff !important;
}

.kc-cart-item__quantity span {
	color: var(--kc-muted) !important;
	font-weight: 850 !important;
}

.kc-cart-item__quantity .quantity {
	display: flex !important;
	align-items: center !important;
	margin: 0 !important;
}

.kc-cart-item__quantity input.qty {
	width: 70px !important;
	height: 38px !important;
	border: 1px solid rgba(15, 23, 42, .14) !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: var(--kc-ink) !important;
	text-align: center !important;
	box-shadow: none !important;
}

.kc-cart-update {
	width: 100% !important;
	min-height: 46px !important;
	margin-top: 14px !important;
	border-radius: 14px !important;
	background: var(--kc-ink) !important;
	color: #fff !important;
	font-weight: 950 !important;
}

body.woocommerce-checkout abbr.required,
body.woocommerce-checkout .required {
	color: #dc2626 !important;
	text-decoration: none !important;
}

body.woocommerce-checkout input,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea {
	max-width: 100% !important;
	border-radius: 12px !important;
}

@media (max-width: 900px) {
	.admin-bar .kc-header,
	.admin-bar .kc-shop-filters {
		top: 0 !important;
	}

	.kc-shop-filters {
		position: relative !important;
		top: auto !important;
		grid-template-columns: 1fr 1fr !important;
		padding: 12px !important;
		border-radius: 18px !important;
	}

	.kc-shop-filters button {
		grid-column: 1 / -1 !important;
		width: 100% !important;
	}
}

@media (max-width: 640px) {
	.kc-shop-filters {
		grid-template-columns: 1fr !important;
	}

	.kbp-summary__title {
		font-size: 24px !important;
		line-height: 1.65 !important;
	}

	.kbp-buybox__price {
		font-size: 30px !important;
		overflow-wrap: anywhere !important;
	}

	.kbp-specs-wrap .kc-single-book-specs p,
	.kc-product-features-tab .kc-single-book-specs p {
		grid-template-columns: 1fr !important;
	}

	.kc-cart-item {
		grid-template-columns: 76px minmax(0, 1fr) !important;
	}

	.kc-cart-item__price {
		grid-column: 1 / -1 !important;
		width: 100% !important;
	}

	.kc-cart-item__controls,
	.kc-cart-item__quantity {
		width: 100% !important;
	}
}

/* Ketabbin v1.4.81 checkout payment logo and terms clarity. */
body.woocommerce-checkout #payment ul.payment_methods li label {
	overflow: hidden !important;
}

body.woocommerce-checkout #payment ul.payment_methods li label img,
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_ketabbin_torobpay_cpg label img,
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_ketabbin_torobpay label img,
body.woocommerce-checkout #payment ul.payment_methods li label img.ketabbin-torobpay-gateway-logo {
	max-width: 58px !important;
	width: 58px !important;
	height: 42px !important;
	object-fit: contain !important;
	padding: 4px !important;
	margin: 0 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li.payment_method_ketabbin_torobpay_cpg label img.ketabbin-torobpay-gateway-logo,
body.woocommerce-checkout #payment ul.payment_methods li.payment_method_ketabbin_torobpay label img.ketabbin-torobpay-gateway-logo {
	max-width: 52px !important;
	width: 52px !important;
	height: 38px !important;
}

body.woocommerce-checkout .ketabbin-checkout-terms {
	align-items: flex-start !important;
	line-height: 2 !important;
}

body.woocommerce-checkout .ketabbin-checkout-terms a {
	color: var(--kc-gold-dark) !important;
	font-weight: 950 !important;
	text-decoration: underline !important;
	text-underline-offset: 4px !important;
}

/* Ketabbin v1.4.82: commerce tools, richer product guidance and tracking. */
.kbp-reading-guide {
	width: min(1180px, calc(100% - 32px));
	margin: 18px auto;
	padding: 20px;
	border: 1px solid rgba(202, 164, 82, .28);
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,248,230,.9));
	box-shadow: 0 18px 44px rgba(9, 31, 58, .08);
}

.kbp-reading-guide header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.kbp-reading-guide header span {
	color: var(--kc-gold-dark);
	font-weight: 900;
}

.kbp-reading-guide h2,
.kbp-reading-guide h3 {
	margin: 0;
	color: var(--kc-navy);
}

.kbp-reading-guide > div {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.kbp-reading-guide article {
	min-height: 150px;
	padding: 16px;
	border: 1px solid rgba(12, 32, 58, .08);
	border-radius: 14px;
	background: #fff;
}

.kbp-reading-guide p {
	margin: 10px 0 0;
	color: #44546a;
	line-height: 2;
	font-weight: 650;
}

.kbp-badge--reviews {
	text-decoration: none;
	color: inherit;
}

.single-product #reviews,
.single-product .woocommerce-Reviews {
	scroll-margin-top: 92px;
}

.single-product #reviews .commentlist,
.single-product #reviews .comment-form {
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(12, 32, 58, .08);
	padding: 14px;
}

.ketabbin-checkout-trust-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 16px 0;
}

.ketabbin-checkout-trust-grid__item {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 10px 42px 10px 12px;
	border-radius: 14px;
	background: #f8fbff;
	border: 1px solid rgba(7, 24, 45, .08);
	color: var(--kc-navy);
	font-weight: 850;
	line-height: 1.8;
}

.ketabbin-checkout-trust-grid__item::before {
	content: "";
	position: absolute;
	right: 14px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #20a464;
	box-shadow: 0 0 0 7px rgba(32, 164, 100, .12);
}

.ketabbin-checkout-trust-note {
	margin: 10px 0 18px;
	padding: 10px 12px;
	border-radius: 14px;
	background: rgba(255, 248, 232, .74);
	color: #526174;
	font-size: .9rem;
	line-height: 1.9;
}

.ketabbin-checkout-trust-note a {
	color: #b77a10;
	font-weight: 850;
	text-decoration: none;
}

.ketabbin-tracking-form {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto !important;
}

.ketabbin-tracking-result article {
	display: grid;
	gap: 8px;
}

.ketabbin-tracking-result article span {
	display: block;
	padding: 8px 10px;
	border-radius: 10px;
	background: rgba(7, 24, 45, .04);
	color: #26384f;
}

.kc-tracking-invoice {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--kc-navy);
	color: #fff !important;
	text-decoration: none;
	font-weight: 900;
}

@media (max-width: 900px) {
	.kbp-reading-guide > div,
	.ketabbin-checkout-trust-grid,
	.ketabbin-tracking-form {
		grid-template-columns: 1fr !important;
	}

	.kbp-reading-guide {
		width: min(100% - 22px, 680px);
		padding: 14px;
	}
}

/* Ketabbin v1.4.86: mobile stability, horizontal trust badges and dense checkout/search guards. */
.kc-search-suggestions a small {
	grid-column: 2;
	display: block;
	margin-top: 3px;
	color: #64748b;
	font-size: 12px;
	line-height: 1.7;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.woocommerce-checkout #payment,
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.woocommerce-cart .woocommerce-cart-form,
body.single-product .kbp-single {
	max-width: 100%;
	overflow-wrap: anywhere;
}

body.woocommerce-checkout #payment ul.payment_methods li,
body.woocommerce-checkout #payment ul.payment_methods li label {
	min-width: 0 !important;
}

body.woocommerce-checkout .ketabbin-checkout-trust-grid__item,
.ketabbin-tracking-result article span {
	word-break: break-word;
}

.kc-footer-trusts__title {
	display: block;
	width: 100%;
	margin-bottom: 10px;
	color: #07182d;
	font-size: 14px;
	font-weight: 950;
}

.kc-payment-trusts {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 8px;
	width: 100%;
	margin-top: 10px;
}

.kc-payment-trust {
	display: grid;
	grid-template-columns: 38px minmax(0,1fr);
	align-items: center;
	gap: 8px;
	min-height: 58px;
	padding: 8px;
	border: 1px solid rgba(12,35,64,.12);
	border-radius: 14px;
	background: #fff;
	color: #07182d;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(12,35,64,.06);
}

.kc-payment-trust__mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: #07182d;
	color: #f7c75f;
	font-weight: 950;
	font-size: 18px;
}

.kc-payment-trust__mark--logo {
	padding: 0;
	background: #f5f3ff;
	overflow: hidden;
}

.kc-payment-trust__mark--logo img {
	display: block;
	width: 38px;
	height: 38px;
	object-fit: contain;
}

.kc-payment-trust b,
.kc-payment-trust small {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kc-payment-trust b {
	font-size: 12px;
	font-weight: 950;
}

.kc-payment-trust small {
	color: #64748b;
	font-size: 10px;
	font-weight: 800;
}

.kc-payment-trust--zibal .kc-payment-trust__mark {
	background: #eef2ff;
	color: #1d4ed8;
}

.kc-payment-trust--aghaye .kc-payment-trust__mark {
	background: #f5f3ff;
	color: #4c1d95;
}

.kc-payment-trust--torob .kc-payment-trust__mark {
	background: #fff1f2;
	color: #e11d48;
}

.kc-magazine-empty {
	display: grid;
	gap: 12px;
	padding: 22px;
	border: 1px solid rgba(12,35,64,.1);
	border-radius: 18px;
	background: #fff8eb;
}

.kc-magazine-empty h2,
.kc-magazine-empty p {
	margin: 0;
}

.kc-magazine-empty div {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

@media (max-width: 782px) {
	html,
	body {
		overflow-x: hidden;
	}

	.kc-shell,
	.kbp-single__hero,
	.kbp-card,
	.kbp-specs-wrap,
	.kc-products,
	.kc-mobile-banners,
	.kc-shortcuts {
		max-width: 100%;
	}

	.kc-search-suggestions {
		left: 10px !important;
		right: 10px !important;
		width: auto !important;
		max-height: min(70vh, 520px);
		overflow: auto;
	}

	.kc-search-suggestions a {
		grid-template-columns: 48px minmax(0, 1fr) !important;
	}

	.kbp-summary__title,
	.kc-product-card h3,
	.kc-mobile-banner h2,
	.kc-hero h2 {
		overflow-wrap: anywhere;
	}

	body.woocommerce-checkout .woocommerce form .form-row input.input-text,
	body.woocommerce-checkout .woocommerce form .form-row textarea,
	body.woocommerce-cart .quantity input.qty {
		font-size: 16px !important;
	}

	.kc-payment-trusts {
		grid-template-columns: repeat(3,minmax(0,1fr));
	}
}

/* Compact two-column footer trust badges. */
.kc-footer .kc-footer-trusts {
	display: grid !important;
	grid-template-columns: repeat(2,minmax(0,1fr)) !important;
	align-items: stretch !important;
	gap: 9px !important;
	width: 100% !important;
}

.kc-footer .kc-footer-trusts__title {
	grid-column: 1 / -1;
	margin: 0 0 4px;
	text-align: center;
}

.kc-footer .kc-payment-trusts {
	display: contents !important;
}

.kc-footer .kc-enamad__preview,
.kc-footer .kc-footer-badge,
.kc-footer .kc-payment-trust {
	width: auto !important;
	min-width: 0 !important;
	min-height: 96px !important;
	max-height: 108px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	padding: 9px 7px !important;
	border-radius: 14px !important;
	text-align: center !important;
	overflow: hidden !important;
}

.kc-footer .kc-payment-trust__mark,
.kc-footer .kc-payment-trust__mark--logo {
	width: 54px !important;
	height: 54px !important;
	max-width: 92px !important;
	max-height: 54px !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	flex: 0 0 auto !important;
	overflow: visible !important;
	box-shadow: none !important;
}

.kc-footer .kc-payment-trust__mark--logo img,
.kc-footer .kc-enamad__preview img,
.kc-footer .kc-footer-badge img {
	width: 54px !important;
	height: 54px !important;
	max-width: 92px !important;
	max-height: 54px !important;
	border-radius: 0 !important;
	background: #fff !important;
	object-fit: contain !important;
	flex: 0 0 auto !important;
}

.kc-footer .kc-payment-trust--zibal .kc-payment-trust__mark {
	width: 76px !important;
}

.kc-footer .kc-payment-trust--snapppay .kc-payment-trust__mark {
	width: 78px !important;
}

.kc-footer .kc-payment-trust b,
.kc-footer .kc-payment-trust small,
.kc-footer .kc-footer-badge small,
.kc-footer .kc-enamad__preview small {
	max-width: 100% !important;
	margin: 0 !important;
	font-size: 11px !important;
	line-height: 1.45 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

.kc-footer .kc-payment-trust small {
	display: none !important;
}

@media (max-width: 390px) {
	.kc-footer .kc-footer-trusts {
		gap: 7px !important;
	}

	.kc-footer .kc-enamad__preview,
	.kc-footer .kc-footer-badge,
	.kc-footer .kc-payment-trust {
		min-height: 90px !important;
		padding: 8px 5px !important;
	}

	.kc-footer .kc-payment-trust__mark,
	.kc-footer .kc-payment-trust__mark--logo,
	.kc-footer .kc-payment-trust__mark--logo img,
	.kc-footer .kc-enamad__preview img,
	.kc-footer .kc-footer-badge img {
		width: 46px !important;
		height: 46px !important;
		max-width: 78px !important;
		max-height: 46px !important;
		border-radius: 0 !important;
	}

	.kc-footer .kc-payment-trust--zibal .kc-payment-trust__mark {
		width: 68px !important;
		max-width: 68px !important;
	}

	.kc-footer .kc-payment-trust--snapppay .kc-payment-trust__mark {
		width: 68px !important;
		max-width: 68px !important;
	}

	.kc-footer .kc-payment-trust b,
	.kc-footer .kc-footer-badge small,
	.kc-footer .kc-enamad__preview small {
		font-size: 9px !important;
	}
}

/* Ketabbin v1.4.95 final product-page override. Keep this block at the end. */
body.single-product {
	background: #f7f8fb !important;
	padding-bottom: 108px !important;
}

body.single-product .kc-mobile-nav {
	right: 50% !important;
	left: auto !important;
	bottom: max(18px, env(safe-area-inset-bottom)) !important;
	width: min(760px, calc(100vw - 44px)) !important;
	min-height: 62px !important;
	gap: 4px !important;
	padding: 7px !important;
	border-radius: 22px !important;
	background: rgba(255, 255, 255, .9) !important;
	box-shadow: 0 18px 42px rgba(7, 24, 45, .16) !important;
	transform: translateX(50%) !important;
}

body.single-product .kc-mobile-nav a,
body.single-product .kc-mobile-nav button {
	min-height: 48px !important;
	padding: 6px 4px !important;
	border-radius: 16px !important;
	font-size: 11px !important;
	font-weight: 850 !important;
}

body.single-product .kc-mobile-nav .is-current {
	background: linear-gradient(180deg, #fff6df, #f1e3ca) !important;
	color: var(--kc-gold-dark) !important;
}

body.single-product .kbp-single {
	width: min(1140px, calc(100% - 28px)) !important;
	margin-top: 26px !important;
	margin-bottom: 122px !important;
	contain: none !important;
}

body.single-product .kbp-single__hero {
	grid-template-columns: minmax(430px, .98fr) minmax(360px, .82fr) !important;
	gap: 18px !important;
	padding: 18px !important;
	border-radius: 24px !important;
	background: #fff !important;
	box-shadow: 0 20px 50px rgba(7, 24, 45, .075) !important;
}

body.single-product .kbp-gallery__stage {
	aspect-ratio: 4 / 3 !important;
	min-height: 430px !important;
}

body.single-product .kbp-gallery__thumbs button {
	flex-basis: 58px !important;
	width: 58px !important;
	height: 58px !important;
}

body.single-product .kbp-summary__title {
	display: block !important;
	font-size: clamp(25px, 2.45vw, 34px) !important;
	line-height: 1.52 !important;
	-webkit-line-clamp: unset !important;
	max-height: none !important;
	overflow: visible !important;
}

body.single-product .kbp-buybox {
	padding: 14px !important;
	border-radius: 20px !important;
	background: linear-gradient(180deg, #fff9ee, #fff4dc) !important;
	box-shadow: 0 14px 34px rgba(198, 124, 0, .10) !important;
}

body.single-product .kbp-buybox__price {
	font-size: clamp(30px, 3.4vw, 42px) !important;
	line-height: 1.18 !important;
}

body.single-product .kbp-buybox form.cart {
	grid-template-columns: 132px minmax(0, 1fr) !important;
}

body.single-product .kbp-buybox form.cart .single_add_to_cart_button,
body.single-product .kbp-qty,
body.single-product .kbp-qty button,
body.single-product .kbp-qty__value {
	min-height: 46px !important;
	height: 46px !important;
}

body.single-product .kbp-reading-guide {
	width: min(1140px, calc(100% - 28px)) !important;
	padding: 16px !important;
	border-radius: 20px !important;
	background: #fff !important;
}

body.single-product .kbp-reading-guide > div {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.single-product .kbp-reading-guide article {
	min-height: 118px !important;
	padding: 14px !important;
	background: #fbfcfe !important;
}

body.single-product .woocommerce-tabs ul.tabs {
	display: none !important;
}

body.single-product .woocommerce-tabs .panel {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.single-product .kbp-related ul.products li.product {
	min-height: 0 !important;
	padding: 10px !important;
	border-radius: 18px !important;
}

body.single-product .kbp-related ul.products li.product img {
	aspect-ratio: 4 / 3 !important;
	max-height: 168px !important;
}

body.single-product .kbp-related ul.products li.product .woocommerce-loop-product__title {
	min-height: 0 !important;
	font-size: 14px !important;
	line-height: 1.55 !important;
}

body.single-product .kbp-related ul.products li.product .price {
	min-height: 0 !important;
	font-size: 15px !important;
}

@media (max-width: 980px) {
	body.single-product .kbp-single__hero,
	body.single-product .kbp-reading-guide > div {
		grid-template-columns: 1fr !important;
	}

	body.single-product .kbp-gallery__stage {
		min-height: 0 !important;
		aspect-ratio: 1 / 1 !important;
	}
}

@media (max-width: 640px) {
	body.single-product .kc-mobile-nav {
		right: 12px !important;
		left: 12px !important;
		width: auto !important;
		min-height: 72px !important;
		transform: none !important;
	}

	body.single-product .kbp-buybox form.cart,
	body.single-product .kbp-actions,
	body.single-product .kbp-related ul.products {
		grid-template-columns: 1fr !important;
	}

	body.single-product .kbp-summary__title {
		font-size: 23px !important;
		line-height: 1.65 !important;
		text-align: center !important;
	}
}

/* Ketabbin v1.4.97: professional cart checkout experience. */
body.woocommerce-cart {
	background:
		radial-gradient(circle at 50% 0, rgba(255, 246, 222, .74), transparent 35%),
		linear-gradient(180deg, #fffdfa 0%, #f7f8fb 100%) !important;
	color: var(--kc-navy) !important;
}

body.woocommerce-cart .woocommerce {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr) !important;
	gap: 18px !important;
	align-items: start !important;
	width: min(1120px, calc(100% - 28px)) !important;
	margin: 18px auto 132px !important;
}

body.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce > .woocommerce-message,
body.woocommerce-cart .woocommerce > .woocommerce-error,
body.woocommerce-cart .woocommerce > .woocommerce-info {
	grid-column: 1 / -1 !important;
}

body.woocommerce-cart .woocommerce-cart-form.kc-cart,
body.woocommerce-cart .kc-cart-summary-wrap {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.woocommerce-cart .kc-cart-panel,
body.woocommerce-cart .kc-cart-summary-wrap .cart_totals {
	overflow: visible !important;
	border: 1px solid rgba(212, 170, 87, .36) !important;
	border-radius: 28px !important;
	background: rgba(255, 255, 255, .96) !important;
	box-shadow: 0 24px 60px rgba(5, 24, 44, .08) !important;
}

body.woocommerce-cart .kc-cart-panel {
	padding: 20px !important;
}

body.woocommerce-cart .kc-cart-heading {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 14px !important;
	margin-bottom: 12px !important;
}

body.woocommerce-cart .kc-cart-heading span,
body.woocommerce-cart .kc-cart-order-snapshot header span {
	color: #c78916 !important;
	font-size: 13px !important;
	font-weight: 900 !important;
}

body.woocommerce-cart .kc-cart-heading h2 {
	margin: 4px 0 0 !important;
	color: var(--kc-navy) !important;
	font-size: clamp(28px, 4vw, 42px) !important;
	line-height: 1.25 !important;
}

body.woocommerce-cart .kc-cart-heading b {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 72px !important;
	height: 54px !important;
	padding: 0 16px !important;
	border: 1px solid rgba(212, 170, 87, .34) !important;
	border-radius: 999px !important;
	background: #fff8e8 !important;
	color: #9b6810 !important;
	font-size: 16px !important;
	white-space: nowrap !important;
}

body.woocommerce-cart .kc-cart-trust {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 8px !important;
	margin: 0 0 14px !important;
}

body.woocommerce-cart .kc-cart-trust span {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 38px !important;
	padding: 8px 10px !important;
	border-radius: 14px !important;
	background: #f8fbff !important;
	color: #526171 !important;
	font-size: 12px !important;
	font-weight: 850 !important;
	text-align: center !important;
}

body.woocommerce-cart .kc-cart-items {
	display: grid !important;
	gap: 12px !important;
}

body.woocommerce-cart .kc-cart-item {
	display: grid !important;
	grid-template-columns: 112px minmax(0, 1fr) minmax(154px, .24fr) !important;
	gap: 14px !important;
	align-items: center !important;
	padding: 14px !important;
	border: 1px solid rgba(8, 31, 55, .08) !important;
	border-radius: 22px !important;
	background: #fff !important;
	box-shadow: 0 14px 34px rgba(7, 24, 45, .055) !important;
}

body.woocommerce-cart .kc-cart-item__thumb {
	width: 112px !important;
	height: 142px !important;
	border-radius: 18px !important;
	background: linear-gradient(180deg, #fffaf1, #f7f8fb) !important;
}

body.woocommerce-cart .kc-cart-item__thumb img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	padding: 8px !important;
	border-radius: inherit !important;
}

body.woocommerce-cart .kc-cart-item__title a,
body.woocommerce-cart .kc-cart-item__title strong {
	display: block !important;
	color: var(--kc-navy) !important;
	font-size: 18px !important;
	font-weight: 950 !important;
	line-height: 1.75 !important;
}

body.woocommerce-cart .kc-cart-item__meta {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px !important;
	margin-top: 8px !important;
}

body.woocommerce-cart .kc-cart-item__meta span {
	padding: 7px 12px !important;
	border-radius: 999px !important;
	background: #eafff5 !important;
	color: #15845f !important;
	font-size: 12px !important;
	font-weight: 900 !important;
}

body.woocommerce-cart .kc-cart-item__meta small {
	padding: 7px 12px !important;
	border-radius: 999px !important;
	background: #f7f8fb !important;
	color: #6b7684 !important;
	font-size: 12px !important;
	font-weight: 800 !important;
}

body.woocommerce-cart .kc-cart-item__controls {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 10px !important;
	margin-top: 14px !important;
}

body.woocommerce-cart .kc-cart-item__quantity {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0 !important;
	min-width: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

body.woocommerce-cart .kc-cart-item__quantity span {
	color: #526171 !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	white-space: nowrap !important;
}

body.woocommerce-cart .kc-cart-item__quantity .quantity,
body.woocommerce-cart .kc-cart-item__quantity .kc-quantity-control {
	display: none !important;
}

body.woocommerce-cart .kc-cart-item__quantity input.qty {
	display: none !important;
}

body.woocommerce-cart .kc-cart-item__remove {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 44px !important;
	padding: 0 18px !important;
	border: 1px solid rgba(231, 76, 111, .18) !important;
	border-radius: 16px !important;
	background: #fff6f8 !important;
	color: #d93463 !important;
	font-size: 13px !important;
	font-weight: 900 !important;
	text-decoration: none !important;
}

body.woocommerce-cart .kc-cart-item__price {
	display: grid !important;
	gap: 7px !important;
	justify-items: start !important;
	align-self: stretch !important;
	padding: 14px !important;
	border-radius: 18px !important;
	background: linear-gradient(180deg, #fff9ed, #fff) !important;
	border: 1px solid rgba(212, 170, 87, .26) !important;
}

body.woocommerce-cart .kc-cart-item__price span {
	color: #9b6810 !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	white-space: nowrap !important;
}

body.woocommerce-cart .kc-cart-item__price b {
	color: var(--kc-navy) !important;
	font-size: 18px !important;
	font-weight: 950 !important;
	white-space: nowrap !important;
}

body.woocommerce-cart .kc-cart-item__price small {
	color: #6b7684 !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	line-height: 1.7 !important;
}

body.woocommerce-cart .kc-cart-order-snapshot {
	margin-top: 16px !important;
	padding: 16px !important;
	border: 1px solid rgba(212, 170, 87, .34) !important;
	border-radius: 22px !important;
	background: linear-gradient(180deg, #fffaf0, #fff) !important;
}

body.woocommerce-cart .kc-cart-order-snapshot header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	margin-bottom: 12px !important;
}

body.woocommerce-cart .kc-cart-order-snapshot header strong {
	color: #526171 !important;
	font-size: 12px !important;
	font-weight: 850 !important;
}

body.woocommerce-cart .kc-cart-order-snapshot dl,
body.woocommerce-cart .kc-cart-order-snapshot dd {
	margin: 0 !important;
}

body.woocommerce-cart .kc-cart-order-snapshot dl {
	display: grid !important;
	gap: 8px !important;
}

body.woocommerce-cart .kc-cart-order-snapshot dl > div {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	padding: 10px 0 !important;
	border-bottom: 1px dashed rgba(8, 31, 55, .12) !important;
}

body.woocommerce-cart .kc-cart-order-snapshot dl > div:last-child {
	border-bottom: 0 !important;
}

body.woocommerce-cart .kc-cart-order-snapshot dt {
	color: #596675 !important;
	font-size: 13px !important;
	font-weight: 850 !important;
}

body.woocommerce-cart .kc-cart-order-snapshot dd {
	color: var(--kc-navy) !important;
	font-size: 14px !important;
	font-weight: 950 !important;
	text-align: left !important;
}

body.woocommerce-cart .kc-cart-order-snapshot .is-total {
	margin-top: 4px !important;
	padding: 14px !important;
	border-radius: 16px !important;
	background: var(--kc-navy) !important;
}

body.woocommerce-cart .kc-cart-order-snapshot .is-total dt,
body.woocommerce-cart .kc-cart-order-snapshot .is-total dd {
	color: #fff !important;
}

body.woocommerce-cart .kc-cart-coupon {
	margin-top: 16px !important;
	padding: 14px !important;
	border: 1px dashed rgba(212, 170, 87, .46) !important;
	border-radius: 20px !important;
	background: #fffbf3 !important;
}

body.woocommerce-cart .kc-cart-coupon label {
	display: block !important;
	margin-bottom: 10px !important;
	color: var(--kc-navy) !important;
	font-size: 15px !important;
	font-weight: 950 !important;
}

body.woocommerce-cart .kc-cart-coupon div {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 136px !important;
	gap: 8px !important;
}

body.woocommerce-cart .kc-cart-coupon input {
	height: 52px !important;
	min-width: 0 !important;
	border: 1px solid rgba(8, 31, 55, .12) !important;
	border-radius: 16px !important;
	background: #fff !important;
	color: var(--kc-navy) !important;
	font-weight: 850 !important;
}

body.woocommerce-cart .kc-cart-coupon button,
body.woocommerce-cart .kc-cart-update {
	height: 52px !important;
	border: 0 !important;
	border-radius: 16px !important;
	background: linear-gradient(135deg, #f6b21a, #dc8e00) !important;
	color: #fff !important;
	font-weight: 950 !important;
	box-shadow: 0 12px 26px rgba(218, 144, 0, .22) !important;
}

body.woocommerce-cart .kc-cart-update {
	width: 100% !important;
	margin-top: 10px !important;
	background: #eef3f7 !important;
	color: var(--kc-navy) !important;
	box-shadow: none !important;
}

body.woocommerce-cart .kc-cart-action-strip {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	margin-top: 12px !important;
	padding: 12px !important;
	border-radius: 22px !important;
	background: var(--kc-navy) !important;
	box-shadow: 0 18px 40px rgba(5, 24, 44, .2) !important;
}

body.woocommerce-cart .kc-cart-action-strip div {
	display: grid !important;
	gap: 3px !important;
}

body.woocommerce-cart .kc-cart-action-strip span {
	color: rgba(255, 255, 255, .72) !important;
	font-size: 12px !important;
	font-weight: 850 !important;
}

body.woocommerce-cart .kc-cart-action-strip strong {
	color: #fff !important;
	font-size: 18px !important;
	font-weight: 950 !important;
}

body.woocommerce-cart .kc-cart-action-strip a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 52px !important;
	padding: 0 22px !important;
	border-radius: 16px !important;
	background: linear-gradient(135deg, #f8bb22, #e39500) !important;
	color: #fff !important;
	font-weight: 950 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}

body.woocommerce-cart .kc-cart-summary-wrap .cart_totals {
	position: sticky !important;
	top: 18px !important;
	padding: 18px !important;
}

body.woocommerce-cart .kc-cart-summary-wrap .cart_totals h2 {
	margin: 0 0 14px !important;
	color: var(--kc-navy) !important;
	font-size: 24px !important;
	font-weight: 950 !important;
}

body.woocommerce-cart .kc-cart-summary-wrap .cart_totals table {
	width: 100% !important;
	border: 0 !important;
}

body.woocommerce-cart .kc-cart-summary-wrap .cart_totals th,
body.woocommerce-cart .kc-cart-summary-wrap .cart_totals td {
	padding: 12px 0 !important;
	border-bottom: 1px dashed rgba(8, 31, 55, .12) !important;
	color: #526171 !important;
	font-size: 14px !important;
	font-weight: 850 !important;
}

body.woocommerce-cart .kc-cart-summary-wrap .cart_totals td {
	color: var(--kc-navy) !important;
	font-weight: 950 !important;
	text-align: left !important;
}

body.woocommerce-cart .kc-cart-summary-wrap .order-total th,
body.woocommerce-cart .kc-cart-summary-wrap .order-total td {
	padding-top: 16px !important;
	border-bottom: 0 !important;
	color: var(--kc-navy) !important;
	font-size: 18px !important;
}

body.woocommerce-cart .kc-cart-summary-wrap .wc-proceed-to-checkout {
	padding: 0 !important;
}

body.woocommerce-cart .kc-cart-summary-wrap .wc-proceed-to-checkout .checkout-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 58px !important;
	margin: 14px 0 0 !important;
	border-radius: 18px !important;
	background: linear-gradient(135deg, #f8bb22, #e39500) !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 950 !important;
	box-shadow: 0 16px 32px rgba(218, 144, 0, .24) !important;
}

body.woocommerce-cart .ketabbin-support-fab {
	bottom: 108px !important;
}

@media (max-width: 980px) {
	body.woocommerce-cart .woocommerce {
		display: block !important;
		width: min(720px, calc(100% - 24px)) !important;
		margin-top: 12px !important;
	}

	body.woocommerce-cart .kc-cart-summary-wrap {
		margin-top: 14px !important;
	}

	body.woocommerce-cart .kc-cart-summary-wrap .cart_totals {
		position: static !important;
	}

	body.woocommerce-cart .kc-cart-item {
		grid-template-columns: 96px minmax(0, 1fr) !important;
		align-items: start !important;
	}

	body.woocommerce-cart .kc-cart-item__thumb {
		width: 96px !important;
		height: 124px !important;
	}

	body.woocommerce-cart .kc-cart-item__price {
		grid-column: 1 / -1 !important;
		grid-template-columns: 1fr auto !important;
		align-items: center !important;
	}

	body.woocommerce-cart .kc-cart-item__price small {
		grid-column: 1 / -1 !important;
	}
}

@media (max-width: 640px) {
	body.woocommerce-cart .woocommerce {
		width: calc(100% - 22px) !important;
		margin-bottom: 148px !important;
	}

	body.woocommerce-cart .kc-cart-panel {
		padding: 14px !important;
		border-radius: 24px !important;
	}

	body.woocommerce-cart .kc-cart-heading h2 {
		font-size: 32px !important;
	}

	body.woocommerce-cart .kc-cart-trust {
		grid-template-columns: 1fr !important;
	}

	body.woocommerce-cart .kc-cart-item {
		grid-template-columns: 82px minmax(0, 1fr) !important;
		gap: 10px !important;
		padding: 12px !important;
		border-radius: 20px !important;
	}

	body.woocommerce-cart .kc-cart-item__thumb {
		width: 82px !important;
		height: 112px !important;
	}

	body.woocommerce-cart .kc-cart-item__title a,
	body.woocommerce-cart .kc-cart-item__title strong {
		font-size: 16px !important;
		line-height: 1.7 !important;
	}

	body.woocommerce-cart .kc-cart-item__meta small {
		display: none !important;
	}

	body.woocommerce-cart .kc-cart-item__controls,
	body.woocommerce-cart .kc-cart-item__quantity {
		width: 100% !important;
	}

	body.woocommerce-cart .kc-cart-item__quantity {
		justify-content: flex-start !important;
	}

	body.woocommerce-cart .kc-cart-item__quantity .quantity,
	body.woocommerce-cart .kc-cart-item__quantity .kc-quantity-control {
		display: none !important;
	}

	body.woocommerce-cart .kc-cart-item__remove {
		flex: 1 1 100% !important;
	}

	body.woocommerce-cart .kc-cart-coupon div {
		grid-template-columns: 1fr !important;
	}

	body.woocommerce-cart .kc-cart-action-strip {
		position: sticky !important;
		bottom: 88px !important;
		z-index: 30 !important;
	}

	body.woocommerce-cart .kc-cart-action-strip {
		padding: 10px !important;
	}

	body.woocommerce-cart .kc-cart-action-strip strong {
		font-size: 15px !important;
	}

	body.woocommerce-cart .kc-cart-action-strip a {
		min-height: 48px !important;
		padding: 0 14px !important;
		font-size: 13px !important;
	}

	body.woocommerce-cart .ketabbin-support-fab {
		bottom: 166px !important;
		left: 18px !important;
		right: auto !important;
	}
}

/* Ketabbin v1.4.99: richer shop filters and product trust stack. */
.kc-shop-filters {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 10px !important;
	align-items: end !important;
	padding: 14px !important;
	border: 1px solid rgba(212, 170, 87, .32) !important;
	border-radius: 22px !important;
	background: rgba(255, 255, 255, .96) !important;
	box-shadow: 0 18px 42px rgba(7, 24, 45, .06) !important;
}

.kc-shop-filters label {
	display: grid !important;
	gap: 7px !important;
	margin: 0 !important;
	color: var(--kc-navy) !important;
	font-weight: 900 !important;
}

.kc-shop-filters label > span {
	font-size: 12px !important;
	color: #697586 !important;
}

.kc-shop-filters select,
.kc-shop-filters input[type="number"],
.kc-shop-filters input[type="search"] {
	width: 100% !important;
	min-height: 48px !important;
	border: 1px solid rgba(8, 31, 55, .12) !important;
	border-radius: 15px !important;
	background: #fff !important;
	color: var(--kc-navy) !important;
	font-weight: 850 !important;
}

.kc-shop-filters__check {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	min-height: 48px !important;
	padding: 0 12px !important;
	border: 1px solid rgba(8, 31, 55, .1) !important;
	border-radius: 15px !important;
	background: #f8fbff !important;
}

.kc-shop-filters__check input {
	margin: 0 0 0 8px !important;
}

.kc-shop-filters button {
	min-height: 50px !important;
	border: 0 !important;
	border-radius: 16px !important;
	background: linear-gradient(135deg, #f8bb22, #e39500) !important;
	color: #fff !important;
	font-weight: 950 !important;
	box-shadow: 0 14px 28px rgba(218, 144, 0, .2) !important;
}

.kbp-trust-stack {
	display: grid !important;
	gap: 14px !important;
}

.kbp-trust-stack > h2 {
	margin: 0 !important;
	color: var(--kc-navy) !important;
	font-size: clamp(22px, 3vw, 32px) !important;
	line-height: 1.45 !important;
}

.kbp-trust-stack__grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 10px !important;
}

.kbp-trust-stack__grid article {
	min-height: 150px !important;
	padding: 14px !important;
	border: 1px solid rgba(8, 31, 55, .08) !important;
	border-radius: 18px !important;
	background: linear-gradient(180deg, #fff, #fbfcfe) !important;
	box-shadow: 0 14px 30px rgba(7, 24, 45, .045) !important;
}

.kbp-trust-stack__grid b {
	display: block !important;
	margin-bottom: 8px !important;
	color: var(--kc-navy) !important;
	font-size: 15px !important;
	font-weight: 950 !important;
}

.kbp-trust-stack__grid p {
	margin: 0 !important;
	color: #667085 !important;
	font-size: 13px !important;
	font-weight: 750 !important;
	line-height: 1.9 !important;
}

.kbp-trust-stack__link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	justify-self: start !important;
	min-height: 46px !important;
	padding: 0 18px !important;
	border-radius: 15px !important;
	background: #fff8e8 !important;
	color: #9b6810 !important;
	font-weight: 950 !important;
	text-decoration: none !important;
}

@media (max-width: 980px) {
	.kc-shop-filters,
	.kbp-trust-stack__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	.kc-shop-filters,
	.kbp-trust-stack__grid {
		grid-template-columns: 1fr !important;
	}
}

/* Ketabbin v1.5.0: shipment timeline and operational tracking polish. */
.ketabbin-tracking-result .kc-tracking-stage {
	display: inline-flex !important;
	align-items: center !important;
	margin: 10px 0 !important;
	padding: 7px 12px !important;
	border-radius: 999px !important;
	background: #fff7df !important;
	color: #9b6500 !important;
	font-size: .95rem !important;
	font-weight: 950 !important;
}

.ketabbin-tracking-result article p {
	margin: 8px 0 12px !important;
	color: #5f6875 !important;
	line-height: 1.9 !important;
}

.kc-tracking-timeline {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	gap: 8px !important;
	margin: 14px 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.kc-tracking-timeline li {
	display: grid !important;
	gap: 6px !important;
	justify-items: center !important;
	color: #8a94a3 !important;
	font-size: .76rem !important;
	text-align: center !important;
}

.kc-tracking-timeline li i {
	width: 14px !important;
	height: 14px !important;
	border-radius: 999px !important;
	border: 2px solid #d7dee8 !important;
	background: #fff !important;
	box-shadow: 0 0 0 5px #f7f9fc !important;
}

.kc-tracking-timeline li.is-done {
	color: #07182d !important;
	font-weight: 900 !important;
}

.kc-tracking-timeline li.is-done i {
	border-color: #c58a17 !important;
	background: #f2a900 !important;
}

@media (max-width: 680px) {
	.kc-tracking-timeline {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		row-gap: 14px !important;
	}
}

/* Ketabbin v1.5.2: final mobile launch hardening. */
html,
body {
	max-width: 100%;
	overflow-x: clip;
}

/* WooCommerce Select2 must retain its accessible one-pixel hiding technique. */
body.woocommerce-checkout select.select2-hidden-accessible,
body.woocommerce-checkout .select2-hidden-accessible {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-width: 1px !important;
	min-height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

body.woocommerce-checkout .select2-container,
body.woocommerce-checkout .select2-container .selection,
body.woocommerce-checkout .select2-container .select2-selection {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

.kc-enamad__fallback {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: #fff;
	color: #24639a;
	font: italic 900 44px/1 Georgia, serif;
}

.kc-not-found {
	display: grid;
	place-items: center;
	gap: 14px;
	min-height: 58vh;
	padding-block: clamp(48px, 9vw, 100px);
	text-align: center;
}

.kc-not-found__code {
	color: #d49418;
	font-size: clamp(64px, 15vw, 132px);
	font-weight: 950;
	line-height: 1;
	opacity: .18;
}

.kc-not-found h1,
.kc-not-found p { margin: 0; }
.kc-not-found p { max-width: 620px; color: #667085; line-height: 1.9; }

.kc-not-found__search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	width: min(100%, 620px);
	padding: 7px;
	border: 1px solid rgba(212, 170, 87, .35);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 44px rgba(7, 24, 45, .08);
}

.kc-not-found__search input,
.kc-not-found__search button {
	min-height: 50px;
	border: 0;
	border-radius: 13px;
	font: inherit;
}

.kc-not-found__search input { min-width: 0; padding: 0 14px; outline: 0; }
.kc-not-found__search button { padding: 0 22px; background: #07182d; color: #fff; font-weight: 900; }
.kc-not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }

@media (max-width: 760px) {
	body { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }

	.kc-shell,
	.kc-content,
	.woocommerce,
	.woocommerce-page .woocommerce {
		max-width: 100% !important;
	}

	/* Comfortable reading and touch targets on small phones. */
	.kc-footer .kc-footer-badge small,
	.kc-footer .kc-payment-trust small {
		font-size: 11px !important;
		line-height: 1.55 !important;
	}

	.kc-payment-trust,
	.kc-footer-badge,
	button,
	.button,
	input[type="submit"] {
		min-height: 44px;
	}

	/* Product cards grow with content instead of clipping at fixed heights. */
	.kc-product-card,
	.kc-shop-page ul.products li.product,
	.kbp-related ul.products li.product {
		height: auto !important;
		min-height: 0 !important;
	}

	.kc-product-card__body,
	.kc-shop-page ul.products li.product > a,
	.kbp-related ul.products li.product > a {
		min-height: 0 !important;
	}

	.ketabbin-support-fab {
		bottom: calc(104px + env(safe-area-inset-bottom)) !important;
		max-width: calc(100vw - 32px) !important;
	}

	.ketabbin-support-panel {
		bottom: calc(104px + env(safe-area-inset-bottom)) !important;
		max-width: calc(100vw - 24px) !important;
		max-height: calc(100dvh - 132px) !important;
		overflow: auto !important;
	}

	.kc-not-found__search { grid-template-columns: 1fr; }
	.kc-not-found__search button { width: 100%; }
}

@media (max-width: 390px) {
	.kc-shop-page ul.products,
	.kbp-related ul.products,
	.kc-products {
		gap: 10px !important;
	}

	.kc-shop-page ul.products li.product .woocommerce-loop-product__title,
	.kbp-related ul.products li.product .woocommerce-loop-product__title,
	.kc-product-card h3 {
		font-size: 13px !important;
		line-height: 1.75 !important;
	}
}
