/* KiyuGraphix WooCommerce integration */
.kgx-wc-shell{position:relative;z-index:2;max-width:1240px;margin:0 auto;padding:34px 28px 72px;color:var(--paper)}
.kgx-wc-shell *{box-sizing:border-box}.kgx-wc-shell a{text-decoration:none}.kgx-wc-breadcrumb{font-size:13px;color:var(--paper-dim);margin:0 0 18px}.kgx-wc-breadcrumb a{color:var(--amber)}
.kgx-wc-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:10px 0 28px}.kgx-wc-hero h1{font-size:clamp(34px,5vw,58px);line-height:1}.kgx-wc-hero p{max-width:650px;color:var(--paper-dim);margin:10px 0 0}
.kgx-wc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:0 0 24px;padding:14px 16px;background:var(--glass-bg);border:1px solid var(--glass-border);border-radius:18px}.kgx-wc-toolbar .woocommerce-result-count{margin:0}.kgx-wc-toolbar .woocommerce-ordering{margin:0}.kgx-wc-toolbar select{background:var(--ink-2);border:1px solid var(--glass-border);border-radius:12px;color:var(--paper);padding:10px 36px 10px 12px}
.kgx-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.kgx-product-card{position:relative;overflow:hidden;background:var(--glass-bg);border:1px solid var(--glass-border);border-radius:24px;padding:14px;transition:.25s;min-width:0}.kgx-product-card:hover{transform:translateY(-5px);border-color:rgba(166,238,21,.38);box-shadow:0 22px 60px rgba(0,0,0,.18)}
.kgx-product-thumb{position:relative;aspect-ratio:16/11;border-radius:18px;overflow:hidden;background:linear-gradient(145deg,var(--ink-2),var(--ink));display:block}.kgx-product-thumb img{width:100%;height:100%;object-fit:cover}.kgx-product-placeholder{height:100%;display:grid;place-items:center;font:800 42px 'Baloo 2',sans-serif;color:var(--amber);background:radial-gradient(circle at 75% 24%,rgba(231,245,26,.18),transparent 20%),linear-gradient(145deg,var(--ink-2),var(--ink))}
.kgx-sale-badge{position:absolute;z-index:2;top:12px;left:12px;padding:7px 10px;border-radius:999px;background:linear-gradient(135deg,var(--amber),var(--coral));color:#071006;font-size:11px;font-weight:900}.kgx-product-body{padding:15px 5px 5px}.kgx-product-meta{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--amber);font-weight:800}.kgx-product-card h2{font-size:22px;line-height:1.16;margin:7px 0 8px}.kgx-product-price{font-weight:900;font-size:19px;margin:8px 0 14px}.kgx-product-price del{opacity:.55;font-weight:600;margin-right:5px}.kgx-product-price ins{text-decoration:none;color:var(--amber)}.kgx-card-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.kgx-btn,.kgx-wc-shell .button,.kgx-wc-shell button.button,.kgx-wc-shell input.button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px!important;border:0!important;border-radius:14px!important;font-weight:900!important;background:linear-gradient(135deg,var(--amber),var(--coral))!important;color:#071006!important;box-shadow:none!important;cursor:pointer}.kgx-btn.ghost{background:var(--glass-bg-strong)!important;color:var(--paper)!important;border:1px solid var(--glass-border)!important}
.kgx-pagination{margin-top:30px}.kgx-pagination .page-numbers{display:flex;gap:8px;flex-wrap:wrap}.kgx-pagination .page-numbers li{list-style:none}.kgx-pagination a,.kgx-pagination span{display:grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border-radius:12px;background:var(--glass-bg);border:1px solid var(--glass-border)}.kgx-pagination .current{background:linear-gradient(135deg,var(--amber),var(--coral));color:#071006;border:0;font-weight:900}
/* Single product */
.kgx-single-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:34px;align-items:start}.kgx-product-gallery,.kgx-product-summary,.kgx-panel{background:var(--glass-bg);border:1px solid var(--glass-border);border-radius:26px;padding:20px}.kgx-main-image{position:relative;aspect-ratio:1.16/1;border-radius:20px;overflow:hidden;background:linear-gradient(145deg,var(--ink-2),var(--ink));display:grid;place-items:center}.kgx-main-image img{width:100%;height:100%;object-fit:cover}.kgx-main-image .kgx-product-placeholder{width:100%}.kgx-gallery-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px}.kgx-gallery-thumbs a{aspect-ratio:1;border-radius:12px;overflow:hidden;border:1px solid var(--glass-border)}.kgx-gallery-thumbs img{width:100%;height:100%;object-fit:cover}
.kgx-product-summary .kgx-kicker{display:inline-flex;padding:7px 11px;border-radius:999px;background:rgba(156,234,10,.08);border:1px solid rgba(156,234,10,.22);color:var(--amber);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.kgx-product-summary h1{font-size:clamp(34px,4vw,54px);line-height:1.03;margin:14px 0 10px}.kgx-summary-price{font-size:34px;font-weight:900;margin:8px 0}.kgx-summary-price del{font-size:20px;opacity:.5}.kgx-summary-price ins{text-decoration:none;color:var(--amber)}.kgx-summary-excerpt{color:var(--paper-dim);font-size:16px}.kgx-product-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.kgx-product-fact{padding:13px 14px;border-radius:15px;background:var(--glass-bg-strong);border:1px solid var(--glass-border)}.kgx-product-fact small{display:block;color:var(--paper-dim);font-size:11px}.kgx-product-fact b{font-size:14px}.kgx-product-summary form.cart{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0 0!important}.kgx-product-summary .quantity .qty{width:78px;min-height:44px;border-radius:12px;border:1px solid var(--glass-border);background:var(--ink-2);color:var(--paper);padding:8px}.kgx-product-summary table.variations{width:100%;margin:14px 0}.kgx-product-summary table.variations td{padding:6px 4px}.kgx-product-summary table.variations select{width:100%;padding:11px;border-radius:12px;background:var(--ink-2);color:var(--paper);border:1px solid var(--glass-border)}
.kgx-product-sections{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;margin-top:28px}.kgx-panel h2,.kgx-panel h3{margin-bottom:12px}.kgx-panel p,.kgx-panel li{color:var(--paper-dim)}.kgx-panel ul{list-style:disc;padding-left:20px}.kgx-panel table{width:100%;border-collapse:collapse}.kgx-panel th,.kgx-panel td{padding:11px;border-bottom:1px solid var(--glass-border);text-align:left}.kgx-related{margin-top:34px}.kgx-related h2{margin-bottom:16px}
/* Woo core pages */
.woocommerce .woocommerce-error,.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{border:1px solid var(--glass-border);background:var(--glass-bg-strong);color:var(--paper);border-radius:14px;padding:16px 18px 16px 48px}.woocommerce table.shop_table{border-color:var(--glass-border);border-radius:18px;overflow:hidden}.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:var(--glass-border);padding:14px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container--default .select2-selection--single{background:var(--ink-2);color:var(--paper);border:1px solid var(--glass-border);border-radius:12px;min-height:44px;padding:10px}.woocommerce .col2-set .col-1,.woocommerce-page .col2-set .col-1,.woocommerce .col2-set .col-2,.woocommerce-page .col2-set .col-2{background:var(--glass-bg);border:1px solid var(--glass-border);border-radius:20px;padding:18px}.woocommerce-account .woocommerce-MyAccount-navigation{width:26%}.woocommerce-account .woocommerce-MyAccount-content{width:70%;background:var(--glass-bg);border:1px solid var(--glass-border);border-radius:20px;padding:20px}.woocommerce-MyAccount-navigation ul{list-style:none;padding:0}.woocommerce-MyAccount-navigation li a{display:block;padding:12px 14px;border-radius:12px;margin-bottom:6px;background:var(--glass-bg)}.woocommerce-MyAccount-navigation li.is-active a{background:linear-gradient(135deg,var(--amber),var(--coral));color:#071006;font-weight:900}
body.light-mode .kgx-wc-shell{color:#182018}.light-mode .kgx-wc-toolbar select,.light-mode .kgx-product-summary .quantity .qty,.light-mode .kgx-product-summary table.variations select,.light-mode .woocommerce form .form-row input.input-text,.light-mode .woocommerce form .form-row textarea,.light-mode .woocommerce form .form-row select{background:#fff;color:#182018}.light-mode .kgx-btn.ghost{color:#182018!important}.light-mode .woocommerce .woocommerce-error,.light-mode .woocommerce .woocommerce-info,.light-mode .woocommerce .woocommerce-message{color:#182018}
@media(max-width:1080px){.kgx-product-grid{grid-template-columns:repeat(3,1fr)}.kgx-single-grid{grid-template-columns:1fr}.kgx-product-sections{grid-template-columns:1fr}}
@media(max-width:760px){.kgx-wc-shell{padding:24px 14px 54px}.kgx-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kgx-product-card{border-radius:18px;padding:10px}.kgx-product-card h2{font-size:18px}.kgx-wc-hero{align-items:flex-start;flex-direction:column}.kgx-product-gallery,.kgx-product-summary,.kgx-panel{border-radius:20px;padding:15px}.kgx-product-facts{grid-template-columns:1fr}.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{width:100%;float:none}.woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:16px}}
@media(max-width:470px){.kgx-product-grid{grid-template-columns:1fr}.kgx-gallery-thumbs{grid-template-columns:repeat(4,1fr)}}

/* v2.2 — long product title safety + clean WooCommerce cards */
.kgx-wc-shell,
.kgx-single-grid,
.kgx-product-gallery,
.kgx-product-summary,
.kgx-product-card,
.kgx-product-body,
.kgx-live-product,
.kgx-live-product .pcard-body{min-width:0;max-width:100%}

.kgx-wc-breadcrumb,
.kgx-product-summary h1,
.kgx-product-card h2,
.kgx-product-card h2 a,
.kgx-live-product .pcard-title{
  overflow-wrap:anywhere;
  word-break:break-word;
  hyphens:auto;
  max-width:100%;
}

/* Single product: keep even very long/unbroken names inside the summary card. */
.kgx-product-summary h1{
  font-size:clamp(30px,3.15vw,48px);
  line-height:1.06;
  letter-spacing:-.02em;
  margin:14px 0 10px;
}

/* Archive/related cards: fixed two-line title so every product card stays aligned. */
.kgx-product-card h2{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  min-height:2.32em;
  max-height:2.32em;
}

/* Home WooCommerce cards reuse the original pcard design. */
.kgx-live-product .pcard-title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  line-height:1.25;
  min-height:2.5em;
  max-height:2.5em;
}
.kgx-live-product .pcard-body{overflow:hidden}
.kgx-live-product .pcard-price{flex-wrap:wrap}

@media(max-width:760px){
  .kgx-product-summary h1{font-size:clamp(28px,8vw,40px)}
  .kgx-product-card h2{font-size:18px;min-height:2.32em;max-height:2.32em}
}


/* v2.3 — notices, licence note, lightbox, reviews */
.kgx-wc-notices:empty{display:none}.kgx-wc-notices{margin:0 0 18px}
.kgx-wc-notices .woocommerce-error,.kgx-wc-notices .woocommerce-info,.kgx-wc-notices .woocommerce-message{list-style:none;margin:0 0 10px;border:1px solid var(--glass-border);background:var(--glass-bg-strong);color:var(--paper);border-radius:14px;padding:14px 18px}
.kgx-wc-notices .woocommerce-error{border-color:rgba(255,99,99,.45)}
.kgx-wc-notices .button{margin-left:12px;min-height:34px;padding:6px 12px!important}
.kgx-licence-note{display:flex;gap:8px;align-items:flex-start;margin:14px 0 0;font-size:12.5px;line-height:1.5;color:var(--paper-dim)}
.kgx-licence-note span{color:var(--amber);font-weight:900}
.kgx-lb-trigger{all:unset;display:block;width:100%;height:100%;cursor:zoom-in}
.kgx-lb-trigger img{width:100%;height:100%;object-fit:cover;display:block}
.kgx-lb-trigger:focus-visible{outline:2px solid var(--amber);outline-offset:-2px}
.kgx-gallery-thumbs a{cursor:zoom-in}
.kgx-lightbox{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:40px 70px;background:rgba(4,6,12,.92);backdrop-filter:blur(6px)}
.kgx-lightbox[hidden]{display:none}
.kgx-lb-img{max-width:100%;max-height:100%;object-fit:contain;border-radius:14px;box-shadow:0 30px 80px rgba(0,0,0,.6)}
.kgx-lb-close,.kgx-lb-nav{position:absolute;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:1px solid rgba(174,242,63,.45);background:rgba(10,16,26,.8);color:#AEF23F;font-size:28px;line-height:1;cursor:pointer}
.kgx-lb-close{top:18px;right:18px}.kgx-lb-prev{left:14px;top:50%;transform:translateY(-50%)}.kgx-lb-next{right:14px;top:50%;transform:translateY(-50%)}
.kgx-lb-close:hover,.kgx-lb-nav:hover{background:linear-gradient(135deg,#58DC00,#DDF31A);color:#070A12}
@media(max-width:760px){.kgx-lightbox{padding:70px 12px}.kgx-lb-prev,.kgx-lb-next{top:auto;bottom:14px;transform:none}}
.kgx-reviews{margin-top:28px}
.kgx-reviews .woocommerce-Reviews-title,.kgx-reviews #reply-title{font-size:22px;color:var(--paper);margin:0 0 14px;display:block}
.kgx-reviews .woocommerce-noreviews{color:var(--paper-dim)}
.kgx-reviews ol.commentlist{list-style:none;padding:0;margin:0 0 20px}
.kgx-reviews ol.commentlist li{margin:0 0 12px;padding:14px;border:1px solid var(--glass-border);border-radius:16px;background:var(--glass-bg-strong)}
.kgx-reviews ol.commentlist li img.avatar{float:left;width:40px;height:40px;border-radius:50%;margin-right:12px;border:0;padding:0;background:none}
.kgx-reviews ol.commentlist li .comment-text{margin:0;border:0;padding:0;overflow:hidden}
.kgx-reviews .meta{color:var(--paper-dim);font-size:13px}
.kgx-reviews .comment-form{display:grid;gap:12px}
.kgx-reviews .comment-form label{display:block;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--paper-dim);margin-bottom:6px}
.kgx-reviews .comment-form input[type=text],.kgx-reviews .comment-form input[type=email],.kgx-reviews .comment-form textarea,.kgx-reviews .comment-form select{width:100%;background:var(--ink-2);color:var(--paper);border:1px solid var(--glass-border);border-radius:12px;padding:11px 12px;font:inherit}
.kgx-reviews .comment-form textarea{min-height:120px;resize:vertical}
.kgx-reviews .comment-form-cookies-consent{display:flex;gap:8px;align-items:center}.kgx-reviews .comment-form-cookies-consent label{margin:0;text-transform:none;letter-spacing:0}
.kgx-reviews p.stars a{color:var(--amber)}
.kgx-reviews .form-submit input[type=submit]{min-height:44px;padding:10px 20px;border:0;border-radius:14px;font-weight:900;background:linear-gradient(135deg,var(--amber),var(--coral));color:#071006;cursor:pointer}
.light-mode .kgx-reviews .comment-form input[type=text],.light-mode .kgx-reviews .comment-form input[type=email],.light-mode .kgx-reviews .comment-form textarea{background:#fff;color:#182018}
.kgx-product-summary form.cart .single_add_to_cart_button{flex:1 1 auto;min-width:200px}
.kgx-product-sections{align-items:start}
/* v2.3 — archive: pagination, eyebrow, card buttons */
.kgx-pagination nav.woocommerce-pagination{text-align:center}
.kgx-pagination ul.page-numbers{display:inline-flex!important;gap:8px;flex-wrap:wrap;justify-content:center;margin:0;padding:0;border:0!important;background:none!important;min-width:0;height:auto}
.kgx-pagination ul.page-numbers li{list-style:none;border:0!important;float:none;margin:0;overflow:visible}
.kgx-pagination ul.page-numbers li a.page-numbers,.kgx-pagination ul.page-numbers li span.page-numbers{display:grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border-radius:12px;background:var(--glass-bg);border:1px solid var(--glass-border);color:var(--paper);font-weight:800;line-height:1}
.kgx-pagination ul.page-numbers li a.page-numbers:hover{border-color:rgba(166,238,21,.5);color:var(--amber)}
.kgx-pagination ul.page-numbers li span.current{background:linear-gradient(135deg,var(--amber),var(--coral));color:#071006;border:0}
.kgx-wc-hero .eyebrow{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(156,234,10,.08);border:1px solid rgba(156,234,10,.25);color:var(--amber);font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px}
.kgx-card-actions{flex-wrap:nowrap}.kgx-card-actions>a{flex:1 1 0;min-width:0;white-space:nowrap;font-size:13px}
@media(max-width:1180px){.kgx-card-actions{flex-wrap:wrap}}
.kgx-card-actions .added_to_cart{flex-basis:100%;font-size:12px;color:var(--amber)}
.kgx-pagination ul.page-numbers li span.page-numbers.current{background:linear-gradient(135deg,#58DC00,#DDF31A)!important;color:#071006!important;border:0}.kgx-card-actions>a.button{font-size:13px!important}
/* v2.4 — after AJAX add-to-cart: keep two even buttons (the drawer + header count confirm the add) */
.kgx-card-actions{flex-wrap:nowrap!important}
.kgx-card-actions .added_to_cart{display:none!important}
.kgx-card-actions>a{flex:1 1 0!important;min-width:0;justify-content:center;text-align:center;overflow:hidden;text-overflow:ellipsis}
.kgx-card-actions>a.button.loading,.kgx-card-actions>a.button.added{padding-left:12px!important;padding-right:12px!important}
.kgx-card-actions>a.button.loading::after,.kgx-card-actions>a.button.added::after{position:static!important;margin-left:6px;display:inline-block}

/* v2.5 — archive / single-product / related polish (scoped: .kgx-archive, body.single-product) */
/* Theme-wide `section{padding:46px 0!important}` was leaking into these layouts. */
.kgx-archive>section,body.single-product .kgx-wc-shell>section{padding-top:0!important;padding-bottom:0!important}
body.single-product .kgx-wc-shell>section.kgx-panel{padding:24px!important}
.kgx-archive .kgx-wc-hero{margin:4px 0 22px}
/* Category chips */
.kgx-cat-chips{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}
.kgx-cat-chips .kgx-chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 16px;border-radius:999px;border:1px solid var(--glass-border);background:var(--glass-bg);color:var(--paper);font-weight:800;font-size:13.5px;transition:border-color .2s,background .2s,color .2s}
.kgx-cat-chips .kgx-chip span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:rgba(156,234,10,.12);color:var(--amber);font-size:11px}
.kgx-cat-chips .kgx-chip:hover{border-color:rgba(166,238,21,.55);color:var(--amber)}
.kgx-cat-chips .kgx-chip.is-active{background:linear-gradient(135deg,#58DC00,#DDF31A);color:#071006;border-color:transparent}
.kgx-cat-chips .kgx-chip.is-active span{background:rgba(7,16,6,.16);color:#071006}
.kgx-cat-chips .kgx-chip:focus-visible{outline:2px solid var(--amber);outline-offset:2px}
/* Cards: whole card clickable (stretched title link), image zoom, consistent layout */
.kgx-archive .kgx-product-card,.kgx-related .kgx-product-card{display:flex;flex-direction:column}
.kgx-archive .kgx-product-body,.kgx-related .kgx-product-body{display:flex;flex-direction:column;flex:1 1 auto}
.kgx-archive .kgx-card-actions,.kgx-related .kgx-card-actions{margin-top:auto}
.kgx-archive .kgx-card-link::after,.kgx-related .kgx-card-link::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.kgx-archive .kgx-product-card h2,.kgx-related .kgx-product-card h2{position:static}
.kgx-archive .kgx-product-meta a,.kgx-related .kgx-product-meta a,.kgx-archive .kgx-card-actions,.kgx-related .kgx-card-actions,.kgx-archive .kgx-sale-badge,.kgx-related .kgx-sale-badge{position:relative;z-index:2}
.kgx-archive .kgx-sale-badge,.kgx-related .kgx-sale-badge{position:absolute;top:24px;left:24px;z-index:3}
.kgx-archive .kgx-product-meta a,.kgx-related .kgx-product-meta a{color:var(--amber)}
.kgx-archive .kgx-product-meta a:hover,.kgx-related .kgx-product-meta a:hover{text-decoration:underline}
.kgx-archive .kgx-product-card h2 a,.kgx-related .kgx-product-card h2 a{color:inherit;transition:color .2s}
.kgx-archive .kgx-product-card:hover h2 a,.kgx-related .kgx-product-card:hover h2 a{color:var(--amber)}
.kgx-archive .kgx-product-card:focus-within,.kgx-related .kgx-product-card:focus-within{border-color:rgba(166,238,21,.55)}
.kgx-archive .kgx-card-link:focus-visible,.kgx-related .kgx-card-link:focus-visible{outline:none}
.kgx-archive .kgx-card-link:focus-visible::after,.kgx-related .kgx-card-link:focus-visible::after{outline:2px solid var(--amber);outline-offset:-2px}
.kgx-archive .kgx-product-thumb img,.kgx-related .kgx-product-thumb img{transition:transform .6s cubic-bezier(.16,1,.3,1)}
.kgx-archive .kgx-product-card:hover .kgx-product-thumb img,.kgx-related .kgx-product-card:hover .kgx-product-thumb img{transform:scale(1.06)}
.kgx-related .kgx-product-card h2{font-size:20px}
/* Toolbar + empty state */
.kgx-archive .woocommerce-ordering select{cursor:pointer;min-height:44px}
.kgx-empty-state .woocommerce-info{margin:0}
.kgx-empty-actions{margin:16px 0 0}
/* Single product */
body.single-product .kgx-wc-shell>.kgx-wc-breadcrumb{margin-bottom:22px}
.kgx-summary-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.kgx-summary-meta a{color:var(--amber)}
.kgx-tag-chip{display:inline-flex;padding:4px 9px;border-radius:8px;border:1px solid var(--glass-border);background:var(--glass-bg-strong);color:var(--paper-dim);font-size:10.5px;letter-spacing:.08em}
body.single-product .kgx-summary-price{margin:14px 0 6px}
body.single-product .kgx-product-facts{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.kgx-lb-trigger{position:relative}
.kgx-lb-trigger .kgx-main-img{transition:transform .6s cubic-bezier(.16,1,.3,1)}
.kgx-lb-trigger:hover .kgx-main-img{transform:scale(1.03)}
.kgx-zoom-hint{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:rgba(7,10,18,.72);border:1px solid rgba(174,242,63,.45);color:#AEF23F;font-size:18px;opacity:.85;transition:opacity .2s}
.kgx-lb-trigger:hover .kgx-zoom-hint,.kgx-lb-trigger:focus-visible .kgx-zoom-hint{opacity:1}
.kgx-main-image .kgx-product-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;height:100%;text-align:center;padding:20px}
.kgx-main-image .kgx-product-placeholder span{font:800 64px/1 'Baloo 2',sans-serif;color:var(--amber)}
.kgx-main-image .kgx-product-placeholder small{font-family:Manrope,sans-serif;font-size:14px;font-weight:600;line-height:1.4;letter-spacing:.02em;color:var(--paper-dim);max-width:80%}
.kgx-gallery-thumbs .kgx-thumb{all:unset;box-sizing:border-box;display:block;aspect-ratio:1;border-radius:12px;overflow:hidden;border:2px solid var(--glass-border);cursor:pointer;opacity:.7;transition:opacity .2s,border-color .2s}
.kgx-gallery-thumbs .kgx-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.kgx-gallery-thumbs .kgx-thumb:hover,.kgx-gallery-thumbs .kgx-thumb.is-active{opacity:1;border-color:var(--amber)}
.kgx-gallery-thumbs .kgx-thumb:focus-visible{outline:2px solid var(--amber);outline-offset:2px}
body.single-product .kgx-reviews .woocommerce-Reviews-title{margin-top:0}
body.single-product .kgx-reviews #comments>h2{margin-top:0}
body.single-product .kgx-reviews .woocommerce-verification-required{color:var(--paper-dim);margin-bottom:0}
/* Light mode: lime text on white fails contrast — darker green for small text */
body.light-mode .kgx-archive .kgx-product-meta,body.light-mode .kgx-archive .kgx-product-meta a,body.light-mode .kgx-related .kgx-product-meta,body.light-mode .kgx-related .kgx-product-meta a,body.light-mode.single-product .kgx-product-meta,body.light-mode.single-product .kgx-product-meta a,body.light-mode.single-product .kgx-product-summary .kgx-kicker,body.light-mode .kgx-archive .kgx-wc-hero .eyebrow,body.light-mode .kgx-archive .kgx-wc-breadcrumb a,body.light-mode.single-product .kgx-wc-breadcrumb a,body.light-mode .kgx-cat-chips .kgx-chip span{color:#2C7300}
body.light-mode .kgx-archive .kgx-product-price ins,body.light-mode .kgx-related .kgx-product-price ins,body.light-mode.single-product .kgx-summary-price ins{color:#2C7300}
body.light-mode .kgx-archive .kgx-product-card:hover h2 a,body.light-mode .kgx-related .kgx-product-card:hover h2 a,body.light-mode .kgx-cat-chips .kgx-chip:hover{color:#2C7300}
body.light-mode .kgx-cat-chips .kgx-chip{background:#fff;color:#182018}
body.light-mode .kgx-cat-chips .kgx-chip.is-active{background:linear-gradient(135deg,#58DC00,#DDF31A);color:#071006;border-color:transparent}
body.light-mode.single-product .kgx-tag-chip{background:#fff;color:#3b463b}
/* Mobile: two-column compact grid — whole card is the link, so only "Add to cart" stays */
@media(max-width:760px){
  .kgx-archive .kgx-wc-toolbar{padding:12px}
  .kgx-archive .kgx-wc-toolbar>div{width:100%}
  .kgx-archive .woocommerce-ordering,.kgx-archive .woocommerce-ordering select{width:100%}
  .kgx-cat-chips{flex-wrap:nowrap;overflow-x:auto;margin-right:-14px;padding-right:14px;padding-bottom:4px;scrollbar-width:none}
  .kgx-cat-chips::-webkit-scrollbar{display:none}
  .kgx-cat-chips .kgx-chip{flex:0 0 auto;min-height:44px}
  .kgx-archive .kgx-sale-badge,.kgx-related .kgx-sale-badge{top:16px;left:16px}
  body.single-product .kgx-product-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.single-product .kgx-product-fact{padding:11px 12px}
  body.single-product .kgx-wc-shell>section.kgx-panel{padding:16px!important}
}
@media(max-width:470px){
  .kgx-archive .kgx-product-grid,.kgx-related .kgx-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .kgx-archive .kgx-product-card,.kgx-related .kgx-product-card{padding:8px;border-radius:16px}
  .kgx-archive .kgx-product-thumb,.kgx-related .kgx-product-thumb{border-radius:12px;aspect-ratio:1/1}
  .kgx-archive .kgx-product-body,.kgx-related .kgx-product-body{padding:10px 3px 2px}
  .kgx-archive .kgx-product-meta,.kgx-related .kgx-product-meta{font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .kgx-archive .kgx-product-card h2,.kgx-related .kgx-product-card h2{font-size:15px;margin:5px 0 4px}
  .kgx-archive .kgx-product-price,.kgx-related .kgx-product-price{font-size:15px;margin:4px 0 10px}
  .kgx-archive .kgx-product-price del,.kgx-related .kgx-product-price del{font-size:12px}
  .kgx-archive .kgx-card-actions>a.kgx-btn.ghost,.kgx-related .kgx-card-actions>a.kgx-btn.ghost{display:none!important}
  .kgx-archive .kgx-card-actions>a.button,.kgx-related .kgx-card-actions>a.button{min-height:44px;width:100%}
  .kgx-archive .kgx-sale-badge,.kgx-related .kgx-sale-badge{top:13px;left:13px;padding:5px 8px;font-size:10px}
  body.single-product .kgx-product-facts{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){
  .kgx-archive .kgx-product-card,.kgx-related .kgx-product-card,.kgx-archive .kgx-product-thumb img,.kgx-related .kgx-product-thumb img,.kgx-lb-trigger .kgx-main-img{transition:none!important}
  .kgx-archive .kgx-product-card:hover,.kgx-related .kgx-product-card:hover,.kgx-archive .kgx-product-card:hover .kgx-product-thumb img,.kgx-related .kgx-product-card:hover .kgx-product-thumb img,.kgx-lb-trigger:hover .kgx-main-img{transform:none!important}
}
