/* =========================================================
   Kitoko Glow — Design A "Sticker Pop"
   ========================================================= */

@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(fonts/bricolage-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(fonts/bricolage-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/dmsans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/dmsans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --kg-cream: #FFF6EC;
  --kg-ink: #1A1020;
  --kg-pink: #FF4FA3;
  --kg-lime: #D4FF5A;
  --kg-orange: #FF7A1A;
  --kg-peach: #FFC59E;
  --kg-butter: #FFE77A;
  --kg-blush: #FFB3D6;
  --kg-lilac: #C9B6FF;
  --kg-sky: #9EE6FF;
  --kg-muted: #5C4A63;
  --kg-line: 2px solid var(--kg-ink);
  --kg-display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --kg-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --kg-r-card: 26px;
  --kg-r-tile: 18px;
  --kg-wrap: 1360px;
}

/* ---------- Base ---------- */
html body.kg-theme,
body.kg-theme .site,
body.kg-theme .site-content,
body.kg-theme.ast-separate-container,
body.kg-theme.ast-plain-container,
body.kg-theme .ast-separate-container,
body.kg-theme #content { background: var(--kg-cream); }

body.kg-theme { font-family: var(--kg-body); color: var(--kg-ink); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.kg-theme h1, body.kg-theme h2, body.kg-theme h3, body.kg-theme h4,
body.kg-theme .entry-title, body.kg-theme .product_title { font-family: var(--kg-display); color: var(--kg-ink); letter-spacing: -0.02em; }
body.kg-theme a { color: var(--kg-ink); }
body.kg-theme a:hover, body.kg-theme a:focus { color: #B0145E; }
body.kg-theme :focus-visible { outline: 3px solid var(--kg-pink); outline-offset: 2px; }
body.kg-theme .ast-container { max-width: var(--kg-wrap); }
.kg-wrap { max-width: var(--kg-wrap); margin: 0 auto; padding: 0 32px; }

.kg-ico { display: block; flex: none; }
.kg-pill { display: inline-block; align-self: flex-start; background: #fff; border: var(--kg-line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14px; line-height: 1.3; }
.kg-pill--lime { background: var(--kg-lime); color: var(--kg-ink); }
.kg-h2 { font-family: var(--kg-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
.kg-link { font-weight: 800; font-size: 17px; text-decoration: underline; text-underline-offset: 4px; }
.kg-btn, body.kg-theme .kg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; border: var(--kg-line); font-weight: 800; font-size: 17px; text-decoration: none; line-height: 1; transition: transform .15s; }
.kg-btn:hover { transform: translateY(-2px); }
.kg-btn--ink, body.kg-theme .kg-btn--ink { background: var(--kg-ink); color: #fff; }
.kg-btn--ink:hover { color: #fff; }
.kg-btn--line { background: #fff; color: var(--kg-ink); }
.kg-btn--pink { background: var(--kg-pink); color: var(--kg-ink); border-color: var(--kg-pink); }

/* ---------- Marquee ---------- */
.kg-marquee { background: var(--kg-ink); color: var(--kg-lime); overflow: hidden; white-space: nowrap; font-family: var(--kg-display); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; padding: 10px 0; }
.kg-marquee__track { display: inline-flex; animation: kg-marquee 32s linear infinite; }
.kg-marquee__group { display: inline-flex; gap: 40px; padding-right: 40px; }
.kg-marquee__dot { color: var(--kg-pink); }
@keyframes kg-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .kg-marquee__track { animation: none; } }

/* ---------- Header ---------- */
.kg-header { background: var(--kg-cream); border-bottom: var(--kg-line); position: sticky; top: 0; z-index: 99; }
.admin-bar .kg-header { top: 32px; }
.kg-header__row { display: flex; align-items: center; gap: 16px 28px; min-height: 84px; }
.kg-logo { display: block; flex: none; line-height: 0; }
.kg-logo img { width: 220px; height: auto; }
.kg-nav { flex: 1 1 auto; min-width: 0; }
.kg-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.kg-menu a { display: inline-block; padding: 6px 0; font-weight: 700; font-size: 16px; text-decoration: none; border-bottom: 3px solid transparent; }
.kg-menu a:hover, .kg-menu .current-menu-item > a, .kg-menu .current-product_cat-ancestor > a { border-bottom-color: var(--kg-pink); color: var(--kg-ink); }
.kg-menu .kg-menu__hot a, .kg-menu .menu-item.kg-hot a { background: var(--kg-orange); padding: 4px 12px; border-radius: 999px; border-bottom: 0; }
.kg-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.kg-search { display: flex; align-items: center; background: #fff; border: var(--kg-line); border-radius: 999px; height: 46px; padding: 0 4px 0 16px; }
.kg-search input[type="search"] { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; height: 40px; width: 200px; font: inherit; font-size: 15px; color: var(--kg-ink); }
.kg-search input[type="search"]:focus { outline: none; }
.kg-search:focus-within { outline: 3px solid var(--kg-pink); outline-offset: 2px; }
.kg-search button, body.kg-theme .kg-search button { background: transparent; border: 0; color: var(--kg-ink); width: 40px; height: 40px; display: grid; place-items: center; padding: 0; cursor: pointer; }
.kg-icon-btn { width: 46px; height: 46px; border: var(--kg-line); border-radius: 50%; background: #fff; display: grid; place-items: center; }
.kg-bag, body.kg-theme a.kg-bag { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border: var(--kg-line); border-radius: 999px; background: var(--kg-lime); font-weight: 800; text-decoration: none; color: var(--kg-ink); }
.kg-bag__count { min-width: 24px; height: 24px; border-radius: 999px; background: var(--kg-ink); color: var(--kg-lime); display: inline-grid; place-items: center; font-size: 13px; padding: 0 6px; }
.kg-burger, body.kg-theme .kg-burger { display: none; background: #fff; color: var(--kg-ink); border: var(--kg-line); border-radius: 50%; width: 46px; height: 46px; padding: 0; place-items: center; cursor: pointer; }
.kg-mobile-nav { border-top: var(--kg-line); background: var(--kg-cream); padding: 16px 0 24px; }
.kg-mobile-nav .kg-search { margin-bottom: 14px; }
.kg-mobile-nav .kg-search input[type="search"] { width: 100%; }
.kg-menu--mobile { flex-direction: column; gap: 0; }
.kg-menu--mobile a { display: block; padding: 12px 0; font-size: 20px; font-family: var(--kg-display); font-weight: 800; border-bottom: 1px solid #E8DACB; }

.kg-header .kg-menu { flex-wrap: nowrap; gap: 4px 16px; }
.kg-header .kg-menu a { font-size: 15px; white-space: nowrap; }
@media (max-width: 1440px) { .kg-search--header input[type="search"] { width: 150px; } .kg-logo img { width: 190px; } }
@media (max-width: 1280px) {
  .kg-search--header input[type="search"] { width: 110px; }
  .kg-header .kg-menu { gap: 4px 12px; }
  .kg-header .kg-menu a { font-size: 14px; }
}
@media (max-width: 1180px) {
  .kg-search--header { display: none; }
}
@media (max-width: 1024px) {
  .kg-burger, body.kg-theme .kg-burger { display: grid; }
  .kg-nav, .kg-search--header { display: none; }
  .kg-header__row { min-height: 70px; gap: 12px; }
  .kg-logo { margin-right: auto; }
  .kg-logo img { width: 170px; }
}
@media (max-width: 480px) {
  .kg-wrap { padding: 0 16px; }
  .kg-logo img { width: 140px; }
  .kg-bag__label { display: none; }
  .kg-icon-btn { display: none; }
}
@media (max-width: 782px) { .admin-bar .kg-header { top: 0; position: relative; } }

/* Hide Astra leftovers when our header/footer are in place */
body.kg-theme .ast-mobile-popup-drawer, body.kg-theme #ast-mobile-popup-wrapper { display: none !important; }

/* ---------- Footer ---------- */
.kg-footer { background: var(--kg-ink); color: #fff; margin-top: 64px; }
.kg-footer__top { display: flex; flex-wrap: wrap; gap: 40px 56px; padding-top: 56px; padding-bottom: 40px; }
.kg-footer__brand { flex: 2 1 320px; max-width: 460px; }
.kg-footer__brand img { width: 220px; height: auto; margin-bottom: 14px; }
.kg-footer__brand p { color: #E9DDF0; margin: 0; }
.kg-footer__col { flex: 1 1 160px; }
body.kg-theme .kg-footer__col h2 { color: var(--kg-lime); font-family: var(--kg-display); font-size: 18px; margin: 0 0 12px; letter-spacing: 0; }
.kg-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
body.kg-theme .kg-footer a { color: #fff; text-decoration: none; }
body.kg-theme .kg-footer a:hover { color: var(--kg-lime); text-decoration: underline; }
.kg-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid #4A3A52; font-size: 14px; color: #E9DDF0; }

/* ---------- Homepage ---------- */
body.kg-theme.home .site-content > .ast-container { display: block; padding-left: 32px; padding-right: 32px; }
.kg-home { width: 100%; }
.kg-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: 32px 0 56px; }
.kg-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.kg-hero__title { font-family: var(--kg-display); font-weight: 800; font-size: clamp(54px, 7.2vw, 112px); line-height: .92; letter-spacing: -0.045em; margin: 0; }
.kg-hero__hl { display: inline-block; background: var(--kg-pink); padding: 0 12px; border-radius: 18px; transform: rotate(-2deg); }
.kg-hero__lead { font-size: 20px; line-height: 1.5; max-width: 520px; margin: 0; }
.kg-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.kg-hero__art { flex: 1 1 440px; min-width: 0; position: relative; min-height: 500px; }
.kg-hero__blob { position: absolute; inset: 0 0 0 24px; background: var(--kg-pink); border: 3px solid var(--kg-ink); border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%; }
.kg-hero__card { position: absolute; left: 18%; top: 9%; width: 62%; height: 82%; background: #fff; border: 3px solid var(--kg-ink); border-radius: 28px; display: grid; place-items: center; overflow: hidden; text-decoration: none; }
.kg-hero__card img { width: 88%; height: 80%; object-fit: contain; }
.kg-hero__tag { position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--kg-orange); border: var(--kg-line); border-radius: 14px; padding: 8px 12px; font-weight: 800; font-size: 14px; line-height: 1.3; text-align: center; }
.kg-hero__tag .woocommerce-Price-amount { font-weight: 800; }
.kg-hero__sticker { position: absolute; border: var(--kg-line); font-family: var(--kg-display); font-weight: 800; }
.kg-hero__sticker--a { top: 14px; left: 4%; background: var(--kg-lime); border-radius: 999px; padding: 10px 18px; font-size: 18px; transform: rotate(-10deg); }
.kg-hero__sticker--b { bottom: 34px; right: 0; background: #fff; border-radius: 50%; width: 112px; height: 112px; display: grid; place-items: center; text-align: center; font-size: 18px; line-height: 1.05; transform: rotate(12deg); padding: 8px; }

.kg-section { padding: 28px 0 40px; }
.kg-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
#kg-categories .kg-h2 { margin-bottom: 20px; }
.kg-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.kg-tile, body.kg-theme a.kg-tile { background: var(--kg-tint, var(--kg-peach)); border: var(--kg-line); border-radius: 24px; padding: 22px 20px; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; text-decoration: none; color: var(--kg-ink); transition: transform .2s; }
.kg-tile:hover { transform: rotate(-1.5deg) scale(1.02); color: var(--kg-ink); }
.kg-tile__name { font-family: var(--kg-display); font-weight: 800; font-size: 24px; line-height: 1.05; }
.kg-tile__count { font-weight: 700; font-size: 14px; }

.kg-band { background: var(--kg-ink); color: #fff; margin: 32px calc(50% - 50vw); padding: 64px 0; }
.kg-band__inner { max-width: var(--kg-wrap); margin: 0 auto; padding: 0 32px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.kg-band__text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.kg-band__text p { color: #E9DDF0; font-size: 18px; margin: 0; }
.kg-band__title { font-family: var(--kg-display); font-weight: 800; font-size: clamp(44px, 5vw, 68px); line-height: .92; letter-spacing: -0.04em; color: #fff !important; margin: 0; }
.kg-band__products { flex: 3 1 640px; min-width: 0; }
.kg-band .kg-btn { align-self: flex-start; }

.kg-brandchips { display: flex; flex-wrap: wrap; gap: 12px; }
.kg-brandchips a, body.kg-theme .kg-brandchips a { background: #fff; border: var(--kg-line); border-radius: 999px; padding: 12px 22px; font-family: var(--kg-display); font-weight: 800; font-size: 20px; text-decoration: none; color: var(--kg-ink); }
.kg-brandchips a:hover { background: var(--kg-lime); }

.kg-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.kg-trust > div { background: #fff; border: var(--kg-line); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.kg-trust strong { font-family: var(--kg-display); font-size: 22px; }

/* ---------- Product grid & cards ---------- */
body.kg-theme ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 0 24px !important; padding: 0; }
body.kg-theme ul.products::before, body.kg-theme ul.products::after { display: none !important; }
body.kg-theme ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.kg-theme ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: #fff; border: var(--kg-line); border-radius: var(--kg-r-card); padding: 14px !important; display: flex; flex-direction: column; text-align: left; transition: transform .2s; }
body.kg-theme ul.products li.product:hover { transform: translateY(-4px) rotate(-0.4deg); }
/* Product photos sit on clean white — colour lives in stickers, tiles and badges, never over the product. */
body.kg-theme ul.products li.product .astra-shop-thumbnail-wrap { position: relative; background: #fff; border: 1px solid #EFE4D8; border-radius: var(--kg-r-tile); overflow: hidden; aspect-ratio: 1 / 1; margin-bottom: 12px; }
body.kg-theme ul.products li.product .astra-shop-thumbnail-wrap > a { display: block; width: 100%; height: 100%; }
body.kg-theme ul.products li.product .astra-shop-thumbnail-wrap img,
body.kg-theme ul.products li.product a img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; background: #fff; margin: 0 !important; padding: 4%; box-shadow: none; }
body.kg-theme ul.products li.product .astra-shop-summary-wrap { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 0 !important; }
body.kg-theme ul.products li.product .ast-woo-product-category { display: none; }
.kg-card__brand { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--kg-muted); }
body.kg-theme ul.products li.product .woocommerce-loop-product__title { font-family: var(--kg-body); font-size: 16px !important; font-weight: 700; line-height: 1.3; letter-spacing: 0; color: var(--kg-ink); margin: 0; padding: 0; min-height: 2.6em; }
body.kg-theme ul.products li.product .price { font-family: var(--kg-display); font-weight: 800; font-size: 22px !important; color: var(--kg-ink) !important; margin: 4px 0 8px; }
body.kg-theme ul.products li.product .price del { font-size: 15px; color: var(--kg-muted); font-family: var(--kg-body); }
body.kg-theme ul.products li.product .price ins { text-decoration: none; }
body.kg-theme ul.products li.product .button,
body.kg-theme ul.products li.product .added_to_cart { margin-top: auto !important; width: 100%; min-height: 46px; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 999px !important; border: var(--kg-line) !important; background: var(--kg-ink) !important; color: #fff !important; font-weight: 800 !important; font-size: 15px !important; padding: 0 16px !important; line-height: 1 !important; }
body.kg-theme ul.products li.product .added_to_cart { background: var(--kg-lime) !important; color: var(--kg-ink) !important; margin-top: 8px !important; }
body.kg-theme ul.products li.product .ast-on-card-button, body.kg-theme ul.products li.product .ast-quick-view-trigger { display: none !important; }
.kg-sticker, body.kg-theme span.onsale.kg-sticker { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--kg-ink); color: var(--kg-lime); border: 0; border-radius: 999px; padding: 6px 12px; min-height: 0; min-width: 0; line-height: 1.2; font-family: var(--kg-display); font-weight: 800; font-size: 13px; transform: rotate(-4deg); margin: 0; }
body.kg-theme span.onsale.kg-sticker--sale { background: var(--kg-pink); color: var(--kg-ink); right: auto; }
body.kg-theme .kg-band ul.products li.product { border-color: #fff; }

@media (max-width: 1024px) { body.kg-theme ul.products, body.kg-theme ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { body.kg-theme ul.products, body.kg-theme ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } body.kg-theme ul.products li.product { padding: 10px !important; border-radius: 20px; } body.kg-theme ul.products li.product .price { font-size: 19px !important; } }

/* ---------- Shop / category / brand pages ---------- */
body.kg-theme.woocommerce-page .site-content > .ast-container { padding-left: 32px; padding-right: 32px; }
body.kg-theme .woocommerce-breadcrumb, body.kg-theme .ast-breadcrumbs-wrapper { font-size: 14px; margin: 8px 0 14px; color: var(--kg-muted); }
.kg-hero-band { background: var(--kg-blush); border: 3px solid var(--kg-ink); border-radius: 36px; padding: 36px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; overflow: hidden; margin-bottom: 18px; }
.tax-product_brand .kg-hero-band { background: var(--kg-orange); }
.post-type-archive-product .kg-hero-band, .search .kg-hero-band { background: var(--kg-lime); }
.kg-hero-band__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.kg-hero-band__title { font-family: var(--kg-display); font-weight: 800; font-size: clamp(42px, 6vw, 88px); line-height: .92; letter-spacing: -0.045em; margin: 0; }
.kg-hero-band__desc { font-size: 17px; max-width: 560px; }
.kg-hero-band__desc p { margin: 0; }
.kg-hero-band__art { flex: 0 1 400px; min-width: 260px; height: 220px; position: relative; }
.kg-hero-band__pic { position: absolute; bottom: 8px; width: 46%; }
.kg-hero-band__pic img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border: 2px solid var(--kg-ink); border-radius: 18px; padding: 6px; }
.kg-hero-band__pic--0 { left: 0; }
.kg-hero-band__pic--0 img { transform: rotate(-8deg); }
.kg-hero-band__pic--1 { left: 27%; }
.kg-hero-band__pic--2 { right: 0; }
.kg-hero-band__pic--2 img { transform: rotate(8deg); }
.kg-hero-band__from { position: absolute; top: -6px; right: 8px; z-index: 2; background: var(--kg-lime); border: var(--kg-line); border-radius: 999px; padding: 6px 14px; font-family: var(--kg-display); font-weight: 800; transform: rotate(8deg); }
.kg-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.kg-chip, body.kg-theme a.kg-chip { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: var(--kg-line); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--kg-ink); }
.kg-chip span { font-size: 13px; opacity: .75; }
.kg-chip.is-active, body.kg-theme a.kg-chip.is-active { background: var(--kg-ink); color: #fff; }
body.kg-theme .woocommerce-result-count { font-weight: 700; margin: 8px 0 16px; }
body.kg-theme .woocommerce-ordering select { border: var(--kg-line); border-radius: 999px; padding: 8px 36px 8px 16px; background-color: #fff; font-weight: 700; min-height: 44px; }
body.kg-theme nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; justify-content: center; }
body.kg-theme nav.woocommerce-pagination ul li { border: 0; }
body.kg-theme nav.woocommerce-pagination ul li a, body.kg-theme nav.woocommerce-pagination ul li span { min-width: 44px; height: 44px; display: grid; place-items: center; border: var(--kg-line) !important; border-radius: 999px; background: #fff; font-weight: 800; }
body.kg-theme nav.woocommerce-pagination ul li span.current { background: var(--kg-ink); color: #fff; }
@media (max-width: 760px) {
  .kg-hero-band { padding: 24px 20px; border-radius: 26px; }
  .kg-hero-band__art { display: none; }
  .kg-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .kg-chip, body.kg-theme a.kg-chip { flex: none; }
  .kg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kg-tile, body.kg-theme a.kg-tile { min-height: 110px; padding: 16px 14px; border-radius: 20px; }
  .kg-tile__name { font-size: 18px; }
  .kg-hero { padding: 20px 0 32px; gap: 24px; }
  .kg-hero__art { min-height: 360px; flex-basis: 100%; }
  .kg-hero__sticker--b { width: 92px; height: 92px; font-size: 15px; }
  .kg-band { padding: 44px 0; }
  .kg-band__inner { padding: 0 16px; }
  .kg-brands__hero { padding: 24px 20px; border-radius: 26px; }
}
@media (max-width: 760px) { body.kg-theme.woocommerce-page .site-content > .ast-container, body.kg-theme.home .site-content > .ast-container { padding-left: 16px; padding-right: 16px; } }

/* ---------- Single product ---------- */
body.kg-theme.single-product div.product { padding-top: 12px; }
body.kg-theme.single-product div.product .woocommerce-product-gallery { background: #fff; border: 3px solid var(--kg-ink); border-radius: 28px; overflow: hidden; }
body.kg-theme.single-product .flex-control-thumbs li img { border-radius: 12px; }
.kg-pdp-brand, body.kg-theme a.kg-pdp-brand { display: inline-block; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; text-decoration: none; }
body.kg-theme.single-product .product_title { font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1; letter-spacing: -0.035em; margin-bottom: 14px; }
body.kg-theme.single-product div.product p.price { font-family: var(--kg-display); font-weight: 800; font-size: 38px; color: var(--kg-ink); }
body.kg-theme.single-product div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
body.kg-theme.single-product div.product form.cart .quantity .qty { height: 54px; border: var(--kg-line); border-radius: 999px; width: 90px; font-weight: 800; background: #fff; }
body.kg-theme.single-product div.product form.cart .single_add_to_cart_button { flex: 1 1 220px; height: 56px; border-radius: 999px !important; border: var(--kg-line); background: var(--kg-ink) !important; color: #fff !important; font-weight: 800; font-size: 18px; }
.kg-delivery { background: #fff; border: var(--kg-line); border-radius: 20px; padding: 14px 18px; display: grid; gap: 6px; font-size: 15px; margin: 6px 0 18px; }
.kg-delivery p { margin: 0; }
.kg-delivery a { font-weight: 700; margin-left: 4px; }
body.kg-theme.single-product .woocommerce-tabs ul.tabs { padding: 0; display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
body.kg-theme.single-product .woocommerce-tabs ul.tabs::before { display: none; }
body.kg-theme.single-product .woocommerce-tabs ul.tabs li { border: var(--kg-line) !important; border-radius: 999px !important; background: #fff !important; margin: 0 !important; padding: 0 !important; }
body.kg-theme.single-product .woocommerce-tabs ul.tabs li::before, body.kg-theme.single-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.kg-theme.single-product .woocommerce-tabs ul.tabs li a { padding: 10px 18px !important; font-weight: 800; color: var(--kg-ink) !important; }
body.kg-theme.single-product .woocommerce-tabs ul.tabs li.active { background: var(--kg-ink) !important; }
body.kg-theme.single-product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
body.kg-theme.single-product .related.products > h2, body.kg-theme.single-product .upsells.products > h2 { font-family: var(--kg-display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; margin: 40px 0 20px; }

/* ---------- Load more ---------- */
.kg-loadmore { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0 8px; text-align: center; }
.kg-loadmore__count { margin: 0; font-weight: 700; }
.kg-loadmore__bar { width: 260px; max-width: 80%; height: 10px; background: #fff; border: var(--kg-line); border-radius: 999px; overflow: hidden; }
.kg-loadmore__bar span { display: block; height: 100%; background: var(--kg-pink); transition: width .3s; }
.kg-loadmore__btn { min-width: 220px; }
.kg-loadmore__btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
body.kg-theme nav.woocommerce-pagination { display: none; }

/* ---------- Category / brand content + FAQs ---------- */
.kg-seo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 48px 0 8px; }
.kg-seo__content, .kg-seo__faq { background: #fff; border: var(--kg-line); border-radius: 28px; padding: 28px 30px; }
.kg-seo .kg-h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 14px; }
.kg-seo__text { font-size: 16px; line-height: 1.65; }
.kg-seo__text h3 { font-family: var(--kg-display); font-size: 20px; margin: 18px 0 6px; }
.kg-seo__text p { margin: 0 0 12px; }
.kg-seo__text ul { margin: 0 0 12px 20px; }
.kg-faq { border-top: 2px solid var(--kg-ink); padding: 14px 0; }
.kg-faq:last-child { border-bottom: 2px solid var(--kg-ink); }
.kg-faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; min-height: 28px; }
.kg-faq summary::-webkit-details-marker { display: none; }
.kg-faq summary::after { content: '+'; font-family: var(--kg-display); font-size: 24px; line-height: 1; flex: none; }
.kg-faq[open] summary::after { content: '–'; }
.kg-faq p { margin: 10px 0 0; line-height: 1.6; }
@media (max-width: 900px) { .kg-seo { grid-template-columns: 1fr; } .kg-seo__content, .kg-seo__faq { padding: 22px 20px; border-radius: 22px; } }

/* ---------- Empty states & 404 ---------- */
.kg-empty { background: #fff; border: var(--kg-line); border-radius: 26px; padding: 28px; display: grid; gap: 14px; margin: 8px 0 24px; }
.kg-empty__title { font-family: var(--kg-display); font-weight: 800; font-size: 26px; margin: 0; }
.kg-empty p { margin: 0; }
.kg-empty .kg-search, .kg-404 .kg-search { max-width: 460px; }
.kg-empty .kg-search input[type="search"], .kg-404 .kg-search input[type="search"] { width: 100%; }
.kg-empty .kg-chips { margin: 0; flex-wrap: wrap; }
.kg-404 { background: var(--kg-butter); margin-top: 16px; }
.kg-404 p { margin: 0; }
.error404 .kg-hero-band__text { gap: 16px; }

/* ---------- Mobile sticky Add to bag ---------- */
.kg-sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; display: none; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--kg-cream); border-top: var(--kg-line); box-shadow: 0 -6px 18px rgba(26,16,32,.08); }
.kg-sticky-atc__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.kg-sticky-atc__name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kg-sticky-atc__price { font-family: var(--kg-display); font-weight: 800; font-size: 18px; }
.kg-sticky-atc .kg-btn { min-height: 48px; padding: 0 22px; font-size: 16px; flex: none; }
@media (max-width: 760px) { .kg-sticky-atc:not([hidden]) { display: flex; } body.kg-has-sticky .ast-scroll-top-icon, body.kg-has-sticky #ast-scroll-top { bottom: 84px !important; } }

/* ---------- Cart reassurance ---------- */
.kg-cart-note { margin-top: 14px; background: #fff; border: var(--kg-line); border-radius: 16px; padding: 12px 14px; font-size: 14px; line-height: 1.5; display: grid; gap: 6px; }
.kg-cart-note p { margin: 0; }

/* ---------- Audit fixes: tap targets, duplicates, overflow, tablet ---------- */
.kg-footer__col ul { gap: 2px; }
body.kg-theme .kg-footer__col a { display: inline-block; padding: 9px 0; min-height: 44px; }
body.kg-theme .woocommerce-breadcrumb a { display: inline-block; padding: 6px 0; }
.kg-link, body.kg-theme a.kg-link { display: inline-block; padding: 8px 0; }
body.kg-theme.single-product .summary .single-product-category { display: none !important; }
body.kg-theme .yith-add-to-wishlist-button-block a, body.kg-theme .yith-wcwl-add-to-wishlist a { min-height: 44px; display: inline-flex; align-items: center; }
body.kg-theme .entry-content { overflow-wrap: anywhere; }
body.kg-theme .entry-content img, body.kg-theme .entry-content iframe, body.kg-theme .entry-content video, body.kg-theme .entry-content table { max-width: 100%; height: auto; }
body.kg-theme .entry-content [style*="width"] { max-width: 100% !important; }
body.kg-theme .entry-content table { display: block; overflow-x: auto; }
@media (min-width: 600px) and (max-width: 921px) {
  body.kg-theme.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; align-items: start; }
  body.kg-theme.single-product div.product > .woocommerce-product-gallery,
  body.kg-theme.single-product div.product > .summary { width: auto !important; float: none !important; margin: 0 !important; }
  body.kg-theme.single-product div.product > .woocommerce-tabs,
  body.kg-theme.single-product div.product > .related,
  body.kg-theme.single-product div.product > .upsells { grid-column: 1 / -1; }
  .kg-hero__art { min-height: 420px; max-width: 560px; margin: 0 auto; }
}

/* ---------- Product page: fixed square photo frame ---------- */
body.kg-theme.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image,
body.kg-theme.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image > a { display: flex !important; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
body.kg-theme.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img { width: 100% !important; height: 100% !important; object-fit: contain; max-height: none; }
body.kg-theme.single-product div.product .woocommerce-product-gallery .flex-viewport { height: auto !important; }
body.kg-theme.single-product .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 10px !important; margin: 0 !important; }
body.kg-theme.single-product .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
body.kg-theme.single-product .flex-control-thumbs li img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border: 1.5px solid #EFE4D8; border-radius: 10px; opacity: .65; }
body.kg-theme.single-product .flex-control-thumbs li img.flex-active, body.kg-theme.single-product .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--kg-ink); }

/* ---------- Sliders (arrows on desktop, swipe on phones) ---------- */
.kg-slider-wrap { position: relative; }
body.kg-theme .kg-slider ul.products,
.kg-tiles.kg-tiles--slider { display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: 6px 2px 8px !important; margin: 0 !important; }
.kg-tiles.kg-tiles--slider { grid-auto-columns: minmax(180px, calc((100% - 96px) / 7)); gap: 16px; }
body.kg-theme .kg-slider ul.products::-webkit-scrollbar, .kg-tiles--slider::-webkit-scrollbar { display: none; }
body.kg-theme .kg-slider ul.products > li.product, .kg-tiles--slider > .kg-tile { scroll-snap-align: start; }
.kg-slider-btn { position: absolute; top: 38%; z-index: 5; width: 48px; height: 48px; border-radius: 50%; border: var(--kg-line); background: #fff; color: var(--kg-ink); display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 4px 12px rgba(26,16,32,.12); transition: background .15s, opacity .15s; }
.kg-slider-btn--prev { left: -18px; }
.kg-slider-btn--next { right: -18px; }
.kg-slider-btn:hover:not([disabled]) { background: var(--kg-lime); }
.kg-slider-btn[disabled] { opacity: 0; pointer-events: none; }
.kg-slider-wrap.is-static .kg-slider-btn { display: none; }
.kg-tiles--slider + .kg-slider-btn, .kg-slider-wrap:has(.kg-tiles--slider) .kg-slider-btn { top: 50%; transform: translateY(-50%); }
@media (max-width: 1024px) { body.kg-theme .kg-slider ul.products { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 760px) {
  body.kg-theme .kg-slider ul.products { grid-auto-columns: 68%; gap: 12px; }
  .kg-tiles.kg-tiles--slider { grid-auto-columns: 46%; gap: 10px; }
  .kg-slider-btn { display: none; }
}

/* ---------- Consistent hover states (text never changes colour) ---------- */
body.kg-theme a.kg-btn:hover, body.kg-theme a.kg-btn:focus { color: inherit; }
body.kg-theme a.kg-btn--ink:hover, body.kg-theme a.kg-btn--ink:focus, body.kg-theme button.kg-btn--ink:hover { background: #3A2A44; color: #fff; }
body.kg-theme a.kg-btn--line:hover, body.kg-theme a.kg-btn--line:focus { background: var(--kg-lime); color: var(--kg-ink); }
body.kg-theme a.kg-btn--pink:hover, body.kg-theme a.kg-btn--pink:focus { background: #FF79B8; color: var(--kg-ink); }
body.kg-theme a.kg-bag:hover, body.kg-theme a.kg-bag:focus { background: #C4F23F; color: var(--kg-ink); }
body.kg-theme a.kg-icon-btn:hover { background: var(--kg-lime); color: var(--kg-ink); }
body.kg-theme a.kg-chip:hover:not(.is-active) { background: var(--kg-lime); color: var(--kg-ink); }
body.kg-theme a.kg-chip.is-active:hover { color: #fff; }
body.kg-theme a.kg-tile:hover, body.kg-theme a.kg-brandcard:hover, body.kg-theme .kg-brandchips a:hover, body.kg-theme .kg-menu a:hover, body.kg-theme .kg-brandgroup li a:hover, body.kg-theme a.kg-pdp-brand:hover { color: var(--kg-ink); }
body.kg-theme ul.products li.product a:hover, body.kg-theme ul.products li.product a:focus { color: var(--kg-ink); }
body.kg-theme ul.products li.product .button:hover,
body.kg-theme .woocommerce a.button:hover, body.kg-theme .woocommerce button.button:hover,
body.kg-theme .woocommerce a.button.alt:hover, body.kg-theme .woocommerce button.button.alt:hover,
body.kg-theme.single-product div.product form.cart .single_add_to_cart_button:hover,
body.kg-theme .wc-block-components-button:not(.is-link):hover, body.kg-theme a.checkout-button:hover { background: #3A2A44 !important; color: #fff !important; }
body.kg-theme .kg-sticky-atc .kg-btn:hover { background: #3A2A44; color: #fff; }
body.kg-theme .kg-footer a:hover { color: var(--kg-lime); }

/* ---------- Phone hero: compact ---------- */
@media (max-width: 760px) {
  .kg-hero { padding: 14px 0 20px; gap: 18px; }
  .kg-hero__text { gap: 14px; }
  .kg-hero__title { font-size: 46px; line-height: .95; }
  .kg-hero__hl { border-radius: 12px; padding: 0 8px; }
  .kg-hero__lead { font-size: 16px; }
  .kg-hero__ctas { flex-wrap: nowrap; gap: 8px; }
  .kg-hero__ctas .kg-btn { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 6px 10px; font-size: 14px; line-height: 1.15; white-space: normal; text-align: center; }
  .kg-hero__art { min-height: 0; height: 300px; }
  .kg-hero__blob { inset: 10px 4% 0 8%; }
  .kg-hero__card { left: 20%; top: 6%; width: 60%; height: 84%; border-radius: 22px; }
  .kg-hero__tag { font-size: 12px; padding: 6px 8px; }
  .kg-hero__sticker--a { font-size: 14px; padding: 7px 12px; top: 4px; }
  .kg-hero__sticker--b { width: 78px; height: 78px; font-size: 13px; bottom: 16px; }
}

/* ---------- Payment card (thank-you page, My account) ---------- */
.kg-paycard { background: #fff; border: 3px solid var(--kg-ink); border-radius: 28px; padding: 28px; margin: 0 0 28px; display: grid; gap: 14px; box-shadow: 6px 6px 0 var(--kg-lime); }
.kg-paycard h2 { font-family: var(--kg-display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; margin: 0; }
.kg-paycard__lead { font-size: 17px; margin: 0; }
.kg-paycard__details { margin: 0; border: 2px solid var(--kg-ink); border-radius: 18px; overflow: hidden; }
.kg-paycard__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 16px; border-top: 1px solid #EADFD2; }
.kg-paycard__row:first-child { border-top: 0; background: #F7FFE0; }
.kg-paycard__row dt { font-weight: 700; color: var(--kg-muted); margin: 0; }
.kg-paycard__row dd { margin: 0; display: flex; align-items: center; gap: 10px; }
.kg-paycard__val { font-family: var(--kg-display); font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.kg-copy, body.kg-theme .kg-copy { min-height: 36px; padding: 0 14px; border: var(--kg-line); border-radius: 999px; background: #fff; color: var(--kg-ink); font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
.kg-copy:hover, body.kg-theme .kg-copy:hover { background: var(--kg-lime); color: var(--kg-ink); }
.kg-copy.is-done { background: var(--kg-lime); }
.kg-paycard__warn { background: var(--kg-butter); border: var(--kg-line); border-radius: 14px; padding: 10px 14px; margin: 0; font-weight: 700; }
.kg-paycard__steps { margin: 0; padding-left: 22px; display: grid; gap: 6px; line-height: 1.5; }

/* ---------- Store notices (cart/checkout) in Design A ---------- */
body.kg-theme .wc-block-components-notice-banner,
body.kg-theme .woocommerce-message, body.kg-theme .woocommerce-info { background: #fff !important; color: var(--kg-ink) !important; border: var(--kg-line) !important; border-radius: 16px !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600; font-size: 15px; padding: 12px 16px !important; box-shadow: none !important; }
body.kg-theme .wc-block-components-notice-banner.is-success, body.kg-theme .woocommerce-message { background: #F7FFE0 !important; }
body.kg-theme .wc-block-components-notice-banner > svg { fill: var(--kg-ink); background: var(--kg-lime); border-radius: 50%; }
body.kg-theme [class*="wps_wpr"][class*="notice"], body.kg-theme .wps_wpr_cart_notice, body.kg-theme .wps-wpr-cart-notice { background: var(--kg-lime) !important; color: var(--kg-ink) !important; text-transform: none !important; border: var(--kg-line) !important; border-radius: 16px !important; font-weight: 700; }

/* ---------- Free delivery progress & checkout box ---------- */
.kg-freeship { background: #fff; border: var(--kg-line); border-radius: 16px; padding: 12px 14px; margin: 0 0 14px; }
.kg-freeship p { margin: 0 0 8px; font-weight: 700; font-size: 15px; }
.kg-freeship__bar { height: 10px; border: 2px solid var(--kg-ink); border-radius: 999px; overflow: hidden; background: var(--kg-cream); }
.kg-freeship__bar span { display: block; height: 100%; background: var(--kg-pink); }
.kg-checkout-pay { background: #F7FFE0; border: var(--kg-line); border-radius: 16px; padding: 14px 16px; margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.kg-checkout-pay ol { margin: 8px 0 0 18px; padding: 0; display: grid; gap: 4px; }
@media (max-width: 760px) {
  body.kg-theme .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button { min-height: 56px; font-size: 17px; }
  .kg-paycard { padding: 20px 16px; border-radius: 22px; }
  .kg-paycard__val { font-size: 18px; }
}

/* ---------- Complete your routine (frequently bought together) ---------- */
.kg-fbt { background: #fff; border: var(--kg-line); border-radius: 20px; padding: 16px; margin: 4px 0 18px; display: grid; gap: 12px; }
.kg-fbt__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.kg-fbt__head strong { font-family: var(--kg-display); font-size: 20px; }
.kg-fbt__badge { background: var(--kg-pink); border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 13px; }
.kg-fbt__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kg-fbt__item { display: flex; align-items: center; gap: 8px; border: 1.5px solid #EFE4D8; border-radius: 14px; padding: 6px 10px; }
.kg-fbt__item label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; cursor: pointer; margin: 0; }
.kg-fbt__item input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--kg-ink); flex: none; }
.kg-fbt__img { flex: 0 0 52px; height: 52px; background: #fff; border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.kg-fbt__img img { width: 100%; height: 100%; object-fit: contain; }
.kg-fbt__name { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.3; }
.kg-fbt__name em { font-style: normal; color: var(--kg-muted); font-weight: 500; }
.kg-fbt__price { font-family: var(--kg-display); font-weight: 800; white-space: nowrap; }
.kg-fbt__view { font-size: 13px; font-weight: 700; padding: 8px 4px; }
.kg-fbt__total { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.kg-fbt__total s { color: var(--kg-muted); font-weight: 600; margin: 0 4px; }
.kg-fbt__total strong { font-family: var(--kg-display); font-size: 22px; }
.kg-fbt__total .kg-btn { min-height: 48px; font-size: 16px; }
.kg-fbt__note { margin: 0; font-size: 13px; color: var(--kg-muted); }
@media (max-width: 480px) { .kg-fbt__total .kg-btn { width: 100%; } }

/* ---------- Glow Points & reviews ---------- */
.kg-pts { display: inline-block; align-self: flex-start; background: var(--kg-lime); color: var(--kg-ink); border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: 12px; line-height: 1.4; margin: -2px 0 8px; }
body.kg-theme ul.products li.product .astra-shop-thumbnail-wrap .kg-pts { position: absolute; right: 10px; bottom: 10px; z-index: 2; margin: 0; border: 1.5px solid var(--kg-ink); }
.kg-pdp-pts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; background: var(--kg-lime); border: var(--kg-line); border-radius: 16px; padding: 10px 14px; font-size: 15px; margin: 0 0 16px; }
.kg-pdp-pts strong { font-family: var(--kg-display); font-size: 17px; }
.kg-review-note { margin-top: 16px; background: #fff; border: var(--kg-line); border-radius: 18px; padding: 14px 18px; font-size: 15px; }
.kg-review-note a { font-weight: 800; }
body.kg-theme .cr-review-form-not-logged-in:empty, body.kg-theme .cr-review-form-not-logged-in span:empty { display: none; }
body.kg-theme #reviews, body.kg-theme .cr-reviews-ajax-reviews { font-family: var(--kg-body); color: var(--kg-ink); }
body.kg-theme .cr-reviews-ajax-reviews .cr-ajax-reviews-add-review,
body.kg-theme .cr-review-form-wrap .cr-review-form-submit,
body.kg-theme .cr-ajax-reviews-review-form button,
body.kg-theme .cr-show-more-reviews-prd { background: var(--kg-ink) !important; color: #fff !important; border: var(--kg-line) !important; border-radius: 999px !important; font-weight: 800 !important; padding: 12px 22px !important; }
body.kg-theme .cr-review-form-wrap input[type="text"], body.kg-theme .cr-review-form-wrap input[type="email"], body.kg-theme .cr-review-form-wrap textarea { border: var(--kg-line) !important; border-radius: 14px !important; }
body.kg-theme .cr-summaryBox-wrap, body.kg-theme .cr-ajax-reviews-review-form, body.kg-theme .cr-review-form-wrap { border-radius: 22px; }
/* Points plugin: My account tab & cart notices */
body.kg-theme .wps_wpr_main_wrapper, body.kg-theme .wps-wpr__points-tab, body.kg-theme [class*="wps_wpr_points"] { font-family: var(--kg-body); }
body.kg-theme .wps_wpr_main_wrapper button, body.kg-theme .wps_wpr_main_wrapper .button, body.kg-theme #wps_cart_points_apply { background: var(--kg-ink) !important; color: #fff !important; border-radius: 999px !important; border: var(--kg-line) !important; font-weight: 800 !important; }
body.kg-theme .wps_wpr_main_wrapper input[type="number"], body.kg-theme #wps_cart_points { border: var(--kg-line) !important; border-radius: 999px !important; padding: 8px 14px !important; }

/* ---------- Buttons, forms, cart, checkout ---------- */
body.kg-theme .woocommerce a.button, body.kg-theme .woocommerce button.button, body.kg-theme .woocommerce input.button,
body.kg-theme .woocommerce #respond input#submit, body.kg-theme .wc-block-components-button:not(.is-link),
body.kg-theme .woocommerce a.button.alt, body.kg-theme .woocommerce button.button.alt, body.kg-theme a.checkout-button {
  background: var(--kg-ink); color: #fff; border: var(--kg-line); border-radius: 999px; font-weight: 800; padding: 14px 24px; }
body.kg-theme .woocommerce a.button:hover, body.kg-theme .woocommerce button.button:hover, body.kg-theme .wc-block-components-button:not(.is-link):hover { background: var(--kg-pink); color: var(--kg-ink); }
body.kg-theme input[type="text"], body.kg-theme input[type="email"], body.kg-theme input[type="tel"], body.kg-theme input[type="password"],
body.kg-theme input[type="number"], body.kg-theme textarea, body.kg-theme select { border: var(--kg-line); border-radius: 14px; background: #fff; }
body.kg-theme .woocommerce-info, body.kg-theme .woocommerce-message, body.kg-theme .woocommerce-error { border: var(--kg-line); border-radius: 18px; background: #fff; }
body.kg-theme .woocommerce-message { border-left-width: 2px; background: var(--kg-lime); }

/* Regular pages (policies, cart, checkout) */
body.kg-theme.page:not(.home) .entry-title { font-weight: 800; font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -0.04em; line-height: 1; }

/* ---------- Brands A–Z ---------- */
.kg-brands__hero { background: var(--kg-lime); border: 3px solid var(--kg-ink); border-radius: 36px; padding: 36px 40px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; margin: 8px 0 40px; }
.kg-brands__title { font-family: var(--kg-display); font-weight: 800; font-size: clamp(52px, 7vw, 104px); line-height: .9; letter-spacing: -0.045em; margin: 0; }
.kg-brands__sub { font-size: 20px; font-weight: 700; margin: 8px 0 0; }
.kg-brands__search { flex: 0 1 400px; display: flex; flex-direction: column; gap: 6px; font-weight: 800; }
.kg-brands__search input { height: 56px; border: 3px solid var(--kg-ink) !important; border-radius: 999px !important; padding: 0 22px !important; font-size: 18px; background: #fff; }
.kg-brands__letters { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; }
.kg-brands__letters a, .kg-brands__letters span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--kg-display); font-weight: 800; font-size: 18px; }
.kg-brands__letters a, body.kg-theme .kg-brands__letters a { border: var(--kg-line); background: #fff; text-decoration: none; color: var(--kg-ink); }
.kg-brands__letters span { border: 2px dashed #6B7A3A; color: #4F5E22; }
.kg-brands__featgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 20px 0 40px; }
.kg-brandcard, body.kg-theme a.kg-brandcard { background: var(--kg-tint); border: var(--kg-line); border-radius: 26px; padding: 16px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--kg-ink); transition: transform .2s; }
.kg-brandcard:hover { transform: translateY(-4px) rotate(-0.5deg); color: var(--kg-ink); }
.kg-brandcard__pic { aspect-ratio: 1 / 1; display: grid; place-items: center; background: #fff; border: 2px solid var(--kg-ink); border-radius: 18px; overflow: hidden; }
.kg-brandcard__pic img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.kg-brandcard__name { font-family: var(--kg-display); font-weight: 800; font-size: 22px; line-height: 1.05; }
.kg-brandcard__count { font-weight: 700; font-size: 14px; }
.kg-brands__groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.kg-brandgroup { background: #fff; border: var(--kg-line); border-radius: 26px; padding: 20px; display: flex; gap: 18px; align-items: flex-start; scroll-margin-top: 120px; }
.kg-brandgroup__letter { flex: 0 0 60px; height: 60px; border-radius: 18px; background: var(--kg-tint); border: var(--kg-line); display: grid; place-items: center; font-family: var(--kg-display); font-weight: 800; font-size: 32px; transform: rotate(-4deg); }
.kg-brandgroup ul { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.kg-brandgroup li a, body.kg-theme .kg-brandgroup li a { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #EADFD2; font-weight: 700; font-size: 17px; text-decoration: none; color: var(--kg-ink); }
.kg-brandgroup__count { color: var(--kg-muted); font-weight: 500; font-size: 14px; }
.kg-brands__empty { background: #fff; border: 2px dashed var(--kg-ink); border-radius: 22px; padding: 28px; font-family: var(--kg-display); font-weight: 800; font-size: 22px; text-align: center; }
body.kg-theme.page .entry-content .kg-brands { margin-top: 0; }

/* ---------- No sideways drift on phones ---------- */
html, body.kg-theme { overflow-x: clip; }
body.kg-theme .woocommerce-message, body.kg-theme .woocommerce-info { padding-left: 3.2em !important; position: relative; }
body.kg-theme .woocommerce-message::before, body.kg-theme .woocommerce-info::before { color: var(--kg-ink) !important; left: 1.1em !important; top: 50% !important; transform: translateY(-50%); }
/* Woo cart/checkout blocks sit inside the content column (Astra alignwide pulled them 20px left on phones) */
body.kg-theme .entry-content > .wp-block-woocommerce-checkout, body.kg-theme .entry-content > .wp-block-woocommerce-cart { margin-left: 0 !important; margin-right: 0 !important; max-width: 100%; }
@media (min-width: 761px) and (max-width: 1024px) { .kg-hero__art { min-height: 360px; max-width: 460px; } }

/* ---------- Empty bag ---------- */
.kg-emptybag { background: #FFE6F2; border: 3px solid var(--kg-ink); border-radius: 32px; padding: 40px 24px; margin: 8px 0 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.kg-emptybag__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--kg-lime); border: var(--kg-line); color: var(--kg-ink); transform: rotate(-8deg); }
body.kg-theme .kg-emptybag__title { font-family: var(--kg-display); font-weight: 800; font-size: clamp(34px, 5vw, 56px); line-height: 1; letter-spacing: -0.04em; margin: 0; }
.kg-emptybag__lead { font-size: 18px; margin: 0; max-width: 520px; }
.kg-emptybag__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.kg-emptybag__cats { justify-content: center; }
body.kg-theme .kg-emptybag__cats a { font-size: 16px; padding: 8px 18px; }
.kg-emptybag__picks .kg-h2 { margin: 0 0 20px; }
@media (max-width: 760px) {
  .kg-emptybag { padding: 28px 16px; border-radius: 24px; gap: 12px; }
  .kg-emptybag__lead { font-size: 16px; }
  .kg-emptybag__ctas { width: 100%; }
  .kg-emptybag__ctas .kg-btn { flex: 1 1 100%; font-size: 16px; padding: 0 14px; min-height: 50px; white-space: nowrap; }
}

/* ---------- Bag & checkout: readable type, bigger photos ---------- */
/* Glow Points banners: the plugin forces Montserrat 12px (not loaded, so it falls back to a serif) */
body.kg-theme [id^="wps_wpr"], body.kg-theme [id^="wps_wpr"] *, body.kg-theme [class*="wps_wpr"], body.kg-theme [class*="wps_wpr"] * { font-family: var(--kg-body, "DM Sans"), system-ui, sans-serif !important; }
body.kg-theme [id^="wps_wpr"].woocommerce-message, body.kg-theme [id^="wps_wpr"].woocommerce-info { font-size: 16px !important; font-weight: 700 !important; text-align: center; max-width: none; margin: 0 0 14px !important; }
body.kg-theme [id^="wps_wpr"].woocommerce-message .woocommerce-Price-amount { font-size: inherit; }

body.kg-theme .wp-block-woocommerce-cart, body.kg-theme .wp-block-woocommerce-checkout { font-size: 16px; }
body.kg-theme table.wc-block-cart-items { width: 100%; }
body.kg-theme .wc-block-cart-items th, body.kg-theme .wc-block-cart__totals-title { font-size: 13px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
body.kg-theme .wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 112px 1fr auto; }
body.kg-theme td.wc-block-cart-item__image { width: 112px; }
body.kg-theme .wc-block-cart-item__image img, body.kg-theme .wc-block-components-order-summary-item__image img { width: 100% !important; max-width: none; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border: 2px solid var(--kg-ink); border-radius: 14px; padding: 4px; }
body.kg-theme .wc-block-components-order-summary-item__image { width: 64px; }
body.kg-theme .wc-block-components-order-summary-item__image img { padding: 2px; border-radius: 10px; }
body.kg-theme .wc-block-cart-item__product .wc-block-components-product-name { font-family: var(--kg-display); font-size: 19px !important; font-weight: 800; line-height: 1.2; color: var(--kg-ink); text-decoration: none; }
body.kg-theme .wc-block-components-order-summary-item__description .wc-block-components-product-name { font-size: 16px !important; font-weight: 700; }
body.kg-theme .wc-block-cart-item__prices, body.kg-theme .wc-block-cart-item__total, body.kg-theme .wc-block-components-order-summary-item__total-price { font-size: 17px !important; font-weight: 800; }
body.kg-theme .wc-block-components-product-metadata { font-size: 14px !important; line-height: 1.45; color: #4a3d52; }
body.kg-theme .wc-block-components-quantity-selector { border: 2px solid var(--kg-ink) !important; border-radius: 999px !important; overflow: hidden; width: 128px; background: #fff; }
body.kg-theme .wc-block-components-quantity-selector::after { display: none !important; }
body.kg-theme .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; background: transparent !important; font-family: inherit !important; font-size: 17px !important; font-weight: 800; min-width: 0; padding: 0 !important; }
body.kg-theme .wc-block-components-quantity-selector__button { font-size: 20px !important; font-weight: 800; color: var(--kg-ink) !important; min-width: 40px; background: transparent !important; border: 0 !important; opacity: 1; }
body.kg-theme .wc-block-components-quantity-selector__button:hover { background: var(--kg-lime) !important; }
body.kg-theme .wc-block-components-totals-item__label, body.kg-theme .wc-block-components-totals-item__value, body.kg-theme .wc-block-components-panel__button, body.kg-theme .wc-block-components-totals-coupon-link { font-size: 16px !important; }
body.kg-theme .wc-block-components-totals-item__description, body.kg-theme .wc-block-components-totals-shipping__via { font-size: 14px !important; }
body.kg-theme .wc-block-components-totals-footer-item .wc-block-components-totals-item__label, body.kg-theme .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--kg-display); font-size: 24px !important; font-weight: 800; }
body.kg-theme .wc-block-components-checkout-step__title, body.kg-theme .wc-block-components-title { font-family: var(--kg-display); font-weight: 800; font-size: 22px !important; }
body.kg-theme .wc-block-components-text-input input, body.kg-theme .wc-block-components-combobox input, body.kg-theme .wc-blocks-components-select select { font-size: 16px !important; }
body.kg-theme .wc-block-components-radio-control__label, body.kg-theme .wc-block-components-radio-control__secondary-label { font-size: 16px !important; }
body.kg-theme .wc-block-components-radio-control__description { font-size: 14px !important; }
@media (max-width: 760px) {
  body.kg-theme .wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 88px 1fr auto; }
  body.kg-theme td.wc-block-cart-item__image { width: 88px; }
  body.kg-theme .wc-block-cart-item__product .wc-block-components-product-name { font-size: 17px !important; }
}

/* ---------- Checkout in Design A ---------- */
body.kg-theme .wc-block-components-order-summary-item__image { width: 60px !important; min-width: 60px; }
body.kg-theme .wc-block-components-order-summary-item__image img { width: 60px !important; height: 60px !important; max-width: none !important; }
body.kg-theme .wc-block-components-order-summary-item__quantity { background: var(--kg-pink) !important; color: var(--kg-ink) !important; border: 2px solid var(--kg-ink) !important; font-weight: 800; box-shadow: none !important; }
body.kg-theme .wc-block-components-order-summary-item { font-size: 15px; }
body.kg-theme .wc-block-components-checkout-order-summary__title-text, body.kg-theme .wc-block-components-order-summary__button-text { font-family: var(--kg-display); font-weight: 800; font-size: 22px !important; }
body.kg-theme .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
body.kg-theme .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content { border-radius: 24px; }
body.kg-theme .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { background: #fff; border: 2px solid var(--kg-ink) !important; overflow: hidden; }
body.kg-theme .wc-block-components-text-input input, body.kg-theme .wc-block-components-text-input textarea, body.kg-theme .wc-blocks-components-select__select, body.kg-theme .wc-block-components-combobox .wc-block-components-combobox-control input, body.kg-theme .wc-block-components-textarea { border: 2px solid var(--kg-ink) !important; border-radius: 14px !important; background: #fff !important; }
body.kg-theme .wc-blocks-components-select__container { border-radius: 14px; }
body.kg-theme .wc-block-components-text-input input:focus, body.kg-theme .wc-blocks-components-select__select:focus, body.kg-theme .wc-block-components-textarea:focus { box-shadow: 0 0 0 3px var(--kg-lime) !important; outline: none !important; }
body.kg-theme .wc-block-components-text-input label, body.kg-theme .wc-blocks-components-select__label { font-size: 14px !important; color: #5b4d63; }
body.kg-theme .wc-block-components-address-card { border: 2px solid var(--kg-ink) !important; border-radius: 16px !important; background: #fff; font-size: 16px !important; padding: 16px 18px !important; }
body.kg-theme .wc-block-components-address-card__edit { font-weight: 800; color: var(--kg-ink) !important; text-decoration: underline; }
body.kg-theme .wc-block-components-radio-control--highlight-checked, body.kg-theme .wc-block-components-radio-control-accordion-option, body.kg-theme .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option { border-radius: 16px !important; }
body.kg-theme .wc-block-components-radio-control--highlight-checked::after, body.kg-theme .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option::after, body.kg-theme .wc-block-components-radio-control-accordion-option::after { border-radius: 16px !important; }
body.kg-theme .wc-block-components-radio-control--highlight-checked { background: #fff; border: 2px solid var(--kg-ink); overflow: hidden; }
body.kg-theme .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted,
body.kg-theme .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted { background: #F7FFE0 !important; box-shadow: none !important; }
body.kg-theme .wc-block-components-radio-control__input { border: 2px solid var(--kg-ink) !important; }
body.kg-theme .wc-block-components-radio-control__input:checked::before { background: var(--kg-ink) !important; }
body.kg-theme .wc-block-components-radio-control__label { font-weight: 700; }
body.kg-theme .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] { border: 2px solid var(--kg-ink) !important; border-radius: 6px !important; }
body.kg-theme .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--kg-lime) !important; }
body.kg-theme .wc-block-components-checkbox__label { font-size: 15px !important; }
body.kg-theme .wc-block-checkout__terms { font-size: 14px !important; }
body.kg-theme .wc-block-components-checkout-place-order-button { border-radius: 999px !important; min-height: 58px; font-family: var(--kg-display); font-weight: 800 !important; font-size: 18px !important; }
body.kg-theme .wc-block-components-radio-control-accordion-content, body.kg-theme .wc-block-components-radio-control-accordion-content p { font-size: 15px !important; line-height: 1.5; }
body.kg-theme #ast-scroll-top { background: var(--kg-ink) !important; color: var(--kg-lime) !important; border: 2px solid var(--kg-ink); border-radius: 50% !important; }
body.kg-theme #ast-scroll-top:hover { background: var(--kg-lime) !important; color: var(--kg-ink) !important; }

/* ---------- Order summary: compact, readable lines ---------- */
body.kg-theme .wc-block-components-order-summary-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0 !important; }
body.kg-theme .wc-block-components-order-summary-item__description { flex: 1 1 auto; min-width: 0; padding: 0 !important; }
body.kg-theme .wc-block-components-order-summary-item__total-price { flex: 0 0 auto; white-space: nowrap; padding-left: 8px; }
body.kg-theme .wc-block-components-order-summary-item__description .wc-block-components-product-name { font-size: 15px !important; line-height: 1.3; margin: 0 0 4px; }
/* unit price repeats the line total; the short description is noise here */
body.kg-theme .wc-block-components-order-summary-item__individual-prices,
body.kg-theme .wc-block-components-order-summary-item .wc-block-components-product-metadata__description,
body.kg-theme .wc-block-components-order-summary-item .wc-block-components-sale-badge { display: none !important; }
/* bundle contents list (from the bundle plugin) */
body.kg-theme .wc-block-components-product-details { margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; }
body.kg-theme .wc-block-components-product-details__name { font-weight: 800; }
body.kg-theme .wc-block-components-product-details ul { margin: 2px 0 0 0; padding: 0; list-style: none; }
body.kg-theme .wc-block-components-product-details ul li { margin: 0; padding: 1px 0 1px 14px; position: relative; line-height: 1.4; }
body.kg-theme .wc-block-components-product-details ul li::before { content: "✓"; position: absolute; left: 0; color: var(--kg-pink); font-weight: 800; }
body.kg-theme .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content { padding: 0 18px; }
body.kg-theme .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title { padding: 18px 18px 6px; }
body.kg-theme .wc-block-checkout__sidebar .wc-block-components-totals-wrapper { padding-left: 18px; padding-right: 18px; }
body.kg-theme .wc-block-components-product-details__bundled-products { display: block; }
body.kg-theme .wc-block-components-product-details__bundled-products .wc-block-components-product-details__name { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
body.kg-theme .wc-block-components-product-details__bundled-products .wc-block-components-product-details__value { display: block; white-space: pre-line; font-size: 13px; line-height: 1.45; color: #4a3d52; }
.kg-bundle-list { margin: 4px 0 0 16px; padding: 0; font-size: .92em; }
/* give the order summary more room on desktop */
@media (min-width: 1000px) {
  body.kg-theme .wc-block-components-sidebar-layout.wc-block-checkout.is-large .wc-block-checkout__main { flex: 1 1 0 !important; width: auto !important; padding-right: 40px !important; }
  body.kg-theme .wc-block-components-sidebar-layout.wc-block-checkout.is-large .wc-block-checkout__sidebar { flex: 0 0 420px !important; width: 420px !important; max-width: 420px; padding-left: 0 !important; }
}
/* one layer of padding in the summary card, not three */
body.kg-theme .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-cart-items-block,
body.kg-theme .wc-block-checkout__sidebar .wc-block-components-order-summary { padding-left: 0 !important; padding-right: 0 !important; }
body.kg-theme .wc-block-components-product-details__bundled-products .wc-block-components-product-details__value { white-space: normal; }
/* bundle line: its contents list replaces the long short-description */
body.kg-theme .woosb-bundles .wc-block-components-product-metadata__description { display: none !important; }

/* ================= Mega menu ================= */
.kg-menu--mega { align-items: center; }
.kg-menu--mega > li { display: flex; align-items: center; }
.kg-mega-item { gap: 2px; }
.kg-mega-item__toggle, body.kg-theme .kg-mega-item__toggle { background: transparent; border: 0; color: var(--kg-ink); padding: 6px 4px; margin: 0; cursor: pointer; display: inline-flex; align-items: center; line-height: 1; border-radius: 6px; }
.kg-mega-item__toggle svg { transition: transform .15s; }
.kg-mega-item.is-open .kg-mega-item__toggle svg { transform: rotate(180deg); }
.kg-mega-item.is-open > .kg-mega-item__link { border-bottom-color: var(--kg-pink); }
body.kg-theme .kg-more-btn { font-family: inherit; font-weight: 700; font-size: 15px; gap: 6px; padding: 6px 0; border-bottom: 3px solid transparent; border-radius: 0; }
.kg-mega-item--more { position: relative; }

.kg-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: var(--kg-line); border-bottom: 3px solid var(--kg-ink); box-shadow: 0 18px 30px rgba(26,16,32,.12); z-index: 98; padding: 28px 0 30px; animation: kg-mega-in .14s ease-out; }
.kg-mega[hidden] { display: none; }
@keyframes kg-mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .kg-mega { animation: none; } }
.kg-mega__grid { display: grid; grid-template-columns: 1fr 1fr 1.35fr 1fr; gap: 32px; align-items: start; }
.kg-mega__h { font-family: var(--kg-display); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6b5c73; margin: 0 0 10px; }
.kg-mega__needs + .kg-mega__h { margin-top: 22px; }
.kg-mega__list, .kg-mega__needs, .kg-mega__best { list-style: none; margin: 0; padding: 0; }
.kg-mega__list li a, body.kg-theme .kg-header .kg-mega__list li a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: 15px; font-weight: 600; border: 0; white-space: normal; }
.kg-mega__list li a:hover { color: var(--kg-ink); text-decoration: underline; text-decoration-color: var(--kg-pink); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.kg-mega__n { color: #8a7b91; font-weight: 500; font-size: 13px; }
.kg-mega__all a, body.kg-theme .kg-header .kg-mega__all a { font-weight: 800 !important; margin-top: 6px; }
.kg-mega__needs { display: flex; flex-wrap: wrap; gap: 8px; }
.kg-mega__needs a, body.kg-theme .kg-header .kg-mega__needs a { display: inline-block; padding: 7px 14px; border: 2px solid var(--kg-ink); border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--kg-cream); white-space: nowrap; }
.kg-mega__needs a:hover { background: var(--kg-lime); }
.kg-mega__best { display: grid; gap: 10px; }
.kg-mega__best a, body.kg-theme .kg-header .kg-mega__best a { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 6px; border: 2px solid transparent; border-radius: 16px; white-space: normal; font-size: 14px; }
.kg-mega__best a:hover { border-color: var(--kg-ink); background: var(--kg-cream); }
.kg-mega__thumb { grid-row: 1 / 3; width: 64px; height: 64px; object-fit: contain; background: #fff; border: 2px solid var(--kg-ink); border-radius: 12px; padding: 3px; }
.kg-mega__pname { font-weight: 700; line-height: 1.25; align-self: end; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kg-mega__price { font-weight: 800; font-size: 14px; align-self: start; }
.kg-mega__price del { font-weight: 500; opacity: .6; margin-right: 4px; }
.kg-mega__price ins { text-decoration: none; }
.kg-mega__promo, body.kg-theme .kg-header a.kg-mega__promo { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px; background: #FFE6F2; border: 3px solid var(--kg-ink); border-radius: 24px; white-space: normal; text-decoration: none; color: var(--kg-ink); }
.kg-mega__promo:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--kg-ink); }
.kg-mega__promo-tag { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--kg-lime); border: 2px solid var(--kg-ink); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 800; transform: rotate(-4deg); }
.kg-mega__promo-img { width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: 170px; object-fit: contain; background: #fff; border: 2px solid var(--kg-ink); border-radius: 16px; }
.kg-mega__promo-name { font-family: var(--kg-display); font-weight: 800; font-size: 16px; line-height: 1.2; }
.kg-mega__promo-cta { font-weight: 800; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.kg-mega--small { left: auto; right: auto; top: calc(100% + 18px); min-width: 250px; border: 3px solid var(--kg-ink); border-radius: 20px; padding: 12px 18px; }
@media (max-width: 1280px) { .kg-mega__grid { grid-template-columns: 1fr 1fr 1.3fr .9fr; gap: 22px; } }

/* ================= Phone / tablet drawer ================= */
@media (max-width: 1024px) {
  .kg-mobile-nav { position: fixed; top: var(--wp-admin--admin-bar--height, 0px); bottom: 0; left: 0; width: min(88vw, 400px); z-index: 1000; overflow-y: auto; overscroll-behavior: contain; border-top: 0; border-right: 3px solid var(--kg-ink); padding: 0 0 32px; animation: kg-drawer-in .2s ease-out; }
  .kg-mobile-nav[hidden] { display: none; }
  body.kg-nav-open { overflow: hidden; }
  .kg-mobile-nav:not([hidden]) { box-shadow: 0 0 0 100vmax rgba(26,16,32,.45); } /* dims the page behind; lives in the header layer so it never covers the drawer */
}
@keyframes kg-drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
.kg-drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; position: sticky; top: 0; background: var(--kg-cream); z-index: 1; }
.kg-drawer__title { font-family: var(--kg-display); font-weight: 800; font-size: 24px; }
.kg-drawer__close, body.kg-theme .kg-drawer__close { width: 44px; height: 44px; border-radius: 50%; border: var(--kg-line); background: #fff; color: var(--kg-ink); font-size: 26px; line-height: 1; padding: 0; display: grid; place-items: center; cursor: pointer; }
.kg-drawer { display: flex; flex-direction: column; }
.kg-drawer__group { border-bottom: 1px solid #E8DACB; }
.kg-drawer__group > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-family: var(--kg-display); font-weight: 800; font-size: 21px; }
.kg-drawer__group > summary::-webkit-details-marker { display: none; }
.kg-drawer__group > summary::after { content: "+"; width: 30px; height: 30px; border: 2px solid var(--kg-ink); border-radius: 50%; display: grid; place-items: center; font-size: 20px; line-height: 1; }
.kg-drawer__group[open] > summary::after { content: "\2013"; background: var(--kg-lime); }
.kg-drawer__body { padding: 0 0 16px 4px; }
.kg-drawer__body .kg-mega__list li a { padding: 8px 0; font-size: 17px; }
.kg-drawer__body .kg-mega__h { margin: 14px 0 10px; }
.kg-drawer__link, body.kg-theme a.kg-drawer__link { display: block; padding: 14px 0; font-family: var(--kg-display); font-weight: 800; font-size: 21px; text-decoration: none; color: var(--kg-ink); border-bottom: 1px solid #E8DACB; }
.kg-drawer__link--hot, body.kg-theme a.kg-drawer__link--hot { margin-top: 18px; text-align: center; background: var(--kg-orange); border: var(--kg-line); border-radius: 999px; padding: 12px; }
.kg-drawer__link--small, body.kg-theme a.kg-drawer__link--small { font-family: var(--kg-body); font-size: 16px; font-weight: 700; border: 0; text-align: center; text-decoration: underline; }
