/* =========================================================
   KART RACEWEAR — Single Product Page
   File: /wp-content/themes/hello-elementor/assets/css/product.css
   Scope: body.single-product only
   v3 — merged: base + ShopLentor overrides + refinements
   ========================================================= */

body.single-product {
  --kp-ink:      #101216;
  --kp-ink-2:    #4a5058;
  --kp-ink-3:    #868d97;
  --kp-line:     #e8eaee;
  --kp-line-2:   #d5d9df;
  --kp-bg:       #ffffff;
  --kp-bg-soft:  #f7f8fa;
  --kp-red:      var(--kr-red, #e8000d);
  --kp-red-dark: var(--kr-red-dark, #b80009);
  --kp-dark:     #14161a;
  --kp-ok:       #0a7d3c;
  --kp-r:        14px;
  --kp-r-sm:     8px;
  --kp-shadow:   0 1px 2px rgba(16,20,28,.05), 0 12px 34px rgba(16,20,28,.07);
  --kp-font:     var(--kr-font, 'Poppins', system-ui, sans-serif);
  --kp-font-alt: var(--kr-font-alt, 'Oswald', var(--kp-font));
  --kp-ease:     cubic-bezier(.4, 0, .2, 1);
}

/* ---------------------------------------------------------
   SAFETY
   --------------------------------------------------------- */
body.single-product .product * { min-width: 0; box-sizing: border-box; }
body.single-product .product img { max-width: 100%; height: auto; }

body.single-product .site-main,
body.single-product #content > .woocommerce {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  padding-block: clamp(20px, 3vw, 40px);
  font-family: var(--kp-font);
  color: var(--kp-ink);
}

/* theme sidebar off */
body.single-product #secondary,
body.single-product .widget-area { display: none; }


/* =========================================================
   1. BREADCRUMB
   ========================================================= */
body.single-product .woocommerce-breadcrumb,
body.single-product nav.woocommerce-breadcrumb,
body.single-product .woolentor-breadcrumb {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  float: none !important;
  font-family: var(--kp-font) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--kp-ink-3) !important;
}
body.single-product .woocommerce-breadcrumb a,
body.single-product .woolentor-breadcrumb a {
  font-family: var(--kp-font) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--kp-ink-2) !important;
  text-decoration: none !important;
  text-transform: none !important;
  transition: color .16s var(--kp-ease);
}
body.single-product .woocommerce-breadcrumb a:hover { color: var(--kp-red) !important; }


/* =========================================================
   2. LAYOUT — 2 columns (float / width hard reset)
   ========================================================= */
body.single-product div.product,
body.single-product div.product > * {
  float: none !important;
  clear: none !important;
}

body.single-product div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important;
  grid-auto-flow: row;
  gap: clamp(24px, 4vw, 56px) !important;
  align-items: start;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 clamp(40px, 6vw, 72px) !important;
  padding: 0 !important;
  overflow: visible;
}
body.single-product div.product::before,
body.single-product div.product::after {
  content: none !important;
  display: none !important;
}
body.single-product div.product > .clear,
body.single-product div.product > br { display: none !important; }

/* gallery — left */
body.single-product div.product > .woocommerce-product-gallery,
body.single-product div.product > .images,
body.single-product div.product > div.woocommerce-product-gallery {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  position: sticky;
  top: 100px;
}

/* summary — right */
body.single-product div.product > .summary,
body.single-product div.product > .entry-summary,
body.single-product div.product > div.summary {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
}

/* everything else — full width below */
body.single-product div.product > .woocommerce-tabs,
body.single-product div.product > .wc-tabs-wrapper,
body.single-product div.product > .related,
body.single-product div.product > .upsells,
body.single-product div.product > .up-sells,
body.single-product div.product > .product_meta,
body.single-product div.product > [class*="woolentor"],
body.single-product div.product > div:has(.woocommerce-tabs),
body.single-product div.product > div:has(ul.tabs) {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  float: none !important;
}

/* ShopLentor wrappers collapse karo */
body.single-product .woolentor-single-product-wrapper,
body.single-product .woolentor-product-wrapper,
body.single-product [class*="woolentor-single"] {
  display: contents !important;
}


