/* Kimia Atelier — premium minimal product + header */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700&display=swap');

:root {
  --kh-green: #2F6B45;
  --kh-dark: #1E4A34;
  --kh-cream: #F5F8F5;
  --kh-cream-2: #E8EFE9;
  --kh-gold: #B58E47;
  --kh-text: #243028;
  --kh-muted: #6B655C;
  --kh-line: #D8E2DA;
  --kh-white: #fff;
  --kh-max: 1180px;
  --kh-font: "Vazirmatn", "IRANYekan", Tahoma, sans-serif;
}

.kh-atelier,
.kh-atelier button,
.kh-atelier input,
.kh-atelier .kh-p-title,
.kh-atelier .kh-note,
.kh-atelier .kh-related {
  font-family: var(--kh-font);
}

/* ---------- Header ---------- */
.kh-atelier .elementor-location-header {
  position: sticky;
  top: 0;
  z-index: 200;
}
.kh-atelier .elementor-location-header > .elementor-element {
  background: rgba(255,255,255,.94) !important;
  backdrop-filter: saturate(1.1) blur(12px);
  border-bottom: 1px solid var(--kh-line);
}
.kh-topbar-wrap {
  background: var(--kh-dark) !important;
}
.kh-search {
  display: flex;
  max-width: 420px;
  background: var(--kh-cream);
  border: 1px solid var(--kh-line);
  border-radius: 999px;
  overflow: hidden;
}
.kh-search:focus-within {
  border-color: var(--kh-green);
  box-shadow: 0 0 0 3px rgba(47,107,69,.12);
}
.kh-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 11px 16px;
  outline: none;
  font: inherit;
  font-size: 13px;
}
.kh-search button {
  border: 0;
  background: var(--kh-green);
  color: #fff;
  padding: 0 18px;
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.kh-header-actions a {
  color: var(--kh-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}
.kh-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.kh-nav a {
  color: var(--kh-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  opacity: .78;
}
.kh-nav a:hover,
.kh-nav li.is-active a {
  color: var(--kh-green);
  opacity: 1;
}
.kh-nav li.is-active a {
  box-shadow: inset 0 -2px 0 var(--kh-green);
}

/* ---------- Product page shell ---------- */
.kh-atelier-product .elementor-location-single,
.kh-atelier-product.elementor-template-full-width {
  background: var(--kh-cream) !important;
}
.kh-atelier-product #content,
.kh-atelier-product .site-main,
.kh-atelier-product .elementor-6676,
.kh-atelier-product .elementor-5676 {
  background: transparent;
}

.kh-p-stage {
  max-width: var(--kh-max);
  margin: 0 auto;
  padding: 28px 20px 10px;
}

.kh-p-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 42px !important;
  align-items: start;
}
.kh-atelier-product .kh-p-grid.e-con,
.kh-atelier-product .kh-p-grid.e-flex {
  display: grid !important;
  flex-direction: unset !important;
}
.kh-atelier-product .kh-p-visual,
.kh-atelier-product .kh-p-info {
  width: auto !important;
  max-width: none !important;
}

.kh-p-visual {
  position: sticky;
  top: 110px;
}
.kh-p-visual .woocommerce-product-gallery {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
.kh-p-visual .woocommerce-product-gallery__wrapper,
.kh-p-visual .woocommerce-product-gallery__image {
  border-radius: 22px;
  overflow: hidden;
  background: #1a1a1a;
}
.kh-p-visual .woocommerce-product-gallery__image img {
  width: 100%;
  display: block;
  border-radius: 22px;
}
.kh-p-visual .flex-control-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px !important;
  padding: 0 !important;
}
.kh-p-visual .flex-control-thumbs li {
  width: 64px !important;
  float: none !important;
  margin: 0 !important;
}
.kh-p-visual .flex-control-thumbs img {
  border-radius: 10px;
  border: 1px solid var(--kh-line);
  opacity: .85;
}
.kh-p-visual .onsale {
  background: var(--kh-gold) !important;
  color: #fff !important;
  border-radius: 999px !important;
  min-height: auto !important;
  line-height: 1.2 !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  right: 14px !important;
  top: 14px !important;
  left: auto !important;
}

.kh-p-info {
  padding-top: 8px;
}
.kh-p-info > .elementor-element,
.kh-p-grid > .e-con-inner > .elementor-element,
.kh-atelier-product .kh-p-info .elementor-widget {
  margin: 0 !important;
}
.kh-atelier-product .kh-p-info .elementor-widget-container {
  padding: 0 !important;
}
.kh-atelier-product .kh-p-info .elementor-element + .elementor-element {
  margin-top: 0 !important;
}
.kh-p-crumb {
  font-size: 12px;
  color: var(--kh-muted);
  margin-bottom: 14px;
}
.kh-p-crumb a { color: inherit; text-decoration: none; }
.kh-p-crumb a:hover { color: var(--kh-green); }

.kh-p-title {
  margin: 0 0 14px;
  color: var(--kh-dark);
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.kh-p-price {
  margin: 0 0 18px;
}
.kh-p-price .price,
.kh-p-price .amount {
  color: var(--kh-green) !important;
  font-size: 1.55rem !important;
  font-weight: 700 !important;
}
.kh-p-price del .amount {
  color: var(--kh-muted) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
}

.kh-p-buy {
  margin: 0 0 22px;
}
.kh-p-buy .cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 !important;
}
.kh-p-buy .quantity .qty {
  width: 72px;
  min-height: 52px;
  border-radius: 14px !important;
  border: 1px solid var(--kh-line) !important;
  background: #fff !important;
  font-weight: 600;
}
.kh-p-buy .single_add_to_cart_button {
  flex: 1;
  min-width: 180px;
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--kh-dark) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 0 22px !important;
  transition: background .2s, transform .2s;
}
.kh-p-buy .single_add_to_cart_button:hover {
  background: var(--kh-green) !important;
  transform: translateY(-1px);
}
.kh-p-buy .stock.out-of-stock,
.kh-atelier-product .stock.out-of-stock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 0;
  border-radius: 14px;
  background: #EEF3EF;
  color: #7A5A3A !important;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid #E5D3BC;
}

