/* 2025 Redesign */
.section {
  /* overflow: visible; */
  overflow-x: hidden;
}

#single .row-1 {
  padding-top: 0;
}

/* Product layout */
.product-detail {
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 730px 1fr;
  grid-template-rows: min-content 1fr;
  grid-template-areas: "product-slider quote-info" "product-description quote-info";
  row-gap: 32px;
  column-gap: 40px;
  margin-bottom: 40px;
  min-height: 100vh;
}

.product-slider {
  grid-area: product-slider;
}

.quote-info {
  position: sticky;
  top: 20px;
  grid-area: quote-info;
  display: flex;
  flex-direction: column;
  padding: 0 0 40px 17px;
  max-height: 100%;
  overflow-y: auto;
  align-self: start;
}

.product-description {
  grid-area: product-description;
  display: flex;
  gap: 35px;
  align-items: flex-start;
  margin-bottom: 50px;
}



/* Product sidebar */

.quote-info .pricing-delivery-wrapper {
  display: flex;
  gap: 8px;
  padding: 4px 8px 0 0;
  margin-bottom: 12px;
}

.quote-info .pricing-delivery-wrapper p {
  margin: 0;
  color: #464686;
  line-height: 1;
}

.quote-info .pricing-delivery-wrapper .pricing-delivery-divider {
  font-size: 12px;
  color: rgba(7, 18, 9, 0.2);
  line-height: normal;
}

.quote-info .price-range span {
  display: inline-block;
  height: auto;
}

.quote-info .price-bg path {
  fill: rgba(7, 18, 9, 0.2);
  line-height: normal;
}

.info-name {
  color: #090911;
  font-size: 32px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.96px;
}

.info-product-category {
  color: #090911;
  opacity: .5;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

.quote-info input[name='product-name'] {
  display: none;
}

.product-detail .info-title {
  color: #090911;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}

.quote-info input[type=text],
.quote-info input[type=email] {
  padding: 16px 14px;
  border: 1px solid rgba(9, 9, 17, 0.10);
  border-radius: 0;
  color: #071209;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  height: auto;
}

.quote-info select {
  padding: 16px 14px;
  border: 1px solid rgba(9, 9, 17, 0.10);
  border-radius: 0;
  color: #9d9da0; /* Default placeholder color */
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  height: auto;
}

.quote-info select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('images/icon-select.svg');
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 30px;
}

.quote-info input[type=text]::placeholder,
.quote-info input[type=email]::placeholder,
.quote-info textarea::placeholder {
  color: #9d9da0;
}

/* Select with option selected - normal color */
.quote-info select.has-value {
  color: #071209;
}

/* Dropdown options always with normal color */
.quote-info select option {
  color: #071209;
}

.quote-info input[type=text]:focus,
.quote-info input[type=email]:focus,
.product-detail .quote-info textarea:focus {
  border: 1px solid rgba(9, 9, 17, 0.40);
  box-shadow: none;
}

.product-detail .quote-info .form-container p {
  margin: 0;
}

.form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}

.form-container .input-container {
  flex: 0 0 calc(50% - 4px);
  min-width: 0;
}

.btn-attach,
.acc-wrapper,
.container-btn-submit {
  flex: 0 0 100%;
  width: 100%;
}

.input-container p,
.btn-attach p,
.acc-wrapper p,
.container-btn-submit p {
  margin: 0;
}

.form-control {
  width: 100%;
  box-sizing: border-box;
}

.product-detail .quote-info .btn-attach {
  width: 100%;
}

.product-detail .quote-info .file {
  border: 1px solid #090911;
  background: #ffffff;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
  padding: 8px 12px;
  display: inline-block;
  cursor: pointer;
  position: relative;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: #090911 !important;
  text-align: center;
  white-space: nowrap;
  background-color: #FFFFFF;
  width: 100%;
  background-image: url(images/icon-upload.svg);
  background-repeat: no-repeat;
  background-position: 25% center;
  padding-left: 40px;
}

.product-detail .quote-info input[type=file] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.product-detail .quote-info .acc-wrapper {
  width: 100%;
}

