/* =========================================================================
   Kashif Naseer Fabrics — commerce stylesheet (woocommerce.css)
   Cart drawer, mini-cart, quick view, cart page, checkout, my-account,
   and small single-product polish. Loaded after main.css ("knf-main").
   Reuses the design tokens + .knf-btn classes defined in main.css.
   Original work.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Cart drawer (slides in from the right)
   ---------------------------------------------------------------------- */
.knf-cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 600;
	visibility: hidden;
	pointer-events: none;
}
.knf-cart-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

.knf-cart-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity var(--knf-trans);
}
.knf-cart-drawer.is-open .knf-cart-drawer__backdrop {
	opacity: 1;
}

.knf-cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 390px;
	max-width: 100vw;
	background: var(--knf-bg);
	box-shadow: var(--knf-shadow);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform var(--knf-trans);
	will-change: transform;
}
.knf-cart-drawer.is-open .knf-cart-drawer__panel {
	transform: translateX(0);
}

.knf-cart-drawer__head {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	border-bottom: 1px solid var(--knf-line);
}
.knf-cart-drawer__title {
	font-family: var(--knf-font-head);
	font-weight: 600;
	font-size: 20px;
	color: var(--knf-dark);
}
.knf-cart-drawer__close {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border: none;
	background: var(--knf-bg-soft);
	color: var(--knf-dark);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--knf-trans), color var(--knf-trans);
}
.knf-cart-drawer__close:hover {
	background: var(--knf-dark);
	color: #fff;
}

.knf-cart-drawer__body {
	flex: 1 1 auto;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.knf-cart-drawer__body .widget_shopping_cart_content {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

/* -------------------------------------------------------------------------
   2. Mini-cart (renders inside .widget_shopping_cart_content)
   ---------------------------------------------------------------------- */
.knf-mini-cart__empty {
	margin: 0;
	padding: 60px 24px;
	text-align: center;
	color: var(--knf-muted);
	font-size: 17px;
}

ul.knf-mini-cart {
	list-style: none;
	margin: 0;
	padding: 8px 22px;
	flex: 1 1 auto;
}
.knf-mini-cart__item {
	position: relative;
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 14px;
	align-items: start;
	padding: 18px 28px 18px 0;
	border-bottom: 1px solid var(--knf-line);
}
.knf-mini-cart__item:last-child {
	border-bottom: none;
}

/* product thumbnail (linked image is the first anchor that holds an <img>) */
.knf-mini-cart__item img {
	grid-row: span 2;
	width: 72px;
	height: 90px;
	object-fit: cover;
	border-radius: var(--knf-radius-sm);
	background: var(--knf-bg-soft);
}
.knf-mini-cart__item a:not(.remove) {
	font-family: var(--knf-font-head);
	font-weight: 500;
	font-size: 17px;
	line-height: 1.4;
	color: var(--knf-dark);
}
.knf-mini-cart__item a:not(.remove):hover {
	color: var(--knf-accent);
}

.knf-mini-cart__meta {
	display: block;
	margin-top: 4px;
	font-size: 16px;
	color: var(--knf-muted);
}
.knf-mini-cart__meta .quantity {
	color: var(--knf-text);
}
.knf-mini-cart__meta .amount,
.knf-mini-cart__meta .woocommerce-Price-amount {
	color: var(--knf-dark);
	font-weight: 500;
}

/* WooCommerce AJAX remove link (× top-right of each item) */
.knf-mini-cart__item a.remove,
.knf-mini-cart__item a.remove_from_cart_button {
	position: absolute;
	top: 16px;
	right: 0;
	width: 24px;
	height: 24px;
	line-height: 22px;
	text-align: center;
	border-radius: 50%;
	font-size: 20px;
	font-weight: 400;
	color: var(--knf-muted) !important;
	background: var(--knf-bg-soft);
	transition: background var(--knf-trans), color var(--knf-trans);
}
.knf-mini-cart__item a.remove:hover,
.knf-mini-cart__item a.remove_from_cart_button:hover {
	background: var(--knf-accent);
	color: #fff !important;
}

/* footer: subtotal row + full-width action buttons */
.knf-mini-cart__footer {
	flex: 0 0 auto;
	margin-top: auto;
	padding: 20px 22px 24px;
	border-top: 1px solid var(--knf-line);
	background: var(--knf-bg);
}
.knf-mini-cart__subtotal {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	font-family: var(--knf-font-head);
}
.knf-mini-cart__subtotal > span:first-child {
	font-size: 16px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--knf-muted);
}
.knf-mini-cart__subtotal > span:last-child {
	font-size: 23px;
	font-weight: 600;
	color: var(--knf-dark);
}
.knf-mini-cart__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.knf-mini-cart__actions .knf-btn {
	width: 100%;
}
/* Modave leads with the filled Checkout (primary); View cart sits below. */
.knf-mini-cart__actions .checkout {
	order: -1;
}

/* ---------------------------------------------------------------------------
   Cross-page consistency for the drawer mini-cart.

   WooCommerce core ships its own mini-cart rules scoped to the `.woocommerce`
   body class — img { float:right; width:32px }, li { padding:4px 0 },
   li a { display:block; font-weight:700 }, and the grey default a.button. Those
   load ONLY on pages whose <body> carries `woocommerce` (shop / cart / account),
   NOT on Elementor pages such as the home page. That made the drawer render two
   different ways: unstyled buttons on the home page, and a WC-core-mangled item
   layout (tiny floated thumb, no remove-button gutter) on shop/cart.

   The View cart / Checkout buttons WC renders are plain <a class="button"> and
   <a class="button checkout"> (the theme's own .knf-btn markup is never reached
   because WC core always hooks woocommerce_widget_shopping_cart_buttons). So we
   style THOSE here, scoped to the always-present .knf-cart-drawer wrapper, with
   !important only on the few properties WC core hard-sets at higher specificity,
   so the drawer looks identical on every page type.
   ------------------------------------------------------------------------- */
.knf-cart-drawer .knf-mini-cart__item {
	padding: 18px 28px 18px 0 !important;
}
/* WC core / woocommerce-layout.css add a clearfix `::before`+`::after`
   (content:" "; display:table) to .cart_list/.product_list_widget li. Because
   the item is a CSS grid, those generated boxes become extra grid items and
   shove the thumbnail/info into the wrong columns. Neutralise them (same fix as
   the ul.products::before grid-item bug). Covers .woocommerce + .woocommerce-page. */
.knf-cart-drawer .knf-mini-cart__item::before,
.knf-cart-drawer .knf-mini-cart__item::after {
	content: none !important;
	display: none !important;
}
.knf-cart-drawer .knf-mini-cart__item img {
	float: none !important;
	width: 72px !important;
	height: 90px !important;
	margin: 0 !important;
	max-width: none;
}
.knf-cart-drawer .knf-mini-cart__item a:not(.remove) {
	display: block;
	font-weight: 500;
}
.knf-cart-drawer .knf-mini-cart__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.knf-cart-drawer .knf-mini-cart__actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 13px 26px;
	font-family: var(--knf-font-head);
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 0.02em;
	line-height: 1.2;
	border-radius: 50px;
	border: 1px solid var(--knf-dark);
	background: transparent;
	color: var(--knf-dark);
	box-shadow: none;
	transition: background var(--knf-trans), color var(--knf-trans), border-color var(--knf-trans);
}
.knf-cart-drawer .knf-mini-cart__actions .button:hover {
	background: var(--knf-dark);
	color: #fff;
	border-color: var(--knf-dark);
}
/* Checkout = filled dark and leads (Modave order); View cart = outline below. */
.knf-cart-drawer .knf-mini-cart__actions .button.checkout {
	order: -1;
	background: var(--knf-dark);
	color: #fff;
}
.knf-cart-drawer .knf-mini-cart__actions .button.checkout:hover {
	background: var(--knf-accent);
	border-color: var(--knf-accent);
	color: #fff;
}

/* Free-shipping bar inside the drawer body (sits above the item list). */
.knf-cart-drawer__body .knf-freeship,
.knf-freeship--drawer {
	margin: 0 0 18px;
}

