:root {
  --vtaz-product-blue: #1557d5;
  --vtaz-product-blue-dark: #0b347f;
  --vtaz-product-navy: #071b3b;
  --vtaz-product-ink: #10203a;
  --vtaz-product-muted: #66748a;
  --vtaz-product-line: #e1e8f2;
  --vtaz-product-soft: #f3f6fb;
  --vtaz-product-white: #fff;
  --vtaz-product-red: #ef3340;
  --vtaz-product-yellow: #ffbf18;
}

body.single-product {
  background: var(--vtaz-product-soft);
  color: var(--vtaz-product-ink);
  overflow-x: hidden;
}

body.single-product .shop-content {
  padding-bottom: 76px;
}

body.single-product .shop-content > .container {
  max-width: 1280px;
  padding-left: 28px;
  padding-right: 28px;
}

body.single-product .single-product-wrapper > .woocommerce-breadcrumb {
  color: var(--vtaz-product-muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  padding: 24px 0 18px;
}

body.single-product .woocommerce-breadcrumb a {
  color: var(--vtaz-product-blue);
  font-weight: 700;
}

body.single-product .single-product-container {
  background: var(--vtaz-product-white);
  border: 1px solid var(--vtaz-product-line);
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(15, 34, 68, .07);
  margin-bottom: 24px;
  padding: 30px;
}

body.single-product .single-product-container > .row {
  align-items: flex-start;
  margin-left: -18px;
  margin-right: -18px;
}

body.single-product .klb-product-gallery,
body.single-product .klb-product-detail {
  padding-left: 18px;
  padding-right: 18px;
}

body.single-product .single-thumbnails {
  background: #f7f9fc;
  border: 1px solid #edf1f6;
  border-radius: 17px;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

/* Machic leaves this element at opacity:0 when its gallery script does not initialise. */
body.single-product .woocommerce-product-gallery {
  opacity: 1 !important;
  transition: none !important;
}

body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image > a {
  display: block;
  width: 100%;
}

body.single-product .woocommerce-product-gallery__image > a {
  aspect-ratio: 1 / 1;
}

body.single-product .woocommerce-product-gallery__image img {
  height: 100%;
  mix-blend-mode: multiply;
  object-fit: contain;
  width: 100%;
}

body.single-product .woocommerce-product-gallery .product-badges .badge,
body.single-product .woocommerce-product-gallery .onsale {
  background: var(--vtaz-product-red);
  border-radius: 999px;
  color: var(--vtaz-product-white);
  font-size: 11px;
  font-weight: 700;
  left: 12px;
  line-height: 1;
  padding: 8px 10px;
  top: 12px;
  z-index: 4;
}

body.single-product .flex-control-thumbs {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 12px;
}

body.single-product .flex-control-thumbs li {
  border: 1px solid var(--vtaz-product-line);
  border-radius: 9px;
  overflow: hidden;
}

body.single-product .flex-control-thumbs .flex-active {
  border-color: var(--vtaz-product-blue);
}

body.single-product .klb-product-detail {
  padding-bottom: 12px;
  padding-top: 8px;
}

body.single-product .product_title {
  color: var(--vtaz-product-ink);
  font-size: clamp(28px, 2.45vw, 38px);
  letter-spacing: -.035em;
  line-height: 1.16;
  margin: 0 0 13px;
}

body.single-product .klb-product-detail > .product-meta {
  border-bottom: 1px solid var(--vtaz-product-line);
  color: var(--vtaz-product-muted);
  font-size: 11px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  text-transform: uppercase;
}

body.single-product .klb-product-detail > .product-meta .sku {
  color: var(--vtaz-product-ink);
  font-weight: 700;
}

body.single-product .klb-single-stock {
  display: inline-flex;
  margin: 0 0 15px;
}

body.single-product .klb-single-stock .product-stock {
  background: #fff1e8;
  border: 1px solid #ffd9c2;
  border-radius: 999px;
  color: #c74e12;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 11px;
}

body.single-product .klb-product-detail > .product-stock {
  display: none;
}

body.single-product .klb-product-detail > .product-price {
  margin: 0 0 18px;
}

body.single-product .klb-product-detail > .product-price .price {
  align-items: baseline;
  color: var(--vtaz-product-red);
  display: flex;
  flex-wrap: wrap;
  font-size: clamp(28px, 2.7vw, 40px);
  gap: 6px 12px;
  line-height: 1.12;
}

body.single-product .klb-product-detail > .product-price ins {
  order: -1;
  text-decoration: none;
}

body.single-product .klb-product-detail > .product-price del {
  color: #9ba7b8;
  font-size: 16px;
  font-weight: 400;
}

body.single-product .product_meta.product-categories {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px;
  margin: 0 0 20px;
}

body.single-product .product_meta.product-categories .sku_wrapper {
  display: none;
}

body.single-product .product_meta.product-categories .posted_in {
  background: #f3f7fe;
  border: 1px solid #dfe9f8;
  border-radius: 9px;
  color: var(--vtaz-product-muted);
  padding: 7px 10px;
}

body.single-product .product_meta.product-categories a {
  color: var(--vtaz-product-blue);
  font-weight: 700;
}

body.single-product .product-extra-detail {
  border-top: 1px solid var(--vtaz-product-line);
  color: #43516a;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 4px;
  padding-top: 18px;
}

body.single-product .product-extra-detail p:last-child {
  margin-bottom: 0;
}

body.single-product form.cart {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

body.single-product form.cart .quantity input {
  border: 1px solid var(--vtaz-product-line);
  border-radius: 9px;
  min-height: 48px;
}

body.single-product form.cart .single_add_to_cart_button {
  background: var(--vtaz-product-blue);
  border-radius: 10px;
  color: var(--vtaz-product-white);
  font-size: 13px;
  font-weight: 700;
  min-height: 48px;
  padding: 0 24px;
}

body.single-product form.cart .single_add_to_cart_button:hover {
  background: var(--vtaz-product-blue-dark);
}

.vtaz-product-support {
  align-items: center;
  background: linear-gradient(115deg, #eff5ff, #f8fbff);
  border: 1px solid #d9e7fb;
  border-radius: 13px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-top: 22px;
  padding: 14px;
}

.vtaz-product-support__icon {
  align-items: center;
  background: var(--vtaz-product-blue);
  border-radius: 11px;
  color: var(--vtaz-product-white);
  display: flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.vtaz-product-support__icon svg {
  height: 22px;
  width: 22px;
}

.vtaz-product-support__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vtaz-product-support__copy strong {
  color: var(--vtaz-product-ink);
  font-size: 13px;
}

.vtaz-product-support__copy small {
  color: var(--vtaz-product-muted);
  font-size: 11px;
  line-height: 1.45;
}

.vtaz-product-support > a {
  background: var(--vtaz-product-white);
  border: 1px solid #ccdcf6;
  border-radius: 9px;
  color: var(--vtaz-product-blue);
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  text-align: right;
}

.vtaz-product-support > a small {
  color: var(--vtaz-product-muted);
  font-size: 9px;
  line-height: 1.2;
}

.vtaz-product-support > a strong {
  font-size: 14px;
  white-space: nowrap;
}

body.single-product .woocommerce-tabs {
  background: var(--vtaz-product-white);
  border: 1px solid var(--vtaz-product-line);
  border-radius: 18px;
  margin: 0 0 26px;
  overflow: hidden;
  padding: 0 28px 28px;
}

body.single-product .woocommerce-tabs .wc-tabs {
  border-bottom: 1px solid var(--vtaz-product-line);
  display: flex;
  gap: 28px;
  margin: 0 0 24px;
  overflow-x: auto;
  padding: 0;
}

body.single-product .woocommerce-tabs .wc-tabs li {
  border: 0;
  margin: 0;
  padding: 0;
}

body.single-product .woocommerce-tabs .wc-tabs li a {
  color: var(--vtaz-product-muted);
  display: block;
  font-size: 14px;
  font-weight: 700;
  padding: 20px 0 16px;
  position: relative;
  white-space: nowrap;
}

body.single-product .woocommerce-tabs .wc-tabs li.active a {
  color: var(--vtaz-product-blue);
}

body.single-product .woocommerce-tabs .wc-tabs li.active a::after {
  background: var(--vtaz-product-blue);
  border-radius: 999px 999px 0 0;
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

body.single-product .woocommerce-tabs .panel {
  color: #3f4e67;
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

body.single-product .woocommerce-tabs .panel > h2:first-child {
  color: var(--vtaz-product-ink);
  font-size: 22px;
  margin-bottom: 18px;
}

body.single-product .vitinhaz-specifications {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--vtaz-product-line);
  border-radius: 11px;
  overflow: hidden;
  width: 100%;
}

body.single-product .vitinhaz-specifications tr:nth-child(even) {
  background: #f8faff;
}

body.single-product .vitinhaz-specifications th,
body.single-product .vitinhaz-specifications td {
  border-bottom: 1px solid var(--vtaz-product-line);
  border-left: 0;
  border-right: 0;
  border-top: 0;
  padding: 13px 15px;
  vertical-align: top;
}

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

body.single-product .vitinhaz-specifications th {
  background: #f1f5fb;
  color: var(--vtaz-product-ink);
  font-weight: 700;
  width: 32%;
}

body.single-product .vitinhaz-product-note {
  background: #eef5ff;
  border: 0;
  border-left: 4px solid var(--vtaz-product-blue);
  border-radius: 0 8px 8px 0;
  color: #41516c;
  margin: 18px 0 0;
  padding: 14px 16px;
}

body.single-product .vitinhaz-product-note a {
  color: var(--vtaz-product-blue);
  font-weight: 700;
}

body.single-product .related-products,
body.single-product .related {
  background: var(--vtaz-product-white);
  border: 1px solid var(--vtaz-product-line);
  border-radius: 18px;
  margin-top: 0;
  padding: 26px;
}

body.single-product .related-products .module-header,
body.single-product .related > h2 {
  border-bottom: 1px solid var(--vtaz-product-line);
  margin-bottom: 18px;
  padding-bottom: 15px;
}

body.single-product .related-products .module-header h4,
body.single-product .related > h2 {
  color: var(--vtaz-product-ink);
  font-size: 24px;
  margin: 0;
}

body.single-product .related .products,
body.single-product .related-products .products {
  display: grid !important;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.single-product .related .products .product,
body.single-product .related-products .products .product {
  display: flex;
  flex: none !important;
  margin: 0 !important;
  max-width: 100% !important;
  min-width: 0;
  padding: 0 !important;
  width: 100% !important;
}

body.single-product .related .product-wrapper,
body.single-product .related-products .product-wrapper {
  border: 1px solid var(--vtaz-product-line);
  border-radius: 13px;
  display: flex;
  flex: 1 1 auto;
  overflow: hidden;
}

body.single-product .related .product-content,
body.single-product .related-products .product-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

body.single-product .related .thumbnail-wrapper,
body.single-product .related-products .thumbnail-wrapper {
  aspect-ratio: 1 / 1;
  background: #f7f9fc;
  padding: 13px;
}

body.single-product .related .thumbnail-wrapper img,
body.single-product .related-products .thumbnail-wrapper img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

body.single-product .related .product-content > .content-wrapper,
body.single-product .related-products .product-content > .content-wrapper {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 13px;
}

body.single-product .related .product-title,
body.single-product .related-products .product-title {
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 12px;
  min-height: 51px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.single-product .related .product-price-cart,
body.single-product .related-products .product-price-cart {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: auto;
}

body.single-product .related .price,
body.single-product .related-products .price {
  color: var(--vtaz-product-red);
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

body.single-product .related .price del,
body.single-product .related-products .price del {
  color: #9aa6b8;
  font-size: 10px;
  font-weight: 400;
  order: -1;
}

body.single-product .related .price ins,
body.single-product .related-products .price ins {
  text-decoration: none;
}

body.single-product .related .product-price-cart .button,
body.single-product .related-products .product-price-cart .button {
  align-items: center;
  background: #eef4ff;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  color: var(--vtaz-product-blue);
  display: flex;
  font-size: 0;
  height: 36px;
  justify-content: center;
  padding: 0;
  width: 36px;
}

body.single-product .related .product-price-cart .button i,
body.single-product .related-products .product-price-cart .button i {
  font-size: 17px;
}

body.single-product .related .product-footer,
body.single-product .related .product-content-fade,
body.single-product .related .product-meta,
body.single-product .related-products .product-footer,
body.single-product .related-products .product-content-fade,
body.single-product .related-products .product-meta {
  display: none !important;
}

@media (min-width: 992px) {
  body.single-product #masthead {
    background: var(--vtaz-product-white);
    box-shadow: 0 8px 30px rgba(15, 34, 68, .06);
  }

  body.single-product #masthead .header-top {
    background: var(--vtaz-product-navy);
    border: 0;
  }

  body.single-product #masthead .header-top .header-wrapper {
    min-height: 36px;
  }

  body.single-product #masthead .header-top a {
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
  }

  body.single-product #masthead .header-main {
    height: auto;
  }

  body.single-product #masthead .header-main .header-wrapper {
    min-height: 78px;
  }

  body.single-product #masthead .header-main .column.left {
    align-items: center;
    display: grid;
    gap: 36px;
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
  }

  body.single-product #masthead .site-brand {
    margin: 0;
    white-space: nowrap;
  }

  body.single-product #masthead .site-brand .brand-text {
    color: var(--vtaz-product-blue);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.04em;
  }

  body.single-product #masthead .site-menu.primary {
    box-shadow: none;
    min-width: 0;
    width: 100%;
  }

  body.single-product #masthead .site-menu.primary > .menu {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    justify-content: flex-end;
    overflow: hidden;
  }

  body.single-product #masthead .site-menu.primary > .menu > li {
    flex: 0 0 auto;
    margin: 0;
  }

  body.single-product #masthead .site-menu.primary > .menu > li:first-child {
    display: none;
  }

  body.single-product #masthead .site-menu.primary > .menu > li > a {
    color: var(--vtaz-product-ink);
    font-size: 13px;
    font-weight: 700;
    padding: 27px 0;
    white-space: nowrap;
  }

  body.single-product #masthead .site-menu.primary > .menu > li > a:hover {
    color: var(--vtaz-product-blue);
  }

  body.single-product #masthead .header-search-column {
    background: var(--vtaz-product-white);
    border-bottom: 1px solid var(--vtaz-product-line);
    border-top: 1px solid var(--vtaz-product-line);
  }

  body.single-product #masthead .header-search-column .header-wrapper {
    min-height: 58px;
  }

  body.single-product #masthead .site-departments {
    width: auto;
  }

  body.single-product #masthead .site-departments .all-categories {
    background: var(--vtaz-product-blue);
    border-radius: 9px;
    color: var(--vtaz-product-white);
    min-height: 42px;
    padding: 7px 18px;
  }

  body.single-product #masthead .site-departments .button-title {
    font-size: 13px;
    font-weight: 700;
  }

  body.single-product #masthead .site-departments .button-detail > span {
    display: none;
  }
}

