/**
 * Bambogilda single-product experience.
 * Loaded explicitly on product pages in addition to the shared WooCommerce CSS.
 */

body.single-product {
  --bgl-product-border: rgba(37, 49, 41, .10);
  --bgl-product-soft: #f7faef;
  --bgl-product-soft-2: #eef6df;
  --bgl-product-ink: #172018;
  --bgl-product-muted: #667269;
  --bgl-product-shadow: 0 18px 55px rgba(37, 49, 41, .09);
  background:
    radial-gradient(circle at 95% 8%, rgba(206, 226, 107, .20), transparent 25rem),
    linear-gradient(180deg, #fbfdf7 0, #fff 38rem);
  color: var(--bgl-product-ink);
}

body.single-product .zg-woocommerce-main {
  padding: 28px 0 78px;
  background: transparent;
}

body.single-product .zg-woocommerce-main > .zg-container {
  width: min(calc(100% - 40px), 1380px);
}

body.single-product .zg-shop-content,
body.single-product .zg-single-product {
  width: 100%;
  min-width: 0;
}

body.single-product .woocommerce-breadcrumb,
body.single-product .zg-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 20px;
  color: #718077;
  font-size: 12px;
  line-height: 1.7;
}

body.single-product .woocommerce-breadcrumb a,
body.single-product .zg-breadcrumb a {
  color: #4a5a50;
  transition: color .2s ease;
}

body.single-product .woocommerce-breadcrumb a:hover,
body.single-product .zg-breadcrumb a:hover {
  color: var(--zg-jungle-green, #5cb270);
}

body.single-product .woocommerce-notices-wrapper:not(:empty) {
  margin-bottom: 18px;
}

body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  margin: 0 0 14px;
  padding: 13px 18px 13px 155px;
  border: 1px solid rgba(92, 178, 112, .22);
  border-radius: 16px;
  background: #f5faec;
  color: #26382c;
  box-shadow: 0 9px 28px rgba(37, 49, 41, .06);
  font-size: 13px;
  line-height: 1.8;
}

body.single-product .woocommerce-error {
  border-color: rgba(196, 72, 72, .22);
  background: #fff7f5;
}

body.single-product .woocommerce-message .button,
body.single-product .woocommerce-info .button,
body.single-product .woocommerce-error .button {
  position: absolute;
  left: 12px;
  top: 50%;
  min-height: 36px;
  padding: 7px 15px;
  border-radius: 10px;
  background: var(--zg-jungle-green, #5cb270);
  color: #fff;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 700;
}

/* Main product card */
body.single-product .zg-product-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(320px, .92fr) minmax(390px, 1.12fr);
  align-items: start;
  gap: 24px;
  margin: 0;
  padding: 26px;
  border: 1px solid var(--bgl-product-border);
  border-radius: 30px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--bgl-product-shadow);
  direction: rtl;
}

body.single-product .zg-product-buy-column,
body.single-product .zg-product-info-column,
body.single-product .zg-product-gallery-column {
  min-width: 0;
}

/* Gallery */
body.single-product .zg-product-gallery-column {
  position: relative;
  border-radius: 24px;
}

body.single-product .zg-product-gallery-column .woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.single-product .zg-product-gallery-column .woocommerce-product-gallery__wrapper {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(168, 210, 109, .28);
  border-radius: 23px;
  background:
    linear-gradient(145deg, rgba(244, 242, 105, .10), transparent 42%),
    #fbfdf8;
}

body.single-product .zg-product-gallery-column .woocommerce-product-gallery__image,
body.single-product .zg-product-gallery-column .woocommerce-product-gallery__image > a {
  min-height: 470px;
}

body.single-product .zg-product-gallery-column .woocommerce-product-gallery__image > a {
  display: grid;
  place-items: center;
  padding: 30px;
}

body.single-product .zg-product-gallery-column .woocommerce-product-gallery__image img:not(.zoomImg) {
  display: block;
  width: 100%;
  height: 410px;
  margin: auto;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
}

body.single-product .zg-product-gallery-column .flex-control-thumbs {
  display: flex;
  gap: 9px;
  margin: 11px 0 0 !important;
  padding: 2px 1px 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  list-style: none;
}

body.single-product .zg-product-gallery-column .flex-control-thumbs li {
  width: 70px !important;
  min-width: 70px;
  float: none !important;
}

