/* =========================================================
   KETHRON V38 — Hero slider polish, contact alignment, policy pages
   2026-08-18
   ========================================================= */

/* ---------------------------------------------------------
   CONTACT PAGE
   Preserve the existing design; only correct icon/text alignment.
   --------------------------------------------------------- */
.contact-wrapper .row.gx-0 {
  align-items: stretch;
}

.contact-wrapper .contact-box {
  /* Do not override Bootstrap's col-lg-4 width. */
  min-width: 0;
}

.contact-box .contact-box__item {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-height: 48px;
  margin-bottom: 26px !important;
}

.contact-box .contact-box__icon {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  flex: 0 0 46px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.contact-box .media-body {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
}

.contact-box .contact-box__info {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.55 !important;
  text-align: left !important;
}

.contact-box .contact-box__info a {
  display: inline !important;
  max-width: 100%;
  line-height: inherit !important;
}

.contact-box .contact-box__info span {
  display: block !important;
  line-height: 1.55 !important;
}

.contact-box .social-links {
  padding-top: 12px !important;
}

/* ---------------------------------------------------------
   HOME HERO PRODUCT SLIDER
   Product stays fully inside the card; no rotation/overflow.
   --------------------------------------------------------- */
.k-hero-visual {
  min-height: 470px;
  overflow: visible;
}

.k-hero-stage {
  position: relative;
  width: min(88%, 470px);
  margin-inline: auto;
}

.k-hero-slider {
  position: relative;
  width: 100% !important;
  aspect-ratio: 1 / 1;
  border-radius: 36px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.98);
  box-shadow: 0 28px 72px rgba(27,31,39,.14);
  overflow: hidden;
  isolation: isolate;
}

.k-hero-slider::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 28px;
  border: 1px solid rgba(239,127,26,.08);
  background: linear-gradient(145deg, #fff 0%, #fff 58%, #fff8f1 100%);
  z-index: 0;
  pointer-events: none;
}

.k-hero-slider .k-hero-product,
.k-hero-slider .k-hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 24px 28px 64px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(18px) scale(.985) !important;
  transition: opacity .48s ease, transform .48s ease, visibility .48s ease !important;
  z-index: 1;
}

.k-hero-slider .k-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1) !important;
  z-index: 2;
}

.k-hero-slider .k-hero-slide.is-active:hover {
  transform: translateX(0) scale(1) !important;
}

.k-hero-product-media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  overflow: hidden;
  padding: 10px;
}

.k-hero-product-media img,
.k-hero-slider .k-hero-product img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 88% !important;
  max-height: 88% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 16px !important;
  transform: none !important;
}

.k-hero-product-meta {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  z-index: 3;
}

.k-hero-product-name {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #17191f;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}

.k-hero-product-price {
  flex: 0 0 auto;
  color: var(--k-orange, #ef7f1a);
  font-size: 14px;
  font-weight: 800;
}

.k-hero-product-price del {
  margin-left: 5px;
  color: #9a9da5;
  font-size: 11px;
  font-weight: 600;
}

.k-hero-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  padding: 0;
  border: 1px solid #eceef2;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #282b31;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(25,28,35,.08);
  opacity: .88;
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
}

.k-hero-prev { left: 12px; }
.k-hero-next { right: 12px; }

.k-hero-nav:hover,
.k-hero-nav:focus-visible {
  opacity: 1;
  color: var(--k-orange, #ef7f1a);
  border-color: rgba(239,127,26,.45);
  transform: scale(1.05);
}

.k-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 7px;
  z-index: 7;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.k-hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d8dbe1;
  transition: width .25s ease, background .25s ease;
}

.k-hero-dot.is-active {
  width: 22px;
  background: var(--k-orange, #ef7f1a);
}

.k-hero-stage .k-hero-float {
  z-index: 10;
  pointer-events: none;
}

.k-hero-stage .k-hero-float.one {
  left: -34px;
  top: 15%;
}

.k-hero-stage .k-hero-float.two {
  right: -46px;
  bottom: 14%;
}

/* ---------------------------------------------------------
   POLICY PAGES
   --------------------------------------------------------- */
.k-policy-page {
  background: #f7f8fa;
  padding-bottom: 76px;
}

.k-policy-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 78px;
  background:
    radial-gradient(circle at 90% 18%, rgba(239,127,26,.18), transparent 30%),
    linear-gradient(135deg, #111319 0%, #1c1f27 62%, #17191f 100%);
  color: #fff;
}

.k-policy-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -130px;
  border: 32px solid rgba(239,127,26,.16);
  border-radius: 50%;
}

.k-policy-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  color: rgba(255,255,255,.64);
  font-size: 12px;
  font-weight: 600;
}

