.single-product #main .woocommerce-breadcrumb {
  background-color: #fafafa;
    display: flex;
    gap: 12px;
    margin-left: -12px;
}
/* main product */

.yg-product {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 80px;
  background-color: #fafafa;
}

/* product gallery */
.yg-product .yg-product-gallery {
  width: calc(50% - 12px);
}

.yg-product .yg-product-gallery .yg-main-slider {
    background-color: #fff;
}

.yg-product .yg-product-gallery .yg-main-slider .swiper-button-prev,
.yg-product .yg-product-gallery .yg-main-slider .swiper-button-next { 
  display: none;
}

.yg-product .yg-product-gallery .yg-main-slider:hover .swiper-button-prev,
.yg-product .yg-product-gallery .yg-main-slider:hover .swiper-button-next {
  display: flex;
}

.yg-product .yg-product-gallery .yg-main-slider img {
    height: 100%;
    object-fit: contain;
}

.yg-product .yg-product-gallery .yg-thumbs-slider img {
    cursor: pointer;
}

.yg-product .yg-main-slider .swiper-wrapper .swiper-slide {
    display: flex;
    aspect-ratio: 1.25;
}

.yg-product .yg-product-gallery .yg-thumbs-slider {
    margin-top: 12px;
}

.yg-product .yg-product-gallery .yg-thumbs-slider .swiper-wrapper {
    display: flex;
}

.yg-product
  .yg-product-gallery
  .yg-thumbs-slider
  .swiper-wrapper
  .swiper-slide {
    display: flex;
    width: 100px;
    aspect-ratio: 1.25;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 12px;
}

.yg-product
  .yg-product-gallery
  .yg-thumbs-slider
  .swiper-wrapper
  .swiper-slide.swiper-slide-thumb-active {
  border: 2px solid #01633d;
}

.yg-product
  .yg-product-gallery
  .yg-thumbs-slider
  .swiper-wrapper
  .swiper-slide
  img {
    object-fit: contain;
}

/* product info */
.yg-product .yg-summary {
  width: calc(50% - 12px) !important;
  margin: 0 !important;
}

.yg-product .yg-product-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.yg-product .yg-product-info .yg-product-title {
    color: var(--Black-1, var(--font, #000));
}

.yg-product .yg-product-info .yg-rating {
    display: flex;
    align-items: center;
    gap: 4px;

    margin-block: -12px;
}

.yg-description .yg-description-content {
  height: 1.5em;
  overflow: hidden;

  transition: all 0.3s;
  text-overflow: ellipsis;
  position: relative;

  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
}


.yg-description .yg-description-content.expanded {
  height: var(--true-height);
  -webkit-mask-image: unset;
  mask-image: unset;
}


.yg-description .yg-button-toggle {
    display: flex;
    display: none;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    cursor: pointer;
  color: var(--text-primary);
}

.yg-description .yg-button-toggle:hover {
  opacity: 0.7;
}

.yg-description .yg-button-toggle .yg-btn-text {
  text-decoration: underline;
}

.yg-specification {
  border: 1px solid #c6c7c8;
}

.yg-specification .yg-specification-title {
    display: flex;
    align-items: center;
  gap: 6px;
  justify-content: space-between;
  cursor: pointer;
  padding: 12px 20px;
  color: #242526;
}

.yg-specification .yg-specification-title:hover {
  opacity: 0.7;
}

.yg-specification .yg-specification-title svg {
  transition: transform 0.3s;
}

.yg-specification .yg-specification-title.active svg {
  transform: rotate(180deg);
}

.yg-specification .yg-specification-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}
.yg-specification .yg-specification-content.active {
  max-height: var(--true-height);
}

.yg-specification .yg-specification-content p {
  padding: 12px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 0;
  border-top: 1px solid #c6c7c8;
  color: #454748;
}

.yg-specification .yg-specification-content p strong {
  font-weight: 600;
    position: relative;
  color: #242526;
}

.yg-specification .yg-specification-content p strong::after {
  content: "";
    position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  width: 1px;
  height: calc(100% + 40px);
  background-color: #c6c7c8;
}

.yg-product-features {
  padding: 20px;
  background-color: #f4f4f4;
}

.yg-product-features .yg-features-content ul {
  list-style: disc;
  padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  color: #000;
}

.yg-get-quote .yg-open-btn,
.yg-get-quote .yg-open-btn-text {
  width: 100%;
    display: flex;
}

.yg-spec-sheet-download {
  padding: 12px 16px;
  background-color: #e0ece7;
}

.yg-spec-sheet-download:hover {
  opacity: 0.7;
}

.yg-spec-sheet-download .yg-download {
    display: flex;
    align-items: center;
    gap: 12px;
  justify-content: space-between;
    cursor: pointer;
    color: #000;
}

.yg-share {
    display: flex;
    align-items: center;
    gap: 24px;
  flex-wrap: wrap;
}

.yg-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.yg-share-links .yg-share-link {
    display: flex;
}

.yg-share-links .yg-share-link:hover {
  opacity: 0.7;
}

@media screen and (max-width: 767px) {
    /* woocommerce_after_single_product_summary */
    .woocommerce #main .woocommerce-breadcrumb {
        margin: 0 auto 16px;
        padding: 20px 20px 0 20px;
        white-space: nowrap;
        overflow: hidden;
        margin-left: -6px;
    }

    /* main product */

    .yg-product {
        flex-direction: column;
        gap: 16px;
        padding-block: 0 20px;
    }

    /* product gallery */

    .yg-product .yg-product-gallery,
    .yg-product .yg-summary {
        width: 100% !important;
    }

    .yg-product .yg-product-gallery {
        flex-direction: column;
    }

    .yg-product .yg-product-gallery .yg-thumbs-slider {
        order: 1;
        width: 100%;
        max-height: unset;
        margin-top: 12px;
        margin-right: 0;
    }

  .yg-product
    .yg-product-gallery
    .yg-thumbs-slider
    .swiper-wrapper
    .swiper-slide {
        height: auto;
        margin-right: 12px;
        margin-bottom: 0;
    }

    /* product info */
    .yg-product .yg-product-info {
        gap: 16px;
    }

  .yg-description .yg-button-toggle {
    margin-top: 6px;
  }
}

