:root {
	--tk-gold-light: #e5be69;
	--tk-gold: #d1a04a;
	--tk-gold-dark: #825510;
	--tk-gold-deep: #6e4406;
	--tk-gold-bright: #ffd47a;
	--tk-gold-gradient: linear-gradient(135deg, #a67323 0%, #825510 100%);
	--tk-gold-gradient-hover: linear-gradient(135deg, #b8832e 0%, #946317 100%);
	--tk-ink: #140f13;
	--tk-ink-deep: #0f0a0e;
	--tk-body: #241c22;
	--tk-body-soft: #3f363d;
	--tk-muted: #544b52;
	--tk-section: #f7f7f7;
	--tk-section-alt: #f7f7f7;
	--tk-border: #ded9de;
	--tk-white: #ffffff;
	--tk-danger: #c01538;
	--tk-danger-bg: #fff1f2;
	--tk-success: #047857;
	--tk-success-bg: #ecfdf5;
	--tk-info: #0284c7;
	--tk-info-bg: #f0f9ff;
	--tk-radius: 12px;
	--tk-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	--tk-shadow-gold: 0 10px 30px rgba(130, 85, 16, 0.16);
	--tk-wide: 1320px;
	--tk-font: "IRANYekanX", "IRANYekan", "Vazirmatn", "Vazir", system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, sans-serif;
	--tk-font-latin: "Montserrat", "Poppins", "Manrope", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 110px; }
body.tak-center-site {
	color: var(--tk-body);
	font-family: var(--tk-font);
	font-size: 15px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	max-width: 100%;
}
body.tak-center-site[dir="ltr"],
.tak-center-ltr { font-family: var(--tk-font-latin, Montserrat, Poppins, Manrope, Arial, sans-serif); }
body.tak-center-site a { text-underline-offset: 3px; }
body.tak-center-site img { max-width: 100%; height: auto; }
body.tak-center-site :where(button, input, select, textarea) { font: inherit; }
body.tak-center-site :where(input, select, textarea) {
	min-height: 46px;
	border: 1px solid var(--tk-border);
	border-radius: var(--tk-radius);
	background: var(--tk-white);
	color: var(--tk-ink);
	padding: 10px 14px;
}
body.tak-center-site textarea { min-height: 130px; resize: vertical; }
body.tak-center-site :where(input, select, textarea)::placeholder { color: #544b52; }

/* Global: Remove native spin buttons and arrows from ALL number inputs project-wide */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	opacity: 0 !important;
	margin: 0 !important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	opacity: 0 !important;
	margin: 0 !important;
}

.qty::-webkit-outer-spin-button,
.qty::-webkit-inner-spin-button,
.tk-qty-input::-webkit-outer-spin-button,
.tk-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	opacity: 0 !important;
	margin: 0 !important;
}

input[type="number"] {
	-moz-appearance: textfield !important;
	appearance: textfield !important;
}

body.tak-center-site input[type="number"] {
	-moz-appearance: textfield !important;
	appearance: textfield !important;
}

body.tak-center-site :where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 3px solid rgba(209, 160, 74, 0.45);
	outline-offset: 3px;
}
.screen-reader-text:focus {
	top: 8px;
	right: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	background: var(--tk-white);
	color: var(--tk-ink);
	padding: 10px 14px;
	border-radius: 8px;
}

