
/* ============================================================
   Kara Tejarat - Single Product Redesign  (v1.0)
   Palette: #bf4d33 / #d9744f / #445751 / #f1e9dd
   Scope: body.single-product  (WooCommerce product pages only)
   ============================================================ */

body.single-product {
  --kp-accent: #bf4d33;
  --kp-accent-2: #d9744f;
  --kp-ink: #445751;
  --kp-ink-soft: #5c6b64;
  --kp-muted: #7a857e;
  --kp-cream: #f1e9dd;
  --kp-inset: #efe6d9;
  --kp-line: rgba(68, 87, 81, .08);
  --kp-radius: 28px;
  --kp-header-h: 88px;
  --kp-shadow: 0 26px 60px -34px rgba(68, 87, 81, .38), 0 2px 10px rgba(68, 87, 81, .04);
}

body.single-product { overflow-x: hidden; }

body.single-product .page-content {
  max-width: 1300px;
  margin-inline: auto;
  padding: 20px clamp(14px, 3vw, 30px) 64px;
}

body.single-product .page-content > .woocommerce-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 .3rem;
  font-size: 12.5px;
  color: var(--kp-muted);
  margin: 0 0 18px;
  line-height: 1.9;
}
body.single-product .woocommerce-breadcrumb a {
  color: var(--kp-ink);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
body.single-product .woocommerce-breadcrumb a:hover { color: var(--kp-accent); }

/* ---------- main grid ---------- */
body.single-product div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  column-gap: clamp(20px, 2.6vw, 44px);
  row-gap: 34px;
  align-items: start;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  position: relative;
}
body.single-product div.product::before,
body.single-product div.product::after { content: none !important; display: none !important; }

body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product .summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  clear: none !important;
}

/* ---------- gallery ---------- */
body.single-product div.product .woocommerce-product-gallery {
  position: relative;
  background: linear-gradient(155deg, #FFFFFF 0%, #faf6ef 62%, #f2eade 100%);
  border: 1px solid rgba(191, 77, 51, .12);
  border-radius: 32px;
  padding: clamp(12px, 1.8vw, 22px);
  box-shadow: var(--kp-shadow);
  overflow: hidden;
  isolation: isolate;
}
body.single-product div.product .woocommerce-product-gallery::before {
  content: "";
  position: absolute;
  inset-block-end: -45%;
  inset-inline: -15%;
  height: 78%;
  background: radial-gradient(closest-side, rgba(217, 116, 79, .30), rgba(217, 116, 79, 0) 72%);
  pointer-events: none;
  z-index: -1;
}
body.single-product div.product .woocommerce-product-gallery__wrapper {
  border-radius: 22px;
  overflow: hidden;
  background: transparent;
}
body.single-product div.product .woocommerce-product-gallery__image,
body.single-product div.product .woocommerce-product-gallery__image a { display: block; }
body.single-product div.product .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  transition: transform .7s cubic-bezier(.19, 1, .22, 1);
}
@media (hover: hover) {
  body.single-product div.product .woocommerce-product-gallery:hover .woocommerce-product-gallery__image img { transform: scale(1.045); }
}

/* thumbnails */
body.single-product div.product ol.flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
body.single-product div.product ol.flex-control-thumbs li {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
body.single-product div.product ol.flex-control-thumbs img {
  border-radius: 14px;
  border: 2px solid transparent;
  opacity: .6;
  transition: opacity .25s ease, border-color .25s ease, transform .25s ease;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  height: auto;
}
body.single-product div.product ol.flex-control-thumbs img:hover,
body.single-product div.product ol.flex-control-thumbs img.flex-active {
  opacity: 1;
  border-color: var(--kp-accent);
}

/* sale badge */
body.single-product div.product span.onsale {
  background: linear-gradient(135deg, var(--kp-accent), var(--kp-accent-2)) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: .2px;
  line-height: 1.8 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 4px 14px !important;
  inset-block-start: 16px !important;
  inset-inline-start: 16px !important;
  box-shadow: 0 10px 22px -12px rgba(191, 77, 51, .9);
  z-index: 9;
}

/* ---------- summary card ---------- */
body.single-product div.product .summary {
  position: sticky;
  top: calc(var(--kp-header-h) + 18px);
  background: #fff;
  border: 1px solid var(--kp-line);
  border-radius: 32px;
  padding: clamp(20px, 2.4vw, 32px);
  box-shadow: var(--kp-shadow);
  align-self: start;
}

body.single-product div.product .product_title.entry-title {
  font-family: "peida black", "peida semi", sans-serif;
  font-size: clamp(22px, 2.7vw, 32px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--kp-ink);
  margin: 0 0 14px;
  padding-bottom: 14px;
  position: relative;
  letter-spacing: -.2px;
}
body.single-product div.product .product_title.entry-title::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 58px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--kp-accent), var(--kp-accent-2));
}