/* =========================================================
   3. GALLERY
   ========================================================= */
body.single-product .woocommerce-product-gallery__wrapper {
  margin: 0;
  border-radius: var(--kp-r);
  overflow: hidden;
  background: var(--kp-bg-soft);
}
body.single-product .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--kp-r);
}

/* sale badge */
body.single-product span.onsale,
body.single-product .woolentor-sale-badge,
body.single-product [class*="woolentor"] span.onsale {
  position: absolute !important;
  top: 16px !important;
  left: 16px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 5 !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 6px 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--kp-red) !important;
  color: #fff !important;
  font-family: var(--kp-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .07em !important;
  line-height: 1.5 !important;
  text-transform: uppercase !important;
  transform: none !important;
}

/* zoom trigger */
body.single-product .woocommerce-product-gallery__trigger {
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.14);
  color: var(--kp-ink) !important;
  font-size: 0;
  text-decoration: none;
  transition: background .16s var(--kp-ease);
}
body.single-product .woocommerce-product-gallery__trigger:hover { background: #fff !important; }

/* thumbnails */
body.single-product .flex-control-thumbs,
body.single-product [class*="woolentor"] .flex-control-nav {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  float: none !important;
  list-style: none !important;
}
body.single-product .flex-control-thumbs li {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  list-style: none;
}
body.single-product .flex-control-thumbs img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 !important;
  object-fit: cover !important;
  display: block;
  border: 2px solid transparent !important;
  border-radius: 7px !important;
  background: var(--kp-bg-soft);
  opacity: .72;
  cursor: pointer;
  transition: opacity .16s var(--kp-ease), border-color .16s var(--kp-ease);
}
body.single-product .flex-control-thumbs img:hover,
body.single-product .flex-control-thumbs img.flex-active {
  opacity: 1 !important;
  border-color: var(--kp-red) !important;
}


/* =========================================================
   4. SUMMARY — title, price, description
   ========================================================= */
body.single-product .summary > * { margin-bottom: 0; mar}

.ppc-button-wrapper {
	margin-top: 20px;
}

body.single-product .product_title,
body.single-product h1.product_title,
body.single-product div.product .summary h1.product_title,
body.single-product .woolentor-product-title {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  float: none !important;
  font-family: var(--kp-font-alt) !important;
  font-size: clamp(19px, 2.1vw, 27px) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
  letter-spacing: -.003em !important;
  color: var(--kp-ink) !important;
  text-transform: none !important;
  word-break: normal !important;
  overflow-wrap: break-word;
}

/* rating */
body.single-product .summary .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px !important;
  font-size: 13.5px;
}
body.single-product .summary .woocommerce-review-link {
  color: var(--kp-ink-3);
  text-decoration: none;
}

/* price */
body.single-product .summary .price,
body.single-product .summary p.price {
  display: flex !important;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 20px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid var(--kp-line);
  font-family: var(--kp-font) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: var(--kp-ink) !important;
}
body.single-product .summary .price del,
body.single-product .summary .price del .amount {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--kp-ink-3) !important;
  opacity: 1 !important;
  text-decoration: line-through !important;
}
body.single-product .summary .price ins,
body.single-product .summary .price ins .amount,
body.single-product .summary .price > .amount {
  color: var(--kp-ink) !important;
  text-decoration: none !important;
  background: transparent !important;
}
body.single-product .summary .price .woocommerce-Price-currencySymbol { font-size: .78em; }

/* short description */
body.single-product .woocommerce-product-details__short-description {
  margin: 0 0 20px !important;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--kp-line);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--kp-ink-2);
}
body.single-product .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
body.single-product .woocommerce-product-details__short-description ul { margin: 10px 0 0; padding-left: 18px; }
body.single-product .woocommerce-product-details__short-description li { margin-bottom: 5px; }