.k-policy-breadcrumb a {
  color: rgba(255,255,255,.82);
}

.k-policy-breadcrumb a:hover { color: #fff; }
.k-policy-breadcrumb i { font-size: 9px; }

.k-policy-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 870px;
}

.k-policy-hero__icon {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff8a24, #ef6f00);
  color: #fff;
  box-shadow: 0 16px 34px rgba(239,127,26,.25);
  font-size: 30px;
}

.k-policy-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #ffad66;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.k-policy-hero h1 {
  color: #fff;
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.k-policy-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.7;
}

.k-policy-shell {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  margin-top: -38px;
  align-items: start;
}

.k-policy-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
}

.k-policy-sidebar__card,
.k-policy-help,
.k-policy-card {
  border: 1px solid #e8eaf0;
  background: #fff;
  box-shadow: 0 18px 46px rgba(28,31,39,.07);
}

.k-policy-sidebar__card {
  padding: 20px;
  border-radius: 18px;
}

.k-policy-sidebar__label {
  display: block;
  margin: 0 0 13px 4px;
  color: #92959d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.k-policy-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 9px 11px;
  margin: 4px 0;
  border-radius: 11px;
  color: #464a53;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.k-policy-link i {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f5f7;
  color: #727680;
}

.k-policy-link:hover {
  color: var(--k-orange, #ef7f1a);
  background: #fff8f1;
  transform: translateX(2px);
}

.k-policy-link.is-active {
  color: #fff;
  background: #17191f;
}

.k-policy-link.is-active i {
  background: var(--k-orange, #ef7f1a);
  color: #fff;
}

.k-policy-help {
  padding: 20px;
  border-radius: 18px;
}

.k-policy-help > i {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff3e7;
  color: var(--k-orange, #ef7f1a);
  font-size: 18px;
}

.k-policy-help strong,
.k-policy-help span {
  display: block;
}

.k-policy-help strong {
  margin-bottom: 4px;
  color: #17191f;
  font-size: 15px;
}

.k-policy-help span {
  color: #777b84;
  font-size: 12px;
  line-height: 1.6;
}

.k-policy-help a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--k-orange, #ef7f1a);
  font-size: 12px;
  font-weight: 750;
}

.k-policy-card {
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
}

.k-policy-card__top {
  min-height: 58px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #eceef2;
  background: #fbfbfc;
  color: #6f737c;
  font-size: 11px;
  font-weight: 650;
}

.k-policy-card__top span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.k-policy-card__top span i { color: #4c9a2a; }
.k-policy-card__top a { color: var(--k-orange, #ef7f1a); font-weight: 750; }

.k-policy-content {
  padding: 34px 42px 42px;
}

.k-policy-content p {
  margin: 0 0 18px;
  color: #5d626c;
  font-size: 14px;
  line-height: 1.82;
  text-align: left;
}

.k-policy-content .k-policy-lead {
  margin-bottom: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--k-orange, #ef7f1a);
  border-radius: 0 12px 12px 0;
  background: #fff8f1;
  color: #3c4048;
  font-size: 14px;
}

.k-policy-content h2 {
  position: relative;
  margin: 34px 0 12px;
  padding-left: 17px;
  color: #1c1f25;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -.015em;
}

.k-policy-content h2:first-child { margin-top: 0; }

.k-policy-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--k-orange, #ef7f1a);
  box-shadow: 0 0 0 5px rgba(239,127,26,.11);
}

.k-policy-content a {
  color: var(--k-orange, #ef7f1a);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.k-policy-content strong { color: #32363e; }

@media (max-width: 1199px) {
  .k-hero-stage { width: min(86%, 430px); }
  .k-hero-stage .k-hero-float.one { left: -18px; }
  .k-hero-stage .k-hero-float.two { right: -24px; }
}

@media (max-width: 991.98px) {
  .k-hero-visual { min-height: 430px; }
  .k-hero-stage { width: min(78%, 390px); }

  .k-policy-shell {
    grid-template-columns: 1fr;
    margin-top: -30px;
  }

  .k-policy-sidebar {
    position: static;
  }

  .k-policy-sidebar__card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .k-policy-sidebar__label { grid-column: 1 / -1; }
  .k-policy-link { margin: 0; }
  .k-policy-help { display: none; }
}

@media (max-width: 767.98px) {
  .contact-box .contact-box__item {
    gap: 14px !important;
    margin-bottom: 22px !important;
  }

  .contact-box .contact-box__info {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .k-hero-visual { min-height: 380px; }
  .k-hero-stage { width: min(88%, 350px); }
  .k-hero-slider { border-radius: 28px; }
  .k-hero-slider::before { inset: 12px; border-radius: 22px; }
  .k-hero-slider .k-hero-product,
  .k-hero-slider .k-hero-slide { padding: 18px 20px 56px !important; }
  .k-hero-product-meta { left: 22px; right: 22px; bottom: 18px; }
  .k-hero-product-name { font-size: 12px; }
  .k-hero-product-price { font-size: 13px; }
  .k-hero-nav { width: 32px; height: 32px; margin-top: -16px; }
  .k-hero-prev { left: 8px; }
  .k-hero-next { right: 8px; }

  .k-hero-stage .k-hero-float {
    display: none;
  }

  .k-policy-hero { padding: 28px 0 62px; }
  .k-policy-breadcrumb { margin-bottom: 24px; }
  .k-policy-hero__inner { align-items: flex-start; gap: 15px; }
  .k-policy-hero__icon { width: 58px; height: 58px; flex-basis: 58px; border-radius: 16px; font-size: 22px; }
  .k-policy-hero h1 { font-size: 34px; }
  .k-policy-hero p { font-size: 13px; }

  .k-policy-shell { gap: 16px; }
  .k-policy-sidebar__card {
    grid-template-columns: 1fr;
    padding: 13px;
    border-radius: 15px;
  }
  .k-policy-sidebar__label { display: none; }
  .k-policy-link { min-height: 42px; }

  .k-policy-card { border-radius: 16px; }
  .k-policy-card__top { padding: 13px 18px; }
  .k-policy-card__top > span { display: none; }
  .k-policy-content { padding: 25px 20px 30px; }
  .k-policy-content p { font-size: 13px; line-height: 1.76; }
  .k-policy-content h2 { margin-top: 28px; font-size: 16px; }
}

@media (max-width: 420px) {
  .contact-box .contact-box__item { gap: 12px !important; }
  .contact-box .contact-box__icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    flex-basis: 44px !important;
  }

  .k-hero-stage { width: min(92%, 320px); }
  .k-hero-product-media img,
  .k-hero-slider .k-hero-product img { max-width: 84% !important; max-height: 84% !important; }
  .k-hero-product-name { max-width: 58%; }

  .k-policy-hero__icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .k-hero-slider .k-hero-slide,
  .k-hero-dot,
  .k-hero-nav,
  .k-policy-link {
    transition: none !important;
  }
}

/* Restore the original desktop Contact page column width overridden by V37. */
@media (min-width: 992px) {
  .contact-wrapper .contact-box.col-lg-4 {
    width: 33.33333333% !important;
    flex: 0 0 auto !important;
  }
}