/* Variation/attribute lines (colour / size) under a mini-cart item name. */
.knf-mini-cart__item .variation,
.knf-mini-cart__info .variation {
	margin: 4px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--knf-muted);
}
.knf-mini-cart__item .variation dt,
.knf-mini-cart__item .variation dd {
	display: inline;
	margin: 0;
	font-weight: 400;
}
.knf-mini-cart__item .variation dd {
	margin-right: 8px;
}

/* -------------------------------------------------------------------------
   3. Quick view (centered modal)
   ---------------------------------------------------------------------- */
.knf-quickview {
	position: fixed;
	inset: 0;
	z-index: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	visibility: hidden;
	pointer-events: none;
}
.knf-quickview.is-open {
	visibility: visible;
	pointer-events: auto;
}
.knf-quickview__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity var(--knf-trans);
}
.knf-quickview.is-open .knf-quickview__backdrop {
	opacity: 1;
}

.knf-quickview__dialog {
	position: relative;
	width: 100%;
	max-width: 860px;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	background: var(--knf-bg);
	border-radius: var(--knf-radius);
	box-shadow: var(--knf-shadow);
	transform: translateY(24px) scale(0.98);
	opacity: 0;
	transition: transform var(--knf-trans), opacity var(--knf-trans);
}
.knf-quickview.is-open .knf-quickview__dialog {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.knf-quickview__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	width: 42px;
	height: 42px;
	border: none;
	background: var(--knf-bg-soft);
	color: var(--knf-dark);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--knf-trans), color var(--knf-trans);
}
.knf-quickview__close:hover {
	background: var(--knf-dark);
	color: #fff;
}

.knf-quickview__content {
	min-height: 200px;
}
/* loading state injected by cart.js */
.knf-quickview__content.is-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 80px 24px;
	color: var(--knf-muted);
	font-family: var(--knf-font-head);
	font-size: 17px;
}
.knf-qv-spinner {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 3px solid rgba(0, 0, 0, 0.12);
	border-top-color: var(--knf-accent);
	animation: knf-qv-spin 0.7s linear infinite;
}
@keyframes knf-qv-spin {
	to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
	.knf-qv-spinner { animation-duration: 1.6s; }
}

/* injected product markup */
.knf-qv {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}
.knf-qv__media {
	background: var(--knf-bg-soft);
	border-radius: var(--knf-radius) 0 0 var(--knf-radius);
	overflow: hidden;
}
.knf-qv__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.knf-qv__summary {
	padding: 44px 40px 40px;
	display: flex;
	flex-direction: column;
}
.knf-qv__cat {
	font-family: var(--knf-font-head);
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--knf-muted);
	margin: 0 0 8px;
}
.knf-qv__title {
	font-size: clamp(22px, 3vw, 28px);
	margin: 0 0 12px;
}
.knf-qv__rating {
	margin: 0 0 12px;
}
.knf-qv__price {
	font-family: var(--knf-font-head);
	font-size: 25px;
	color: var(--knf-dark);
	margin-bottom: 16px;
}
.knf-qv__price del {
	color: var(--knf-muted);
	font-size: 20px;
	margin-right: 8px;
}
.knf-qv__price ins {
	text-decoration: none;
	color: var(--knf-accent);
}
.knf-qv__excerpt {
	color: var(--knf-text);
	font-size: 17px;
	line-height: 1.7;
	margin-bottom: 24px;
}
.knf-qv__excerpt p:last-child {
	margin-bottom: 0;
}
.knf-qv__buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}
.knf-qv__buy .knf-btn:not(.knf-qv__buynow) {
	flex: 1;
}
.knf-qv__buy .quantity.knf-qty {
	flex: none;
}
/* "Buy Now" — secondary purchase CTA on its own full-width row, accent-filled
   to match the PDP "Buy It Now" so the two read as the same action. */
.knf-qv__buynow {
	flex: 1 0 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50px;
	background: var(--knf-accent);
	color: #fff;
	padding: 12px 28px;
	font-family: var(--knf-font-head);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
	transition: filter var(--knf-trans);
}
.knf-qv__buynow:hover {
	filter: brightness(0.92);
	color: #fff;
}
/* WooCommerce injects a "View cart" link beside the button after an AJAX add;
   it doesn't belong in the modal (the quick view closes + the cart drawer
   slides open instead), so keep it out. */
.knf-qv .added_to_cart {
	display: none !important;
}
.knf-qv__full {
	margin-top: auto;
	font-family: var(--knf-font-head);
	font-size: 16px;
	font-weight: 500;
	color: var(--knf-dark);
	border-bottom: 1px solid currentColor;
	align-self: flex-start;
	padding-bottom: 2px;
}
.knf-qv__full:hover {
	color: var(--knf-accent);
}

/* -------------------------------------------------------------------------
   4. Cart page (2-col: table left, totals right sticky)
   ---------------------------------------------------------------------- */

/* WooCommerce cart/checkout/account render through page.php — give them the
   full container width instead of the narrow blog/page column (820px). */
.knf-blog-grid.knf-wc-fullwidth {
	display: block;
	max-width: none;
	grid-template-columns: none;
	margin: 0;
}

.knf-cart-page {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 40px;
	align-items: start;
	padding-bottom: 40px;
}
.knf-cart-page .woocommerce-cart-form {
	margin: 0;
	min-width: 0;
}

.woocommerce .knf-cart-page table.shop_table {
	border: 1px solid var(--knf-line);
	border-radius: var(--knf-radius);
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
	overflow: hidden;
}
.woocommerce .knf-cart-page table.shop_table th {
	font-family: var(--knf-font-head);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--knf-muted);
	background: var(--knf-bg-soft);
	padding: 16px 18px;
	border: none;
}
.woocommerce .knf-cart-page table.shop_table td {
	padding: 18px;
	border-top: 1px solid var(--knf-line);
	vertical-align: middle;
}
.woocommerce .knf-cart-page table.shop_table .product-thumbnail img {
	width: 72px;
	height: 90px;
	object-fit: cover;
	border-radius: var(--knf-radius-sm);
}
.woocommerce .knf-cart-page table.shop_table .product-name a {
	font-family: var(--knf-font-head);
	font-weight: 500;
	color: var(--knf-dark);
}
.woocommerce .knf-cart-page table.shop_table .product-name a:hover {
	color: var(--knf-accent);
}
.woocommerce .knf-cart-page table.shop_table td.product-remove a.remove,
.woocommerce .knf-cart-page table.shop_table td.product-remove a.remove_from_cart_button {
	width: 26px;
	height: 26px;
	line-height: 24px;
	font-size: 20px;
	color: var(--knf-muted) !important;
	background: var(--knf-bg-soft);
	border-radius: 50%;
}
.woocommerce .knf-cart-page table.shop_table td.product-remove a.remove:hover {
	background: var(--knf-accent);
	color: #fff !important;
}

/* quantity stepper */
.knf-cart-page .quantity input.qty,
.woocommerce .knf-cart-page .quantity input.qty {
	width: 76px;
	height: 46px;
	border: 1px solid var(--knf-line);
	border-radius: 50px;
	text-align: center;
	font-family: var(--knf-font-head);
	background: #fff;
}
/* +/- stepper group (buttons injected by cart.js — used on the cart page AND
   the single-product page, so these rules are context-free, not .knf-cart-page). */
.quantity.knf-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--knf-line);
	border-radius: 50px;
	overflow: hidden;
	background: #fff;
}
.quantity.knf-qty input.qty,
.woocommerce .quantity.knf-qty input.qty {
	width: 46px;
	height: 44px;
	border: 0;
	border-radius: 0;
	background: transparent;
	-moz-appearance: textfield;
	appearance: textfield;
}
.quantity.knf-qty input.qty::-webkit-outer-spin-button,
.quantity.knf-qty input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.knf-qty-minus,
.knf-qty-plus {
	width: 40px;
	height: 44px;
	border: 0;
	background: transparent;
	color: var(--knf-dark);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: color var(--knf-trans);
}
.knf-qty-minus:hover,
.knf-qty-plus:hover {
	color: var(--knf-accent);
}

/* coupon + update actions row (the last table row's actions cell) */
.knf-cart-page .actions {
	padding: 18px !important;
	background: var(--knf-bg-soft);
}
.woocommerce .knf-cart-page .actions .coupon {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}
.woocommerce .knf-cart-page .actions .coupon .input-text,
.woocommerce .knf-cart-page .actions .coupon #coupon_code {
	width: auto;
	min-width: 180px;
	height: 46px;
	border: 1px solid var(--knf-line);
	border-radius: 50px;
	padding: 0 20px;
	font-size: 16px;
	background: #fff;
}
.woocommerce .knf-cart-page .actions > .button[name="update_cart"],
.woocommerce .knf-cart-page .actions > button[name="update_cart"] {
	float: right;
}

