/*
Theme Name: KireiGhost
Description: Custom WooCommerce theme replicating kireighost.com (Shopify Horizon look).
Version: 1.1.0
Requires PHP: 8.1
Text Domain: kireighost
*/

@font-face { font-family: Inter; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/inter-n4.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/inter-n5.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/inter-n7.woff2") format("woff2"); }
/* Arial scaled to Inter's width (measured: Inter is ~4% narrower): shown until Inter loads, so text keeps the same size (no layout shift). */
@font-face { font-family: "Inter Fallback"; font-weight: 100 600; src: local("Arial"), local("ArialMT"); size-adjust: 96%; }
@font-face { font-family: "Inter Fallback"; font-weight: 700 900; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 96%; }

:root {
	--kg-bg: #fff;
	--kg-fg: #000;
	--kg-muted: rgb(0 0 0 / .6);
	--kg-border: #dfdfdf;
	--kg-soft: #eef1ea;
	--kg-pad: max(40px, calc((100% - 1440px) / 2));
	--kg-font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: rgb(0 0 0 / .4) #fff; scroll-behavior: smooth; }
body { margin: 0; background: var(--kg-bg); color: var(--kg-fg); font: 400 14px/1.6 var(--kg-font); overflow-x: hidden; }
::-webkit-scrollbar { width: 20px; height: 20px; }
::-webkit-scrollbar-track { background-color: transparent; }
::-webkit-scrollbar-thumb { background-color: rgb(0 0 0 / .4); border-radius: 20px; border: 6px solid transparent; background-clip: content-box; transition: background-color .2s; }
::-webkit-scrollbar-thumb:hover { background-color: rgb(0 0 0 / .6); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3, h4, h5 { font-family: var(--kg-font); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
h1 { font-size: 56px; }
h2 { font-size: 48px; }
h3 { font-size: 24px; }
ul { margin: 0; }
button { font: inherit; cursor: pointer; }
.screen-reader-text, .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 1000; top: 8px; left: 8px; background: #fff; padding: 8px 12px; }

.kg-wrap { padding-inline: var(--kg-pad); }
.kg-btn, .button, button.button, .wp-element-button, #place_order, .single_add_to_cart_button {
	display: inline-flex; align-items: center; justify-content: center; gap: 5px;
	background: #000; color: #fff; border: 0; border-radius: 14px;
	padding: 16px 24px; font: 400 14px/22.4px var(--kg-font); cursor: pointer; transition: opacity .2s; min-height: 54px;
}
.kg-btn:hover, .button:hover, #place_order:hover, .single_add_to_cart_button:hover { opacity: .85; color: #fff; }
.kg-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #fff; min-height: 54px; }
.kg-btn--ghost:hover { color: #fff; background: rgb(255 255 255 / .15); opacity: 1; }

/* ---------- Header ---------- */
.kg-announce { text-align: center; font-size: 12px; font-weight: 500; line-height: 12px; padding: 15px var(--kg-pad); height: 43px; border-bottom: 1px solid var(--kg-border); }
.kg-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 20px; padding: 11.2px var(--kg-pad); height: 90px; background: #fff; position: sticky; top: -1px; z-index: 18; }
.kg-nav { margin-left: -10px; }
.kg-nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
.kg-nav a { display: block; padding: 22.3px 11.2px; text-transform: uppercase; font-size: 14px; line-height: 23.4px; color: rgb(0 0 0 / .8); }
.kg-nav a:hover, .kg-nav a[aria-current="page"] { color: #000; }
.kg-logo { display: block; width: 62px; height: 68px; }
.kg-logo img { width: 62px; height: 68px; object-fit: contain; mix-blend-mode: multiply; }
.kg-header__right { display: flex; justify-content: flex-end; align-items: center; }
.kg-cart-btn { background: none; border: 0; padding: 0; width: 44px; height: 44px; display: flex; justify-content: center; color: #000; cursor: pointer; }
.kg-cart-icon { position: relative; display: block; width: 44px; height: 44px; --kg-bub-size: 20px; --kg-bub-top: 4.5px; --kg-bub-right: 2.5px; }
.kg-svg { display: flex; justify-content: center; align-items: center; }
.kg-cart-icon .kg-svg { width: 44px; height: 44px; }
.kg-cart-icon svg { width: 22px; height: 22px; }
.kg-cart-icon--has-cart svg { -webkit-mask: radial-gradient(calc(var(--kg-bub-size) + 2px) at calc(100% - var(--kg-bub-right)) var(--kg-bub-top), transparent 45.45%, #fff 45.45%, #fff 100%); mask: radial-gradient(calc(var(--kg-bub-size) + 2px) at calc(100% - var(--kg-bub-right)) var(--kg-bub-top), transparent 45.45%, #fff 45.45%, #fff 100%); }
.kg-cart-count { position: absolute; top: var(--kg-bub-top); right: var(--kg-bub-right); width: var(--kg-bub-size); height: var(--kg-bub-size); border-radius: 50%; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1; font-weight: 400; }
.kg-cart-count[data-count="0"] { display: none; }
.kg-burger { display: none; background: none; border: 0; padding: 16px; width: 46px; height: 46px; align-items: center; justify-content: center; color: #000; cursor: pointer; }
.kg-burger svg { width: 14px; height: 14px; display: block; }
.kg-burger svg { width: 24px; height: 24px; }

/* ---------- Mobile menu drawer (copied from the original Horizon theme) ---------- */
.kg-menu-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh; -webkit-backdrop-filter: brightness(.75); backdrop-filter: brightness(.75); z-index: 16; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s .2s; }
.kg-menu-drawer { position: fixed; top: 0; left: 0; height: 100dvh; width: 95vw; z-index: 18; background: #fff; color: #000; overflow: auto; display: none; flex-direction: column; border-right: 1px solid var(--kg-border); transform: translate(-100%); visibility: hidden; transition: transform .2s, visibility .2s, opacity .2s; }
.kg-menu-open .kg-menu-backdrop { opacity: 1; visibility: visible; transition: opacity .2s ease; }
.kg-menu-open .kg-menu-drawer { transform: none; visibility: visible; }
html.kg-menu-open { overflow: hidden; }
.kg-menu-close { position: relative; width: fit-content; height: fit-content; padding: 16px; border: 0; background: none; color: inherit; display: flex; cursor: pointer; z-index: 1; }
.kg-menu-close .kg-svg { width: 20px; height: 20px; }
.kg-menu-nav { padding: 0; }
.kg-menu-list { list-style: none; padding: 0 18.2px; margin: 0 0 8px; }
.kg-menu-list li { display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 12.8px; min-height: 0; }
.kg-menu-list a { display: flex; width: 100%; padding: 4px 0; position: relative; text-decoration: none; justify-content: space-between; align-items: center; font-size: 28px; line-height: 38.8px; text-transform: uppercase; color: #000; }
.kg-menu-featured { margin-top: auto; container-type: inline-size; position: relative; z-index: 1; }
.kg-menu-featured__list { display: flex; gap: 14px; overflow-x: auto; padding: 0 0 16px; margin: 0; list-style: none; }
.kg-menu-featured__item { flex: 0 0 auto; width: 35cqi; }
.kg-menu-featured__item:first-child { margin-inline-start: 20px; }
.kg-menu-featured__item:last-child { margin-inline-end: 20px; }
.kg-rc { position: relative; display: flex; flex-direction: column; row-gap: 8px; height: 100%; text-decoration: none; }
.kg-rc__link { position: absolute; inset: 0; z-index: 1; }
.kg-rc__media { aspect-ratio: 4 / 5; overflow: hidden; }
.kg-rc__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.kg-rc__content { display: flex; flex-direction: column; gap: 2px; color: #000; }
.kg-rc__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.3; word-break: break-word; overflow-wrap: break-word; margin: 0; font-size: 14px; }
.kg-rc__price { font-weight: 500; font-size: 14px; line-height: 22.4px; display: flex; gap: 4px; flex-wrap: wrap; }
.kg-rc__was { color: rgb(0 0 0 / .8); text-decoration: line-through 1.5px rgb(0 0 0 / .3); }
.kg-menu-open .kg-menu-anim { animation: kg-menu-in .2s ease-in-out backwards; animation-delay: calc(.2s + (var(--i, 1) - 1) * .1s); }
@keyframes kg-menu-in { 0% { visibility: hidden; opacity: 0; transform: translate(-.5rem); } 100% { visibility: visible; opacity: 1; transform: translate(0); } }
@media (prefers-reduced-motion: reduce) { .kg-menu-open .kg-menu-anim { animation: none; } .kg-menu-drawer, .kg-menu-backdrop { transition: none; } }

/* ---------- Marquee ---------- */
.kg-marquee { overflow: hidden; max-width: 100vw; contain: inline-size; white-space: nowrap; padding: 11px 0; font-size: 16px; line-height: 19.2px; letter-spacing: -.48px; }
.kg-marquee__track { display: inline-flex; gap: 24px; padding-left: var(--kg-pad); animation: kg-marquee 40s linear infinite; will-change: transform; }
.kg-marquee span { flex: none; }
@keyframes kg-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .kg-marquee__track { animation: none; } }

/* ---------- Hero ---------- */
.kg-hero { margin-top: 1px; position: relative; height: 65vh; min-height: 420px; overflow: hidden; background: #111; color: #fff; }
.kg-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.kg-hero::after { content: ""; position: absolute; inset: 0; background: rgb(18 18 18 / .4); pointer-events: none; }
.kg-hero__body { z-index: 1; position: absolute; inset: 0; padding: 100px 0 72px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; }
.kg-hero__title { font-size: 48px; line-height: 48px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 99px; white-space: pre; }

/* ---------- Collection carousel ---------- */
.kg-collection { padding: 48px 0; display: flex; flex-direction: column; gap: 17px; }
.kg-collection > h3 { line-height: 24px; align-self: flex-start; }
.kg-rail-wrap { position: relative; }
.kg-rail { display: flex; gap: 11px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; padding: 0; margin: 0; cursor: grab; user-select: none; -webkit-user-select: none; }
.kg-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.kg-rail.is-dragging a { pointer-events: none; }
.kg-rail img { -webkit-user-drag: none; pointer-events: none; }
.kg-rail-btn { position: absolute; top: calc(50% - 24px); width: 48px; height: 48px; border: 0; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .2s; z-index: 3; padding: 0; }
.kg-rail-btn svg { width: 20px; height: 20px; }
.kg-rail-btn--prev { left: var(--kg-pad); }
.kg-rail-btn--next { right: var(--kg-pad); }
.kg-rail-wrap:hover .kg-rail-btn:not([hidden]) { opacity: 1; }
.kg-rail-btn[hidden] { display: none; }
@media (hover: none) { .kg-rail-btn { display: none; } }
.kg-rail::-webkit-scrollbar { display: none; }
.kg-rail > .kg-card { flex: 0 0 calc((100% - 80px) / 4); scroll-snap-align: start; }
.kg-center { text-align: center; margin-top: 0; }


/* ---------- Product card ---------- */
.kg-card { position: relative; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.kg-badge { position: absolute; top: 8px; right: 8px; z-index: 3; pointer-events: none; background: var(--kg-soft); color: #000; border-radius: 100px; padding: 4px 10px; font-size: 13px; line-height: 20.8px; text-transform: uppercase; }
.kg-card__title { font-size: 14px; font-weight: 400; line-height: 22.4px; padding-top: 4px; margin: 0; }
.kg-card .price { align-self: flex-start; font-size: 12px; line-height: 14.4px; font-weight: 500; }

/* Price: sale first, regular struck through (Shopify order). */
.price { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 3px; align-items: baseline; }
.price del { color: rgb(0 0 0 / .8); font-weight: inherit; opacity: 1; text-decoration: line-through 1.5px rgb(0 0 0 / .3); }
.price ins { text-decoration: none; color: #000; background: none; }
.price .screen-reader-text { display: none; }

/* ---------- Showcase (video) ---------- */
.kg-showcase { background: #000; color: #fff; padding: 0 var(--kg-pad); }
.kg-showcase__grid { display: grid; grid-template-columns: 50.368% 47.279%; column-gap: 1.176%; align-items: center; padding: 32px 0; min-height: 427px; }
.kg-showcase__text { display: flex; flex-direction: column; gap: 16px; padding-bottom: 25px; }
.kg-showcase__text h3 { font-size: 32px; line-height: 35.2px; }
.kg-showcase__text h3:empty { height: 0; }
.kg-showcase__text h3.kg-sp { height: 35.2px; }
.kg-showcase__text p { font-size: 14px; line-height: 22.4px; text-transform: uppercase; }
.kg-video { position: relative; border-radius: 44px; overflow: hidden; aspect-ratio: 643 / 363; background: #111; transform: translateZ(0); }
.kg-video video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Checkout collection band ---------- */
.kg-band { min-height: 50vh; padding: 48px var(--kg-pad); display: flex; flex-direction: column; gap: 25px; justify-content: center; align-items: center; text-align: center; }
.kg-band h2 { line-height: 48px; }

/* ---------- Footer ---------- */
.kg-news { margin-top: 21px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; align-items: center; padding: 30px var(--kg-pad); }
.kg-news__txt { display: flex; flex-direction: column; gap: 6px; }
.kg-news h2 { font-size: 24px; line-height: 24px; }
.kg-news p { font-size: 14px; line-height: 22.4px; }
.kg-news form { position: relative; }
.kg-news input[type=email] { display: block; width: 100%; height: 60px; border: 1px solid var(--kg-border); border-radius: 100px; padding: 16px 70px 16px 28px; font: 400 14px/22.4px var(--kg-font); background: #fff; color: #333; outline-offset: 2px; }
.kg-news input[type=email]:focus, .kg-news input[type=email]:focus-visible { outline: 0; box-shadow: none; border-color: var(--kg-border); }
.kg-news input::placeholder { color: rgb(0 0 0 / .6); }
.kg-news button { position: absolute; right: 9px; top: 9px; background: none; border: 0; width: 42px; height: 42px; border-radius: 100px; display: grid; place-items: center; color: #333; }
.kg-hp { position: absolute; left: -9999px; }
.kg-notice { margin: 8px 0 0; font-size: 13px; }
.kg-notice.is-ok { color: #1a7f37; }
.kg-notice.is-err { color: #b3261e; }
.kg-bottom { display: flex; justify-content: space-between; align-items: flex-start; margin: 0 var(--kg-pad); border-top: 1px solid var(--kg-border); padding: 33px 0 30px; font-size: 12px; line-height: 15px; color: var(--kg-muted); }
.kg-news + .kg-bottom { margin-top: 0; }
.kg-bottom a { color: inherit; }
.kg-policies { position: relative; }
.kg-policies > button { background: none; border: 0; color: inherit; padding: 0; font-size: 12px; line-height: 15px; }
.kg-policies ul { position: absolute; left: 0; bottom: calc(100% + 16px); margin: 0; padding: 8px; list-style: none; white-space: nowrap; background: #fff; border: 1px solid transparent; border-radius: 14px; box-shadow: 0 4px 20px rgb(0 0 0 / .15); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility 0s .15s; z-index: 30; }
.kg-policies ul::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.kg-policies:hover ul, .kg-policies:focus-within ul, .kg-policies.is-open ul { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.kg-policies li { margin: 0; }
.kg-policies li a { display: inline-block; padding: 8px; border-radius: 8px; font-size: 12px; line-height: 12px; color: #000; text-decoration: none; transition: background-color .125s ease-in-out; }
.kg-policies li a:hover, .kg-policies li a:focus-visible { background-color: rgb(0 0 0 / .15); outline: 0; }
.kg-bottom svg { width: 24px; height: 24px; margin-top: -5px; }

/* ---------- Pages ---------- */
.kg-page { padding: 48px var(--kg-pad) 80px; }
.kg-page > h1 { text-align: center; margin-bottom: 28px; }
.kg-narrow { max-width: 780px; margin-inline: auto; }
.kg-rte h2 { font-size: 22px; margin-top: 1.6em; margin-bottom: .5em; }
.kg-rte h3, .kg-rte h4, .kg-rte h5 { margin-top: 1.4em; margin-bottom: .4em; }
.kg-rte p, .kg-rte li { max-width: 78ch; margin-bottom: .8em; }
.kg-rte a { text-decoration: underline; }
.kg-form { max-width: 780px; margin: 0 auto 72px; display: grid; gap: 14px; }
.kg-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kg-form input, .kg-form textarea { width: 100%; border: 1px solid var(--kg-border); border-radius: 4px; padding: 18px 20px; font: inherit; background: #fff; }
.kg-form textarea { min-height: 220px; resize: vertical; }
.kg-form .kg-btn { justify-self: start; border-radius: 14px; padding: 18px 26px; }
.kg-faq h2 { font-size: 28px; margin-bottom: 20px; }
.kg-faq details { border-top: 1px solid #000; }
.kg-faq details:last-of-type { border-bottom: 1px solid #000; }
.kg-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 500; font-size: 14px; }
.kg-faq summary::-webkit-details-marker { display: none; }
.kg-faq summary::after { content: ""; width: 7px; height: 7px; border: solid #000; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.kg-faq details[open] summary::after { transform: rotate(-135deg); }
.kg-faq .kg-faq__a { padding: 0 0 18px; max-width: 78ch; }
.kg-faq .kg-faq__a h4, .kg-faq .kg-faq__a h5 { font-size: 15px; margin: 0 0 8px; }

/* ---------- Product card gallery (hover = 2nd image, arrows like the original) ---------- */
.kg-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.kg-card__link { position: absolute; inset: 0; z-index: 1; }
.kg-card__slides { display: flex; gap: 11px; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.kg-card__slides::-webkit-scrollbar { display: none; }
.kg-card__slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; -webkit-user-drag: none; }
.kg-card__arrows { position: absolute; inset: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.kg-card__media:hover .kg-card__arrows, .kg-card__media:focus-within .kg-card__arrows { opacity: 1; }
.kg-card__arrow { pointer-events: auto; width: 60px; height: 44px; padding: 0 20px; border: 0; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.kg-card__arrow .kg-svg, .kg-card__arrow svg { width: 20px; height: 20px; }
.kg-card__arrow--prev svg { transform: scaleX(-1); }
@media (hover: none) { .kg-card__arrows { display: none; } }

/* ---------- Catalog ---------- */
.kg-catalog { padding: 0 var(--kg-pad); }
.kg-catalog__head { padding: 48px 0; }
.kg-h2 { font-size: clamp(2.25rem, 4.8vw, 3rem); line-height: 1; font-weight: 700; letter-spacing: 0; margin: 0; }
.kg-toolbar { display: flex; align-items: center; padding: 8px 0; margin-bottom: 8px; position: relative; }
.kg-filter-btn { display: none; align-items: center; gap: 10px; height: 44px; padding: 0; background: none; border: 0; font-size: 14px; color: #000; cursor: pointer; }
.kg-filter-btn .kg-svg { width: 21px; height: 20px; }
.kg-facets { display: flex; align-items: center; flex: 1; min-width: 0; }
.kg-facets__head, .kg-facets__foot, .kg-sort-select { display: none; }
.kg-facets__body { display: flex; align-items: center; gap: 20px; flex: 1; min-width: 0; }
.kg-facets__left { display: flex; gap: 16px; margin-right: 12.8px; }
.kg-facet { position: relative; color: rgb(0 0 0 / .8); }
.kg-facet > summary { list-style: none; display: flex; align-items: center; padding: 10.8px 0; cursor: pointer; user-select: none; -webkit-user-select: none; }
.kg-facet > summary::-webkit-details-marker { display: none; }
.kg-facet__label { color: #000; margin-right: 4.8px; line-height: 22.4px; transition: color .15s; }
.kg-facet__caret { display: flex; width: 14px; height: 14px; margin: 0; color: rgb(0 0 0 / .5); }
.kg-facet__caret svg { width: 14px; height: 14px; transition: transform .2s ease; }
.kg-facet[open] .kg-facet__caret svg { transform: rotate(180deg); }
.kg-facets__left:has(details[open]) details:not([open]) .kg-facet__label { color: rgb(0 0 0 / .6); }
.kg-facets__count { margin-left: auto; color: rgb(0 0 0 / .8); line-height: 22.4px; white-space: nowrap; }

.kg-panel { position: absolute; top: calc(100% - 4px); left: 0; z-index: 5; width: max-content; background: #fff; color: #000; border: 1px solid var(--kg-border); border-radius: 14px; box-shadow: 0 4px 20px rgb(0 0 0 / .15); animation: kg-panel-in .2s ease-in-out; }
@keyframes kg-panel-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.kg-panel--sort { left: auto; right: 0; width: 200px; padding: 9.1px; }
.kg-panel--avail { padding: 12.8px; }
.kg-panel--price { width: 362px; padding: 0; }

.kg-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11.2px; }
.kg-check { display: flex; align-items: center; position: relative; cursor: pointer; line-height: 16px; }
.kg-check input { position: absolute; opacity: 0; width: 16px; height: 16px; margin: 0; cursor: inherit; }
.kg-check__box { width: 16px; height: 16px; flex: none; border: 1px solid rgb(0 0 0 / .4); border-radius: 4px; background: #fff; display: grid; place-items: center; color: #fff; transition: background-color .125s, border-color .125s; }
.kg-check__box svg { width: 14px; height: 14px; opacity: 0; }
.kg-check input:checked + .kg-check__box { background: #000; border-color: #000; }
.kg-check input:checked + .kg-check__box svg { opacity: 1; }
.kg-check input:focus-visible + .kg-check__box { outline: 2px solid #000; outline-offset: 2px; }
.kg-check__text { padding-left: 6px; color: rgb(0 0 0 / .8); font-size: 14px; }
.kg-check.is-disabled { cursor: not-allowed; }
.kg-check.is-disabled .kg-check__box { background: rgb(0 0 0 / .08); border-color: rgb(0 0 0 / .15); }
.kg-check.is-disabled .kg-check__text { color: rgb(0 0 0 / .5); }

.kg-price { display: flex; align-items: center; gap: 13.2px; padding: 12.8px 13.8px 0; }
.kg-price__field { position: relative; flex: 1 1 0; min-width: 0; display: block; }
.kg-price__field input { width: 100%; height: 48px; padding: 12.8px 12.8px 12.8px 32px; border: 0; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px var(--kg-border); font: 400 14px/22.4px var(--kg-font); color: #333; text-align: right; -moz-appearance: textfield; appearance: textfield; }
.kg-price__field input::-webkit-outer-spin-button, .kg-price__field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kg-price__field input::placeholder { color: rgb(51 51 51 / .6); }
.kg-price__field input:focus { outline: 0; box-shadow: inset 0 0 0 2px #000; }
.kg-price__cur { position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 12.8px; color: rgb(51 51 51 / .6); pointer-events: none; }
.kg-price__to { width: 13px; text-align: center; flex: none; }
.kg-price__note { margin: 0; padding: 12.8px 12.8px 8px; color: rgb(0 0 0 / .6); }

.kg-sort-opt { position: relative; display: grid; grid-template-columns: 20px 1fr; gap: 4.8px; align-items: center; padding: 4px 9.1px 4px 4px; margin: 0 0 .4px; cursor: pointer; border-radius: 8px; transition: background-color .125s; }
.kg-sort-opt:hover { background: rgb(0 0 0 / .04); }
.kg-sort-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kg-sort-opt__check { display: flex; width: 20px; height: 20px; opacity: 0; }
.kg-sort-opt__check svg { width: 20px; height: 20px; }
.kg-sort-opt input:checked ~ .kg-sort-opt__check { opacity: 1; }
.kg-sort-opt input:checked ~ .kg-sort-opt__label { font-weight: 500; }
.kg-sort-opt__label { line-height: 22.4px; }

.kg-cols { display: flex; margin: 0 -3px 0 20px; }
.kg-cols__set { display: flex; gap: 4.8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.kg-cols__set--mobile { display: none; }
.kg-colopt { position: relative; display: flex; width: 28px; height: 28px; }
.kg-colopt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.kg-colopt__box { width: 28px; height: 28px; padding: 4px; border-radius: 3.2px; color: rgb(0 0 0 / .45); display: flex; transition: background-color .125s, color .125s; }
.kg-colopt__box svg { width: 20px; height: 20px; }
.kg-colopt input:checked + .kg-colopt__box { background: rgb(0 0 0 / .05); color: #000; }
.kg-colopt input:focus-visible + .kg-colopt__box { outline: 2px solid #000; }
.kg-filters-backdrop { display: none; }

.kg-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 16px; list-style: none; margin: 0; padding: 0 0 32px; }
.kg-grid.kg-grid--zoom { grid-template-columns: repeat(11, minmax(0, 1fr)); }
.kg-grid--zoom .kg-card__title { font-size: 12px; line-height: 1.3; padding-top: 2px; }
.kg-grid--zoom .kg-card .price { font-size: 10px; }
.kg-grid--zoom .kg-badge { font-size: 9px; line-height: 14px; padding: 2px 6px; top: 4px; right: 4px; }
.kg-grid--zoom .kg-card__arrow { width: 32px; padding: 0 6px; }
.kg-noresults { padding: 24px 0 56px; }
.kg-noresults a { text-decoration: underline; }
.kg-marquee--big { font-size: 15px; margin-top: 0; }

/* ---------- Single product ---------- */
.kg-single { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); padding: 0 var(--kg-pad); }
@media (max-width: 1199px) { .kg-single { grid-template-columns: minmax(0, 1fr) 400px; } }
@media (max-width: 899px) { .kg-single { grid-template-columns: minmax(0, 1fr) 380px; } }
.kg-media { padding-right: 24px; display: flex; gap: 0; align-items: flex-start; position: relative; container-type: inline-size; min-width: 0; }
.kg-slides { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; min-width: 0; }
.kg-slides::-webkit-scrollbar { display: none; }
.kg-slide { flex: 0 0 100%; scroll-snap-align: start; display: flex; justify-content: center; align-items: flex-start; }
/* Square picture: as wide as the slide, but never taller than the viewport minus the sticky header (like the original). */
.kg-slide img { width: min(100%, calc(100vh - 90px)); height: auto; aspect-ratio: 1 / 1; object-fit: cover; cursor: zoom-in; }
.kg-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 44px; border: 0; background: none; color: #fff; mix-blend-mode: difference; display: grid; place-items: center; z-index: 3; }
.kg-arrow svg { width: 32px; height: 32px; }
.kg-arrow--prev { left: calc(10px + max(0px, (100cqw - 58px - (100vh - 90px)) / 2)); }
.kg-arrow--next { right: calc(92px + max(0px, (100cqw - 58px - (100vh - 90px)) / 2)); }
.kg-thumbs { display: flex; flex-direction: column; gap: 8px; padding: 3px 3px 4px 11px; flex: none; }
.kg-thumbs button { width: 44px; height: 44px; padding: 0; border: 0; background: none; outline: 0; opacity: .85; }
.kg-thumbs button img { width: 44px; height: 44px; object-fit: cover; }
.kg-thumbs button[aria-current="true"] { opacity: 1; outline: 1px solid #000; outline-offset: 0; }
.kg-info { padding-left: 24px; display: flex; flex-direction: column; justify-content: flex-start; }
.kg-info__in { padding: 24px 0; display: flex; flex-direction: column; gap: 28px; }
.kg-title { display: flex; flex-direction: column; gap: 12px; }
.kg-title h1 { font-size: 32px; line-height: 35.2px; }
.kg-title .price { font-size: 14px; line-height: 22.4px; font-weight: 400; padding-top: 4px; }
.kg-divider { height: 1px; background: var(--kg-border); }
.kg-offer { border: 1px solid #ebebeb; border-radius: 10px; padding: 15px 20px; margin-bottom: 20px; }
.kg-offer__t { display: flex; align-items: center; gap: 10px; margin-top: -3px; }
.kg-offer__t i { width: 16px; height: 16px; border: 1px solid #000; border-radius: 50%; display: grid; place-items: center; font-style: normal; flex: none; }
.kg-offer__t i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #000; }
.kg-offer__d { margin-top: 13px; }
.kg-form-btns form.cart { display: flex; flex-direction: column; gap: 11.2px; margin: 0; }
.kg-qty-sel { display: inline-flex; align-items: center; justify-content: space-between; width: 126px; height: 52px; border: 1px solid var(--kg-border); border-radius: 14px; background: #fff; color: #333; }
.kg-qty-sel button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; line-height: 1; color: #333; border-radius: 14px; }
.kg-qty-sel button:disabled { opacity: .5; cursor: default; }
.kg-qty-sel input { width: 36px; border: 0; text-align: center; font: 400 14px/24px var(--kg-font); color: #333; background: none; padding: 1px 0; -moz-appearance: textfield; }
.kg-qty-sel input::-webkit-outer-spin-button, .kg-qty-sel input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kg-form-btns .single_add_to_cart_button { width: 100%; min-height: 52px; padding: 15px 24px; }
.kg-ship { background: #1f2937; color: #fff; border-radius: 10px; padding: 10px 15px; margin-top: 20px; display: flex; align-items: center; gap: 8px; line-height: 22.4px; }
.kg-ship svg { width: 14px; height: 14px; flex: none; }
.kg-desc ul { padding-left: 21px; list-style: disc; }
.kg-desc li { margin: 0; max-width: none; line-height: 22.4px; }
.kg-desc p { margin-bottom: .8em; max-width: none; }
.kg-related { padding: 48px var(--kg-pad); display: flex; flex-direction: column; gap: 28px; }
.kg-related__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 12px; list-style: none; padding: 0; margin: 0; }

/* ---------- Cart drawer ---------- */
/* Cart drawer: same look as the original Horizon cart drawer (480px, round close button, centered empty state). */
.kg-drawer-overlay { display: none; }
.kg-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: #fff; color: #000; z-index: 100; transform: translateX(100%); visibility: hidden; transition: transform .2s ease, visibility 0s .2s; display: flex; flex-direction: column; border-left: 1px solid var(--kg-border); }
body.kg-cart-open .kg-drawer { transform: none; visibility: visible; transition: transform .2s ease; }
@media (min-width: 750px) {
	body { transition: margin-right .2s ease; }
	body.kg-cart-open { margin-right: 480px; }
}
@media (max-width: 749px) { body.kg-cart-open { overflow: hidden; } }
.kg-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px; border: 0; }
.kg-drawer__head h2 { font-size: 24px; line-height: 24px; letter-spacing: 0; margin: 0; }
.kg-drawer--empty .kg-drawer__head h2 { display: none; }
.kg-drawer--empty .kg-drawer__head { justify-content: flex-end; }
.kg-drawer__close { width: 34px; height: 34px; padding: 0; border-radius: 34px; border: 1px solid rgb(0 0 0 / .06); background: #fff; color: rgb(0 0 0 / .5); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgb(0 0 0 / .06); cursor: pointer; }
.kg-drawer__close .kg-svg, .kg-drawer__close svg { width: 20px; height: 20px; }
.kg-drawer__inner { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.kg-drawer__head h2 { display: flex; align-items: center; gap: 8px; }
.kg-drawer__badge { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0 2.6px; border-radius: 16px; background: rgb(0 0 0 / .1); font: 400 13px/13px var(--kg-font); }
.kg-drawer__scroll { flex: 1; min-height: 0; overflow-y: auto; }
.kg-drawer__items { margin: 0; padding: 0 20px; list-style: none; }
.kg-line { display: grid; grid-template-columns: 65.85px minmax(0, 1fr); gap: 14.4px; padding: 0 0 24px; }
.kg-line__media img { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }
.kg-line__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.kg-line__title { font: 400 16px/25.6px var(--kg-font); color: #000; }
.kg-line__total { flex: none; padding: 1px; font: 500 14px/14px var(--kg-font); color: #000; }
.kg-line__meta { color: rgb(0 0 0 / .7); font-size: 14px; line-height: 22.4px; }
.kg-props { margin: 6.8px 0 0; }
.kg-props dt, .kg-props dd { display: inline; margin: 0; }
.kg-props__plan { margin: 0; }
.kg-line__unit { margin-top: 2px; }
.kg-line__controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 1px; }
.kg-qty { display: flex; align-items: center; justify-content: space-between; width: 105px; height: 36px; border: 1px solid rgb(223 223 223); border-radius: 4px; background: #fff; color: #333; }
.kg-qty button { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.kg-qty button:first-child { border-radius: 4px 0 0 4px; }
.kg-qty button:last-child { border-radius: 0 4px 4px 0; }
.kg-qty button:disabled { opacity: .5; cursor: default; }
.kg-qty span { width: 31px; text-align: center; font: 400 14px/22.4px var(--kg-font); }
.kg-line__remove { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 14px; background: none; color: #000; cursor: pointer; }
.kg-drawer__foot { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 20px; padding: 24px; background: #fff; }
.kg-discount { margin-top: 2px; border-top: 1px solid rgb(0 0 0 / .1); border-bottom: 1px solid rgb(0 0 0 / .1); }
.kg-discount summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 11.2px 0; font-size: 12px; line-height: 14.4px; cursor: pointer; list-style: none; }
.kg-discount summary::-webkit-details-marker { display: none; }
.kg-discount[open] .kg-discount__v { display: none; }
.kg-discount__form { display: flex; align-items: center; gap: 12.8px; padding: 4px 0 11.2px; }
.kg-discount__form input { flex: 1; min-width: 0; height: 44px; padding: 11.2px 12.8px; border: 1px solid rgb(223 223 223); border-radius: 4px; font: 400 14px/22.4px var(--kg-font); color: #333; }
.kg-discount__form .kg-btn { height: 44px; min-height: 0; padding: 16px 24px; line-height: 14px; border-radius: 14px; }
.kg-discount__error { margin: 0 0 11.2px; color: #eb001b; font-size: 12px; line-height: 16px; }
.kg-discount__codes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 11.2px; padding: 0; list-style: none; }
.kg-discount__codes li { display: flex; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; border-radius: 4px; background: rgb(0 0 0 / .06); font-size: 12px; line-height: 16px; }
.kg-discount__codes button { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; }
.kg-drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; line-height: 22.4px; }
.kg-drawer__total strong { font: 500 14px/14px var(--kg-font); }
.kg-drawer__note { margin: -4px 0 0; font-size: 12px; line-height: 19.2px; color: rgb(0 0 0 / .8); }
.kg-drawer__checkout { width: 100%; height: 52px; min-height: 0; padding: 16px 32px; line-height: 14px; border-radius: 14px; }
.kg-drawer__checkout:hover { background: rgb(38 38 38); opacity: 1; }
.kg-drawer__consent { margin: 1.67px 0 0; font-size: 11.6667px; line-height: 18.6667px; color: #000; }
.kg-drawer__consent a { text-decoration: underline; }
@media (max-width: 749px) {
	.kg-line { grid-template-columns: 52.3px minmax(0, 1fr); }
	.kg-qty { width: 126px; height: 46px; }
	.kg-qty button { width: 44px; height: 44px; }
	.kg-qty span { width: 36px; font-size: 16px; line-height: 25.6px; }
	.kg-drawer__foot { padding: 16px; }
	.kg-drawer__total strong { font-size: 18px; line-height: 18px; }
}
.kg-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
.kg-empty h2 { font-size: 24px; line-height: 24px; letter-spacing: 0; margin: 0; }
.kg-empty .kg-btn { margin-top: 49.2px; min-height: 0; padding: 16px 32px; line-height: 14px; border-radius: 14px; }

/* ---------- WooCommerce basics (checkout etc.) ---------- */
.kg-woo { padding: 0 0 40px; max-width: 1200px; margin-inline: auto; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: 12px 16px; border-radius: 8px; background: var(--kg-soft); margin: 0 0 18px; }
.woocommerce-error { background: #fdecea; }
.woocommerce-notices-wrapper { margin: 0; }
.woocommerce-notices-wrapper:empty { display: none; }
/* ---------- Responsive ---------- */
@media (max-width: 989px) {
	.kg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kg-grid.kg-grid--zoom { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.kg-rail > .kg-card { flex-basis: 38vw; }
	.kg-related__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 749px) {
	/* catalog on mobile: filter drawer */
	.kg-catalog { padding: 0; }
	.kg-catalog__head { padding: 34px var(--kg-pad); }
	.kg-toolbar { padding: 8px var(--kg-pad); margin-bottom: 0; }
	.kg-filter-btn { display: flex; }
	.kg-cols { margin-left: auto; }
	.kg-cols__set--desktop { display: none; }
	.kg-cols__set--mobile { display: flex; }
	.kg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 24px; }
	.kg-grid.kg-grid--single { grid-template-columns: minmax(0, 1fr); }
	.kg-grid .kg-card__title, .kg-grid .kg-card .price { padding-inline: 8px; }
	.kg-grid .kg-card__title { font-size: 14.5px; line-height: 23px; }
	.kg-facets { position: fixed; inset: 0; z-index: 40; width: 100%; height: 100dvh; background: #fff; flex-direction: column; align-items: stretch; transform: translateX(-100%); visibility: hidden; transition: transform .2s, visibility .2s; }
	html.kg-filters-open .kg-facets { transform: none; visibility: visible; }
	html.kg-filters-open { overflow: hidden; }
	.kg-facets__head { display: flex; justify-content: space-between; align-items: center; padding: 20px; }
	.kg-facets__title { font-size: 24px; line-height: 24px; display: flex; align-items: center; gap: 8px; }
	.kg-facets__badge { min-width: 22px; height: 22px; padding: 0 6.5px; border-radius: 11px; background: rgb(0 0 0 / .1); font-size: 13px; font-weight: 400; display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0; }
	.kg-facets__close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgb(0 0 0 / .06); background: #fff; color: rgb(0 0 0 / .5); display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: 0 1px 4px rgb(0 0 0 / .06); }
	.kg-facets__close .kg-svg, .kg-facets__close svg { width: 20px; height: 20px; }
	.kg-facets__body { flex-direction: column; align-items: stretch; gap: 0; padding: 0 20px; overflow-y: auto; flex: 1; }
	.kg-facets__left { flex-direction: column; gap: 0; margin: 0; }
	.kg-facet { border-top: 1px solid var(--kg-border); }
	.kg-facet > summary { justify-content: space-between; padding: 11.2px 0; min-height: 46px; }
	.kg-facet__caret svg { transform: rotate(180deg); }
	.kg-facet:not([open]) .kg-facet__caret svg { transform: none; }
	.kg-facets__left:has(details[open]) details:not([open]) .kg-facet__label { color: #000; }
	.kg-panel { position: static; width: auto; border: 0; border-radius: 0; box-shadow: none; animation: none; padding: 0 0 11.2px; }
	.kg-panel--avail { padding: 8px 0 20px; }
	.kg-checks { gap: 22px; }
	.kg-check__box { width: 22px; height: 22px; border-radius: 6px; border-color: rgb(0 0 0 / .35); }
	.kg-check__box svg { width: 20px; height: 20px; }
	.kg-check__text { font-size: 15px; padding-left: 10px; }
	.kg-panel--price { width: auto; }
	.kg-price { padding: 8px 0 0; gap: 14px; }
	.kg-price__field input { height: 49px; border-radius: 8px; font-size: 15px; box-shadow: inset 0 0 0 1px #cfcfcf; }
	.kg-price__note { padding: 8px 0 12px; font-size: 15px; }
	.kg-facets__count, .kg-facet--sort { display: none; }
	.kg-sort-select { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--kg-border); padding: 20px 0; }
	.kg-sort-select__label { font-size: 24px; line-height: 1; }
	.kg-sort-select__wrap { position: relative; display: flex; align-items: center; gap: 8px; color: rgb(0 0 0 / .8); }
	.kg-sort-select select { appearance: none; -webkit-appearance: none; border: 0; background: none; font: 400 15px/22.4px var(--kg-font); color: inherit; text-align: right; padding: 0 22px 0 0; cursor: pointer; direction: rtl; }
	.kg-sort-select__wrap svg { position: absolute; right: 0; width: 14px; height: 14px; pointer-events: none; }
	.kg-facets__foot { display: block; padding: 17px; }
	.kg-facets__foot .kg-btn { width: 100%; min-height: 54px; }
	:root { --kg-pad: 16px; }
	h1 { font-size: 36px; }
	.kg-header { grid-template-columns: 1fr auto 1fr; height: 60px; padding-block: 0; }
	.kg-burger { display: flex; margin-left: 0; }
	.kg-menu-drawer { display: flex; }
	.kg-nav { display: none; }
	.kg-logo, .kg-logo img { width: 50px; height: 54px; }
	.kg-hero { height: 400px; min-height: 0; margin-top: 0; }
	.kg-collection { padding: 34px 0; }
	.kg-hero__body { padding: 100px 0 51px; }
	.kg-hero__title { font-size: 36px; line-height: 36px; }
	.kg-rail > .kg-card { flex-basis: 60vw; }
	.kg-showcase__grid, .kg-news { grid-template-columns: 1fr; row-gap: 20px; }
	.kg-showcase__grid { min-height: 0; padding: 22px 0 38px; row-gap: 39px; }
	.kg-showcase__text { padding-bottom: 0; }
	.kg-showcase__text h3 { font-size: 32px; line-height: 35.2px; }
	.kg-video { border-radius: 44px; aspect-ratio: 16 / 9; }
	.kg-band { min-height: 240px; padding-block: 44px; }
	.kg-band h2 { font-size: 36px; line-height: 36px; }
	.kg-form__row { grid-template-columns: 1fr; }
	.kg-bottom { display: flex; flex-direction: column; align-items: center; gap: 24px; }
	.kg-media { flex-direction: column; }
	.kg-thumbs { flex-direction: row; justify-content: center; align-self: center; padding: 3px 3px 4px 11px; }
	.kg-arrow { display: none; }
	.kg-slide { padding: 0; }
	.kg-single { padding: 0; grid-template-columns: minmax(0, 1fr); }
	.kg-media { padding-right: 0; }
	.kg-info { padding-left: 0; }
	.kg-slide img { width: 100%; }
	.kg-info { padding: 0 var(--kg-pad); }
	.kg-info__in { padding: 20px 0; gap: 20px; }
	.kg-related { padding-block: 33px 48px; }
	.kg-related__list { gap: 16px 8px; }
}

/* ---------- Product picture lightbox (original: full-screen, thumbnails on the right / bottom) ---------- */
html.kg-zoom-open { overflow: hidden; }
.kg-zoom { position: fixed; inset: 0; z-index: 300; background: #fff; overflow-y: auto; display: none; }
.kg-zoom.is-open { display: block; }
.kg-zoom__list { list-style: none; margin: 0; padding: 0; cursor: zoom-out; }
.kg-zoom__item { width: 100%; aspect-ratio: 1 / 1; background: #fff; }
.kg-zoom__pan { width: 100%; height: 100%; }
.kg-zoom__item img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kg-zoom__close { position: fixed; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; outline: 1px solid #fff; background: none; color: #fff; mix-blend-mode: difference; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.kg-zoom__close svg { width: 16px; height: 16px; }
.kg-zoom__thumbs { position: fixed; z-index: 2; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; padding: 16px; max-height: calc(100vh - 200px); overflow-y: auto; scrollbar-width: none; }
.kg-zoom__thumbs::-webkit-scrollbar { display: none; }
.kg-zoom__thumb { flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .2s; }
.kg-zoom__thumb img { display: block; width: 44px; height: 44px; object-fit: cover; }
.kg-zoom__thumb[aria-selected="true"] { outline: 1px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px rgb(0 0 0 / .55); }
@media (max-width: 749px) {
	.kg-zoom { overflow: hidden; }
	.kg-zoom__list { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior: none; }
	.kg-zoom__list::-webkit-scrollbar { display: none; }
	.kg-zoom__item { flex: 0 0 100%; height: 100%; aspect-ratio: auto; scroll-snap-align: start; }
	.kg-zoom__pan { display: flex; align-items: center; overflow: auto; scrollbar-width: none; }
	.kg-zoom__pan::-webkit-scrollbar { display: none; }
	.kg-zoom__item img { flex: none; width: 150vw; height: 150vw; max-width: none; }
	.kg-zoom__thumbs { right: auto; left: 0; top: auto; bottom: 0; width: 100%; transform: none; flex-direction: row; justify-content: center; max-height: none; overflow-x: auto; padding: 16px; }
	.kg-zoom__thumb[aria-selected="true"] { outline-color: #000; box-shadow: 0 0 0 4px #fff; }
}

/* ---------- Notify me when available ---------- */
.kg-notify-btn { width: 100%; margin-top: 12px; min-height: 52px; padding: 15px 24px; border: 1px solid #000; border-radius: 14px; background: #fff; color: #000; font: 500 14px/22px var(--kg-font); cursor: pointer; }
.kg-notify-btn:hover { background: #000; color: #fff; }
.single_add_to_cart_button:disabled { opacity: .5; cursor: not-allowed; }
html.kg-modal-open { overflow: hidden; }
.kg-modal { position: fixed; inset: 0; z-index: 400; background: rgb(0 0 0 / .5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.kg-modal[hidden] { display: none; }
.kg-modal__box { position: relative; width: min(480px, 100%); background: #fff; border-radius: 16px; padding: 40px 32px 32px; }
.kg-modal__box h2 { font-size: 24px; line-height: 28px; margin: 0 0 8px; letter-spacing: 0; }
.kg-modal__box p { margin: 0 0 20px; }
.kg-modal__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; padding: 0; border: 1px solid rgb(0 0 0 / .06); border-radius: 50%; background: #fff; color: rgb(0 0 0 / .5); display: grid; place-items: center; cursor: pointer; }
.kg-modal__close svg { width: 16px; height: 16px; }
.kg-form--modal { margin: 0; max-width: none; }
.kg-form--modal .kg-btn { justify-self: stretch; }
.kg-form--modal .kg-notice { margin: 0; }