@media (max-width: 991px) {
  body.single-product .shop-content > .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.single-product .klb-product-detail {
    margin-top: 22px;
  }
}

@media (max-width: 767px) {
  body.single-product .shop-content {
    padding-bottom: 56px;
  }

  body.single-product .shop-content > .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  body.single-product .single-product-wrapper > .woocommerce-breadcrumb {
    font-size: 11px;
    padding: 17px 0 12px;
  }

  body.single-product .single-product-container {
    border-radius: 16px;
    padding: 13px;
  }

  body.single-product .single-product-container > .row {
    margin-left: 0;
    margin-right: 0;
  }

  body.single-product .klb-product-gallery,
  body.single-product .klb-product-detail {
    padding-left: 0;
    padding-right: 0;
  }

  body.single-product .single-thumbnails {
    border-radius: 13px;
    padding: 13px;
  }

  body.single-product .product_title {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.2;
  }

  body.single-product .klb-product-detail > .product-price .price {
    font-size: 28px;
  }

  body.single-product .product_meta.product-categories {
    align-items: stretch;
    flex-direction: column;
  }

  body.single-product .product_meta.product-categories .posted_in {
    line-height: 1.55;
  }

  .vtaz-product-support {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .vtaz-product-support > a {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    grid-column: 1 / -1;
    justify-content: center;
    text-align: center;
  }

  body.single-product .woocommerce-tabs {
    border-radius: 15px;
    padding: 0 14px 18px;
  }

  body.single-product .woocommerce-tabs .wc-tabs {
    gap: 22px;
    margin-bottom: 18px;
  }

  body.single-product .woocommerce-tabs .wc-tabs li a {
    padding-bottom: 13px;
    padding-top: 16px;
  }

  body.single-product .vitinhaz-specifications {
    font-size: 12px;
  }

  body.single-product .vitinhaz-specifications th,
  body.single-product .vitinhaz-specifications td {
    padding: 10px;
  }

  body.single-product .vitinhaz-specifications th {
    width: 38%;
  }

  body.single-product .related-products,
  body.single-product .related {
    border-radius: 15px;
    padding: 15px;
  }

  body.single-product .related .products,
  body.single-product .related-products .products {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.single-product .related .thumbnail-wrapper,
  body.single-product .related-products .thumbnail-wrapper {
    padding: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product *,
  body.single-product *::before,
  body.single-product *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