body.single-product .zg-product-gallery-column .flex-control-thumbs img {
  display: block;
  width: 70px;
  height: 70px;
  padding: 5px;
  border: 1px solid rgba(37, 49, 41, .11);
  border-radius: 13px;
  background: #fff;
  object-fit: contain;
  opacity: .78;
  transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease, transform .2s ease;
}

body.single-product .zg-product-gallery-column .flex-control-thumbs img:hover,
body.single-product .zg-product-gallery-column .flex-control-thumbs img.flex-active {
  border-color: var(--zg-jungle-green, #5cb270);
  box-shadow: 0 0 0 3px rgba(92, 178, 112, .11);
  opacity: 1;
  transform: translateY(-1px);
}

body.single-product .zg-product-gallery-actions {
  position: absolute;
  z-index: 10;
  top: 14px;
  right: 14px;
  left: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

body.single-product .zg-product-action-button,
body.single-product .zg-product-gallery-column .woocommerce-product-gallery__trigger {
  position: relative;
  display: grid !important;
  width: 42px;
  height: 42px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(37, 49, 41, .10);
  border-radius: 13px;
  background: rgba(255, 255, 255, .96);
  color: #315c3d;
  box-shadow: 0 8px 24px rgba(37, 49, 41, .10);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

body.single-product .zg-product-gallery-column .woocommerce-product-gallery__trigger.zg-native-gallery-trigger {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body.single-product .zg-product-action-button:hover {
  background: var(--zg-jungle-green, #5cb270);
  color: #fff;
  transform: translateY(-2px);
}

body.single-product .zg-product-gallery-wishlist.is-active {
  border-color: rgba(92, 178, 112, .35);
  background: #edf8e8;
  color: #38794a;
}

/* Product information */
body.single-product .zg-product-info-column {
  padding: 6px 2px;
}

body.single-product .zg-product-info-column .product_title.entry-title {
  margin: 0 0 13px;
  color: var(--bgl-product-ink);
  font-size: clamp(25px, 2.25vw, 35px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -.35px;
}

body.single-product .zg-product-info-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 17px;
}

body.single-product .zg-product-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body.single-product .zg-product-category-pills > span,
body.single-product .zg-product-category-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #eef6df;
  color: #3b6745;
  font-size: 10px;
  font-weight: 600;
}

body.single-product .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #7c887f;
  font-size: 11px;
}

body.single-product .star-rating {
  color: #d6b823;
}

body.single-product .zg-product-short-description {
  margin-bottom: 18px;
  padding: 15px 16px;
  border-right: 3px solid var(--zg-willow-green, #a8d26d);
  border-radius: 13px 0 0 13px;
  background: #fbfdf7;
  color: #58665d;
  font-size: 13px;
  line-height: 2;
}

body.single-product .zg-product-short-description > :last-child {
  margin-bottom: 0;
}

body.single-product .zg-product-key-features {
  margin-top: 18px;
}

body.single-product .zg-product-key-features > h2 {
  margin: 0 0 12px;
  color: #2c3b31;
  font-size: 15px;
  font-weight: 700;
}

body.single-product .zg-product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.single-product .zg-product-feature-item {
  display: flex;
  min-height: 68px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 11px 13px;
  border: 1px solid rgba(168, 210, 109, .22);
  border-radius: 14px;
  background: linear-gradient(145deg, #fbfdf7, #f3f8e9);
}

body.single-product .zg-product-feature-item small {
  color: #7b887f;
  font-size: 9px;
  line-height: 1.5;
}

body.single-product .zg-product-feature-item strong {
  color: #34443a;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.75;
}

body.single-product .zg-product-more-features {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4c7e57;
  font-size: 11px;
  font-weight: 700;
}

body.single-product .zg-product-meta-box {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px dashed rgba(37, 49, 41, .14);
}

body.single-product .zg-product-meta-box .product_meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #78847c;
  font-size: 10px;
  line-height: 1.8;
}

body.single-product .zg-product-meta-box a {
  color: #376d45;
  font-weight: 600;
}

/* Buy card */
body.single-product .zg-product-buy-card {
  position: sticky;
  top: 116px;
  padding: 21px;
  border: 1px solid rgba(92, 178, 112, .20);
  border-radius: 23px;
  background:
    radial-gradient(circle at 0 0, rgba(244, 242, 105, .22), transparent 13rem),
    #f8fbea;
  box-shadow: 0 14px 40px rgba(63, 95, 66, .10);
}

body.admin-bar.single-product .zg-product-buy-card {
  top: 148px;
}

body.single-product .zg-buy-card-title {
  margin: 0 0 14px;
  color: #25362b;
  font-size: 17px;
  font-weight: 700;
}

body.single-product .zg-buy-stock {
  margin-bottom: 12px;
}

body.single-product .zg-buy-stock .stock {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(92, 178, 112, .12);
  color: #397949;
  font-size: 10px;
  font-weight: 700;
}

body.single-product .zg-buy-stock .out-of-stock {
  background: #fff0ed;
  color: #af4d42;
}

body.single-product .zg-buy-price-wrap {
  position: relative;
  display: flex;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  margin-bottom: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(37, 49, 41, .07);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
}

body.single-product .zg-buy-price-wrap > span {
  color: #7a867e;
  font-size: 9px;
}

body.single-product .zg-buy-price,
body.single-product .zg-buy-price .price,
body.single-product .zg-buy-price .woocommerce-Price-amount {
  margin: 0;
  color: #1f3526;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

body.single-product .zg-buy-price del {
  display: block;
  color: #88928b;
  opacity: 1;
  font-size: 11px;
  font-weight: 400;
}

body.single-product .zg-buy-price ins {
  display: block;
  color: #244c2e;
  text-decoration: none;
}

body.single-product .zg-buy-discount {
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  min-width: 41px;
  height: 25px;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--zg-canary-yellow, #f4f269);
  color: #34402e;
  font-size: 10px;
  font-weight: 700;
}

/* Variation form */
body.single-product .zg-product-buy-card form.cart,
body.single-product .zg-product-buy-card form.variations_form.cart {
  display: block;
  margin: 0;
}

body.single-product .zg-product-buy-card table.variations,
body.single-product .zg-product-buy-card table.variations tbody,
body.single-product .zg-product-buy-card table.variations tr,
body.single-product .zg-product-buy-card table.variations th,
body.single-product .zg-product-buy-card table.variations td {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.single-product .zg-product-buy-card table.variations tr {
  margin-bottom: 15px;
}

body.single-product .zg-product-buy-card table.variations th.label {
  margin-bottom: 8px;
  color: #3d4b42;
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}

body.single-product .zg-product-buy-card table.variations td.value {
  position: relative;
}

body.single-product .zg-product-buy-card table.variations select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(37, 49, 41, .15);
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: #2d3d32;
  font-size: 11px;
}

/* Hide the native select only after accessible replacement buttons exist. */
body.single-product .zg-product-buy-card table.variations select.zg-native-variation-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.single-product .zg-variation-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.single-product .zg-variation-swatch {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(37, 49, 41, .14);
  border-radius: 11px;
  background: #fff;
  color: #415047;
  box-shadow: none;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}

body.single-product .zg-variation-swatch:hover:not(:disabled) {
  border-color: rgba(92, 178, 112, .65);
  background: #fbfdf7;
  transform: translateY(-1px);
}

body.single-product .zg-variation-swatch.is-active {
  border-color: var(--zg-jungle-green, #5cb270);
  background: #f3f9e8;
  box-shadow: 0 0 0 3px rgba(92, 178, 112, .12);
  color: #2c673a;
}

body.single-product .zg-variation-swatches.is-color .zg-variation-swatch {
  min-width: 76px;
  justify-content: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
}

body.single-product .zg-variation-swatch-dot,
body.single-product .zg-variation-swatches.is-color .zg-variation-swatch > span:first-child {
  position: relative;
  display: block;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--zg-swatch-color, #dce6da);
  box-shadow: 0 0 0 1px rgba(37, 49, 41, .18), inset 0 0 0 1px rgba(255, 255, 255, .25);
}

body.single-product .zg-variation-swatch strong {
  color: inherit;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

/* Unknown colors stay selectable and are shown as a labelled neutral pattern. */
body.single-product .zg-variation-swatch.is-unrecognized .zg-variation-swatch-dot {
  background:
    linear-gradient(45deg, #edf1ec 25%, transparent 25%) 0 0 / 8px 8px,
    linear-gradient(-45deg, #edf1ec 25%, transparent 25%) 0 4px / 8px 8px,
    linear-gradient(45deg, transparent 75%, #edf1ec 75%) 4px -4px / 8px 8px,
    linear-gradient(-45deg, transparent 75%, #edf1ec 75%) -4px 0 / 8px 8px,
    #fff;
}

body.single-product .zg-variation-swatch.is-unrecognized .zg-variation-swatch-dot::after {
  content: "?";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #6d796f;
  font-size: 11px;
  font-weight: 700;
}

body.single-product .zg-variation-swatch:disabled,
body.single-product .zg-variation-swatch.is-disabled {
  cursor: not-allowed;
  opacity: .38;
  filter: grayscale(.4);
}

body.single-product .zg-variation-swatch:disabled::after,
body.single-product .zg-variation-swatch.is-disabled::after {
  content: "";
  position: absolute;
  right: 8px;
  left: 8px;
  top: 50%;
  height: 1px;
  background: #9c554e;
  transform: rotate(-14deg);
}

body.single-product .reset_variations {
  display: inline-flex;
  margin-top: 9px;
  color: #7c877f;
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.single-product .single_variation_wrap {
  margin-top: 9px;
}

body.single-product .woocommerce-variation-description {
  margin-bottom: 10px;
  color: #667269;
  font-size: 10px;
  line-height: 1.8;
}

body.single-product .woocommerce-variation-price {
  margin-bottom: 12px;
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .78);
}

body.single-product .woocommerce-variation-price .price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  color: #21482b;
  font-size: 17px;
  font-weight: 700;
}

body.single-product .woocommerce-variation-availability .stock {
  margin: 0 0 11px;
  color: #3c7548;
  font-size: 10px;
  font-weight: 600;
}

body.single-product .woocommerce-variation-add-to-cart,
body.single-product .zg-product-buy-card form.cart:not(.variations_form) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 102px;
  align-items: stretch;
  gap: 9px;
}

body.single-product .zg-product-buy-card .quantity {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(32px, 1fr) 30px;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(37, 49, 41, .14);
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
}

body.single-product .zg-product-buy-card .quantity input.qty {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #283a2e;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  -moz-appearance: textfield;
}

body.single-product .zg-product-buy-card .quantity input.qty::-webkit-inner-spin-button,
body.single-product .zg-product-buy-card .quantity input.qty::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

body.single-product .zg-product-qty-button {
  display: grid;
  height: 100%;
  place-items: center;
  padding: 0;
  border: 0;
  background: #f3f8e9;
  color: #42674b;
  font-size: 17px;
}

body.single-product .zg-product-qty-button[data-action="plus"] {
  grid-column: 1;
  grid-row: 1;
}

body.single-product .zg-product-qty-button[data-action="minus"] {
  grid-column: 3;
  grid-row: 1;
}

body.single-product .single_add_to_cart_button,
body.single-product button.single_add_to_cart_button.button.alt {
  min-height: 48px;
  padding: 9px 16px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #5cb270, #4b9f5e);
  color: #fff;
  box-shadow: 0 10px 22px rgba(73, 151, 89, .23);
  font-size: 11px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

body.single-product .single_add_to_cart_button:hover:not(:disabled) {
  box-shadow: 0 13px 28px rgba(73, 151, 89, .30);
  transform: translateY(-1px);
}

body.single-product .single_add_to_cart_button:disabled,
body.single-product .single_add_to_cart_button.disabled,
body.single-product .single_add_to_cart_button.wc-variation-selection-needed {
  cursor: not-allowed;
  background: #aeb9b0;
  box-shadow: none;
  opacity: .72;
}

body.single-product .zg-buy-form > .stock.out-of-stock,
body.single-product form.variations_form > .stock.out-of-stock {
  margin: 0;
  padding: 13px;
  border: 1px solid rgba(181, 81, 68, .15);
  border-radius: 13px;
  background: #fff4f1;
  color: #a24c42;
  font-size: 11px;
  line-height: 1.8;
}

body.single-product .zg-buy-safe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px dashed rgba(37, 49, 41, .13);
  color: #66766b;
  font-size: 9px;
}

body.single-product .zg-buy-safe svg {
  color: #4e9c5e;
}

/* Services */
body.single-product .zg-product-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
  padding: 18px;
  border: 1px solid rgba(37, 49, 41, .08);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(37, 49, 41, .055);
}

body.single-product .zg-product-service {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px;
}

body.single-product .zg-product-service-icon {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  place-items: center;
  border-radius: 14px;
  background: #eef6df;
  color: #477a50;
}

body.single-product .zg-product-service-icon svg {
  width: 31px;
  height: 31px;
}

body.single-product .zg-product-service > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

body.single-product .zg-product-service strong {
  color: #34433a;
  font-size: 10px;
  font-weight: 700;
}

body.single-product .zg-product-service small {
  color: #7d8981;
  font-size: 8px;
}

/* Tabs, attributes and reviews */
body.single-product .zg-product-tabs-wrap {
  margin-top: 27px;
  padding: 24px 26px;
  border: 1px solid rgba(37, 49, 41, .08);
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(37, 49, 41, .055);
}

body.single-product .zg-product-tabs-wrap .woocommerce-tabs {
  margin: 0;
}

body.single-product .zg-product-tabs-wrap .woocommerce-tabs ul.tabs {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 23px;
  padding: 0 0 15px;
  border: 0;
  border-bottom: 1px solid rgba(37, 49, 41, .10);
  overflow-x: auto;
  list-style: none;
}

body.single-product .zg-product-tabs-wrap .woocommerce-tabs ul.tabs::before,
body.single-product .zg-product-tabs-wrap .woocommerce-tabs ul.tabs li::before,
body.single-product .zg-product-tabs-wrap .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

body.single-product .zg-product-tabs-wrap .woocommerce-tabs ul.tabs li {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

body.single-product .zg-product-tabs-wrap .woocommerce-tabs ul.tabs li a {
  display: block;
  min-height: 38px;
  padding: 8px 17px;
  border-radius: 999px;
  color: #6e7b72;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

body.single-product .zg-product-tabs-wrap .woocommerce-tabs ul.tabs li.active a {
  background: var(--zg-jungle-green, #5cb270);
  color: #fff;
  box-shadow: 0 8px 19px rgba(92, 178, 112, .22);
}

body.single-product .zg-product-tabs-wrap .woocommerce-tabs .panel {
  max-width: none;
  margin: 0;
  padding: 0 2px 8px;
  color: #536158;
  font-size: 13px;
  line-height: 2.15;
}

body.single-product .zg-product-tabs-wrap .woocommerce-tabs .panel h2,
body.single-product .zg-product-tabs-wrap .woocommerce-tabs .panel h3 {
  margin: 21px 0 10px;
  color: #294332;
  font-weight: 700;
}

body.single-product .zg-product-tabs-wrap .woocommerce-tabs .panel > h2:first-child {
  margin-top: 0;
}

body.single-product .zg-product-tabs-wrap .woocommerce-tabs .panel h2 {
  font-size: 19px;
}

body.single-product .zg-product-tabs-wrap .woocommerce-tabs .panel h3 {
  font-size: 15px;
}

body.single-product .zg-product-tabs-wrap .woocommerce-tabs .panel ul,
body.single-product .zg-product-tabs-wrap .woocommerce-tabs .panel ol {
  padding-right: 21px;
}

body.single-product table.shop_attributes {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(37, 49, 41, .09);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 15px;
  overflow: hidden;
}

body.single-product table.shop_attributes th,
body.single-product table.shop_attributes td {
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(37, 49, 41, .08);
  background: #fff;
  text-align: right;
  vertical-align: middle;
  font-size: 11px;
}

body.single-product table.shop_attributes tr:last-child th,
body.single-product table.shop_attributes tr:last-child td {
  border-bottom: 0;
}

body.single-product table.shop_attributes th {
  width: 210px;
  background: #f7faef;
  color: #394a3f;
  font-weight: 700;
}

body.single-product table.shop_attributes td p {
  margin: 0;
  color: #5e6c63;
}

body.single-product #reviews #comments,
body.single-product #review_form_wrapper {
  padding: 18px;
  border: 1px solid rgba(37, 49, 41, .08);
  border-radius: 17px;
  background: #fbfdf7;
}

body.single-product #review_form_wrapper {
  margin-top: 17px;
}

body.single-product .woocommerce-Reviews-title,
body.single-product .comment-reply-title {
  display: block;
  margin: 0 0 14px;
  color: #304337;
  font-size: 15px;
  font-weight: 700;
}

body.single-product .comment-form label {
  display: block;
  margin-bottom: 6px;
  color: #536158;
  font-size: 10px;
  font-weight: 600;
}

body.single-product .comment-form textarea,
body.single-product .comment-form input[type="text"],
body.single-product .comment-form input[type="email"] {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(37, 49, 41, .14);
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: #28382e;
}

body.single-product .comment-form textarea:focus,
body.single-product .comment-form input:focus {
  border-color: rgba(92, 178, 112, .65);
  box-shadow: 0 0 0 3px rgba(92, 178, 112, .10);
}

body.single-product .comment-form .submit {
  min-height: 42px;
  padding: 8px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--zg-jungle-green, #5cb270);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* Related products */
body.single-product .zg-single-related {
  margin-top: 34px;
}

body.single-product .zg-single-related-head {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 15px;
}

body.single-product .zg-single-related-head h2 {
  flex: 0 0 auto;
  margin: 0;
  color: #25382c;
  font-size: 23px;
  font-weight: 700;
}

body.single-product .zg-single-related-head::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(37, 49, 41, .10);
}

body.single-product .zg-single-related-head a {
  order: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #426e4c;
  font-size: 10px;
  font-weight: 700;
}

body.single-product .zg-single-related-panel {
  padding: 22px;
  border-radius: 25px;
  background: linear-gradient(135deg, #82c26e, #a8d26d);
  box-shadow: 0 15px 38px rgba(92, 178, 112, .17);
}

body.single-product .zg-single-related-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body.single-product .zg-single-related-track .zg-product-card {
  min-width: 0;
  background: #fff;
}

/* Mobile buy bar: desktop hidden, mobile visible. */
body.single-product .zg-mobile-buy-bar {
  display: none;
}

@media (max-width: 1180px) {
  body.single-product .zg-product-hero-grid {
    grid-template-columns: minmax(250px, .78fr) minmax(290px, .9fr) minmax(330px, 1fr);
    gap: 18px;
    padding: 20px;
  }

  body.single-product .zg-product-gallery-column .woocommerce-product-gallery__image,
  body.single-product .zg-product-gallery-column .woocommerce-product-gallery__image > a {
    min-height: 410px;
  }

  body.single-product .zg-product-gallery-column .woocommerce-product-gallery__image img:not(.zoomImg) {
    height: 350px;
  }

  body.single-product .zg-single-related-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  body.single-product .zg-single-related-track .zg-product-card {
    min-width: 235px;
    scroll-snap-align: start;
  }
}

@media (max-width: 980px) {
  body.single-product .zg-product-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.single-product .zg-product-gallery-column {
    grid-column: 1;
    grid-row: 1;
  }

  body.single-product .zg-product-info-column {
    grid-column: 2;
    grid-row: 1;
  }

  body.single-product .zg-product-buy-column {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body.single-product .zg-product-buy-card {
    position: static;
  }

  body.single-product .zg-product-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.single-product {
    padding-bottom: 92px;
  }

  body.single-product .zg-woocommerce-main {
    padding: 13px 0 34px;
  }

  body.single-product .zg-woocommerce-main > .zg-container {
    width: min(calc(100% - 18px), 1380px);
  }

  body.single-product .woocommerce-breadcrumb,
  body.single-product .zg-breadcrumb {
    margin-bottom: 11px;
    padding: 9px 11px;
    border-radius: 12px;
    background: #f5f9ed;
    font-size: 9px;
  }

  body.single-product .zg-product-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px;
    border-radius: 21px;
  }

  body.single-product .zg-product-gallery-column {
    order: 1;
    width: 100%;
  }

  body.single-product .zg-product-info-column {
    display: block !important;
    order: 2;
    width: 100%;
    padding: 2px 5px;
  }

  body.single-product .zg-product-gallery-column {
    padding-top: 0;
  }

  body.single-product .zg-product-buy-column {
    order: 3;
    width: 100%;
  }

  body.single-product .zg-product-gallery-column .woocommerce-product-gallery__wrapper {
    border-radius: 17px;
  }

  body.single-product .zg-product-gallery-column .woocommerce-product-gallery__image,
  body.single-product .zg-product-gallery-column .woocommerce-product-gallery__image > a {
    min-height: 330px;
  }

  body.single-product .zg-product-gallery-column .woocommerce-product-gallery__image > a {
    padding: 16px;
  }

  body.single-product .zg-product-gallery-column .woocommerce-product-gallery__image img:not(.zoomImg) {
    height: 300px;
  }

  body.single-product .zg-product-gallery-column .flex-control-thumbs li,
  body.single-product .zg-product-gallery-column .flex-control-thumbs img {
    width: 59px !important;
    min-width: 59px;
    height: 59px;
  }

  body.single-product .zg-product-gallery-actions {
    top: 10px;
    right: 10px;
    flex-direction: row;
  }

  body.single-product .zg-product-action-button {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  body.single-product .zg-product-info-column .product_title.entry-title {
    margin-bottom: 10px;
    font-size: 23px;
  }

  body.single-product .zg-product-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  body.single-product .zg-product-feature-item {
    min-height: 63px;
    padding: 9px 10px;
  }

  body.single-product .zg-product-buy-card {
    padding: 16px;
    border: 1px solid rgba(92, 178, 112, .20);
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(63, 95, 66, .10);
  }

  body.single-product .zg-product-buy-card > .zg-buy-card-title {
    display: block !important;
  }

  body.single-product .zg-product-buy-card > .zg-buy-stock,
  body.single-product .zg-product-buy-card > .zg-buy-price-wrap,
  body.single-product .zg-product-buy-card > .zg-buy-safe {
    display: flex !important;
  }

  body.single-product .zg-product-buy-card .single_variation_wrap,
  body.single-product .zg-product-buy-card form.cart:not(.variations_form) {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body.single-product .zg-variation-swatches.is-color .zg-variation-swatch {
    min-width: 0;
  }

  body.single-product .zg-variation-swatch-dot,
  body.single-product .zg-variation-swatches.is-color .zg-variation-swatch > span:first-child {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }

  body.single-product .woocommerce-variation-add-to-cart,
  body.single-product .zg-product-buy-card form.cart:not(.variations_form) {
    grid-template-columns: minmax(0, 1fr) 96px;
  }

  body.single-product .zg-product-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0;
    padding: 11px 7px;
    border-radius: 18px;
  }

  body.single-product .zg-product-service {
    justify-content: flex-start;
    gap: 7px;
  }

  body.single-product .zg-product-service-icon {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
    border-radius: 12px;
  }

  body.single-product .zg-product-service-icon svg {
    width: 27px;
    height: 27px;
  }

  body.single-product .zg-product-tabs-wrap {
    margin-top: 16px;
    padding: 16px 13px;
    border-radius: 19px;
  }

  body.single-product .zg-product-tabs-wrap .woocommerce-tabs .panel {
    font-size: 12px;
  }

  body.single-product table.shop_attributes th,
  body.single-product table.shop_attributes td {
    padding: 10px 9px;
    font-size: 9px;
  }

  body.single-product table.shop_attributes th {
    width: 105px;
  }

  body.single-product .zg-single-related {
    margin-top: 24px;
  }

  body.single-product .zg-single-related-head h2 {
    font-size: 19px;
  }

  body.single-product .zg-single-related-panel {
    padding: 12px;
    border-radius: 19px;
  }

  body.single-product .zg-single-related-track .zg-product-card {
    min-width: min(72vw, 240px);
  }

  body.single-product .woocommerce-message,
  body.single-product .woocommerce-info,
  body.single-product .woocommerce-error {
    display: block;
    padding: 12px;
    font-size: 10px;
  }

  body.single-product .woocommerce-message .button,
  body.single-product .woocommerce-info .button,
  body.single-product .woocommerce-error .button {
    position: static;
    display: inline-flex;
    margin-top: 8px;
    transform: none;
  }

  body.single-product .zg-mobile-buy-bar {
    position: fixed;
    z-index: 999;
    right: 8px;
    bottom: 8px;
    left: 8px;
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(37, 49, 41, .10);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 15px 45px rgba(23, 32, 24, .20);
    backdrop-filter: blur(12px);
  }

  body.single-product .zg-mobile-buy-price {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
  }

  body.single-product .zg-mobile-buy-price-label {
    color: #7a867e;
    font-size: 8px;
  }

  body.single-product .zg-mobile-buy-price-value {
    color: #203c28;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
  }

  body.single-product .zg-mobile-buy-controls {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  body.single-product .zg-mobile-buy-quantity {
    display: none;
  }

  body.single-product .zg-mobile-add-to-cart {
    min-height: 48px;
    padding: 8px 16px;
    border: 0;
    border-radius: 13px;
    background: var(--zg-jungle-green, #5cb270);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
  }

  body.single-product .zg-mobile-add-to-cart:disabled {
    background: #aeb9b0;
    opacity: .8;
  }
}

@media (max-width: 390px) {
  body.single-product .zg-product-feature-grid,
  body.single-product .zg-product-services {
    grid-template-columns: 1fr;
  }

  body.single-product .zg-mobile-add-to-cart {
    padding-inline: 12px;
  }
}
