/* KnowTech visual system v2 — calm, spacious, mobile-first. */
:root {
  color-scheme: only light;
  --kt-v2-page: min(1400px, calc(100% - 48px));
  --kt-v2-reading: 720px;
  --kt-v2-bg: #fcfbf9;
  --kt-v2-card: #ffffff;
  --kt-v2-soft: #f6f3ef;
  --kt-v2-soft-blue: #f2f6f8;
  --kt-v2-ink: #213447;
  --kt-v2-text: #516273;
  --kt-v2-muted: #74818d;
  --kt-v2-navy: #36536d;
  --kt-v2-navy-deep: #263d52;
  --kt-v2-copper: #b87965;
  --kt-v2-line: #e7e3de;
  --kt-v2-radius: 18px;
  --kt-v2-radius-lg: 28px;
  --kt-v2-shadow: 0 16px 40px rgba(35, 58, 78, .07);
}

/* Light-only public experience. Neutralize the two legacy OS-level dark
   media rules that are still present in older page bundles. */
@media (prefers-color-scheme: dark) {
  .content table { box-shadow: 0 6px 24px rgba(0, 0, 0, .09) !important; }
  .content thead tr { background: var(--secondary-default, #36536d) !important; color: #fff !important; }
  .content tbody tr:nth-of-type(even) { background: var(--neutral-light, #f6f3ef) !important; }
  .plm-liked-product { background: #fff !important; border-color: #e7e3de !important; opacity: 1 !important; }
  .plm-product-info h3 a { color: #213447 !important; }
  .plm-product-meta { border-color: #e7e3de !important; color: #74818d !important; opacity: 1 !important; }
  .plm-empty-state { background: #f6f3ef !important; }
  .plm-empty-state-text { color: #516273 !important; opacity: 1 !important; }
}

/* Readability refinements discovered during the mobile light-theme audit. */
.kt-demo-privacy { font-size: 12px !important; line-height: 1.85 !important; }
@media (max-width: 860px) {
  .kt-tabbar-label { font-size: 11.5px !important; line-height: 1.35 !important; }
}

html { scroll-behavior: smooth; }
body,
button,
input,
select,
textarea {
  font-family: "KnowTech Sans", IRANSansXFaNum, Tahoma, Arial, sans-serif !important;
  font-feature-settings: "ss02", "tnum";
}

body {
  background: var(--kt-v2-bg);
  color: var(--kt-v2-text);
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

h1,
h2,
.kt-home h1,
.kt-home h2,
.kt-shop-page h1,
.kt-shop-page h2,
.kt-single-product h1,
.kt-single-product h2,
.kt-blog-page h1,
.kt-blog-page h2 {
  font-family: "KnowTech Display", "KnowTech Sans", Tahoma, sans-serif !important;
  color: var(--kt-v2-ink);
  font-weight: 700 !important;
  letter-spacing: -.025em;
}

h3,
h4,
h5,
h6 { color: var(--kt-v2-ink); }

.kt-shell,
.kt-header-shell,
.kt-footer-grid,
.kt-footer-licenses,
.kt-footer-bottom,
.kt-shop-page,
.kt-single-product,
.kt-blog-page,
.kt-page-shell,
.kt-account-shell,
.kt-cart-experience,
.kt-checkout-experience {
  width: var(--kt-v2-page) !important;
  max-width: 1400px !important;
  margin-inline: auto !important;
}

/* Header: fewer competing controls, clearer hierarchy. */
.kt-site-header {
  min-height: 74px;
  border-bottom: 1px solid rgba(43, 65, 84, .09);
  background: rgba(252, 251, 249, .94);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.kt-header-shell { min-height: 74px; gap: 30px; }
.kt-primary-nav ul { gap: clamp(18px, 2.2vw, 34px); }
.kt-primary-nav a { color: #425568; font-size: 14px; font-weight: 600; }
.kt-primary-nav a:hover,
.kt-primary-nav .current-menu-item > a { color: var(--kt-v2-navy-deep); }
.kt-header-actions { gap: 8px; }
.kt-icon-button { border-color: rgba(54, 83, 109, .13); box-shadow: none; }

/* Home hero: two calm columns instead of two loud panels. */
.kt-hero {
  min-height: 0 !important;
  padding: 72px 0 64px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(184, 121, 101, .08), transparent 34%),
    linear-gradient(180deg, #fcfbf9 0%, #faf8f5 100%);
}

.kt-hero-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr) !important;
  align-items: center !important;
  gap: clamp(44px, 6vw, 90px) !important;
}

.kt-hero-copy { max-width: 680px; }
.kt-hero-copy h1 {
  max-width: 680px;
  margin: 18px 0 20px !important;
  font-size: clamp(2.35rem, 4.15vw, 3.55rem) !important;
  line-height: 1.47 !important;
}

.kt-hero-lead {
  max-width: 590px;
  color: var(--kt-v2-text) !important;
  font-size: 17px !important;
  line-height: 2 !important;
}

.kt-hero-actions { margin-top: 28px !important; gap: 10px !important; }
.kt-button { min-height: 48px; padding-inline: 21px !important; box-shadow: none !important; }
.kt-button--primary { background: var(--kt-v2-navy-deep) !important; }
.kt-button--secondary { border-color: rgba(54, 83, 109, .18) !important; background: transparent !important; }

.kt-finder {
  gap: 12px !important;
  padding: 15px 22px 20px !important;
  border-color: rgba(54, 83, 109, .12) !important;
  border-radius: 22px !important;
  box-shadow: 0 22px 50px rgba(35, 58, 78, .08) !important;
}

.kt-finder-head { gap: 0 !important; }
.kt-finder-q { font-size: 18px !important; }
.kt-finder-options { gap: 7px !important; }
.kt-finder-option {
  min-height: 64px;
  padding: 10px 12px !important;
  border-width: 1px !important;
  border-radius: 13px !important;
}
.kt-finder-text b { font-size: 14px !important; }
.kt-finder-text small { font-size: 12px !important; line-height: 1.6 !important; }
.kt-finder-result { padding: 14px 16px !important; }
.kt-finder-result p { display: none; }
.kt-finder .kt-finder-cta { min-height: 40px; padding: 8px 16px !important; }

.kt-toolstrip { padding: 18px 0 !important; }
.kt-toolstrip-inner { gap: 18px !important; }
.kt-toolstrip-list a { padding: 7px 13px !important; background: transparent !important; }

/* Vertical rhythm: content is easier to scan and the page is shorter. */
.kt-section { padding-block: 76px !important; }
.kt-pathway-section { padding-block: 78px !important; }
.kt-faq-section { padding-block: 64px !important; }
.kt-section-heading { margin-bottom: 30px !important; }
.kt-section-heading h2 { font-size: clamp(1.75rem, 2.7vw, 2.35rem) !important; line-height: 1.55 !important; }
.kt-section-heading p { max-width: 470px; font-size: 15px !important; }

.kt-pathway-grid { gap: 14px !important; }
.kt-pathway-card {
  min-height: 0 !important;
  padding: 22px !important;
  border-color: var(--kt-v2-line) !important;
  border-radius: var(--kt-v2-radius) !important;
  box-shadow: none !important;
}
.kt-pathway-card:hover { transform: translateY(-3px); box-shadow: var(--kt-v2-shadow) !important; }
.kt-pathway-card h3 { margin-top: 8px !important; font-size: 18px !important; }
.kt-pathway-card p { font-size: 14px !important; line-height: 1.85 !important; }
.kt-path-preview { min-height: 82px !important; margin-block: 14px 16px !important; }

.kt-journey-layout { gap: clamp(32px, 5vw, 78px) !important; }
.kt-journey-intro { max-width: 500px; }
.kt-journey-intro h2 { font-size: clamp(1.85rem, 3vw, 2.5rem) !important; line-height: 1.55 !important; }
.kt-journey-note { margin-top: 26px !important; padding: 15px !important; }
.kt-journey-list { gap: 0 !important; }
.kt-journey-item { padding: 19px 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }

/* Product and editorial cards share one quiet component style. */
.kt-product-card,
.kt-product-tile,
.kt-insight-card,
.kt-article-card {
  overflow: hidden;
  border: 1px solid var(--kt-v2-line) !important;
  border-radius: var(--kt-v2-radius) !important;
  background: var(--kt-v2-card) !important;
  box-shadow: none !important;
}
.kt-product-card:hover,
.kt-product-tile:hover,
.kt-insight-card:hover,
.kt-article-card:hover { transform: translateY(-3px); box-shadow: var(--kt-v2-shadow) !important; }
.kt-brand-cover { min-height: 176px !important; }
.kt-product-visual > .kt-brand-cover {
  isolation: isolate;
  color: var(--brand-ink) !important;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, .22), transparent 31%),
    radial-gradient(circle at 14% 84%, rgba(7, 24, 38, .20), transparent 40%),
    linear-gradient(145deg, var(--brand) 0%, var(--brand-2) 100%) !important;
}
.kt-product-visual > .kt-brand-cover::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7%;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
}
.kt-product-visual > .kt-brand-cover .kt-brand-cover-mark {
  filter: drop-shadow(0 16px 28px rgba(5, 24, 34, .24));
}

/* Premium product artwork: keep each tool mark, replace the flat gradient
   with an editorial KnowTech background that remains calm at card size. */
.kt-brand-cover--art {
  isolation: isolate;
  background: var(--brand) !important;
}
.kt-brand-cover--art .kt-brand-cover-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform .45s cubic-bezier(.22,.61,.36,1), filter .25s ease;
}
.kt-brand-cover--art::after {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 48%, rgba(8, 21, 33, .04) 0 23%, rgba(8, 21, 33, .22) 72%, rgba(8, 21, 33, .38) 100%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(9,22,34,.18));
}
.kt-brand-cover--art .kt-brand-cover-mark,
.kt-brand-cover--art .kt-brand-cover-name {
  z-index: 2;
}
.kt-brand-cover--art .kt-brand-cover-mark {
  width: clamp(68px, 31%, 96px);
  max-width: none;
  min-width: 0;
  padding: clamp(17px, 6%, 22px);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 28%;
  background: rgba(13, 27, 41, .68);
  box-shadow: 0 18px 38px rgba(5, 19, 31, .24), inset 0 1px 0 rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(12px) saturate(.92);
  backdrop-filter: blur(12px) saturate(.92);
}
.kt-brand-cover--art .kt-brand-cover-name {
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(13, 27, 41, .72);
  box-shadow: 0 10px 24px rgba(5, 19, 31, .15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.kt-product-card:hover .kt-brand-cover--art .kt-brand-cover-art,
.kt-product-tile:hover .kt-brand-cover--art .kt-brand-cover-art {
  transform: scale(1.045);
}
.kt-product-visual .kt-brand-cover--art .kt-brand-cover-mark {
  width: clamp(94px, 24%, 132px);
  padding: clamp(24px, 5%, 31px);
  border-radius: 30%;
}
html[data-theme="dark"] .kt-brand-cover--art .kt-brand-cover-art {
  filter: brightness(.82) saturate(.88) contrast(.98);
}
@media (max-width: 560px) {
  .kt-brand-cover--art .kt-brand-cover-mark {
    width: clamp(62px, 29%, 82px);
    padding: clamp(15px, 5.5%, 19px);
  }
  .kt-product-visual .kt-brand-cover--art .kt-brand-cover-mark {
    width: clamp(82px, 25%, 104px);
    padding: clamp(20px, 5%, 25px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .kt-brand-cover--art .kt-brand-cover-art { transition: none; }
}
.kt-product-body,
.kt-product-tile-body,
.kt-insight-body { padding: 19px !important; }
.kt-product-body h3,
.kt-product-tile h2,
.kt-insight-body h3 { font-size: 18px !important; line-height: 1.7 !important; }
.kt-product-footer,
.kt-product-tile-foot { margin-top: 18px !important; padding-top: 15px !important; border-top: 1px solid var(--kt-v2-line); }
.kt-product-price { font-size: 15px !important; }
.kt-insight-read { flex-wrap: wrap; column-gap: 10px !important; row-gap: 6px !important; }
.kt-insight-read > * + * { position: relative; padding-inline-start: 11px; }
.kt-insight-read > * + *::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--kt-v2-copper); }

/* Shop archive. */
.kt-shop-page { padding-top: 34px !important; }
.kt-shop-hero {
  min-height: 420px !important;
  padding: clamp(40px, 6vw, 72px) !important;
  border-radius: var(--kt-v2-radius-lg) !important;
  background: linear-gradient(125deg, #f7eee9 0%, #f3f7fa 54%, #f7f5f1 100%) !important;
}
.kt-shop-hero h1 { max-width: 720px; font-size: clamp(2.2rem, 4vw, 3.35rem) !important; line-height: 1.5 !important; }
.kt-shop-benefits { margin-top: 16px !important; border-radius: 14px !important; }
.kt-shop-catalog { padding-block: 72px !important; }
.kt-products-grid { gap: 20px !important; }
.kt-shop-choice,
.kt-shop-guide { border-radius: var(--kt-v2-radius-lg) !important; box-shadow: none !important; }

/* Single product: visual and plan selector now form one balanced unit. */
.kt-single-product { padding-top: 28px !important; }
.kt-back-link { margin-bottom: 22px !important; }
.kt-product-hero {
  display: grid !important;
  grid-template-columns: minmax(420px, .92fr) minmax(0, 1.08fr) !important;
  align-items: start !important;
  gap: clamp(36px, 4.5vw, 68px) !important;
  margin-bottom: 76px !important;
}
.kt-product-visual {
  position: sticky !important;
  top: 96px !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  border-radius: var(--kt-v2-radius-lg) !important;
  box-shadow: 0 18px 44px rgba(26, 48, 69, .10) !important;
}
.kt-product-visual img { width: 100%; height: 100%; object-fit: cover; }
.kt-product-purchase { padding-top: 18px !important; }
.kt-product-intro h1 { margin: 12px 0 12px !important; font-size: clamp(2.1rem, 3.9vw, 3.2rem) !important; line-height: 1.45 !important; }
.kt-product-intro p { max-width: 620px; font-size: 16px !important; line-height: 1.95 !important; }
.kt-purchase-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 26px !important;
  padding: clamp(24px, 3vw, 34px) !important;
  border: 1px solid #dce5ec !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 3% 0%, rgba(179, 119, 99, .09), transparent 29%),
    linear-gradient(150deg, #fff 0%, #fbfcfd 100%) !important;
  box-shadow: 0 24px 68px -38px rgba(26, 48, 69, .46) !important;
}
.kt-purchase-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #36546e 0%, #7592a8 54%, #b87965 100%);
}
.kt-purchase-card-head { margin-bottom: 22px; }
.kt-purchase-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #587086;
  font-size: 12px;
  font-weight: 750;
}
.kt-purchase-kicker svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #b87965;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kt-purchase-card-head h2 { margin: 0 0 7px !important; color: #1f3447; font-size: clamp(20px, 2.1vw, 24px) !important; line-height: 1.55 !important; }
.kt-purchase-card-head p { margin: 0 !important; color: #718190; font-size: 13px !important; line-height: 1.8 !important; }
.kt-purchase-heading { margin-bottom: 20px !important; padding-bottom: 16px !important; }
.kt-purchase-heading h2 { font-size: 21px !important; }
.kt-purchase-card .hdm-product-card { display: grid; gap: 20px; }
.kt-purchase-card .hdm-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
  margin: 0 !important;
  padding: 17px 20px;
  border: 1px solid #dde7ee;
  border-radius: 17px;
  background: rgba(241, 246, 249, .78);
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.kt-purchase-card .hdm-price-copy { display: grid; flex: 0 0 auto; gap: 3px; }
.kt-purchase-card .hdm-price-label { color: #52697d; font-size: 12px; font-weight: 800; }
.kt-purchase-card .hdm-price-copy small { color: #8795a1; font-size: 11px; font-weight: 500; }
.kt-purchase-card .price-display { color: #20384d; font-size: clamp(17px, 2vw, 21px); font-weight: 850; line-height: 1.55; text-align: end; }
.kt-purchase-card .price-display .woocommerce-Price-amount { color: inherit; font: inherit; }
.kt-purchase-card .kt-price-range { display: inline-grid; grid-template-columns: repeat(2, minmax(0, auto)); align-items: center; justify-content: end; gap: 16px; }
.kt-purchase-card .kt-price-bound { display: grid; gap: 1px; white-space: nowrap; }
.kt-purchase-card .kt-price-bound + .kt-price-bound { padding-inline-start: 16px; border-inline-start: 1px solid #d9e2e8; }
.kt-purchase-card .kt-price-bound small { color: #728495; font-size: 10px; font-weight: 750; }
.kt-purchase-card .hdm-product-card.has-selected-variation .hdm-price {
  border-color: rgba(76, 118, 148, .42);
  background: #f3f8fb;
  box-shadow: 0 12px 26px -22px rgba(32, 56, 77, .7);
}
.kt-purchase-card .hdm-product-card.has-selected-variation .hdm-price-label { color: #2f6c59; }
.kt-purchase-card .hdm-product-card.has-selected-variation .price-display { color: #162f43; }
.kt-purchase-card .variations {
  counter-reset: kt-plan-field;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px !important;
  margin: 0 !important;
}
.kt-purchase-card .variation-item { counter-increment: kt-plan-field; min-width: 0; }
.kt-purchase-card .variation-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.kt-purchase-card .variation-item label {
  display: flex !important;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px !important;
  color: #52677a !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}
.kt-purchase-card .variation-item label::before {
  content: counter(kt-plan-field);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 7px;
  background: #edf2f5;
  color: #6b7d8b;
  font: 800 10px/1 sans-serif;
  transition: color .2s ease, background .2s ease;
}
.kt-purchase-card .variation-item.is-complete label::before { background: #dcebe5; color: #2f6c59; }
.kt-purchase-card select,
.kt-purchase-card input { min-height: 54px; border-radius: 14px !important; font-size: 14px !important; }
.kt-purchase-card .variation-select {
  width: 100%;
  padding: 0 16px !important;
  border: 1px solid #d5dfe6 !important;
  background-color: #fff !important;
  color: #344b5e !important;
  font-weight: 650;
  box-shadow: 0 7px 20px -19px rgba(20, 44, 65, .75);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.kt-purchase-card .variation-select:hover { border-color: #aebfcb !important; }
.kt-purchase-card .variation-select:focus { border-color: #6f8fa7 !important; outline: 3px solid rgba(111, 143, 167, .14) !important; box-shadow: none !important; }
.kt-purchase-card .variation-item.is-complete .variation-select { border-color: #b8d3c9 !important; background-color: #fbfefd !important; }
.kt-purchase-card .single_variation_wrap { margin-top: -10px; }
.kt-purchase-card .single_variation { display: flex; justify-content: flex-end; }
.kt-purchase-card .single_variation .woocommerce-variation-price { display: none; }
.kt-purchase-card .single_variation .stock { margin: 0; padding: 4px 10px; border-radius: 999px; background: #e9f4ef; color: #2f6c59 !important; font-size: 11px !important; font-weight: 750; }
.kt-purchase-card .woocommerce-variation-notice { margin: 3px 0 0 !important; padding: 10px 12px; border-radius: 10px; background: #fff2ef; color: #9d4838 !important; font-size: 12px !important; }
.kt-purchase-card .add_to_cart_area { margin-top: 2px; }
.kt-purchase-card .single_add_to_cart_button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px !important;
  border: 0 !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #183248 0%, #2c516d 100%) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  box-shadow: 0 15px 30px -20px rgba(18, 46, 68, .9) !important;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease !important;
}
.kt-purchase-card .single_add_to_cart_button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kt-purchase-card .single_add_to_cart_button:not(:disabled):hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 18px 34px -20px rgba(18, 46, 68, .95) !important; }
.kt-purchase-card > .kt-purchase-benefits {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px !important;
  margin: 22px 0 0 !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid #e4eaee;
  list-style: none !important;
}
.kt-purchase-card > .kt-purchase-benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 62px;
  padding: 10px !important;
  border: 1px solid #e7edf1;
  border-radius: 13px;
  background: rgba(246, 249, 251, .88);
  color: #40576a;
  line-height: 1.55 !important;
}
.kt-purchase-benefits svg { flex: 0 0 23px; width: 23px; height: 23px; fill: none; stroke: #748fa4; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.kt-purchase-benefits span { display: grid; min-width: 0; gap: 2px; }
.kt-purchase-benefits strong { color: #344b5e; font-size: 11px; font-weight: 800; white-space: nowrap; }
.kt-purchase-benefits small { color: #8795a0; font-size: 9px; white-space: nowrap; }
.kt-product-details { max-width: 1120px !important; margin-inline: auto !important; }
.kt-product-description { font-size: 16px !important; line-height: 1.95 !important; }
.kt-product-process { margin-block: 68px !important; gap: 12px !important; }
.kt-product-process > div { padding: 22px !important; border-radius: var(--kt-v2-radius) !important; box-shadow: none !important; }

/* Blog: no native scrollbar and clearer article hierarchy. */
.kt-blog-page { padding-top: 34px !important; }
.kt-editorial-hero {
  min-height: 360px !important;
  padding: clamp(40px, 6vw, 70px) !important;
  border-radius: var(--kt-v2-radius-lg) !important;
}
.kt-editorial-hero h1 { max-width: 770px; font-size: clamp(2.2rem, 4vw, 3.35rem) !important; line-height: 1.5 !important; }
.kt-category-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
  overflow: visible !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  scrollbar-width: none;
}
.kt-category-chips::-webkit-scrollbar { display: none; }
.kt-category-chips a { min-height: 42px; padding: 8px 15px !important; border-radius: 999px !important; font-size: 13px !important; }
.kt-articles-layout { padding-block: 70px !important; }
.kt-articles-grid { gap: 20px !important; }
.kt-inline-cta { margin-bottom: 72px !important; border-radius: var(--kt-v2-radius-lg) !important; }

/* Login keeps its identity panel but is shorter and quieter. */
.kt-account-page:has(.kt-auth-experience) { padding-block: 42px !important; }
.kt-account-page:has(.kt-auth-experience) .kt-account-shell { max-width: 930px !important; }
.kt-auth-experience { grid-template-columns: 300px minmax(420px, 1fr) !important; min-height: 510px !important; border-radius: 24px !important; }
.kt-auth-brand { padding: 20px !important; }
.kt-auth-brand-card { min-height: 355px !important; padding: 24px 20px !important; box-shadow: none !important; }
.kt-auth-card { padding: 46px 48px 34px !important; }

/* Footer: compact on desktop and dramatically shorter on mobile. */
.kt-site-footer { margin-top: 72px; padding-top: 58px !important; }
.kt-footer-grid { grid-template-columns: 1.35fr .8fr .7fr 1.1fr !important; gap: clamp(28px, 4vw, 64px) !important; padding-bottom: 38px !important; }
.kt-footer-about p { max-width: 360px; font-size: 14px !important; line-height: 1.9 !important; }
.kt-footer-grid h3 { margin-bottom: 14px !important; font-size: 15px !important; }
.kt-footer-grid li { margin-bottom: 4px !important; }
.kt-footer-grid a,
.kt-footer-contact li,
.kt-footer-contact address { font-size: 13px !important; line-height: 1.8 !important; }
.kt-footer-licenses { padding-block: 24px !important; }
.kt-footer-license { width: 86px !important; height: 86px !important; }
.kt-footer-bottom { min-height: 58px !important; }
.kt-support-widget { z-index: 940 !important; }

/* Dark mode uses the same hierarchy, not a saturated inversion. */
:root[data-theme="dark"] {
  --kt-v2-bg: #111a22;
  --kt-v2-card: #17232d;
  --kt-v2-soft: #1b2934;
  --kt-v2-soft-blue: #1a2b38;
  --kt-v2-ink: #eef3f6;
  --kt-v2-text: #bdc8d0;
  --kt-v2-muted: #95a4b0;
  --kt-v2-line: #2a3945;
}
:root[data-theme="dark"] body { background: var(--kt-v2-bg); color: var(--kt-v2-text); }
:root[data-theme="dark"] .kt-site-header { background: rgba(17, 26, 34, .92); }
:root[data-theme="dark"] .kt-hero { background: radial-gradient(circle at 12% 10%, rgba(184,121,101,.08), transparent 34%), #111a22; }
:root[data-theme="dark"] .kt-finder,
:root[data-theme="dark"] .kt-product-card,
:root[data-theme="dark"] .kt-product-tile,
:root[data-theme="dark"] .kt-insight-card,
:root[data-theme="dark"] .kt-article-card,
:root[data-theme="dark"] .kt-purchase-card { background: var(--kt-v2-card) !important; border-color: var(--kt-v2-line) !important; }

@media (max-width: 1050px) {
  .kt-primary-nav ul { gap: 16px; }
  .kt-primary-nav a { font-size: 13px; }
  .kt-hero-layout { grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr) !important; gap: 34px !important; }
  .kt-product-hero { grid-template-columns: minmax(350px, .85fr) minmax(0, 1.15fr) !important; gap: 34px !important; }
}

@media (max-width: 860px) {
  :root { --kt-v2-page: min(100% - 32px, 760px); }
  .kt-site-header,
  .kt-header-shell { min-height: 64px; }
  .kt-header-cta { display: none !important; }
  .kt-hero { padding: 44px 0 42px !important; }
  .kt-hero-layout { grid-template-columns: 1fr !important; gap: 28px !important; }
  .kt-hero-copy { max-width: 650px; }
  .kt-hero-copy h1 { font-size: clamp(2rem, 8vw, 2.8rem) !important; line-height: 1.5 !important; }
  .kt-hero-finder { max-width: 650px; }
  .kt-section { padding-block: 56px !important; }
  .kt-section-heading { align-items: flex-start !important; gap: 12px !important; }
  .kt-section-heading p { max-width: 100%; }
  .kt-pathway-grid,
  .kt-product-grid,
  .kt-insight-grid,
  .kt-products-grid { grid-auto-columns: min(84%, 340px) !important; }
  .kt-product-hero { display: flex !important; flex-direction: column !important; gap: 24px !important; margin-bottom: 56px !important; }
  .kt-product-visual { position: relative !important; top: auto !important; order: 0; max-width: 620px; margin-inline: auto; }
  .kt-product-purchase { order: 1; width: 100%; padding-top: 0 !important; }
  .kt-product-intro h1 { font-size: clamp(2rem, 8vw, 2.7rem) !important; }
  .kt-purchase-card > ul,
  .kt-purchase-card > .kt-purchase-benefits { grid-template-columns: 1fr !important; }
  .kt-product-process { grid-template-columns: 1fr !important; margin-block: 52px !important; }
  .kt-category-chips { flex-wrap: nowrap !important; overflow-x: auto !important; margin-inline: -16px !important; padding-inline: 16px !important; }
  .kt-category-chips a { flex: 0 0 auto; }
  .kt-editorial-hero { min-height: 0 !important; padding: 42px 28px !important; }
  .kt-shop-hero { min-height: 0 !important; padding: 42px 28px !important; }
  .kt-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 30px 22px !important; padding-bottom: 28px !important; }
  .kt-footer-about,
  .kt-footer-contact { grid-column: 1 / -1; }
  .kt-footer-contact ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .kt-footer-contact li:last-child { grid-column: 1 / -1; }
  .kt-footer-bottom { flex-direction: column; justify-content: center !important; gap: 2px !important; padding-block: 14px !important; text-align: center; }
}

@media (max-width: 560px) {
  :root { --kt-v2-page: calc(100% - 28px); }
  body { font-size: 15px; }
  .kt-hero { padding-top: 32px !important; }
  .kt-hero-copy h1 { margin-block: 14px !important; font-size: 2.05rem !important; }
  .kt-hero-lead { font-size: 15px !important; line-height: 1.9 !important; }
  .kt-hero-actions { display: grid !important; grid-template-columns: 1fr 1fr; margin-top: 22px !important; }
  .kt-button { width: 100%; min-width: 0 !important; justify-content: center; padding-inline: 12px !important; font-size: 13px !important; }
  .kt-finder { padding: 12px 16px 16px !important; border-radius: 18px !important; }
  .kt-finder-q { font-size: 16px !important; }
  .kt-finder-option { min-height: 58px; }
  .kt-finder-text small { display: none; }
  .kt-toolstrip-lead { width: 100%; }
  .kt-section-heading h2 { font-size: 1.6rem !important; }
  .kt-pathway-grid,
  .kt-product-grid,
  .kt-insight-grid,
  .kt-products-grid { grid-auto-columns: 88% !important; }
  .kt-shop-page,
  .kt-single-product,
  .kt-blog-page { padding-top: 20px !important; }
  .kt-shop-hero,
  .kt-editorial-hero { margin-inline: 0 !important; padding: 32px 22px !important; border-radius: 20px !important; }
  .kt-shop-hero h1,
  .kt-editorial-hero h1 { font-size: 2rem !important; }
  .kt-shop-brand-stage { min-height: 240px !important; transform: scale(.9); }
  .kt-product-visual { border-radius: 20px !important; }
  .kt-product-intro h1 { font-size: 2rem !important; }
  .kt-purchase-card { padding: 22px 17px 18px !important; border-radius: 20px !important; }
  .kt-purchase-card-head { margin-bottom: 18px; }
  .kt-purchase-card-head h2 { font-size: 20px !important; }
  .kt-purchase-card-head p { font-size: 12px !important; }
  .kt-purchase-card .hdm-product-card { gap: 16px; }
  .kt-purchase-card .hdm-price { display: grid; gap: 11px; min-height: 0; padding: 15px 16px; }
  .kt-purchase-card .hdm-price-copy small { display: none; }
  .kt-purchase-card .price-display { font-size: 15px; text-align: start; }
  .kt-purchase-card .kt-price-range { grid-template-columns: 1fr; justify-content: stretch; gap: 0; width: 100%; }
  .kt-purchase-card .kt-price-bound { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .kt-purchase-card .kt-price-bound + .kt-price-bound { margin-top: 7px; padding: 7px 0 0; border-inline-start: 0; border-top: 1px solid #d9e2e8; }
  .kt-purchase-card .variations { grid-template-columns: 1fr; gap: 13px !important; }
  .kt-purchase-card .variation-item:last-child:nth-child(odd) { grid-column: auto; }
  .kt-purchase-card .variation-select { min-height: 52px; }
  .kt-purchase-card .single_add_to_cart_button { min-height: 54px !important; }
  .kt-purchase-card > .kt-purchase-benefits { gap: 7px !important; margin-top: 18px !important; padding-top: 15px !important; }
  .kt-purchase-card > .kt-purchase-benefits li { min-height: 56px; padding: 9px 11px !important; }
  .kt-purchase-benefits strong { font-size: 11px; }
  .kt-purchase-benefits small { font-size: 9px; }
  .kt-purchase-card form.cart .variations,
  .kt-purchase-card .variations tbody,
  .kt-purchase-card .variations tr,
  .kt-purchase-card .variations th,
  .kt-purchase-card .variations td { display: block !important; width: 100% !important; }
  .kt-purchase-card .variations tr { margin-bottom: 12px; }
  .kt-auth-card { padding: 34px 20px 28px !important; }
  .kt-site-footer { margin-top: 52px; padding-top: 38px !important; }
  .kt-footer-grid { gap: 26px 18px !important; }
  .kt-footer-about p { max-width: none; }
  .kt-footer-contact ul { grid-template-columns: 1fr; }
  .kt-footer-contact li:last-child { grid-column: auto; }
  .kt-footer-licenses { align-items: flex-start !important; gap: 14px !important; }
  .kt-footer-license { width: 74px !important; height: 74px !important; }
  .kt-support-widget { inset-inline-end: 14px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}



/* Blog filter rail: clean on desktop, touch-friendly on mobile. */
.kt-blog-page .kt-category-chips.kt-blog-filters {
  display: flex !important;
  flex-wrap: wrap !important;
  max-width: 100% !important;
  overflow: hidden !important;
  scrollbar-width: none !important;
}
.kt-blog-page .kt-category-chips.kt-blog-filters::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
@media (max-width: 860px) {
  .kt-blog-page .kt-category-chips.kt-blog-filters {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }
}



/* Mobile light-theme readability after the final surface pass. */
html[data-theme="light"] .kt-home .kt-hero .kt-hero-copy h1,
html:not([data-theme]) .kt-home .kt-hero .kt-hero-copy h1 { color: var(--kt-v2-ink) !important; }
html[data-theme="light"] .kt-home .kt-hero .kt-hero-copy p,
html:not([data-theme]) .kt-home .kt-hero .kt-hero-copy p { color: var(--kt-v2-text) !important; }
html[data-theme="light"] .kt-home .kt-hero .kt-kicker,
html:not([data-theme]) .kt-home .kt-hero .kt-kicker { color: var(--kt-v2-copper) !important; }
html[data-theme="light"] .kt-site-header .kt-brand-logo,
html:not([data-theme]) .kt-site-header .kt-brand-logo { filter: none !important; opacity: 1 !important; }
@media (max-width: 860px) { .kt-support-widget { bottom: 96px !important; } }


@media (max-width: 860px) { .kt-home .kt-hero { margin-top: 0 !important; } }



/* Final clarity pass: readable hero actions and a deliberately minimal sign-in. */
.kt-home .kt-hero-actions .kt-button--primary { color: #fff !important; }
.kt-home .kt-hero-actions .kt-button--secondary { color: var(--kt-v2-navy-deep) !important; }
.kt-account-page:has(.kt-auth-experience) > .kt-archive-heading { display: none !important; }
.kt-account-page:has(.kt-auth-experience) .kt-account-shell { max-width: 620px !important; }
.kt-account-page:has(.kt-auth-experience) .kt-auth-experience { display: block !important; min-height: 0 !important; }
.kt-account-page:has(.kt-auth-experience) .kt-auth-card { justify-content: flex-start !important; min-height: 0 !important; }
.kt-account-page:has(.kt-auth-experience) .kt-auth-card::before {
  content: "";
  display: block;
  width: 122px;
  height: 48px;
  margin: 0 auto 24px;
  background: url("https://knowtech.me/wp-content/uploads/2025/11/Logo_1-removebg-preview.png") center / contain no-repeat;
}
.kt-account-page:has(.kt-auth-experience) .kt-auth-card__head { display: none !important; }
@media (max-width: 560px) {
  .kt-account-page:has(.kt-auth-experience) { padding-block: 24px 44px !important; }
  .kt-account-page:has(.kt-auth-experience) .kt-auth-card { padding: 28px 20px !important; }
}
:root[data-theme="dark"] .kt-account-page:has(.kt-auth-experience) .kt-auth-card::before { filter: brightness(0) invert(1) opacity(.9); }


html[data-theme="light"] body .kt-home .kt-hero-actions a.kt-button--primary, html:not([data-theme]) body .kt-home .kt-hero-actions a.kt-button--primary { color: #fff !important; }
html[data-theme="light"] body .kt-home .kt-hero-actions a.kt-button--secondary, html:not([data-theme]) body .kt-home .kt-hero-actions a.kt-button--secondary { color: #263d52 !important; }



/* Desktop sign-in: one quiet brand panel and one focused form. */
@media (min-width: 861px) {
  .kt-account-page:has(.kt-auth-experience) .kt-account-shell { max-width: 840px !important; }
  .kt-account-page:has(.kt-auth-experience) .kt-auth-experience { display: grid !important; grid-template-columns: 240px minmax(0, 1fr) !important; min-height: 0 !important; }
  .kt-account-page:has(.kt-auth-experience) .kt-auth-brand { display: flex !important; align-items: center !important; justify-content: center !important; min-height: 0 !important; padding: 30px !important; }
  .kt-account-page:has(.kt-auth-experience) .kt-auth-brand > * { display: none !important; }
  .kt-account-page:has(.kt-auth-experience) .kt-auth-brand::after { content: ""; width: 148px; height: 64px; background: url("https://knowtech.me/wp-content/uploads/2025/11/Logo_1-removebg-preview.png") center / contain no-repeat; }
  .kt-account-page:has(.kt-auth-experience) .kt-auth-card::before { display: none !important; }
}
@media (max-width: 860px) { .kt-account-page:has(.kt-auth-experience) .kt-auth-brand { display: none !important; } }
:root[data-theme="dark"] .kt-account-page:has(.kt-auth-experience) .kt-auth-brand::after { filter: brightness(0) invert(1) opacity(.9); }


/* ========================================================================== 
   Theme parity audit — 2026-09-10
   Keeps light and dark mode equally calm and readable across legacy pages,
   WooCommerce controls and the account experience.
   ========================================================================== */
:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* The shop hero was changed to a light surface in v2, while its legacy copy
   still inherited white. Pin the light palette to the new surface. */
:root[data-theme="light"] .kt-shop-hero__copy h1,
:root:not([data-theme]) .kt-shop-hero__copy h1 {
  color: var(--kt-v2-ink) !important;
}
:root[data-theme="light"] .kt-shop-hero__copy p,
:root:not([data-theme]) .kt-shop-hero__copy p {
  color: var(--kt-v2-text) !important;
}
:root[data-theme="light"] .kt-shop-hero__copy > span,
:root:not([data-theme]) .kt-shop-hero__copy > span {
  color: #955945 !important;
}

/* Form controls must belong to the active theme. This deliberately excludes
   action buttons, radios and checkboxes so their semantic colors stay intact. */
:root[data-theme="dark"] :is(
  .kt-auth-card,
  .kt-purchase-card,
  .kt-contact-form,
  .kt-page-content,
  .woocommerce,
  .comment-respond
) :is(
  input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
  select,
  textarea
) {
  border-color: #354a5a !important;
  background-color: #121f29 !important;
  color: #eef3f6 !important;
  box-shadow: none !important;
}
:root[data-theme="dark"] :is(
  .kt-auth-card,
  .kt-purchase-card,
  .kt-contact-form,
  .kt-page-content,
  .woocommerce,
  .comment-respond
) :is(input, textarea)::placeholder {
  color: #94a5b2 !important;
  opacity: 1 !important;
}
:root[data-theme="dark"] :is(.kt-auth-card, .kt-purchase-card, .woocommerce) select option {
  background: #121f29;
  color: #eef3f6;
}
:root[data-theme="dark"] .kt-auth-phone-field {
  border-color: #354a5a !important;
  background: #121f29 !important;
}
:root[data-theme="dark"] .kt-auth-phone-field > span {
  border-color: #354a5a !important;
  color: #aebbc5 !important;
}
:root[data-theme="dark"] :is(.kt-auth-card, .kt-purchase-card, .woocommerce) :is(input, select, textarea):focus {
  border-color: #88a9c4 !important;
  outline: 3px solid rgba(136, 169, 196, .18) !important;
  outline-offset: 1px;
}

/* Variation placeholders and disabled purchase actions were too faint in both
   themes. Keep disabled states unmistakable without making them disappear. */
:root[data-theme="light"] .kt-purchase-card select,
:root:not([data-theme]) .kt-purchase-card select {
  color: #435669 !important;
  background-color: #fff !important;
}
.kt-purchase-card .single_add_to_cart_button:disabled,
.kt-purchase-card .single_add_to_cart_button.disabled {
  background: #9ca9b4 !important;
  color: #fff !important;
  opacity: 1 !important;
}
:root[data-theme="dark"] .kt-purchase-card .single_add_to_cart_button:disabled,
:root[data-theme="dark"] .kt-purchase-card .single_add_to_cart_button.disabled {
  background: #293c4b !important;
  color: #b9c6cf !important;
}

/* Legacy guide template: replace fixed white/black utility colors with the
   shared surfaces. This also brings its cards and FAQ in line with the rest
   of the current site without changing its content or behaviour. */
.Page-template-custom {
  color: var(--kt-v2-text);
}
.Page-template-custom > .container {
  width: var(--kt-v2-page) !important;
  max-width: 1400px !important;
  margin-inline: auto !important;
}
.Page-template-custom .title h1,
.Page-template-custom .values-section h2,
.Page-template-custom .faq-container h2,
.Page-template-custom .box_of_faq > h2,
.Page-template-custom .banner .text_banner .title {
  color: var(--kt-v2-ink) !important;
}
.Page-template-custom .title .slogan,
.Page-template-custom .values-section .values-list li p,
.Page-template-custom .banner .text_banner p,
.Page-template-custom .banner .text_banner li,
.Page-template-custom .extra_description {
  color: var(--kt-v2-text) !important;
}
.Page-template-custom .values-section .values-list {
  align-items: stretch;
  gap: 14px;
}
.Page-template-custom .values-section .values-list li {
  margin: 0 !important;
  padding: 24px 16px !important;
  border: 1px solid var(--kt-v2-line) !important;
  border-radius: var(--kt-v2-radius) !important;
  background: var(--kt-v2-card) !important;
  color: var(--kt-v2-text) !important;
  box-shadow: none !important;
}
.Page-template-custom .values-section .values-list li:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--kt-v2-shadow) !important;
}
.Page-template-custom .values-section .values-list li span {
  color: var(--kt-v2-ink) !important;
  font-weight: 600;
}
.Page-template-custom .banner .banner-item {
  border: 1px solid var(--kt-v2-line) !important;
  border-radius: var(--kt-v2-radius-lg) !important;
  background: linear-gradient(135deg, var(--kt-v2-soft) 0%, var(--kt-v2-soft-blue) 100%) !important;
  box-shadow: none !important;
}
.Page-template-custom .box_of_faq {
  padding: 24px !important;
  border: 1px solid var(--kt-v2-line);
  border-radius: var(--kt-v2-radius-lg) !important;
  background: var(--kt-v2-soft) !important;
}
html[data-theme] body .Page-template-custom .box_of_faq .faq-item,
html[data-theme] body .Page-template-custom .box_of_faq .faq-question,
html[data-theme] body .Page-template-custom .box_of_faq .faq-answer,
html[data-theme] body .Page-template-custom .box_of_faq .content_faq {
  border-color: var(--kt-v2-line) !important;
  background: var(--kt-v2-card) !important;
  color: var(--kt-v2-text) !important;
  box-shadow: none !important;
}
html[data-theme] body .Page-template-custom .box_of_faq .faq-item {
  border: 1px solid var(--kt-v2-line);
  border-radius: 14px !important;
}
html[data-theme] body .Page-template-custom .box_of_faq .faq-question span,
html[data-theme] body .Page-template-custom .box_of_faq .faq-question .faq-icon {
  border-color: var(--kt-v2-line) !important;
  color: var(--kt-v2-ink) !important;
}
.Page-template-custom .extra_description::after {
  background: linear-gradient(to top, var(--kt-v2-bg) 48%, rgba(0, 0, 0, 0)) !important;
}
.Page-template-custom .extra_description .readMore,
.Page-template-custom .extra_description.active .readMore::after {
  color: var(--kt-v2-navy) !important;
}
:root[data-theme="dark"] .Page-template-custom .extra_description .readMore,
:root[data-theme="dark"] .Page-template-custom .extra_description.active .readMore::after {
  color: #9db8dc !important;
}

/* Six-pixel legacy bleed on the shop/product templates was visible on small
   screens. Clip only these decorative canvases, never the document globally. */
.kt-shop-page,
.kt-single-product {
  overflow-x: clip;
}

@media (max-width: 560px) {
  .Page-template-custom { padding-block: 34px 52px !important; }
  .Page-template-custom .values-section { margin-top: 36px !important; }
  .Page-template-custom .values-section .values-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .Page-template-custom .values-section .values-list li {
    width: 100% !important;
    min-height: 0 !important;
    padding: 20px 16px !important;
  }
  .Page-template-custom .banner .banner-item { padding: 24px 18px !important; }
  .Page-template-custom .box_of_faq { padding: 14px !important; }
}


/* Home header at scroll position zero: the legacy transparent-header variant
   kept white navigation after switching back to light mode. */
:root[data-theme="light"] .kt-site-header,
:root:not([data-theme]) .kt-site-header {
  border-bottom-color: rgba(43, 65, 84, .09) !important;
  background: rgba(252, 251, 249, .94) !important;
}
:root[data-theme="light"] .kt-site-header .kt-primary-nav a,
:root:not([data-theme]) .kt-site-header .kt-primary-nav a {
  color: #425568 !important;
}
:root[data-theme="light"] .kt-site-header .kt-icon-button,
:root:not([data-theme]) .kt-site-header .kt-icon-button,
:root[data-theme="light"] .kt-site-header .kt-menu-toggle,
:root:not([data-theme]) .kt-site-header .kt-menu-toggle {
  border-color: rgba(54, 83, 109, .15) !important;
  background: rgba(255, 255, 255, .72) !important;
  color: #36536d !important;
}
:root[data-theme="light"] .kt-site-header .kt-menu-toggle span,
:root:not([data-theme]) .kt-site-header .kt-menu-toggle span {
  background: #36536d !important;
}

/* Footer licences: two clear, calm and fully clickable trust cards. */
.kt-footer-licenses {
  align-items: center !important;
  padding-block: 26px !important;
}
.kt-footer-license-heading { min-width: 210px; }
.kt-footer-license-heading h3 {
  margin: 0 0 5px !important;
  color: #fff;
  font-size: 15px !important;
}
.kt-footer-license-heading p {
  max-width: 250px;
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  line-height: 1.7;
}
.kt-footer-license-list {
  justify-content: flex-end;
  gap: 10px !important;
}
.kt-footer-license-card {
  width: 154px;
  min-height: 160px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.kt-footer-license-card:hover {
  transform: translateY(-2px);
  border-color: rgba(220,184,170,.42);
  background: rgba(255,255,255,.07);
}
.kt-footer-license-link {
  display: grid !important;
  grid-template-rows: 96px auto auto;
  justify-items: center;
  gap: 6px;
  min-height: 160px;
  padding: 10px 10px 12px;
  color: #fff !important;
  text-align: center;
}
.kt-footer-license-visual {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 96px;
  overflow: hidden;
  border-radius: 11px;
  background: #fff;
}
.kt-footer-license-embed,
.kt-footer-license-embed a {
  display: grid !important;
  place-items: center;
  width: 100% !important;
  min-height: 96px !important;
  height: auto !important;
  padding: 7px !important;
  border-radius: 0 !important;
  background: #fff !important;
}
.kt-footer-license-card img,
.kt-footer-license-list img {
  display: block;
  width: auto !important;
  max-width: 88px !important;
  height: 80px !important;
  object-fit: contain !important;
  filter: none !important;
}
.kt-footer-license-card strong {
  color: #fff;
  font-size: 11px;
  line-height: 1.65;
}
.kt-footer-license-card small {
  color: #dcb8aa;
  font-size: 9px;
  line-height: 1.5;
}
.kt-footer-license-link:focus-visible {
  outline: 3px solid #dcb8aa;
  outline-offset: -3px;
}

@media (max-width: 560px) {
  .kt-footer-licenses {
    align-items: stretch !important;
    gap: 16px !important;
  }
  .kt-footer-license-heading { min-width: 0; }
  .kt-footer-license-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px !important;
  }
  .kt-footer-license-card {
    width: 100%;
    min-width: 0;
    min-height: 158px;
  }
  .kt-footer-license-link { min-height: 158px; }
  .kt-footer-license-visual { min-height: 96px; }
  .kt-footer-license-card strong { font-size: 10px; }
}

html[data-theme="light"] body .kt-site-header .kt-header-actions > .kt-icon-button,
html:not([data-theme]) body .kt-site-header .kt-header-actions > .kt-icon-button {
  border-color: rgba(54, 83, 109, .15) !important;
  background: rgba(255, 255, 255, .72) !important;
  color: #36536d !important;
}

html[data-theme="light"] body .kt-site-header .kt-header-actions > .kt-icon-button svg,
html[data-theme="light"] body .kt-site-header .kt-header-actions > .kt-icon-button svg :is(path, circle, rect, line, polyline),
html:not([data-theme]) body .kt-site-header .kt-header-actions > .kt-icon-button svg,
html:not([data-theme]) body .kt-site-header .kt-header-actions > .kt-icon-button svg :is(path, circle, rect, line, polyline) {
  color: #36536d !important;
  stroke: #36536d !important;
}

/* Clear mobile escape hatch and a single, uncluttered support entry point. */
.kt-mobile-panel-head { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; }
.kt-mobile-panel-head > div { display: grid; gap: 2px; }
.kt-mobile-panel-close {
  width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center;
  border: 1px solid rgba(54,83,109,.14); border-radius: 13px;
  color: #36536d; background: #fff; font: inherit; font-size: 25px; line-height: 1; cursor: pointer;
}
.kt-ordering-form { margin: 0; }
.kt-ordering-form select { min-height: 44px; cursor: pointer; }
.kt-auth-phone-field {
  grid-template-columns: minmax(0, 1fr) !important;
}
.kt-auth-phone-field input {
  width: 100% !important;
  padding-inline: 18px !important;
  direction: ltr;
  text-align: right;
}
.kt-auth-phone-field input::placeholder {
  text-align: center;
}
@media (max-width: 860px) {
  .kt-support-widget { display: none !important; }
}