/* size chart button */
body.single-product .summary [class*="size-chart"],
body.single-product .summary [class*="sizechart"],
body.single-product .summary a[class*="size"],
body.single-product .summary .woolentor-size-chart {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  min-height: 36px !important;
  margin: 0 0 18px !important;
  padding: 7px 15px !important;
  border: 1px solid var(--kp-line-2) !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: var(--kp-ink) !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: border-color .16s var(--kp-ease), color .16s var(--kp-ease) !important;
}
body.single-product .summary [class*="size-chart"]:hover,
body.single-product .summary a[class*="size"]:hover {
  border-color: var(--kp-red) !important;
  color: var(--kp-red) !important;
}


/* =========================================================
   5. VARIATIONS
   ========================================================= */
body.single-product .variations_form { margin: 0 0 18px; }

body.single-product table.variations {
  display: block;
  width: 100%;
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border-collapse: separate;
}
body.single-product table.variations tbody,
body.single-product table.variations tr { display: block; width: 100%; }
body.single-product table.variations tr + tr { margin-top: 14px; }
body.single-product table.variations td {
  display: block;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
body.single-product table.variations td.label { margin-bottom: 6px !important; }
body.single-product table.variations td.label label {
  margin: 0;
  font-family: var(--kp-font) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  color: var(--kp-ink-3) !important;
}

body.single-product table.variations select,
body.single-product .summary select {
  width: 100%;
  min-height: 46px !important;
  padding: 10px 40px 10px 14px !important;
  border: 1px solid var(--kp-line-2) !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23101216' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 12px !important;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--kp-font);
  font-size: 14.5px !important;
  color: var(--kp-ink);
  cursor: pointer;
  transition: border-color .15s var(--kp-ease), box-shadow .15s var(--kp-ease);
}
body.single-product table.variations select:focus {
  border-color: var(--kp-ink) !important;
  box-shadow: 0 0 0 3px rgba(16,20,28,.07) !important;
  outline: none;
}

body.single-product .reset_variations {
  display: inline-block;
  margin-top: 9px;
  font-size: 13px;
  color: var(--kp-ink-3);
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.single-product .reset_variations:hover { color: var(--kp-red); }

body.single-product .woocommerce-variation-price {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 700;
}
body.single-product .woocommerce-variation-availability { margin-bottom: 10px; font-size: 14px; }


/* =========================================================
   6. CUSTOM FIELDS — Personalise your suit
   ========================================================= */
body.single-product form.cart > p:first-of-type,
body.single-product form.cart > h3,
body.single-product .wcpa_form_outer > .wcpa_head {
  margin: 0 0 14px !important;
  padding: 0 0 10px !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--kp-line) !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
  color: var(--kp-ink-3) !important;
}

body.single-product form.cart label,
body.single-product .wcpa_form_outer label,
body.single-product .summary form.cart label {
  display: block !important;
  margin: 0 0 5px !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  line-height: 1.4 !important;
  color: var(--kp-ink) !important;
  text-transform: none !important;
}
body.single-product form.cart label .required,
body.single-product form.cart label abbr {
  color: var(--kp-red) !important;
  border: 0 !important;
  text-decoration: none !important;
}

body.single-product form.cart p,
body.single-product form.cart .form-row,
body.single-product .wcpa_form_outer .wcpa_form_item {
  margin: 0 0 13px !important;
  padding: 0 !important;
}

body.single-product form.cart input[type="text"],
body.single-product form.cart input[type="email"],
body.single-product form.cart input[type="tel"],
body.single-product form.cart input[type="number"]:not(.qty),
body.single-product form.cart textarea,
body.single-product .wcpa_form_outer input[type="text"] {
  width: 100% !important;
  min-height: 42px !important;
  padding: 9px 13px !important;
  border: 1px solid var(--kp-line-2) !important;
  border-radius: 7px !important;
  background: #fff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  color: var(--kp-ink) !important;
  box-shadow: none !important;
  transition: border-color .15s var(--kp-ease), box-shadow .15s var(--kp-ease) !important;
}
body.single-product form.cart input[type="text"]::placeholder,
body.single-product form.cart textarea::placeholder {
  color: #b6bbc3 !important;
  font-size: 13.5px !important;
}
body.single-product form.cart input[type="text"]:focus,
body.single-product form.cart textarea:focus {
  border-color: var(--kp-ink) !important;
  box-shadow: 0 0 0 3px rgba(16,20,28,.07) !important;
  outline: none !important;
}
body.single-product form.cart textarea { min-height: 84px !important; padding: 11px 13px !important; }

/* file upload */
body.single-product form.cart input[type="file"] {
  width: 100% !important;
  padding: 7px !important;
  border: 1px solid var(--kp-line-2) !important;
  border-radius: 7px !important;
  background: #fff !important;
  font-family: inherit !important;
  font-size: 13px !important;
  color: var(--kp-ink-3) !important;
  cursor: pointer;
}
body.single-product form.cart input[type="file"]::file-selector-button {
  margin-right: 11px !important;
  padding: 7px 14px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: var(--kp-dark) !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background .15s var(--kp-ease);
}
body.single-product form.cart input[type="file"]::file-selector-button:hover {
  background: var(--kp-red) !important;
}


/* =========================================================
   7. QTY (own row) + ADD TO CART
   ========================================================= */
body.single-product form.cart,
body.single-product form.cart.variations_form { display: block !important; }
body.single-product form.cart::before,
body.single-product form.cart::after { display: none; }

body.single-product .woocommerce-variation-add-to-cart,
body.single-product form.cart:not(.variations_form) {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin-top: 20px !important;
  padding-top: 18px !important;
  border-top: 1px solid var(--kp-line) !important;
}

body.single-product .quantity {
  order: 1 !important;
  grid-column: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 148px !important;
  max-width: 148px !important;
  height: 46px !important;
  margin: 0 !important;
  border: 1px solid var(--kp-line-2) !important;
  border-radius: 8px !important;
  background: #fff !important;
  overflow: hidden !important;
  float: none !important;
}
body.single-product .quantity input.qty {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--kp-ink) !important;
  -moz-appearance: textfield;
}
body.single-product .quantity input.qty::-webkit-outer-spin-button,
body.single-product .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
body.single-product .quantity .plus,
body.single-product .quantity .minus,
body.single-product .quantity button,
body.single-product .quantity .qty-btn {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  width: 40px !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--kp-ink) !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  cursor: pointer;
  transition: background .15s var(--kp-ease), color .15s var(--kp-ease);
}
body.single-product .quantity .plus:hover,
body.single-product .quantity .minus:hover {
  background: var(--kp-dark) !important;
  color: #fff !important;
}

