
/* ═══════════════════════════════════════════════════════════════
   Khokan's Moa — Site Layout (header, footer, inner pages)
   Requires: theme-khokans.css + body.theme-khokans
   ═══════════════════════════════════════════════════════════════ */

/* ── Header ─────────────────────────────────────────────────── */
.theme-khokans .header__section {
  display: none !important;
}

.km-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: transparent;
}

/* Homepage: navbar overlays hero from viewport top */
.theme-khokans.home-page .km-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.km-header__topbar {
  background: var(--km-maroon);
  color: #ffffff;
  font-size: 1.25rem;
  padding: 0.55rem 0;
  max-height: 4.5rem;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
}

.km-header--scrolled .km-header__topbar {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  border: 0;
  pointer-events: none;
  visibility: hidden;
}

.km-header__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.km-header__tagline {
  margin: 0;
  font-size: 1.2rem;
  color: #ffffff;
  opacity: 0.95;
}

.km-header__topbar-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  color: #ffffff;
}

.km-header__topbar-links a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.km-header__topbar-links a:hover {
  opacity: 0.85;
  color: #ffffff;
}

.km-header__topbar-sep {
  color: #ffffff;
  opacity: 0.5;
}

.km-header__main {
  position: relative;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 30px rgba(44, 36, 32, 0.06);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.km-header__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.08) 45%,
    transparent 100%
  );
  pointer-events: none;
  z-index: -1;
}

.km-header--scrolled .km-header__main {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 32px rgba(59, 35, 20, 0.12);
}

.km-header--scrolled .km-header__main::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 100%
  );
}

@supports not (backdrop-filter: blur(1px)) {
  .km-header__main {
    background: rgba(255, 255, 255, 0.94);
  }

  .km-header--scrolled .km-header__main {
    background: rgba(255, 255, 255, 0.97);
  }
}

.km-header__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.km-header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--km-brown);
  padding: 0.4rem;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}

.km-header__logo {
  flex-shrink: 0;
}

.km-header__logo img {
  height: 52px;
  width: auto;
  display: block;
}

.km-header__nav {
  flex: 1;
  justify-content: center;
  gap: 2.4rem;
}

.km-header__nav-link {
  font-family: var(--km-font-body);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--km-brown);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.2s;
}

.km-header__nav-link:hover,
.km-header__nav-link--active {
  color: var(--km-maroon);
}

.theme-khokans .offcanvas__menu_item.km-header__nav-link--active {
  color: var(--km-maroon);
  font-weight: 600;
}

.km-header__nav-link--active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--km-maroon);
}

.km-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.km-header__actions-scroll {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-width 0.35s ease, opacity 0.3s ease, margin 0.35s ease;
  margin-right: 0;
}

.km-header--scrolled .km-header__actions-scroll {
  max-width: 6.5rem;
  opacity: 1;
  pointer-events: auto;
  margin-right: 0.15rem;
}

.km-header__action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--km-brown);
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.km-header__action:hover {
  background: var(--km-parchment);
  color: var(--km-maroon);
}

.km-header__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--km-maroon);
  color: var(--km-white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border-radius: 10px;
}

/* Search overlay — above glass navbar */
.km-header .predictive__search--box {
  z-index: 1100;
}

.km-header .predictive__search--box.active {
  z-index: 1100;
}

.theme-khokans .predictive__search--button {
  background: var(--km-maroon);
}

.theme-khokans .predictive__search--input:focus {
  border-color: var(--km-maroon);
}

.theme-khokans .predictive__search--title {
  font-family: var(--km-font-display);
  color: var(--km-brown);
}

/* ── Hero ───────────────────────────────────────────────────── */
.theme-khokans.home-page .main__content_wrapper {
  padding: 0;
  margin: 0;
}

.theme-khokans.home-page .km-header__main {
  background: rgba(253, 249, 240, 0.42);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: none;
}

.theme-khokans.home-page .km-header--scrolled .km-header__main {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 8px 32px rgba(59, 35, 20, 0.1);
}

.km-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  margin: 0;
  background: var(--km-cream);
  box-sizing: border-box;
}

.theme-khokans.home-page .km-hero {
  margin-top: 0;
}

.theme-khokans.home-page .km-hero__slide {
  align-items: center;
}

.km-hero__slide {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: unset;
  background-color: unset;
  background-image: none;
}

.km-hero__illustration {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  mask-image: linear-gradient(to left, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 50%, transparent 100%);
}

.km-hero__illustration--banner {
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  mask-image: none;
  -webkit-mask-image: none;
}

.km-hero__illustration img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: sepia(0.25) saturate(0.85);
}

.km-hero__illustration--banner img,
.km-hero__illustration--banner .km-hero__slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  z-index: 0;
}

.km-hero__illustration--banner .km-hero__slide-img.is-active {
  opacity: 1;
  z-index: 1;
}

.km-hero__illustration::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--km-cream) 0%, transparent 45%);
}

.km-hero__illustration--banner::after {
  background:
    linear-gradient(
      180deg,
      rgba(253, 249, 240, 0.12) 0%,
      rgba(253, 249, 240, 0.05) 14%,
      transparent 28%
    ),
    linear-gradient(
      90deg,
      var(--km-cream) 0%,
      rgba(253, 249, 240, 0.92) 28%,
      rgba(253, 249, 240, 0.45) 52%,
      transparent 72%
    );
}

.km-hero .container,
.km-hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  background: unset;
  background-color: unset;
}

.theme-khokans.home-page .km-hero__container {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--km-header-height, 8.5rem);
  padding-bottom: clamp(2rem, 4vh, 3rem);
  box-sizing: border-box;
}

.km-hero__layout {
  width: 100%;
  max-width: 100%;
}

.km-hero__content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(100%, 36rem);
  max-width: 100%;
  min-width: 0;
}

.km-hero__copy {
  width: 100%;
  min-width: 0;
}

.km-hero__copy .km-divider {
  justify-content: flex-start;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  max-width: min(100%, 22rem);
}

.km-hero__copy .km-divider::before,
.km-hero__copy .km-divider::after {
  flex: 1;
  max-width: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--km-border-gold) 18%,
    var(--km-gold-muted) 50%,
    var(--km-border-gold) 82%,
    transparent 100%
  );
}

.km-hero__title {
  font-family: var(--km-font-display);
  font-size: clamp(1.75rem, 1.1rem + 2vw, 2.5rem);
  line-height: 1.2;
  color: var(--km-brown);
  margin-bottom: 1.25rem;
  font-weight: 600;
  max-width: 100%;
  width: 100%;
}

.km-hero__desc {
  font-size: clamp(1.2rem, 0.95rem + 0.7vw, 1.6rem);
  font-weight: 500;
  line-height: 1.75;
  color: var(--km-brown-light);
  margin-bottom: clamp(1.25rem, 2.2vw, 2rem);
  max-width: 100%;
  width: 100%;
}