/* totals column (kept inside WC's .cart-collaterals) */
.knf-cart-page .cart-collaterals {
	width: auto;
	float: none;
	margin: 0;
	position: sticky;
	top: 100px;
}
.woocommerce .knf-cart-page .cart-collaterals .cart_totals {
	width: 100%;
	float: none;
	border: 1px solid var(--knf-line);
	border-radius: var(--knf-radius);
	padding: 26px;
	background: var(--knf-bg-soft);
}
.knf-cart-page .cart_totals h2 {
	font-size: 23px;
	margin: 0 0 18px;
}
.woocommerce .knf-cart-page .cart_totals table.shop_table {
	border: none;
	margin: 0;
}
.woocommerce .knf-cart-page .cart_totals table.shop_table th,
.woocommerce .knf-cart-page .cart_totals table.shop_table td {
	background: transparent;
	border: none;
	border-top: 1px solid var(--knf-line);
	padding: 14px 0;
	text-transform: none;
	font-size: 17px;
	color: var(--knf-text);
}
.woocommerce .knf-cart-page .cart_totals table.shop_table tr:first-child th,
.woocommerce .knf-cart-page .cart_totals table.shop_table tr:first-child td {
	border-top: none;
}
.knf-cart-page .cart_totals .order-total th,
.knf-cart-page .cart_totals .order-total td {
	font-family: var(--knf-font-head);
	font-size: 20px !important;
	font-weight: 600;
	color: var(--knf-dark) !important;
}
.knf-cart-page .cart_totals .wc-proceed-to-checkout {
	padding: 18px 0 0;
}
.woocommerce .knf-cart-page .cart_totals .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	width: 100%;
	font-size: 17px;
}

/* "Or continue shopping" link under the checkout button */
.knf-cart-page .knf-continue-shopping {
	text-align: center;
	margin: 14px 0 0;
}
.knf-cart-page .knf-continue-shopping a {
	color: var(--knf-muted);
	font-size: 15px;
}
.knf-cart-page .knf-continue-shopping a:hover {
	color: var(--knf-accent);
}

/* Free-shipping progress bar (rendered by the knf_cart widget above the cart) */
.knf-freeship {
	margin: 0 0 28px;
	padding: 16px 20px;
	background: var(--knf-bg-soft);
	border-radius: var(--knf-radius);
}
.knf-freeship__msg {
	font-family: var(--knf-font-head);
	font-size: 15px;
	color: var(--knf-dark);
	margin: 0 0 10px;
}
.knf-freeship__msg .amount,
.knf-freeship__msg .woocommerce-Price-amount {
	color: var(--knf-accent);
	font-weight: 600;
}
.knf-freeship__track {
	height: 8px;
	border-radius: 50px;
	background: var(--knf-line);
	overflow: hidden;
}
.knf-freeship__fill {
	display: block;
	height: 100%;
	background: #4ab722;
	border-radius: 50px;
	transition: width var(--knf-trans);
}

/* -------------------------------------------------------------------------
   5. Checkout (2-col: customer details left, order review right sticky)
   ---------------------------------------------------------------------- */
.knf-checkout {
	padding-bottom: 40px;
}
.knf-checkout .woocommerce-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 44px;
	align-items: start;
}
.knf-checkout #customer_details {
	min-width: 0;
}
/* notices / coupon + login toggles span the full width above the grid */
.knf-checkout .woocommerce-form-login-toggle,
.knf-checkout .woocommerce-form-coupon-toggle,
.knf-checkout .woocommerce-form-login,
.knf-checkout .woocommerce-form-coupon {
	grid-column: 1 / -1;
}

.knf-checkout h3,
.knf-checkout #order_review_heading {
	font-size: 23px;
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--knf-line);
}
.knf-checkout #order_review_heading {
	grid-column: 2;
}

.woocommerce-checkout .knf-checkout .form-row {
	margin-bottom: 16px;
}
.woocommerce-checkout .knf-checkout .form-row label {
	font-family: var(--knf-font-head);
	font-weight: 500;
	font-size: 16px;
	color: var(--knf-dark);
	margin-bottom: 6px;
	display: block;
}
.woocommerce-checkout .knf-checkout .form-row .input-text,
.woocommerce-checkout .knf-checkout .form-row textarea,
.woocommerce-checkout .knf-checkout .form-row select,
.knf-checkout .select2-container .select2-selection {
	width: 100%;
	border: 1px solid var(--knf-line);
	border-radius: var(--knf-radius-sm);
	padding: 12px 14px;
	font-family: inherit;
	font-size: 17px;
	background: #fff;
	transition: border-color var(--knf-trans);
}
.woocommerce-checkout .knf-checkout .form-row .input-text:focus,
.woocommerce-checkout .knf-checkout .form-row textarea:focus,
.woocommerce-checkout .knf-checkout .form-row select:focus {
	border-color: var(--knf-dark);
	outline: none;
}
.knf-checkout .select2-container--default .select2-selection--single {
	height: 46px;
	display: flex;
	align-items: center;
}

/* order review panel (right, sticky) */
.knf-checkout #order_review {
	grid-column: 2;
	position: sticky;
	top: 100px;
	border: 1px solid var(--knf-line);
	border-radius: var(--knf-radius);
	padding: 26px;
	background: var(--knf-bg-soft);
}
.woocommerce-checkout .knf-checkout #order_review table.shop_table {
	border: none;
	margin: 0 0 18px;
}
.woocommerce-checkout .knf-checkout #order_review table.shop_table th,
.woocommerce-checkout .knf-checkout #order_review table.shop_table td {
	border: none;
	border-top: 1px solid var(--knf-line);
	padding: 12px 0;
	background: transparent;
	font-size: 16px;
}
.woocommerce-checkout .knf-checkout #order_review table.shop_table thead th {
	font-family: var(--knf-font-head);
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--knf-muted);
	border-top: none;
}
.knf-checkout #order_review .order-total th,
.knf-checkout #order_review .order-total td {
	font-family: var(--knf-font-head);
	font-size: 20px;
	font-weight: 600;
	color: var(--knf-dark);
}
.knf-checkout #payment {
	background: transparent;
	border-radius: 0;
}
.knf-checkout #payment ul.payment_methods {
	border: none;
	padding: 0;
	margin: 0 0 18px;
}
.knf-checkout #payment ul.payment_methods li {
	padding: 6px 0;
	border-bottom: 1px solid var(--knf-line);
}
.knf-checkout #payment div.payment_box {
	background: var(--knf-bg);
	border-radius: var(--knf-radius-sm);
	font-size: 16px;
}
.knf-checkout #payment div.payment_box::before {
	border-bottom-color: var(--knf-bg);
}
.woocommerce-checkout .knf-checkout #place_order {
	width: 100%;
	height: 52px;
	margin-top: 8px;
	font-size: 17px;
}
.knf-checkout .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 16px;
	font-size: 15px;
}

/* -------------------------------------------------------------------------
   6. My account (Modave-style 2-col dashboard: sidebar | content)
   ---------------------------------------------------------------------- */

/* Two-column dashboard — only when logged in (the nav is present). The
   notices wrapper spans the full width above both columns. */
.woocommerce-account.logged-in .woocommerce {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}
.woocommerce-account.logged-in .woocommerce > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

/* Sidebar (user card + vertical nav), sticky on desktop. */
.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none;
	width: auto;
	margin: 0;
	position: sticky;
	top: 100px;
}
.knf-account__user {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
}
.knf-account__avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	flex: none;
}
.knf-account__id {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.knf-account__name {
	font-family: var(--knf-font-head);
	font-weight: 600;
	font-size: 17px;
	color: var(--knf-dark);
}
.knf-account__logout {
	font-size: 13px;
	color: #2e6da4;
	text-decoration: none;
}
.knf-account__logout:hover {
	text-decoration: underline;
}
.knf-account__icon { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--knf-line);
	border-radius: 4px;
	overflow: hidden;
}
.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--knf-line);
}
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
	border-bottom: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 14px 18px;
	font-family: var(--knf-font-body);
	font-weight: 400;
	font-size: 15px;
	color: #2e6da4;
	background: #fff;
	text-decoration: none;
	transition: background var(--knf-trans), color var(--knf-trans);
}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: var(--knf-bg-soft);
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: #f5f5f5;
	color: var(--knf-dark);
	font-weight: 500;
}