body.single-product .single_add_to_cart_button,
body.single-product button.single_add_to_cart_button {
  order: 2 !important;
  grid-column: 1 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: none !important;
  width: 100% !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 14px 24px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--kp-red) !important;
  background-image: none !important;
  color: #fff !important;
  font-family: var(--kp-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background .18s var(--kp-ease), transform .12s var(--kp-ease);
}
body.single-product .single_add_to_cart_button:hover:not(.disabled) {
  background: var(--kp-red-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
body.single-product .single_add_to_cart_button:active { transform: translateY(0); }
body.single-product .single_add_to_cart_button.disabled,
body.single-product .single_add_to_cart_button:disabled {
  background: var(--kp-line-2) !important;
  color: #fff !important;
  cursor: not-allowed;
  opacity: 1 !important;
  transform: none !important;
}

/* loading spinner */
body.single-product .single_add_to_cart_button.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
body.single-product .single_add_to_cart_button.loading::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: kp-spin .7s linear infinite;
  opacity: 1 !important;
}
@keyframes kp-spin { to { transform: rotate(360deg); } }
body.single-product .single_add_to_cart_button::before { display: none !important; }

/* wishlist */
body.single-product .summary [class*="wishlist"] { margin: 14px 0 0 !important; }
body.single-product .summary [class*="wishlist"] a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 500;
  color: var(--kp-ink-2) !important;
  text-decoration: none;
  transition: color .16s var(--kp-ease);
}
body.single-product .summary [class*="wishlist"] a:hover { color: var(--kp-red) !important; }

/* trust line */
body.single-product .summary form.cart::after {
  content: "🔒 Secure checkout  ·  🚚 Worldwide shipping  ·  ↩ Easy returns";
  display: block !important;
  margin-top: 16px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--kp-line);
  font-family: inherit !important;
  font-size: 11.5px !important;
  line-height: 1.8 !important;
  color: var(--kp-ink-3);
}