/* yg-scroll-tab */
.yg-scroll-tab {
  position: fixed;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .3s ease-in-out;
  z-index: 9;
  top: 0;
  border-top: 1px solid #F4F4F4;
  border-bottom: 1px solid #F4F4F4;
  background: #FFFFFF;
}

.yg-scroll-tab.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.yg-scroll-tab.yg-section {
  padding-block: 0;
}

.yg-scroll-tab .yg-tab-frame {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  padding-inline: 0;
}

.yg-scroll-tab .yg-tab-frame li {
  padding-block: 24px;
  border-bottom: 2px solid transparent;
  color: #000;
  cursor: pointer;
  white-space: nowrap;
}


.yg-scroll-tab .yg-tab-frame li.active {
  color: #01633D;
  border-bottom: 2px solid #01633D;
  font-weight: 600;
}

@media (max-width: 767px) {
    .yg-scroll-tab .yg-tab-frame li {
        padding-block: 16px;
    }
}

/* yg-image-with-text-overlay */

.yg-image-with-text-overlay {
    padding: 0;
    position: relative;
    background: linear-gradient(270deg, rgba(242, 247, 245, 0.00) 50.69%, #F2F7F5 67.07%, rgba(242, 247, 245, 0.95) 77.4%);
}

.yg-image-with-text-overlay-image {
    display: flex;
}

.yg-image-with-text-overlay .yg-overlay-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    max-width: calc(calc(2 * max(48px, calc((100% - 1280px) / 2))) + 500px);
    color: #000;
    padding-block: 48px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-inline: max(48px, calc((100% - 1280px) / 2));
}

.yg-image-with-text-overlay .yg-overlay-content .yg-image-with-text-overlay-text {
    color: #454748;
}

@media (max-width: 767px) {
    .yg-image-with-text-overlay .yg-overlay-content {
        max-width: 100%;
        padding-block: 50px;
        bottom: 0;
        transform: translateY(0);
        top: unset;
        gap: 24px;
    }
}

/* yg-title-with-image */
.yg-title-with-image {
    background-color: #FAFAFA;
}

