/*
 * KWKWNA — shop styles: product cards, shop & category pages with filters, product page,
 * mini cart and search results. Loaded after style.css; every colour reads the theme tokens
 * (fixit-core Site Settings), so the admin palette still applies.
 */

/* Shared ------------------------------------------------------------------------------------------ */

.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; }
.t-wc-archive, .t-wc-single { background: var(--kw-bg); padding-top: 24px; }
.t-wc-archive .t-container, .t-wc-single .t-container { max-width: var(--kw-wrap); }
.woocommerce-breadcrumb { margin: 0 0 18px; font-size: 13px; font-weight: 600; color: var(--kw-muted); }
.woocommerce-breadcrumb a { color: var(--kw-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kw-ink); }

/* Price: current price first and bold, the old one small and struck through after it. */
.price, .fx-product-card-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.price ins, .fx-product-card-price ins { order: 1; text-decoration: none; color: var(--kw-sale); }
.price del, .fx-product-card-price del { order: 2; font-size: .8em; font-weight: 600; color: var(--kw-muted); opacity: 1; }
.price ins .amount, .price > .amount { font-weight: 800; }

/* Colour dots --------------------------------------------------------------------------------------- */

.fx-swatch { --fx-sw: #ccc; position: relative; display: inline-block; flex: none; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--fx-sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); cursor: pointer; }
.fx-swatch::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; transition: border-color .2s; }
.fx-swatch:hover::after { border-color: color-mix(in srgb, var(--kw-ink) 25%, transparent); }
.fx-swatch.is-active::after { border-color: var(--kw-ink); }

.fx-card-swatches { display: flex; align-items: center; gap: 2px; min-height: 26px; margin: 0 0 4px -5px; }
.fx-card-swatches .fx-swatch, .fx-card-swatches [data-value] { width: 26px; height: 26px; background: none; box-shadow: none; display: grid; place-items: center; }
.fx-card-swatches .fx-swatch::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--fx-sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.fx-card-swatches .fx-swatch::after { inset: 4px; border-width: 1.5px; }
.fx-card-swatches-more { margin-left: 4px; font-size: 12px; font-weight: 700; color: var(--kw-muted); }

/* Product card ----------------------------------------------------------------------------------------- */
/* A white card: photo on a soft backdrop, colour dots, name, category, and a footer with price and «+». */