/* Shared layout */
.tk-shell,
.tk-section,
.tk-content-shell {
	width: min(100% - 32px, var(--tk-wide));
	margin-inline: auto;
}
.tk-section { padding-block: clamp(34px, 6vw, 76px); }
.tk-section--muted { width: 100%; max-width: none; background: var(--tk-section); }
.tk-section--muted > * { width: min(100% - 32px, var(--tk-wide)); margin-inline: auto; }
.tk-section__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}
.tk-section__head h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 2rem); }
.tk-section__head a { color: var(--tk-gold-dark); font-weight: 700; }
.tk-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 4px 12px;
	border: 1px solid rgba(209, 160, 74, 0.35);
	border-radius: 999px;
	background: rgba(209, 160, 74, 0.1);
	color: var(--tk-gold-dark);
	font-size: 13.5px;
	font-weight: 700;
	white-space: nowrap;
}
.tk-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Header */
.tk-site-header {
	position: relative;
	z-index: 100;
	border-bottom: 1px solid var(--tk-border);
	background: rgba(255, 255, 255, 0.97);
}
.tk-header-top {
	display: none;
	background: var(--tk-ink);
	color: rgba(255, 255, 255, 0.8);
	font-size: 13px;
}
.tk-header-top .tk-shell {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 34px;
}
.tk-header-main {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	min-height: 74px;
}
.tk-brand { display: inline-flex; align-items: center; flex: none; }
.tk-brand img { display: block; width: 132px; height: auto; }
.tk-mobile-toggle,
.tk-icon-link {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--tk-border);
	border-radius: 11px;
	background: var(--tk-white);
	color: var(--tk-ink);
	cursor: pointer;
	text-decoration: none;
}
.tk-mobile-toggle { grid-column: 3; padding: 0; }
.tk-mobile-toggle::before,
.tk-mobile-toggle::after {
	content: none;
	display: none;
}
.tk-mobile-toggle .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.tk-search-wrap {
	position: relative;
	grid-column: 1 / -1;
	grid-row: 2;
	padding-bottom: 12px;
}
.tk-search {
	display: flex;
	align-items: center;
	height: 48px;
	border: 1px solid var(--tk-border);
	border-radius: var(--tk-radius);
	background: var(--tk-section);
	overflow: hidden;
}
.tk-search input[type="search"] {
	width: 100%;
	height: 100%;
	min-height: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	padding-inline: 16px;
	box-shadow: none;
}
.tk-search button {
	align-self: stretch;
	width: 50px;
	border: 0;
	background: transparent;
	color: var(--tk-ink);
	cursor: pointer;
}
.tk-search-dropdown {
	position: absolute;
	inset: calc(100% + 8px) 0 auto;
	z-index: 120;
	display: none;
	max-height: min(60vh, 430px);
	overflow: auto;
	border: 1px solid var(--tk-border);
	border-radius: var(--tk-radius);
	background: var(--tk-white);
	box-shadow: var(--tk-shadow);
	padding: 10px;
}
.tk-search-dropdown.is-open,
.tk-search-dropdown:not([hidden]) { display: block; }
.tk-search-dropdown[hidden],
.tk-search-results[hidden] { display: none !important; }
.tk-search-dropdown:empty::after {
	display: block;
	padding: 14px;
	color: var(--tk-muted);
	content: "برای جست‌وجو عبارت موردنظر را وارد کنید";
}
.tk-search-result {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 8px;
	text-decoration: none;
}
.tk-search-result:hover { background: var(--tk-section); }
.tk-search-result img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.tk-header-actions { display: none; align-items: center; gap: 8px; }
.tk-action-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--tk-border);
	border-radius: 11px;
	color: var(--tk-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.tk-action-link:hover { border-color: var(--tk-gold); color: var(--tk-gold-dark); }
.tk-action-link--cart { position: relative; }
.tk-mobile-cart { position: relative; }
.tk-cart-count {
	position: absolute;
	inset-block-start: 2px;
	inset-inline-start: 2px;
	z-index: 2;
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding-inline: 5px;
	border-radius: 99px;
	background: var(--tk-gold);
	color: var(--tk-ink);
	font: 700 11px/1 var(--tk-font-latin, Manrope, Arial, sans-serif);
}
.tk-cart-count[hidden] { display: none; }
.tk-nav-row { display: none; border-top: 1px solid var(--tk-border); }
.tk-main-nav { display: flex; align-items: center; min-height: 52px; gap: 8px; }
.tk-main-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 6px 12px;
	border-radius: 9px;
	color: var(--tk-ink);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
}
.tk-main-nav a:hover { background: var(--tk-section); }
.tk-main-nav .tk-categories-link { background: var(--tk-ink); color: var(--tk-white); }
.tk-main-nav .tk-offers-link { color: var(--tk-gold-dark); }