/* Content panel */
.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	min-width: 0;
}
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
	font-family: var(--knf-font-head);
	font-size: 23px;
	margin: 0 0 16px;
}

/* Orders + generic account tables (mirror the cart table look). */
.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table {
	border: 1px solid var(--knf-line);
	border-radius: var(--knf-radius);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	width: 100%;
}
.woocommerce-account .woocommerce-MyAccount-content table.shop_table th {
	font-family: var(--knf-font-head);
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--knf-muted);
	background: var(--knf-bg-soft);
	padding: 14px 16px;
	border: none;
	text-align: left;
}
.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
	padding: 16px;
	border-top: 1px solid var(--knf-line);
	vertical-align: middle;
}
.woocommerce-account .woocommerce-orders-table .woocommerce-button {
	margin: 2px 4px 2px 0;
}

/* Addresses as cards */
.woocommerce-account .addresses .col2-set,
.woocommerce-account .woocommerce-Addresses.col2-set {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	width: 100%;
}
.woocommerce-account .woocommerce-Address,
.woocommerce-account .addresses .col-1,
.woocommerce-account .addresses .col-2 {
	width: auto;
	float: none;
}
.woocommerce-account .woocommerce-Address address {
	border: 1px solid var(--knf-line);
	border-radius: var(--knf-radius);
	padding: 22px 24px;
	font-style: normal;
	line-height: 1.8;
	color: var(--knf-muted);
}
.woocommerce-account .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}
.woocommerce-account .woocommerce-Address-title .edit {
	color: var(--knf-accent);
	font-size: 14px;
	font-weight: 600;
}

/* Account-details + address forms */
.woocommerce-account .woocommerce-MyAccount-content form .form-row label,
.woocommerce-account .woocommerce-EditAccountForm label {
	font-family: var(--knf-font-head);
	font-weight: 500;
	color: var(--knf-dark);
	margin-bottom: 6px;
	display: block;
}
.woocommerce-account .woocommerce-MyAccount-content form .input-text,
.woocommerce-account .woocommerce-MyAccount-content form select {
	width: 100%;
	border: 1px solid var(--knf-line);
	border-radius: var(--knf-radius-sm);
	padding: 12px 14px;
	font-family: var(--knf-font-body);
	font-size: 16px;
	background: #fff;
}
.woocommerce-account .woocommerce-EditAccountForm fieldset {
	margin-top: 24px;
	padding-top: 8px;
	border-top: 1px solid var(--knf-line);
}
.woocommerce-account .woocommerce-EditAccountForm legend {
	font-family: var(--knf-font-head);
	font-size: 18px;
	color: var(--knf-dark);
	padding-top: 16px;
}

/* Login / register as two cards (logged-out view; no .knf-account grid here). */
.woocommerce-account:not(.logged-in) #customer_login.col2-set {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	max-width: 920px;
	margin: 0 auto;
}
.woocommerce-account #customer_login .col-1,
.woocommerce-account #customer_login .col-2 {
	width: auto;
	float: none;
}
.woocommerce-account form.login,
.woocommerce-account form.register {
	border: 1px solid var(--knf-line);
	border-radius: var(--knf-radius);
	padding: 32px;
	margin: 0;
}
/* Lone login (registration disabled) — centre it in a readable card. */
.woocommerce-account:not(.logged-in) .woocommerce > form.login {
	max-width: 480px;
	margin-inline: auto;
}
.woocommerce-account form.login .input-text,
.woocommerce-account form.register .input-text {
	width: 100%;
	border: 1px solid var(--knf-line);
	border-radius: var(--knf-radius-sm);
	padding: 12px 14px;
}
.woocommerce-account form.login button[name="login"],
.woocommerce-account form.register button[name="register"],
.woocommerce-account .woocommerce-EditAccountForm button[name="save_account_details"] {
	background: var(--knf-dark);
	color: #fff;
	border: 0;
	border-radius: 50px;
	padding: 13px 30px;
	font-family: var(--knf-font-head);
	font-weight: 600;
	cursor: pointer;
	transition: background var(--knf-trans);
}
.woocommerce-account form.login button[name="login"]:hover,
.woocommerce-account form.register button[name="register"]:hover,
.woocommerce-account .woocommerce-EditAccountForm button[name="save_account_details"]:hover {
	background: var(--knf-accent);
}

/* -------------------------------------------------------------------------
   7. Single product (PDP): 2-col layout, summary, variations, tabs, related
   ---------------------------------------------------------------------- */

/* Two-column product top: gallery | summary; tabs/related span full width. */
.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	position: relative;
}
.single-product div.product > * {
	grid-column: 1 / -1;
}
.single-product div.product > .woocommerce-product-gallery {
	grid-column: 1;
	margin: 0;
	width: auto;
	float: none;
}
.single-product div.product > .summary {
	grid-column: 2;
	margin: 0;
}
.single-product div.product > .onsale,
.single-product .knf-pdp__media > .onsale {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 3;
	min-height: 0;
	min-width: 0;
	margin: 0;
	padding: 6px 14px;
	background: var(--knf-accent);
	color: #fff;
	border-radius: 50px;
	font-family: var(--knf-font-head);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

/* Summary column */
.single-product .summary .product_title {
	font-family: var(--knf-font-head);
	font-size: clamp(26px, 3vw, 34px);
	color: var(--knf-dark);
	margin: 0 0 10px;
}
.single-product .summary .price {
	font-family: var(--knf-font-head);
	font-size: 28px;
	font-weight: 600;
	margin: 0 0 12px;
}
.single-product .summary .price,
.single-product .summary .price .woocommerce-Price-amount,
.single-product .summary .price bdi,
.single-product .summary .price ins .woocommerce-Price-amount {
	color: var(--knf-dark) !important;
}
.single-product .summary .price del,
.single-product .summary .price del .woocommerce-Price-amount {
	color: var(--knf-muted) !important;
	font-weight: 400;
	margin-right: 10px;
}
.single-product .summary .price ins {
	text-decoration: none;
}
.single-product .summary .woocommerce-product-rating {
	margin: 0 0 12px;
	font-size: 14px;
}
.single-product .summary .woocommerce-product-details__short-description {
	color: var(--knf-muted);
	line-height: 1.8;
	margin: 0 0 20px;
}
/* Hide the wishlist plugin's duplicate text button — the heart icon beside
   "Add to cart" already covers it (keeps the cart row clean, not scattered). */
.single-product .summary .tinv-wishlist {
	display: none;
}

/* Variations table -> clean stacked rows (swatch visuals come from main.css) */
.single-product .variations {
	border: 0;
	margin: 0 0 16px;
	width: 100%;
}
.single-product .variations tr,
.single-product .variations th,
.single-product .variations td {
	display: block;
	border: 0;
	padding: 0;
	text-align: left;
	background: none;
}
.single-product .variations th.label {
	font-family: var(--knf-font-head);
	font-weight: 600;
	color: var(--knf-dark);
	margin: 12px 0 6px;
}
.single-product .single_variation_wrap .woocommerce-variation-price {
	font-family: var(--knf-font-head);
	font-size: 22px;
	color: var(--knf-dark);
	margin-bottom: 12px;
}
.single-product .reset_variations {
	display: inline-block;
	margin: 4px 0 10px;
	font-size: 14px;
	color: var(--knf-muted);
}

/* Qty stepper + add-to-cart on one row.
   Simple products: form.cart's direct children ARE .quantity + the button.
   Variable products: form.cart.variations_form holds the variations table +
   .single_variation_wrap (which contains the qty + button), so the flex row
   must sit on .woocommerce-variation-add-to-cart instead, leaving the table
   and variation wrap to stack. */
.single-product form.cart:not(.variations_form),
.single-product .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	/* Buttons span the summary column width (same as the title / bullets above),
	   so there is no awkward empty gap beside them; slim height keeps them light. */
}
.single-product form.cart .quantity {
	margin: 0;
}
/* On the single-product row, make the qty stepper a bit bigger (wider) so the
   Add-to-cart button beside it (flex:1) takes proportionally less width and the
   row looks balanced. Scoped to .single-product so the cart page is untouched. */