.kh-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  color: var(--kh-muted);
  font-size: 12px;
}
.kh-trust li {
  position: relative;
  padding-inline-start: 12px;
}
.kh-trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kh-green);
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Distillery note — editorial, not form */
.kh-note {
  border-top: 1px solid var(--kh-line);
  padding-top: 22px;
}
.kh-note__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: var(--kh-text);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.kh-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--kh-gold);
  display: inline-block;
}
.kh-note__meter {
  margin-bottom: 16px;
}
.kh-note__meter-track {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(to left, #C9784A, #E6D3A8, #7BA7C9);
}
.kh-note__meter-track i {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--kh-dark);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.16);
  transform: translate(-50%, -50%);
}
.kh-note__meter-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--kh-muted);
}
.kh-note__uses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.kh-use {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--kh-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 2px;
  cursor: pointer;
  box-shadow: inset 0 -1px 0 transparent;
  transition: color .2s, box-shadow .2s;
}
.kh-use.is-active,
.kh-use:hover {
  color: var(--kh-dark);
  box-shadow: inset 0 -2px 0 var(--kh-green);
}
.kh-note__guide {
  margin: 0 0 20px;
  color: var(--kh-muted);
  font-size: 13.5px;
  line-height: 1.9;
  max-width: 36em;
}
.kh-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 10px;
  margin-bottom: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--kh-line);
  border-bottom: 1px solid var(--kh-line);
}
.kh-specs em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--kh-muted);
  margin-bottom: 4px;
}
.kh-specs strong {
  display: block;
  font-size: 13px;
  color: var(--kh-dark);
  font-weight: 700;
}
.kh-pairs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
}
.kh-pairs > span {
  color: var(--kh-muted);
  font-weight: 600;
}
.kh-pairs a {
  color: var(--kh-green);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(47,107,69,.25);
}
.kh-pairs a:hover { border-bottom-color: var(--kh-green); }
.kh-fold {
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
}
.kh-fold summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--kh-dark);
}
.kh-fold summary::-webkit-details-marker { display: none; }
.kh-fold summary::after {
  content: "+";
  margin-inline-start: 8px;
  color: var(--kh-gold);
  font-weight: 700;
}
.kh-fold[open] summary::after { content: "–"; }
.kh-fold p {
  margin: 10px 0 0;
  color: var(--kh-muted);
  font-size: 13px;
  line-height: 1.85;
  max-width: 38em;
}

/* Related */
.kh-related {
  max-width: var(--kh-max);
  margin: 0 auto;
  padding: 18px 20px 56px;
}
.kh-related__head h2 {
  margin: 0 0 6px;
  color: var(--kh-dark);
  font-size: 1.35rem;
}
.kh-related__head p {
  margin: 0 0 18px;
  color: var(--kh-muted);
  font-size: 13px;
}
.kh-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.kh-related__card {
  text-decoration: none;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--kh-line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  color: inherit;
}
.kh-related__card:hover {
  transform: translateY(-3px);
  border-color: #d5c7b0;
  box-shadow: 0 10px 28px rgba(30,74,52,.08);
}
.kh-related__media {
  aspect-ratio: 1;
  background: #f3eee4;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.kh-related__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kh-related__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kh-related__body strong {
  font-size: 13px;
  color: var(--kh-dark);
  line-height: 1.5;
  font-weight: 700;
}
.kh-related__body span,
.kh-related__body .amount {
  color: var(--kh-green) !important;
  font-size: 13px;
  font-weight: 700;
}

