/*
Theme Name: KLAUSshop Haus & Garten
Theme URI: https://klausshopp.online/
Author: KLAUSshop
Description: Modernes, schnelles WooCommerce-Theme für KLAUSshop – Haus, Küche & Garten. Automatische Kategorie-Navigation mit Mega-Menü, Startseite mit Kategorien und Produkt-Highlights, Shop mit Seitenleiste. Ohne externe Schriften (DSGVO-freundlich).
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 7.4
WC requires at least: 7.0
License: GPL-2.0-or-later
Text Domain: klausshop-haus
*/

:root {
	--g9: #13332a;
	--g7: #1f4d3f;
	--g6: #2a6352;
	--g1: #e9f1ec;
	--g0: #f4f8f5;
	--acc: #f0a03a;
	--acc-d: #d9861d;
	--ink: #1a201d;
	--mut: #5d6a64;
	--line: #e2e8e4;
	--bg: #ffffff;
	--soft: #f6f7f4;
	--r: 14px;
	--r-s: 10px;
	--sh: 0 1px 2px rgba(19, 51, 42, .06), 0 8px 24px rgba(19, 51, 42, .06);
	--sh-h: 0 2px 4px rgba(19, 51, 42, .08), 0 16px 40px rgba(19, 51, 42, .12);
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g7); text-decoration: none; }
a:hover { color: var(--g9); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 750; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.kh-skip { position: absolute; left: -999px; top: 0; background: var(--g9); color: #fff; padding: 8px 14px; z-index: 999; }
.kh-skip:focus { left: 8px; }
.kh-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.kh-ico { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* Buttons */
.kh-btn, .button, button.button, a.button, input.button, #respond input#submit,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.wp-block-button__link, .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--g7); color: #fff !important; border: 0; border-radius: 999px;
	padding: 13px 24px; font: 600 15px/1.2 var(--font); cursor: pointer; text-decoration: none;
	transition: background .2s, transform .2s, box-shadow .2s;
}
.kh-btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--g9); color: #fff; transform: translateY(-1px); }
.kh-btn .kh-ico { width: 18px; height: 18px; }
.kh-btn--light { background: #fff; color: var(--g9) !important; box-shadow: inset 0 0 0 1px var(--line); }
.kh-btn--light:hover { background: var(--g1); color: var(--g9) !important; }
.kh-btn--ghost { background: transparent; color: var(--g7) !important; box-shadow: inset 0 0 0 1.5px var(--g7); padding: 10px 20px; }
.kh-btn--ghost:hover { background: var(--g7); color: #fff !important; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .single_add_to_cart_button, .checkout-button, #place_order {
	background: var(--acc) !important; color: #1b1300 !important; font-weight: 700 !important;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .single_add_to_cart_button:hover, .checkout-button:hover, #place_order:hover { background: var(--acc-d) !important; }
.kh-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--g7); }
.kh-link .kh-ico { width: 18px; transition: transform .2s; }
.kh-link:hover .kh-ico { transform: translateX(3px); }
.kh-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g6); margin-bottom: 8px; }