/* product meta */
body.single-product .product_meta {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--kp-line);
  font-size: 13px;
  color: var(--kp-ink-3);
}
body.single-product .product_meta > span { display: block; margin-bottom: 5px; }
body.single-product .product_meta a { color: var(--kp-ink-2); text-decoration: none; }
body.single-product .product_meta a:hover { color: var(--kp-red); }


/* =========================================================
   8. TABS  (ShopLentor overrides included)
   ========================================================= */
body.single-product .woocommerce-tabs {
  display: block !important;
  width: 100% !important;
  margin: 0 0 clamp(40px, 6vw, 68px) !important;
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--kp-line);
  float: none !important;
}

body.single-product div.product ul.tabs,
body.single-product .woocommerce-tabs ul.wc-tabs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 2px !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 0 26px !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--kp-line) !important;
  background: none !important;
  background-color: transparent !important;
  list-style: none !important;
  float: none !important;
}

body.single-product div.product ul.tabs > li {
  display: block !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  float: none !important;
  position: static !important;
  transform: none !important;
  overflow: visible !important;
}

body.single-product div.product ul.tabs > li > a {
  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 14px 22px !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  font-family: var(--kp-font-alt) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  line-height: 1.3 !important;
  color: var(--kp-ink-3) !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  transition: color .16s var(--kp-ease), border-color .16s var(--kp-ease) !important;
}
body.single-product div.product ul.tabs > li > a:hover {
  background: none !important;
  background-color: transparent !important;
  color: var(--kp-ink) !important;
}
body.single-product div.product ul.tabs > li.active,
body.single-product div.product ul.tabs > li.active > a {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
}
body.single-product div.product ul.tabs > li.active > a {
  border-bottom-color: var(--kp-red) !important;
  color: var(--kp-ink) !important;
}

/* plugin decorations kill */
body.single-product div.product ul.tabs::before,
body.single-product div.product ul.tabs::after,
body.single-product div.product ul.tabs > li::before,
body.single-product div.product ul.tabs > li::after,
body.single-product div.product ul.tabs > li > a::before,
body.single-product div.product ul.tabs > li > a::after {
  content: none !important;
  display: none !important;
}

/* panel */
body.single-product div.product .woocommerce-Tabs-panel,
body.single-product div.product .woocommerce-tabs .panel {
  display: block;
  width: 100% !important;
  max-width: 80ch !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  font-family: var(--kp-font) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: var(--kp-ink-2) !important;
}
body.single-product div.product .woocommerce-Tabs-panel p {
  margin: 0 0 14px !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}
body.single-product div.product .woocommerce-Tabs-panel > h2 {
  margin: 0 0 16px !important;
  font-family: var(--kp-font-alt) !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  color: var(--kp-ink) !important;
  text-transform: none !important;
}

/* attributes table */
body.single-product .woocommerce-tabs table.shop_attributes {
  width: 100%;
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-r-sm);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
body.single-product .woocommerce-tabs table.shop_attributes th,
body.single-product .woocommerce-tabs table.shop_attributes td {
  padding: 12px 16px;
  border: 0;
  border-top: 1px solid var(--kp-line);
  font-size: 14px;
}
body.single-product .woocommerce-tabs table.shop_attributes tr:first-child th,
body.single-product .woocommerce-tabs table.shop_attributes tr:first-child td { border-top: 0; }
body.single-product .woocommerce-tabs table.shop_attributes th {
  width: 30%;
  background: var(--kp-bg-soft);
  font-weight: 600;
  color: var(--kp-ink);
  text-align: left;
}


/* =========================================================
   9. RELATED / UPSELLS
   ========================================================= */
body.single-product .related,
body.single-product .upsells,
body.single-product .up-sells {
  margin: 0 0 clamp(40px, 6vw, 68px) !important;
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--kp-line);
}
body.single-product .related > h2,
body.single-product .upsells > h2 {
  margin: 0 0 24px !important;
  font-family: var(--kp-font-alt) !important;
  font-size: clamp(19px, 2.2vw, 25px) !important;
  font-weight: 600 !important;
  color: var(--kp-ink) !important;
  text-transform: none !important;
}