.product-detail .quote-info a.acc-toggle {
  padding-left: 22px;
  color: #090911;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}

.product-detail .quote-info a.acc-toggle span {
  color: rgba(9, 9, 9, 0.5);
  font-size: 12px;
  font-weight: 400;
  padding-left: 22px;
  line-height: normal;
}

.product-detail .quote-info textarea {
  min-height: 120px;
  max-height: 120px;
  padding: 16px;
  border: 1px solid rgba(9, 9, 17, 0.10);
  color: #071209;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  max-width: 100%;
  min-width: 100%;
}

.product-detail .quote-info .container-btn-submit {
  width: 100%;
  margin-top: 32px;
}

.product-detail .quote-info input[type=submit] {
  width: 100%;
  border: 1px solid #464686;
  background: #464686;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  text-align: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}

.product-detail .info-features {
  display: flex;
}

.product-detail .info-feature:first-of-type {
  padding-left: 0;
}

.product-detail .info-feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 16px;
  padding-right: 16px;
  gap: 8px;
}

.product-detail .info-feature .info-feature-img img {
  width: 24px;
  height: 24px;
}

.product-detail .info-feature .info-feature-desc p {
  color: rgba(9, 9, 17, 0.7);
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
}

.product-detail .info-feature+.info-feature {
  border-left: 1px solid rgba(9, 9, 11, 0.1);
}


/* Product detail */

.product-description-details {
  flex: 1;
  min-width: 480px;
}

.product-description-details .product-description-title {
  margin-top: 0;
}

.product-description-title {
  color: #090911;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  /* 150% */
  margin-bottom: 12px;
}

.product-description-subtitle {
  color:  #090911;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 32px 0 8px;
}

.product-description-link {
  color: #090911;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.product-attributes-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-attributes-details h4 {
  color: #090911;
  font-size: 14px;
  font-weight: 600;
}

.product-attributes-details p {
  color: rgba(9, 9, 17, 0.50);
  font-size: 14px;
  font-weight: 400;
}

.product-info {
  color: rgba(9, 9, 17, 0.50);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.content-show-more {
  overflow: hidden;
  transition: height 500ms ease;
}

.custom-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 48px;
  row-gap: 32px;
  text-align: center;
}

.custom-option a {
  display: block;
  padding: 0 16px;
}

.custom-option img {
  max-width: 100%;
  height: auto;
}

.custom-option p {
  color: #090911;
  text-align: center;
  font-size: 14px;
  line-height: normal;
  margin: 4px 0 0
}


/* Slider */

.product-image-gallery {
  display: flex;
  gap: 20px;
  height: 560px;
}

.product-image-gallery {
  display: flex;
  gap: 20px;
  height: 560px;
}

#thumbnail-slider {
  width: 120px;
}

.product-carousel {
  width: calc(100% - 140px);
  display: flex;
  /* align-items: center; */
}

.product-carousel .flex-viewport {
  display: flex;
  flex-direction: column;
  height: auto;
  width: 100%;
  max-height: 100%;
}

.product-carousel .flex-viewport li img {
  max-height: 450px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.flexslider.vertical-carousel .slides li {
  float: none !important;
  margin-bottom: 8px;
  padding: 2px 8px;
  box-sizing: content-box;
  border: 2px solid transparent;
}

.flexslider.vertical-carousel .slides li.flex-active-slide {
  border: 2px solid #071209;
}

.flexslider.vertical-carousel .flex-viewport {
  max-height: 500px;
}

.flex-direction-nav a {
  margin: 0;
}

.flexslider.vertical-carousel .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 42px;
  top: 0;
  width: 36px;
  height: 36px;
}

.flexslider.vertical-carousel:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 42px;
  top: 0;
}

.flexslider.vertical-carousel .flex-direction-nav .flex-next {
  opacity: 0.7;
  left: 42px;
  bottom: 0;
  right: unset;
  top: unset;
  width: 36px;
  height: 36px;
}

.flexslider.vertical-carousel:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  bottom: 0;
  right: unset;
  top: unset;
}