.theme-khokans .btn.km-hero__cta {
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
  height: auto;
  min-height: 0;
  line-height: 1.2;
  padding: clamp(0.5rem, 1.15vw, 0.9rem);
  font-size: clamp(1.05rem, 0.85rem + 0.55vw, 1.35rem);
  letter-spacing: 0.08em;
  gap: 0.45em;
  box-sizing: border-box;
}

.theme-khokans .btn.km-hero__cta .km-btn__arrow {
  font-size: 1em;
}

.km-products__view-all {
  text-decoration: none;
}

.km-hero__trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  justify-items: center;
  column-gap: clamp(0.65rem, 1.8vw, 1.75rem);
  row-gap: clamp(0.85rem, 2vw, 1.25rem);
  margin-top: clamp(1.5rem, 3vw, 2.75rem);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.km-hero__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(0.45rem, 1.2vw, 0.85rem);
  min-width: 0;
  width: 100%;
}

.km-hero__trust-icon {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: clamp(40px, 8vw, 56px);
  height: clamp(48px, 9vw, 64px);
  flex-shrink: 0;
}

.km-hero__trust-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.km-hero__trust-icon.km-hero__trust-icon--moa {
  width: clamp(36px, 7.2vw, 50px);
  height: clamp(48px, 9vw, 64px);
}

.km-hero__trust-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.15rem;
  min-height: 0;
  width: 100%;
}