.fx-product-card { position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 8px; list-style: none; border-radius: 24px; background: #fff; color: var(--kw-ink); transition: box-shadow .35s var(--kw-ease), transform .35s var(--kw-ease); }
/* fixit-core clears the card background (li.product.fx-product-card); same specificity, loaded later. */
.woocommerce ul.products li.product.fx-product-card { border-radius: 24px; background: #fff; }
.fx-product-card:hover { box-shadow: 0 30px 50px -34px rgba(40, 25, 10, .45); transform: translateY(-3px); }
.woocommerce ul.products li.fx-product-card { width: auto !important; float: none !important; margin: 0 !important; padding: 8px !important; text-align: left; }
.fx-product-card-media { position: relative; z-index: 2; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 18px; background: var(--kw-bg); }
.fx-product-card-image-link { position: absolute; inset: 0; display: block; }
.fx-product-card-media img, .woocommerce ul.products li.product .fx-product-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 0; aspect-ratio: auto; transition: transform .9s var(--kw-ease), opacity .4s; }
.fx-product-card:hover .fx-product-card-media img { transform: scale(1.04); }
.fx-product-card-img--alt { opacity: 0; }
.fx-product-card.has-alt-image:hover .fx-product-card-img--alt { opacity: 1; }
.fx-product-card-badge { position: absolute; top: 10px; left: 10px; z-index: 3; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--kw-ink); color: #fff; }
.fx-product-card-badge--sale { background: var(--kw-sale); }
.fx-product-card-body { display: flex; flex: 1; flex-direction: column; gap: 2px; padding: 10px 6px 4px; }
.fx-product-card-body .fx-card-swatches { order: 0; margin-bottom: 2px; }
.fx-product-card-title { order: 1; margin: 0; font-family: var(--kw-body); font-size: 15px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.fx-product-card-title a { color: inherit; text-decoration: none; }
.fx-product-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fx-product-card-cat { order: 2; font-size: 12.5px; font-weight: 600; color: var(--kw-muted); }
.fx-product-card-foot { order: 3; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.fx-product-card-price { display: flex; flex-direction: column; gap: 0; font-size: 16px; font-weight: 800; line-height: 1.2; color: var(--kw-ink); }
.fx-product-card-price del { order: 2; font-size: 12.5px; }
.fx-product-card-price ins { order: 1; }
.fx-product-card-price .screen-reader-text { position: absolute; }
/* A price range (grouped products) stays on one line instead of stacking «from», dash and «to». */
.fx-product-card-price:not(:has(del)) { flex-direction: row; flex-wrap: wrap; column-gap: 4px; }

/* «Buy» button: a static text pill */
.fx-card-add-wrap { position: relative; z-index: 4; flex: none; }
.fx-card-add { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 40px; min-height: 0; padding: 0 18px; border: 0; border-radius: 999px; background: var(--kw-ink); color: #fff; font-family: var(--kw-body); font-size: 14px; font-weight: 800; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.fx-card-add:hover, .fx-card-add:focus-visible { background: var(--kw-accent); color: var(--kw-ink); }
.fx-card-add.loading, .fx-card-add.is-loading { opacity: .6; pointer-events: none; }
.fx-product-card a.added_to_cart { display: none !important; }

/* Option dialog (fx-card-add.js): a centred card on desktop, a bottom sheet on phones */
html.fx-qa-open { overflow: hidden; }
.fx-qa { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 20px; }
.fx-qa[hidden] { display: none; }
.fx-qa-backdrop { position: absolute; inset: 0; background: rgba(20, 14, 10, .5); opacity: 0; transition: opacity .25s; }
.fx-qa-panel { position: relative; display: flex; flex-direction: column; width: min(520px, 100%); max-height: min(720px, calc(100vh - 40px)); border-radius: 28px; background: var(--kw-bg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .25s, transform .3s var(--kw-ease); }
.fx-qa.is-visible .fx-qa-backdrop { opacity: 1; }
.fx-qa.is-visible .fx-qa-panel { opacity: 1; transform: none; }
.fx-qa-head { display: flex; align-items: center; gap: 14px; padding: 16px 16px 12px; }
.fx-qa-img { flex: none; width: 76px; height: 76px; border-radius: 16px; object-fit: cover; background: #fff; }
.fx-qa-meta { display: grid; gap: 2px; min-width: 0; flex: 1; }
.fx-qa-meta strong { font-family: var(--kw-heading); font-size: 19px; line-height: 1.15; letter-spacing: -.02em; }
.fx-qa-price { font-size: 15px; font-weight: 800; color: var(--kw-muted); }
.fx-qa-close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; align-self: flex-start; border: 0; border-radius: 50%; background: #fff; color: var(--kw-ink); cursor: pointer; }
.fx-qa-body { display: grid; gap: 18px; padding: 8px 16px 16px; overflow-y: auto; overscroll-behavior: contain; }
.fx-qa-field { margin: 0; padding: 14px; border: 0; border-radius: 20px; background: #fff; }
.fx-qa-field legend { float: left; width: 100%; margin: 0 0 10px; padding: 0; font-size: 14px; font-weight: 800; }
.fx-qa-chosen { font-weight: 600; color: var(--kw-muted); }
.fx-qa-chosen:not(:empty)::before { content: "· "; }
.fx-qa-group { clear: both; display: block; margin: 10px 0 6px; font-size: 12px; font-weight: 700; color: var(--kw-muted); }
.fx-qa-field legend + .fx-qa-group { margin-top: 0; }
.fx-qa-options { clear: both; display: flex; flex-wrap: wrap; gap: 6px; }
.fx-qa-option { min-height: 40px; padding: 0 14px; border: 1.5px solid var(--kw-line); border-radius: 999px; background: #fff; color: var(--kw-ink); font-family: var(--kw-body); font-size: 14px; font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.fx-qa-option:hover:not(:disabled) { border-color: var(--kw-ink); }
.fx-qa-option.is-active { border-color: var(--kw-ink); background: var(--kw-ink); color: #fff; }
.fx-qa-option:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.fx-qa-field--swatches .fx-qa-options { gap: 10px; padding: 2px; }
.fx-qa-swatch { position: relative; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--fx-sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); cursor: pointer; }
.fx-qa-swatch::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; }
.fx-qa-swatch.is-active::after { border-color: var(--kw-ink); }
.fx-qa-swatch:disabled { opacity: .3; cursor: not-allowed; }
.fx-qa-foot { display: grid; gap: 6px; padding: 12px 16px 16px; border-top: 1px solid var(--kw-line); }
.fx-qa-msg { margin: 0; font-size: 13px; font-weight: 700; color: var(--kw-sale); text-align: center; }
.fx-qa-msg:empty { display: none; }
.fx-qa-add { min-height: 56px; border: 0; border-radius: 999px; background: var(--kw-ink); color: #fff; font-family: var(--kw-body); font-size: 16px; font-weight: 800; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.fx-qa-add:hover:not(:disabled) { background: var(--kw-accent); color: var(--kw-ink); }
.fx-qa-add:disabled { opacity: .45; cursor: not-allowed; }
.fx-qa-add.is-loading { opacity: .6; }
@media (max-width: 700px) {
	.fx-qa { align-items: end; padding: 0; }
	.fx-qa-panel { width: 100%; max-height: 88vh; border-radius: 26px 26px 0 0; transform: translateY(100%); }
	.fx-qa.is-visible .fx-qa-panel { transform: none; }
	.fx-qa-head::before { content: ""; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--kw-line); }
	.fx-qa-head { padding-top: 20px; }
	.fx-qa-img { width: 64px; height: 64px; }
	.fx-qa-foot { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* Product grids */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.fx-shop-main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related.products ul.products, .upsells.products ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fx-products .fx-track { --fx-gap: 20px; }
@media (max-width: 1180px) {
	.woocommerce ul.products, .fx-shop-main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.fx-shop-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.woocommerce ul.products, .fx-shop-main ul.products, .related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	.fx-product-card-media { border-radius: 16px; }
	.fx-product-card-title { font-size: 14px; }
	.fx-product-card-cat { font-size: 12px; }
	.fx-product-card-price { font-size: 14.5px; }
	.fx-card-add { height: 36px; padding: 0 14px; font-size: 13px; }
	.fx-products .fx-track--carousel, .fx-products .fx-track--carousel_mobile { grid-auto-columns: 62%; }
}

/* Shop & category pages ------------------------------------------------------------------------------ */

.t-wc-archive .page-title, .t-wc-archive .woocommerce-products-header__title { margin: 0 0 10px; font-size: clamp(38px, 5vw, 68px); }
.t-wc-archive .term-description { max-width: 700px; margin: 0 0 24px; font-size: 16px; line-height: 1.65; color: var(--kw-muted); }
.t-wc-archive .term-description p { margin: 0; }
.fx-subcats { display: flex; gap: 8px; margin: 0 0 28px; overflow-x: auto; scrollbar-width: none; }
.fx-subcat { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--kw-ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.fx-subcat:hover { background: var(--kw-surface); }
.fx-subcat.is-active { background: var(--kw-ink); color: #fff; }

.fx-filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin: 0 0 20px; padding: 0 0 16px; border-bottom: 1px solid var(--kw-line); }
.fx-filter-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--kw-ink); color: #fff; font-family: var(--kw-body); font-size: 14px; font-weight: 800; cursor: pointer; }
.fx-filter-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--kw-accent); color: var(--kw-ink); font-size: 11px; font-weight: 800; }
.fx-filter-total { font-size: 14px; font-weight: 700; color: var(--kw-muted); }
.fx-filter-sort { margin-left: auto; }
.fx-filter-sort .woocommerce-ordering { margin: 0; float: none; }
.fx-filter-sort select, .woocommerce-ordering select { min-height: 42px; padding: 0 38px 0 16px; border: 0; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 16px center; font-size: 14px; font-weight: 700; color: var(--kw-ink); -webkit-appearance: none; appearance: none; cursor: pointer; }
.fx-filter-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 20px; }
.fx-filter-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px 0 14px; border-radius: 999px; background: var(--kw-ink); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.fx-filter-pill .amount { color: inherit; }
.fx-filter-clear { font-size: 13px; font-weight: 800; color: var(--kw-sale); text-decoration: underline; text-underline-offset: 3px; }

.fx-shop-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
.fx-filter-panel { background: #fff; border-radius: 20px; box-shadow: none; }
.fx-filter-panel--sidebar { position: sticky; top: calc(var(--fx-header-height, 76px) + 16px); max-height: calc(100vh - var(--fx-header-height, 76px) - 32px); overflow-y: auto; padding: 18px 18px 8px; scrollbar-width: thin; }
.fx-filter-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.fx-filter-group { padding: 16px 0; border: 0; border-top: 1px solid var(--kw-line); }
.fx-filter-groups > :first-child { border-top: 0; padding-top: 0; }
.fx-filter-group > summary { display: flex; align-items: center; gap: 8px; margin: 0; list-style: none; cursor: pointer; font-family: var(--kw-body); font-size: 15px; font-weight: 800; color: var(--kw-ink); }
.fx-filter-group > summary::-webkit-details-marker { display: none; }
.fx-filter-group > summary::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s; }
.fx-filter-group:not([open]) > summary::after { transform: rotate(-45deg); }
.fx-filter-group-body { padding-top: 12px; }
.fx-filter-subgroup + .fx-filter-subgroup { margin-top: 10px; }
.fx-filter-subgroup-label { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 700; color: var(--kw-muted); }
.fx-filter-options { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-filter-option { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 11px; border: 0; border-radius: 999px; background: var(--kw-bg); color: var(--kw-ink); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.fx-filter-option:hover { background: var(--kw-surface); }
.fx-filter-option.is-active { background: var(--kw-ink); color: #fff; }
.fx-filter-option svg { width: 12px; height: 12px; }
.fx-filter-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--fx-sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.fx-filter-sale { margin-top: 14px; }
.fx-shop-main { min-width: 0; }

/* Search box in the filters */
.fx-filter-search { position: relative; display: flex; align-items: center; margin: 0 0 16px; }
.fx-filter-search svg { position: absolute; left: 14px; z-index: 1; color: var(--kw-muted); pointer-events: none; }
.fx-filter-search input[type="search"] { width: 100%; min-height: 42px; padding: 0 14px 0 40px !important; border: 0 !important; border-radius: 999px !important; background: var(--kw-bg) !important; font-size: 14px !important; font-weight: 600; box-shadow: none; }
.fx-filter-search input[type="search"]:focus { box-shadow: 0 0 0 2px var(--kw-ink) !important; }

/* Price range: a clean track with two thumbs and two small number fields. */
.fx-price-slider { --lo: 0%; --hi: 100%; position: relative; height: 24px; margin: 2px 9px 12px; }
.fx-price-slider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: linear-gradient(90deg, var(--kw-line) var(--lo), var(--kw-ink) var(--lo), var(--kw-ink) var(--hi), var(--kw-line) var(--hi)); }
.fx-price-slider input[type="range"] { position: absolute; top: 0; left: -9px; width: calc(100% + 18px); height: 24px; min-height: 0; margin: 0; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.fx-price-slider input[type="range"]::-webkit-slider-runnable-track { height: 24px; background: transparent; border: 0; }
.fx-price-slider input[type="range"]::-moz-range-track { height: 24px; background: transparent; border: 0; }
.fx-price-slider input[type="range"]::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--kw-ink); border-radius: 50%; background: #fff; pointer-events: auto; cursor: grab; -webkit-appearance: none; appearance: none; }
.fx-price-slider input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid var(--kw-ink); border-radius: 50%; background: #fff; pointer-events: auto; cursor: grab; }
.fx-price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fx-price-inputs label { position: relative; display: grid; gap: 4px; margin: 0; font-size: 12px; font-weight: 700; color: var(--kw-muted); }
.fx-price-inputs input[type="number"] { width: 100%; min-height: 38px; padding: 0 24px 0 12px !important; border: 0 !important; border-radius: 10px !important; background: var(--kw-bg) !important; font-size: 14px !important; font-weight: 700; color: var(--kw-ink); box-shadow: none; -moz-appearance: textfield; appearance: textfield; }
.fx-price-inputs input::-webkit-outer-spin-button, .fx-price-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fx-price-inputs em { position: absolute; right: 10px; bottom: 10px; font-style: normal; font-weight: 700; color: var(--kw-muted); }
.fx-price-apply { width: 100%; min-height: 38px; margin-top: 10px; border: 0; border-radius: 999px; background: var(--kw-ink); color: #fff; font-family: var(--kw-body); font-size: 13px; font-weight: 800; cursor: pointer; }
.fx-price-apply:hover { background: var(--kw-accent); color: var(--kw-ink); }

@media (min-width: 901px) {
	.fx-filter-bar--sidebar .fx-filter-toggle, .fx-filter-panel--sidebar .fx-filter-panel-head, .fx-filter-panel--sidebar .fx-filter-panel-foot { display: none; }
}
@media (max-width: 900px) {
	.fx-shop-layout { display: block; }
	.fx-filter-sort { margin-left: auto; }
	.fx-filter-panel--sidebar { display: none; position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 10001; max-height: 86vh; padding: 0; border-radius: 24px 24px 0 0; }
	.fx-filter-panel--sidebar.is-open { display: flex; flex-direction: column; }
	.fx-filter-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--kw-line); font-size: 17px; }
	.fx-filter-close { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--kw-bg); color: var(--kw-ink); }
	.fx-filter-panel--sidebar .fx-filter-groups { overflow-y: auto; padding: 16px 20px; }
	.fx-filter-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-top: 1px solid var(--kw-line); }
	.fx-filter-done { min-height: 48px; padding: 0 22px; }
	body.fx-filters-open .fx-filter-backdrop { display: block; position: fixed; inset: 0; z-index: 10000; background: rgba(20, 14, 10, .45); }
	body.fx-filters-open { overflow: hidden; }
}
@media (max-width: 520px) { .fx-filter-sort { flex: 1 1 100%; margin-left: 0; } .fx-filter-sort select { width: 100%; } }
.woocommerce nav.woocommerce-pagination { margin-top: 48px; }
.woocommerce nav.woocommerce-pagination ul { display: inline-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 { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px; background: #fff; color: var(--kw-ink); font-weight: 800; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--kw-ink); color: #fff; }

/* Search results header */
.search .t-wc-archive .page-title { font-size: clamp(30px, 3.6vw, 48px); }
.fx-product-search { display: flex; gap: 8px; max-width: 640px; margin: 0 0 28px; }
.fx-product-search input[type="search"] { flex: 1; min-height: 52px; padding: 0 22px !important; border: 0 !important; border-radius: 999px !important; background: #fff; font-size: 16px !important; box-shadow: none; }
.fx-product-search .t-btn-primary { min-height: 52px; padding: 0 26px; }

/* Product page ------------------------------------------------------------------------------------------ */

.t-wc-single div.product { position: relative; display: block; }
.t-wc-single .fx-pdp-top { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.t-wc-single .fx-pdp-top > div.images, body .t-wc-single .fx-pdp-top > div.images.woocommerce-product-gallery { position: sticky; top: calc(var(--fx-header-height, 76px) + 20px); grid-column: 1; grid-row: 1; float: none; width: 100%; margin: 0; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; opacity: 1; }
.t-wc-single .fx-pdp-top > .summary { grid-column: 2; grid-row: 1; float: none !important; width: 100% !important; margin: 0 !important; }
.t-wc-single .fx-pdp-top .flex-viewport, .t-wc-single .fx-pdp-top .woocommerce-product-gallery__wrapper { grid-column: 2; grid-row: 1; overflow: hidden; border-radius: 24px; background: var(--kw-surface); }
.t-wc-single .fx-pdp-top .woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.t-wc-single .fx-pdp-top .flex-control-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; max-height: 620px; overflow-y: auto; scrollbar-width: none; list-style: none; }
.t-wc-single .fx-pdp-top .flex-control-thumbs li { width: 76px !important; float: none !important; margin: 0; }
.t-wc-single .fx-pdp-top .flex-control-thumbs img { display: block; width: 76px; height: 76px; object-fit: cover; border-radius: 14px; border: 2px solid transparent; opacity: .6; cursor: pointer; transition: opacity .2s, border-color .2s; }
.t-wc-single .fx-pdp-top .flex-control-thumbs img.flex-active, .t-wc-single .fx-pdp-top .flex-control-thumbs img:hover { opacity: 1; border-color: var(--kw-ink); }
.t-wc-single .woocommerce-product-gallery__trigger { top: 16px; right: 16px; left: auto; z-index: 5; width: 40px !important; height: 40px !important; border-radius: 50%; background: #fff; }
.t-wc-single .fx-pdp-top > .onsale { position: absolute; top: 16px !important; left: calc(76px + 12px + 16px) !important; right: auto !important; z-index: 6; min-width: 0 !important; min-height: 0 !important; height: 28px; margin: 0 !important; padding: 0 12px !important; border-radius: 999px !important; background: var(--kw-sale) !important; color: #fff !important; font-size: 13px !important; font-weight: 800; line-height: 28px !important; }

.summary .product_title { margin: 0 0 10px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.02; letter-spacing: -.035em; }
.summary > .price { margin: 0 0 18px; font-family: var(--kw-heading); font-size: 28px !important; color: var(--kw-ink); }
.woocommerce-product-details__short-description { margin: 0 0 22px; padding: 0 0 22px; border-bottom: 1px solid var(--kw-line); font-size: 15.5px; line-height: 1.6; color: color-mix(in srgb, var(--kw-ink) 78%, transparent); }
.woocommerce-product-details__short-description p { margin: 0 0 12px; }
.woocommerce-product-details__short-description ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.woocommerce-product-details__short-description li { position: relative; padding-left: 26px; }
.woocommerce-product-details__short-description li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--kw-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }

.variations_form .variations { width: 100%; margin: 0 0 10px !important; border: 0; border-collapse: collapse; }
.variations_form .variations tbody { display: grid; gap: 20px; }
.variations_form .variations tr { display: grid; gap: 10px; }
.variations_form .variations th, .variations_form .variations td { display: block; padding: 0; border: 0; background: none; text-align: left; }
.variations_form .variations th label { font-size: 14px; font-weight: 800; color: var(--kw-ink); }
.fx-chosen { margin-left: 4px; font-weight: 600; color: var(--kw-muted); }
.fx-chosen:not(:empty)::before { content: "· "; }
.variations_form .variations select:not(.fx-has-swatches) { width: 100%; min-height: 54px; padding: 0 44px 0 18px !important; border: 1.5px solid var(--kw-line); border-radius: 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 18px center !important; font-size: 15px; font-weight: 700; color: var(--kw-ink); -webkit-appearance: none; appearance: none; cursor: pointer; }
.variations_form .variations select:not(.fx-has-swatches):focus { border-color: var(--kw-ink) !important; box-shadow: none !important; }
.variations_form select.fx-has-swatches { position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.fx-variation-swatches { display: flex; flex-wrap: wrap; gap: 12px; padding: 4px; }
.fx-variation-swatches .fx-swatch { width: 34px; height: 34px; }
.reset_variations { display: none !important; }
.woocommerce-variation-price { margin: 0 0 12px; }
.woocommerce-variation-price .price { font-size: 20px; }

.woocommerce div.product form.cart { margin: 16px 0 0; }
.woocommerce-variation-add-to-cart, .woocommerce div.product form.cart:not(.variations_form) { display: flex; align-items: stretch; gap: 10px; }
.woocommerce div.product form.cart .quantity { display: inline-flex; align-items: center; flex: none; min-height: 56px; margin: 0 !important; border: 1.5px solid var(--kw-line); border-radius: 999px; background: #fff; overflow: hidden; }
.woocommerce div.product form.cart .quantity .qty { width: 40px !important; min-height: 0; height: 52px; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; font-size: 16px; font-weight: 800; -moz-appearance: textfield; appearance: textfield; }
.woocommerce div.product form.cart .quantity .qty::-webkit-outer-spin-button, .woocommerce div.product form.cart .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fx-qty-btn { display: grid; place-items: center; width: 42px; height: 52px; padding: 0; border: 0; background: none; color: var(--kw-ink); cursor: pointer; }
.fx-qty-btn:hover { background: var(--kw-bg); }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1 1 0; min-width: 0; min-height: 56px; padding: 0 18px; border-radius: 999px; font-size: 16px; }
.woocommerce div.product form.cart .single_add_to_cart_button.disabled { opacity: .5 !important; }
/* Grouped product: one row per item (quantity, name, price), the button full width underneath. */
.woocommerce div.product form.grouped_form { flex-direction: column; }
.woocommerce div.product form.grouped_form .group_table { width: 100%; margin: 0; border: 0; border-collapse: separate; border-spacing: 0 8px; }
.woocommerce div.product form.grouped_form .group_table td { padding: 0 0 0 12px; border: 0; vertical-align: middle; background: none; }
.woocommerce div.product form.grouped_form .group_table td:first-child { width: 1%; padding-left: 0; }
.woocommerce div.product form.grouped_form .group_table .quantity { min-height: 48px; }
.woocommerce div.product form.grouped_form .group_table .quantity .qty { height: 44px; }
.woocommerce div.product form.grouped_form .woocommerce-grouped-product-list-item__label a { font-weight: 700; color: var(--kw-ink); text-decoration: none; }
.woocommerce div.product form.grouped_form .woocommerce-grouped-product-list-item__price { text-align: right; white-space: nowrap; font-weight: 800; }
.woocommerce div.product form.grouped_form .woocommerce-grouped-product-list-item__price .stock { margin: 2px 0 0; font-size: 12.5px; font-weight: 600; }
.woocommerce div.product form.grouped_form .single_add_to_cart_button { flex: none; width: 100%; }

.fx-trust-list { display: grid; gap: 10px; margin: 20px 0 0; padding: 16px 18px; border-radius: 18px; background: #fff; list-style: none; }
.fx-trust-list li { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; font-weight: 600; color: var(--kw-ink); }
.fx-trust-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--kw-bg); }
.product_meta { display: grid; gap: 4px; margin-top: 20px; font-size: 13px; color: var(--kw-muted); }
.product_meta a { color: var(--kw-ink); font-weight: 700; text-decoration: none; }

.t-wc-single .woocommerce-tabs { margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 6px; margin: 0 0 28px; padding: 0; overflow-x: auto; scrollbar-width: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { flex: none; margin: 0; padding: 0; border: 0 !important; border-radius: 999px; background: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 11px 20px; font-weight: 800; white-space: nowrap; color: var(--kw-muted) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--kw-ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce-Tabs-panel { max-width: 800px; font-size: 16px; line-height: 1.7; }
.woocommerce-Tabs-panel > h2:first-child { display: none; }
.woocommerce-Tabs-panel h3 { margin: 28px 0 10px; font-family: var(--kw-heading); font-size: 20px; }
.woocommerce-Tabs-panel ul { padding-left: 20px; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 12px 0; border: 0 !important; border-bottom: 1px solid var(--kw-line) !important; background: none !important; font-style: normal; text-align: left; }
.woocommerce table.shop_attributes th { width: 200px; font-weight: 600; color: var(--kw-muted); }
.woocommerce table.shop_attributes td p { margin: 0; }
.related.products, .upsells.products { margin-top: clamp(64px, 8vw, 112px); }
.related.products > h2, .upsells.products > h2 { margin: 0 0 24px; font-size: clamp(30px, 3.4vw, 46px); }

@media (max-width: 900px) {
	.t-wc-single .fx-pdp-top { display: block; }
	.t-wc-single .fx-pdp-top > div.images, body .t-wc-single .fx-pdp-top > div.images.woocommerce-product-gallery { position: relative; top: auto; display: block; }
	.t-wc-single .fx-pdp-top .flex-viewport { border-radius: 20px; }
	.t-wc-single .fx-pdp-top .flex-control-thumbs { flex-direction: row; max-height: none; margin-top: 10px !important; overflow-x: auto; }
	.t-wc-single .fx-pdp-top .flex-control-thumbs li, .t-wc-single .fx-pdp-top .flex-control-thumbs img { width: 64px !important; height: 64px; }
	.t-wc-single .fx-pdp-top > .onsale { left: 16px !important; }
	.t-wc-single .fx-pdp-top > .summary { margin-top: 24px !important; }
	.related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mini cart (fixit-core #fx-cart-sidebar) ------------------------------------------------------------------
   White panel, lines separated by hairlines, stepper + line total on one row, trash icon top right,
   free shipping progress on top and the checkout button pinned at the bottom. */
#fx-cart-sidebar-overlay { background: rgba(20, 14, 10, .42) !important; backdrop-filter: blur(2px); }
#fx-cart-sidebar-panel { display: flex; flex-direction: column; width: 440px !important; max-width: 100vw !important; background: #fff; border-radius: 24px 0 0 24px; box-shadow: -30px 0 60px -30px rgba(20, 14, 10, .45); }
#fx-cart-sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--kw-line); }
#fx-cart-sidebar-head strong { display: inline-flex; align-items: center; gap: 10px; font-family: var(--kw-heading); font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.fx-cart-sidebar-count:not(:empty) { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--kw-ink); color: #fff; font-family: var(--kw-body); font-size: 13px; font-weight: 800; letter-spacing: 0; }
#fx-cart-sidebar-close { display: grid !important; place-items: center; width: 40px; height: 40px; padding: 0 !important; border: 0; border-radius: 50%; background: var(--kw-bg) !important; color: var(--kw-ink); cursor: pointer; }
#fx-cart-sidebar-close:hover { background: var(--kw-ink) !important; color: #fff; }
#fx-cart-sidebar-body { display: flex; flex: 1; flex-direction: column; min-height: 0; overflow-y: auto; padding: 0 !important; }
#fx-cart-sidebar-body > .woocommerce, #fx-cart-sidebar-body .widget_shopping_cart, #fx-cart-sidebar-body .widget_shopping_cart_content { display: flex; flex: 1; flex-direction: column; min-height: 100%; margin: 0; }

.fx-mini-ship { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 10px; margin: 16px 24px 4px; padding: 14px 16px; border-radius: 16px; background: var(--kw-bg); color: var(--kw-ink); }
.fx-mini-ship p { margin: 0; font-size: 14px; font-weight: 600; }
.fx-mini-ship strong { font-weight: 800; }
.fx-mini-ship-bar { grid-column: 1 / -1; height: 6px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--kw-ink) 10%, transparent); }
.fx-mini-ship-bar span { display: block; height: 100%; border-radius: inherit; background: var(--kw-ink); transition: width .5s var(--kw-ease); }
.fx-mini-ship.is-done .fx-mini-ship-bar span { background: #2f8a4c; }
.fx-mini-ship.is-done svg { color: #2f8a4c; }

#fx-cart-sidebar-body .woocommerce-mini-cart { display: block; margin: 0; padding: 0 24px; list-style: none; }
#fx-cart-sidebar-body .woocommerce-mini-cart-item { position: relative; display: block; min-height: 116px; margin: 0; padding: 18px 36px 18px 100px; border: 0; border-bottom: 1px solid var(--kw-line); border-radius: 0; background: none; font-size: 14px; font-weight: 600; }
#fx-cart-sidebar-body .woocommerce-mini-cart-item:last-child { border-bottom: 0; }
#fx-cart-sidebar-body .woocommerce-mini-cart-item > a:not(.remove) { display: block; font-size: 15px; font-weight: 800; line-height: 1.3; color: var(--kw-ink); text-decoration: none; }
#fx-cart-sidebar-body .woocommerce-mini-cart-item > a:not(.remove):hover { text-decoration: underline; text-underline-offset: 3px; }
#fx-cart-sidebar-body .woocommerce-mini-cart-item img { position: absolute; z-index: 1; left: 0; top: 18px; width: 84px; height: 84px; margin: 0; object-fit: cover; border-radius: 14px; background: var(--kw-bg); }
#fx-cart-sidebar-body .woocommerce-mini-cart-item .variation { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 4px 0 0 !important; padding: 0 !important; border: 0 !important; text-align: left; font-size: 13px; color: var(--kw-muted); }
#fx-cart-sidebar-body .woocommerce-mini-cart-item .variation dt, #fx-cart-sidebar-body .woocommerce-mini-cart-item .variation dd { float: none !important; clear: none !important; margin: 0 !important; padding: 0 !important; font-weight: 600; }
#fx-cart-sidebar-body .woocommerce-mini-cart-item .variation dd p { margin: 0; }
#fx-cart-sidebar-body .woocommerce-mini-cart-item .variation dd + dt::before { content: "· "; }
#fx-cart-sidebar-body .woocommerce-mini-cart-item .quantity { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px -36px 0 0; font-size: 15px; font-weight: 700; color: var(--kw-ink); }
#fx-cart-sidebar-body .woocommerce-mini-cart-item a.remove { position: absolute; top: 14px; right: -6px; left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: none; color: var(--kw-muted) !important; font-size: 0; line-height: 1; }
#fx-cart-sidebar-body .woocommerce-mini-cart-item a.remove svg { width: 18px; height: 18px; }
#fx-cart-sidebar-body .woocommerce-mini-cart-item a.remove:hover { background: color-mix(in srgb, var(--kw-sale) 10%, #fff) !important; color: var(--kw-sale) !important; }

#fx-cart-sidebar-body .woocommerce-mini-cart__total { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: baseline; margin: auto 0 0; padding: 18px 24px 4px; border: 0 !important; border-top: 1px solid var(--kw-line) !important; background: #fff; font-size: 16px; }
#fx-cart-sidebar-body .woocommerce-mini-cart__total strong { font-weight: 700; color: var(--kw-ink); }
#fx-cart-sidebar-body .woocommerce-mini-cart__total .amount { font-family: var(--kw-heading); font-size: 24px; font-weight: 800; color: var(--kw-ink); }
#fx-cart-sidebar-body .fx-mini-note { position: sticky; bottom: 0; margin: 0; padding: 0 24px 14px; background: #fff; color: var(--kw-muted); font-size: 13px; }
#fx-cart-sidebar-body .woocommerce-mini-cart__buttons { position: sticky; bottom: 0; display: flex; flex-direction: column-reverse; gap: 6px; margin: 0; padding: 0 24px 22px; background: #fff; }
#fx-cart-sidebar-body .woocommerce-mini-cart__buttons::before, #fx-cart-sidebar-body .woocommerce-mini-cart__buttons::after { display: none; }
#fx-cart-sidebar-body .woocommerce-mini-cart__buttons a { display: flex; align-items: center; justify-content: center; width: auto; float: none; margin: 0; border-radius: 999px; font-weight: 800; }
#fx-cart-sidebar-body .woocommerce-mini-cart__buttons a.checkout { min-height: 56px; background: var(--kw-ink); border: 0; color: #fff; font-size: 16px; }
#fx-cart-sidebar-body .woocommerce-mini-cart__buttons a.checkout:hover { background: var(--kw-accent) !important; color: var(--kw-ink) !important; }
#fx-cart-sidebar-body .woocommerce-mini-cart__buttons a:not(.checkout) { min-height: 42px; border: 0; background: none; color: var(--kw-ink); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
#fx-cart-sidebar-body .woocommerce-mini-cart__empty-message { margin: auto 24px; padding: 40px 0; text-align: center; font-size: 16px; font-weight: 700; color: var(--kw-muted); }
@media (max-width: 520px) {
	#fx-cart-sidebar-panel { width: 100vw; border-radius: 0; }
	#fx-cart-sidebar-head, #fx-cart-sidebar-body .woocommerce-mini-cart__total { padding-left: 16px !important; padding-right: 16px !important; }
	#fx-cart-sidebar-body .woocommerce-mini-cart, #fx-cart-sidebar-body .fx-mini-note, #fx-cart-sidebar-body .woocommerce-mini-cart__buttons { padding-left: 16px !important; padding-right: 16px !important; }
	.fx-mini-ship { margin: 12px 16px 0; }
	#fx-cart-sidebar-body .woocommerce-mini-cart-item { padding-left: 92px !important; }
	#fx-cart-sidebar-body .woocommerce-mini-cart-item img { width: 76px !important; height: 76px !important; }
}

/* Long filter lists: scroll inside the group, optional search field */
.fx-filter-options.is-long, .fx-filter-group-body.is-long { max-height: 260px; overflow-y: auto; padding-right: 6px; margin-right: -6px; scrollbar-width: thin; scrollbar-color: var(--kw-line) transparent; overscroll-behavior: contain; }
.fx-filter-options.is-long::-webkit-scrollbar, .fx-filter-group-body.is-long::-webkit-scrollbar { width: 6px; }
.fx-filter-options.is-long::-webkit-scrollbar-thumb, .fx-filter-group-body.is-long::-webkit-scrollbar-thumb { border-radius: 6px; background: var(--kw-line); }
.fx-filter-group-body.is-long { -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent); mask-image: linear-gradient(180deg, #000 88%, transparent); padding-bottom: 20px; }
.fx-filter-options.is-long { -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent); mask-image: linear-gradient(180deg, #000 85%, transparent); padding-bottom: 18px; }
.fx-filter-option[hidden] { display: none; }
.fx-filter-find { width: 100%; min-height: 36px; margin: 0 0 10px; padding: 0 12px !important; border: 0 !important; border-radius: 10px !important; background: var(--kw-bg) !important; font-size: 13px !important; font-weight: 600; box-shadow: none; }
.fx-filter-find:focus { box-shadow: 0 0 0 2px var(--kw-ink) !important; }
.fx-filter-group--color .fx-filter-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; }
.fx-filter-group--color .fx-filter-option { justify-content: flex-start; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; background: none; padding: 0 8px; }
.fx-filter-group--color .fx-filter-option:hover { background: var(--kw-bg); }
.fx-filter-group--color .fx-filter-option.is-active { background: var(--kw-ink); }
.fx-filter-dot { flex: none; }

/* Category header: title and description on a soft card with the category image */
.t-wc-archive .fx-cat-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin: 0 0 24px; padding: clamp(24px, 3vw, 40px); overflow: hidden; border-radius: 28px; background: #fff; }
.fx-cat-hero-text .page-title { margin: 0 0 10px; }
.fx-cat-hero-text .term-description { margin: 0; }
.fx-cat-hero-img { width: clamp(120px, 16vw, 220px); aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--kw-surface); }
.fx-cat-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-cat-hero-count { display: inline-flex; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--kw-bg); font-size: 13px; font-weight: 700; color: var(--kw-muted); }
@media (max-width: 700px) { .t-wc-archive .fx-cat-hero { grid-template-columns: minmax(0, 1fr); } .fx-cat-hero-img { display: none; } }

/* Product description (Περιγραφή tab) */
.woocommerce div.product .woocommerce-tabs ul.tabs { gap: 28px; border-bottom: 1px solid var(--kw-line); margin-bottom: 32px !important; overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs li, .woocommerce div.product .woocommerce-tabs ul.tabs li.active { position: relative; background: none !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 0 0 14px !important; font-family: var(--kw-heading); font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--kw-muted) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--kw-ink) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after { content: ""; display: block !important; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: var(--kw-ink); }
.woocommerce-Tabs-panel { max-width: none; }
.kw-desc { display: grid; gap: 8px; max-width: 1040px; }
.kw-desc h3 { margin: 28px 0 12px; font-family: var(--kw-heading); font-size: 20px; letter-spacing: -.02em; }
.kw-desc-intro { max-width: 720px; font-size: 18px; line-height: 1.65; color: var(--kw-ink); }
.kw-desc-intro p { margin: 0 0 10px; }
.woocommerce-Tabs-panel ul.kw-spec-grid, .kw-spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.kw-spec-grid li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px; border-radius: 18px; background: #fff; }
.kw-spec-grid li > span:last-child { display: grid; gap: 2px; font-size: 14.5px; line-height: 1.35; color: var(--kw-ink); }
.kw-spec-grid strong { font-size: 12px; font-weight: 700; color: var(--kw-muted); }
.kw-spec-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--kw-bg); color: var(--kw-ink); }
.woocommerce-Tabs-panel ul.kw-compat, .kw-compat { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.kw-compat li { margin: 0; padding: 8px 14px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; }
.kw-desc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.kw-desc-card { padding: 20px 22px; border-radius: 20px; background: #fff; }
.kw-desc-card h3 { margin: 0 0 6px; font-size: 17px; }
.kw-desc-card p { margin: 0; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--kw-ink) 75%, transparent); }
.woocommerce table.shop_attributes { max-width: 720px; overflow: hidden; border-radius: 20px; background: #fff; border-collapse: collapse; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 14px 20px !important; }
.woocommerce table.shop_attributes tr:last-child th, .woocommerce table.shop_attributes tr:last-child td { border-bottom: 0 !important; }
@media (max-width: 700px) {
	.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-size: 17px; }
	.kw-desc-cards { grid-template-columns: minmax(0, 1fr); }
	.kw-desc-intro { font-size: 16px; }
}

/* Mini cart − / + */
.fx-mini-qty { display: inline-flex; align-items: center; height: 36px; border: 1.5px solid var(--kw-line); border-radius: 999px; background: #fff; }
.fx-mini-qty-btn { display: grid; place-items: center; width: 34px; height: 33px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--kw-ink); cursor: pointer; }
.fx-mini-qty-btn:hover:not(:disabled) { background: var(--kw-bg); }
.fx-mini-qty-btn:disabled { opacity: .35; cursor: default; }
.fx-mini-qty-value { min-width: 22px; text-align: center; font-size: 14px; font-weight: 800; }
.fx-mini-line-total { font-weight: 800; color: var(--kw-ink); }
.woocommerce-mini-cart-item.is-updating { opacity: .55; pointer-events: none; transition: opacity .2s; }

/* Footer: payment methods & shipping */
.fx-fn-trust { border-top: 1px solid rgba(255, 255, 255, .1); }
.fx-fn-trust + .fx-fn-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.fx-fn-trust-inner { max-width: var(--kw-wrap); margin: 0 auto; padding: 22px var(--kw-gutter); }
.fx-fn-trust-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--kw-accent); }
.fx-pay { min-height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .88); }
.fx-pay.fx-pay--logo { padding: 0 12px; background: #fff; }
.fx-pay svg { color: var(--kw-accent); }

/* WooCommerce notices («… added to your cart») */
.woocommerce-notices-wrapper:empty { display: none; }
.t-wc-single .woocommerce-message, .t-wc-archive .woocommerce-message, .woocommerce-message {
	position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
	margin: 0 0 22px !important; padding: 12px 12px 12px 58px !important; border: 0; border-radius: 20px;
	background: #fff; color: var(--kw-ink); font-size: 15px; font-weight: 700; box-shadow: 0 20px 40px -32px rgba(40, 25, 10, .5);
}
.woocommerce-message::before { content: ""; display: block !important; position: absolute; left: 12px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: #d6ead0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 16px no-repeat; }
.woocommerce-message .button, .woocommerce-message .wc-forward { order: 2; margin-left: auto !important; min-height: 42px !important; padding: 0 20px !important; border-radius: 999px; background: var(--kw-ink); color: #fff !important; float: none !important; font-size: 14px !important; }
.woocommerce-message .button:hover { background: var(--kw-accent) !important; color: var(--kw-ink) !important; }
@media (max-width: 700px) { .woocommerce-message .button { width: 100%; margin-left: 0 !important; justify-content: center; } }

/* Touch screens: no hover zoom or lift (it stuck on the tapped card) */
@media (hover: none) {
	.fx-product-card:hover { transform: none; box-shadow: none; }
	.fx-product-card:hover .fx-product-card-media img { transform: none; }
}

/* Sticky «Add to cart» bar on phones (fixit-core): slim, opens the option sheet */
.fx-wc-sticky-atc { border-top: 1px solid var(--kw-line); }
.fx-wc-sticky-atc-img { background: var(--kw-bg); }
.fx-wc-sticky-atc-title { font-family: var(--kw-heading); font-weight: 800 !important; color: var(--kw-ink); }
.fx-wc-sticky-atc-price, .fx-wc-sticky-atc-price .amount { font-weight: 700; color: var(--kw-ink); }
.fx-wc-sticky-atc-price ins { text-decoration: none; color: var(--kw-sale); }
.fx-wc-sticky-atc .fx-card-add { height: 44px; padding: 0 18px; font-size: 14px; }

/* Search results: the search box in the page header */
.fx-product-search--page { position: relative; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0; align-items: center; max-width: 620px; margin-top: 18px; padding: 6px; border: 1.5px solid var(--kw-line); border-radius: 999px; background: #fff; }
.fx-product-search--page:focus-within { border-color: var(--kw-ink); }
.fx-product-search--page input[type=search] { flex: 1 1 auto; width: auto !important; margin: 0 !important; min-width: 0; height: 46px; padding: 0 18px; border: 0 !important; outline: 0; background: none !important; box-shadow: none !important; color: var(--kw-ink); font-size: 16px; font-weight: 600; }
.fx-product-search--page .t-btn-primary { flex: none; width: auto; margin: 0; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--kw-ink); color: #fff; font-weight: 800; }
@media (max-width: 600px) { .fx-product-search--page .t-btn-primary { padding: 0 16px; font-size: 14px; } }

/* Related products carousel (fixit-core wc_related_carousel) */
.related.products, .upsells.products { position: relative; }
.related.products > h2, .upsells.products > h2 { padding-right: 120px; }
.related.products .fx-carousel-nav, .upsells.products .fx-carousel-nav { position: absolute; top: 0; right: 0; }
.woocommerce .related.products ul.products.fx-related-track, .woocommerce .upsells.products ul.products.fx-related-track {
	display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--fx-gap)) / 4);
	--fx-gap: 16px; gap: var(--fx-gap); margin: 0; padding-bottom: 6px;
}
.woocommerce ul.products.fx-related-track::before, .woocommerce ul.products.fx-related-track::after { display: none; }
.woocommerce ul.products.fx-related-track > li.product { width: auto; margin: 0; float: none; }
@media (max-width: 1100px) { .woocommerce ul.products.fx-related-track { grid-auto-columns: calc((100% - 2 * var(--fx-gap)) / 3) !important; } }
@media (max-width: 700px) {
	.related.products .fx-carousel-nav, .upsells.products .fx-carousel-nav { display: none; }
	.related.products > h2, .upsells.products > h2 { padding-right: 0; }
	.woocommerce ul.products.fx-related-track { --fx-gap: 12px; grid-auto-columns: 46% !important; margin-inline: calc(-1 * var(--kw-gutter)) !important; padding-inline: var(--kw-gutter) !important; scroll-padding-inline: var(--kw-gutter); }
}
.woocommerce div.product div.images.woocommerce-product-gallery { overflow: hidden; }

/* AmazingFilters ------------------------------------------------------------------------------------ */

/* The plugin's panel in the shop's own language: white card, pill controls, ink accents. */
.af-layout, .af-panel {
	--af-accent: var(--kw-ink); --af-accent-text: #fff; --af-text: var(--kw-text); --af-muted: var(--kw-muted);
	--af-border: var(--kw-line); --af-soft: var(--kw-bg); --af-bg: #fff; --af-radius: 999px;
	--af-sidebar: 284px; --af-gap: clamp(24px, 3vw, 40px);
}
.af-layout.af-is-loading::before { top: -12px; height: 3px; border-radius: 3px; }
.af-panel { font-family: var(--kw-body); font-size: 15px; }
/* Desktop: the whole panel as one card in the page flow (no inner scroll box). */
@media (min-width: 901px) {
	.af-panel--sidebar { position: static; max-height: none; overflow: visible; padding: 22px 20px 10px; border-radius: var(--kw-radius-lg); background: #fff; }
}
.af-panel__head { margin-bottom: 12px; }
.af-panel__title { font-family: var(--kw-heading); font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--kw-ink); }

/* Active filters: ink chips with a round remove mark. */
.af-panel .af-active { gap: 8px 12px; padding-bottom: 16px; margin-bottom: 4px; }
.af-panel .af-active__list { gap: 6px; }
.af-panel .af-chip { gap: 6px; padding: 7px 8px 7px 13px; background: var(--kw-ink); color: #fff; font-size: 13px; font-weight: 700; }
.af-panel .af-chip:hover, .af-panel .af-chip:focus-visible { background: #3a3835; color: #fff; }
.af-panel .af-chip__label { color: rgba(255, 255, 255, .62); font-weight: 600; }
.af-panel .af-chip .af-icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; }
.af-panel .af-active__clear, .af-panel .af-panel__clear { font-size: 13px; font-weight: 700; color: var(--kw-ink); text-decoration-thickness: 1.5px; }

/* Groups: bold title, chevron in a soft circle. */
.af-panel .af-filter:last-child { border-bottom: 0; }
.af-panel .af-filter__title { gap: 10px; padding: 16px 0; font-size: 15px; font-weight: 800; color: var(--kw-ink); }
.af-panel .af-filter__title .af-icon--chevron { box-sizing: content-box; width: 14px; height: 14px; padding: 6px; border-radius: 50%; background: var(--kw-bg); color: var(--kw-ink); }
.af-panel .af-filter__title:hover .af-icon--chevron { background: var(--kw-surface); }
.af-panel .af-filter__badge { min-width: 22px; height: 22px; line-height: 22px; font-size: 12px; font-weight: 800; }
.af-panel .af-filter__content { padding-bottom: 18px; }

/* Options: rounded rows, custom boxes, counts as small pills. */
.af-panel .af-option__link { gap: 11px; margin: 0 -8px; padding: 7px 8px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--kw-text); transition: background .15s var(--kw-ease); }
.af-panel a.af-option__link:hover { background: var(--kw-bg); }
.af-panel a.af-option__link:hover .af-option__label { text-decoration: none; }
.af-panel .af-option.is-selected .af-option__label { font-weight: 800; color: var(--kw-ink); }
.af-panel .af-check { width: 20px; height: 20px; border: 1.5px solid #c9c1b4; border-radius: 7px; }
.af-panel .af-check--radio { border-radius: 50%; }
.af-panel .af-option.is-selected .af-check--radio { box-shadow: inset 0 0 0 4px #fff; background: var(--kw-ink); }
.af-panel .af-option.is-selected .af-check--radio .af-icon { display: none; }
.af-panel .af-option__count { min-width: 26px; padding: 2px 8px; border-radius: 999px; background: var(--kw-bg); font-size: 12px; font-weight: 700; text-align: center; }
.af-panel .af-option.is-selected .af-option__count { background: var(--kw-ink); color: #fff; }

/* Colours: two columns of swatch + name; the chosen one gets an ink ring. */
.af-panel .af-options--swatch .af-options__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.af-panel .af-options--swatch .af-option__link { gap: 9px; font-size: 13.5px; }
.af-panel .af-options--swatch .af-option__count { display: none; }
.af-panel .af-swatch { width: 24px; height: 24px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.af-panel .af-option.is-selected .af-swatch { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px #fff, 0 0 0 4px var(--kw-ink); }

/* Availability and offers: pills instead of a checkbox list. */
.af-panel .af-filter--stock .af-options__list, .af-panel .af-filter--sale .af-options__list { display: flex; flex-wrap: wrap; gap: 8px; }
.af-panel .af-filter--stock .af-option__link, .af-panel .af-filter--sale .af-option__link { gap: 8px; margin: 0; padding: 9px 14px; border: 1.5px solid var(--kw-line); border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.af-panel .af-filter--stock a.af-option__link:hover, .af-panel .af-filter--sale a.af-option__link:hover { border-color: var(--kw-ink); background: #fff; }
.af-panel .af-filter--stock .af-check, .af-panel .af-filter--sale .af-check { display: none; }
.af-panel .af-filter--stock .af-option.is-selected .af-option__link, .af-panel .af-filter--sale .af-option.is-selected .af-option__link { border-color: var(--kw-ink); background: var(--kw-ink); color: #fff; }
.af-panel .af-filter--stock .af-option.is-selected .af-option__label, .af-panel .af-filter--sale .af-option.is-selected .af-option__label { color: #fff; }
.af-panel .af-filter--stock .af-option__count, .af-panel .af-filter--sale .af-option__count { min-width: 0; padding: 0; background: none; }
.af-panel .af-filter--stock .af-option.is-selected .af-option__count, .af-panel .af-filter--sale .af-option.is-selected .af-option__count { background: none; color: rgba(255, 255, 255, .7); }

/* Search inside a long list and «show more». fixit-core's base input rule (input:not()×4) outranks
   the plugin's own controls, so the inputs carry the same :not() chain. */
.af-panel .af-options__search { gap: 8px; margin-bottom: 8px; padding: 0 14px; border: 1.5px solid transparent; background: var(--kw-bg); color: var(--kw-muted); }
.af-panel .af-options__search:focus-within { border-color: var(--kw-ink); background: #fff; }
.af-options__search input[type="search"]:not([type="submit"]):not([type="button"]):not([type="checkbox"]) { width: auto; height: 40px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 14px; font-weight: 600; }
.af-panel .af-options__more { margin-top: 10px; padding: 7px 14px; border: 1.5px solid var(--kw-line); border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--kw-ink); }
.af-panel .af-options__more:hover, .af-panel .af-options__more:focus { border-color: var(--kw-ink); color: var(--kw-ink); }
.af-panel .af-options__up { font-weight: 700; }

/* Price: ink range, white thumbs, pill fields. */
.af-panel .af-price__slider { margin-bottom: 14px; }
.af-panel .af-price__track { height: 4px; background: var(--kw-line); }
.af-panel .af-price__handle::-webkit-slider-thumb { width: 22px; height: 22px; border: 2.5px solid var(--kw-ink); box-shadow: 0 2px 6px rgba(12, 12, 12, .18); }
.af-panel .af-price__handle::-moz-range-thumb { width: 17px; height: 17px; border: 2.5px solid var(--kw-ink); box-shadow: 0 2px 6px rgba(12, 12, 12, .18); }
.af-price input.af-price__handle:not([type="submit"]):not([type="button"]):not([type="checkbox"]) { width: calc(100% + 18px); padding: 0; border: 0; border-radius: 0; background: none; }
.af-panel .af-price__caption { margin-bottom: 6px; font-size: 12px; font-weight: 700; }
.af-price__field input[type="number"]:not([type="submit"]):not([type="button"]):not([type="checkbox"]) { height: 44px; padding: 0 30px 0 16px; border: 1.5px solid transparent; border-radius: 999px; background: var(--kw-bg); font-size: 15px; font-weight: 700; color: var(--kw-ink); box-shadow: none; }
.af-price__field input[type="number"]:not([type="submit"]):not([type="button"]):not([type="checkbox"]):focus { border-color: var(--kw-ink); background: #fff; box-shadow: none; }
.af-panel .af-price__symbol { right: 14px; line-height: 44px; font-weight: 700; }
.af-panel .af-price__dash { padding-bottom: 12px; }
.af-panel .af-price__foot { margin-top: 14px; }
.af-panel .af-price__count { font-size: 13px; font-weight: 600; }

/* Buttons */
.af-panel .af-button { border-radius: 999px; font-weight: 800; }
.af-panel .af-button--small { padding: 9px 18px; font-size: 13px; }
.af-panel .af-button:hover, .af-panel .af-button:focus { background: #3a3835; border-color: #3a3835; opacity: 1; }

/* Phones: pill toggle and a rounded drawer with a fixed foot. */
.af-toolbar { margin-bottom: 18px; }
.af-toggle { gap: 10px; padding: 12px 20px; border: 0; border-radius: 999px; background: #fff; font-family: var(--kw-body); font-size: 15px; font-weight: 800; color: var(--kw-ink); box-shadow: 0 1px 0 rgba(12, 12, 12, .04); }
.af-toggle:hover, .af-toggle:focus { background: #fff; color: var(--kw-ink); box-shadow: inset 0 0 0 1.5px var(--kw-ink); }
.af-toggle .af-icon { width: 18px; height: 18px; }
.af-toggle__count { min-width: 22px; height: 22px; line-height: 22px; font-size: 12px; font-weight: 800; }
@media (max-width: 900px) {
	.af-panel { width: min(420px, 92vw); border-radius: 0 var(--kw-radius-lg) var(--kw-radius-lg) 0; box-shadow: 0 0 60px rgba(12, 12, 12, .25); }
	.af-panel .af-panel__head { padding: 20px 20px 16px 22px; border-bottom: 0; }
	.af-panel .af-panel__close { width: 42px; height: 42px; margin: -6px -6px -6px 0; background: var(--kw-bg); }
	.af-panel .af-panel__close:hover, .af-panel .af-panel__close:focus { background: var(--kw-surface); }
	.af-panel .af-active { padding: 0 22px 16px; }
	.af-panel .af-panel__body { padding: 0 22px; }
	.af-panel .af-option__link { padding: 9px 8px; }
	.af-panel .af-panel__foot { gap: 12px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px)) 22px; border-top: 1px solid var(--kw-line); }
	.af-panel .af-panel__clear { flex: none; white-space: nowrap; }
	.af-panel .af-panel__done { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 16px; font-size: 14.5px; white-space: nowrap; }
	.af-backdrop { background: rgba(12, 12, 12, .45); }
}

/* Availability pill on the product page (in stock / on backorder / out of stock). */
.woocommerce div.product .summary p.stock { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 7px 14px 7px 12px; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 800; color: var(--kw-ink); }
.woocommerce div.product .summary p.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2f9e5b; box-shadow: 0 0 0 4px color-mix(in srgb, #2f9e5b 18%, transparent); }
.woocommerce div.product .summary p.stock.available-on-backorder::before { background: #d08a1f; box-shadow: 0 0 0 4px color-mix(in srgb, #d08a1f 18%, transparent); }
.woocommerce div.product .summary p.stock.out-of-stock::before { background: var(--kw-sale); box-shadow: 0 0 0 4px color-mix(in srgb, var(--kw-sale) 18%, transparent); }
.woocommerce div.product .summary .kw-stock-note { font-weight: 600; color: var(--kw-muted); }

/* Courier logos in the footer: the logo itself, without the white badge. */
.fx-pay.fx-pay--logo:has(.kw-courier-logo) { min-width: 0; padding: 0; background: none; }
.fx-pay .kw-courier-logo { display: block; width: auto; height: 22px; }
.fx-pay .kw-courier-logo--boxnow { height: 28px; margin: -3px 0; border-radius: 4px; }

/* Wishlist heart on a product card: the card's media box is the positioning context. */
.fx-product-card-media { position: relative; }
.kw-card-wishlist {
	position: absolute;
	top: .5rem;
	right: .5rem;
	z-index: 2;
}
.kw-card-wishlist .fxw-btn-loop {
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