.single-product .quantity.knf-qty input.qty,
.woocommerce .single-product .quantity.knf-qty input.qty {
	width: 66px;
	font-size: 16px;
}
.single-product .knf-qty-minus,
.single-product .knf-qty-plus {
	width: 52px;
}
.single-product form.cart:not(.variations_form) .single_add_to_cart_button,
.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
	flex: 1;
	min-width: 200px;
	background: var(--knf-dark);
	color: #fff;
	border: 0;
	border-radius: 50px;
	padding: 12px 28px;
	font-family: var(--knf-font-head);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background var(--knf-trans);
}
.single-product .single_add_to_cart_button:hover {
	background: var(--knf-accent);
}
/* Sold-individually / 1-in-stock products: WooCommerce hides the qty input but
   leaves the empty .quantity wrapper, which shifts "Add to cart" right so it no
   longer aligns with "Buy It Now" / "Customise Yourself". Drop the wrapper and
   let the button fill the full width like the buttons below it. (Body gets
   .knf-qty-fixed from knf_pdp_qty_fixed_class; products with a real 2+ qty
   stepper are untouched.) */
.knf-qty-fixed form.cart:not(.variations_form) .quantity {
	display: none;
}
.knf-qty-fixed form.cart:not(.variations_form) .single_add_to_cart_button {
	flex: 1 1 100%;
}

/* Modave-style summary blocks (eyebrow, stock pill, viewing, dividers,
   wishlist/compare, buy-now, action links, shipping note, safe checkout). */
.knf-pdp-eyebrow {
	font-family: var(--knf-font-head);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--knf-muted);
	margin-bottom: 6px;
}
.knf-pdp-stock {
	display: inline-flex;
	align-items: center;
	font-family: var(--knf-font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 50px;
	margin: 0 0 18px;
}
.knf-pdp-stock--in {
	background: var(--knf-dark);
	color: #fff;
}
.knf-pdp-stock--out {
	background: var(--knf-bg-soft-2);
	color: var(--knf-muted);
}
.knf-pdp-viewing {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--knf-muted);
	margin: 0 0 4px;
}
.knf-pdp-viewing svg {
	color: var(--knf-accent);
	flex: none;
}
.knf-pdp-rule {
	border: 0;
	border-top: 1px solid var(--knf-line);
	margin: 18px 0;
}
.knf-pdp-iconbtn {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--knf-line);
	border-radius: 50%;
	background: #fff;
	color: var(--knf-dark);
	cursor: pointer;
	transition: border-color var(--knf-trans), color var(--knf-trans);
}
.knf-pdp-iconbtn:hover {
	border-color: var(--knf-dark);
	color: var(--knf-accent);
}
.knf-buy-now {
	flex: 1 0 100%;
	border: 0;
	border-radius: 50px;
	background: var(--knf-accent);
	color: #fff;
	padding: 12px 28px;
	font-family: var(--knf-font-head);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: filter var(--knf-trans);
}
.knf-buy-now:hover {
	filter: brightness(0.92);
}
/* "Customise Yourself" — tertiary CTA shown only on shirt-category products.
   Outlined so it reads as a distinct "make it your own" action beside the two
   purchase buttons; fills dark on hover. */
.knf-customise-btn {
	flex: 1 0 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1.5px solid var(--knf-dark);
	border-radius: 50px;
	background: transparent;
	color: var(--knf-dark);
	padding: 10.5px 28px;
	font-family: var(--knf-font-head);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--knf-trans), color var(--knf-trans);
}
.knf-customise-btn svg {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
}
.knf-customise-btn:hover {
	background: var(--knf-dark);
	color: #fff;
}
/* Buy It Now + Customise Yourself sit side by side (50/50), filling the row
   without either being a full-width bar. Stacks on small screens. */
.knf-cta-row {
	flex: 1 0 100%;
	display: flex;
	gap: 10px;
}
.knf-cta-row .knf-buy-now,
.knf-cta-row .knf-customise-btn {
	flex: 1 1 0;
	min-width: 0;
}
@media (max-width: 520px) {
	.knf-cta-row {
		flex-direction: column;
	}
}
/* Product-page "Customise" popup (embeds the studio, product-specific). */
.knf-cust-pop {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 24px;
}
.knf-cust-pop.is-open {
	display: flex;
}
.knf-cust-pop__scrim {
	position: fixed;
	inset: 0;
	background: rgba(20, 20, 20, 0.55);
}
.knf-cust-pop__box {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1120px;
	max-height: calc(100vh - 48px);
	overflow: auto;
	margin: auto;
	background: #fff;
	border-radius: var(--knf-radius);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.knf-cust-pop__x {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 5;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--knf-dark);
	transition: background var(--knf-trans);
}
.knf-cust-pop__x svg {
	width: 20px;
	height: 20px;
}
.knf-cust-pop__x:hover {
	background: var(--knf-bg-soft);
}
.knf-cust-pop__body {
	padding: 8px;
}
html.knf-cust-locked {
	overflow: hidden;
}
@media (max-width: 600px) {
	.knf-cust-pop {
		padding: 0;
	}
	.knf-cust-pop__box {
		max-width: 100%;
		max-height: 100vh;
		border-radius: 0;
	}
}
.knf-pdp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0 0 16px;
}
.knf-pdp-actions__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: none;
	border: 0;
	padding: 0;
	font-size: 14px;
	color: var(--knf-text);
	font-family: inherit;
	cursor: pointer;
}
.knf-pdp-actions__item svg {
	color: var(--knf-muted);
	flex: none;
}
.knf-pdp-actions__item:hover {
	color: var(--knf-accent);
}
/* Info labels (Description / Shipping / Return / Reviews) that open the drawer */
.knf-pdp-info {
	display: flex;
	flex-direction: column;
	margin: 4px 0 18px;
	border-top: 1px solid var(--knf-line);
}
.knf-pdp-info__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 15px 2px;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--knf-line);
	cursor: pointer;
	font-family: var(--knf-font-head);
	font-weight: 500;
	font-size: 15px;
	color: var(--knf-dark);
	text-align: left;
	transition: color var(--knf-trans);
}
.knf-pdp-info__row:hover { color: var(--knf-accent); }
.knf-pdp-info__chev { display: flex; color: var(--knf-muted); transition: transform var(--knf-trans), color var(--knf-trans); }
.knf-pdp-info__row:hover .knf-pdp-info__chev { transform: translateX(3px); color: var(--knf-accent); }

/* Slide-in info drawer (same behaviour as the cart drawer) */
.knf-pdp-drawer { position: fixed; inset: 0; z-index: 9999; visibility: hidden; pointer-events: none; }
.knf-pdp-drawer.is-open { visibility: visible; pointer-events: auto; }
.knf-pdp-drawer__scrim { position: absolute; inset: 0; background: rgba(20, 20, 20, 0.45); opacity: 0; transition: opacity 0.3s ease; }
.knf-pdp-drawer.is-open .knf-pdp-drawer__scrim { opacity: 1; }
.knf-pdp-drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(460px, 92vw); display: flex; flex-direction: column; background: #fff; box-shadow: -16px 0 50px rgba(0, 0, 0, 0.2); transform: translateX(100%); transition: transform 0.34s cubic-bezier(0.4, 0.05, 0.2, 1); }
.knf-pdp-drawer.is-open .knf-pdp-drawer__panel { transform: none; }
.knf-pdp-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--knf-line); flex: 0 0 auto; }
.knf-pdp-drawer__title { margin: 0; font-family: var(--knf-font-head); font-size: 19px; color: var(--knf-dark); }
.knf-pdp-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 22px 22px 44px; }
.knf-pdp-drawer__body img { max-width: 100%; height: auto; }
.knf-pdp-drawer__c { font-size: 15px; line-height: 1.7; color: var(--knf-text); }
.knf-pdp-drawer__c p { margin: 0 0 14px; }
.knf-pdp-drawer__c h2, .knf-pdp-drawer__c h3 { font-family: var(--knf-font-head); }
/* Wider variant of the drawer, used for the size chart (measurement table) */
.knf-pdp-drawer--wide .knf-pdp-drawer__panel { width: min(720px, 96vw); }