.km-hero__trust-line {
  display: block;
  font-size: clamp(0.9rem, 1.7vw, 1.05rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--km-brown);
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

/* ── Hero content width — responsive column ───────────────────── */
@media (min-width: 1200px) {
  .km-hero__content {
    width: 40%;
    max-width: 40%;
  }

  .km-hero__trust-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(0.85rem, 1.6vw, 1.5rem);
  }

  .km-hero__trust-icon {
    width: clamp(46px, 3.2vw, 54px);
    height: clamp(52px, 3.6vw, 62px);
  }

  .km-hero__trust-icon.km-hero__trust-icon--moa {
    width: clamp(40px, 2.8vw, 48px);
    height: clamp(52px, 3.6vw, 62px);
  }

  .km-hero__trust-line {
    font-size: clamp(0.9rem, 0.85vw, 1.02rem);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .km-hero__content {
    width: 46%;
    max-width: 46%;
  }

  .km-hero__trust-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(0.7rem, 1.4vw, 1.25rem);
  }

  .km-hero__trust-icon {
    width: clamp(42px, 4vw, 50px);
    height: clamp(50px, 4.6vw, 58px);
  }

  .km-hero__trust-icon.km-hero__trust-icon--moa {
    width: clamp(36px, 3.4vw, 44px);
    height: clamp(50px, 4.6vw, 58px);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .km-hero__content {
    width: min(100%, clamp(22rem, 52vw, 36rem));
    max-width: 100%;
  }

  .km-hero__trust-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 0.85rem;
    row-gap: 0.75rem;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .km-hero,
  .km-hero__slide {
    min-height: 0;
    height: auto;
  }

  .km-hero {
    --km-hero-title-size: 14px;
    --km-hero-cta-gap: 10px;
  }

  .theme-khokans.home-page .km-hero {
    padding-top: var(--km-header-height, 4.5rem);
  }

  .km-hero__slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    flex-direction: column;
    align-items: stretch;
  }

  .km-hero__illustration {
    width: 100%;
    height: auto;
    top: auto;
    bottom: auto;
    opacity: 0.35;
    mask-image: linear-gradient(to top, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 40%, transparent 100%);
  }

  .km-hero__illustration--banner {
    position: relative;
    inset: auto;
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    opacity: 1;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .km-hero__illustration--banner img,
  .km-hero__illustration--banner .km-hero__slide-img {
    object-fit: cover;
    object-position: center center;
  }

  .km-hero__illustration--banner::after {
    background: linear-gradient(
      90deg,
      rgba(253, 249, 240, 0.94) 0%,
      rgba(253, 249, 240, 0.78) 18%,
      rgba(253, 249, 240, 0.28) 32%,
      transparent 48%
    );
  }

  .km-hero .container,
  .km-hero__container,
  .theme-khokans.home-page .km-hero__container,
  .km-hero__layout,
  .km-hero__content {
    display: contents;
    min-height: 0;
    height: auto;
    padding: 0;
  }

  .km-hero__copy {
    grid-row: 1;
    grid-column: 1;
    z-index: 2;
    justify-self: start;
    align-self: center;
    width: 30%;
    max-width: 30%;
    box-sizing: border-box;
    padding: 0.4rem 0.35rem 0.4rem 0.55rem;
  }

  .km-hero__copy .km-divider,
  .km-hero__desc {
    display: none;
  }

  .km-hero__title {
    font-size: var(--km-hero-title-size, 14px);
    line-height: 1.22;
    margin-bottom: var(--km-hero-cta-gap, 10px);
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .theme-khokans .btn.km-hero__cta {
    min-height: 0;
    padding: 0.35rem;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    gap: 0.25em;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
  }

  .km-hero__trust-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    justify-items: center;
    column-gap: 0.4rem;
    row-gap: 0;
    margin-top: 1.35rem;
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 0.4rem;
    border-radius: 10px;
    background: rgba(253, 249, 240, 0.82);
    border: 1px solid rgba(230, 223, 209, 0.9);
    box-sizing: border-box;
  }

  .km-hero__trust-item {
    width: 100%;
    max-width: none;
    gap: 0.4rem;
  }

  .km-hero__trust-icon {
    width: 36px;
    height: 44px;
  }

  .km-hero__trust-icon.km-hero__trust-icon--moa {
    width: 32px;
    height: 44px;
  }

  .km-hero__trust-line {
    font-size: 0.78rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* Large phones / compact tablets (e.g. Galaxy Tab S9 portrait ~712px) */
@media (min-width: 600px) and (max-width: 767px) {
  .km-hero {
    --km-hero-title-size: clamp(22px, 4.1vw, 30px);
    --km-hero-cta-gap: 14px;
  }

  .km-hero__copy {
    width: 46%;
    max-width: 46%;
    padding: 0.7rem 0.75rem 0.7rem 1.15rem;
  }

  .km-hero__title {
    font-size: var(--km-hero-title-size);
    line-height: 1.2;
    overflow-wrap: break-word;
  }

  .theme-khokans .btn.km-hero__cta {
    padding: 0.5rem 0.55rem;
    font-size: clamp(0.95rem, 2.1vw, 1.12rem);
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .km-hero {
    --km-hero-title-size: 20px;
    --km-hero-cta-gap: 10px;
  }

  .km-hero__copy {
    width: 48%;
    max-width: 48%;
    padding: 0.45rem 0.5rem 0.45rem 0.75rem;
  }

  .km-hero__title {
    font-size: clamp(16px, 4.6vw, 22px);
    line-height: 1.2;
  }

  .theme-khokans .btn.km-hero__cta {
    padding: 0.4rem;
    font-size: clamp(0.85rem, 2.4vw, 1.05rem);
  }

  .km-hero__illustration--banner::after {
    background: linear-gradient(
      90deg,
      rgba(253, 249, 240, 0.94) 0%,
      rgba(253, 249, 240, 0.72) 28%,
      rgba(253, 249, 240, 0.22) 46%,
      transparent 62%
    );
  }
}

@media (orientation: landscape) and (max-height: 540px) and (min-width: 768px) {
  .km-hero__copy .km-divider,
  .km-hero__desc {
    display: none;
  }

  .km-hero__content {
    width: min(48%, 26rem);
    max-width: 48%;
  }

  .km-hero__title {
    font-size: clamp(1.7rem, 5.2vh, 2.25rem);
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .theme-khokans .btn.km-hero__cta {
    padding: 0.45rem;
    font-size: clamp(0.95rem, 3vh, 1.2rem);
  }
}

@media (max-width: 400px) {
  .km-hero__trust-row {
    column-gap: 0.35rem;
    padding: 0.75rem 0.35rem;
  }

  .km-hero__trust-icon {
    width: 32px;
    height: 40px;
  }

  .km-hero__trust-icon.km-hero__trust-icon--moa {
    width: 28px;
    height: 40px;
  }

  .km-hero__trust-line {
    font-size: 0.7rem;
  }
}

.km-hero__visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.km-hero__visual-frame {
  position: relative;
  max-width: 440px;
  width: 100%;
  padding: 1.2rem;
  background: var(--km-white);
  border: 1px solid var(--km-border);
  border-radius: var(--km-radius-lg);
  box-shadow: 0 12px 40px rgba(44, 36, 32, 0.12);
}

.km-hero__visual-frame::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--km-border-gold);
  border-radius: calc(var(--km-radius-lg) + 4px);
  pointer-events: none;
}

.km-hero__visual-frame img {
  width: 100%;
  height: auto;
  border-radius: var(--km-radius-md);
  display: block;
  object-fit: cover;
}

/* ── Section headings ───────────────────────────────────────── */
.km-section-head {
  margin-bottom: 3rem;
}

.km-section-head .section__heading--maintitle {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  margin-top: 0.5rem;
}

/* ── Product grid ───────────────────────────────────────────── */
.km-products {
  background: var(--km-cream);
}

/* style.css sets .row { --bs-gutter-y: 0 } — restore vertical gap between rows */
.km-products .row {
  --bs-gutter-y: 2rem;
}

.km-product-card {
  background: #fdf8ee;
  border: 1px solid #e6dfd1;
  border-radius: 12px;
  padding: 1.25rem 1.15rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease;
}

.km-product-card:hover {
  box-shadow: var(--km-shadow-soft);
}

.km-product-card__img-wrap {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--km-parchment);
  margin-bottom: 1rem;
}

.km-product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.km-product-card:hover .km-product-card__img-wrap img {
  transform: scale(1.04);
}

.km-product-card__body {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.km-product-card__title {
  font-family: var(--km-font-display);
  font-size: clamp(1.15rem, 1.4vw, 1.45rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

.km-product-card__title a {
  color: var(--km-charcoal);
  text-decoration: none;
}

.km-product-card__title a:hover {
  color: var(--km-maroon);
}

.km-product-card__rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
}

.km-product-card__stars {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  line-height: 1;
}

.km-product-card__star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 13px;
  flex-shrink: 0;
}

.km-product-card__star svg {
  display: block;
  width: 14px;
  height: 13px;
}

.km-product-card__star.is-filled {
  color: #f4b400;
}

.km-product-card__star.is-half {
  color: #f4b400;
  font-size: 14px;
  line-height: 1;
}

.km-product-card__star.is-half .fa {
  display: block;
  line-height: 1;
}

.km-product-card__star.is-empty {
  color: #e0d6c8;
}

.km-product-card__rating-count {
  font-family: var(--km-font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--km-brown-muted);
  line-height: 1;
}

.km-product-card__footer--rated {
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.km-products--rated .km-product-card__footer--rated .km-product-card__price {
  margin-bottom: 0;
}

.km-products--rated .km-product-card__link {
  margin-top: 0.15rem;
}

.km-products--rated {
  background: #fdf8ee;
  border-top: 1px solid #e6dfd1;
  border-bottom: 1px solid #e6dfd1;
}

.km-rated-products__wrap {
  position: relative;
  padding-bottom: 0.35rem;
}

.km-rated-products__slider {
  position: relative;
  padding: 0.35rem 2.75rem 0.85rem;
  overflow: hidden;
}

.km-rated-products__slider .swiper-wrapper {
  align-items: stretch;
}

.km-rated-products__slider .swiper-slide {
  height: auto;
  box-sizing: border-box;
  padding: 2px 1px 6px;
}

.km-rated-products__slider .km-product-card {
  height: 100%;
  box-sizing: border-box;
}

.km-products--rated .km-product-card__stars {
  gap: 0.18rem;
}

.km-products--rated .km-product-card__star,
.km-products--rated .km-product-card__star svg {
  width: 16px;
  height: 15px;
}

.km-products--rated .km-product-card__star.is-half {
  font-size: 16px;
}

.km-rated-products__nav {
  position: absolute;
  top: 38%;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin-top: 0;
  border: 1px solid #e6dfd1;
  border-radius: 50%;
  background: #fff;
  color: var(--km-brown);
  box-shadow: 0 2px 12px rgba(59, 35, 20, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, color 0.2s, border-color 0.2s, background 0.2s;
}

.km-rated-products__wrap:hover .km-rated-products__nav,
.km-rated-products__wrap:focus-within .km-rated-products__nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.km-rated-products__nav::after {
  font-size: 15px;
  font-weight: 700;
}

.km-rated-products__nav:hover {
  color: var(--km-maroon);
  border-color: var(--km-maroon);
  background: #fff;
}

.km-rated-products__nav--prev {
  left: 0;
}

.km-rated-products__nav--next {
  right: 0;
}

@media (max-width: 575px) {
  .km-rated-products__slider {
    padding: 0.35rem 2.25rem 0.85rem;
  }

  .km-rated-products__nav {
    width: 34px;
    height: 34px;
  }
}

.km-product-card__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 72%;
  max-width: 150px;
  margin: 0.7rem 0 0.85rem;
}

.km-product-card__divider::before,
.km-product-card__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--km-border-gold);
}

.km-product-card__divider-icon {
  color: var(--km-gold-muted);
  font-size: 0.5rem;
  line-height: 1;
}

.km-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: auto;
  width: 100%;
  flex-wrap: wrap;
}

.km-product-card__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--km-font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--km-maroon);
  line-height: 1;
}

.km-product-card__price-old {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--km-brown-muted);
  text-decoration: line-through;
}