/* rating pill */
body.single-product div.product .woocommerce-product-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--kp-inset);
  border-radius: 999px;
  padding: 6px 16px;
  margin: 0 0 16px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--kp-ink-soft);
}
body.single-product div.product .woocommerce-product-rating .star-rating { margin: 0; float: none; }
body.single-product div.product .star-rating span::before,
body.single-product div.product .star-rating::before { color: #d99a2b; }
body.single-product div.product .woocommerce-review-link {
  color: var(--kp-ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(68, 87, 81, .25);
}
body.single-product div.product .woocommerce-review-link:hover { color: var(--kp-accent); }

/* price */
body.single-product div.product .summary .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--kp-ink);
  margin: 0 0 18px;
  line-height: 1.3;
}
body.single-product div.product .summary .price .woocommerce-Price-currencySymbol {
  font-size: .55em;
  font-weight: 700;
  color: var(--kp-accent);
  margin-inline-end: 3px;
  vertical-align: .25em;
}
body.single-product div.product .summary .price del {
  font-size: .5em;
  font-weight: 500;
  color: #a8a196;
  text-decoration-thickness: 1.5px;
}
body.single-product div.product .summary .price ins {
  text-decoration: none;
  background: linear-gradient(180deg, transparent 64%, rgba(217, 116, 79, .32) 64%);
  padding-inline: 4px;
}

/* short description */
body.single-product div.product .woocommerce-product-details__short-description {
  position: relative;
  background: var(--kp-cream);
  border: 1px solid var(--kp-line);
  border-inline-start: 3px solid var(--kp-accent);
  border-radius: 16px;
  padding: 13px 18px;
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--kp-ink-soft);
}
body.single-product div.product .woocommerce-product-details__short-description p { margin: 0; }
body.single-product div.product .woocommerce-product-details__short-description p + p { margin-top: 8px; }

/* ---------- variations ---------- */
body.single-product div.product form.variations_form { margin: 0 0 4px; }
body.single-product div.product table.variations {
  width: 100%;
  margin: 0 0 14px;
  border: 0;
  border-collapse: collapse;
  background: none;
}
body.single-product div.product table.variations tbody,
body.single-product div.product table.variations tr { display: block; }
body.single-product div.product table.variations tr {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 0 0 14px;
}
body.single-product div.product table.variations th.label,
body.single-product div.product table.variations td.value {
  display: block;
  width: 100% !important;
  padding: 0;
  border: 0;
  text-align: start;
  background: none;
}
body.single-product div.product table.variations th.label label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--kp-muted);
  letter-spacing: .2px;
}
body.single-product div.product table.variations select {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: 1.5px solid rgba(68, 87, 81, .14);
  background-color: #fff;
  color: var(--kp-ink);
  font-family: inherit;
  font-size: 14px;
  padding: 0 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%236904F2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-left: 42px;
}
body.single-product div.product table.variations select:focus {
  border-color: var(--kp-accent);
  box-shadow: 0 0 0 4px rgba(191, 77, 51, .12);
  outline: none;
}
body.single-product div.product a.reset_variations {
  font-size: 12px;
  color: var(--kp-muted);
  text-decoration: none;
}
body.single-product div.product a.reset_variations:hover { color: var(--kp-accent); }

/* color swatches (JS enhancement) */
.kp-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 12px;
}
.kp-swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(68, 87, 81, .13);
  background: #fff;
  color: var(--kp-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.kp-swatch:hover { border-color: rgba(191, 77, 51, .5); transform: translateY(-1px); }
.kp-swatch[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--kp-accent), var(--kp-accent-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(191, 77, 51, .85);
}
.kp-swatch__dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(68, 87, 81, .16);
  flex: none;
}
body.single-product div.product .kp-has-swatches table.variations td.value select,
body.single-product div.product .kp-has-swatches table.variations th.label { display: none; }

/* ---------- quantity + add to cart ---------- */
body.single-product div.product .woocommerce-variation-add-to-cart,
body.single-product div.product .variations_button {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
body.single-product div.product div.quantity {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 56px;
  padding: 4px;
  border-radius: 999px;
  background: var(--kp-inset);
  border: 1px solid rgba(191, 77, 51, .10);
  flex: none;
}
body.single-product div.product div.quantity input.qty {
  width: 46px;
  height: 46px;
  border: 0 !important;
  background: transparent !important;
  text-align: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--kp-ink);
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
  box-shadow: none !important;
}
body.single-product div.product div.quantity input.qty::-webkit-outer-spin-button,
body.single-product div.product div.quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.kp-qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--kp-accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(68, 87, 81, .08);
  transition: background .2s ease, color .2s ease, transform .2s ease;
  padding: 0;
}
.kp-qty-btn:hover { background: var(--kp-accent); color: #fff; }
.kp-qty-btn:active { transform: scale(.94); }

body.single-product div.product button.single_add_to_cart_button,
body.single-product div.product a.single_add_to_cart_button {
  flex: 1 1 210px;
  height: 56px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: linear-gradient(135deg, #bf4d33 0%, #cf5f3c 55%, #d9744f 100%) !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 15px !important;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  box-shadow: 0 20px 34px -18px rgba(191, 77, 51, .95);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px !important;
  margin: 0 !important;
}
body.single-product div.product button.single_add_to_cart_button:hover,
body.single-product div.product a.single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 44px -18px rgba(191, 77, 51, 1);
  filter: saturate(1.08);
}
body.single-product div.product button.single_add_to_cart_button:active { transform: translateY(0) scale(.99); }
body.single-product div.product button.single_add_to_cart_button.loading,
body.single-product div.product button.single_add_to_cart_button.disabled,
body.single-product div.product button.single_add_to_cart_button:disabled {
  opacity: .55;
  box-shadow: none;
  filter: grayscale(.35);
  cursor: not-allowed;
  transform: none;
}
body.single-product div.product button.single_add_to_cart_button.added::after { content: ""; }
body.single-product div.product .woocommerce-variation-price { margin: 0 0 12px; font-weight: 800; color: var(--kp-ink); }
body.single-product div.product .woocommerce-variation-availability .stock { font-size: 13px; color: #3f7a5a; }

/* ---------- trust badges ---------- */
.kp-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 16px;
}
.kp-trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--kp-cream);
  border: 1px solid var(--kp-line);
  border-radius: 16px;
  padding: 11px 13px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  color: #4d605a;
  transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.kp-trust__item:hover {
  background: var(--kp-inset);
  border-color: rgba(191, 77, 51, .24);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -20px rgba(191, 77, 51, .8);
}
.kp-trust__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(191, 77, 51, .12), rgba(217, 116, 79, .22));
  color: var(--kp-accent);
}
.kp-trust__icon svg { width: 17px; height: 17px; display: block; }