/* "Size Chart" trigger row (shirt-fabric products, above the cart) */
.knf-sizeguide {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin: 0 0 18px;
	padding: 14px 16px;
	background: var(--knf-bg-soft);
	border: 1px solid var(--knf-line);
	border-radius: 10px;
	cursor: pointer;
	font-family: var(--knf-font-head);
	font-weight: 500;
	font-size: 15px;
	color: var(--knf-dark);
	text-align: left;
	transition: border-color var(--knf-trans), background var(--knf-trans);
}
.knf-sizeguide:hover { border-color: var(--knf-dark); background: #fff; }
.knf-sizeguide__l { display: inline-flex; align-items: center; gap: 10px; }
.knf-sizeguide__l svg { color: var(--knf-accent); flex: none; }
.knf-sizeguide__r { display: inline-flex; align-items: center; gap: 5px; font-family: var(--knf-font-body); font-size: 13px; color: var(--knf-muted); transition: color var(--knf-trans), transform var(--knf-trans); }
.knf-sizeguide:hover .knf-sizeguide__r { color: var(--knf-accent); }
.knf-sizeguide:hover .knf-sizeguide__r svg { transform: translateX(3px); }
.knf-pdp-safe {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin-top: 16px;
	padding-top: 18px;
	border-top: 1px solid var(--knf-line);
}
.knf-pdp-safe__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--knf-font-head);
	font-weight: 600;
	font-size: 13px;
	color: var(--knf-dark);
}
.knf-pdp-safe__label svg {
	color: var(--knf-accent);
}
.knf-pdp-safe__cards {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.knf-pdp-card {
	font-family: var(--knf-font-head);
	font-size: 11px;
	font-weight: 700;
	color: var(--knf-muted);
	background: #fff;
	border: 1px solid var(--knf-line);
	border-radius: 4px;
	padding: 5px 9px;
	line-height: 1;
}
.knf-pdp-card--visa { color: #1a1f71; }
.knf-pdp-card--mastercard { color: #eb001b; }
.knf-pdp-card--amex { color: #2e77bc; }
.knf-pdp-card--paypal { color: #003087; }
.knf-pdp-card--diners { color: #0079be; }
.knf-pdp-card--discover { color: #e8730c; }

/* "Sold in the last X hours" urgency line. */
.knf-pdp-sold {
	margin: 0 0 10px;
	font-size: 13px;
	color: var(--knf-muted);
}
.knf-pdp-sold::before {
	content: "\1F525";
	margin-right: 6px;
}

/* PDP 3-area layout: media (gallery + FBT) | summary | full-width tabs/related. */
.single-product div.product > .knf-pdp__media {
	grid-column: 1;
	position: relative;
}
.single-product .knf-pdp__media .woocommerce-product-gallery {
	margin: 0;
	width: auto;
	float: none;
}
.single-product .knf-pdp__full {
	grid-column: 1 / -1;
}

/* Frequently Bought Together. */
.knf-fbt {
	margin-top: 26px;
	border: 1px solid var(--knf-line);
	border-radius: var(--knf-radius);
	padding: 22px;
}
.knf-fbt__title {
	font-family: var(--knf-font-head);
	font-size: 18px;
	margin: 0 0 16px;
	color: var(--knf-dark);
}
.knf-fbt__items {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.knf-fbt__item {
	position: relative;
	flex: 1 1 120px;
	max-width: 150px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	font-size: 13px;
}
.knf-fbt__item input {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	width: 18px;
	height: 18px;
	accent-color: var(--knf-accent);
	cursor: pointer;
}
.knf-fbt__thumb img {
	width: 100%;
	border-radius: var(--knf-radius-sm);
	border: 1px solid var(--knf-line);
	display: block;
}
.knf-fbt__name {
	color: var(--knf-text);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.knf-fbt__price {
	font-family: var(--knf-font-head);
	font-weight: 600;
	color: var(--knf-dark);
}
.knf-fbt__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--knf-line);
}
.knf-fbt__total {
	font-size: 15px;
	color: var(--knf-muted);
}
.knf-fbt__total strong {
	font-family: var(--knf-font-head);
	font-size: 20px;
	color: var(--knf-dark);
	margin-left: 4px;
}
.knf-fbt__add {
	white-space: nowrap;
}

/* Related Products | Recently Viewed tabbed section. */
.knf-pdp-related {
	margin-top: 48px;
}
.knf-pdp-related .knf-ptabs__nav {
	margin-top: 0;
}

/* -------------------------------------------------------------------------
   Reviews tab — clean review list + rating form
   ---------------------------------------------------------------------- */
#reviews .woocommerce-Reviews-title {
	font-family: var(--knf-font-head);
	font-size: 20px;
	color: var(--knf-dark);
	margin: 0 0 22px;
}
#reviews ol.commentlist {
	list-style: none;
	margin: 0 0 36px;
	padding: 0;
}
#reviews ol.commentlist li.review {
	margin: 0;
	padding: 22px 0;
	border-bottom: 1px solid var(--knf-line);
}
#reviews .comment_container {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
#reviews .comment_container img.avatar {
	position: static;
	float: none;
	width: 52px;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--knf-line);
	border-radius: 50%;
}
#reviews .comment-text {
	flex: 1;
	margin: 0;
	border: 0;
	padding: 0;
}
#reviews .comment-text .star-rating {
	font-size: 14px;
	margin: 0 0 8px;
}
#reviews .comment-text p.meta {
	font-size: 13px;
	color: var(--knf-muted);
	margin: 0 0 8px;
}
#reviews .comment-text .woocommerce-review__author {
	font-family: var(--knf-font-head);
	font-weight: 600;
	color: var(--knf-dark);
	font-style: normal;
}
#reviews .comment-text .description p {
	margin: 0;
	color: var(--knf-text);
	line-height: 1.7;
}
#reviews .woocommerce-noreviews {
	color: var(--knf-muted);
	margin: 0 0 24px;
}

/* Review form */
#review_form_wrapper {
	max-width: 640px;
}
#reviews #respond .comment-reply-title {
	display: block;
	font-family: var(--knf-font-head);
	font-size: 18px;
	color: var(--knf-dark);
	margin: 0 0 8px;
}
#reviews #respond .comment-notes {
	color: var(--knf-muted);
	font-size: 14px;
	margin: 0 0 16px;
}
#reviews #respond .comment-form-rating label {
	display: block;
	font-family: var(--knf-font-head);
	font-weight: 600;
	color: var(--knf-dark);
	margin: 0 0 6px;
}
#reviews #respond .comment-form-rating {
	margin-bottom: 16px;
}
#reviews #respond label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	color: var(--knf-dark);
}
#reviews #respond input[type="text"],
#reviews #respond input[type="email"],
#reviews #respond textarea {
	width: 100%;
	border: 1px solid var(--knf-line);
	border-radius: var(--knf-radius-sm);
	padding: 12px 14px;
	font-family: inherit;
	font-size: 15px;
	background: #fff;
	margin-bottom: 16px;
}
#reviews #respond input:focus,
#reviews #respond textarea:focus {
	outline: none;
	border-color: var(--knf-dark);
}
#reviews #respond .form-submit input {
	background: var(--knf-dark);
	color: #fff;
	border: 0;
	border-radius: 50px;
	padding: 13px 30px;
	font-family: var(--knf-font-head);
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: background var(--knf-trans);
}
#reviews #respond .form-submit input:hover {
	background: var(--knf-accent);
}

/* Product meta (SKU / category / tags) */
.single-product .product_meta {
	margin-top: 20px;
	font-size: 14px;
	color: var(--knf-muted);
}
.single-product .product_meta > span {
	display: block;
	padding: 4px 0;
}
.single-product .product_meta a {
	color: var(--knf-text);
}
.single-product .product_meta a:hover {
	color: var(--knf-accent);
}