/* yg-image-with-text */
.yg-image-with-text .yg-item-wrapper {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.yg-image-with-text .yg-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.yg-image-with-text .yg-image-with-text-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.yg-image-with-text .yg-image-with-text-content .h2 {
    color: #000;
}

.yg-image-with-text .yg-image-with-text-content .yg-image-with-text-text {
    color: #454748;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 768px) {
    .yg-image-with-text .yg-item.yg-item-Right .yg-image-with-text-content {
        order: -1;
    }
}

@media (max-width: 767px) { 
    .yg-image-with-text .yg-item-wrapper {
        gap: 50px;
    }

    .yg-image-with-text .yg-item {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .yg-image-with-text .yg-image-with-text-content {
        gap: 24px;
    }
}

/* yg-product-parameter */
.yg-product-parameter  {
  display: block;
}
.yg-product-parameter .yg-heading-with-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.yg-product-parameter .yg-switch-buttons  {
  display: flex;
  align-items: center;
  padding: 6px;
  background-color: #F4F4F4;
}

.yg-product-parameter .yg-switch-button {
  padding: 4px 16px;
  background-color: transparent !important;
  color: #454748 !important;
  border: none !important;
}

.yg-product-parameter .yg-switch-button.active {
  background-color: #01633D !important;
  color: #fff !important;
}

.yg-product-parameter .yg-header-description {
  color: #454748;
  max-width: 800px;
}

.yg-product-parameter .yg-header-download {
  margin-top: 20px;
}

.yg-product-parameter .yg-product-parameter-content {
  padding: 40px;
  background-color: #FAFAFA;
}
.yg-product-parameter .yg-parameter-content-item {
  display: none;
}

.yg-product-parameter .yg-parameter-content-item.active {
  display: block;
}

.yg-product-parameter .yg-collection-item-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* yg-size-pitch-switch */
.yg-size-pitch-switch {
  display: flex;
  flex-direction: column;
}

.yg-size-pitch-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.yg-size-switch,
.yg-pitch-switch {
  position: relative;
}

.yg-select-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background-color: #E2E3E3;
  cursor: pointer;
  transition: border-color 0.2s;
}

.yg-select-wrapper svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.yg-select-wrapper.active svg {
  transform: rotate(180deg);
}

.yg-select-text {
  flex: 1;
  color: #242526;
}

.yg-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #c6c7c8;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.yg-select-options.active {
  display: block;
}

.yg-select-option {
  padding: 8px 12px;
  cursor: pointer;
  color: #242526;
  transition: background-color 0.2s;
}

.yg-select-option:hover {
  background-color: #f4f4f4;
}

.yg-select-option.selected {
  background-color: #E0ECE7;
  color: #01633D;
  font-weight: 600;
}

/* 滚动条样式 */
.yg-select-options::-webkit-scrollbar {
  width: 6px;
}

.yg-select-options::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

.yg-select-options::-webkit-scrollbar-thumb {
  background: rgba(1, 99, 61, 0.35);
  border-radius: 999px;
}

.yg-select-options::-webkit-scrollbar-thumb:hover {
  background: rgba(1, 99, 61, 0.6);
}

.yg-product-parameter .yg-products-wrapper {
  margin-top: 24px;
}

.yg-product-parameter .yg-product-item {
  display: none;
}

.yg-product-parameter .yg-product-item.active {
  display: block;
}

.yg-product-parameter .yg-no-product {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-radius: 16px;
  background-color: #F4F4F4;
  color: #707275;
  padding: 24px;
}

.yg-product-parameter .yg-no-product.active {
  display: flex;
  text-align: center;
}

.yg-product-parameter .yg-product-image {
  aspect-ratio: 10/8;
  object-fit: contain;
  background-color: #fff;
}

.yg-product-parameter .yg-product-title {
  margin-top: 12px;
  color: #000;
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yg-product-parameter .yg-size-pitch-label {
  color: #454748;
  margin-top: 12px;
}

.yg-product-parameter .yg-current-model,
.yg-product-parameter .yg-comparison-model { 
  font-style: italic;
  margin-top: 12px;
}

.yg-product-parameter .yg-current-model {
  color: #01633D;
}

.yg-product-parameter .yg-comparison-model {
  color: #454748;

}

.yg-product-parameter .yg-view-more {
  margin-top: 24px !important;
  background-color: #E2E3E3 !important;
}

.yg-parameter-specification {
  margin-top: 24px;
  display: block;
}

.yg-parameter-specification-item {
  border-bottom: 1px solid #E2E3E3;
}

.yg-parameter-specification-item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  color: #707275;
}

.yg-parameter-specification-item.active .yg-parameter-specification-item-title {
  color: #000;
}

.yg-parameter-specification-item-title svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.yg-parameter-specification-item.active .yg-parameter-specification-item-title svg {
  transform: rotate(180deg);
}