/* Shop grid — homepage card style with hover actions */
.theme-khokans .km-product-card--shop.product__items,
.theme-khokans .km-product-card--shop.product__items2 {
  background: #fdf8ee;
  border: 1px solid #e6dfd1;
  border-radius: 12px;
  box-shadow: none;
  overflow: visible;
}

.theme-khokans .km-product-card--shop.product__items:hover,
.theme-khokans .product__section--style3__inner .km-product-card--shop.product__items2:hover {
  box-shadow: var(--km-shadow-soft);
}

.km-product-card--shop .km-product-card__media {
  position: relative;
  margin-bottom: 1rem;
}

.km-product-card--shop .km-product-card__img-wrap {
  position: relative;
  margin-bottom: 0;
}

.km-product-card--shop .product__secondary--img {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.km-product-card--shop.product__items:hover .product__secondary--img {
  opacity: 1;
  visibility: visible;
}

.km-product-card--shop .product__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
}

.km-product-card--shop .product__items--action {
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
}

.km-product-card--shop.product__items:hover .product__items--action {
  opacity: 1;
  visibility: visible;
  right: 0.65rem;
}

.km-product-card--shop .km-product-card__footer {
  margin-top: 0;
  gap: 0.55rem;
  justify-content: center;
  flex-wrap: nowrap;
}

.theme-khokans .km-product-card--shop .km-product-card__cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 6px;
  background-color: var(--km-maroon);
  color: var(--km-white);
  text-decoration: none;
  opacity: 1;
  visibility: visible;
  box-shadow: none;
  transform: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.theme-khokans .km-product-card--shop .km-product-card__cart-btn:hover {
  background-color: var(--km-maroon-dark);
  color: var(--km-white);
  box-shadow: 0 3px 10px rgba(217, 32, 39, 0.28);
  transform: none;
}

.theme-khokans .km-product-card--shop .km-product-card__cart-btn svg {
  display: block;
  width: 1.6rem;
  height: 1.6rem;
}

.theme-khokans .km-product-card--shop .km-product-card__cart-btn--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Traditional Way ────────────────────────────────────────── */
.km-traditional-way {
  position: relative;
  min-height: clamp(28rem, 52vw, 38rem);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background-color: #f5ebd7;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.km-traditional-way__banner {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.km-traditional-way__container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.km-traditional-way__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 992px) {
  .km-traditional-way__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.km-traditional-way__content {
  max-width: 100%;
  text-align: left;
}

.km-traditional-way__media {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  height: clamp(16rem, 42vw, 30rem);
  filter: drop-shadow(0 12px 28px rgba(59, 35, 20, 0.18));
  transition: grid-template-columns 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.km-traditional-way__media.is-second {
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
}

.km-traditional-way__shot {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #efe4cc;
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
  height: 100%;
  isolation: isolate;
  box-shadow: 0 0 0 0 rgba(59, 35, 20, 0);
  transition: box-shadow 0.45s ease, transform 0.45s ease;
  -webkit-tap-highlight-color: transparent;
}

.km-traditional-way__shot.is-full {
  z-index: 1;
  box-shadow: 0 10px 28px rgba(59, 35, 20, 0.16);
}

.km-traditional-way__shot.is-masked {
  z-index: 2;
}

.km-traditional-way__shot img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transform: scale(1.14);
  filter: brightness(0.82) saturate(0.92);
  transition:
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.5s ease;
}

.km-traditional-way__shot.is-full img {
  transform: scale(1.03);
  filter: brightness(1) saturate(1);
}

.km-traditional-way__shot.is-masked:hover img,
.km-traditional-way__shot.is-masked:focus-visible img {
  transform: scale(1.2);
  filter: brightness(0.95) saturate(1);
}

.km-traditional-way__shot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 249, 240, 0.38) 48%,
    transparent 66%
  );
  transform: translateX(-130%);
  opacity: 0;
}

.km-traditional-way__shot.is-masked:hover::before,
.km-traditional-way__shot.is-masked:focus-visible::before {
  opacity: 1;
  animation: km-way-shine 0.85s ease forwards;
}

.km-traditional-way__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(59, 35, 20, 0.08) 0%,
    rgba(59, 35, 20, 0.28) 100%
  );
  opacity: 1;
  transition: opacity 0.5s ease;
}

.km-traditional-way__shot.is-full::after {
  opacity: 0;
}

.km-traditional-way__shot.is-masked:hover::after,
.km-traditional-way__shot.is-masked:focus-visible::after {
  opacity: 0.35;
}

.km-traditional-way__hint {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 3;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 249, 240, 0.92);
  color: var(--km-maroon);
  box-shadow: 0 4px 12px rgba(59, 35, 20, 0.16);
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.km-traditional-way__shot.is-masked .km-traditional-way__hint {
  opacity: 1;
  transform: scale(1);
}

.km-traditional-way__shot.is-masked:hover .km-traditional-way__hint,
.km-traditional-way__shot.is-masked:focus-visible .km-traditional-way__hint {
  transform: scale(1.08);
  background: var(--km-maroon);
  color: #fff;
}

.km-traditional-way__hint svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.km-traditional-way__shot:focus-visible {
  outline: 2px solid var(--km-maroon);
  outline-offset: 3px;
}

@keyframes km-way-shine {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .km-traditional-way__media,
  .km-traditional-way__shot,
  .km-traditional-way__shot img,
  .km-traditional-way__hint {
    transition: none;
  }

  .km-traditional-way__shot.is-masked:hover::before,
  .km-traditional-way__shot.is-masked:focus-visible::before {
    animation: none;
  }
}

.km-traditional-way__title {
  font-family: var(--km-font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 600;
  color: var(--km-charcoal);
  line-height: 1.15;
  margin: 0 0 1.35rem;
}

.km-traditional-way__desc {
  font-family: var(--km-font-body);
  font-size: clamp(1.2rem, 1.75vw, 1.55rem);
  color: var(--km-brown);
  line-height: 1.65;
  margin: 0 0 2.75rem;
  max-width: 38rem;
}

.km-traditional-way__values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem) clamp(0.5rem, 1.5vw, 1.25rem);
  width: 100%;
  max-width: 40rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: start;
  justify-items: center;
}

.km-traditional-way__value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-width: 0;
  max-width: 9.5rem;
}

.km-traditional-way__value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.km-traditional-way__value-icon img {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
}

.km-traditional-way__value-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  font-family: var(--km-font-body);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 500;
  color: var(--km-brown);
  text-align: center;
  line-height: 1.3;
  width: 100%;
}