/* Tabs -> centered underline nav + carded content panel (premium) */
.single-product .woocommerce-tabs {
	margin-top: 56px;
}
.single-product .woocommerce-tabs ul.tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 6px 36px;
	border-bottom: 1px solid var(--knf-line);
}
.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after {
	display: none;
}
.single-product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
}
.single-product .woocommerce-tabs ul.tabs li a {
	display: block;
	position: relative;
	padding: 16px 2px;
	font-family: var(--knf-font-head);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--knf-muted);
	margin-bottom: -1px;
	transition: color var(--knf-trans);
}
.single-product .woocommerce-tabs ul.tabs li a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--knf-dark);
	transform: scaleX(0);
	transition: transform var(--knf-trans);
}
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--knf-dark);
}
.single-product .woocommerce-tabs ul.tabs li.active a::after {
	transform: scaleX(1);
}

/* Tab content as a soft, centered card */
.single-product .woocommerce-tabs .wc-tab {
	margin: 32px 0 0;
	max-width: none;
	width: 100%;
	color: var(--knf-text);
	line-height: 1.85;
	background: #fff;
	border: 1px solid var(--knf-line);
	border-radius: var(--knf-radius);
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.05);
	padding: 48px 56px !important;
}
.single-product .woocommerce-tabs .wc-tab > :first-child {
	margin-top: 0;
}
.single-product .woocommerce-tabs .wc-tab > :last-child {
	margin-bottom: 0;
}
.single-product .woocommerce-tabs .wc-tab h2 {
	font-family: var(--knf-font-head);
	font-size: 22px;
	color: var(--knf-dark);
	margin: 0 0 14px;
}
.single-product .woocommerce-tabs .wc-tab h3,
.single-product .woocommerce-tabs .wc-tab h4 {
	font-family: var(--knf-font-head);
	font-size: 16px;
	color: var(--knf-dark);
	margin: 24px 0 10px;
}
.single-product .woocommerce-tabs .wc-tab strong {
	color: var(--knf-dark);
}
.single-product .woocommerce-tabs .wc-tab p {
	margin: 0 0 14px;
}
.single-product .woocommerce-tabs .wc-tab ul {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}
.single-product .woocommerce-tabs .wc-tab ul li {
	position: relative;
	padding-left: 24px;
	margin: 0 0 9px;
}
.single-product .woocommerce-tabs .wc-tab ul li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 11px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--knf-accent);
}
.single-product .woocommerce-tabs .wc-tab ol {
	margin: 0 0 16px;
	padding-left: 20px;
}
.single-product .woocommerce-tabs .wc-tab ol li {
	margin: 0 0 9px;
	padding-left: 6px;
}

/* Related / up-sells */
.single-product .related.products,
.single-product .up-sells.products {
	margin-top: 56px;
}
.single-product .related.products > h2,
.single-product .up-sells.products > h2 {
	font-family: var(--knf-font-head);
	font-size: clamp(22px, 2.5vw, 30px);
	color: var(--knf-dark);
	margin: 0 0 26px;
	text-align: center;
}

/* --- gallery: vertical thumbnail strip on the LEFT of the main image --- */
.single-product .woocommerce-product-gallery {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 14px;
}
.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
	order: 2;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs {
	order: 1;
	flex: 0 0 88px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li {
	width: 100% !important;
	margin: 0;
	list-style: none;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--knf-radius-sm);
	border: 1px solid var(--knf-line);
	opacity: 0.7;
	cursor: pointer;
	transition: opacity var(--knf-trans), border-color var(--knf-trans);
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img:hover,
.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	opacity: 1;
	border-color: var(--knf-dark);
}
.single-product .woocommerce-product-gallery {
	position: relative;
}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 4;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--knf-bg);
	box-shadow: var(--knf-shadow-sm);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* -------------------------------------------------------------------------
   7b. Shop toolbar — visible "Sort by:" label before the ordering dropdown
   ---------------------------------------------------------------------- */
.knf-shop-toolbar .woocommerce-ordering.knf-orderby {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}
.knf-orderby__label {
	font-family: var(--knf-font-head);
	font-size: 15px;
	color: var(--knf-dark);
	margin: 0;
	white-space: nowrap;
}

/* -------------------------------------------------------------------------
   8. Responsive
   ---------------------------------------------------------------------- */
@media (max-width: 900px) {
	.knf-cart-page {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.knf-cart-page .cart-collaterals {
		position: static;
	}
	.knf-checkout .woocommerce-checkout {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.knf-checkout #order_review_heading,
	.knf-checkout #order_review {
		grid-column: 1;
		position: static;
	}
	.knf-qv {
		grid-template-columns: 1fr;
	}
	.knf-qv__media {
		border-radius: var(--knf-radius) var(--knf-radius) 0 0;
		max-height: 320px;
	}
	.knf-qv__summary {
		padding: 28px 24px 30px;
	}
	/* Single product: stack gallery + summary. minmax(0,1fr) (NOT plain 1fr) so
	   the single column can shrink to the container — a plain 1fr keeps its
	   default min-width:auto and expands to the widest child's min-content,
	   pushing the summary ~25px past the padding where its text/buttons clip.
	   min-width:0 on the children lets them shrink and wrap instead. */
	.single-product div.product {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}
	.single-product div.product > * {
		min-width: 0;
	}
	.single-product div.product > .woocommerce-product-gallery,
	.single-product div.product > .summary {
		grid-column: 1 / -1;
	}
	/* Gallery on mobile: stack it — main image full-width on top, thumbnails as
	   a horizontal SCROLL strip below. (The desktop vertical thumb column is
	   taller than a short main image, which left a big empty gap beside it.)
	   align-items:stretch so the thumb strip takes the full gallery width (the
	   desktop rule sets flex-start, which left the strip at its 500px+ content
	   width and it got clipped instead of scrolling). */
	.single-product .woocommerce-product-gallery {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}
	.single-product .woocommerce-product-gallery .flex-viewport,
	.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
		order: 1;
		width: 100%;
	}
	/* width:100% + max-width caps the strip to the gallery; overflow-x:auto
	   !important beats FlexSlider's own `overflow:hidden` so the extra thumbs
	   SCROLL horizontally instead of being clipped off the right edge. */
	.single-product .woocommerce-product-gallery .flex-control-thumbs {
		order: 2;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		flex: 0 0 auto;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 10px;
		overflow-x: auto !important;
		overflow-y: hidden;
		padding-bottom: 6px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-color: #c3c5d2 transparent;
	}
	.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
		height: 5px;
	}
	.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb {
		background: #c3c5d2;
		border-radius: 3px;
	}
	.single-product .woocommerce-product-gallery .flex-control-thumbs li {
		flex: 0 0 64px;
		width: 64px !important;
	}
	.single-product .woocommerce-product-gallery img {
		max-width: 100%;
		height: auto;
	}
	/* Add-to-cart row: let the button shrink so qty + button never overflow. */
	.single-product form.cart:not(.variations_form) .single_add_to_cart_button,
	.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
		min-width: 0;
	}
	/* My account: stack sidebar + content */
	.woocommerce-account.logged-in .woocommerce {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation {
		position: static;
		top: auto;
	}
	.woocommerce-account .addresses .col2-set,
	.woocommerce-account .woocommerce-Addresses.col2-set,
	.woocommerce-account:not(.logged-in) #customer_login.col2-set {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.knf-cart-drawer__panel {
		width: 100vw;
	}
	.woocommerce .knf-cart-page .actions > .button[name="update_cart"],
	.woocommerce .knf-cart-page .actions > button[name="update_cart"] {
		float: none;
		width: 100%;
		margin-top: 10px;
	}
	.woocommerce .knf-cart-page .actions .coupon .input-text,
	.woocommerce .knf-cart-page .actions .coupon #coupon_code {
		min-width: 0;
		flex: 1;
	}
}

/* -------------------------------------------------------------------------
   9. RTL adjustments
   ---------------------------------------------------------------------- */
.rtl .knf-cart-drawer__panel {
	right: auto;
	left: 0;
	transform: translateX(-100%);
}
.rtl .knf-cart-drawer.is-open .knf-cart-drawer__panel {
	transform: translateX(0);
}
.rtl .knf-mini-cart__item {
	padding: 18px 0 18px 28px;
}
.rtl .knf-mini-cart__item a.remove,
.rtl .knf-mini-cart__item a.remove_from_cart_button {
	right: auto;
	left: 0;
}
.rtl .knf-quickview__close {
	right: auto;
	left: 14px;
}
.rtl .knf-qv__media {
	border-radius: 0 var(--knf-radius) var(--knf-radius) 0;
}
.rtl .woocommerce .knf-cart-page .actions > .button[name="update_cart"],
.rtl .woocommerce .knf-cart-page .actions > button[name="update_cart"] {
	float: left;
}

