:root {
  --vb-brown: #7f6252;
  --vb-text: #4b3f3b;
  --vb-bg: #f6f2ef;
  --vb-card: #f3eeea;
  --vb-border: rgba(246, 240, 238, 1);
}

/* Page background + layout */
body.single-product {
  background: var(--vb-bg);
  overflow-x: hidden;
  /* Safari pinch-zoom can leave 100vw-based sections wider than the layout viewport. */
  --vb-layout-vw: 1vw;
  --vb-layout-width: 100vw;
  /* --vb-page-gutter: clamp(28px, calc(var(--vb-layout-vw, 1vw) * 4), 40px); */
  --vb-gallery-h: clamp(360px, 55vw, 720px);
  --vb-thumb-size: 150px;
}

/* Ensure no horizontal scroll on tiny viewports (live resize). */
body.single-product {
  overflow-x: hidden;
}

/* Flexslider uses very large % widths; ensure nothing can force horizontal overflow. */
body.single-product #primary,
body.single-product #content,
body.single-product main.site-main,
body.single-product div.product,
body.single-product .vb-single-product-top,
body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery .flex-viewport,
body.single-product .woocommerce-product-gallery__wrapper {
  /* max-width: 100% !important; */
}

body.single-product #primary.content-area {
  padding: 0;
  background-color: #fff;
}

/* Single product: hide WooCommerce notices/messages entirely. */
body.single-product .woocommerce-notices-wrapper,
body.single-product .woocommerce-notices-wrapper .woocommerce-message,
body.single-product .woocommerce-notices-wrapper .woocommerce-error,
body.single-product .woocommerce-notices-wrapper .woocommerce-info {
  display: none !important;
}

/* Sale badge (single product) */
body.single-product .onsale.vb-sale-badge {
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  background: #4b3f3b;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  min-height: 30px;
  line-height: 13px;
  font-family: "Baloo 2", "Trebuchet MS", sans-serif !important;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
  box-sizing: border-box;
  position: absolute;
  top: 20px;
  left: 20px;
  right: auto;
  margin: 0;
  z-index: 9;
}

body.single-product .onsale.vb-sale-badge .vb-sale-badge__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("../icons/common/badge-percent.svg") center / contain
    no-repeat;
  mask: url("../icons/common/badge-percent.svg") center / contain no-repeat;
}

body.single-product .onsale.vb-sale-badge .vb-sale-badge__text {
  line-height: 13px;
  font-size: 13px;
  font-weight: 400;
}

body.single-product main.site-main {
  width: min(
    1240px,
    calc(var(--vb-layout-width, 100vw) - var(--vb-page-gutter))
  ) !important;
  max-width: min(
    1240px,
    calc(var(--vb-layout-width, 100vw) - var(--vb-page-gutter))
  ) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 80px 0 0 0;
  box-sizing: border-box;
  min-width: 0;
  overflow-x: clip;
}

@media (max-width: 1024px) {
  body.single-product main.site-main {
    padding-top: 32px;
  }
}

/* Breadcrumb */
body.single-product nav.woocommerce-breadcrumb {
  display: block;
  width: 100%;
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto 24px auto;
  color: #84726b !important;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.single-product nav.woocommerce-breadcrumb a {
  color: #84726b !important;
  text-decoration: underline;
}

body.single-product nav.woocommerce-breadcrumb,
body.single-product nav.woocommerce-breadcrumb span,
body.single-product nav.woocommerce-breadcrumb .breadcrumb_last {
  color: #84726b !important;
}

/* Top block wrapper: gallery + summary only */
body.single-product div.product {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: clip;
}

body.single-product .vb-single-product-top {
  display: grid;
  grid-template-columns: minmax(0, 652px) minmax(0, 492px);
  justify-content: space-between;
  align-items: start;
  gap: 0 24px;
  width: 100%;
  padding: 0 20px;
  max-width: 1240px;
  margin: 0 auto;
  min-width: 0;
  box-sizing: border-box;
}

body.single-product .vb-single-product-top > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.woocommerce div.product .woocommerce-tabs .panel {
  padding: 0 20px;
}
body.single-product .vb-newest-products {
  padding: 96px 20px;
  width: calc(var(--vb-layout-vw, 1vw) * 100);
  max-width: calc(var(--vb-layout-vw, 1vw) * 100);
  margin-left: calc(50% - (var(--vb-layout-vw, 1vw) * 50));
  margin-right: calc(50% - (var(--vb-layout-vw, 1vw) * 50));
  box-sizing: border-box;
}

/* Single product: prevent WooCommerce product-grid rules from breaking the newest-products carousel. */
body.single-product .vb-newest-products .vb-newest-products__track.products {
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}

body.single-product .vb-product-faq {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: clip;
}

/* Product FAQ (reuses the existing .vb-faq component) */
body.single-product .vb-product-faq .vb-faq {
  background: #f5f5f5;
  width: calc(var(--vb-layout-vw, 1vw) * 100);
  max-width: calc(var(--vb-layout-vw, 1vw) * 100);
  margin-left: calc(50% - (var(--vb-layout-vw, 1vw) * 50));
  margin-right: calc(50% - (var(--vb-layout-vw, 1vw) * 50));
  box-sizing: border-box;
  overflow-x: clip;
}
body.single-product .vb-product-faq .vb-faq__item {
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
  body.single-product .vb-single-product-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.single-product .woocommerce-product-gallery {
    max-width: none !important;
  }

  body.single-product .woocommerce div.product div.summary.entry-summary {
    max-width: 100%;
  }
}

/* Gallery */
body.single-product .woocommerce-product-gallery {
  margin: 0;
  width: 100% !important;
  max-width: 652px;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-x: clip;
  contain: inline-size;
}

body.single-product .woocommerce-product-gallery .flex-viewport {
  max-height: 720px;
  max-height: var(--vb-gallery-h);
  height: var(--vb-gallery-h) !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  overflow-x: hidden !important;
  overflow-x: clip !important;
}

/* Ensure the long slider strip cannot affect layout width calculations. */
body.single-product .woocommerce-product-gallery__wrapper {
  min-width: 0 !important;
  max-width: none !important;
  will-change: transform;
}

body.single-product .woocommerce-product-gallery__wrapper {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  max-height: var(--vb-gallery-h);
}

body.single-product .woocommerce-product-gallery__image {
  border-radius: 24px;
  overflow: hidden;
}

body.single-product .woocommerce-product-gallery__image a,
body.single-product .woocommerce-product-gallery__image img {
  border-radius: 24px;
  padding: 0 1px;
}

/* Main image + zoom image must fit within 720px height */
body.single-product .woocommerce-product-gallery__image img:not(.zoomImg) {
  width: 100% !important;
  height: var(--vb-gallery-h) !important;
  max-height: var(--vb-gallery-h);
  object-fit: cover;
  background: #fff;
}