.flexslider.vertical-carousel .flex-direction-nav a.flex-prev:before {
  content: '';
  background: url('images/slider-arrow-prev.png');
  background-size: 100%;
  width: 36px;
  height: 36px;
}

.flexslider.vertical-carousel .flex-direction-nav a.flex-next:before {
  content: '';
  background: url('images/slider-arrow-next.png');
  background-size: 100%;
  width: 36px;
  height: 36px;
}

.flexslider.product-carousel .flex-direction-nav .flex-prev {
  left: 10px;
  width: 36px;
  height: 36px;
}

.flexslider.product-carousel .flex-direction-nav a.flex-prev:before {
  content: '';
  background: url('images/slider-arrow-left.png');
  background-size: 100%;
  width: 36px;
  height: 36px;
}

.flexslider.product-carousel .flex-direction-nav .flex-next {
  right: 10px;
  width: 36px;
  height: 36px;
}

.flexslider.product-carousel .flex-direction-nav a.flex-next:before {
  content: '';
  background: url('images/slider-arrow-right.png');
  background-size: 100%;
  width: 36px;
  height: 36px;
}

/* Similar products */
.similar-product .similar-product-title {
  color: #090911;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  text-align: left;
  margin-bottom: 12px;
  padding-top: 40px;
  border-top: 1px solid rgba(9, 9, 17, 0.10);
}

.similar-product .similar-product-table {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.similar-product .similar-product-table:first-of-type {
  border-top: 1px solid rgba(9, 9, 17, 0.10);
  border-right: 1px solid rgba(9, 9, 17, 0.10);
  border-left: 1px solid rgba(9, 9, 17, 0.10);
}

.similar-product .similar-product-headers.header-odd .similar-product-att {
  border-left: 1px solid rgba(9, 9, 17, 0.10);
  background: rgba(9, 9, 17, 0.1);
}

.similar-product .similar-product-headers.header-even .similar-product-att {
  border-left: 1px solid rgba(9, 9, 17, 0.10);
  background: rgba(9, 9, 17, 0.05);
}

.similar-product .similar-product-att.last-row {
  border-bottom: 1px solid rgba(9, 9, 17, 0.1);
}

.similar-product .similar-product-header {
  padding: 16px;
  margin: 0 auto;
  height: 100%;
}

.similar-product .similar-product-header a {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 8px;
}

.similar-product .similar-product-header .img-container {
  min-height: 120px;
  display: flex;
}

.similar-product .similar-product-header img {
  max-width: 120px;
  max-height: 120px;
  margin: 0 auto;
}

.similar-product .similar-product-header a .product-cat-link-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.similar-product .similar-product-header a .product-name-cat-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 4px;
}

.similar-product .similar-product-header .name {
  color: #090911;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0;
}

.similar-product .similar-product-header .category {
  color: rgba(9, 9, 17, 0.70);
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0;
}

.similar-product .similar-product-header a .link {
  color: #090911;
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  text-decoration-line: underline;
  text-align: center;
}

.similar-product .similar-product-att {
  padding: 16px;
  height: 100%;
  line-height: normal;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid rgba(9, 9, 17, 0.10);
  border-right: 1px solid rgba(9, 9, 17, 0.10);
}

.similar-product .similar-product-att span {
  color: #090911;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}

.similar-product-att .price-range span {
  display: inline-block;
  height: auto;
}

.similar-product .similar-product-att p {
  margin-bottom: 0;
  color: #090911;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}

.similar-product-att .price-bg path {
  fill: rgba(7, 18, 9, 0.2);
  line-height: normal;
}



/* Product Pricing Example */

.pricing-container {
  margin: 0 auto;
  background: white;
  border: 1px solid #ddd;
  overflow: hidden;
}

.pricing-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.pricing-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  border-right: 1px solid #ddd;
}

.pricing-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.pricing-info {
  display: flex;
  flex-direction: column;
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 24px 0 24px;
}

.pricing-title {
  flex: 1;
}

.pricing-title p {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: #090911;
  margin-bottom: 0;
}

.pricing-subtitle {
  color: rgba(9, 9, 17, 0.70);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 15px;
}

.pricing-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 24px 16px 24px;
  border-bottom: 1px solid #ddd;
}