.kp-consult {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 50px;
  margin-top: 4px;
  border-radius: 999px;
  border: 1.5px solid rgba(68, 87, 81, .14);
  background: #fff;
  color: var(--kp-ink);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .22s ease, color .22s ease, background .22s ease, transform .22s ease;
}
.kp-consult:hover {
  border-color: var(--kp-accent);
  color: var(--kp-accent);
  background: var(--kp-inset);
  transform: translateY(-1px);
}
.kp-consult svg { width: 16px; height: 16px; }

/* ---------- product meta ---------- */
body.single-product div.product .product_meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(68, 87, 81, .14);
  font-size: 12px;
  line-height: 1.9;
  color: var(--kp-muted);
}
body.single-product div.product .product_meta > span { display: block; }
body.single-product div.product .product_meta a {
  color: var(--kp-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(191, 77, 51, .3);
  transition: color .2s ease, border-color .2s ease;
}
body.single-product div.product .product_meta a:hover { color: var(--kp-accent); border-color: var(--kp-accent); }
body.single-product div.product .product_meta .sku { color: var(--kp-ink); font-weight: 700; letter-spacing: .4px; }

/* ---------- tabs ---------- */
body.single-product div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--kp-line);
  border-radius: 28px;
  padding: clamp(16px, 2.2vw, 26px);
  box-shadow: 0 26px 60px -46px rgba(68, 87, 81, .45);
}
body.single-product div.product .woocommerce-tabs::before,
body.single-product div.product .woocommerce-tabs::after { content: none !important; display: none !important; }
body.single-product div.product ul.tabs.wc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none;
}
body.single-product div.product ul.tabs.wc-tabs::before,
body.single-product div.product ul.tabs.wc-tabs::after { content: none !important; display: none !important; }
body.single-product div.product ul.tabs.wc-tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px;
  background: var(--kp-inset);
  float: none !important;
}
body.single-product div.product ul.tabs.wc-tabs li::before,
body.single-product div.product ul.tabs.wc-tabs li::after { content: none !important; display: none !important; }
body.single-product div.product ul.tabs.wc-tabs li a {
  display: block;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #5c6b64;
  text-decoration: none;
  transition: color .2s ease;
}
body.single-product div.product ul.tabs.wc-tabs li.active {
  background: linear-gradient(135deg, var(--kp-accent), var(--kp-accent-2));
  box-shadow: 0 12px 24px -14px rgba(191, 77, 51, .9);
}
body.single-product div.product ul.tabs.wc-tabs li.active a { color: #fff; }
body.single-product div.product .woocommerce-Tabs-panel {
  padding: 4px 2px 0;
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--kp-ink-soft);
}
body.single-product div.product .woocommerce-Tabs-panel h2 {
  font-family: "peida black", "peida semi", sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--kp-ink);
  margin: 0 0 14px;
}
body.single-product div.product table.shop_attributes {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin: 0;
}
body.single-product div.product table.shop_attributes th,
body.single-product div.product table.shop_attributes td {
  background: var(--kp-cream);
  border: 0 !important;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--kp-ink-soft);
  vertical-align: middle;
}
body.single-product div.product table.shop_attributes th {
  font-weight: 700;
  color: var(--kp-ink);
  width: 34%;
  border-start-start-radius: 14px;
  border-end-start-radius: 14px;
}
body.single-product div.product table.shop_attributes td {
  border-start-end-radius: 14px;
  border-end-end-radius: 14px;
}
body.single-product div.product table.shop_attributes td p { margin: 0; }