/* Mobile drawer and bottom navigation */
.tk-mobile-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	z-index: 10000;
	width: min(88vw, 360px);
	max-height: 100vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 24px 18px calc(40px + env(safe-area-inset-bottom));
	background: var(--tk-white);
	box-shadow: -12px 0 40px rgba(0,0,0,.14);
	display: none;
}
.tk-mobile-drawer.is-open {
	display: block;
	transform: translateX(0);
}
.tk-drawer-backdrop {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: none;
	border: 0;
	background: rgba(33, 28, 32, 0.48);
}
.tk-drawer-backdrop.is-open { display: block; }
.tk-drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--tk-border); }
.tk-drawer-head img { width: 150px; }
.tk-drawer-close { width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--tk-section); cursor: pointer; }
.tk-mobile-drawer nav { display: grid; gap: 4px; padding-block: 18px; }
.tk-mobile-drawer nav a { padding: 11px 8px; border-bottom: 1px solid var(--tk-border); color: var(--tk-ink); text-decoration: none; font-weight: 700; }
.tk-mobile-bottom {
	position: fixed;
	inset: auto 0 0;
	z-index: 90;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	padding: 7px 8px max(7px, env(safe-area-inset-bottom));
	border-top: 1px solid var(--tk-border);
	background: rgba(255,255,255,.98);
}
.tk-mobile-bottom a { display: grid; place-items: center; gap: 2px; color: var(--tk-body); font-size: 12px; white-space: nowrap !important; text-decoration: none; }
.tk-mobile-bottom svg { width: 22px; height: 22px; }