.km-traditional-way__value-line {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Keep 4-across when the content column is wide enough; drop to 2×2 only on slim phones */
@media (max-width: 420px) {
  .km-traditional-way__values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 0.75rem;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .km-traditional-way {
    padding: clamp(3rem, 10vw, 4.5rem) 0;
  }

  .km-traditional-way__media {
    height: clamp(14rem, 52vw, 22rem);
  }

  .km-traditional-way__values {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .km-traditional-way__value-icon,
  .km-traditional-way__value-icon img {
    width: 44px;
    height: 44px;
  }
}

/* From ~421px up, always prefer a single horizontal row of four */
@media (min-width: 421px) {
  .km-traditional-way__values {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ── Homepage video ─────────────────────────────────────────── */
.km-home-video {
  background: #2c221c;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.km-home-video__stage,
.km-home-video__frame {
  width: 100%;
  max-width: none;
  margin: 0;
}

.km-home-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
  background: #2c221c;
  box-shadow: none;
}

.theme-khokans .km-home-video iframe {
  max-width: none;
}

.km-home-video__player,
.km-home-video__player iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  border: 0;
  display: block;
  transform: translate(-50%, -50%) scale(1.18);
}

.km-home-video__hit,
.km-home-video__shade,
.km-home-video__controls {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.km-home-video__hit {
  pointer-events: auto;
}

.km-home-video__shade,
.km-home-video__controls {
  pointer-events: none;
}

.km-home-video__shade {
  background: linear-gradient(
    180deg,
    rgba(44, 34, 28, 0.08) 0%,
    rgba(44, 34, 28, 0.28) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.km-home-video__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.km-home-video__stage:hover .km-home-video__shade,
.km-home-video__stage:focus-within .km-home-video__shade {
  opacity: 1;
}

.km-home-video__stage:hover .km-home-video__controls,
.km-home-video__stage:focus-within .km-home-video__controls {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.km-home-video__btn {
  width: 3.6rem;
  height: 3.6rem;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 249, 240, 0.94);
  color: var(--km-maroon);
  box-shadow: 0 8px 22px rgba(44, 34, 28, 0.22);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.km-home-video__btn:hover,
.km-home-video__btn:focus-visible {
  background: var(--km-maroon);
  color: #fff;
  transform: scale(1.06);
  outline: none;
}

.km-home-video__icon {
  width: 1.35rem;
  height: 1.35rem;
  display: none;
}

.km-home-video__stage.is-paused .km-home-video__icon--play,
.km-home-video__stage:not(.is-paused) .km-home-video__icon--pause,
.km-home-video__stage.is-unmuted .km-home-video__icon--sound,
.km-home-video__stage:not(.is-unmuted) .km-home-video__icon--muted {
  display: block;
}

@media (hover: none) {
  .km-home-video__shade,
  .km-home-video__controls {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .km-home-video__shade {
    background: linear-gradient(
      180deg,
      transparent 42%,
      rgba(44, 34, 28, 0.28) 100%
    );
  }

  .km-home-video__controls {
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0.85rem;
  }
}

@media (max-width: 767px) {
  .km-home-video__controls {
    padding: 0.75rem;
  }
}

/* ── Features ───────────────────────────────────────────────── */
.km-features {
  background-color: rgba(253, 249, 240, 1);
}

.km-section-head--features {
  margin-bottom: 2.75rem;
}

.km-section-head--features .section__heading--maintitle {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.km-section-head--features .km-divider {
  margin-bottom: 0;
}

.km-feature-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  height: 100%;
}

.km-feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--km-border-gold);
  background: rgba(252, 233, 216, 0.55);
}

.km-feature-card__icon img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.km-feature-card__body {
  flex: 1;
  min-width: 0;
}

.km-feature-card__title {
  font-family: var(--km-font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--km-charcoal);
  margin: 0 0 0.25rem;
}

.km-feature-card__desc {
  display: block;
  margin: 0;
  font-family: var(--km-font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--km-brown-light);
}

.km-feature-card__line {
  display: inline;
}

.km-feature-card__line + .km-feature-card__line::before {
  content: " ";
}

@media (min-width: 992px) {
  .km-features .col + .col {
    border-left: 1px dashed #d9cdb8;
    padding-left: 1rem;
  }
}

@media (max-width: 575px) {
  .km-feature-card__icon {
    width: 56px;
    height: 56px;
  }

  .km-feature-card__icon img {
    width: 40px;
    height: 40px;
  }
}

/* ── Newsletter ───────────────────────────────────────────────── */
.km-newsletter {
  background-color: var(--km-maroon);
  background-image: url("../images/stay connected.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}

.km-newsletter__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.km-newsletter__content {
  width: 100%;
  max-width: 520px;
}

.km-newsletter__content h2 {
  font-family: var(--km-font-display);
  color: var(--km-cream);
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 0.6rem;
}

.km-newsletter__content p {
  color: rgba(253, 249, 240, 0.9);
  font-size: 1.45rem;
  margin-bottom: 1.5rem;
}

.km-newsletter__form {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.km-newsletter__form input {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 1.1rem 1.4rem;
  border: none;
  border-radius: 5px 0 0 5px;
  font-size: 1.4rem;
  font-family: var(--km-font-body);
  outline: none;
  box-sizing: border-box;
}

.theme-khokans .km-newsletter__form .btn.btn--km-gold {
  flex-shrink: 0;
  margin: 0;
  border-radius: 0 5px 5px 0;
  border-left: none;
  padding: 1.1rem 2rem;
  font-size: 1.3rem;
  white-space: nowrap;
  cursor: pointer;
  min-height: 48px;
  box-sizing: border-box;
}

.km-newsletter__msg {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(253, 249, 240, 0.88);
}

.km-newsletter__msg.is-ok {
  color: #e8f8e4;
  font-weight: 700;
}

.km-newsletter__msg.is-no {
  color: #ffd6d6;
  font-weight: 700;
}

.km-newsletter__form .btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

/* ── Footer — hide legacy theme footer site-wide ─────────────── */
.theme-khokans .footer__section {
  display: none !important;
}

/* ── Heritage Footer ─────────────────────────────────────────── */
.km-footer {
  background: var(--km-footer-brown);
  color: rgba(255, 255, 255, 0.88);
  padding: clamp(3.5rem, 6vw, 5rem) 0 0;
}

.km-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 2.5rem 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.km-footer__logo img {
  height: 48px;
  width: auto;
  margin-bottom: 1.2rem;
  filter: brightness(1.1);
}

.km-footer__about {
  font-size: 1.35rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.km-footer__social {
  display: flex;
  gap: 0.75rem;
}

.km-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--km-gold-light);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.km-footer__social a:hover {
  background: var(--km-maroon);
  border-color: var(--km-maroon);
  color: var(--km-white);
}

.km-footer__heading {
  font-family: var(--km-font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--km-cream);
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

.km-footer__heading::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 0.55rem;
  margin-bottom: 1rem;
  background: var(--km-gold-light);
}

.km-footer__accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: default;
}

.km-footer__accordion-icon {
  display: none;
  width: 0.7rem;
  height: 0.7rem;
  margin-left: 0.75rem;
  border-right: 2px solid var(--km-gold-light);
  border-bottom: 2px solid var(--km-gold-light);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.km-footer__accordion-btn:focus-visible {
  outline: 2px solid var(--km-gold-light);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .km-footer__accordion-icon,
  .km-footer__col--accordion .km-footer__links {
    transition: none;
  }
}

.km-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.km-footer__links li {
  margin-bottom: 0.65rem;
}

.km-footer__links a {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s;
}

.km-footer__links a:hover {
  color: var(--km-gold-light);
}

.km-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.km-footer__contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.km-footer__contact-number {
  font-family: var(--km-font-body);
  font-size: 1.3rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
}

.km-footer__contact-number:hover {
  color: var(--km-gold-light);
}

.km-footer__contact svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--km-gold-light);
  opacity: 1;
}

.km-footer__contact a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s;
}

.km-footer__contact a:hover {
  color: var(--km-gold-light);
}

.km-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
}

.km-footer__copyright,
.km-footer__credit {
  margin: 0;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.72);
}

.km-footer__copyright a,
.km-footer__copyright a:hover {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.km-footer__heart {
  color: var(--km-maroon);
  display: inline-block;
  font-size: 1.4em;
  line-height: 1;
  vertical-align: middle;
  margin: 0 0.12em;
  animation: km-heartbeat 1.4s ease infinite;
}

@keyframes km-heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.theme-khokans #scroll__top {
  background: var(--km-maroon);
  border-color: var(--km-maroon);
  bottom: 7rem;
  right: 2.5rem;
  width: 4.3rem;
  height: 4.3rem;
}

.theme-khokans #scroll__top svg {
  width: 2.5rem;
  height: 2.5rem;
}

.theme-khokans .whatsapp-cust-care {
  position: fixed;
  bottom: 12.5rem;
  right: 2.5rem;
  z-index: 99;
  line-height: 0;
}

.theme-khokans .whatsapp-cust-care a {
  display: block;
  cursor: pointer;
  line-height: 0;
}

.theme-khokans .whatsapp-cust-care img {
  height: 4.3rem;
  width: auto;
  object-fit: contain;
  margin: 0;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.18));
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 991px) {
  .km-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .km-footer__col--brand {
    grid-column: 1 / -1;
  }

  .km-footer__col--contact {
    grid-column: 1 / -1;
  }

  .km-footer__col--accordion {
    grid-column: 1 / -1;
  }

  .km-footer__accordion-btn {
    cursor: pointer;
    min-height: 2.75rem;
    padding: 0.15rem 0;
    -webkit-tap-highlight-color: transparent;
  }

  .km-footer__accordion-icon {
    display: block;
    margin-top: -0.35rem;
  }

  .km-footer__col--accordion.is-open .km-footer__accordion-icon {
    transform: rotate(225deg);
    margin-top: 0.2rem;
  }

  .km-footer__col--accordion .km-footer__links {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s ease;
  }

  .km-footer__col--accordion.is-open .km-footer__links {
    max-height: 18rem;
    opacity: 1;
    pointer-events: auto;
  }

  .km-footer__col--accordion .km-footer__heading::after {
    margin-bottom: 0;
  }

  .km-footer__col--accordion.is-open .km-footer__heading::after {
    margin-bottom: 1rem;
  }

  .km-header__menu-toggle.d-lg-none {
    display: flex;
  }

  .km-header__logo {
    flex: 1;
    text-align: center;
  }

  .km-header__logo img {
    margin: 0 auto;
    height: 48px;
  }

  .theme-khokans #scroll__top {
    right: 1.25rem;
    bottom: calc(var(--km-sticky-toolbar-h) + 1.25rem);
  }

  .theme-khokans .whatsapp-cust-care {
    right: 1.25rem;
    bottom: calc(var(--km-sticky-toolbar-h) + 5.4rem);
    z-index: 998;
  }

  /* Top strip is redundant on small screens (Track/Login live in primary nav).
     Leaving it (or a half-collapsed scrolled state) reads as a gap above the bar. */
  .km-header__topbar {
    display: none !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    line-height: 0 !important;
  }

  .km-header {
    top: 0;
    margin: 0;
    padding: 0;
  }

  .theme-khokans.home-page .km-header,
  .theme-khokans:not(.home-page) .km-header {
    top: 0;
  }

  .km-header__main {
    margin: 0;
    /* Draw the bar into the status-bar / notchinset instead of leaving empty cream above it */
    padding-top: env(safe-area-inset-top, 0px);
  }

  /* Mobile main navbar: Track order + Login + Wishlist (search/cart → sticky toolbar) */
  .km-header__actions-scroll {
    max-width: 6.5rem;
    opacity: 1;
    pointer-events: auto;
    margin-right: 0;
    overflow: visible;
  }

  .km-header__action--lg.search__open--btn,
  .km-header__action--lg.minicart__open--btn {
    display: none;
  }

  .km-header__action--wishlist {
    display: flex;
  }
}