/* reviews */
body.single-product #reviews { margin-top: 6px; }
body.single-product #reviews .woocommerce-Reviews-title { font-size: 16px; }
body.single-product #review_form #respond .comment-reply-title { font-size: 15px; font-weight: 700; color: var(--kp-ink); }
body.single-product #review_form input[type="text"],
body.single-product #review_form input[type="email"],
body.single-product #review_form textarea,
body.single-product #review_form select {
  width: 100%;
  border-radius: 14px !important;
  border: 1.5px solid rgba(68, 87, 81, .14) !important;
  background: #fff !important;
  padding: 12px 14px !important;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--kp-ink);
}
body.single-product #review_form textarea { min-height: 120px; }
body.single-product #review_form .form-submit input.submit,
body.single-product #review_form button[type="submit"] {
  height: 46px;
  padding: 0 28px !important;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--kp-accent), var(--kp-accent-2));
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 28px -18px rgba(191, 77, 51, .95);
  transition: transform .2s ease;
}
body.single-product #review_form .form-submit input.submit:hover { transform: translateY(-2px); }

/* ---------- related products ---------- */
body.single-product div.product section.related {
  grid-column: 1 / -1;
  margin-top: 6px;
}
body.single-product div.product section.related > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "peida black", "peida semi", sans-serif;
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 500;
  color: var(--kp-ink);
  margin: 0 0 18px;
}
body.single-product div.product section.related > h2::before {
  content: "";
  width: 6px;
  height: 1.1em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--kp-accent), var(--kp-accent-2));
}
body.single-product div.product section.related ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
body.single-product div.product section.related ul.products::before,
body.single-product div.product section.related ul.products::after { content: none !important; display: none !important; }
body.single-product div.product section.related ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  background: #fff;
  border: 1px solid var(--kp-line);
  border-radius: 22px;
  padding: 10px 10px 14px;
  box-shadow: 0 18px 44px -34px rgba(68, 87, 81, .55);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