/* Hero and home modules */
.tk-hero {
	position: relative;
	display: grid;
	align-items: center;
	min-height: clamp(380px, 55vw, 620px);
	border-radius: 0 0 24px 24px;
	overflow: hidden;
	background: var(--tk-ink);
	color: var(--tk-white);
}
.tk-hero::before {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 20%, rgba(209,160,74,.28), transparent 42%), linear-gradient(120deg, #211c20 20%, #3b3034);
	content: "";
}
.tk-hero__content { position: relative; z-index: 1; width: min(100% - 32px, var(--tk-wide)); margin-inline: auto; padding-block: 52px; }
.tk-hero h1 { max-width: 720px; margin: 12px 0 16px; color: var(--tk-white); font-size: clamp(2rem, 7vw, 4.25rem); }
.tk-hero p { max-width: 620px; color: rgba(255,255,255,.75); font-size: clamp(1rem, 2vw, 1.25rem); }
.tk-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tk-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 22px;
	border: 1px solid transparent;
	border-radius: var(--tk-radius, 12px);
	background: var(--tk-gold, #d1a04a);
	color: var(--tk-white, #ffffff);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: all 0.25s ease;
	cursor: pointer;
}
.tk-button:hover,
.tk-button--primary:hover {
	background: var(--tk-gold-dark, #b8872f);
	color: var(--tk-white, #ffffff);
	border-color: var(--tk-gold-dark, #b8872f);
}
.tk-button--primary {
	background: var(--tk-gold, #d1a04a);
	color: var(--tk-white, #ffffff);
}
.tk-button--secondary {
	background: transparent;
	color: var(--tk-ink, #211c20);
	border: 1.5px solid var(--tk-ink, #211c20);
}
.tk-button--secondary:hover {
	background: var(--tk-ink, #211c20);
	color: var(--tk-white, #ffffff);
}
.tk-button--ghost {
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: transparent;
	color: var(--tk-white, #ffffff);
}
.tk-button--ghost:hover {
	background: rgba(255, 255, 255, 0.15);
	color: var(--tk-white, #ffffff);
}
.tk-button--outline {
	background: transparent;
	color: var(--tk-gold-dark, #b8872f);
	border: 1px solid var(--tk-gold, #d1a04a);
}
.tk-button--outline:hover {
	background: rgba(209, 160, 74, 0.1);
	color: var(--tk-gold-dark, #b8872f);
}
.tk-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: -24px; position: relative; z-index: 2; }
.tk-benefit { padding: 16px; border: 1px solid var(--tk-border); border-radius: var(--tk-radius); background: var(--tk-white); box-shadow: 0 8px 25px rgba(33,28,32,.06); }
.tk-benefit strong { display: block; color: var(--tk-ink); font-size: 15.5px; }
.tk-benefit span { color: var(--tk-body); font-size: 13.5px; }

/* Category and product cards */
.tk-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tk-category-card {
	display: grid;
	place-items: center;
	gap: 10px;
	min-height: 148px;
	padding: 18px 12px;
	border: 1px solid var(--tk-border);
	border-radius: var(--tk-radius);
	background: var(--tk-white);
	color: var(--tk-ink);
	text-align: center;
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tk-category-card:hover { transform: translateY(-3px); border-color: rgba(209,160,74,.6); box-shadow: var(--tk-shadow); }
.tk-category-card img, .tk-category-card svg { width: 54px; height: 54px; }
.tk-category-card strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tk-product-grid,
.wc-block-grid__products,
.wp-block-woocommerce-product-collection .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 12px !important;
}
.tk-product-card,
.wc-block-grid__product,
.wc-block-product {
	position: relative;
	min-width: 0;
	padding: 10px !important;
	border: 1px solid var(--tk-border) !important;
	border-radius: var(--tk-radius);
	background: var(--tk-white);
	text-align: right !important;
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.tk-product-card:hover,
.wc-block-grid__product:hover,
.wc-block-product:hover { border-color: rgba(209,160,74,.55) !important; box-shadow: var(--tk-shadow); }
.tk-product-card__media,
.wc-block-grid__product-image,
.wc-block-components-product-image {
	position: relative;
	aspect-ratio: 1;
	margin: 0 0 12px !important;
	border-radius: 10px;
	background: var(--tk-section);
	overflow: hidden;
}
.tk-product-card__media img,
.wc-block-grid__product-image img,
.wc-block-components-product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.tk-product-card:hover img,
.wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.035); }
.tk-product-card h3,
.wc-block-grid__product-title,
.wc-block-components-product-name {
	min-height: 2.9em;
	margin: 6px 0 !important;
	color: var(--tk-ink);
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.45;
}
.price,
.wc-block-grid__product-price,
.wc-block-components-product-price { color: var(--tk-ink) !important; font-weight: 800; }
.price del,
.wc-block-grid__product-price del { color: var(--tk-muted) !important; font-size: .85em; font-weight: 400; }
.price ins { color: var(--tk-ink); text-decoration: none; }
.onsale,
.wc-block-components-product-sale-badge {
	position: absolute;
	inset: 10px 10px auto auto !important;
	z-index: 2;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 4px 8px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--tk-gold) !important;
	color: var(--tk-ink) !important;
	font-size: 12px !important;
	line-height: 1.4 !important;
}
.tk-wishlist {
	position: absolute;
	inset: 10px auto auto 10px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--tk-border);
	border-radius: 50%;
	background: rgba(255,255,255,.92);
	color: var(--tk-body);
	cursor: pointer;
}
.tk-wishlist[aria-pressed="true"] { border-color: var(--tk-gold); color: var(--tk-gold-dark); background: #fffaf1; }
.tk-wishlist[aria-pressed="true"] svg { fill: currentColor; }
.tk-timer { display: inline-flex; gap: 5px; direction: rtl !important; color: var(--tk-ink); font: 700 13px/1.4 Manrope, Arial, sans-serif; }
.tk-timer span { min-width: 31px; padding: 6px 4px; border-radius: 7px; background: var(--tk-white); text-align: center; }

/* Content templates and static pages */
.tk-page-main { min-height: 50vh; padding-block: clamp(36px, 7vw, 80px); }
.tk-page-main > .wp-block-post-title,
.tk-page-main > .wp-block-query-title { width: min(100% - 32px, var(--tk-wide)); margin-inline: auto; margin-bottom: 28px; }
.tk-page-main > .wp-block-post-content { width: min(100% - 32px, 900px); margin-inline: auto; }
.tk-page-main .alignwide { width: min(100%, var(--tk-wide)); max-width: var(--tk-wide); }
.wp-block-post-content :where(h2, h3, h4) { margin-top: 1.7em; }
.wp-block-post-featured-image img { border-radius: var(--tk-radius); }
.wp-block-query .wp-block-post-template { gap: 18px; }
.wp-block-post-template > li { padding-bottom: 20px; border-bottom: 1px solid var(--tk-border); }
.wp-block-post-excerpt__more-link { color: var(--tk-gold-dark); font-weight: 700; }
.tk-empty-state { display: grid; place-items: center; min-height: 430px; text-align: center; }
.tk-empty-state .tk-empty-code { color: var(--tk-gold); font: 800 clamp(5rem, 18vw, 10rem)/1 Manrope, sans-serif; }
.wp-block-search__inside-wrapper { border: 1px solid var(--tk-border) !important; border-radius: var(--tk-radius); overflow: hidden; }

/* WooCommerce: archive and single */
.woocommerce .woocommerce-breadcrumb { color: var(--tk-muted); font-size: 13px; font-weight: 500; }
.woocommerce .woocommerce-breadcrumb a { color: var(--tk-ink); font-weight: 600; text-decoration: none; }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--tk-gold-dark); }
.woocommerce .woocommerce-result-count { color: var(--tk-body); font-weight: 600; }
.woocommerce .woocommerce-ordering select { min-width: 190px; }
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 10px;
	border: 1px solid var(--tk-border);
	border-radius: var(--tk-radius);
}
.woocommerce ul.products li.product a img { margin-bottom: 12px; border-radius: 10px; background: var(--tk-section); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--tk-ink); font-size: 14px; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button {
	border: 0 !important;
	border-radius: var(--tk-radius) !important;
	background: var(--tk-ink) !important;
	color: var(--tk-white) !important;
	font-weight: 700 !important;
	transition: background .2s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.wc-block-components-button:hover { background: var(--tk-gold-dark) !important; color: var(--tk-white) !important; }
.woocommerce div.product { display: flow-root; }
.woocommerce div.product div.images img { border-radius: var(--tk-radius); }
.woocommerce div.product .product_title { margin-bottom: 14px; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.woocommerce div.product p.price { color: var(--tk-ink); font-size: 1.35rem; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; }
.woocommerce .quantity .qty { width: 76px; }
.woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px !important; }
.woocommerce-product-gallery .flex-control-thumbs li { width: auto !important; }
.woocommerce-product-gallery .flex-control-thumbs img { border: 1px solid var(--tk-border); border-radius: 9px !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; padding: 0; overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--tk-border); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; border: 0; border-radius: 9px 9px 0 0; background: var(--tk-section); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--tk-ink); color: var(--tk-white); }
.woocommerce div.product .woocommerce-tabs .panel { padding-block: 20px; }
.woocommerce .related.products { clear: both; padding-top: 44px; }
.woocommerce span.onsale { top: 12px; right: 12px; left: auto; }

/* WooCommerce: cart, checkout and account */
.wc-block-cart,
.wc-block-checkout,
.woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce-account .woocommerce {
	--wp--style--block-gap: 18px;
}
.wc-block-cart-items,
.wc-block-components-sidebar,
.wc-block-checkout__main,
.woocommerce-cart-form,
.cart_totals,
.woocommerce-checkout-review-order,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
	border-color: var(--tk-border) !important;
	border-radius: var(--tk-radius);
}
.wc-block-components-sidebar,
.cart_totals,
.woocommerce-checkout-review-order { padding: 18px; background: var(--tk-section); }
.wc-block-cart-item__image img,
.woocommerce-cart-form__cart-item img { border-radius: 9px; }
.wc-block-components-totals-wrapper { border-color: var(--tk-border) !important; }
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input { border-color: var(--tk-border) !important; border-radius: 10px !important; }
.woocommerce table.shop_table { border-color: var(--tk-border); border-radius: var(--tk-radius); overflow: hidden; }
.woocommerce table.shop_table th { color: var(--tk-ink); }
.woocommerce-checkout #payment { border-radius: var(--tk-radius); background: var(--tk-section); }
.woocommerce-checkout #payment div.payment_box { background: var(--tk-white); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--tk-white); }
.woocommerce-MyAccount-navigation ul { margin: 0 0 24px; padding: 8px; border: 1px solid var(--tk-border); border-radius: var(--tk-radius); list-style: none; background: var(--tk-section); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--tk-ink); text-decoration: none; }
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover { background: var(--tk-white); color: var(--tk-gold-dark); }

/* Notices, pagination and forms */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message,
.wc-block-components-notice-banner {
	border: 1px solid var(--tk-border) !important;
	border-right: 4px solid var(--tk-gold) !important;
	border-left-width: 1px !important;
	border-radius: var(--tk-radius);
	background: var(--tk-section) !important;
	color: var(--tk-ink);
}
.woocommerce-error { border-right-color: var(--tk-danger) !important; }
.woocommerce-message { border-right-color: var(--tk-success) !important; }
.woocommerce form .form-row label { color: var(--tk-ink); font-weight: 700; }
.woocommerce form .form-row .required { color: var(--tk-danger); }
.woocommerce nav.woocommerce-pagination ul { display: flex; gap: 6px; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { border: 1px solid var(--tk-border); border-radius: 8px; color: var(--tk-ink); }
.woocommerce nav.woocommerce-pagination ul li span.current { border-color: var(--tk-gold); background: var(--tk-gold); }

/* Tak Center Core integration */
.tk-home-main {
	width: 100%;
	max-width: none !important;
	padding: 0 !important;
}
.tk-home-main > .tk-home {
	width: 100%;
	max-width: none !important;
}
.tk-home .tk-hero {
	width: min(100% - 32px, var(--tk-wide));
	margin: 22px auto 0;
	padding: clamp(28px, 5vw, 64px);
	border-radius: 24px;
}
.tk-home .tk-hero__content {
	width: auto;
	margin: 0;
	padding: 0;
}
.tk-hero__eyebrow,
.tk-section__eyebrow {
	margin: 0 0 8px;
	color: var(--tk-gold-dark);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
}
.tk-hero .tk-hero__eyebrow { color: var(--tk-gold); }
.tk-hero__visual {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
}
.tk-hero__visual img {
	width: min(100%, 430px);
	aspect-ratio: 1;
	object-fit: contain;
	filter: drop-shadow(0 24px 42px rgba(0,0,0,.24));
}
.tk-section__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 24px;
}
.tk-section__header h1,
.tk-section__header h2 { margin: 0; }
.tk-section__header > a { color: var(--tk-gold-dark); font-weight: 800; text-decoration: none; }
.tk-categories__grid,
.tk-products,
.tk-benefits__grid,
.tk-club-features__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.tk-category-card__name { color: var(--tk-ink); font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tk-category-card__count { color: var(--tk-muted); font-size: 13px; }
.tk-product-card__link { display: block; color: inherit; text-decoration: none; }
.tk-product-card__price { min-height: 2.2em; margin-top: 8px; }
.tk-product-card__add.button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 42px;
	margin-top: 12px;
	padding: 8px 12px !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: var(--tk-ink) !important;
	color: var(--tk-white) !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	text-align: center;
	white-space: nowrap !important;
}
.tk-product-card__add.button:hover { background: var(--tk-gold-dark) !important; }
.tk-product-card__stock {
	display: block;
	margin-top: 12px;
	color: var(--tk-muted);
	font-size: 13.5px;
	white-space: nowrap;
}
.tk-sale-countdown {
	display: block;
	margin-top: 10px;
	color: var(--tk-gold-dark);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}
.tk-wishlist-button--card {
	position: absolute;
	inset: 18px auto auto 18px;
	z-index: 3;
}
.tk-brands__row {
	display: flex;
	gap: 10px;
	padding-bottom: 8px;
	overflow-x: auto;
	scrollbar-width: thin;
}
.tk-brands__row .tk-brand {
	min-width: 128px;
	justify-content: center;
	padding: 18px 14px;
	border: 1px solid var(--tk-border);
	border-radius: var(--tk-radius);
	background: var(--tk-white);
	color: var(--tk-ink);
	font-weight: 800;
	text-align: center;
	text-decoration: none;
}
.tk-benefits {
	display: block;
	margin-top: 0;
}
.tk-benefit {
	min-height: 142px;
	box-shadow: none;
}
.tk-benefit__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 14px;
	border-radius: 12px;
	background: rgba(209,160,74,.14);
	color: var(--tk-gold-dark);
	font-weight: 900;
}
.tk-benefit h3 { margin: 0 0 6px; font-size: 16px; }
.tk-benefit p { margin: 0; color: var(--tk-body); font-size: 13px; }
.tk-b2b,
.tk-club-teaser,
.tk-club-hero {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding: clamp(28px, 5vw, 58px);
	border-radius: 20px;
	background: var(--tk-ink);
	color: rgba(255,255,255,.76);
}
.tk-b2b h2,
.tk-club-teaser h2,
.tk-club-hero h1 { margin: 0 0 10px; color: var(--tk-white); }
.tk-button--secondary {
	border-color: currentColor;
	background: transparent;
	color: currentColor;
}
.tk-club-teaser .tk-button--secondary { color: var(--tk-white); }
.tk-customer-club,
.tk-special-offers {
	width: min(100% - 32px, var(--tk-wide));
	margin-inline: auto;
}
.tk-empty-state {
	border-color: var(--tk-border);
	border-radius: var(--tk-radius);
	background: var(--tk-section);
}

/* Footer */
.tk-site-footer { margin-top: 70px; background: var(--tk-ink); color: rgba(255,255,255,.68); }
.tk-footer-main { display: grid; gap: 30px; padding-block: 48px 34px; }
.tk-footer-brand img { width: 190px; padding: 8px; border-radius: 9px; background: var(--tk-white); }
.tk-footer-brand p { max-width: 470px; margin-top: 16px; }
.tk-footer-col h2 { margin: 0 0 14px; color: var(--tk-white); font-size: 17px; }
.tk-footer-col ul { margin: 0; padding: 0; list-style: none; }
.tk-footer-col li { margin-block: 7px; }
.tk-footer-col a { color: rgba(255,255,255,.72); text-decoration: none; }
.tk-footer-col a:hover { color: var(--tk-gold); }
.tk-contact-list li { display: flex; gap: 8px; }
.tk-trust-placeholders { display: flex; flex-wrap: wrap; gap: 10px; }
.tk-trust-placeholder {
	display: grid;
	place-items: center;
	width: 86px;
	height: 86px;
	border: 1px dashed rgba(255,255,255,.25);
	border-radius: var(--tk-radius);
	color: rgba(255,255,255,.55);
	font-size: 12px;
	text-align: center;
}
.tk-footer-bottom { display: flex; flex-direction: column; gap: 10px; padding-block: 18px calc(86px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.tk-socials { display: flex; gap: 8px; }
.tk-socials a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; color: var(--tk-white); text-decoration: none; }

/* RTL normalization */
.rtl .woocommerce .woocommerce-ordering,
.rtl .woocommerce-page .woocommerce-ordering { float: left; }
.rtl .woocommerce .woocommerce-result-count,
.rtl .woocommerce-page .woocommerce-result-count { float: right; }
.rtl .select2-container .select2-selection--single .select2-selection__arrow { right: auto; left: 8px; }
.ltr .tk-site-header,
.tak-center-ltr .tk-site-header { direction: ltr; }

@media (min-width: 600px) {
	.tk-header-top { display: block; }
	.tk-brand img { width: 170px; }
	.tk-category-grid,
	.tk-categories__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tk-product-grid,
	.tk-products,
	.wc-block-grid__products,
	.wp-block-woocommerce-product-collection .wc-block-product-template,
	.woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 18px !important; }
	.tk-benefits__grid,
	.tk-club-features__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tk-footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
	.tk-footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 900px) {
	.tk-site-header { position: sticky; top: 0; z-index: 999; background: var(--tk-white, #ffffff); }
	.admin-bar .tk-site-header { top: 32px; }
	.tk-header-main {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		min-height: 84px;
	}
	.tk-brand { flex-shrink: 0; }
	.tk-search-wrap {
		flex: 1 1 360px;
		max-width: 520px;
		grid-column: auto;
		grid-row: auto;
		padding: 0;
	}
	.tk-location-btn { flex-shrink: 0; }
	.tk-header-actions {
		display: flex;
		align-items: center;
		gap: 8px;
		flex-shrink: 0;
	}
	.tk-nav-row { display: flex; }
	.tk-mobile-toggle { display: none !important; }
	.tk-home .tk-hero { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); }
	.tk-category-grid,
	.tk-categories__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.tk-product-grid,
	.tk-products,
	.wc-block-grid__products,
	.wp-block-woocommerce-product-collection .wc-block-product-template,
	.woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	.tk-b2b,
	.tk-club-teaser { flex-direction: row; align-items: center; justify-content: space-between; }
	.tk-product-card,
	.wc-block-grid__product,
	.wc-block-product,
	.woocommerce ul.products li.product { padding: 15px !important; }
	.tk-product-card h3,
	.wc-block-grid__product-title,
	.wc-block-components-product-name,
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; }
	.tk-footer-main { grid-template-columns: 2fr 1fr 1.25fr 1fr; }
	.tk-footer-bottom { padding-bottom: 18px; }
}

@media (min-width: 1200px) {
	.tk-category-grid,
	.tk-categories__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
	.tk-product-grid,
	.tk-products,
	.wc-block-grid__products,
	.wp-block-woocommerce-product-collection .wc-block-product-template,
	.woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px !important; }
}

@media (max-width: 781px) {
	.wp-site-blocks { padding-bottom: 0; }
	.wc-block-cart .wc-block-components-sidebar,
	.wc-block-checkout .wc-block-components-sidebar { padding: 14px; }
	.woocommerce-cart-form__cart-item td { padding: 9px !important; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media print {
	.tk-site-header, .tk-mobile-bottom, .tk-site-footer, .woocommerce .button { display: none !important; }
	body { color: #000; background: #fff; }
}