/* Topbar */
.kh-topbar { background: var(--g9); color: #dfeae4; font-size: 13px; }
.kh-topbar__in { display: flex; justify-content: center; gap: 36px; padding-top: 8px; padding-bottom: 8px; }
.kh-topbar span { display: inline-flex; align-items: center; gap: 7px; }
.kh-topbar .kh-ico { width: 16px; height: 16px; color: var(--acc); }

/* Header */
.kh-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.admin-bar .kh-header { top: 32px; }
.kh-header.is-scrolled { box-shadow: 0 6px 24px rgba(19, 51, 42, .08); }
.kh-header__in { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.kh-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.kh-brand:hover { color: var(--ink); }
.kh-brand__mark { width: 42px; height: 42px; border-radius: 12px; background: var(--g7); color: #fff; display: grid; place-items: center; }
.kh-brand__mark .kh-ico { width: 24px; height: 24px; }
.kh-brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.kh-brand__txt strong { font-size: 23px; font-weight: 800; letter-spacing: -.02em; }
.kh-brand__txt em { font-style: normal; font-weight: 500; color: var(--g6); }
.kh-brand__txt small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-top: 4px; }
.kh-brand--light, .kh-brand--light:hover { color: #fff; }
.kh-brand--light .kh-brand__mark { background: var(--acc); color: var(--g9); }
.kh-brand--light .kh-brand__txt em { color: #a7d3bf; }
.kh-brand--light .kh-brand__txt small { color: #a9bcb3; }

.kh-search { flex: 1; display: flex; align-items: center; max-width: 640px; margin: 0 auto; background: var(--soft); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 20px; transition: border-color .2s, background .2s; }
.kh-search:focus-within { border-color: var(--g6); background: #fff; }
.kh-search input { flex: 1; border: 0; background: transparent; font: 15px var(--font); padding: 9px 0; outline: none; color: var(--ink); min-width: 0; }
.kh-search button { border: 0; background: var(--g7); color: #fff; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.kh-search button:hover { background: var(--g9); }

.kh-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.kh-icon-btn { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: 0; color: var(--ink); padding: 6px 10px; border-radius: var(--r-s); cursor: pointer; font: 12px var(--font); }
.kh-icon-btn:hover { background: var(--g0); color: var(--g9); }
.kh-icon-btn .kh-ico { width: 24px; height: 24px; }
.kh-act-lbl { font-size: 12px; color: var(--mut); }
.kh-cart-count { position: absolute; top: 0; right: 14px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--acc); color: #1b1300; font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.kh-cart-count.is-empty { display: none; }
.kh-menu-toggle, .kh-search-toggle { display: none; }

/* Nav + Mega */
.kh-nav { position: relative; border-top: 1px solid var(--line); }
.kh-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.kh-nav__list > li { position: static; }
.kh-nav__list > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 13px 14px; font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 2.5px solid transparent; }
.kh-nav__list > li > a .kh-ico { width: 16px; height: 16px; transition: transform .2s; }
.kh-nav__list > li:hover > a, .kh-nav__list > li:focus-within > a { color: var(--g7); border-color: var(--g7); }
.kh-nav__list > li:hover > a .kh-ico { transform: rotate(180deg); }
.kh-nav__all { color: var(--g7) !important; }
.kh-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 48px rgba(19, 51, 42, .12); padding: 28px max(24px, calc((100vw - 1272px) / 2)); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.kh-nav__list > li:hover .kh-mega, .kh-nav__list > li:focus-within .kh-mega { opacity: 1; visibility: visible; transform: none; }
.kh-mega__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.kh-mega__item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r-s); color: var(--ink); }
.kh-mega__item:hover { background: var(--g0); color: var(--g9); }
.kh-mega__item img { width: 60px; height: 60px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.kh-mega__item span { display: flex; flex-direction: column; font-weight: 600; }
.kh-mega__item small { font-weight: 400; color: var(--mut); font-size: 13px; }
.kh-mega__all { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; }
.kh-mega__all .kh-ico { width: 18px; }

/* Drawer */
.kh-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(10, 25, 20, .45); opacity: 0; transition: opacity .25s; }
.kh-drawer.is-open { opacity: 1; }
.kh-drawer__panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .25s; }
.kh-drawer.is-open .kh-drawer__panel { transform: none; }
.kh-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 18px; }
.kh-drawer__list { list-style: none; margin: 0; padding: 8px 0; }
.kh-drawer__list > li > a, .kh-drawer__list summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; border-bottom: 1px solid var(--soft); }
.kh-drawer__list summary::-webkit-details-marker { display: none; }
.kh-drawer__list details[open] summary .kh-ico { transform: rotate(180deg); }
.kh-drawer__list details ul { list-style: none; margin: 0; padding: 4px 0 10px; background: var(--g0); }
.kh-drawer__list details ul a { display: block; padding: 10px 32px; color: var(--ink); }

/* Hero */
.kh-hero { background: linear-gradient(135deg, var(--g0) 0%, #fff 55%, var(--g1) 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.kh-hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.kh-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 20px; }
.kh-hero h1 span { color: var(--g6); }
.kh-hero p { font-size: 1.12rem; color: var(--mut); max-width: 520px; }
.kh-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.kh-hero__ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--g9); font-weight: 600; font-size: 14px; }
.kh-hero__ticks li { display: inline-flex; gap: 6px; align-items: center; }
.kh-hero__ticks .kh-ico { color: var(--g6); width: 18px; }
.kh-hero__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 1 / .92; }
.kh-hero__tile { position: relative; background: #fff; border-radius: 20px; box-shadow: var(--sh); overflow: hidden; display: block; transition: transform .25s, box-shadow .25s; }
.kh-hero__tile:hover { transform: translateY(-4px); box-shadow: var(--sh-h); }
.kh-hero__tile img { width: 100%; height: 100%; object-fit: contain; padding: 18px 18px 54px; }
.kh-hero__tile span { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; background: var(--g0); color: var(--g9); font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 999px; }
.kh-hero__tile span .kh-ico { width: 16px; }
.kh-hero__tile--0 { grid-row: span 2; }
.kh-hero__tile--0 img { padding: 28px 28px 70px; }
.kh-hero__tile--3 { display: none; }

/* Sections */
.kh-section { padding: 72px 0; }
.kh-section--tight { padding: 24px 0; }
.kh-section--soft { background: var(--soft); }
.kh-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.kh-head h2 { margin: 0; }

/* Category cards */
.kh-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.kh-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.kh-cat:hover { box-shadow: var(--sh-h); transform: translateY(-3px); }
.kh-cat__img { display: block; background: var(--g0); aspect-ratio: 4 / 3; }
.kh-cat__img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; mix-blend-mode: multiply; transition: transform .35s; }
.kh-cat:hover .kh-cat__img img { transform: scale(1.05); }
.kh-cat__body { padding: 18px 20px 20px; }
.kh-cat__body h3 { margin: 0 0 2px; }
.kh-cat__body h3 a { color: var(--ink); }
.kh-cat__body p { font-size: 13px; color: var(--mut); margin-bottom: 10px; }
.kh-cat__body ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kh-cat__body li a { display: inline-block; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--g0); color: var(--g9); }
.kh-cat__body li a:hover { background: var(--g7); color: #fff; }

/* Chips */
.kh-chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.kh-chip { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--ink); font-weight: 600; font-size: 14px; }
.kh-chip__img { width: 100%; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.kh-chip__img img { width: 72%; height: 72%; object-fit: contain; transition: transform .3s; }
.kh-chip:hover .kh-chip__img { border-color: var(--g6); box-shadow: 0 0 0 4px var(--g1); }
.kh-chip:hover .kh-chip__img img { transform: scale(1.08); }
.kh-chip:hover { color: var(--g7); }

/* Promos */
.kh-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kh-promo { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 12px; border-radius: 22px; padding: 36px; min-height: 280px; overflow: hidden; color: #fff; background: var(--g7); }
.kh-promo--1 { background: #233a52; }
.kh-promo h3 { color: #fff; font-size: 1.8rem; font-weight: 780; }
.kh-promo p { color: rgba(255, 255, 255, .8); font-size: 15px; }
.kh-promo .kh-eyebrow { color: var(--acc); }
.kh-promo img { background: #fff; border-radius: 16px; padding: 14px; aspect-ratio: 1; object-fit: contain; width: 100%; transition: transform .3s; }
.kh-promo:hover img { transform: rotate(-2deg) scale(1.03); }
.kh-promo:hover { color: #fff; }

/* Story */
.kh-story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.kh-story p { color: var(--mut); font-size: 1.05rem; }
.kh-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kh-features li { background: #fff; border-radius: var(--r); padding: 22px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.kh-features .kh-ico { width: 30px; height: 30px; color: var(--g6); margin-bottom: 8px; }
.kh-features span { color: var(--mut); font-size: 14px; }

/* Contact */
.kh-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.kh-contact p { color: var(--mut); }
.kh-contact__form { background: var(--soft); border-radius: var(--r); padding: 28px; }
.kh-contact__form input[type=text], .kh-contact__form input[type=email], .kh-contact__form textarea { width: 100% !important; max-width: 100% !important; min-height: 46px; padding: 10px 14px !important; border-radius: 10px !important; border: 1.5px solid var(--line) !important; background: #fff !important; font: 15px var(--font) !important; }
.kh-contact__form textarea { min-height: 130px; }
.kh-contact__form .wpforms-field-label { font-weight: 600 !important; font-size: 14px !important; }
.kh-contact__form button[type=submit] { background: var(--g7) !important; color: #fff !important; border-radius: 999px !important; padding: 12px 26px !important; height: auto !important; border: 0 !important; }

/* USP strip + footer */
.kh-usp-strip { background: var(--g1); border-top: 1px solid var(--line); }
.kh-usp-strip__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.kh-usp-strip__in > div { display: flex; gap: 14px; align-items: center; }
.kh-usp-strip .kh-ico { width: 34px; height: 34px; color: var(--g7); }
.kh-usp-strip span { display: flex; flex-direction: column; font-size: 13px; color: var(--mut); line-height: 1.35; }
.kh-usp-strip strong { color: var(--ink); font-size: 15px; }
.kh-footer { background: var(--g9); color: #b9cbc2; font-size: 14px; }
.kh-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.kh-footer__about p { margin-top: 18px; max-width: 360px; }
.kh-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.kh-footer ul { list-style: none; margin: 0; padding: 0; }
.kh-footer li { margin-bottom: 8px; }
.kh-footer a { color: #b9cbc2; }
.kh-footer a:hover { color: #fff; }
.kh-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; padding-bottom: 24px; font-size: 13px; }
.kh-pay b { color: #fff; font-weight: 600; }

/* ---------- WooCommerce ---------- */
.kh-page { padding-top: 28px; padding-bottom: 72px; }
.woocommerce-breadcrumb { font-size: 13px; color: var(--mut); margin-bottom: 18px; }
.woocommerce-breadcrumb a { color: var(--mut); }
.woocommerce-breadcrumb a:hover { color: var(--g7); }
.woocommerce-breadcrumb .sep { margin: 0 8px; opacity: .5; }
.kh-archive-head { margin-bottom: 24px; }
.kh-archive-head h1 { margin-bottom: 6px; }
.kh-archive-desc { color: var(--mut); max-width: 720px; }
.kh-archive-desc p { margin: 0; }

.kh-shop { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.kh-shop__main { min-width: 0; }
.kh-sidebar { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 16px; }
.admin-bar .kh-sidebar { top: 182px; }
.kh-side-box { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: #fff; }
.kh-side-box h3 { font-size: 15px; margin-bottom: 10px; }
.kh-cat-tree, .kh-cat-tree ul { list-style: none; margin: 0; padding: 0; }
.kh-cat-tree > li > a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 14px; }
.kh-cat-tree small { color: var(--mut); font-weight: 400; }
.kh-cat-tree ul { display: none; padding: 2px 0 6px 10px; }
.kh-cat-tree li.is-active > ul { display: block; }
.kh-cat-tree ul a { display: flex; justify-content: space-between; padding: 5px 10px; font-size: 14px; color: var(--mut); border-radius: 8px; }
.kh-cat-tree a:hover { background: var(--g0); color: var(--g9); }
.kh-cat-tree li.is-active > a { background: var(--g1); color: var(--g9); }
.kh-side-help { background: var(--g0); border-color: var(--g1); }
.kh-side-help .kh-ico { width: 28px; height: 28px; color: var(--g6); margin-bottom: 6px; }
.kh-side-help p { font-size: 14px; color: var(--mut); }

.kh-subcats { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.kh-subcat { flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 14px; background: #fff; }
.kh-subcat img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; background: var(--g0); padding: 3px; }
.kh-subcat:hover { border-color: var(--g6); color: var(--g7); }

.woocommerce-result-count { float: left; margin: 10px 0 18px; color: var(--mut); font-size: 14px; }
.woocommerce-ordering { float: right; margin: 0 0 18px; }
.woocommerce-ordering select, .woocommerce select, .woocommerce input.input-text, .woocommerce textarea, .woocommerce-page input.input-text {
	border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 15px var(--font); background: #fff; color: var(--ink);
}
.woocommerce-ordering select:focus, .woocommerce input.input-text:focus { border-color: var(--g6); outline: none; }

ul.products { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; clear: both; }
ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 16px; margin: 0 !important; width: auto !important; float: none !important; transition: box-shadow .25s, border-color .25s, transform .25s; }
ul.products li.product:hover { box-shadow: var(--sh-h); border-color: transparent; transform: translateY(-3px); }
ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--ink); }
ul.products li.product img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; margin: 0 0 14px; transition: transform .35s; }
ul.products li.product:hover img { transform: scale(1.04); }
ul.products li.product .woocommerce-loop-product__title { font-size: 15px; font-weight: 600; line-height: 1.4; margin: 0 0 8px; padding: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
ul.products li.product .price { display: block; font-size: 1.25rem; font-weight: 800; color: var(--g9); margin-top: auto; }
ul.products li.product .price del { color: var(--mut); font-size: .8em; font-weight: 400; margin-right: 6px; }
ul.products li.product .price ins { text-decoration: none; color: #c0392b; }
ul.products li.product .star-rating { margin: 0 0 6px; font-size: 13px; }
.kh-price-note { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--mut); margin: 2px 0 12px; }
.kh-price-note a { color: var(--mut); text-decoration: underline; }
ul.products li.product .button { width: 100%; margin-top: 0; padding: 11px 16px; font-size: 14px; background: var(--g0); color: var(--g9) !important; box-shadow: inset 0 0 0 1px var(--g1); }
ul.products li.product .button:hover { background: var(--g7); color: #fff !important; }
ul.products li.product .added_to_cart { display: block; text-align: center; font-size: 13px; margin-top: 8px; font-weight: 600; }
.onsale { position: absolute; top: 14px; left: 14px; z-index: 2; background: #c0392b; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; min-height: 0; min-width: 0; line-height: 1.4; margin: 0; }

.woocommerce-pagination { text-align: center; margin-top: 12px; }
.woocommerce-pagination ul { display: inline-flex; gap: 6px; list-style: none; margin: 0; padding: 0; border: 0 !important; }
.woocommerce-pagination li { border: 0 !important; float: none !important; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.woocommerce-pagination span.current { background: var(--g7); color: #fff; border-color: var(--g7); }
.woocommerce-pagination a:hover { border-color: var(--g7); color: var(--g7); }

/* Single product */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; position: relative; }
.single-product div.product .woocommerce-product-gallery { width: auto !important; float: none !important; margin: 0 !important; position: relative; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .flex-viewport, .woocommerce-product-gallery__image--placeholder { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; }
.woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 24px; }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.woocommerce-product-gallery .flex-control-thumbs li img { border: 1px solid var(--line); border-radius: 10px; aspect-ratio: 1; object-fit: contain; padding: 4px; cursor: pointer; opacity: .65; transition: .2s; background: #fff; }
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active, .woocommerce-product-gallery .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--g6); }
.woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--sh); font-size: 0; display: grid; place-items: center; }
.woocommerce-product-gallery__trigger::before { content: "⤢"; font-size: 18px; color: var(--ink); }
.woocommerce-product-gallery__trigger img { display: none !important; }
.single-product div.product .summary { width: auto !important; float: none !important; margin: 0 !important; }
.single-product .product_title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 750; margin-bottom: 14px; }
.single-product div.product p.price { font-size: 2rem; font-weight: 800; color: var(--g9); margin: 0; }
.single-product div.product p.price ins { text-decoration: none; color: #c0392b; }
.single-product .kh-price-note { font-size: 13px; margin-bottom: 20px; }
.single-product .woocommerce-product-details__short-description { color: var(--mut); border-top: 1px solid var(--line); padding-top: 18px; }
.single-product form.cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin: 22px 0 !important; }
.single-product form.cart .quantity input.qty { width: 84px; height: 100%; min-height: 52px; border: 1.5px solid var(--line); border-radius: 999px; text-align: center; font: 600 16px var(--font); }
.single-product .single_add_to_cart_button { flex: 1; min-height: 52px; font-size: 16px !important; }
.single-product .stock { font-weight: 600; color: var(--g6); }
.single-product .stock.out-of-stock { color: #c0392b; }
.kh-trust-box { list-style: none; margin: 0 0 22px; padding: 16px 18px; background: var(--g0); border-radius: var(--r); display: grid; gap: 10px; }
.kh-trust-box li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--mut); }
.kh-trust-box strong { color: var(--ink); }
.kh-trust-box .kh-ico { color: var(--g6); width: 22px; height: 22px; }
.product_meta { font-size: 13px; color: var(--mut); display: flex; flex-direction: column; gap: 4px; }
.woocommerce-tabs { grid-column: 1 / -1; margin-top: 24px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 6px; margin: 0 0 -1px; padding: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li { margin: 0; border: 0 !important; background: none !important; padding: 0 !important; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 18px; font-weight: 600; color: var(--mut); border-bottom: 2.5px solid transparent; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a { color: var(--g9); border-color: var(--g7); }
.woocommerce-tabs .panel { padding: 26px 0 0; max-width: 900px; }
.woocommerce-tabs .panel h2:first-child { font-size: 1.3rem; }
.woocommerce-tabs table.shop_attributes { width: 100%; border-collapse: collapse; }
.woocommerce-tabs table.shop_attributes th, .woocommerce-tabs table.shop_attributes td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.woocommerce-tabs table.shop_attributes th { width: 220px; background: var(--soft); }
.related.products, .upsells.products { grid-column: 1 / -1; margin-top: 40px; }
.related.products > h2, .upsells.products > h2 { margin-bottom: 20px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 22px !important; padding: 14px 18px !important; border-radius: var(--r-s); background: var(--g0); border: 1px solid var(--g1) !important; color: var(--ink);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-error { background: #fdf0ee; border-color: #f4cfc9 !important; }
.woocommerce-message .button { padding: 9px 18px; order: 2; }

/* Cart / checkout / account (classic + blocks) */
.kh-page--wc .kh-page-title { margin-bottom: 26px; }
.kh-prose { max-width: 860px; }
.kh-prose h1 { margin-bottom: 24px; }
.kh-entry-content h2 { margin-top: 1.6em; font-size: 1.4rem; }
.kh-entry-content h3 { margin-top: 1.4em; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce table.shop_table th { background: var(--soft); font-weight: 650; }
.woocommerce-cart .cart_totals, .woocommerce-checkout #order_review { background: var(--soft); border-radius: var(--r); padding: 22px; }
.woocommerce form .form-row { margin: 0 0 14px; }
.woocommerce form .form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.woocommerce form .form-row input.input-text { width: 100%; }
.wc-block-cart, .wc-block-checkout { margin-top: 0 !important; }
.wc-block-components-button:not(.is-link) { width: 100%; background: var(--acc) !important; color: #1b1300 !important; font-weight: 700 !important; }
.wc-block-components-text-input input, .wc-block-components-combobox input, .wc-blocks-components-select select { border-radius: 10px !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--g0); color: var(--g9); }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 36px; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 520px; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.woocommerce .col2-set::before, .woocommerce .col2-set::after { display: none; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { width: auto; float: none; }

/* Blog/Prose */
.kh-entry { margin-bottom: 36px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.kh-cats { grid-template-columns: repeat(2, 1fr); }
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kh-nav__list > li > a { padding: 13px 10px; font-size: 14px; }
}
@media (max-width: 960px) {
	.kh-wrap { padding: 0 16px; }
	.kh-nav, .kh-act-lbl { display: none; }
	.kh-menu-toggle, .kh-search-toggle { display: inline-flex; }
	.kh-header__in { gap: 6px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
	.kh-brand { margin-right: auto; }
	.kh-brand__mark { width: 36px; height: 36px; }
	.kh-brand__txt strong { font-size: 20px; }
	.kh-brand__txt small { display: none; }
	.kh-search { order: 10; flex-basis: 100%; max-width: none; display: none; margin-top: 6px; }
	.kh-search-open .kh-search { display: flex; }
	.kh-cart-count { right: 2px; }
	.kh-topbar__in { gap: 18px; }
	.kh-hide-sm { display: none !important; }
	.kh-hero__in { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; padding-bottom: 40px; }
	.kh-hero__grid { aspect-ratio: auto; grid-template-rows: auto; grid-template-columns: repeat(2, 1fr); }
	.kh-hero__tile, .kh-hero__tile--0 { grid-row: auto; aspect-ratio: 1; }
	.kh-hero__tile img, .kh-hero__tile--0 img { padding: 14px 14px 52px; }
	.kh-hero__tile--3 { display: block; }
	.kh-section { padding: 48px 0; }
	.kh-promos, .kh-story, .kh-contact { grid-template-columns: 1fr; gap: 28px; }
	.kh-usp-strip__in { grid-template-columns: repeat(2, 1fr); }
	.kh-footer__grid { grid-template-columns: 1fr 1fr; }
	.kh-shop { grid-template-columns: 1fr; }
	.kh-chips { grid-template-columns: repeat(4, 1fr); }
	.kh-sidebar { display: none; }
	.single-product div.product { grid-template-columns: 1fr; gap: 28px; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
}
@media (max-width: 782px) { .admin-bar .kh-header { top: 0; } }
@media (max-width: 640px) {
	body { font-size: 15px; }
	.kh-cats { grid-template-columns: 1fr; }
	.kh-chips { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.kh-chip { font-size: 12px; }
	ul.products, ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	ul.products li.product { padding: 10px 10px 12px; }
	ul.products li.product .woocommerce-loop-product__title { font-size: 13.5px; }
	ul.products li.product .price { font-size: 1.05rem; }
	ul.products li.product .button { font-size: 13px; padding: 10px; }
	.kh-promo { grid-template-columns: 1fr; padding: 26px; }
	.kh-promo img { max-width: 200px; }
	.kh-features { grid-template-columns: 1fr; }
	.kh-head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.kh-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.kh-usp-strip__in { grid-template-columns: 1fr; }
	.woocommerce .col2-set { grid-template-columns: 1fr; }
	.woocommerce-result-count, .woocommerce-ordering { float: none; }
	.kh-topbar__in { font-size: 12px; }
}

/* v1.0.2 Feinschliff */
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale { background: #c0392b !important; color: #fff !important; min-height: 0 !important; min-width: 0 !important; line-height: 1.4 !important; padding: 4px 10px !important; border-radius: 999px !important; top: 14px !important; left: 14px !important; right: auto !important; margin: 0 !important; font-size: 12px !important; }
.woocommerce div.product .stock, .woocommerce div.product p.stock { color: var(--g6) !important; font-weight: 600; }
.woocommerce div.product .stock.out-of-stock { color: #c0392b !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { width: 100%; }
.product_meta .tagged_as { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: none !important; }
.kh-shop { grid-template-columns: 280px 1fr; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 !important; margin: 0 0 8px !important; font-size: 15px; }
.woocommerce ul.products li.product .price { color: var(--g9) !important; font-size: 1.25rem !important; font-weight: 800 !important; margin: auto 0 0 !important; }
.woocommerce ul.products li.product .price ins { color: #c0392b !important; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--g9) !important; }
.admin-bar .kh-drawer { top: 32px; }
@media (max-width: 782px) { .admin-bar .kh-drawer { top: 46px; } }
@media (max-width: 640px) {
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13.5px; }
	.woocommerce ul.products li.product .price { font-size: 1.05rem !important; }
}

/* ================= v1.1 – 3D Premium ================= */
.kh-grad { background: linear-gradient(100deg, #7fe0b0, #f0c36a 60%, #f0a03a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kh-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.08); color: #d5ece0; border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); margin-bottom: 18px; }
.kh-pill .kh-ico { width: 16px; height: 16px; color: #7fe0b0; }
.kh-pill--acc { color: #ffd38a; border-color: rgba(240,160,58,.35); background: rgba(240,160,58,.1); }
.kh-btn--glow { background: linear-gradient(135deg, #f6b552, #e98f1f) !important; color: #1b1300 !important; box-shadow: 0 10px 30px -6px rgba(240,160,58,.6), inset 0 1px 0 rgba(255,255,255,.4); font-weight: 700; }
.kh-btn--glow:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -6px rgba(240,160,58,.7); }
.kh-btn--glass { background: rgba(255,255,255,.08) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.kh-btn--glass:hover { background: rgba(255,255,255,.16) !important; }

/* Hero */
.kh-h3 { position: relative; overflow: hidden; color: #e6f2ec; background: radial-gradient(1200px 600px at 75% 40%, #1f5a47 0%, transparent 60%), linear-gradient(160deg, #0c211b 0%, #12322a 45%, #0a1a15 100%); }
.kh-h3__bg { position: absolute; inset: 0; pointer-events: none; }
.kh-h3__orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: kh-drift 14s ease-in-out infinite alternate; }
.kh-h3__orb--a { width: 420px; height: 420px; background: #2f8f6a; top: -120px; left: 30%; }
.kh-h3__orb--b { width: 360px; height: 360px; background: #b9741c; bottom: -160px; right: 5%; opacity: .35; animation-delay: -6s; }
.kh-h3__floor { position: absolute; left: -20%; right: -20%; bottom: -10%; height: 55%; background-image: linear-gradient(rgba(127,224,176,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(127,224,176,.13) 1px, transparent 1px); background-size: 56px 56px; transform: perspective(600px) rotateX(62deg); transform-origin: bottom; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%); animation: kh-grid 6s linear infinite; }
@keyframes kh-grid { to { background-position: 0 56px, 0 0; } }
@keyframes kh-drift { to { transform: translate(60px, 40px) scale(1.15); } }
.kh-h3__in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 88px; min-height: 620px; }
.kh-h3 h1 { color: #fff; font-size: clamp(2.3rem, 4.8vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 20px; }
.kh-h3 p { color: #b5ccc1; font-size: 1.12rem; max-width: 520px; }
.kh-h3__ticks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.kh-h3__ticks li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.kh-h3__ticks .kh-ico { color: #7fe0b0; width: 22px; height: 22px; }
.kh-h3__ticks span { display: flex; flex-direction: column; font-size: 12px; color: #9fb8ad; line-height: 1.25; }
.kh-h3__ticks strong { color: #fff; font-size: 14px; }

/* Stage */
.kh-stage { perspective: 1400px; height: 520px; position: relative; }
.kh-stage__inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.kh-stage__disc { position: absolute; left: 50%; bottom: 40px; width: 380px; height: 380px; margin-left: -190px; border-radius: 50%; transform: rotateX(78deg) translateZ(-30px); background: radial-gradient(circle, rgba(127,224,176,.35), rgba(127,224,176,.06) 55%, transparent 70%); box-shadow: 0 0 80px rgba(127,224,176,.25); }
.kh-stage__ring { position: absolute; left: 50%; bottom: 40px; border-radius: 50%; border: 1.5px solid rgba(127,224,176,.45); transform: rotateX(78deg) rotateZ(0); animation: kh-spin 18s linear infinite; }
.kh-stage__ring--1 { width: 440px; height: 440px; margin-left: -220px; margin-bottom: -30px; border-style: dashed; }
.kh-stage__ring--2 { width: 520px; height: 520px; margin-left: -260px; margin-bottom: -70px; border-color: rgba(240,160,58,.35); animation-duration: 28s; animation-direction: reverse; }
@keyframes kh-spin { to { transform: rotateX(78deg) rotateZ(360deg); } }
.kh-stage__product { position: absolute; left: 50%; top: 40px; width: 380px; height: 380px; margin-left: -190px; transform: translateZ(90px); display: grid; place-items: center; border-radius: 32px; background: linear-gradient(145deg, #ffffff, #eef3f0); box-shadow: 0 50px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.6) inset; animation: kh-float 6s ease-in-out infinite; }
.kh-stage__product img { width: 86%; height: 86%; object-fit: contain; }
@keyframes kh-float { 50% { translate: 0 -14px; } }
.kh-stage__card { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 18px; color: #fff; background: rgba(15,40,32,.55); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); box-shadow: 0 24px 48px -12px rgba(0,0,0,.55); }
.kh-stage__card--price { right: -6px; top: 70px; transform: translateZ(170px); min-width: 210px; animation: kh-float 7s ease-in-out infinite -2s; }
.kh-stage__card--price:hover { color: #fff; }
.kh-stage__card small { color: #ffd38a; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.kh-stage__card strong { font-size: 15px; }
.kh-stage__price, .kh-stage__price .amount { font-size: 22px; font-weight: 800; color: #7fe0b0; }
.kh-stage__price del, .kh-stage__price del .amount { font-size: 13px; color: #9fb8ad; font-weight: 400; }
.kh-stage__price ins { text-decoration: none; }
.kh-stage__card--ship { left: 0; bottom: 70px; flex-direction: row; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; transform: translateZ(140px); animation: kh-float 8s ease-in-out infinite -4s; }
.kh-stage__card--ship .kh-ico { color: #7fe0b0; }
.kh-stage__mini { position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 16px; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); font-size: 13px; font-weight: 600; transition: scale .2s; }
.kh-stage__mini:hover { scale: 1.05; color: var(--g9); }
.kh-stage__mini img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #fff; }
.kh-stage__mini span { display: flex; flex-direction: column; line-height: 1.25; }
.kh-stage__mini b { color: var(--g7); }
.kh-stage__mini--0 { left: -10px; top: 20px; transform: translateZ(60px); animation: kh-float 9s ease-in-out infinite -1s; }
.kh-stage__mini--1 { right: 10px; bottom: 30px; transform: translateZ(120px); animation: kh-float 7.5s ease-in-out infinite -3s; }

/* Top products */
.kh-top { background: linear-gradient(180deg, #f2f6f3, #fff 60%); }
.kh-top__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; perspective: 1400px; }
.kh-card3d { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(19,51,42,.05), 0 14px 30px -14px rgba(19,51,42,.18); transform-style: preserve-3d; transform: rotateX(var(--rx,0)) rotateY(var(--ry,0)); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; overflow: hidden; }
.kh-card3d:hover { box-shadow: 0 30px 60px -20px rgba(19,51,42,.35); }
.kh-card3d__link { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 6px; color: var(--ink); transform-style: preserve-3d; }
.kh-card3d__link:hover { color: var(--ink); }
.kh-card3d__img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px; background: radial-gradient(circle at 50% 60%, #fff 0%, #f0f4f1 70%); margin-bottom: 14px; transform: translateZ(40px); }
.kh-card3d__img img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(19,51,42,.18)); transition: transform .4s; }
.kh-card3d:hover .kh-card3d__img img { transform: scale(1.07) translateY(-6px); }
.kh-card3d__rank { position: absolute; top: 14px; left: 14px; z-index: 3; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--g6), var(--g9)); box-shadow: 0 8px 18px -6px rgba(19,51,42,.6); transform: translateZ(60px); }
.kh-card3d__save { display: inline-grid; place-items: center; padding: 4px 9px; border-radius: 999px; background: #c0392b; color: #fff; font-size: 12px; font-weight: 800; }
.kh-card3d .kh-card3d__save { position: absolute; top: 18px; right: 16px; z-index: 3; transform: translateZ(60px); }
.kh-card3d__cat { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--g6); font-weight: 700; }
.kh-card3d h3 { font-size: 15px; font-weight: 650; line-height: 1.4; margin: 4px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.kh-card3d__price { font-size: 1.3rem; font-weight: 800; color: var(--g9); margin-top: auto; }
.kh-card3d__price del { font-size: .75em; color: var(--mut); font-weight: 400; margin-right: 6px; }
.kh-card3d__price ins { text-decoration: none; color: #c0392b; }
.kh-card3d__btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 18px 18px; padding: 12px; border-radius: 999px; background: var(--g7); color: #fff; font-weight: 700; font-size: 14px; transform: translateZ(30px); transition: background .2s; }
.kh-card3d__btn:hover { background: var(--g9); color: #fff; }
.kh-card3d__btn .kh-ico { width: 18px; height: 18px; }
.kh-card3d__shine { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(500px circle at var(--mx,50%) var(--my,0%), rgba(255,255,255,.55), transparent 40%); opacity: 0; transition: opacity .3s; mix-blend-mode: soft-light; }
.kh-card3d:hover .kh-card3d__shine { opacity: 1; }

/* Spotlight */
.kh-spot { position: relative; overflow: hidden; color: #e6f2ec; background: radial-gradient(900px 500px at 25% 50%, #1d5543 0%, transparent 65%), linear-gradient(135deg, #0b1d17, #143a2f); padding: 88px 0; }
.kh-spot__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.kh-turntable { perspective: 1200px; height: 460px; position: relative; }
.kh-turntable__inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, 8deg)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.kh-turntable__base { position: absolute; left: 50%; bottom: 10px; width: 420px; height: 420px; margin-left: -210px; border-radius: 50%; transform: rotateX(80deg); background: conic-gradient(from 0deg, rgba(127,224,176,.5), rgba(240,160,58,.4), rgba(127,224,176,.5), rgba(240,160,58,.4), rgba(127,224,176,.5)); -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%, #000 58%, transparent 59%, transparent 66%, #000 67%, #000 68%, transparent 69%); mask: radial-gradient(circle, transparent 54%, #000 55%, #000 58%, transparent 59%, transparent 66%, #000 67%, #000 68%, transparent 69%); animation: kh-spin2 12s linear infinite; }
@keyframes kh-spin2 { to { transform: rotateX(80deg) rotateZ(360deg); } }
.kh-turntable__img { position: absolute; left: 50%; top: 10px; width: 400px; height: 400px; margin-left: -200px; object-fit: contain; padding: 30px; border-radius: 36px; background: linear-gradient(150deg, #fff, #e9f0ec); transform: translateZ(80px); box-shadow: 0 60px 90px -25px rgba(0,0,0,.7); animation: kh-float 6s ease-in-out infinite; transition: opacity .25s; }
.kh-spot__thumbs { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.kh-spot__thumbs button { width: 58px; height: 58px; padding: 4px; border-radius: 14px; background: #fff; border: 2px solid transparent; cursor: pointer; opacity: .6; transition: .2s; }
.kh-spot__thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.kh-spot__thumbs button.is-active, .kh-spot__thumbs button:hover { opacity: 1; border-color: var(--acc); transform: translateY(-3px); }
.kh-spot h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.kh-spot__desc ul { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kh-spot__desc li { position: relative; padding: 12px 14px 12px 40px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: 14px; font-weight: 600; color: #e6f2ec; }
.kh-spot__desc li::before { content: "✓"; position: absolute; left: 14px; top: 11px; color: #7fe0b0; font-weight: 800; }
.kh-spot__desc p { color: #b5ccc1; }
.kh-spot__buy { margin-bottom: 6px; }
.kh-spot__price { display: flex; align-items: center; gap: 12px; font-size: 2.4rem; font-weight: 800; color: #fff; }
.kh-spot__price del { font-size: 1.1rem; color: #9fb8ad; font-weight: 400; }
.kh-spot__price ins { text-decoration: none; color: #ffd38a; }
.kh-spot__buy small { color: #9fb8ad; }

/* 3D tilt for regular product cards */
ul.products { perspective: 1400px; }
ul.products li.product { transform-style: preserve-3d; transform: rotateX(var(--rx,0)) rotateY(var(--ry,0)) !important; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
ul.products li.product img { transform: translateZ(30px); }
ul.products li.product:hover img { transform: translateZ(30px) scale(1.04); }
.kh-cat { transform-style: preserve-3d; transform: rotateX(var(--rx,0)) rotateY(var(--ry,0)); }
.kh-cat:hover { transform: rotateX(var(--rx,0)) rotateY(var(--ry,0)) translateY(-4px); }

/* Reveal */
.kh-reveal { opacity: 0; transform: perspective(1000px) translateY(40px) rotateX(12deg); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.kh-reveal.is-in { opacity: 1; transform: none; }
.kh-card3d.kh-reveal.is-in { transform: rotateX(var(--rx,0)) rotateY(var(--ry,0)); }
.no-js .kh-reveal { opacity: 1; transform: none; }

@media (max-width: 1180px) {
	.kh-top__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kh-stage__card--price { right: 0; }
}
@media (max-width: 960px) {
	.kh-h3__in, .kh-spot__in { grid-template-columns: 1fr; min-height: 0; padding-top: 44px; padding-bottom: 56px; gap: 24px; }
	.kh-spot { padding: 56px 0; }
	.kh-stage { height: 440px; }
	.kh-stage__product { width: 300px; height: 300px; margin-left: -150px; top: 30px; }
	.kh-stage__disc { width: 300px; height: 300px; margin-left: -150px; }
	.kh-stage__ring--1 { width: 340px; height: 340px; margin-left: -170px; }
	.kh-stage__ring--2 { width: 400px; height: 400px; margin-left: -200px; }
	.kh-top__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.kh-turntable { height: 380px; }
	.kh-turntable__img { width: 320px; height: 320px; margin-left: -160px; }
	.kh-turntable__base { width: 340px; height: 340px; margin-left: -170px; }
}
@media (max-width: 640px) {
	.kh-stage { height: 380px; }
	.kh-stage__product { width: 240px; height: 240px; margin-left: -120px; }
	.kh-stage__card--price { top: auto; bottom: 10px; right: 0; min-width: 0; padding: 10px 14px; }
	.kh-stage__price, .kh-stage__price .amount { font-size: 18px; }
	.kh-stage__card--ship, .kh-stage__mini--1 { display: none; }
	.kh-stage__mini--0 { top: 0; left: 0; }
	.kh-card3d__link { padding: 12px 12px 4px; }
	.kh-card3d h3 { font-size: 13.5px; }
	.kh-card3d__price { font-size: 1.05rem; }
	.kh-card3d__btn { margin: 4px 12px 12px; font-size: 13px; padding: 10px; }
	.kh-card3d__rank { width: 30px; height: 30px; font-size: 12px; }
	.kh-spot__desc ul { grid-template-columns: 1fr; }
	.kh-turntable { height: 320px; }
	.kh-turntable__img { width: 270px; height: 270px; margin-left: -135px; }
	.kh-turntable__base { width: 290px; height: 290px; margin-left: -145px; }
	.kh-spot__price { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
	.kh-h3__orb, .kh-h3__floor, .kh-stage__ring, .kh-stage__product, .kh-stage__card, .kh-stage__mini, .kh-turntable__base, .kh-turntable__img { animation: none !important; }
	.kh-reveal { opacity: 1; transform: none; transition: none; }
}
.kh-stage__mini { z-index: 5; min-width: 190px; }
.kh-stage__mini--0 { left: -30px; top: 0; transform: translateZ(180px); }
.kh-stage__mini span { max-width: 130px; }