@media (max-width: 575px) {
  .km-header__tagline {
    display: none;
  }

  .km-footer__grid {
    grid-template-columns: 1fr;
  }

  .km-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .km-newsletter__form {
    max-width: 100%;
  }

  .km-newsletter__form input {
    padding: 1rem 1rem;
    font-size: 1.2rem;
  }

  .theme-khokans .km-newsletter__form .btn.btn--km-gold {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
  }
}

/* ── Site-wide inner pages ───────────────────────────────────── */
.theme-khokans .main__content_wrapper {
  background: var(--km-cream);
}

.theme-khokans:not(.home-page) .km-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
}

.theme-khokans:not(.home-page) .km-header__main {
  background: rgba(253, 249, 240, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 30px rgba(44, 36, 32, 0.06);
}

.theme-khokans:not(.home-page) .km-header--scrolled .km-header__main {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 32px rgba(59, 35, 20, 0.12);
}

@supports not (backdrop-filter: blur(1px)) {
  .theme-khokans:not(.home-page) .km-header__main {
    background: rgba(253, 249, 240, 0.94);
  }

  .theme-khokans:not(.home-page) .km-header--scrolled .km-header__main {
    background: rgba(255, 255, 255, 0.97);
  }
}

.theme-khokans .breadcrumb__bg {
  background: var(--km-footer-brown);
  background-image: none;
  height: auto;
  min-height: 11rem;
  padding: 3.5rem 0 3rem;
}

.theme-khokans .breadcrumb__content--title {
  font-family: var(--km-font-display);
  color: var(--km-cream) !important;
}

.theme-khokans .breadcrumb__content--menu__items a,
.theme-khokans .breadcrumb__content--menu__items span {
  color: rgba(255, 255, 255, 0.88) !important;
}

.theme-khokans .shop__header.bg__gray--color {
  background: #fdf8ee !important;
  border: 1px solid #e6dfd1;
  border-radius: 10px;
  padding: 1rem 1.25rem;
}

/* ── Single product page ─────────────────────────────────────── */
.theme-khokans .product__details--section {
  background: var(--km-cream);
}

.theme-khokans .product__details--info {
  background: #fdf8ee;
  border: 1px solid #e6dfd1;
  border-radius: 12px;
  padding: 2rem 1.75rem;
}

.theme-khokans .product__details--info__title {
  font-family: var(--km-font-display);
  color: var(--km-charcoal);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
}

.theme-khokans .product__details--info__price .current__price {
  color: var(--km-maroon);
  font-weight: 700;
}

.theme-khokans .product__details--info__desc {
  color: var(--km-brown-light);
  line-height: 1.7;
}

.theme-khokans .product__details--tab__section {
  background: var(--km-cream);
}

.theme-khokans .product__details--tab__list {
  font-family: var(--km-font-display);
  color: var(--km-brown);
}

.theme-khokans .product__details--tab__list.active,
.theme-khokans .product__details--tab__list:hover {
  color: var(--km-maroon);
}

.theme-khokans .product__details--tab__inner {
  background: #fdf8ee;
  border: 1px solid #e6dfd1;
  border-radius: 12px;
  padding: 2rem;
}

.theme-khokans .product__media--preview__items,
.theme-khokans .product__media--nav__items {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e6dfd1;
}

.theme-khokans .quickview__cart--btn {
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  min-height: 44px;
  margin-right: 0.75rem;
}

.theme-khokans .product__variant .quantity.d-flex {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.theme-khokans .km-product__out-stock {
  color: var(--km-maroon);
  font-size: 1.4rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.theme-khokans .variant__wishlist--icon {
  color: var(--km-brown);
}

.theme-khokans .variant__wishlist--icon:hover {
  color: var(--km-maroon);
}

.theme-khokans .km-related-products {
  background: var(--km-cream);
}

.theme-khokans .km-related-products .swiper-slide {
  height: auto;
}

.theme-khokans .product__details--info__price .old__price {
  color: var(--km-brown-light);
  opacity: 0.75;
}

.theme-khokans .quantity__box {
  border: 1px solid #e6dfd1;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.theme-khokans .quantity__value {
  color: var(--km-brown);
}

.theme-khokans .quantity__number {
  color: var(--km-charcoal);
  font-weight: 600;
}

.theme-khokans .km-related-products .swiper__nav--btn {
  color: var(--km-maroon);
}

.theme-khokans .km-related-products .swiper__nav--btn::after {
  font-size: 1.6rem;
}

/* Cart / wishlist / related — equal-height product cards */
.theme-khokans .product__items--thumbnail {
  aspect-ratio: 1 / 1;
  background: var(--km-parchment);
}

.theme-khokans .product__items--link {
  height: 100%;
  position: relative;
}

.theme-khokans .product__items--thumbnail .product__items--img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.theme-khokans .product__items--thumbnail .product__secondary--img {
  inset: 0;
}

.theme-khokans .product__section--style3 .swiper-wrapper {
  align-items: stretch;
}

.theme-khokans .product__section--style3 .swiper-slide {
  height: auto;
  display: flex;
}

.theme-khokans .product__section--style3 .product__items,
.theme-khokans .product__section--style3 .product__items2 {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: #fdf8ee;
  border: 1px solid #e6dfd1;
  border-radius: 12px;
  overflow: hidden;
}

.theme-khokans .product__section--style3 .product__items--content {
  position: static;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 0.85rem 1.2rem;
}

.theme-khokans .product__section--style3 .product__items--content__title {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  font-family: var(--km-font-display);
  font-size: 16px;
  line-height: 1.35;
  min-height: 2.7em;
  margin: 0 0 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.theme-khokans .product__section--style3 .product__items:hover .product__items--content__title {
  opacity: 1;
  visibility: visible;
  top: auto;
}

.theme-khokans .product__section--style3 .product__items--price {
  position: static;
  margin: 0 0 0.4rem;
}

.theme-khokans .product__section--style3 .add__to--cart__btn {
  top: 38%;
}

/* ── Single product + checkout — small screens ──────────────── */
@media (max-width: 991px) {
  .theme-khokans .product__details--section .row > .col {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .theme-khokans .product__details--media {
    position: static;
    margin-bottom: 1.75rem;
  }

  .theme-khokans .product__media--preview__items--img {
    width: 100%;
    height: auto;
    max-height: min(70vw, 28rem);
    object-fit: cover;
  }

  .theme-khokans .product__media--nav {
    margin-top: 0.85rem;
    padding: 0 2rem;
  }

  .theme-khokans .product__media--nav .swiper__nav--btn {
    width: 2.4rem;
    height: 2.4rem;
  }

  .theme-khokans .product__variant .quantity.d-flex {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.85rem;
  }

  .theme-khokans .product__variant .quantity__box {
    width: 100%;
    max-width: 12rem;
  }

  .theme-khokans .quickview__cart--btn,
  .theme-khokans .product__variant .btn {
    width: 100%;
    margin-right: 0 !important;
    justify-content: center;
  }

  .theme-khokans .km-product__out-stock {
    margin-left: 0;
    display: block;
  }

  .theme-khokans .quickview__social {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .theme-khokans .quickview__social--title {
    width: 100%;
    margin-bottom: 0.15rem;
  }

  .theme-khokans .guarantee__safe--checkout__img {
    max-width: 100%;
    height: auto;
  }

  .theme-khokans .breadcrumb__content--title {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    word-break: break-word;
    padding: 0 0.25rem;
  }

  .theme-khokans .breadcrumb__content--menu {
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    padding: 0 0.5rem;
  }

  /* Checkout: stack columns + always show order summary */
  .theme-khokans .checkout__page--area {
    overflow-x: clip;
    max-width: 100%;
  }

  .theme-khokans .checkout__page--inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .theme-khokans .checkout__mian {
    width: 100%;
    max-width: 100%;
    padding: 0;
    order: 2;
  }

  .theme-khokans .checkout__sidebar {
    display: block !important;
    visibility: visible !important;
    width: 100%;
    max-width: 100%;
    padding: 0 0 1.5rem;
    margin: 0 0 0.25rem;
    border-left: 0;
    border-bottom: 1px solid #e6dfd1;
    order: 1;
  }

  .theme-khokans .checkout__section--header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
  }

  .theme-khokans .section__header--title {
    font-family: var(--km-font-display);
    color: var(--km-charcoal);
    font-size: clamp(1.5rem, 4.5vw, 1.9rem);
  }

  .theme-khokans .layout__flex--item {
    font-size: 1.3rem;
  }

  .theme-khokans .checkout__input--field,
  .theme-khokans .checkout__input--select__field,
  .theme-khokans .cart__note--textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .theme-khokans .cart__note--textarea {
    min-height: 8rem;
  }

  .theme-khokans .shipping__contact--box__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .theme-khokans .shipping__radio--input {
    display: block;
    padding-right: 0.75rem;
  }

  .theme-khokans .shipping__radio--label {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    min-width: 0;
    width: auto;
  }

  .theme-khokans .shipping__radio--label__primary {
    display: block;
    width: auto;
  }

  .theme-khokans .shipping__radio--label img {
    max-width: min(100%, 12rem);
    height: auto;
  }

  .theme-khokans .checkout__address--content__header {
    padding: 1rem;
  }

  .theme-khokans .checkout__content--step__footer {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .theme-khokans .checkout__content--step__footer .btn,
  .theme-khokans .continue__shipping--btn,
  .theme-khokans #PayNow {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 4.4rem;
  }

  /* Override global cart table min-width scroll on checkout lines */
  .theme-khokans .checkout__product--table.cart__table {
    display: block;
    overflow: visible;
    margin-bottom: 1.25rem;
  }

  .theme-khokans .checkout__product--table .cart__table--inner,
  .theme-khokans .checkout__product--table .cart__table--body {
    display: block;
    width: 100%;
    min-width: 0 !important;
  }

  .theme-khokans .checkout__product--table .cart__table--body__items {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
  }

  .theme-khokans .checkout__product--table .cart__table--body__list {
    display: block !important;
    justify-content: flex-start !important;
    padding: 0.85rem 0 !important;
    border: 0;
    border-bottom: 1px solid #efe6d6;
  }

  .theme-khokans .checkout__product--table .cart__table--body__list:first-child {
    flex: 1;
    min-width: 0;
  }

  .theme-khokans .checkout__product--table .cart__table--body__list:last-child {
    flex-shrink: 0;
    text-align: right;
    padding-left: 0.5rem !important;
  }

  .theme-khokans .product__image.two {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    min-width: 0;
    gap: 0.65rem;
  }

  .theme-khokans .product__thumbnail {
    width: 5.5rem;
    max-width: 5.5rem;
    flex-shrink: 0;
  }

  .theme-khokans .product__thumbnail img {
    width: 100%;
    height: auto;
    display: block;
  }

  .theme-khokans .product__description {
    padding-left: 0;
    min-width: 0;
    flex: 1;
  }

  .theme-khokans .product__description--name {
    font-size: 1.3rem;
    line-height: 1.35;
    word-break: break-word;
  }

  .theme-khokans .product__description--name a {
    color: var(--km-charcoal);
  }

  .theme-khokans .checkout__total--table {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .theme-khokans .cart__price {
    white-space: nowrap;
    font-weight: 600;
    color: var(--km-maroon);
    font-size: 1.4rem;
  }

  .theme-khokans .checkout__total {
    background: #fdf8ee;
    border: 1px solid #e6dfd1;
    border-radius: 12px;
    padding: 1.15rem 1rem;
  }

  .theme-khokans .checkout__total--title,
  .theme-khokans .checkout__total--amount {
    font-size: 1.3rem;
    padding: 0.35rem 0;
  }

  .theme-khokans .checkout__total--footer__title,
  .theme-khokans .checkout__total--footer__amount {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--km-maroon);
  }

  .theme-khokans .checkout__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .theme-khokans .checkout__checkbox--label {
    font-size: 1.25rem;
    line-height: 1.45;
  }

  .theme-khokans .checkout__checkbox--checkmark {
    flex-shrink: 0;
  }
}

@media (max-width: 575px) {
  .theme-khokans .product__details--info {
    padding: 1.15rem 1rem;
  }

  .theme-khokans .product__details--info__title {
    font-size: clamp(1.65rem, 6vw, 2rem);
  }

  .theme-khokans .product__details--tab__inner {
    padding: 1.15rem 1rem;
  }

  .theme-khokans .product__details--tab {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .theme-khokans .product__details--tab__list {
    margin: 0 0.65rem 0.85rem 0;
    font-size: 1.4rem;
  }

  .theme-khokans .product__details--section.section--padding,
  .theme-khokans .checkout__page--area.section--padding {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .theme-khokans .section__shipping--address {
    padding: 1.5rem 0 1rem;
  }

  .theme-khokans .checkout__mian .main__content_wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .theme-khokans .checkout__sidebar {
    padding-bottom: 1.25rem;
  }

  .theme-khokans .product__thumbnail {
    width: 4.8rem;
    max-width: 4.8rem;
  }

  .theme-khokans .km-related-products .product__items {
    max-width: 100%;
  }
}

/* ── Small-phone refinements (320–575px) ─────────────────────── */
@media (max-width: 575px) {
  .km-header__main-inner {
    gap: 0.5rem;
    padding: 0.7rem 0;
  }

  .km-header__logo img {
    height: 44px;
  }

  .km-header__action {
    width: 36px;
    height: 36px;
  }

  .km-header__actions {
    gap: 0.15rem;
  }

  .km-header__actions-scroll {
    max-width: 5.5rem;
    gap: 0.15rem;
  }

  .theme-khokans.home-page .km-hero__container {
    min-height: 0;
    padding: 0;
  }

  .km-hero__copy {
    padding: 0.3rem 0.3rem 0.3rem 0.45rem;
  }

  .km-hero__trust-item {
    max-width: none;
  }

  .km-traditional-way__title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .km-traditional-way__desc {
    font-size: clamp(1.15rem, 3.8vw, 1.4rem);
    margin-bottom: 1.75rem;
  }

  .km-traditional-way__value {
    max-width: none;
  }

  .km-newsletter__form {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .km-newsletter__form input {
    flex: 1 1 100%;
    border-radius: 5px;
    padding: 0.95rem 1rem;
    font-size: 1.25rem;
  }

  .theme-khokans .km-newsletter__form .btn.btn--km-gold {
    flex: 1 1 100%;
    width: 100%;
    border-radius: 5px;
    border-left: 1px solid transparent;
    margin-top: 0.55rem;
  }

  .km-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .km-footer__col--brand,
  .km-footer__col--contact {
    grid-column: auto;
  }

  .km-footer {
    padding-top: 2.75rem;
  }

  .km-product-card--shop .km-product-card__footer {
    flex-wrap: wrap;
  }

  .theme-khokans .product__details--info {
    padding: 1.25rem 1rem;
  }

  .theme-khokans .product__details--tab__inner {
    padding: 1.25rem 1rem;
  }

  .theme-khokans .product__variant .quantity.d-flex {
    width: 100%;
  }

  .theme-khokans .quickview__cart--btn {
    width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 360px) {
  .km-header__logo img {
    height: 36px;
  }

  .km-hero__trust-row {
    column-gap: 0.2rem;
    padding: 0.65rem 0.25rem;
  }

  .km-hero__trust-icon {
    width: 30px;
    height: 38px;
  }

  .km-hero__trust-icon.km-hero__trust-icon--moa {
    width: 26px;
    height: 38px;
  }

  .km-hero__trust-line {
    font-size: 0.64rem;
  }

  .km-traditional-way__value-icon,
  .km-traditional-way__value-icon img {
    width: 40px;
    height: 40px;
  }
}
