: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));
}

* {
	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: 238px;
	padding: 14px;
	display: grid;
	grid-template-rows: auto minmax(48px, auto) auto auto 1fr;
	gap: 9px;
	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: 48px;
	max-height: 72px;
	overflow: hidden;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.65;
}

.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: 15px;
	font-weight: 850;
	line-height: 1.5;
}

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

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

.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;
}

.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 {
	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-social-grid a {
	display: grid;
	gap: 6px;
	padding: 16px;
	text-decoration: none;
	color: #06182d;
}
.ketabbin-social-grid a {
	grid-template-columns: 44px 1fr;
	align-items: center;
	border: 1px solid #ead7a9;
	border-radius: 18px;
	background: #fff;
}
.ketabbin-social-grid i {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: #07182d;
	color: #f0a000;
	font-style: normal;
	font-weight: 950;
}
.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: 16px;
	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 { width: 100%; }
.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;
	top: 50%;
	transform: translateY(-50%);
}
.kc-story-viewer [data-story-prev] { right: 8px; }
.kc-story-viewer [data-story-next] { left: 8px; }
.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;
}

/* 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;
	}
}