body.single-product ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(14px, 2vw, 24px) !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
body.single-product ul.products::before,
body.single-product ul.products::after { display: none !important; }

body.single-product ul.products li.product {
  position: relative;
  display: flex !important;
  flex-direction: column;
  width: auto !important;
  margin: 0 !important;
  padding: 14px 14px 18px !important;
  float: none !important;
  border: 1px solid var(--kp-line);
  border-radius: var(--kp-r);
  background: #fff;
  text-align: center;
  transition: border-color .18s var(--kp-ease), box-shadow .2s var(--kp-ease), transform .18s var(--kp-ease);
}
body.single-product ul.products li.product:hover {
  border-color: var(--kp-line-2);
  box-shadow: var(--kp-shadow);
  transform: translateY(-3px);
}
body.single-product ul.products li.product img {
  width: 100% !important;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  margin: 0 0 12px !important;
  padding: 6px;
  border-radius: var(--kp-r-sm);
  background: var(--kp-bg-soft);
}
body.single-product ul.products li.product span.onsale {
  top: 20px !important;
  left: auto !important;
  right: 20px !important;
  padding: 4px 11px !important;
  font-size: 10.5px !important;
}
body.single-product ul.products li.product .woocommerce-loop-product__title,
body.single-product ul.products li.product h2 {
  margin: 0 0 9px !important;
  padding: 0 !important;
  font-family: var(--kp-font-alt) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--kp-ink) !important;
  text-decoration: none !important;
}
body.single-product ul.products li.product a {
  text-decoration: none !important;
  color: inherit !important;
}
body.single-product ul.products li.product a:hover .woocommerce-loop-product__title {
  color: var(--kp-red) !important;
}
body.single-product ul.products li.product .price {
  display: flex !important;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 13px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--kp-ink) !important;
}
body.single-product ul.products li.product .price del {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--kp-ink-3) !important;
  opacity: 1 !important;
}
body.single-product ul.products li.product .price ins {
  text-decoration: none !important;
  background: transparent !important;
}
body.single-product ul.products li.product a.button {
  display: block !important;
  width: 100% !important;
  min-height: 44px;
  margin: auto 0 0 !important;
  padding: 12px 14px !important;
  border: 1px solid var(--kp-dark) !important;
  border-radius: var(--kp-r-sm) !important;
  background: var(--kp-dark) !important;
  color: #fff !important;
  font-family: var(--kp-font) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  text-align: center;
  transition: background .18s var(--kp-ease), border-color .18s var(--kp-ease);
}
body.single-product ul.products li.product a.button:hover {
  background: var(--kp-red) !important;
  border-color: var(--kp-red) !important;
}
body.single-product ul.products li.product a.added_to_cart { display: none !important; }


/* =========================================================
   10. NOTICES
   ========================================================= */
body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error {
  margin: 0 0 22px !important;
  padding: 15px 20px !important;
  border: 1px solid var(--kp-line) !important;
  border-left: 3px solid var(--kp-ok) !important;
  border-radius: var(--kp-r-sm) !important;
  background: var(--kp-bg-soft) !important;
  font-family: var(--kp-font);
  font-size: 14.5px;
  color: var(--kp-ink-2) !important;
  list-style: none;
}
body.single-product .woocommerce-message::before,
body.single-product .woocommerce-info::before,
body.single-product .woocommerce-error::before { display: none !important; }
body.single-product .woocommerce-error {
  border-left-color: #c0201c !important;
  background: #fdf3f3 !important;
	display: none;
}
body.single-product .woocommerce-message .button {
  float: right;
  padding: 7px 16px !important;
  border-radius: 6px !important;
  background: var(--kp-dark) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none !important;
}


