/* Kemi Kadence child — chrome + shared components. Ported from kemi-layout-lab v2.css (2026-10-05).
   Everything is prefixed .kemi- so it never fights Kadence's own selectors. */
:root {
  --kemi-red: #da251c; --kemi-red-dark: #b81e16; --kemi-ink: #141414; --kemi-text: #2b2b2b; --kemi-muted: #6f6f6f;
  --kemi-line: #e4e4e4; --kemi-bg: #f4f4f4; --kemi-white: #fff; --kemi-max: 1360px;
  --kemi-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
body.kemi-theme { font-family: var(--kemi-font); color: var(--kemi-text); }
body.kemi-theme.kemi-drawer-open { overflow: hidden; }
.kemi-container { max-width: var(--kemi-max); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.kemi-theme .kemi-hdr a, .kemi-theme .kemi-ftr a, .kemi-theme .kemi-drawer a { text-decoration: none; }
.kemi-theme .kemi-hdr ul, .kemi-theme .kemi-drawer ul, .kemi-theme .kemi-ftr ul { list-style: none; margin: 0; padding: 0; }
.kemi-hdr button, .kemi-drawer button { font: inherit; }

/* ---------- header ---------- */
.kemi-hdr { background: var(--kemi-white); position: sticky; top: 0; z-index: 90; border-bottom: 1px solid var(--kemi-line); }
.kemi-hdr-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; height: 80px; }
.kemi-logo img { height: 46px; width: auto; display: block; }
.kemi-burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.kemi-burger span { display: block; height: 2px; background: var(--kemi-ink); }

.kemi-search { max-width: 760px; width: 100%; display: flex; align-items: stretch; height: 48px; border: 2px solid var(--kemi-ink); background: #fff; }
.kemi-search-tabs { display: flex; flex: 0 0 auto; }
.kemi-search-tabs button { background: #fff; border: 0; border-right: 1px solid var(--kemi-line); padding: 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--kemi-muted); cursor: pointer; }
.kemi-search-tabs button.is-active { background: var(--kemi-ink); color: #fff; }
.kemi-search-pane { display: none; flex: 1; min-width: 0; }
.kemi-search-pane.is-active { display: flex; }
.kemi-search-pane form { display: flex; flex: 1; min-width: 0; margin: 0; align-items: stretch; }
.kemi-search-pane input[type=search], .kemi-search-pane input[type=text] { flex: 1; min-width: 0; border: 0; border-radius: 0; box-shadow: none; padding: 0 16px; font-size: 16px; font-family: var(--kemi-font); outline: none; background: #fff; height: auto; }
.kemi-search-pane button[type=submit] { background: var(--kemi-red); color: #fff; border: 0; border-radius: 0; padding: 0 18px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.kemi-search-pane button[type=submit] svg { width: 22px; height: 22px; }
.kemi-search-pane button[type=submit]:hover { background: var(--kemi-red-dark); }
/* Humla's own form inside our box */
.kemi-search-pane .humla-search-form { --humla-accent: var(--kemi-red); }
.kemi-search-pane .humla-search-form__input { border: 0 !important; border-radius: 0 !important; }
.kemi-search-pane .humla-search-form__submit { background: var(--kemi-red) !important; color: #fff !important; border-radius: 0 !important; }
/* tecdoc plate app (#search_box_app, Vue) inside our box */
.kemi-theme .kemi-plate { display: flex; flex: 1; min-width: 0; align-items: stretch; }
.kemi-theme .kemi-plate .nh_platesearch { flex: 1; display: flex; min-width: 0; position: relative; }
.kemi-theme .kemi-plate .p-platenr-input-container { flex: 1 1 auto !important; }
.kemi-theme .kemi-plate .p-plate-box > div:not(.p-platenr-input-container) { flex: 0 0 auto; }
.kemi-theme .kemi-plate .header-button.adv_search { flex: 0 0 auto; margin-left: auto; }
.kemi-theme .kemi-plate form { display: flex; flex: 1; min-width: 0; margin: 0; align-items: stretch; }
.kemi-theme .kemi-plate .p-plate-box { display: flex !important; flex: 1 1 auto; min-width: 0; align-items: stretch; margin: 0; padding: 0; flex-wrap: nowrap; }
.kemi-theme .kemi-plate .p-plate-box > div { display: flex; }
.kemi-theme .kemi-plate .p-platenr-input-container { display: flex; align-items: center; flex: 1; min-width: 0; position: relative; }
.kemi-theme .kemi-plate .p-platenr-input-container span, .kemi-theme .kemi-plate .isplate-label { display: none !important; }
.kemi-theme .kemi-plate input.masked { position: static !important; flex: 1 1 auto !important; width: 100% !important; max-width: none !important; min-width: 120px; height: 100% !important; border: 0; border-radius: 0; box-shadow: none; padding: 0 16px; font-size: 18px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; font-family: var(--kemi-font); background: #fff; outline: none; margin: 0; }
.kemi-theme .kemi-plate button.tecdoc_show { height: 100%; background: var(--kemi-red); border: 0; border-radius: 0; padding: 0 18px; margin: 0; display: flex; align-items: center; cursor: pointer; box-shadow: none; }
.kemi-theme .kemi-plate button.tecdoc_show:hover { background: var(--kemi-red-dark); }
.kemi-theme .kemi-plate .header-button.adv_search { display: flex; align-items: center; margin: 0; }
.kemi-theme .kemi-plate .adv_search button { background: #fff; color: var(--kemi-ink); border: 0; border-left: 1px solid var(--kemi-line); border-radius: 0; box-shadow: none; height: 100%; padding: 0 14px; font-size: 13px; font-weight: 600; cursor: pointer; margin: 0; }
.kemi-theme .kemi-plate .adv_search button svg { stroke: var(--kemi-ink); margin-left: 4px; }
.kemi-theme .kemi-plate .adv-dropdown { top: calc(100% + 2px); right: 0; left: auto; min-width: 720px; border-radius: 0; z-index: 95; }
.kemi-plate--missing { color: var(--kemi-muted); font-size: 14px; }

.kemi-hdr-tools { display: flex; gap: 8px; }
.kemi-hdr-tools a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--kemi-ink); }
.kemi-hdr-tools a:hover { background: var(--kemi-bg); }
.kemi-hdr-tools svg { width: 22px; height: 22px; }
.kemi-hdr-tools .kemi-cart { background: var(--kemi-ink); color: #fff; }
.kemi-hdr-tools .kemi-cart:hover { background: var(--kemi-red); }
.kemi-cart-count { background: var(--kemi-red); color: #fff; font-size: 11px; padding: 1px 6px; font-weight: 700; }

.kemi-hdr-nav { display: flex; justify-content: space-between; align-items: stretch; border-top: 1px solid var(--kemi-line); height: 52px; }
.kemi-nav { display: flex; align-items: stretch; }
.kemi-nav > li { position: relative; display: flex; align-items: stretch; }
.kemi-nav > li > a { display: flex; align-items: center; padding: 0 16px; font-size: 14px; font-weight: 600; color: var(--kemi-ink); box-shadow: inset 0 -3px 0 transparent; }
.kemi-nav > li:hover > a, .kemi-nav > li.current-menu-item > a { box-shadow: inset 0 -3px 0 var(--kemi-red); }
.kemi-nav > li.kemi-catnav > a { background: var(--kemi-ink); color: #fff; padding: 0 22px; margin-right: 12px; box-shadow: none; }
.kemi-nav > li.kemi-catnav > a::before { content: "☰"; margin-right: 10px; font-size: 13px; }
.kemi-nav > li.kemi-catnav:hover > a { background: var(--kemi-red); }
.kemi-nav > li > ul.sub-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--kemi-line); box-shadow: 0 14px 34px rgba(0,0,0,.14); z-index: 95; padding: 10px 0; min-width: 260px; }
.kemi-nav > li.kemi-catnav > ul.sub-menu { columns: 2; column-gap: 0; min-width: 520px; }
.kemi-nav > li:hover > ul.sub-menu, .kemi-nav > li:focus-within > ul.sub-menu { display: block; }
.kemi-nav > li > ul.sub-menu li { break-inside: avoid; }
.kemi-nav > li > ul.sub-menu a { display: block; padding: 9px 22px; font-size: 14px; color: var(--kemi-ink); white-space: nowrap; }
.kemi-nav > li > ul.sub-menu a:hover { background: var(--kemi-bg); color: var(--kemi-red); }
.kemi-nav > li > ul.sub-menu li.all a { font-weight: 700; }
.kemi-phone { display: flex; align-items: center; font-size: 18px; font-weight: 700; color: var(--kemi-ink); letter-spacing: -.01em; }
.kemi-phone:hover { color: var(--kemi-red); }
.kemi-brand-banner { max-width: var(--kemi-max); margin: 16px auto 0; padding: 0 24px; }

/* ---------- drawer ---------- */
.kemi-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 320px; max-width: 90vw; background: #fff; z-index: 120; transform: translateX(-100%); transition: transform .25s; overflow: auto; padding-bottom: 40px; }
.kemi-drawer.is-open { transform: none; }
.kemi-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 110; }
.kemi-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--kemi-line); }
.kemi-theme .kemi-drawer-close { background: none !important; color: var(--kemi-ink) !important; border: 0; border-radius: 0; box-shadow: none; padding: 0 8px; font-size: 28px; line-height: 1; cursor: pointer; }
.kemi-theme .kemi-sub-toggle { background: none !important; color: var(--kemi-muted) !important; box-shadow: none; border-radius: 0; }
.kemi-theme .kemi-search-tabs button, .kemi-theme .kemi-dot { box-shadow: none; border-radius: 0; }
.kemi-drawer li { position: relative; }
.kemi-drawer li > a { display: block; padding: 12px 52px 12px 20px; font-weight: 600; color: var(--kemi-ink); border-bottom: 1px solid var(--kemi-line); }
.kemi-drawer li ul { display: none; }
.kemi-drawer li.is-open > ul { display: block; }
.kemi-drawer li ul a { font-weight: 400; padding-left: 36px; font-size: 14px; }
.kemi-sub-toggle { position: absolute; top: 4px; right: 8px; width: 40px; height: 40px; background: none; border: 0; font-size: 20px; cursor: pointer; color: var(--kemi-muted); }
.kemi-drawer-title { padding: 22px 20px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--kemi-muted); font-weight: 700; }
.kemi-drawer-primary { display: none; }

/* ---------- shared blocks (used by kemi-blocks) ---------- */
.kemi-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 12px; padding-top: 20px; height: clamp(280px, 27vw, 400px); box-sizing: content-box; }
.kemi-slider { grid-row: 1 / 3; position: relative; min-width: 0; overflow: hidden; background: #111; }
.kemi-slider .kemi-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.kemi-slider .kemi-slide.is-active { opacity: 1; }
.kemi-slider img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kemi-slide.has-copy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,0) 85%); }
.kemi-slide-copy { position: absolute; left: 36px; right: 36px; bottom: 44px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 520px; color: #fff; text-decoration: none; }
.kemi-slide-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--kemi-red); color: #fff; padding: 4px 8px; }
.kemi-slide-title { font-size: clamp(24px, 2.6vw, 40px); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; color: #fff; }
.kemi-slide-text { font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.9); }
.kemi-slide-cta { display: inline-block; margin-top: 4px; background: #fff; color: var(--kemi-ink); font-size: 14px; font-weight: 700; padding: 11px 18px; }
.kemi-slide:hover .kemi-slide-cta { background: var(--kemi-red); color: #fff; }
.kemi-dots { position: absolute; bottom: 14px; left: 20px; display: flex; gap: 6px; z-index: 2; }
.kemi-dot { width: 22px; height: 4px; border: 0; background: rgba(255,255,255,.5); padding: 0; cursor: pointer; }
.kemi-dot.is-active { background: var(--kemi-red); }
.kemi-hero-tile { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 24px; color: #fff; min-width: 0; overflow: hidden; text-decoration: none; }
.kemi-hero-tile.is-red { background: var(--kemi-red); }
.kemi-hero-tile.is-dark { background: var(--kemi-ink); }
.kemi-hero-tile .k { font-size: 24px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; color: #fff; }
.kemi-hero-tile .s { font-size: 14px; opacity: .9; margin-top: 6px; color: #fff; }
.kemi-hero-tile:hover { filter: brightness(1.08); }

.kemi-section { padding: 36px 0 8px; }
.kemi-section.is-alt { background: var(--kemi-bg); padding: 36px 0 32px; margin-top: 28px; }
.kemi-sec-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.kemi-sec-head h2 { font-size: 26px; font-weight: 800; margin: 0; letter-spacing: -.015em; color: var(--kemi-ink); }
.kemi-more { font-size: 14px; font-weight: 600; color: var(--kemi-ink); text-decoration: none; }
.kemi-more:hover { color: var(--kemi-red); }

.kemi-cat-grid { display: grid; grid-template-columns: repeat(var(--kemi-cols, 6), minmax(0, 1fr)); gap: 1px; background: var(--kemi-line); border: 1px solid var(--kemi-line); }
.kemi-cat { background: #fff; display: flex; flex-direction: column; align-items: center; padding: 16px 12px 14px; text-align: center; color: var(--kemi-ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.kemi-cat:hover { background: var(--kemi-bg); color: var(--kemi-red); }
.kemi-cat-img { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 10px; }
.kemi-cat-img img { width: 100%; height: 100%; object-fit: contain; }

.kemi-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--kemi-line); border: 1px solid var(--kemi-line); }
.kemi-card { background: #fff; display: flex; flex-direction: column; position: relative; }
.kemi-card-img { display: block; aspect-ratio: 1; padding: 18px; position: relative; }
.kemi-card-img img { width: 100%; height: 100%; object-fit: contain; }
.kemi-badge { position: absolute; top: 10px; left: 10px; background: var(--kemi-green, #1e8e3e); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 8px; z-index: 1; }
.kemi-card-body { padding: 0 18px 18px; display: flex; flex-direction: column; flex: 1; }
.kemi-card-title { font-size: 14px; font-weight: 600; color: var(--kemi-ink); line-height: 1.35; min-height: 38px; overflow-wrap: anywhere; text-decoration: none; }
.kemi-card-title:hover { color: var(--kemi-red); }
.kemi-card-meta { font-size: 12px; color: var(--kemi-muted); margin: 6px 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.kemi-empty { color: var(--kemi-muted); }
.kemi-card .kemi-card-img img { width: 100%; height: 100%; object-fit: contain; }
.kemi-card .price { font-size: 16px; font-weight: 700; color: var(--kemi-ink); margin-bottom: 14px; display: block; }
.kemi-card .price del { color: var(--kemi-muted); font-weight: 400; font-size: 13px; margin-right: 6px; }
.kemi-card .price ins { text-decoration: none; color: var(--kemi-red); }
.kemi-btn { display: block; text-align: center; background: var(--kemi-ink); color: #fff; font-size: 13px; font-weight: 600; padding: 11px 12px; margin-top: auto; text-decoration: none; border: 0; border-radius: 0; cursor: pointer; }
.kemi-btn:hover { background: var(--kemi-red); color: #fff; }

.kemi-posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.kemi-post-img { display: block; aspect-ratio: 16/9; overflow: hidden; }
.kemi-post-img img { width: 100%; height: 100%; object-fit: cover; }
.kemi-post h3 { font-size: 16px; font-weight: 600; margin: 14px 0 6px; }
.kemi-post h3 a { color: var(--kemi-ink); text-decoration: none; }
.kemi-post h3 a:hover { color: var(--kemi-red); }
.kemi-post p { font-size: 14px; color: var(--kemi-muted); margin: 0; }

/* ---------- footer ---------- */
.kemi-ftr { background: var(--kemi-ink); color: #cfcfcf; font-size: 14px; margin-top: 48px; }
.kemi-ftr-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.kemi-ftr h4 { color: #fff; font-size: 13px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .08em; }
.kemi-ftr p { margin: 4px 0; }
.kemi-ftr a { color: #cfcfcf; }
.kemi-ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.kemi-ftr-logo { height: 40px; width: auto; margin-bottom: 18px; }
.kemi-ftr-badge { width: 180px; margin-top: 18px; }
.kemi-ftr-legal { border-top: 1px solid #333; padding-top: 16px; padding-bottom: 16px; font-size: 12px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.kemi-legal { display: flex; gap: 24px; }
.kemi-copy { margin-left: auto; }

/* ---------- WooCommerce touch-ups (phase 1: squares, brand red) ---------- */
.kemi-theme .button, .kemi-theme button.single_add_to_cart_button, .kemi-theme .wc-block-components-button { border-radius: 0; }
.kemi-theme .shop-product-sku { font-size: 12px; color: var(--kemi-muted); margin: 2px 0 6px; }
.kemi-theme .product-sku { font-size: 13px; color: var(--kemi-muted); margin-bottom: 12px; padding-bottom: 6px; border-bottom: 2px solid rgba(218,37,28,.5); }
.kemi-theme .kemi-contact-sales { background: #f8bd01; color: #424242; padding: 10px 16px; font-weight: 600; }
.kemi-theme .site-header-row-container-inner { display: none; } /* belt and braces: Kadence header rows, should not render */

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .kemi-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kemi-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .kemi-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kemi-hdr-main { gap: 20px; }
}
@media (max-width: 900px) {
  .kemi-hdr-main { grid-template-columns: auto auto 1fr auto; grid-template-rows: 64px auto; height: auto; gap: 12px; padding-bottom: 12px; }
  .kemi-burger { display: flex; }
  .kemi-logo img { height: 34px; }
  .kemi-search { grid-column: 1 / -1; grid-row: 2; max-width: none; height: 44px; }
  .kemi-search-tabs button { padding: 0 10px; font-size: 11px; }
  .kemi-hdr-tools { justify-self: end; }
  .kemi-hdr-tools a span { display: none; }
  .kemi-hdr-tools a { padding: 8px; }
  .kemi-hdr-nav { display: none; }
  .kemi-drawer-primary { display: block; }
  .kemi-hero { grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: auto auto; padding-top: 12px; height: auto; }
  .kemi-slider { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 2/1; }
  .kemi-hero-tile { min-height: 96px; padding: 16px; }
  .kemi-slide-copy { left: 16px; right: 16px; bottom: 30px; gap: 6px; }
  .kemi-slide-text { display: none; }
  .kemi-slide-cta { font-size: 13px; padding: 9px 14px; }
  .kemi-hero-tile .k { font-size: 18px; }
  .kemi-hero-tile .s { font-size: 12px; }
  .kemi-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .kemi-cat { font-size: 12px; padding: 10px 8px; }
  .kemi-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kemi-card-img { padding: 12px; }
  .kemi-card-body { padding: 0 12px 12px; }
  .kemi-posts { grid-template-columns: 1fr; }
  .kemi-ftr-cols { grid-template-columns: 1fr; gap: 24px; }
  .kemi-sec-head h2 { font-size: 21px; }
  .kemi-container { padding: 0 16px; }
}

/* ---------- customer access (login / register) ---------- */
.kemi-access { padding: 32px 0 56px; }
.kemi-access-intro { text-align: center; margin: 0 auto 28px; max-width: 700px; }
.kemi-access-intro h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px; }
.kemi-access-intro p { font-size: 17px; color: var(--kemi-muted); margin: 0; }
.kemi-access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.kemi-access-woo { display: contents; }
.kemi-access-woo .woocommerce-notices-wrapper:empty { display: none; }
.kemi-access-woo .woocommerce, .kemi-access-woo .u-columns { display: contents; }
.kemi-access-woo form.login, .kemi-access-woo form.register { border: 0 !important; padding: 0 !important; margin: 0 !important; border-radius: 0; box-shadow: none; }
.kemi-access-woo .u-column2 h2 { display: flex; align-items: center; gap: 12px; }
.kemi-access-woo .u-column2 h2::before { content: ""; width: 44px; height: 44px; border-radius: 50%; background: var(--kemi-bg) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='8' r='4'/><path d='M2 21c0-4 3-7 7-7s7 3 7 7'/><path d='M19 8v6M16 11h6'/></svg>") center / 22px no-repeat; }
.kemi-access-woo .u-column2 form > p.form-row-wide:first-child input { margin-bottom: 0; }
.kemi-access-woo .u-columns::before, .kemi-access-woo .u-columns::after { content: none; }
.kemi-access-card, .kemi-access-woo .u-column1, .kemi-access-woo .u-column2 { background: #fff; border: 1px solid var(--kemi-line); padding: 26px 26px 24px; box-sizing: border-box; float: none !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
.kemi-access-woo .woocommerce-notices-wrapper { grid-column: 1 / -1; grid-row: 1; }
.kemi-access-woo .woocommerce-notices-wrapper:empty, .kemi-access-woo .woocommerce-notices-wrapper:not(:has(*)) { display: none; }
.kemi-access-card--phone { grid-column: 1; grid-row: 2; }
.kemi-access-woo .u-column1 { grid-column: 2; grid-row: 2; }
.kemi-access-woo .u-column2 { grid-column: 1 / -1; grid-row: 3; }
.kemi-access-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.kemi-access-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--kemi-bg); color: var(--kemi-ink); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.kemi-access-card h2, .kemi-access-woo .u-column1 h2, .kemi-access-woo .u-column2 h2 { font-size: 22px; font-weight: 800; margin: 0 0 18px; }
.kemi-access-card-head h2 { margin: 0; }
.kemi-access-woo .u-column1 h2 { display: flex; align-items: center; gap: 12px; }
.kemi-access-woo .u-column1 h2::before { content: ""; width: 44px; height: 44px; border-radius: 50%; background: var(--kemi-bg) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4'/><path d='M4 21c0-4 3.6-7 8-7s8 3 8 7'/></svg>") center / 22px no-repeat; }
.kemi-access-phone label, .kemi-access-woo form label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 6px; color: var(--kemi-ink); }
.kemi-access-woo form label .required { color: var(--kemi-red); }
.kemi-access-phone input, .kemi-access-woo form input.input-text { width: 100%; box-sizing: border-box; height: 46px; border: 1px solid #c8c8c8; border-radius: 0; padding: 0 14px; font: inherit; font-size: 15px; background: #fff; box-shadow: none; margin: 0 0 14px; }
.kemi-access-phone input:focus, .kemi-access-woo form input.input-text:focus { outline: none; border-color: var(--kemi-ink); }
.kemi-access-woo form p.form-row, .kemi-access-woo form p { margin: 0 0 12px; }
.kemi-btn, .kemi-access-woo form button.button { display: inline-block; width: 100%; height: 48px; border: 0; border-radius: 0; background: var(--kemi-ink); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; padding: 0 20px; }
.kemi-btn:hover, .kemi-access-woo form button.button:hover { background: var(--kemi-red); color: #fff; }
.kemi-access-woo .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 0 0 14px; }
.kemi-access-woo .woocommerce-form-login__rememberme input { margin: 0; }
.kemi-access-woo .lost_password { text-align: right; margin: 12px 0 0 !important; font-size: 14px; }
.kemi-access-woo .lost_password a { color: var(--kemi-red); font-weight: 600; text-decoration: none; }
.kemi-access-woo .lost_password a:hover { text-decoration: underline; }
.kemi-access-woo .u-column2 form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; align-items: end; }
.kemi-access-woo .u-column2 form > * { grid-column: 1 / -1; }
.kemi-access-woo .u-column2 form > p.form-row-wide:first-child { grid-column: 1; }
.kemi-access-woo .u-column2 form > p.form-row:last-child { grid-column: 2; }
.kemi-access-woo .woocommerce-privacy-policy-text p { font-size: 13px; color: var(--kemi-muted); }
.kemi-access-help { font-size: 13px; color: var(--kemi-muted); margin: 10px 0 0; line-height: 1.5; }
.kemi-access-status { font-size: 13px; color: var(--kemi-red); font-weight: 600; margin: 8px 0 0; }
.kemi-access-security { display: flex; gap: 12px; align-items: flex-start; border-top: 1px solid var(--kemi-line); margin-top: 22px; padding-top: 16px; color: var(--kemi-ink); }
.kemi-access-security span { display: grid; gap: 2px; }
.kemi-access-security strong { font-size: 14px; }
.kemi-access-security small { font-size: 13px; color: var(--kemi-muted); line-height: 1.45; }
.kemi-access-next, .kemi-access-contact { max-width: 980px; margin: 16px auto 0; font-size: 14px; color: var(--kemi-muted); }
.kemi-access-next { background: var(--kemi-bg); padding: 14px 18px; }
.kemi-access-next strong { color: var(--kemi-ink); }
.kemi-access-contact a { color: var(--kemi-red); font-weight: 700; text-decoration: none; }
.kemi-access-contact a:hover { text-decoration: underline; }
.kemi-access-dash { max-width: 980px; margin: 0 auto; }
@media (max-width: 800px) {
  .kemi-access { padding: 20px 0 40px; }
  .kemi-access-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .kemi-access-card, .kemi-access-woo .u-column1, .kemi-access-woo .u-column2 { padding: 20px 16px; }
  .kemi-access-woo .u-column2 form { grid-template-columns: minmax(0, 1fr); }
  .kemi-access-woo .u-column2 form > p.form-row-wide:first-child, .kemi-access-woo .u-column2 form > p.form-row:last-child { grid-column: 1; }
  .kemi-access-card--phone, .kemi-access-woo .u-column1, .kemi-access-woo .u-column2, .kemi-access-woo .woocommerce-notices-wrapper { grid-column: 1; grid-row: auto; }
}