.yg-parameter-specification-item-value {
  color: #454748;
  overflow: hidden;
  max-height: 0;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yg-parameter-specification-item.active .yg-parameter-specification-item-value {
  max-height: 1000px;
  padding-bottom: 12px;
}

.yg-product-sheet-download {
  margin-top: 24px;
}

@media (max-width: 1200px) {
  .yg-product-parameter .yg-collection-item-wrapper {
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
  }

  .yg-product-parameter .yg-collection-item-wrapper .yg-size-pitch-switch:last-child {
    display: none;
  }
}

@media (max-width: 767px) {
  .yg-product-parameter .yg-collection-item-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .yg-product-parameter .yg-collection-item-wrapper .yg-size-pitch-switch:nth-last-child(2) {
    display: none;
  }

  .yg-product-parameter .yg-heading-with-buttons {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
  }

  .yg-product-parameter .yg-header-download {
    margin-top: 14px;
  }

  .yg-product-parameter .yg-switch-button {
    padding-block: 4px !important;
  }

  .yg-product-parameter .yg-product-parameter-content {
    padding: 16px;
  }

  .yg-size-pitch-wrapper {
    grid-template-columns: 1fr;
  }

  .yg-product-parameter .yg-products-wrapper {
    margin-top: 14px;
  }

  .yg-product-parameter .yg-product-title {
    -webkit-line-clamp: 4;
    line-clamp: 4;
    min-height: 4.8em;
    margin-top: 8px;
  }

  .yg-product-parameter .yg-current-model, .yg-product-parameter .yg-comparison-model,.yg-product-parameter .yg-size-pitch-label {
    margin-top: 8px;
  }

  .yg-product-parameter .yg-view-more {
    margin-top: 14px !important;
  }

  .yg-parameter-specification {
    margin-top: 14px;
  }

  .yg-parameter-specification-item-title {
    padding: 6px 0;
  }

  .yg-parameter-specification-item-value {
    gap: 6px;
  }

  .yg-parameter-specification-item.active .yg-parameter-specification-item-value {
    padding-bottom: 6px;
  }

  .yg-parameter-specification-item-value p {
    display: grid;
  }

  .yg-product-sheet-download {
    margin-top: 14px;
  }

  .yg-product-sheet-download .button {
    width: 100%;
  }
}

/* yg-multi-columns */

.yg-multi-columns  {
  background-color: #FAFAFA;
  padding-inline: 0;
  padding-bottom: 0;
}
.yg-multi-columns .yg-section-text {
  margin-top: 10px;
  color: #242526;
}

.yg-multi-columns .yg-multi-columns-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.yg-multi-columns .yg-column-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: linear-gradient(0deg, rgba(3, 52, 33, 0.60) 0%, rgba(3, 52, 33, 0.00) 100%);
  backdrop-filter: blur(20px);
  mask: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
  transition: all 0.25s ease;
}

.yg-multi-columns .yg-column-item-title {
  color: #fff;
}

.yg-multi-columns .yg-column-item-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-in-out, padding-top 0.25s ease-in-out;
  color: #fff;
}

.yg-multi-columns .yg-multi-columns-item:hover .yg-column-item-content {
  height: 100%;
}

.yg-multi-columns .yg-multi-columns-item:hover .yg-column-item-text {
  max-height: 500px;
  padding-top: 10px;
}

@media (max-width: 767px) {
  .yg-multi-columns .yg-multi-columns-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .yg-multi-columns .yg-column-item-content  {
    padding: 32px 20px 16px 20px;
    height: 100% !important;
    mask: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
  }

  .yg-multi-columns .yg-column-item-title {
    font-size: 16px;
  }

  .yg-multi-columns .yg-column-item-text {
    max-height: unset !important;
    padding-top: 10px;
    }
}

/* yg-related-solutions */

.yg-related-solutions .yg-solutions-content-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #F4F4F4;
  align-items: center;
}

.yg-related-solutions .yg-solutions-content {
  padding: 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.yg-related-solutions .yg-solutions-text {
  color: #454748;
}

.yg-related-solutions .yg-button-link {
  margin-top: 8px;
  color: #01633D;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .yg-related-solutions .yg-solutions-content-wrapper  {
    grid-template-columns: 1fr;
  }
  .yg-related-solutions .yg-solutions-content {
    padding: 20px;
    align-items: flex-start;
    }
}