/* =========================================================
   11. RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  body.single-product div.product {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }
  body.single-product div.product > .woocommerce-product-gallery,
  body.single-product div.product > .images {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: static !important;
    max-width: 560px !important;
    margin-inline: auto !important;
  }
  body.single-product div.product > .summary,
  body.single-product div.product > .entry-summary {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  body.single-product ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  body.single-product .product_title { font-size: clamp(18px, 4.6vw, 23px) !important; }
  body.single-product .summary .price {
    font-size: 23px !important;
    margin-bottom: 18px !important;
    padding-bottom: 18px !important;
  }
  body.single-product .summary .price del { font-size: 15px !important; }
}

@media (max-width: 640px) {
  body.single-product ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  body.single-product ul.products li.product { padding: 10px 10px 14px !important; }
  body.single-product ul.products li.product .woocommerce-loop-product__title { font-size: 12.5px !important; }
  body.single-product ul.products li.product span.onsale { top: 16px !important; right: 16px !important; }

  body.single-product .quantity {
    width: 100% !important;
    max-width: none !important;
  }
  body.single-product .flex-control-thumbs,
  body.single-product [class*="woolentor"] .flex-control-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  body.single-product div.product ul.tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none;
  }
  body.single-product div.product ul.tabs::-webkit-scrollbar { display: none; }
  body.single-product div.product ul.tabs > li > a {
    padding: 12px 16px !important;
    font-size: 13px !important;
  }
  body.single-product .woocommerce-tabs table.shop_attributes th { width: 40% !important; }

  /* iOS zoom prevention */
  body.single-product form.cart input[type="text"],
  body.single-product form.cart textarea { font-size: 16px !important; }
}

@media (max-width: 400px) {
  body.single-product ul.products { grid-template-columns: minmax(0, 1fr) !important; }
  body.single-product .flex-control-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product .product *,
  body.single-product ul.products li.product { transition: none !important; }
}


/* =========================================================
   12. ELEMENTOR / SHOPLENTOR GUARD
   ========================================================= */
body.single-product.kr-custom-hf div.product,
body.single-product [class*="woolentor"] {
  --e-global-color-primary: initial;
  --e-global-color-accent: initial;
  --e-global-typography-primary-font-family: initial;
  --button-background-color: initial;
  --button-text-color: initial;
  --woolentor-primary-color: var(--kp-red);
  --woolentor-secondary-color: var(--kp-dark);
}
body.single-product.kr-custom-hf div.product button,
body.single-product.kr-custom-hf div.product a.button,
body.single-product.kr-custom-hf div.product input,
body.single-product.kr-custom-hf div.product select {
  text-shadow: none;
  background-image: none;
}
body.single-product.kr-custom-hf div.product .elementor-button {
  all: unset;
  cursor: pointer;
}
body.single-product [class*="woolentor"] .button,
body.single-product .woolentor-btn {
  font-family: var(--kp-font) !important;
  border-radius: var(--kp-r-sm) !important;
  text-shadow: none !important;
  background-image: none !important;
}



/* =========================================================
   SALE BADGE — gallery ke andar (JS se move hota hai)
   ========================================================= */

body.single-product div.product { position: static !important; }

body.single-product div.product > .woocommerce-product-gallery,
body.single-product div.product > .images,
body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery figure {
  position: relative;
}

/* badge — chahe kahin bhi ho, gallery ke top-left corner mein */
body.single-product .woocommerce-product-gallery span.onsale,
body.single-product .woocommerce-product-gallery__wrapper span.onsale,
body.single-product span.onsale.kp-badge-moved {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 6 !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 6px 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--kp-red) !important;
  color: #fff !important;
  font-family: var(--kp-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .07em !important;
  line-height: 1.5 !important;
  text-transform: uppercase !important;
  transform: none !important;
}

/* JS fail ho jaye to badge chhupa do — overlap se behtar hai */
body.single-product div.product > span.onsale:not(.kp-badge-moved) {
  display: none !important;
}

/* zoom trigger */
body.single-product .woocommerce-product-gallery__trigger {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  z-index: 6 !important;
}

/* summary badge se upar */
body.single-product div.product > .summary,
body.single-product div.product > .entry-summary {
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  body.single-product div.product > .woocommerce-product-gallery,
  body.single-product div.product > .images {
    position: relative !important;
    top: auto !important;
    z-index: 1;
  }
}

