.product-details-main {
}

.product-details-main .product-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.product-details-main .product-header h6 {
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark-green);
  margin: 0;
}

.product-details-main .product-header p {
  margin: 0;
  color: var(--placeholder-text);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-details-main .product-header .bg-pink {
  width: 4px;
  height: 4px;
  background: var(--pink);
  margin: 0 10px;
}

.product-details-main .product-info {
}

.product-details-main .product-info .image-div .image {
  background: white;
  height: 680px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.product-details-main .product-info .image-div .image img {
  width: auto;
  height: 100%;
  transition: transform 0.3s ease;
}
.product-details-main .product-info .image-div .display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.product-details-main .product-info .image-div .display button {
  border: none;
  outline: none;
  background-color: inherit;
}

.product-details-main .product-info .image-div .display .display-pic {
  background: white;
}

.product-details-main .product-info .image-div .display .display-pic img {
  width: 93px;
  height: 120.452px;
  object-fit: contain;
  cursor: pointer;
}

.carousel-control-prev-icon {
  background-image: url("../image/arrow_left.svg");
  transform: translateX(-65px);
  background-size: 20%;
}

.carousel-control-next-icon {
  background-image: url("../image/arrow-right.svg");
  transform: translateX(65px);
}

.selected-image {
  border: 2px solid var(--selection-green, #32cd32);
}

.product-details-main .product-info .content {
  padding: 0 20px;
}

.product-details-main .product-info .content .header {
}

.product-details-main .product-info .content .header .topbtns {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 30px;
}

.product-details-main .product-info .content .header .topbtns P {
  color: var(--black);
  padding: 2px 16px;
  border-radius: 4px;
  background: var(--light-blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0;
  cursor: pointer;
  margin-right: 10px;
}

.product-details-main .product-info .content .header h6 {
  color: var(--dark-green);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.product-details-main .product-info .content .header h3 {
  color: var(--black);
  font-size: 32px;
  font-weight: bolder;
  line-height: 34px;
  text-transform: capitalize;
}

.product-details-main .product-info .content .header h5 {
  color: var(--body-text-color);
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
}

.product-details-main .product-info .content .header h5 span {
  font-weight: normal;
}

.product-details-main .product-info .content .border-bottom {
  height: 1px;
  width: 100%;
  background: #cdcdcd;
  margin: 20px 0;
}

.product-details-main .product-info .content .category {
  display: flex;
  justify-content: space-between;
  /* align-items: flex-start; */
}

.product-details-main .product-info .content .category .category-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}
.product-details-main .product-info .content .category .category-box .size-guide-btn {
  font-size: 10px;
}
.product-details-main .product-info .content .category .category-box img {
  max-height: 32px;
}
.product-details-main
  .product-info
  .content
  .category
  .category-box
  .numbering {
  width: 32px;
  height: 32px;
  color: var(--placeholder-text);
  border-radius: 50%;
  border: 1px solid var(--placeholder-text);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 16px;
  align-self: flex-start;
}
.product-details-main
  .product-info
  .content
  .category
  .category-box
  .numbering_selected {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #32cd32;
  /* background-color: #32CD32; */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 16px;
  align-self: flex-start;
  color: #32cd32;
}
.product-details-main
  .product-info
  .content
  .category
  .category-box
  .numbering_selected
  p {
  margin: 0;
}


.product-details-main
  .product-info
  .content
  .category
  .category-box
  .numbering
  p {
  margin: 0;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.product-details-main
  .product-info
  .content
  .category
  .category-box
  .selection {
  flex: 1;
}

.product-details-main
  .product-info
  .content
  .category
  .category-box
  .selection
  h3 {
  color: var(--black, #2a2a2a);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 155.556% */
  margin: 0;
}

.product-details-main
  .product-info
  .content
  .category
  .category-box
  .selection
  p {
  color: #444;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

@media screen and (max-width: 992px) {
  .product-details-main
    .product-info
    .content
    .category
    .category-box
    .selection
    p {
    color: #444;
    font-size: 13px;
    line-height: 24px;
    margin: 0;
  }
}

.product-details-main
  .product-info
  .content
  .category
  .category-box
  .selection
  h6 {
  width: max-content;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid #d1eaf0;
  background: #f0f7f9;
  color: var(--body-text-color, #444);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  margin: 0;
  margin-top: 5px;
}

.product-details-main .product-info .content .category .quantity-selection {
  margin: 10px 0px;
}

.product-details-main .product-info .content .category .quantity-selection p {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 19px;
  color: var(--black);
  margin: 0;
}

.product-details-main
  .product-info
  .content
  .category
  .quantity-selection
  span {
  color: #ff1d1d;
}

.product-details-main .product-info .content .category .size-selection {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  grid-auto-rows: minmax(70px, auto);
}

/* .product-details-main .product-info .content .category  .size-selection .size-div{
    padding:8px 16px;
    border: 1px solid var(--stroke-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    margin-right: 7px;
    
}

.product-details-main .product-info .content .category  .size-selection .size-div P{
    margin: 0;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 16px;
color: var(--body-text-color, #444);
} */

.product-details-main
  .product-info
  .content
  .category
  .category-box
  .arrow-icon {
}

.product-details-main
  .product-info
  .content
  .category
  .category-box
  .arrow-icon
  img {
  width: 24px;
  height: 24px;
}

.product-details-main .product-info .content .total-price {
  display: flex;
  align-items: center;
  justify-content: end;
}

.product-details-main .product-info .content .total-price h5 {
  color: var(--body-text-color, #444);
  /* H6 */
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  /* line-height: 30px; */
  text-transform: capitalize;
  margin: 0;
}

.product-details-main .product-info .content .total-price h4 {
  color: #444;
  text-align: right;
  /* H4 */
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 42px; /* 131.25% */
  text-transform: capitalize;
  margin: 0;
}

.product-details-main .product-info .content .price-specification {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-details-main .product-info .content .price-specification h6 {
  color: var(--dark-green, #11505d);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.product-details-main .product-info .content .price-specification p {
  color: var(--body-text-color, #444);
  /* Body Small */
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.product-details-main .nav-tabs {
  display: flex;
  list-style-type: none;
  border: none;
  /* gap: 20px; */
  padding-left: 0;
}

.product-details-main .nav-tabs .nav-item a {
  padding-left: 0px;
  padding-right: 0px;
  color: #cdcdcd;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  padding-bottom: 10px;
}
@media screen and (max-width: 992px) {
  .product-details-main .nav-tabs .nav-item a {
    padding-left: 0px;
    padding-right: 0px;
    color: #cdcdcd;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding-bottom: 10px;
  }
}
.product-details-main .nav-tabs .nav-item a:hover {
  border-color: transparent;
}

.product-details-main .nav-tabs .nav-item a.active {
  border-color: transparent;
  border-bottom: 3px solid #f6bacb;
  color: #2a2a2a;
}

.product-details-main .caution p {
  color: #7a8089;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.product-details-main .articles h2 {
  color: #000;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 50px;
  text-transform: capitalize;
  text-align: center;
  margin-bottom: 30px;
}

.product-details-main .articles {
  margin-top: 3rem;
}

.product-details-main .articles .related-products-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-details-main .articles .related-products-heading h2 {
  margin: 0;
  color: #29343b;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-transform: none;
}

.related-products-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.related-products-arrow {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7dce1;
  border-radius: 50%;
  background: #fff;
  color: #34434c;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.related-products-arrow:hover:not(:disabled) {
  border-color: #9aaaaf;
  background: #f1f5f7;
  color: #17252d;
}

.related-products-arrow:focus-visible {
  outline: 3px solid rgba(34, 110, 155, 0.2);
  outline-offset: 2px;
}

.related-products-arrow:disabled {
  color: #aeb7bd;
  cursor: default;
  opacity: 0.55;
}

.related-products-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 1rem;
  scroll-behavior: smooth;
  scroll-padding-inline: 0.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: #b8c2c8 #edf0f2;
  scrollbar-width: thin;
}

.related-product-item {
  flex: 0 0 clamp(220px, 22vw, 260px);
  min-width: 0;
  scroll-snap-align: start;
}

.related-product-item > article {
  border: 1px solid #e3e7e9 !important;
  box-shadow: 0 2px 10px rgba(26, 39, 48, 0.07) !important;
}

.related-product-item > article figure {
  display: flex;
  min-height: 210px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f7f8f9;
}

.related-product-item > article figure > img {
  width: 100%;
  height: 210px;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .product-details-main .articles {
    margin-top: 2rem;
  }

  .product-details-main .articles .related-products-heading h2 {
    font-size: 1.35rem;
  }

  .related-products-arrow {
    width: 38px;
    height: 38px;
  }

  .related-product-item {
    flex-basis: min(76vw, 260px);
  }
}

.product-details-main .viewed-articles {
}

.product-details-main .viewed-articles .title {
  padding-bottom: 30px;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.product-details-main .viewed-articles .title h2 {
  color: #000;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 50px;
  text-transform: capitalize;
}

.product-details-main .viewed-articles .article-card {
}

.product-details-main .viewed-articles .article-card .image-div {
  min-height: 250px;
  padding: 10px;
  background: var(--bg-product-card);
}

.product-details-main .viewed-articles .article-card .image-div .heart {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.product-details-main .viewed-articles .article-card .image-div .heart img {
}

.product-details-main .viewed-articles .article-card .image-div .article-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-details-main
  .viewed-articles
  .article-card
  .image-div
  .article-image
  img {
  width: 150px;
  height: 180px;
}

.product-details-main .viewed-articles .article-card .info {
  min-height: 70px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

.product-details-main .viewed-articles .article-card .info h3 {
  color: var(--black);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  text-transform: capitalize;
}

.product-details-main .viewed-articles .article-card .info p {
  color: var(--black);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
}

.product-details-main .related-category {
  padding: 80px;
  background: var(--light-green);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  flex-direction: column;
}
.product-details-main .related-category .profile-cards {
  /* width: 236px; */
  height: 360px;
  /* flex-shrink: 0; */
  /* height: calc(100% / 4) !important; */
}

.price-box button {
  width: 48%;
}

.price-box .notes p {
  color: var(--body-text-color);
  /* Placeholder Text */
  font-size: 14px;
  line-height: 16px;
}

.description {
  color: var(--body-text-color);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 171.429% */
}

/* DRAWER HEADER */
.drawer_header_box {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 30px 48px 20px 48px;
}
.drawer_header_box h2 {
  color: #000;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
}
.drawer_header_box .btn-close {
  font-size: 18px;
  color: black;
  box-shadow: none;
}

@media (max-width: 1199px) {
  .drawer_header_box {
    padding: 30px 15px 20px 15px;
  }
  .drawer_header_box h2 {
    font-size: 22px;
  }
  .drawer_header_box .btn-close {
    font-size: 14px;
  }
  /* .address-book-container .new_address_drawer{
    width: 100%;
  } */
  /* .address-book-container .offcanvas-body{
    padding-inline: 30px !important;
  } */
}
@media (max-width: 1050px) {
  .product-details-main .product-info .image-div .image {
    height: 100%;
  }

  .product-details-main .product-info .image-div .image img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 780px) {
  .image {
    background: #f0f7f9;
  }
  #carousel0 {
    display: none;
  }
  #carouselExampleIndicators0 {
    margin-bottom: 30px;
  }

  #carouselExampleIndicators0 img {
    /* width: 321px;
    height: 420px;
    flex-shrink: 0; */
  }
  /* .carousel-indicators {
    position: absolute;
    top: 110%;
  } */
  .carousel-indicators [data-bs-target] {
    width: 8px !important;
    height: 8px !important;
    border-radius: 100% !important;
    background-color: var(--pink, #f6bacb);
  }
  .carousel-indicators [data-bs-target]::marker {
    display: none;
  }
  .product-details-main .related-category {
    padding: 20px;
    width: 125%;
    transform: translateX(-5%);
  }
  .product-details-main .related-category .title {
    transform: translateX(0%);
  }
}
@media (max-width: 550px) {
  .product-details-main .product-tabs .table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .product-details-main .product-info .image-div .image {
    /* height: 470px; */
    min-height: max-content;
  }

  .product-details-main .product-info .image-div .image img {
    width: 100%;
    height: 100%;
  }

  .product-details-main .product-info .image-div .display .display-pic {
    display: none;
  }

  .product-details-main .primaryButton {
    padding: 8px 22px;
    gap: 8px !important;
    font-size: 14px;
    height: 40px;
  }

  .product-details-main .outlinedButton {
    padding: 8px 22px !important;
    gap: 8px !important;
    font-size: 14px;
    height: 40px;
  }

  .product-details-main .product-info .content .total-price h5 {
    font-size: 20px;
    margin-bottom: 0;
    line-height: 20px;
  }

  .product-details-main .product-info .content .total-price h4 {
    font-size: 22px;
    margin-bottom: 0;
    line-height: 20px;
  }

  .product-details-main .product-info .content .price-specification h6 {
    font-size: 14px;
    margin-bottom: 0;
  }

  .product-details-main .product-info .content .price-specification p {
    font-size: 14px;
    margin-bottom: 0;
  }

  .product-details-main .product-info .content .price-specification {
    margin-bottom: 20px;
  }

  .product-details-main .product-info .content .category .size-selection {
    flex-wrap: wrap;
    /* flex-direction: column; */
  }

  .buttonBox {
    width: 100% !important;
  }

  .colorDrawer .offcanvas-header {
    margin-bottom: 0;
  }

  .colorDrawer .color-comp {
    padding: 0.5rem 0;
  }
  .colorDrawer .primaryButton {
    margin: 20px 40px !important;
  }

  .searchDrawer .color-comp {
    padding: 1rem 0;
  }
  .searchDrawer .primaryButton {
    margin: 20px 40px !important;
  }
  .deliveryTypeDrawer .color-comp {
    padding: 1rem 0;
  }
  .deliveryTypeDrawer .primaryButton {
    margin: 20px 40px !important;
  }
  .product-details-main .product-info .content .header .topbtns {
    flex-wrap: wrap;
  }

  .product-details-main .product-info .content .header .topbtns P {
    margin-bottom: 5px;
  }
  .colorDrawer .drawer_header_box,
  .searchDrawer .drawer_header_box,
  .deliveryTypeDrawer .drawer_header_box {
    padding-bottom: 0px !important;
    padding-top: 50px;
  }
  .colorDrawer .offcanvas-body,
  .searchDrawer .offcanvas-body,
  .deliveryTypeDrawer .offcanvas-body {
    padding-top: 0px !important;
  }
  .colorDrawer .confirm-selection-button,
  .searchDrawer .confirm-selection-button,
  .deliveryTypeDrawer .confirm-selection-button {
    font-size: 14px;
    line-height: 1;
  }
}

@media (max-width: 330px) {
  .product-details-main .primaryButton {
    font-size: 11px;
  }

  .product-details-main .outlinedButton {
    font-size: 11px;
  }
}

#review .table-striped > tbody > tr:nth-of-type(2n+1) > *  {
  background-color: #c0e1ce;
  color: #264d26;
  border: 0;
}

.write-review-wrapper {
  padding: 2rem;
  border: 1px solid #eee;
  background-color: #fdfdfd;
}

.out-of-sale {
    margin: 30px 0 44px 0;
    background: #ffd5d5;
    padding: 22px 20px;
    font-size: 14px;
    font-weight: 600;
}

.color-sec.selected {
  /* Add styles for the selected size div */
  background-color: #32cd32; /* Example background color for the selected size */
  color: white; /* Example text color for the selected size */
}

.single_range_input {
  display: none; /* Hide range inputs initially */
}

.main-image{
  background: #f0f7f9;
  text-align: center;
  padding:15px 0;
  border-radius:15px;
}
img#main-prod-image{
  mix-blend-mode: darken;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  will-change: opacity;
}

li.main-image {
  margin-bottom:15px;
}

.thumb-scroller-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: auto;
  gap: 10px;
}

.gallery-thumbs {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding: 10px 0;
  scrollbar-width: none;
  flex-grow: 1;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumbs a img {
  height: 80px;
  border-radius: 4px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.gallery-thumbs a img:hover {
  transform: scale(1.05);
}

.thumb-scroll {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
  user-select: none;
  transition: opacity 0.2s;
}

.thumb-scroll:hover {
  opacity: 0.6;
}

#desc-text.collapsed {
  max-height: 120px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease;
}

#desc-text.expanded {
  max-height: 1000px; /* stort nog för att visa allt */
}

.fade-overlay {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, transparent, white);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#desc-text.expanded + .fade-overlay {
  opacity: 0;
}

.product-option-picker {
  position: relative;
  margin: 1.25rem 0;
}

.product-print-card {
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  gap: 0.8rem;
  margin: 1.25rem 0;
  padding: 0.8rem 1rem;
  border: 1px solid #d7dce1;
  border-radius: 0.75rem;
  background: #fff;
  color: #343a40;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.product-print-card:hover {
  border-color: #9aaaaf;
  background: #fbfcfc;
}

.product-print-card:has(.product-print-checkbox:checked) {
  border-color: #83b99a;
  background: #f3faf5;
}

.product-print-card:focus-within {
  outline: 3px solid rgba(34, 110, 155, 0.2);
  outline-offset: 2px;
}

.product-print-checkbox {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  margin: 0;
  accent-color: #28734a;
  cursor: pointer;
}

.product-print-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f7;
  color: #526673;
  font-size: 1rem;
}

.product-print-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.2rem;
}

.product-print-copy strong {
  color: #29343b;
  font-size: 0.98rem;
  font-weight: 700;
}

.product-print-copy > span {
  color: #68747d;
  font-size: 0.85rem;
  line-height: 1.35;
}

.product-print-check {
  flex: 0 0 auto;
  color: #28734a;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.product-print-card:has(.product-print-checkbox:checked) .product-print-check {
  opacity: 1;
}

.product-cart-cta,
.product-quote-cta {
  min-height: 56px;
  border-radius: 0.75rem;
  font-weight: 700;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.product-cart-cta {
  box-shadow: 0 4px 12px rgba(34, 120, 74, 0.18);
}

.product-cart-cta:hover {
  box-shadow: 0 6px 16px rgba(34, 120, 74, 0.23);
  transform: translateY(-1px);
}

.product-quote-cta {
  border-width: 1.5px;
  background: #fff;
}

.product-quote-cta:hover {
  background: #f4f7f8;
  color: #29343b;
}

.product-cart-cta:focus-visible,
.product-quote-cta:focus-visible {
  outline: 3px solid rgba(34, 110, 155, 0.25);
  outline-offset: 3px;
}

.quick-quote-option-summary:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid #d7e1e5;
  border-radius: 0.65rem;
  background: #f6f9fa;
  color: #52616a;
  font-size: 0.9rem;
}

.quick-quote-option-summary strong {
  color: #29343b;
}

.product-quantity-picker {
  margin: 1.25rem 0;
}

.product-quantity-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #343a40;
  font-size: 0.95rem;
  font-weight: 700;
}

.product-quantity-control {
  display: flex;
  width: 100%;
  max-width: 220px;
  min-height: 56px;
  overflow: hidden;
  border: 1px solid #d7dce1;
  border-radius: 0.75rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-quantity-control:focus-within {
  border-color: #788897;
  box-shadow: 0 0 0 3px rgba(34, 110, 155, 0.16);
}

.product-quantity-button {
  display: inline-flex;
  width: 52px;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #f7f8f9;
  color: #343a40;
  font-size: 1.35rem;
  line-height: 1;
  transition: background-color 0.15s ease;
}

.product-quantity-button:hover {
  background: #edf1f3;
}

.product-quantity-button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #287899;
  outline-offset: -3px;
}

.product-quantity-input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #222;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  box-shadow: none;
  -moz-appearance: textfield;
}

.product-quantity-input:focus {
  outline: 0;
  box-shadow: none;
}

.product-quantity-input::-webkit-inner-spin-button,
.product-quantity-input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.product-option-heading {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.product-option-trigger {
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 1rem;
  border: 1px solid #d7dce1;
  border-radius: 0.75rem;
  background: #fff;
  color: #222;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-option-trigger:hover,
.product-option-trigger[aria-expanded="true"] {
  border-color: #788897;
  box-shadow: 0 3px 12px rgba(33, 43, 54, 0.08);
}

.product-option-trigger:focus-visible,
.product-option-choice:focus-visible {
  outline: 3px solid rgba(34, 110, 155, 0.3);
  outline-offset: 2px;
}

.product-option-selected-image,
.product-option-choice-image {
  display: flex;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #edf0f2;
  border-radius: 0.55rem;
  background: #f7f8f9;
}

.product-option-selected-image[hidden] {
  display: none;
}

.product-option-selected-image img,
.product-option-choice-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-option-selected-placeholder {
  color: #74828a;
  font-size: 1.1rem;
}

.product-option-trigger-copy,
.product-option-choice-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.15rem;
}

.product-option-trigger-value {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-option-chevron {
  margin-left: auto;
  color: #68737d;
  transition: transform 0.15s ease;
}

.product-option-trigger[aria-expanded="true"] .product-option-chevron {
  transform: rotate(180deg);
}

.product-option-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.45rem);
  right: 0;
  left: 0;
  max-height: min(22rem, 55vh);
  overflow-y: auto;
  padding: 0.4rem;
  border: 1px solid #d7dce1;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(28, 39, 49, 0.16);
}

.product-option-menu[hidden] {
  display: none;
}

.product-option-choice {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  gap: 0.8rem;
  padding: 0.45rem 0.6rem;
  border: 0;
  border-radius: 0.55rem;
  background: #fff;
  color: #252b30;
  text-align: left;
  transition: background-color 0.12s ease;
}

.product-option-choice:hover,
.product-option-choice[aria-selected="true"] {
  background: #f1f5f7;
}

.product-option-choice[aria-selected="true"] {
  box-shadow: inset 0 0 0 1px #9eafb9;
}

.product-option-choice:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.product-option-choice-name {
  font-size: 0.94rem;
  font-weight: 600;
}

.product-option-choice-price {
  color: #69747c;
  font-size: 0.82rem;
}

.product-option-stock {
  flex: 0 0 auto;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.product-option-stock.is-in-stock {
  background: #e8f5ed;
  color: #267344;
}

.product-option-stock.is-out-of-stock {
  background: #fbe9e8;
  color: #a83d38;
}

.product-option-choice-check {
  width: 1rem;
  color: #28734a;
  opacity: 0;
}

.product-option-choice[aria-selected="true"] .product-option-choice-check {
  opacity: 1;
}

.product-size-guide {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #9bc9dc;
  border-radius: 999px;
  background: #edf8fc;
  color: #155b79;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-size-guide:hover {
  border-color: #428cac;
  background: #dff2f9;
  color: #104b65;
  text-decoration: none;
}

.product-size-guide:focus-visible {
  outline: 3px solid rgba(21, 91, 121, 0.3);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px #fff;
}

.product-size-guide-external {
  font-size: 0.72em;
  opacity: 0.75;
}

@media (max-width: 575.98px) {
  .product-size-guide {
    gap: 0.35rem;
    padding: 0.45rem 0.6rem;
    font-size: 0.78rem;
  }

  .product-option-menu {
    max-height: 45vh;
  }

  .product-option-choice {
    gap: 0.55rem;
  }

  .product-option-selected-image,
  .product-option-choice-image {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .product-option-stock {
    padding: 0.2rem 0.4rem;
    font-size: 0.67rem;
  }
}

/* Product page refinements for phones and small tablets. */
@media (max-width: 780px) {
  .product-details-main .related-category {
    width: 100%;
    transform: none;
  }

  .product-details-main .related-category .title {
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .product-details-main .product-info > .row {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 1rem;
    margin-bottom: 1.5rem !important;
  }

  .product-details-main .product-info > .row > [class*="col-"] {
    padding-right: 0.375rem !important;
    padding-left: 0.375rem !important;
  }

  .product-details-main .thumbnails {
    margin-bottom: 0.5rem;
    padding: 0;
    list-style: none;
  }

  .product-details-main li.main-image {
    display: flex;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0.5rem;
    padding: 0;
  }

  .product-details-main li.main-image > a.thumbnail {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
  }

  .product-details-main li.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .product-details-main .thumb-scroller-wrapper {
    gap: 0.35rem;
  }

  .product-details-main .gallery-thumbs {
    gap: 0.5rem;
    padding: 0.35rem 0;
  }

  .product-details-main .gallery-thumbs a {
    display: flex;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e3e7e9;
    border-radius: 0.5rem;
    background: #fff;
  }

  .product-details-main .gallery-thumbs a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .product-details-main .thumb-scroll {
    flex: 0 0 36px;
    width: 36px;
    height: 40px;
    padding: 0;
    font-size: 1.2rem;
  }

  .product-details-main .product-info .content {
    padding: 0;
  }

  .product-details-main .product-info .content .header .topbtns {
    margin-bottom: 1rem;
  }

  .product-details-main .product-info .content .header h3 {
    font-size: clamp(1.55rem, 6vw, 1.9rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .product-details-main .product-option-picker {
    margin: 0.9rem 0;
  }

  .product-details-main .product-option-trigger {
    min-height: 64px;
    padding: 0.5rem 0.75rem;
  }

  .product-details-main .product-option-choice {
    min-height: 60px;
  }

  .product-details-main .product-quantity-picker {
    margin: 0.9rem 0;
  }

  .product-details-main .product-quantity-control {
    min-height: 52px;
  }

  .product-details-main .product-cart-cta,
  .product-details-main .product-quote-cta {
    min-height: 54px;
    padding: 0.75rem 0.8rem;
    font-size: 1rem;
  }

  #quickQuoteModal .modal-dialog {
    margin: 0.5rem;
  }

  #quickQuoteModal .modal-content {
    max-height: calc(100vh - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  #quickQuoteModal .modal-body {
    overflow-y: auto;
  }
}

@media (max-width: 575.98px) {
  .product-details-main .product-info .content .header h5 {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .product-details-main .product-option-menu {
    max-height: min(45vh, 22rem);
  }

  .product-details-main .product-option-choice-copy {
    gap: 0.1rem;
  }

  .product-details-main .product-option-stock {
    max-width: 5.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-details-main .product-print-card {
    min-height: 68px;
    gap: 0.6rem;
    padding: 0.7rem;
  }

  .product-details-main .product-print-copy strong {
    font-size: 0.92rem;
  }

  .product-details-main .product-print-copy > span {
    font-size: 0.8rem;
  }

  .product-details-main .total-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
  }

  .product-details-main .total-price h5,
  .product-details-main .total-price h4 {
    margin-right: 0 !important;
  }

  .product-details-main .articles .related-products-heading {
    align-items: center;
  }
}

@media (max-width: 359.98px) {
  .product-details-main .gallery-thumbs a {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .product-details-main .product-option-stock {
    display: none;
  }

  .product-details-main .product-print-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
}