.pricing-spec-group h3 {
  color: rgba(9, 9, 17, 0.50);
  font-size: 12px;
  font-weight: 400;
  text-transform: capitalize;
  margin-top: 5px;
  margin-bottom: 5px;
}

.pricing-spec-group p {
  color: #090911;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
}

.pricing-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.pricing-option {
  text-align: center;
  padding: 15px;
  border-right: 1px solid #ddd;
}

.pricing-option:last-child {
  border-right: none;
}

.pricing-option__price {
  color: #090911;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.pricing-option__quantity {
  color: rgba(9, 9, 17, 0.70);
  text-align: center;
  font-size: 12px;
  font-weight: 400;
}



/* End Brands Carousel */
@media (max-width: 768px) {
  .product-detail {
    padding: 0 15px;
    display: block;
    grid-template-columns: 1fr;
    grid-template-areas:
      "product-slider"
      "quote-info"
      "product-description";
  }

  .product-detail .product-image-gallery {
    flex-direction: column;
    height: auto;
    margin-bottom: 20px;
  }

  .product-detail #thumbnail-slider {
    order: 1;
    width: 100%;
    margin-bottom: 0;
  }

  .product-detail .flexslider.vertical-carousel .flex-viewport {
    max-height: 64px;
  }

  .product-detail .flexslider.vertical-carousel .slides li {
    float: left !important;
    margin-bottom: 0;
    padding: 2px;
    max-height: 57px;
    height: 57px;
  }

  .product-carousel .flex-direction-nav {
    display: block;
  }

  .product-detail #thumbnail-slider img {
    width: 100%;
  }

  .product-detail .product-carousel {
    margin-top: 24px;
    width: 100%;
  }

  .quote-info {
    position: relative;
    padding: 0;
    top: 0;
    margin-top: 50px;
  }

  .product-description {
    padding-top: 40px;
    flex-direction: column;
  }

  .product-description-details {
    min-width: unset;
  }

  .product-customization {
    margin-top: 50px;
  }

  .custom-option a {
    padding: 0 0;
  }

  .input-container {
    flex: 0 0 100%;
  }

  .custom-options-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
    row-gap: 8px;
  }

  .box-video .yt-hd-thumbnail-outer-container {
    width: 100%;
  }

  .pricing-content {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }

  .pricing-image {
    border-right: 0px;
    border-bottom: 1px solid #ddd;
  }

  .pricing-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .pricing-section {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pricing-title h1 {
    font-size: 20px;
  }

  .pricing-option {
    border-right: 0px;
    border-bottom: 1px solid #ddd;
  }

  .pricing-option:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .pricing-specs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


/* Fix Product Slider */


.video-thumbnail-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 128px;
}

.video-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
}

.video-container video {
  width: 500px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-thumbnail-wrapper {
    min-height: 60px;
  }

  .video-container video {
    width: 100%;
  }
    
  .video-thumbnail-wrapper svg {
    width: 30px;
    height: 30px;
  }
}

#thumbnail-slider.vertical-carousel {
  height: 520px !important; /* Fixed height for correct calculations */
  overflow: hidden;
}

#thumbnail-slider.vertical-carousel .slides li {
  height: 120px; /* Fixed height for all items */
  width: 120px;
  margin-bottom: 10px !important;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#thumbnail-slider.vertical-carousel .slides li img {
  max-width: 100%;
}

@media (max-width: 768px) {
  #thumbnail-slider.vertical-carousel {
    height: auto !important;
  }
  
  #thumbnail-slider .slides li {
    height: 48px !important;
    width: 48px !important;
    margin-right: 8px !important;
    margin-bottom: 0 !important;
  }
}

.vertical-carousel.flexslider .slides {
  height: auto;
}

.vertical-carousel.flexslider .slides li {
  display: block;
  float: none;
}