@media (max-width: 640px) {
  body.single-product .woocommerce-product-gallery span.onsale,
  body.single-product span.onsale.kp-badge-moved {
    top: 10px !important;
    left: 10px !important;
    padding: 5px 12px !important;
    font-size: 10px !important;
  }
  body.single-product .woocommerce-product-gallery__trigger {
    top: 10px !important;
    right: 10px !important;
    width: 38px !important;
    height: 38px !important;
  }
}



/* =========================================================
   MOBILE LAYOUT — single column, slider intact
   (file ke bilkul end mein rakho)
   ========================================================= */

@media (max-width: 1024px) {

  /* --- grid: 1 column --- */
  body.single-product div.product,
  body.single-product.kr-custom-hf div.product,
  body.single-product div.product.type-product {
    display: grid !important;
    grid-template-columns: 100% !important;
    gap: 26px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* --- gallery: pehli row --- */
  body.single-product div.product > .woocommerce-product-gallery,
  body.single-product div.product > .images,
  body.single-product.kr-custom-hf div.product > .woocommerce-product-gallery {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    top: auto !important;
  }

  /* --- summary: doosri row --- */
  body.single-product div.product > .summary,
  body.single-product div.product > .entry-summary,
  body.single-product.kr-custom-hf div.product > .summary {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    z-index: 2;
  }

  /* --- baqi sab neeche --- */
  body.single-product div.product > .woocommerce-tabs,
  body.single-product div.product > .related,
  body.single-product div.product > .upsells,
  body.single-product div.product > .up-sells {
    grid-column: 1 / -1 !important;
    order: 3 !important;
    width: 100% !important;
  }
}

/* =========================================================
   FLEXSLIDER — sirf container control, slider mechanics chhodo
   ========================================================= */

/* viewport: yahi images ko clip karta hai */
body.single-product .woocommerce-product-gallery .flex-viewport {
  width: 100%;
  max-width: 100%;
  border-radius: var(--kp-r);
  overflow: hidden;
}

/* wrapper = FlexSlider ka <ul>. Iski width/transform ko HATH MAT LAGAO */
body.single-product .woocommerce-product-gallery__wrapper {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* har slide */
body.single-product .woocommerce-product-gallery__image {
  margin: 0;
  padding: 0;
  list-style: none;
}
body.single-product .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--kp-r);
}

/* agar slider initialize NA ho (JS off) — sirf pehli image dikhao */
body.single-product .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:not(:first-child),
body.single-product .woocommerce-product-gallery__wrapper:not([style]) .woocommerce-product-gallery__image ~ .woocommerce-product-gallery__image {
  display: none;
}

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

@media (max-width: 640px) {
  body.single-product div.product { gap: 22px !important; }
  body.single-product .flex-control-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 400px) {
  body.single-product .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}



/* =========================================================
   SALE BADGE
   ========================================================= */

body.single-product div.product { position: static !important; }

body.single-product div.product > .woocommerce-product-gallery,
body.single-product div.product > .images,
body.single-product .woocommerce-product-gallery .flex-viewport {
  position: relative !important;
}

/* flex-viewport overflow hidden hai — badge ko clip hone se bachao */
body.single-product .woocommerce-product-gallery .flex-viewport {
  overflow: hidden;
}

body.single-product span.onsale,
body.single-product span.onsale.kp-badge-moved,
body.single-product .woocommerce-product-gallery span.onsale {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 10 !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 6px 15px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--kp-red) !important;
  color: #fff !important;
  font-family: var(--kp-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .07em !important;
  line-height: 1.5 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  transform: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.18) !important;
  pointer-events: none;
}

/* zoom icon */
body.single-product .woocommerce-product-gallery__trigger {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  z-index: 10 !important;
}

/* summary badge ke upar */
body.single-product div.product > .summary,
body.single-product div.product > .entry-summary {
  position: relative;
  z-index: 3;
}

@media (max-width: 640px) {
  body.single-product span.onsale,
  body.single-product span.onsale.kp-badge-moved {
    top: 10px !important;
    left: 10px !important;
    padding: 5px 12px !important;
    font-size: 10px !important;
  }
  body.single-product .woocommerce-product-gallery__trigger {
    top: 10px !important;
    right: 10px !important;
    width: 38px !important;
    height: 38px !important;
  }
}