/* -------------------------------------------------------------------------
   TI WooCommerce Wishlist — restyle to match the theme
   ---------------------------------------------------------------------- */
.tinv-wishlist {
	font-family: var(--knf-font-body);
	font-size: 15px;
}
.tinv-wishlist table.tinvwl-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 24px;
	border: 1px solid var(--knf-line);
	border-radius: var(--knf-radius);
	overflow: hidden;
}
.tinv-wishlist table.tinvwl-table thead th {
	font-family: var(--knf-font-head);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--knf-muted);
	padding: 16px 18px;
	border: none;
	border-bottom: 1px solid var(--knf-line);
	background: var(--knf-bg-soft);
	text-align: left;
}
.tinv-wishlist table.tinvwl-table tbody td {
	padding: 18px;
	border: none;
	border-bottom: 1px solid var(--knf-line);
	vertical-align: middle;
	background: transparent;
}
.tinv-wishlist table.tinvwl-table tbody tr:last-child td {
	border-bottom: none;
}
.tinv-wishlist .product-thumbnail img {
	width: 72px;
	height: 92px;
	object-fit: cover;
	border-radius: var(--knf-radius-sm);
	background: var(--knf-bg-soft);
}
.tinv-wishlist .product-name a {
	font-family: var(--knf-font-head);
	font-weight: 500;
	color: var(--knf-dark);
}
.tinv-wishlist .product-name a:hover {
	color: var(--knf-accent);
}
.tinv-wishlist .product-price,
.tinv-wishlist .product-price .amount {
	font-family: var(--knf-font-head);
	color: var(--knf-dark);
}
.tinv-wishlist .product-price del {
	color: var(--knf-muted);
	font-weight: 400;
	margin-right: 6px;
}
.tinv-wishlist .product-price ins {
	color: var(--knf-accent);
	text-decoration: none;
}
.tinv-wishlist .product-stock .stock {
	color: var(--knf-text);
}

/* remove (×) — small circle */
.tinv-wishlist .product-remove button,
.tinv-wishlist .product-remove .button {
	width: 30px !important;
	height: 30px !important;
	min-width: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: var(--knf-bg-soft) !important;
	color: var(--knf-muted) !important;
	border: none !important;
	box-shadow: none !important;
	line-height: 1 !important;
}
.tinv-wishlist .product-remove button:hover,
.tinv-wishlist .product-remove .button:hover {
	background: var(--knf-accent) !important;
	color: #fff !important;
}

/* all action buttons -> theme pill (kills the odd round "Add to Cart") */
.tinv-wishlist .button,
.tinv-wishlist button.button,
.tinv-wishlist .tinvwl_added_to_cart,
.tinv-wishlist .product-action .button,
.tinv-wishlist .tinvwl-table-manage-list .button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	background: var(--knf-dark) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 50px !important;
	padding: 12px 24px !important;
	font-family: var(--knf-font-head);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	box-shadow: none !important;
	white-space: nowrap;
}
.tinv-wishlist .button:hover,
.tinv-wishlist button.button:hover,
.tinv-wishlist .product-action .button:hover,
.tinv-wishlist .tinvwl-table-manage-list .button:hover {
	background: var(--knf-accent) !important;
	color: #fff !important;
}
.tinv-wishlist .product-action .button .ftinvwl,
.tinv-wishlist .button .ftinvwl {
	font-size: 15px;
}

/* Apply Action select */
.tinv-wishlist select {
	border: 1px solid var(--knf-line);
	border-radius: 50px;
	padding: 12px 18px;
	height: auto;
	font-family: var(--knf-font-head);
	background: #fff;
	color: var(--knf-text);
}

/* bottom rows spacing */
.tinv-wishlist .tinvwl-table-manage-list,
.tinv-wishlist .tinvwl-buttons-group {
	gap: 12px;
}
/* Wishlist "share" email input — fixed comfortable height. */
.tinvwl-input-group .form-control {
	height: 47px !important;
}
.tinv-wishlist .social-buttons ul {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}
.tinv-wishlist .social-buttons li a {
	width: 38px;
	height: 38px;
	border: 1px solid var(--knf-line);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--knf-dark);
	transition: all var(--knf-trans);
}
.tinv-wishlist .social-buttons li a:hover {
	background: var(--knf-accent);
	border-color: var(--knf-accent);
	color: #fff;
}

/* -------------------------------------------------------------------------
   Elementor buttons — match the theme (dark pill, accent hover)
   ---------------------------------------------------------------------- */
.elementor-button,
.elementor-button.elementor-button-info,
.elementor-button.elementor-button-success,
.elementor-button.elementor-button-default {
	background-color: var(--knf-dark);
	color: #fff;
	border-radius: 50px;
	font-family: var(--knf-font-head);
	font-weight: 500;
	letter-spacing: 0.01em;
	transition: background-color var(--knf-trans), color var(--knf-trans);
}
.elementor-button:hover,
.elementor-button.elementor-button-info:hover,
.elementor-button.elementor-button-success:hover,
.elementor-button.elementor-button-default:hover {
	background-color: var(--knf-accent);
	color: #fff;
}

/* -------------------------------------------------------------------------
   10. AJAX loading state (add-to-cart / cart & fragment refresh)
   ---------------------------------------------------------------------- */
.blockUI.blockOverlay {
	background: rgba(255, 255, 255, 0.6) !important;
}
.woocommerce .button.loading,
.woocommerce a.button.loading,
.woocommerce .knf-card__actions .button.loading {
	opacity: 0.85;
	color: transparent !important;
}
.woocommerce .button.loading::after {
	/* WC core's loader is an icon-font glyph whose colour comes from `color`;
	   the parent's `color:transparent` would hide it, so set it explicitly. */
	color: var(--knf-accent) !important;
}
.woocommerce .knf-card__actions .button.added::after,
.woocommerce a.added::after {
	color: var(--knf-accent);
}

/* Wishlist table scrolls horizontally on small screens instead of squishing. */
@media (max-width: 600px) {
	.tinv-wishlist {
		overflow-x: auto;
	}
	.tinv-wishlist table.tinvwl-table {
		min-width: 540px;
	}
}

/* Keep the My-Account 2-column layout down to tablet width (stack only on phones). */
@media (min-width: 760px) {
	.woocommerce-account.logged-in .woocommerce { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; }
	.woocommerce-account .woocommerce-MyAccount-navigation { position: sticky; top: 100px; }
}
/* ===== Track Your Order (woocommerce_order_tracking) ===== */
.woocommerce form.track_order { max-width: 620px; margin: 0 auto; }
.woocommerce form.track_order p { margin: 0 0 18px; }
.woocommerce form.track_order label { display: block; font-family: var(--knf-font-head); font-weight: 500; font-size: 14px; color: var(--knf-dark); margin-bottom: 7px; }
.woocommerce form.track_order .input-text { width: 100%; padding: 12px 16px; border: 1px solid var(--knf-line); border-radius: var(--knf-radius-sm, 8px); font-size: 14px; background: #fff; color: var(--knf-dark); }
.woocommerce form.track_order .input-text:focus { outline: none; border-color: var(--knf-accent); }
.woocommerce form.track_order p.form-row, .woocommerce form.track_order .form-row { padding: 0; }
.woocommerce form.track_order button.button {
	-webkit-appearance: none; appearance: none;
	background: var(--knf-dark); color: #fff; border: 0; border-radius: 50px;
	padding: 13px 38px; font-family: var(--knf-font-head); font-weight: 500;
	font-size: 14px; letter-spacing: .02em; cursor: pointer; transition: background var(--knf-trans);
}
.woocommerce form.track_order button.button:hover { background: var(--knf-accent); }
.woocommerce .woocommerce-order-overview { border: 1px solid var(--knf-line); border-radius: var(--knf-radius, 12px); padding: 22px 26px; margin-top: 26px; list-style: none; display: flex; flex-wrap: wrap; gap: 22px; }
.woocommerce .woocommerce-order-overview li { font-size: 14px; color: var(--knf-muted); border: 0; padding: 0; }
.woocommerce .woocommerce-order-overview li strong { display: block; font-size: 16px; color: var(--knf-dark); margin-top: 3px; }