body.single-product div.product section.related ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: rgba(191, 77, 51, .22);
  box-shadow: 0 26px 50px -30px rgba(191, 77, 51, .55);
}
body.single-product div.product section.related ul.products li.product img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 15px;
  transition: transform .5s cubic-bezier(.19, 1, .22, 1);
  margin: 0 0 10px;
}
body.single-product div.product section.related ul.products li.product:hover img { transform: scale(1.04); }
body.single-product div.product section.related ul.products li.product .woocommerce-loop-product__title {
  font-family: "peida semi", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--kp-ink);
  margin: 0 2px 6px;
  line-height: 1.7;
  padding: 0;
  min-height: 2.9em;
}
body.single-product div.product section.related ul.products li.product .star-rating { margin: 0 2px 6px; font-size: 11px; }
body.single-product div.product section.related ul.products li.product .price {
  display: block;
  margin: 0 2px 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--kp-ink);
}
body.single-product div.product section.related ul.products li.product .price del { font-size: .8em; color: #a8a196; font-weight: 500; }
body.single-product div.product section.related ul.products li.product .price ins { text-decoration: none; }
body.single-product div.product section.related ul.products li.product .button {
  display: grid !important;
  place-items: center;
  width: 100%;
  height: 42px;
  margin: 0 !important;
  border-radius: 999px !important;
  background: var(--kp-ink) !important;
  color: #fff !important;
  font-size: 12.5px !important;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s ease, transform .2s ease;
}
body.single-product div.product section.related ul.products li.product .button:hover {
  background: linear-gradient(135deg, var(--kp-accent), var(--kp-accent-2)) !important;
  transform: translateY(-1px);
}
body.single-product div.product section.related ul.products li.product .onsale {
  inset-block-start: 16px !important;
  inset-inline-start: 16px !important;
  font-size: 10.5px !important;
  padding: 3px 10px !important;
}

/* ---------- notices ---------- */
body.single-product .woocommerce-notices-wrapper { grid-column: 1 / -1; width: 100%; }
body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error {
  border-radius: 16px !important;
  border: 1px solid var(--kp-line) !important;
  background: #fff !important;
  font-size: 13.5px;
  box-shadow: 0 14px 30px -24px rgba(68, 87, 81, .6);
}
body.single-product .woocommerce-message { border-inline-start: 4px solid var(--kp-accent) !important; }

/* ---------- reveal animation ---------- */
.kp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.19, 1, .22, 1);
  will-change: opacity, transform;
}
.kp-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes kp-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
  body.single-product div.product .woocommerce-product-gallery {
    animation: kp-rise .7s cubic-bezier(.19, 1, .22, 1) both;
  }
  body.single-product div.product .summary {
    animation: kp-rise .7s cubic-bezier(.19, 1, .22, 1) .08s both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kp-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- focus ---------- */
body.single-product a:focus-visible,
body.single-product button:focus-visible,
body.single-product select:focus-visible,
body.single-product input:focus-visible,
body.single-product textarea:focus-visible {
  outline: 3px solid rgba(191, 77, 51, .45);
  outline-offset: 2px;
}

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  body.single-product div.product section.related ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
  body.single-product div.product {
    grid-template-columns: 1fr !important;
    row-gap: 20px;
  }
  body.single-product div.product .summary { position: static; }
  body.single-product div.product .woocommerce-product-gallery {
    max-width: none;
    margin-inline: 0 !important;
    border-radius: 26px;
  }
  body.single-product div.product .woocommerce-product-gallery__image img {
    aspect-ratio: 4 / 3.1;
  }
  body.single-product div.product .summary { border-radius: 26px; }
}
@media (max-width: 768px) {
  body.single-product .page-content { padding-bottom: 44px; }
  body.single-product div.product .product_title.entry-title { font-size: 20px; line-height: 1.55; }
  body.single-product div.product .summary .price { font-size: 24px; }
  body.single-product div.product button.single_add_to_cart_button {
    flex: 1 1 auto;
    font-size: 14px !important;
  }
  body.single-product div.product section.related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.single-product div.product .woocommerce-product-gallery__image img { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 480px) {
  body.single-product .page-content { padding-inline: 12px; }
  body.single-product div.product .summary,
  body.single-product div.product .woocommerce-tabs { border-radius: 22px; padding: 16px; }
  body.single-product div.product .woocommerce-product-gallery { border-radius: 22px; padding: 10px; }
  .kp-trust { grid-template-columns: 1fr; gap: 8px; margin: 18px 0 12px; }
  body.single-product div.product div.quantity { height: 52px; }
  body.single-product div.product button.single_add_to_cart_button { height: 52px !important; }
  .kp-qty-btn { width: 40px; height: 40px; }
  body.single-product div.product ul.tabs.wc-tabs li a { padding: 9px 15px; font-size: 12px; }
  body.single-product div.product section.related ul.products { gap: 10px; }
}


/* ---------- fixes: box model ---------- */
body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product .summary,
body.single-product div.product .woocommerce-tabs,
body.single-product div.product section.related,
body.single-product div.product section.related ul.products li.product {
  box-sizing: border-box;
}
body.single-product div.product .woocommerce-product-gallery *,
body.single-product div.product .summary * { box-sizing: border-box; }
body.single-product div.product { min-width: 0; }
body.single-product div.product > * { min-width: 0; }


/* ---------- hard overrides vs theme button styles ---------- */
body.single-product .kp-swatches .kp-swatch {
  background: #ffffff !important;
  color: #445751 !important;
  border: 1.5px solid rgba(68, 87, 81, .13) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  padding: 9px 16px !important;
  min-height: 0 !important;
  height: auto !important;
  line-height: 1.6 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
body.single-product .kp-swatches .kp-swatch:hover {
  border-color: rgba(191, 77, 51, .55) !important;
  transform: translateY(-1px);
}
body.single-product .kp-swatches .kp-swatch[aria-pressed="true"] {
  background: linear-gradient(135deg, #bf4d33, #d9744f) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px -12px rgba(191, 77, 51, .85) !important;
}
body.single-product div.product div.quantity .kp-qty-btn {
  background: #ffffff !important;
  color: #bf4d33 !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(68, 87, 81, .10) !important;
  height: 44px !important;
  width: 44px !important;
  min-height: 0 !important;
  padding: 0 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}
body.single-product div.product div.quantity .kp-qty-btn:hover {
  background: #bf4d33 !important;
  color: #ffffff !important;
}
body.single-product div.product button.single_add_to_cart_button.disabled,
body.single-product div.product button.single_add_to_cart_button.wc-variation-selection-needed,
body.single-product div.product button.single_add_to_cart_button:disabled {
  opacity: .95 !important;
  filter: none !important;
  background: linear-gradient(135deg, #d9744f 0%, #dda290 100%) !important;
  box-shadow: 0 16px 28px -20px rgba(191, 77, 51, .75) !important;
  cursor: not-allowed !important;
}
body.single-product .kp-has-swatches a.reset_variations { display: none !important; }

@media (min-width: 993px) {
  body.single-product div.product .woocommerce-product-gallery {
    position: sticky;
    top: calc(var(--kp-header-h) + 18px);
  }
}


/* ---------- hints + table alignment ---------- */
body.single-product div.product .kp-hint {
  margin: -2px 0 14px;
  font-size: 11.5px;
  line-height: 1.9;
  color: #95908a;
  text-align: start;
}
body.single-product div.product table.shop_attributes td,
body.single-product div.product table.shop_attributes th { text-align: start !important; }
body.single-product div.product .product_meta a {
  border-bottom: 0;
  color: #5c6b64;
  transition: color .2s ease;
}
body.single-product div.product .product_meta a:hover { color: #bf4d33; }
body.single-product div.product .product_meta .posted_in,
body.single-product div.product .product_meta .tagged_as {
  font-size: 11.5px;
  line-height: 2;
}


/* ---------- mobile refinements ---------- */
body.single-product div.product section.related ul.products li.product .onsale {
  left: auto !important;
  right: 12px !important;
  top: 12px !important;
}
body.single-product div.product > span.onsale {
  left: auto !important;
  right: 16px !important;
  top: 16px !important;
}
@media (max-width: 768px) {
  body.single-product div.product .product_meta .tagged_as { display: none !important; }
  body.single-product div.product .product_meta .posted_in {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
@media (max-width: 600px) {
  body.single-product div.product .woocommerce-variation-add-to-cart,
  body.single-product div.product .variations_button {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  body.single-product div.product div.quantity { align-self: center; }
  body.single-product div.product button.single_add_to_cart_button {
    flex: 0 0 auto;
    width: 100%;
  }
}


/* ---------- sale badge inside gallery + price polish ---------- */
body.single-product div.product .woocommerce-product-gallery > span.onsale {
  position: absolute !important;
  top: 22px !important;
  right: auto !important;
  left: auto !important;
  inset-inline-start: 22px !important;
  inset-inline-end: auto !important;
}
body.single-product div.product .summary .price ins {
  background: none !important;
  color: #bf4d33;
  padding-inline: 0;
}
body.single-product div.product .summary .price ins .woocommerce-Price-amount { color: #bf4d33; }
body.single-product div.product .summary .price del {
  order: 2;
  color: #a8a196 !important;
}


/* ---------- rating color ---------- */
body.single-product div.product .star-rating span::before,
body.single-product div.product .star-rating::before { color: #d99a2b !important; }
body.single-product div.product .star-rating span strong { color: #7a857e; font-weight: 600; }


/* ---------- simple product add-to-cart row ---------- */
body.single-product div.product form.cart:not(.variations_form) {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
body.single-product div.product form.cart:not(.variations_form) .single_add_to_cart_button {
  flex: 1 1 210px;
}
@media (max-width: 600px) {
  body.single-product div.product form.cart:not(.variations_form) {
    flex-direction: column;
    align-items: stretch;
  }
  body.single-product div.product form.cart:not(.variations_form) div.quantity { align-self: center; }
  body.single-product div.product form.cart:not(.variations_form) .single_add_to_cart_button { width: 100%; }
}


/* ---------- consistent CTA placement (button at start, stepper after) ---------- */
body.single-product div.product .woocommerce-variation-add-to-cart div.quantity,
body.single-product div.product .variations_button div.quantity { order: 2; }
@media (max-width: 600px) {
  body.single-product div.product div.quantity { order: 1 !important; }
  body.single-product div.product button.single_add_to_cart_button { order: 2 !important; }
}


body.single-product div.product .woocommerce-product-gallery__image img {
  background: transparent !important;
}
body.single-product div.product .woocommerce-product-gallery__image a {
  background: transparent !important;
}


/* ============================================================
   v2.0 — Brand palette: cream / deep green / terracotta
   #f5f0ea (cream) · #445751 (deep green) · #bf4d33 (terracotta)
   ============================================================ */

body.single-product {
  --kp-accent:   #bf4d33;
  --kp-accent-2: #d9744f;
  --kp-ink:      #445751;
  --kp-ink-soft: #5c6b64;
  --kp-muted:    #7a857e;
  --kp-cream:    #f5f0ea;
  --kp-inset:    #f1e9dd;
  --kp-surface:  #fbf8f3;
  --kp-line:     rgba(68, 87, 81, .13);
  --kp-shadow:   0 26px 60px -34px rgba(68, 87, 81, .42), 0 2px 10px rgba(68, 87, 81, .05);
}

/* page canvas */
body.single-product { background-color: #f5f0ea !important; }
body.single-product .page-content,
body.single-product .main-content,
body.single-product #page { background-color: transparent !important; }

/* cards sit slightly lighter than the cream canvas */
body.single-product div.product .summary,
body.single-product div.product .woocommerce-tabs,
body.single-product div.product section.related ul.products li.product {
  background: var(--kp-surface);
}

/* gallery card: warm graded paper */
body.single-product div.product .woocommerce-product-gallery {
  background: linear-gradient(155deg, #FDFBF7 0%, #F8F2E8 58%, #F0E7D9 100%);
  border-color: rgba(68, 87, 81, .16);
}
body.single-product div.product .woocommerce-product-gallery::before {
  background: radial-gradient(closest-side, rgba(191, 77, 51, .17), rgba(191, 77, 51, 0) 72%);
}

/* inset chips inside the cream cards */
body.single-product div.product .woocommerce-product-rating,
body.single-product div.product div.quantity,
body.single-product div.product ul.tabs.wc-tabs li {
  background: var(--kp-inset);
}
body.single-product div.product .kp-trust__item,
body.single-product div.product .woocommerce-product-details__short-description,
body.single-product div.product table.shop_attributes th,
body.single-product div.product table.shop_attributes td {
  background: #f5efe4;
  border-color: rgba(68, 87, 81, .12);
}
body.single-product div.product .kp-trust__item:hover { background: #f0e7d8; }
body.single-product div.product .kp-trust__icon {
  background: linear-gradient(135deg, rgba(191, 77, 51, .12), rgba(217, 116, 79, .22));
}

/* stepper buttons + swatches read on the cream inset */
body.single-product .kp-swatches .kp-swatch { background: #fdfbf7 !important; }
body.single-product div.product div.quantity .kp-qty-btn { background: #fdfbf7 !important; }

/* the deep green carries the quiet UI, terracotta the action */
body.single-product div.product .woocommerce-variation-availability .stock { color: #3f7a5a !important; }
body.single-product div.product .summary .price .woocommerce-Price-currencySymbol { color: var(--kp-accent); }
body.single-product div.product .summary .price ins,
body.single-product div.product .summary .price ins .woocommerce-Price-amount { color: #a83f26; }

/* secondary button (related products) uses deep green, hover goes terracotta */
body.single-product div.product section.related ul.products li.product .button { background: var(--kp-ink) !important; }

/* notices */
body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error { background: var(--kp-surface) !important; }

/* header / footer keep the theme; only the product canvas changes */
body.single-product .woocommerce-breadcrumb a { color: #445751; }
body.single-product .woocommerce-breadcrumb a:hover { color: #bf4d33; }


/* ---------- product pages share the site's brand background gradient ---------- */
body.single-product {
  background: #f5f0ea !important;
  background-image: linear-gradient(180deg, #f3e2d9 0%, #ffffff 300px) !important;
}

/* ---------- short description: the theme wrapper centres itself ---------- */
body.single-product div.product .woocommerce-product-details__short-description .vgblk-rw-wrapper,
body.single-product div.product .woocommerce-product-details__short-description .limit-wrapper {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: start !important;
}
body.single-product div.product .woocommerce-product-details__short-description { text-align: start !important; }

/* ---------- add-to-cart: quiet until a colour is picked ---------- */
body.single-product form.kp-has-swatches button.single_add_to_cart_button:not(.kp-ready) {
  background: #f0e8dc !important;
  background-image: none !important;
  color: #8a938c !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  transform: none !important;
}
body.single-product form.kp-has-swatches button.single_add_to_cart_button:not(.kp-ready):hover {
  transform: none !important;
  box-shadow: none !important;
}
body.single-product form.kp-has-swatches button.single_add_to_cart_button.kp-ready {
  background: linear-gradient(135deg, #bf4d33 0%, #cf5f3c 55%, #d9744f 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 20px 34px -18px rgba(191, 77, 51, .95) !important;
  cursor: pointer !important;
  opacity: 1 !important;
  filter: none !important;
}
body.single-product form.kp-has-swatches button.single_add_to_cart_button.kp-ready:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 26px 44px -18px rgba(191, 77, 51, 1) !important;
}

/* ---------- swatch pressed state stays terracotta ---------- */
body.single-product .kp-swatches .kp-swatch[aria-pressed="true"] {
  background: linear-gradient(135deg, #bf4d33, #d9744f) !important;
  box-shadow: 0 12px 24px -12px rgba(191, 77, 51, .85) !important;
}

/* ---------- review form fields ---------- */
body.single-product #review_form input[type="text"],
body.single-product #review_form input[type="email"],
body.single-product #review_form textarea,
body.single-product #review_form select { background: #fdfbf7 !important; }

/* ---------- focus ring in brand colour ---------- */
body.single-product a:focus-visible,
body.single-product button:focus-visible,
body.single-product select:focus-visible,
body.single-product input:focus-visible,
body.single-product textarea:focus-visible { outline-color: rgba(191, 77, 51, .5); }


/* ---------- button state follows WooCommerce's own class (300ms slideDown delay) ---------- */
body.single-product div.product button.single_add_to_cart_button.disabled,
body.single-product div.product button.single_add_to_cart_button.wc-variation-selection-needed,
body.single-product div.product button.single_add_to_cart_button:disabled {
  background: #f0e8dc !important;
  background-image: none !important;
  color: #5c6b64 !important;
  border: 1.5px dashed rgba(68, 87, 81, .30) !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  transform: none !important;
}
body.single-product div.product button.single_add_to_cart_button.disabled:hover,
body.single-product div.product button.single_add_to_cart_button.wc-variation-selection-needed:hover {
  background: #f0e8dc !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}
/* once WooCommerce enables it, drop the dashed frame */
body.single-product div.product button.single_add_to_cart_button {
  border: 0 !important;
}


/* ---------- final polish: contrast + warm whites ---------- */
body.single-product {
  --kp-ink-soft: #52615a;
  --kp-muted:    #66726b;
}
body.single-product div.product .kp-hint {
  color: #66726b;
  font-size: 12px;
}
body.single-product div.product .summary .price del { color: #948c80; }
body.single-product div.product .product_meta { color: #66726b; }
body.single-product div.product .product_meta a { color: #4a5952; }
body.single-product .woocommerce-breadcrumb { color: #66726b; }
body.single-product .woocommerce-breadcrumb a { color: #445751; }
body.single-product div.product .kp-consult { background: #fdfbf7; }
body.single-product div.product .kp-consult:hover { background: #f0e7d8; }
body.single-product div.product ul.tabs.wc-tabs li a { color: #52615a; }
body.single-product div.product .woocommerce-Tabs-panel { color: #52615a; }


/* ============================================================
   v2.1 — top alignment, header frame, mobile fixes
   ============================================================ */

/* ---------- 1) gallery + summary: one row, both from the top ---------- */
/* the old sticky gallery was pushed down by exactly var(--kp-header-h)+18px */
body.single-product div.product > .woocommerce-product-gallery {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
}
body.single-product div.product {
  align-items: start !important;
}
body.single-product div.product > .woocommerce-product-gallery,
body.single-product div.product > .summary {
  align-self: start !important;
  margin-top: 0 !important;
}

/* ---------- 2) header pill: visible frame on the cream canvas ---------- */
body.single-product div.elementor-element.elementor-element-8737862 {
  box-shadow:
    inset 0 0 0 1px rgba(68, 87, 81, .16),
    0 18px 38px -28px rgba(68, 87, 81, .55) !important;
}

/* ---------- 3) attributes table: honour the label column on desktop ---------- */
body.single-product div.product table.shop_attributes {
  table-layout: fixed;
}
body.single-product div.product table.shop_attributes th { width: 30% !important; }
body.single-product div.product table.shop_attributes td { width: 70% !important; }
body.single-product div.product table.shop_attributes td { font-style: normal !important; }

/* ---------- 4) attributes table on mobile ----------
   WooCommerce's woocommerce-smallscreen.css turns tr/th/td into block
   elements below 768px, so every label lands on its own line above an
   empty value band. Rebuild each row as a clean label/value line. */
@media (max-width: 768px) {
  body.single-product div.product table.shop_attributes {
    display: block !important;
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
  }
  body.single-product div.product table.shop_attributes tbody {
    display: block !important;
    width: 100% !important;
  }
  body.single-product div.product table.shop_attributes tr {
    display: flex !important;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    width: 100% !important;
    box-sizing: border-box;
    background: #f5efe4 !important;
    border: 0 !important;
    border-radius: 13px !important;
    padding: 11px 14px !important;
    margin: 0 0 8px !important;
  }
  body.single-product div.product table.shop_attributes tr:last-child { margin-bottom: 0 !important; }
  body.single-product div.product table.shop_attributes th,
  body.single-product div.product table.shop_attributes td {
    display: block !important;
    width: auto !important;
    max-width: 62% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.7 !important;
  }
  body.single-product div.product table.shop_attributes th {
    flex: 0 0 auto;
    color: #445751 !important;
    font-weight: 700 !important;
    white-space: nowrap;
  }
  body.single-product div.product table.shop_attributes td {
    text-align: end !important;
    color: #52615a !important;
  }
  body.single-product div.product table.shop_attributes td p { padding: 0 !important; }
}

/* ---------- 5) related product buttons must fit their card ---------- */
body.single-product div.product section.related ul.products li.product .button {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding-inline: 8px !important;
  white-space: nowrap !important;
}
@media (max-width: 768px) {
  body.single-product div.product section.related ul.products li.product .button {
    height: 40px !important;
    font-size: 11.5px !important;
  }
}
@media (max-width: 480px) {
  body.single-product div.product section.related ul.products {
    gap: 10px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.single-product div.product section.related ul.products li.product {
    padding: 8px 8px 10px !important;
    border-radius: 18px !important;
  }
  body.single-product div.product section.related ul.products li.product .woocommerce-loop-product__title {
    font-size: 12px !important;
  }
}

/* ---------- 6) mobile: one clean column, no clipping ---------- */
@media (max-width: 600px) {
  body.single-product div.product > .woocommerce-product-gallery,
  body.single-product div.product > .summary,
  body.single-product div.product .woocommerce-tabs,
  body.single-product div.product section.related {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  body.single-product div.product .woocommerce-product-gallery { padding: 12px !important; }
  body.single-product div.product .summary { padding: 18px 16px 16px !important; }
  body.single-product div.product .woocommerce-tabs { padding: 16px 14px 18px !important; }
  body.single-product div.product .product_title { font-size: 21px !important; line-height: 1.5 !important; }
  body.single-product div.product .kp-trust { gap: 8px !important; }
  body.single-product div.product .product_meta { font-size: 11px !important; }
}


/* ---------- 7) product image must fill its card (no letterbox bands) ---------- */
body.single-product div.product .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
body.single-product div.product .woocommerce-product-gallery__image,
body.single-product div.product .woocommerce-product-gallery__image a {
  overflow: hidden;
  border-radius: 18px;
}
@media (max-width: 992px) {
  /* stacked layout: keep the photo block from becoming a huge empty band */
  body.single-product div.product .woocommerce-product-gallery__image img {
    aspect-ratio: 16 / 11 !important;
    object-fit: cover !important;
  }
}
@media (max-width: 480px) {
  body.single-product div.product .woocommerce-product-gallery__image img {
    aspect-ratio: 4 / 3.4 !important;
  }
}


/* ---------- 8) photo keeps its own proportions (no bands, no crop) ---------- */
body.single-product div.product .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}
body.single-product div.product .woocommerce-product-gallery__image,
body.single-product div.product .woocommerce-product-gallery__image a {
  height: auto !important;
  line-height: 0;
}
@media (max-width: 992px) {
  body.single-product div.product .woocommerce-product-gallery__image img {
    aspect-ratio: auto !important;
  }
}


/* ---------- 9) header frame: a touch more definition ---------- */
body.single-product div.elementor-element.elementor-element-8737862 {
  box-shadow:
    inset 0 0 0 1px rgba(68, 87, 81, .22),
    0 20px 40px -30px rgba(68, 87, 81, .65),
    0 2px 6px rgba(68, 87, 81, .05) !important;
}


/* ---------- 10) simple products: the CTA was inheriting flex-basis as HEIGHT ---------- */
/* form.cart:not(.variations_form) .single_add_to_cart_button { flex: 1 1 210px }  */
/* in the <=600px column layout that basis is read as height => a 210px tall pill */
@media (max-width: 600px) {
  body.single-product div.product form.cart:not(.variations_form) {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  body.single-product div.product form.cart:not(.variations_form) .single_add_to_cart_button {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
  }
}
@media (min-width: 601px) {
  body.single-product div.product form.cart:not(.variations_form) .single_add_to_cart_button {
    height: 52px !important;
    min-height: 52px !important;
  }
}
/* keep both product types visually identical on every width */
body.single-product div.product button.single_add_to_cart_button {
  border-radius: 999px !important;
}