@media (max-width: 560px) {
  body.single-product {
    --vb-gallery-h: 360px;
  }

  /* Mobile: hide zoom overlay image to prevent horizontal overflow on very small widths. */
  body.single-product
    .woocommerce
    div.product
    div.images
    .woocommerce-product-gallery__wrapper
    .zoomImg {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body.single-product {
    --vb-thumb-size: 80px;
  }

  body.single-product .flex-control-nav.flex-control-thumbs img {
    border-radius: 14px;
  }

  body.single-product .vb-product-faq .vb-faq {
    padding: 32px 14px;
  }

  body.single-product .vb-newest-products {
    padding: 32px 14px;
    background-color: #fff;
  }

  body.single-product .vb-newest-products .vb-newest-products__surface {
    padding: 12px 0px;
  }

  body.single-product .vb-newest-products .vb-newest-products__track.products {
    gap: 10px;
  }
}

body.single-product
  .woocommerce
  div.product
  div.images
  .woocommerce-product-gallery__wrapper
  .zoomImg {
  /* Don't constrain zoom image sizing; WooCommerce zoom needs it larger than the container. */
  width: auto !important;
  height: auto !important;
  object-fit: initial !important;
  max-width: none !important;
  max-height: none !important;
}

/* Tiny screens: prevent zoomImg from forcing horizontal overflow while resizing. */
@media (max-width: 360px) {
  body.single-product
    .woocommerce
    div.product
    div.images
    .woocommerce-product-gallery__wrapper
    .zoomImg {
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
}

body.single-product
  .woocommerce-product-gallery
  .woocommerce-product-gallery__trigger {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

/* Thumbnails row */
body.single-product .flex-control-nav.flex-control-thumbs {
  margin: 20px 0 0 !important;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  position: static !important;
  width: 100%;
  flex-wrap: nowrap;
  overflow-x: hidden;
}

/* If there are more than 3 thumbnails, use tighter gaps + distribute */
body.single-product
  .flex-control-nav.flex-control-thumbs:has(> li:nth-child(4)) {
  justify-content: space-between;
  gap: 12px;
}

body.single-product .flex-control-nav.flex-control-thumbs li {
  flex: 0 1 var(--vb-thumb-size);
  width: auto !important;
  min-width: 0;
  max-width: var(--vb-thumb-size);
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .flex-control-nav.flex-control-thumbs img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 2px solid transparent;
  box-sizing: border-box;
  display: block;
  object-fit: cover;
}

@supports not (aspect-ratio: 1 / 1) {
  body.single-product .flex-control-nav.flex-control-thumbs li {
    width: var(--vb-thumb-size) !important;
    flex: 0 0 var(--vb-thumb-size);
  }

  body.single-product .flex-control-nav.flex-control-thumbs img {
    width: var(--vb-thumb-size) !important;
    height: var(--vb-thumb-size) !important;
  }
}

body.single-product .flex-control-nav.flex-control-thumbs img.flex-active {
  border-color: rgba(127, 98, 82, 0.8);
}

@media (max-width: 560px) {
  body.single-product .woocommerce-product-gallery {
    max-width: 100% !important;
  }

  body.single-product .flex-control-nav.flex-control-thumbs img {
    width: 110px;
    height: 110px;
    border-radius: 16px;
  }
}

/* Summary card */
body.single-product .summary.entry-summary {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: 492px;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-x: clip;
  contain: inline-size;
}

@media (max-width: 1024px) {
  body.single-product .summary.entry-summary {
    max-width: 100%;
  }
}

body.single-product .summary.entry-summary > * + * {
  margin-top: 12px;
}

body.single-product .product_title {
  font-size: 48px;
  line-height: 36px;
  font-weight: 400;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

@media (max-width: 560px) {
  body.single-product .product_title {
    font-size: 30px;
  }
}

body.single-product .price {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

body.single-product
  .summary.entry-summary
  .price
  > .woocommerce-Price-amount.amount,
body.single-product
  .summary.entry-summary
  .price
  ins
  .woocommerce-Price-amount.amount {
  font-size: 40px;
  font-weight: 500;
  color: #4b3f3b;
}

body.single-product .summary.entry-summary .price del,
body.single-product
  .summary.entry-summary
  .price
  del
  .woocommerce-Price-amount.amount {
  font-size: 22px !important;
  font-weight: 400;
  color: #84726b;
  margin-right: 5px;
}

body.single-product .summary.entry-summary .price ins {
  background: transparent;
  text-decoration: none;
  font-size: 32px;
  font-weight: 800;
  color: var(--vb-text);
}

body.single-product .woocommerce-product-details__short-description {
  color: #4b3f3b;
  font-size: 18px;
  margin-bottom: 40px;
}

body.single-product .woocommerce div.product form.cart {
  margin-bottom: 40px;
}

/* Stock pill */
body.single-product.woocommerce div.product p.stock {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(75, 63, 59, 0.65) !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.4;
  margin-top: 0;

  &.in-stock {
    margin-top: 20px;
  }

  &.out-of-stock {
    margin-top: 20px;
    margin-bottom: 20px;
    color: #d64545 !important;
  }
}

/* Summary: custom order wrapper */
body.single-product .vb-single-summary {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: clip;
}

body.single-product .vb-single-summary__category {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #84726b;
}

body.single-product .vb-single-summary__category-link {
  font-size: 16px;
  color: #84726b;
  text-decoration: none;
}

body.single-product .vb-single-summary__category-link:hover {
  text-decoration: underline;
}

body.single-product .vb-single-summary__brand {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 16px;
  color: #84726b;
  margin-bottom: 32px;
}

body.single-product .vb-single-summary__brand-link {
  color: #84726b;
}

body.single-product .vb-single-summary__brand-link:hover {
  text-decoration: underline;
}

body.single-product .vb-single-summary__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

body.single-product .vb-single-summary__reviews {
  color: #84726b;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 20px;
  margin-top: 4px;
}

body.single-product .vb-single-summary__stars {
  display: inline-flex;
  align-items: center;
  line-height: 22px;
}

body.single-product .vb-single-summary__stars .star-rating {
  float: none;
  margin: 0;
  display: inline-block;
  height: 22px;
  line-height: 22px;
  font-size: 20px;
  width: 112px; /* 5 * 20px + 4 * 2px gap + safety to avoid clipping */
  overflow: hidden;
  position: relative;
}

body.single-product .vb-single-summary__stars .star-rating::before,
body.single-product .vb-single-summary__stars .star-rating span::before {
  letter-spacing: 2px;
}

body.single-product .vb-single-summary__stars .star-rating::before {
  color: #cdaea2;
}

body.single-product .vb-single-summary__stars .star-rating span::before {
  color: #cdaea2;
}

/* Variants (Talpa) */
body.single-product .vb-single-summary__variants {
  margin-top: 6px;
}

body.single-product
  .vb-single-summary__variants
  + .vb-single-summary__variants {
  margin-top: 24px;
}

body.single-product .vb-single-summary__variants-label {
  font-size: 16px;
  font-weight: 500;
  color: #3b2b1e;
  margin-bottom: 10px;
}

body.single-product .vb-single-summary__variant-pills {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  row-gap: 20px;
  flex-wrap: wrap;
}

body.single-product
  .vb-single-summary__variants[data-vb-variants-last]
  .vb-single-summary__variant-pills {
  margin-bottom: 40px;
}

body.single-product .vb-single-variant-pill {
  border: none;
  height: 33px;
  padding: 0 20px;
  border-radius: 100px;
  background: #f9f5f3;
  color: #4b3f3b;
  font-size: 14px;
  font-weight: 300;
  line-height: 13px;
  cursor: pointer;
}

body.single-product .vb-single-variant-pill.is-active {
  background: #4b3f3b;
  color: #fff;
}

/* Color variants (attribute slug: color) */
body.single-product .vb-single-variant-pill.vb-single-variant-pill--color {
  width: 64px;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #3b2b1e;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

body.single-product
  .vb-single-variant-pill.vb-single-variant-pill--color.is-active {
  background: transparent;
  color: #3b2b1e;
  outline: 1px solid #cdaea2;
  outline-offset: 5px;
  outline-style: dashed;
  border-radius: 16px;

  .vb-single-variant-pill__label {
    font-weight: 700;
  }
}

body.single-product
  .vb-single-variant-pill.vb-single-variant-pill--color
  .vb-single-variant-pill__swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  box-sizing: border-box;
}

body.single-product
  .vb-single-variant-pill.vb-single-variant-pill--color[data-swatch="white"]
  .vb-single-variant-pill__swatch {
  border: 1px solid #4b3f3b;
}

body.single-product
  .vb-single-variant-pill.vb-single-variant-pill--color
  .vb-single-variant-pill__label {
  font-size: 14px;
  line-height: 14px;
  color: #3b2b1e;
  font-weight: 400;
  text-align: center;
  max-width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

@media (max-width: 767px) {
  body.single-product
    .vb-single-summary__variants
    + .vb-single-summary__variants {
    margin-top: 20px;
  }

  body.single-product
    .vb-single-summary__variants[data-vb-variants-last]
    .vb-single-summary__variant-pills {
    margin-bottom: 48px;
  }

  body.single-product .vb-single-variant-pill.vb-single-variant-pill--color {
    width: 55px;
    height: auto;
  }

  body.single-product
    .vb-single-variant-pill.vb-single-variant-pill--color
    .vb-single-variant-pill__swatch {
    width: 32px;
    height: 32px;
  }
}

/* Hide default variations table when our pills are active (JS-enhanced). */
html.vb-single-js.vb-single-has-pills
  body.single-product
  form.variations_form
  table.variations {
  display: none !important;
}

/* Prevent initial flash of the default variations dropdown on first paint (mobile especially).
   We always use pills for variable products in this theme. */
body.single-product form.variations_form table.variations {
  display: none !important;
}

/* Add-to-cart row (qty + buttons) */
body.single-product form.cart.vb-single-atc {
  margin-top: 14px;
  margin-bottom: 40px;
}

body.single-product .vb-single-atc__row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}

@media (max-width: 767px) {
  body.single-product div.product {
    gap: 0px;
  }

  .woocommerce div.product .product_title {
    font-size: 28px;
    margin-top: 16px !important;
    margin-bottom: 0px !important;
  }

  body.single-product .vb-single-summary__reviews {
    font-size: 14px;
    margin-top: 3px;
  }

  body.single-product .woocommerce-product-details__short-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  body.single-product .vb-single-summary__category-link,
  body.single-product .vb-single-summary__brand {
    font-size: 14px;
  }

  body.single-product .vb-single-summary__brand {
    margin-bottom: 24px;
  }

  body.single-product
    .summary.entry-summary
    .price
    > .woocommerce-Price-amount.amount,
  body.single-product
    .summary.entry-summary
    .price
    ins
    .woocommerce-Price-amount.amount {
    font-size: 32px;
  }

  body.single-product .summary.entry-summary .price del,
  body.single-product
    .summary.entry-summary
    .price
    del
    .woocommerce-Price-amount.amount {
    font-size: 20px !important;
  }

  body.single-product .summary.entry-summary .price ins {
    font-size: 24px;
  }

  body.single-product .vb-single-atc__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  body.single-product .vb-single-atc__row > .vb-single-qty,
  body.single-product .vb-single-atc__row > .vb-cart-panel__qty-row {
    flex: 0 0 auto;
    order: 1;
    margin-bottom: 8px;
  }

  /* Force a line break after qty row, while keeping the qty control at its intrinsic width. */
  body.single-product .vb-single-atc__row::before {
    content: "";
    flex: 0 0 100%;
    order: 2;
    height: 0;
  }

  body.single-product form.cart.vb-single-atc {
    margin-top: 0px;
    margin-bottom: 32px;
  }

  body.single-product form.cart.vb-single-atc .vb-single-atc__buy-now {
    order: 3;
    flex: 1 1 140px;
    min-width: 0;
    white-space: nowrap;
  }

  body.single-product form.cart.vb-single-atc .vb-single-atc__add-to-cart {
    order: 4;
    flex: 1 1 140px;
    min-width: 0;
    white-space: nowrap;
  }

  body.single-product
    form.cart.vb-single-atc
    .tinv-wraper.tinvwl-after-add-to-cart {
    order: 5;
    flex: 0 0 auto;
    margin-left: auto;
  }

  body.single-product .vb-single-summary__shipping-note {
    font-size: 14px !important;
    margin-bottom: 16px !important;
    justify-content: center;
  }

  body.single-product .vb-product-accordion {
    margin-top: 0 !important;
    margin-bottom: 12px;
  }

  body.single-product .vb-product-accordion__summary {
    height: 56px !important;
    font-size: 18px !important;
  }

  body.single-product .vb-certificates__item {
    border: 0 !important;

    max-width: 54px !important;
    max-height: 58px !important;

    img {
      width: 100% !important;
      height: auto !important;
    }
  }
}

body.single-product form.cart.vb-single-atc .quantity {
  margin: 0;
}

/* Qty row: copy of cart-panel.css styles (same visuals as cart panel) */
body.single-product .vb-cart-panel__qty-row {
  color: var(--vb-text);
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

body.single-product .vb-cart-panel__qty-row {
  display: inline-grid;
  grid-template-columns: 42px 44px 42px;
  align-items: stretch;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.65);
  user-select: none;
  -webkit-user-select: none;
}

body.single-product .vb-cart-panel__qty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  color: #1a1c1899;
  font-size: 21px;
  line-height: 1;
  border: none;
  padding: 0;
  background: #f9f5f3;
  cursor: pointer;
}

body.single-product .vb-cart-panel__qty-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

body.single-product .vb-cart-panel__qty-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-weight: 500;
  min-width: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1;
  color: #8b6749;
  background: #ffffff;
  border: 1px solid #f9f5f3;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
}

body.single-product .vb-cart-panel__qty-input {
  appearance: textfield;
  -moz-appearance: textfield;
  border-radius: 0;
  padding: 0 2px;
  font-family: "Poppins", sans-serif;
}

body.single-product .vb-cart-panel__qty-input::-webkit-outer-spin-button,
body.single-product .vb-cart-panel__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.single-product .vb-cart-panel__qty-button[data-direction="decrease"] {
  border-radius: 4px 0 0 4px;
}

body.single-product .vb-cart-panel__qty-button[data-direction="increase"] {
  border-radius: 0 4px 4px 0;
}

body.single-product .vb-cart-panel__qty-row:hover,
body.single-product .vb-cart-panel__qty-row:focus-within {
  box-shadow: 4px 4px 15px 0px #0000001a;
}

body.single-product .vb-cart-panel__qty-button:focus-visible {
  outline: none;
}

body.single-product form.cart.vb-single-atc .vb-single-atc__buy-now {
  height: 48px;
  border-radius: 100px;
  border: 0;
  background: var(--vb-text);
  color: #fff;
  padding: 0 24px;
  font-weight: 500;
}

body.single-product form.cart.vb-single-atc .vb-single-atc__buy-now:hover {
  filter: brightness(0.96);
}

body.single-product form.cart.vb-single-atc .vb-single-atc__buy-now:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__buy-now:disabled:hover {
  filter: none;
}

body.single-product form.cart.vb-single-atc .vb-single-atc__add-to-cart {
  height: 48px;
  border-radius: 100px;
  border: 1px solid var(--vb-text);
  background: #fff;
  color: var(--vb-text);
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  width: 142px;
  justify-content: center;
}

body.single-product form.cart.vb-single-atc .vb-single-atc__add-to-cart:hover {
  background: rgba(243, 238, 234, 0.7);
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart:disabled,
body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.disabled,
body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart[aria-disabled="true"] {
  opacity: 0.7;
  cursor: not-allowed;
  background: #fff !important;
  border-color: var(--vb-text) !important;
  color: var(--vb-text) !important;
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart:disabled:hover,
body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.disabled:hover,
body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart[aria-disabled="true"]:hover {
  background: #fff;
}

body.single-product form.cart.vb-single-atc .vb-single-atc__add-to-cart.added {
  background: #2f8f4e;
  border-color: #2f8f4e;
  color: #fff;
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.added.vb-remove-hover,
body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.vb-removing {
  background: #d64545;
  border-color: #d64545;
  color: #fff;
}

body.single-product .vb-single-atc__cart-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  background-color: currentColor;
  mask: url("../icons/header/Cart.svg") no-repeat center / contain;
  -webkit-mask: url("../icons/header/Cart.svg") no-repeat center / contain;
}

/* Use the same "checked" icon as product-card CTA when item is in cart. */
body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.added
  .vb-single-atc__cart-icon {
  mask: url("../icons/common/submit.svg") no-repeat center / contain;
  -webkit-mask: url("../icons/common/submit.svg") no-repeat center / contain;
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.added.vb-remove-hover
  .vb-single-atc__cart-icon,
body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.vb-removing
  .vb-single-atc__cart-icon {
  background-color: transparent;
  mask: none;
  -webkit-mask: none;
  position: relative;
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.added.vb-remove-hover
  .vb-single-atc__cart-icon::before,
body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.vb-removing
  .vb-single-atc__cart-icon::before {
  content: "×";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: currentColor;
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.vb-is-busy {
  opacity: 0.85;
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.loading
  .vb-single-atc__cart-text,
body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.loading
  .vb-single-atc__cart-icon {
  opacity: 0;
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.loading {
  position: relative;
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid rgba(75, 63, 59, 0.25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: vb-single-spin 0.7s linear infinite;
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.loading::before {
  opacity: 0;
}

/* Disable any external "added" checkmark injected via `::after` on this button.
   Keep our spinner (it uses `.loading::after`). */
body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart:not(.loading)::after {
  content: none !important;
  display: none !important;
}

/* Override single-product cart button icon logic to match `vb-product-card__cta` exactly. */
body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart
  .vb-single-atc__cart-icon {
  display: none;
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("../icons/header/Cart.svg") center / contain no-repeat;
  mask: url("../icons/header/Cart.svg") center / contain no-repeat;
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.added::before {
  -webkit-mask: url("../icons/common/submit.svg") center / contain no-repeat;
  mask: url("../icons/common/submit.svg") center / contain no-repeat;
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.added.vb-remove-hover::before,
body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__add-to-cart.vb-removing::before {
  content: "\00d7";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  -webkit-mask: none;
  mask: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
}

@keyframes vb-single-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Buy-now spinner (separate from add-to-cart) */
body.single-product form.cart.vb-single-atc .vb-single-atc__buy-now.loading {
  position: relative;
  pointer-events: none;
}

body.single-product
  form.cart.vb-single-atc
  .vb-single-atc__buy-now.loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: vb-single-spin 0.7s linear infinite;
}

/* Shipping note */
body.single-product .vb-single-summary__shipping-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #84726b;
  font-size: 15px;
  line-height: 18.2px;
  margin-bottom: 24px;
}

body.single-product .vb-single-summary__shipping-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

/* Hide WooCommerce "View cart" link after ajax add-to-cart on single product. */
body.single-product a.added_to_cart.wc-forward {
  display: none !important;
}

/* WooCommerce PhotoSwipe: make sure the dialog truly disappears after closing.
   Woo sets `aria-hidden="true"`; some themes/plugins override PhotoSwipe's default `display:none`. */
body.single-product #photoswipe-fullscreen-dialog.pswp[aria-hidden="true"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Out-of-stock: wishlist button should be a separate row above the shipping note (left aligned). */
body.single-product .tinv-wraper.vb-single-wishlist-floating {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 32px !important;
}

html:not(.vb-wishlist-ready)
  body.single-product
  .tinv-wraper.vb-single-wishlist-floating
  .tinvwl_add_to_wishlist_button {
  visibility: hidden !important;
}

/* Wishlist button (TI WooCommerce Wishlist) - styled as icon circle */
body.single-product
  form.cart.vb-single-atc
  .tinv-wraper.tinvwl-after-add-to-cart,
body.single-product
  .summary.entry-summary
  .tinv-wraper.tinvwl-woocommerce_single_product_summary,
body.single-product .tinv-wraper.vb-single-wishlist-floating {
  margin: 0;
}

body.single-product form.cart.vb-single-atc .tinvwl_add_to_wishlist_button,
body.single-product
  .summary.entry-summary
  .tinv-wraper.tinvwl-woocommerce_single_product_summary
  .tinvwl_add_to_wishlist_button,
body.single-product
  .tinv-wraper.vb-single-wishlist-floating
  .tinvwl_add_to_wishlist_button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(75, 63, 59, 0.18);
  background: #fff;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  margin-top: 0 !important;
}

body.single-product
  form.cart.vb-single-atc
  .tinvwl_add_to_wishlist_button::before,
body.single-product
  .summary.entry-summary
  .tinv-wraper.tinvwl-woocommerce_single_product_summary
  .tinvwl_add_to_wishlist_button::before,
body.single-product
  .tinv-wraper.vb-single-wishlist-floating
  .tinvwl_add_to_wishlist_button::before {
  content: "";
  width: 28px;
  height: 28px;
  display: block;
  background-color: var(--vb-text);
  mask: url("../icons/header/Heart.svg") no-repeat center / contain;
  -webkit-mask: url("../icons/header/Heart.svg") no-repeat center / contain;
  margin-right: 0 !important;
}

/* Filled heart when product is already in wishlist. */
body.single-product
  form.cart.vb-single-atc
  .tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before,
body.single-product
  form.cart.vb-single-atc
  .tinvwl_add_to_wishlist_button[data-tinv-wl-action="remove"]::before,
body.single-product
  .summary.entry-summary
  .tinv-wraper.tinvwl-woocommerce_single_product_summary
  .tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before,
body.single-product
  .summary.entry-summary
  .tinv-wraper.tinvwl-woocommerce_single_product_summary
  .tinvwl_add_to_wishlist_button[data-tinv-wl-action="remove"]::before,
body.single-product
  .tinv-wraper.vb-single-wishlist-floating
  .tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before,
body.single-product
  .tinv-wraper.vb-single-wishlist-floating
  .tinvwl_add_to_wishlist_button[data-tinv-wl-action="remove"]::before {
  mask: url("../icons/header/Heart-filled.svg") no-repeat center / contain;
  -webkit-mask: url("../icons/header/Heart-filled.svg") no-repeat center /
    contain;
}

/* Prevent "wrong filled heart" flicker before JS validates wishlist state. */
html:not(.vb-wishlist-ready)
  body.single-product
  form.cart.vb-single-atc
  .tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before,
html:not(.vb-wishlist-ready)
  body.single-product
  form.cart.vb-single-atc
  .tinvwl_add_to_wishlist_button[data-tinv-wl-action="remove"]::before,
html:not(.vb-wishlist-ready)
  body.single-product
  .summary.entry-summary
  .tinv-wraper.tinvwl-woocommerce_single_product_summary
  .tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before,
html:not(.vb-wishlist-ready)
  body.single-product
  .summary.entry-summary
  .tinv-wraper.tinvwl-woocommerce_single_product_summary
  .tinvwl_add_to_wishlist_button[data-tinv-wl-action="remove"]::before,
html:not(.vb-wishlist-ready)
  body.single-product
  .tinv-wraper.vb-single-wishlist-floating
  .tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before,
html:not(.vb-wishlist-ready)
  body.single-product
  .tinv-wraper.vb-single-wishlist-floating
  .tinvwl_add_to_wishlist_button[data-tinv-wl-action="remove"]::before {
  mask: url("../icons/header/Heart.svg") no-repeat center / contain;
  -webkit-mask: url("../icons/header/Heart.svg") no-repeat center / contain;
}

/* TI Wishlist modal:
   - allow the "added to wishlist" overlay to show
   - but suppress it when we trigger a removal via our custom toggle JS */
body.single-product.vb-wishlist-removing
  .tinv-wishlist
  .tinvwl_added_to_wishlist,
body.single-product.vb-wishlist-removing .tinv-wishlist .tinv-modal,
body.single-product.vb-wishlist-removing .tinv-wishlist .tinv-overlay,
body.single-product.vb-wishlist-removing .tinv-wishlist .tinv-table {
  display: none !important;
}

body.single-product form.cart.vb-single-atc .tinvwl_add_to_wishlist_button i,
body.single-product form.cart.vb-single-atc .tinvwl_add_to_wishlist_button svg,
body.single-product
  .summary.entry-summary
  .tinv-wraper.tinvwl-woocommerce_single_product_summary
  .tinvwl_add_to_wishlist_button
  i,
body.single-product
  .summary.entry-summary
  .tinv-wraper.tinvwl-woocommerce_single_product_summary
  .tinvwl_add_to_wishlist_button
  svg,
body.single-product
  .tinv-wraper.vb-single-wishlist-floating
  .tinvwl_add_to_wishlist_button
  i,
body.single-product
  .tinv-wraper.vb-single-wishlist-floating
  .tinvwl_add_to_wishlist_button
  svg {
  display: none !important;
}

body.single-product
  form.cart.vb-single-atc
  .tinvwl_add_to_wishlist_button
  .tinvwl_add_to_wishlist-text,
body.single-product
  .summary.entry-summary
  .tinv-wraper.tinvwl-woocommerce_single_product_summary
  .tinvwl_add_to_wishlist_button
  .tinvwl_add_to_wishlist-text,
body.single-product
  .tinv-wraper.vb-single-wishlist-floating
  .tinvwl_add_to_wishlist_button
  .tinvwl_add_to_wishlist-text {
  display: none;
}

/* TI Wishlist modal (added to wishlist) - match site palette */
body.single-product .tinv-wishlist .tinv-overlay {
  background: rgba(75, 63, 59, 0.22) !important;
  backdrop-filter: blur(2px);
}

body.single-product .tinv-wishlist .tinv-modal {
  z-index: 2200;
}

body.single-product .tinv-wishlist .tinv-modal-inner {
  background: #fff;
  border-radius: 24px;
  padding: 36px 28px 28px;
  width: min(420px, calc(100vw - 32px));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  color: var(--vb-text);
  font-family: "Poppins", sans-serif;
  text-align: center;
}

body.single-product .tinv-wishlist .tinv-modal-inner .icon_big_heart_check {
  width: 44px;
  height: 44px;
  display: block;
  margin: 0 auto 16px;
  color: transparent;
  background-color: var(--vb-text);
  mask: url("../icons/header/Heart-filled.svg") no-repeat center / contain;
  -webkit-mask: url("../icons/header/Heart-filled.svg") no-repeat center /
    contain;
}

body.single-product .tinv-wishlist .tinv-modal-inner .tinv-txt {
  color: var(--vb-text);
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 18px;
}

body.single-product .tinv-wishlist .tinvwl-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.single-product .tinv-wishlist .tinvwl-buttons-group .button {
  height: 48px;
  border-radius: 100px;
  border: 1px solid rgba(75, 63, 59, 0.18);
  background: rgba(246, 240, 238, 0.7);
  color: var(--vb-text);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

body.single-product .tinv-wishlist .tinvwl-buttons-group .button:hover {
  filter: brightness(0.98);
}

body.single-product .tinv-wishlist .tinvwl-buttons-group .tinvwl_button_view {
  background: var(--vb-text);
  border-color: var(--vb-text);
  color: #fff;
}

body.single-product .tinv-wishlist .tinvwl-buttons-group .tinvwl_button_view i,
body.single-product
  .tinv-wishlist
  .tinvwl-buttons-group
  .tinvwl_button_view
  svg {
  display: none;
}

/* Close button "X" alignment */
body.single-product .tinv-wishlist .tinvwl-buttons-group .tinvwl_button_close i,
body.single-product
  .tinv-wishlist
  .tinvwl-buttons-group
  .tinvwl_button_close
  svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
  position: relative;
  top: 0;
  flex: 0 0 18px;
  margin: 0;
  padding: 0;
  transform: translateX(1px);
}

body.single-product .tinv-wishlist .tinvwl-buttons-group .tinvwl_button_close {
  justify-content: center;
  text-align: center;
  gap: 0px;
  white-space: nowrap;
  color: transparent;
  position: relative;
  font-size: 0;
  line-height: 0;
}

body.single-product .tinv-wishlist .tinvwl-buttons-group .tinvwl_button_close i,
body.single-product
  .tinv-wishlist
  .tinvwl-buttons-group
  .tinvwl_button_close
  svg {
  display: none !important;
}

body.single-product
  .tinv-wishlist
  .tinvwl-buttons-group
  .tinvwl_button_close::before {
  content: "\00d7";
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vb-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 18px;
}

body.single-product
  .tinv-wishlist
  .tinvwl-buttons-group
  .tinvwl_button_close::after {
  content: "Close";
  color: var(--vb-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

html[lang^="lt"]
  body.single-product
  .tinv-wishlist
  .tinvwl-buttons-group
  .tinvwl_button_close::after {
  content: "Uždaryti";
}

/* Meta */
body.single-product .product_meta {
  padding-top: 6px;
  border-top: 1px solid rgba(75, 63, 59, 0.08);
}

body.single-product .product_meta,
body.single-product .product_meta a {
  color: rgba(75, 63, 59, 0.78);
  font-size: 14px;
}

/* Accordions (Specs + Shipping) */
body.single-product .vb-product-accordion {
  margin-top: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  overflow-x: clip;
}

body.single-product .vb-product-accordion__summary {
  cursor: pointer;
  padding: 0 24px;
  height: 60px;
  border: 0;
  background: rgba(246, 240, 238, 0.7);
  font-size: 20px;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

body.single-product .vb-product-accordion__summary::-webkit-details-marker {
  display: none;
}

body.single-product .vb-product-accordion__summary::after {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  opacity: 0.85;
  background-color: currentColor;
  mask: url("../icons/common/keyboard_arrow_down.svg") no-repeat center /
    contain;
  -webkit-mask: url("../icons/common/keyboard_arrow_down.svg") no-repeat
    center / contain;
  transform: rotate(0deg);
  transition: transform 0.15s ease;
}

body.single-product details[open] > .vb-product-accordion__summary::after {
  transform: rotate(180deg);
}

body.single-product .vb-product-accordion__content {
  background: rgba(246, 240, 238, 0.7);
  padding: 16px;
  border-top: 1px solid rgba(75, 63, 59, 0.1);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}

@media (hover: none), (pointer: coarse) {
  /* iOS Safari is prone to leaving the Woo zoom overlay wider than the layout viewport after pinch-zoom. */
  body.single-product
    .woocommerce
    div.product
    div.images
    .woocommerce-product-gallery__wrapper
    .zoomImg {
    display: none !important;
  }
}

/* Certificates */
body.single-product .vb-certificates {
  margin-top: 18px;
}

body.single-product .vb-certificates__title {
  font-size: 18px;
  line-height: 27px;
  margin-bottom: 10px;
  font-weight: 500;
  color: #4b3f3b;
  text-align: center;
}

body.single-product .vb-certificates__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.single-product .vb-certificates__item {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 1);
  border: 1px solid var(--vb-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.single-product .vb-certificates__img {
  width: 58px;
  height: 58px;
  max-width: 58px;
  max-height: 58px;
}

@media (max-width: 767px) {
  body.single-product .vb-certificates__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
    gap: 10px;
  }

  body.single-product .vb-certificates__item {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
  }

  body.single-product .vb-certificates__img {
    width: min(58px, 72%);
    height: auto;
    max-width: 58px;
    max-height: none;
  }
}

/* WYSIWYG inside accordions / description */
body.single-product
  .vb-wysiwyg
  :where(p, ul, ol, table)
  + :where(p, ul, ol, table) {
  margin-top: 10px;
}

body.single-product .vb-wysiwyg ul,
body.single-product .vb-wysiwyg ol {
  list-style: disc;
  padding-left: 18px;
}

body.single-product .vb-wysiwyg li + li {
  margin-top: 6px;
}

body.single-product .vb-wysiwyg table {
  width: 100%;
  border: 1px solid rgba(75, 63, 59, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

/* Product description tables (card styling, keep original table layout; no injected titles). */
body.single-product .woocommerce-Tabs-panel--description table,
body.single-product
  .woocommerce-Tabs-panel--additional_information
  table.shop_attributes {
  width: 100%;
  margin-top: 60px;
  margin-bottom: 60px;
  border: 1px solid rgba(75, 63, 59, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

body.single-product .woocommerce-Tabs-panel--description table :where(th, td),
body.single-product
  .woocommerce-Tabs-panel--additional_information
  table.shop_attributes
  :where(th, td) {
  padding: 14px 18px;
  border: 0;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.single-product .woocommerce-Tabs-panel--description table th,
body.single-product
  .woocommerce-Tabs-panel--additional_information
  table.shop_attributes
  th {
  text-align: left;
  font-family: "Baloo 2", "Poppins", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--vb-text, #4b3f3b);
}

body.single-product .woocommerce-Tabs-panel--description table td,
body.single-product
  .woocommerce-Tabs-panel--additional_information
  table.shop_attributes
  td {
  text-align: left;
  color: rgba(75, 63, 59, 0.92);
  line-height: 1.35;
}

@media (max-width: 767px) {
  body.single-product .woocommerce-Tabs-panel--description table,
  body.single-product
    .woocommerce-Tabs-panel--additional_information
    table.shop_attributes {
    margin-top: 30px;
    margin-bottom: 32px;
  }
}

body.single-product .vb-wysiwyg td,
body.single-product .vb-wysiwyg th {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(75, 63, 59, 0.1);
  vertical-align: top;
}

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

/* Benefits bar: full-bleed background */
body.single-product .vb-benefits {
  width: calc(var(--vb-layout-vw, 1vw) * 100);
  max-width: calc(var(--vb-layout-vw, 1vw) * 100);
  margin-left: calc(50% - (var(--vb-layout-vw, 1vw) * 50));
  margin-right: calc(50% - (var(--vb-layout-vw, 1vw) * 50));
  margin-top: 28px;
  padding: 32px 20px;
  box-sizing: border-box;
  overflow-x: clip;
}

body.single-product .vb-benefits__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

body.single-product .vb-benefits__icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

body.single-product .vb-benefits__img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

body.single-product .vb-benefits__text {
  font-size: 16px;
}

/* Description section */
body.single-product .woocommerce-tabs {
  background: #fff;
  border-radius: 22px;
  width: 100% !important;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
  margin-top: 96px;
  min-width: 0;
  overflow-x: clip;
}

body.single-product .woocommerce-tabs ul.tabs {
  display: none;
}

body.single-product .woocommerce-Tabs-panel {
  margin: 0;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  scroll-margin-top: 120px;
  min-width: 0;
  overflow-x: clip;
}

@media (max-width: 767px) {
  body.single-product .woocommerce-tabs {
    margin-top: 32px;
  }

  body.single-product .stock.in-stock,
  body.single-product .stock.out-of-stock {
    margin-top: 0px !important;
  }

  body.single-product .stock.in-stock {
    margin-bottom: 20px;
  }

  body.single-product #reviews.cr-reviews-ajax-reviews .cr-ajax-search,
  .cr-all-reviews-shortcode .cr-ajax-search,
  body.single-product #reviews.cr-reviews-ajax-reviews .cr-count-row,
  body.single-product
    #reviews.cr-reviews-ajax-reviews
    #comments.cr-reviews-ajax-comments
    .cr-ajax-reviews-list {
    padding: 16px;
  }
}

body.single-product #reviews.cr-reviews-ajax-reviews .cr-ajax-search,
.cr-all-reviews-shortcode .cr-ajax-search {
  padding: 24px;
  background-color: #fff;
  margin: 0;
  border-radius: 16px 16px 0 0;
}

/* CusRev search input: match our selects/inputs and keep an icon on the left. */
body.single-product #reviews.cr-reviews-ajax-reviews .cr-ajax-search > div {
  position: relative;
}

body.single-product
  #reviews.cr-reviews-ajax-reviews
  .cr-ajax-search
  .cr-ajax-search-icon {
  display: none;
}

body.single-product
  #reviews.cr-reviews-ajax-reviews
  .cr-ajax-search
  > div::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: var(--vb-text);
  -webkit-mask: url("../icons/header/Search.svg") center / contain no-repeat;
  mask: url("../icons/header/Search.svg") center / contain no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

body.single-product
  #reviews.cr-reviews-ajax-reviews
  .cr-ajax-search
  input.cr-input-text {
  height: 40px !important;
  min-height: 40px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 6px 38px 6px 36px !important;
  border: 1px solid rgba(75, 63, 59, 0.14) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  color: var(--vb-text) !important;
  box-shadow: none !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 15px !important;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

body.single-product
  #reviews.cr-reviews-ajax-reviews
  .cr-ajax-search
  input.cr-input-text:focus {
  border-color: rgba(127, 98, 82, 0.42) !important;
  outline: none !important;
}

body.single-product #reviews.cr-reviews-ajax-reviews .cr-count-row {
  padding: 24px;
  background-color: #fff;
  margin: 0;
}

body.single-product
  #reviews.cr-reviews-ajax-reviews
  #comments.cr-reviews-ajax-comments
  .cr-ajax-reviews-list {
  padding: 24px;
  background-color: #fff;
  margin: 0;
}

body.single-product .woocommerce-Tabs-panel--description > h2:first-child {
  margin-top: 96px !important;
  font-size: clamp(28px, 3.125vw, 40px);
  margin-bottom: clamp(20px, 4vw, 56px);
}

/* Reviews title: match archive page title style (split colors). */
body.single-product #tab-reviews .woocommerce-Reviews-title {
  padding-top: 96px;
  padding-bottom: 56px;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(28px, 3.125vw, 40px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  margin: 0;
}

body.single-product
  #tab-reviews
  .woocommerce-Reviews-title
  .vb-reviews-title__first {
  color: #4b3f3b;
}

body.single-product
  #tab-reviews
  .woocommerce-Reviews-title
  .vb-reviews-title__rest {
  color: #cdaea2;
}

/* Reviews section: full-bleed background (100vw) behind reviews only. */
body.single-product #tab-reviews.woocommerce-Tabs-panel--reviews {
  position: relative;
  z-index: 0;
  padding-bottom: 96px;
  margin: 0;
}

body.single-product #tab-reviews.woocommerce-Tabs-panel--reviews::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: calc(var(--vb-layout-vw, 1vw) * 100);
  transform: translateX(-50%);
  background: #f5f5f5;
  z-index: 0;
}

body.single-product #tab-reviews.woocommerce-Tabs-panel--reviews > * {
  position: relative;
  z-index: 1;
}

/* CusRev "Show more reviews" button: match our Buy Now button and disable CusRev hover/focus styles. */
body.single-product
  #tab-reviews
  .cr-reviews-ajax-reviews
  .cr-show-more-reviews-prd {
  height: 48px;
  border-radius: 100px;
  border: 0 !important;
  background: var(--vb-text) !important;
  color: #fff !important;
  padding: 0 24px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

body.single-product
  #tab-reviews
  .cr-reviews-ajax-reviews
  .cr-show-more-reviews-prd:hover,
body.single-product
  #tab-reviews
  .cr-reviews-ajax-reviews
  .cr-show-more-reviews-prd:focus {
  border: 0 !important;
  background: #7f6252 !important;
  color: #fff !important;
  filter: brightness(0.96);
}

body.single-product
  #tab-reviews
  .cr-reviews-ajax-reviews
  .cr-show-more-reviews-prd:focus-visible {
  outline: 2px solid rgba(75, 63, 59, 0.28);
  outline-offset: 2px;
}

body.single-product
  #tab-reviews
  .cr-reviews-ajax-reviews
  .cr-show-more-review-spinner-cnt {
  display: flex;
  justify-content: center;
  background-color: #fff;
  padding: 24px 24px 72px 24px;
  border-radius: 0 0 16px 16px;
}

/* CusRev verified badge icon background */
body.single-product #tab-reviews .cr-avatar-check {
  background-color: #7f6252;
}

/* CusRev stars: match our palette (override plugin default). */
body.single-product
  #tab-reviews
  .crstar-rating-svg
  .cr-rating-icon-base
  .cr-rating-icon-bg {
  stroke: #cdaea2 !important;
}

body.single-product
  #tab-reviews
  .crstar-rating-svg
  .cr-rating-icon-frnt
  .cr-rating-icon {
  fill: #cdaea2 !important;
  stroke: #cdaea2 !important;
}

/* CusRev sort dropdown: remove browser blue by enhancing into a custom select. */
body.single-product
  #tab-reviews
  select.cr-ajax-reviews-sort[data-vb-enhanced="1"] {
  position: absolute !important;
  width: 1px !important;
  max-width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.single-product #tab-reviews .vb-cusrev-select {
  position: relative;
  width: 100%;
  max-width: 260px;
}

body.single-product #tab-reviews .vb-cusrev-select__control {
  position: relative;
  width: 100%;
  height: 40px;
  min-height: 40px;
  padding: 6px 28px 6px 12px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  color: #4b3f3b;
  box-shadow: none;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  box-sizing: border-box;
  text-align: left;
  cursor: pointer;

  .vb-cusrev-select__value {
    line-height: 32px;
  }
}

body.single-product #tab-reviews .vb-cusrev-select__control:focus {
  border-color: rgba(127, 98, 82, 0.42);
  outline: none;
}

body.single-product #tab-reviews .vb-cusrev-select__control::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%) rotate(45deg);
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  pointer-events: none;
}

body.single-product #tab-reviews .vb-cusrev-select__list {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: fit-content;
  right: 0;
  top: calc(100% + 0px);
  background: #fff;
  border: 1px solid rgba(75, 63, 59, 0.14);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 11;
  overflow: auto;
}

/* If the list is hidden via the HTML `hidden` attribute, never force it visible via custom display rules. */
body.single-product #tab-reviews .vb-cusrev-select__list[hidden] {
  display: none !important;
}

body.single-product #tab-reviews .vb-cusrev-select__option {
  padding: 4px 12px;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: var(--vb-text);
  cursor: pointer;
  user-select: none;
}

body.single-product #tab-reviews .vb-cusrev-select__option.is-highlighted,
body.single-product
  #tab-reviews
  .vb-cusrev-select__option[aria-selected="true"] {
  background: #7f6252;
  color: #fff;
}

body.single-product #tab-reviews .vb-cusrev-select__option:hover {
  background: #7f6252;
  color: #fff;
}

/* When hovering a different option, keep the selected option visible but muted. */
@supports selector(:has(*)) {
  body.single-product
    #tab-reviews
    .vb-cusrev-select.is-open:has(
      .vb-cusrev-select__option.is-highlighted:not([aria-selected="true"])
    )
    .vb-cusrev-select__option[aria-selected="true"]:not(.is-highlighted) {
    background: #dddddd;
    color: var(--vb-text);
  }
}

/* Additional information: use the native H2 as the card header (no injected titles). */
body.single-product
  .woocommerce-Tabs-panel--additional_information
  > h2:first-child {
  margin-top: 60px;
  margin-bottom: 0;
  padding: 14px 18px;
  font-family: "Baloo 2", "Poppins", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  background: var(--vb-brown, #7f6252);
  border-radius: 18px 18px 0 0;
  width: var(--vb-addinfo-card-w, 100%);
}

body.single-product
  .woocommerce-Tabs-panel--additional_information
  > h2:first-child
  + table.shop_attributes {
  margin-top: 0;
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Additional information: compact card width on desktop, full-width on mobile, label over value. */
body.single-product .woocommerce-Tabs-panel--additional_information {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  --vb-addinfo-card-w: clamp(320px, 42vw, 520px);
}

body.single-product
  .woocommerce-Tabs-panel--additional_information
  table.shop_attributes {
  display: inline-block;
  width: var(--vb-addinfo-card-w);
  max-width: 100%;
}

body.single-product
  .woocommerce-Tabs-panel--additional_information
  table.shop_attributes
  tbody,
body.single-product
  .woocommerce-Tabs-panel--additional_information
  table.shop_attributes
  tr,
body.single-product
  .woocommerce-Tabs-panel--additional_information
  table.shop_attributes
  th,
body.single-product
  .woocommerce-Tabs-panel--additional_information
  table.shop_attributes
  td {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

body.single-product
  .woocommerce-Tabs-panel--additional_information
  table.shop_attributes
  tr {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(75, 63, 59, 0.11);
}

body.single-product
  .woocommerce-Tabs-panel--additional_information
  table.shop_attributes
  tr:last-child {
  border-bottom: 0;
}

body.single-product
  .woocommerce-Tabs-panel--additional_information
  table.shop_attributes
  th,
body.single-product
  .woocommerce-Tabs-panel--additional_information
  table.shop_attributes
  td {
  padding: 0;
  border: 0;
  background-color: transparent;
}

body.single-product
  .woocommerce-Tabs-panel--additional_information
  table.shop_attributes
  th {
  margin-bottom: 6px;
}

@media (max-width: 767px) {
  body.single-product .woocommerce-Tabs-panel--additional_information {
    align-items: stretch;
  }

  body.single-product .woocommerce-Tabs-panel--additional_information {
    --vb-addinfo-card-w: 100%;
  }

  body.single-product
    .woocommerce-Tabs-panel--additional_information
    table.shop_attributes {
    display: block;
    width: 100%;
  }

  body.single-product .woocommerce-Tabs-panel--description > h2:first-child {
    margin-top: 32px !important;
  }

  body.single-product #tab-reviews.woocommerce-Tabs-panel--reviews {
    padding-bottom: 32px;
  }
}

/* Description content spacing (reset-friendly, consistent rhythm). */
body.single-product .woocommerce-Tabs-panel--description {
  --vb-desc-gap: clamp(12px, 1.6vw, 22px);
  --vb-desc-gap-lg: clamp(20px, 2.8vw, 44px);
  /* Default typography for content that has no editor-provided styles. */
  color: #4b3f3b;
  font-size: 16px;
  line-height: 27px;
  font-family:
    "Montserrat",
    "Poppins",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
}

@media (max-width: 767px) {
  body.single-product .woocommerce-Tabs-panel--description {
    --vb-desc-gap: 12px;
    --vb-desc-gap-lg: 22px;
  }

  body.single-product
    .woocommerce-Tabs-panel--additional_information
    > h2:first-child {
    margin-top: 30px;
  }
}

body.single-product .woocommerce-Tabs-panel--description > * + * {
  margin-top: var(--vb-desc-gap);
}

body.single-product .woocommerce-Tabs-panel--description > :where(h2, h3) {
  margin-top: var(--vb-desc-gap-lg);
}

body.single-product
  .woocommerce-Tabs-panel--description
  > :where(h2, h3):first-child {
  margin-top: 0;
}

body.single-product .woocommerce-Tabs-panel--description :where(ul, ol) {
  list-style: disc;
  padding-left: 18px;
}

body.single-product .woocommerce-Tabs-panel--description :where(li + li) {
  margin-top: 6px;
}

body.single-product
  .woocommerce-Tabs-panel--description
  :where(p, li, td, th, a, span, strong, em, small, blockquote) {
  /* Respect editor styles: if the editor sets styles on a parent/element, those win.
     Otherwise, inherit our defaults from the description container. */
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
}

body.single-product
  .woocommerce-Tabs-panel--description
  :where(a:hover, a:focus-visible) {
  color: inherit;
}

@media (max-width: 767px) {
  body.single-product #tab-reviews .woocommerce-Reviews-title {
    padding-top: 32px;
    padding-bottom: 20px;
  }
}

/* Small phones: prevent tabs content overflow + add padding. */
@media (max-width: 480px) {
  body.single-product .woocommerce-tabs {
    padding: 0;
  }

  body.single-product .woocommerce-Tabs-panel {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Don't break words/letters inside the CusRev sort dropdown. */
  body.single-product #tab-reviews .vb-cusrev-select,
  body.single-product #tab-reviews .vb-cusrev-select__value,
  body.single-product #tab-reviews .vb-cusrev-select__option {
    overflow-wrap: normal;
    word-break: normal;
  }

  body.single-product .woocommerce-tabs .vb-wysiwyg table,
  body.single-product .woocommerce-Tabs-panel table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
  }

  body.single-product .woocommerce-tabs .vb-wysiwyg :where(th, td),
  body.single-product .woocommerce-Tabs-panel :where(th, td) {
    white-space: nowrap;
  }

  body.single-product
    .woocommerce-tabs
    :where(input, textarea, select, button) {
    max-width: 100%;
  }
}