/* Sticky mobile buy */
.kh-sticky-buy {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 300;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--kh-line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.kh-sticky-buy__inner {
  max-width: var(--kh-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.kh-sticky-buy__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.kh-sticky-buy__meta strong {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 55vw;
  color: var(--kh-dark);
}
.kh-sticky-buy__meta .amount { color: var(--kh-green); font-weight: 700; font-size: 12px; }
.kh-sticky-buy__btn {
  background: var(--kh-dark);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.kh-sticky-buy__btn.is-muted {
  background: #DCE5DE;
  color: #7A5A3A !important;
}

/* Hide noisy Woo leftovers on product */
.kh-atelier-product .woocommerce-product-details__short-description,
.kh-atelier-product .product_meta,
.kh-atelier-product .woocommerce-tabs {
  display: none !important;
}

@media (max-width: 900px) {
  .kh-p-grid,
  .kh-atelier-product .kh-p-grid.e-con {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  .kh-p-visual { position: static; }
  .kh-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-search { display: none; }
  .kh-sticky-buy { display: block; }
  .kh-atelier-product { padding-bottom: 82px; }
  .kh-nav ul { flex-wrap: nowrap; overflow-x: auto; }
  .kh-nav a { white-space: nowrap; }
}
@media (min-width: 901px) {
  .kh-sticky-buy { display: none !important; }
}

/* ---------- Contact page ---------- */
.kh-contact-page .elementor-3886,
.kh-contact-page .site-main,
.kh-contact-page #content {
  background: var(--kh-cream) !important;
}
.kh-contact {
  max-width: var(--kh-max);
  margin: 0 auto;
  padding: 36px 20px 64px;
}
.kh-contact__hero {
  max-width: 36rem;
  margin-bottom: 36px;
}
.kh-contact__eyebrow {
  margin: 0 0 8px;
  color: var(--kh-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.kh-contact__hero h1 {
  margin: 0 0 12px;
  color: var(--kh-dark);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.kh-contact__lead {
  margin: 0;
  color: var(--kh-muted);
  font-size: 15px;
  line-height: 1.9;
}
.kh-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}
.kh-contact__channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kh-channel {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--kh-line);
  border-radius: 18px;
  padding: 16px 18px;
}
.kh-channel__label {
  display: block;
  font-size: 11px;
  color: var(--kh-muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.kh-channel__value {
  display: block;
  color: var(--kh-dark);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.5;
  margin: 0;
}
a.kh-channel__value:hover { color: var(--kh-green); }
.kh-channel__actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.kh-channel__actions a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--kh-green);
  background: #F3F8F4;
  border: 1px solid #D7E6DB;
  border-radius: 999px;
  padding: 7px 12px;
}
.kh-channel__actions a:hover {
  background: #E7F2EA;
  border-color: var(--kh-green);
}
.kh-contact__hours {
  margin: 6px 2px 0;
  color: var(--kh-muted);
  font-size: 12.5px;
  line-height: 1.7;
}
.kh-contact__form-wrap {
  background: #fff;
  border: 1px solid var(--kh-line);
  border-radius: 22px;
  padding: 24px 22px 26px;
}
.kh-contact__form-wrap h2 {
  margin: 0 0 6px;
  color: var(--kh-dark);
  font-size: 1.25rem;
}
.kh-contact__form-wrap > p {
  margin: 0 0 18px;
  color: var(--kh-muted);
  font-size: 13px;
  line-height: 1.8;
}
.kh-contact__flash {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.kh-contact__flash.is-ok {
  background: #EAF5EE;
  color: var(--kh-dark);
  border: 1px solid #C9E2D1;
}
.kh-contact__flash.is-err {
  background: #F8EEE6;
  color: #7A4A2A;
  border: 1px solid #E5D0BC;
}
.kh-contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.kh-contact__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--kh-muted);
}
.kh-contact__form label.is-full { grid-column: 1 / -1; }
.kh-contact__form input,
.kh-contact__form select,
.kh-contact__form textarea {
  border: 1px solid var(--kh-line);
  border-radius: 12px;
  background: var(--kh-cream);
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--kh-text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.kh-contact__form input:focus,
.kh-contact__form select:focus,
.kh-contact__form textarea:focus {
  border-color: var(--kh-green);
  box-shadow: 0 0 0 3px rgba(47,107,69,.12);
  background: #fff;
}
.kh-contact__form textarea { resize: vertical; min-height: 120px; }
.kh-contact__form button {
  grid-column: 1 / -1;
  margin-top: 4px;
  border: 0;
  border-radius: 14px;
  min-height: 52px;
  background: var(--kh-dark);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.kh-contact__form button:hover {
  background: var(--kh-green);
  transform: translateY(-1px);
}
.kh-topbar-phones a {
  color: #fff !important;
  text-decoration: none;
  margin-inline: 6px;
  font-weight: 600;
}
.kh-topbar-phones a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .kh-contact__grid { grid-template-columns: 1fr; }
  .kh-contact__form { grid-template-columns: 1fr; }
  .kh-contact { padding-top: 24px; }
}

/* ========== LOCKED single product (kh-sp) — overrides Elementor/Ahura mess ========== */
.kh-atelier-product #goto-top,
.kh-atelier #goto-top,
.kh-atelier-product .ahura-sticky-basket,
.kh-atelier-product .ahura-sticky-addtocart,
.kh-atelier-product .product-page-fullwidth-container > .related,
.kh-atelier-product .elementor-location-single .related.products,
.kh-atelier-product .woocommerce-tabs,
.kh-atelier-product .upsells {
  display: none !important;
}

.kh-atelier-product .elementor-location-single,
.kh-atelier-product.elementor-template-full-width,
.kh-atelier-product .site-main {
  background: var(--kh-cream) !important;
}

.kh-sp {
  max-width: var(--kh-max);
  margin: 0 auto;
  padding: 28px 20px 48px;
  position: relative;
  z-index: 1;
  clear: both;
}

.kh-sp__stage {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.kh-sp__media {
  position: relative;
}
.kh-sp__figure {
  background: #111;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.kh-sp__img,
.kh-sp__figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  opacity: 1 !important;
  max-width: none !important;
}
.kh-sp__sale {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  background: var(--kh-gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
}
.kh-sp__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.kh-sp__thumb {
  appearance: none;
  border: 1px solid var(--kh-line);
  background: #fff;
  border-radius: 12px;
  padding: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
  cursor: pointer;
  opacity: .75;
}
.kh-sp__thumb.is-active,
.kh-sp__thumb:hover {
  opacity: 1;
  border-color: var(--kh-green);
}
.kh-sp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kh-sp__info {
  min-width: 0;
  padding-top: 4px;
}
.kh-sp__crumb {
  font-size: 12px;
  color: var(--kh-muted);
  margin: 0 0 14px;
}
.kh-sp__crumb a {
  color: inherit;
  text-decoration: none;
}
.kh-sp__title {
  margin: 0 0 12px;
  color: var(--kh-dark);
  font-size: clamp(1.65rem, 2.3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.kh-sp__price {
  margin: 0 0 18px;
}
.kh-sp__price .amount {
  color: var(--kh-green) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}
.kh-sp__price del .amount {
  color: var(--kh-muted) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
}

.kh-sp__buy {
  margin: 0 0 18px;
}
.kh-sp__buy .cart {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
}
.kh-sp__buy .quantity {
  float: none !important;
  margin: 0 !important;
}
.kh-sp__buy .quantity .qty {
  width: 72px;
  min-height: 52px;
  border-radius: 14px !important;
  border: 1px solid var(--kh-line) !important;
  background: #fff !important;
}
.kh-sp__buy .single_add_to_cart_button {
  flex: 1;
  min-width: 180px;
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--kh-dark) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  float: none !important;
}
.kh-sp__buy .stock.out-of-stock {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 0 !important;
  border-radius: 14px;
  background: #EEF3EF !important;
  color: #7A5A3A !important;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid #E5D3BC;
}

.kh-sp__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  color: var(--kh-muted);
  font-size: 12px;
}
.kh-sp__trust a {
  color: var(--kh-green);
  text-decoration: none;
  font-weight: 700;
}

.kh-sp .kh-related {
  padding: 8px 0 0;
  max-width: none;
}
.kh-sp .kh-related__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Kill leftover Elementor flex from old template wrappers around shortcode */
.kh-atelier-product .elementor-location-single .e-con.kh-p-stage-wrap,
.kh-atelier-product .elementor-location-single .e-con.kh-p-grid {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.kh-atelier-product .elementor-location-single .e-con-inner {
  max-width: none !important;
  padding: 0 !important;
}

@media (max-width: 900px) {
  .kh-sp__stage {
    grid-template-columns: 1fr !important;
    gap: 22px;
  }
  .kh-sp .kh-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
