/* =========================================================
   KETHRON V37 — Contact, Quantity, Reviews & Hero Slider
   2026-08-18
   ========================================================= */

/* Contact page: keep every icon/text row on the same baseline. */
.contact-wrapper .contact-box {
  width: 100% !important;
  min-width: 0 !important;
}

.contact-box .contact-box__item {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center !important;
  column-gap: 16px !important;
  min-height: 54px;
  margin-bottom: 26px !important;
}

.contact-box .contact-box__icon {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px;
  margin: 0 !important;
}

.contact-box .media-body {
  min-width: 0;
  width: 100%;
}

.contact-box .contact-box__info {
  margin: 0 !important;
  line-height: 1.65 !important;
  overflow-wrap: anywhere;
}

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

.contact-box .contact-box__info span {
  line-height: 1.65;
}

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

/* Product page: compact horizontal - 1 + quantity control. */
.product-about .actions {
  margin-bottom: 24px !important;
}

.product-about .quantity {
  gap: 14px !important;
}

.product-about .k-qty-control {
  display: grid !important;
  grid-template-columns: 42px 58px 42px;
  align-items: stretch !important;
  width: 144px !important;
  min-width: 144px !important;
  height: 48px !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1.5px solid var(--k-blue, #4e7ee8) !important;
  border-radius: 10px !important;
  background: #fff;
}

.product-about .k-qty-control .qty-input {
  width: 58px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 45px !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid #e8ebf1 !important;
  border-right: 1px solid #e8ebf1 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #15171c !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-align: center !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

.product-about .k-qty-control .qty-input::-webkit-inner-spin-button,
.product-about .k-qty-control .qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-about .k-qty-control .k-qty-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
  color: #30333a !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.product-about .k-qty-control .k-qty-btn:hover,
.product-about .k-qty-control .k-qty-btn:focus-visible {
  background: #f5f7fb !important;
  color: var(--k-orange, #ef7f1a) !important;
}

/* Review load-more button. */
.k-load-more-reviews {
  display: block;
  min-width: 168px;
  min-height: 48px;
  margin: 24px auto 0;
  padding: 10px 22px;
  border: 0;
  border-radius: 10px;
  background: #2f9916;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}

.k-load-more-reviews:hover {
  background: #287f14;
  transform: translateY(-1px);
}

.k-load-more-reviews:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}

/* Home hero random-product slider. */
.k-hero-slider {
  position: relative;
  width: min(88%, 430px);
  aspect-ratio: 1 / 1;
}

.k-hero-slider .k-hero-product {
  width: 100% !important;
  height: 100%;
}

.k-hero-slider .k-hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(.985) rotate(-2deg);
  transition: opacity .55s ease, transform .55s ease, visibility .55s ease;
}

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

.k-hero-slider .k-hero-slide.is-active:hover {
  transform: translateY(-5px) scale(1) rotate(0deg);
}

@media (max-width: 991px) {
  .k-hero-slider { width: min(76%, 390px); }
}

@media (max-width: 767.98px) {
  .contact-box .contact-box__item {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 14px !important;
    margin-bottom: 22px !important;
  }

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

  .product-about .quantity {
    display: grid !important;
    grid-template-columns: auto 144px !important;
    align-items: center !important;
    justify-content: start !important;
    gap: 12px !important;
  }

  .product-about .k-qty-control {
    width: 144px !important;
    min-width: 144px !important;
    height: 48px !important;
    padding: 0 !important;
  }

  .product-about .k-qty-control .qty-input {
    height: 45px !important;
  }

  .k-hero-slider { width: min(82%, 320px); }
}

@media (max-width: 420px) {
  .contact-box .contact-box__item {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 12px !important;
  }

  .contact-box .contact-box__icon {
    width: 44px !important;
    height: 44px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .k-hero-slider .k-hero-slide,
  .k-load-more-reviews {
    transition: none !important;
  }
}
