/* ==================== */
/* WooCommerce Single Product */
/* ==================== */

.bespoke-product-single {
  background-color: #fff;
}

.bespoke-product-kicker {
  color: #B2925A;
  font-family: "Merriweather", serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
}

.bespoke-product-hero {
  padding: 150px 0 72px;
}

.bespoke-product-hero__grid {
  display: grid;
  gap: 42px;
}

.bespoke-product-hero__gallery .woocommerce-product-gallery {
  float: none !important;
  opacity: 1 !important;
  position: relative;
  width: 100% !important;
}

.bespoke-product-hero__gallery .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.bespoke-product-hero__gallery .woocommerce-product-gallery__image {
  background-color: #f7f7f5;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.bespoke-product-hero__gallery .flex-viewport {
  background-color: #f7f7f5;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0;
  overflow: hidden;
}

.bespoke-product-hero__gallery .flex-viewport .woocommerce-product-gallery__image {
  border: 0;
}

.bespoke-product-hero__gallery .woocommerce-product-gallery__image img {
  aspect-ratio: 1 / 1;
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.bespoke-product-hero__gallery .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 22px 0 0 !important;
  padding: 0 !important;
}

.bespoke-product-hero__gallery .flex-control-thumbs li {
  cursor: pointer;
  flex: 0 0 132px;
  margin: 0 !important;
  width: 132px !important;
}

.bespoke-product-hero__gallery .flex-control-thumbs img {
  aspect-ratio: 1 / 1;
  background-color: #f7f7f5;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: block;
  height: auto;
  object-fit: cover;
  opacity: 0.82;
  transition: border-color 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
  width: 100%;
}

.bespoke-product-hero__gallery .flex-control-thumbs img.flex-active,
.bespoke-product-hero__gallery .flex-control-thumbs img:hover,
.bespoke-product-hero__gallery .flex-control-thumbs img:focus-visible {
  border-color: #B2925A;
  box-shadow: inset 0 0 0 1px #B2925A;
  opacity: 1;
}

.bespoke-product-title {
  color: var(--brand-main);
  font-family: "Merriweather", serif;
  font-size: clamp(32px, 6vw, 40px);
  line-height: 1.05;
  margin: 0 0 20px;
}

.bespoke-product-short-description {
  font-size: 18px;
  max-width: 620px;
}

.bespoke-product-quote-panel {
  border: 1px solid rgba(178, 146, 90, 0.32);
  margin-top: 28px;
  padding: 26px;
}

.bespoke-product-quote-panel p {
  line-height: 1.65;
  margin: 0 0 20px;
}

.bespoke-product-quote-actions .price,
.bespoke-product-quote-actions .product_meta {
  display: none;
}

.bespoke-product-quote-actions form.cart {
  margin: 0;
}

.bespoke-product-quote-actions table.variations {
  margin-bottom: 18px;
  width: 100%;
}

.bespoke-product-quote-actions table.variations th,
.bespoke-product-quote-actions table.variations td {
  display: block;
  padding: 0 0 10px;
  text-align: left;
}

.bespoke-product-quote-actions select,
.bespoke-product-quote-actions input.qty {
  border: 1px solid rgba(0, 0, 0, 0.18);
  min-height: 44px;
  padding: 8px 10px;
}

.bespoke-product-quote-actions .button,
.bespoke-product-quote-actions .single_add_to_cart_button,
.bespoke-product-quote-actions .add-request-quote-button,
.bespoke-product-quote-actions .yith-ywraq-add-button a {
  background-color: transparent !important;
  border: #B2925A solid 3px !important;
  border-radius: 0 !important;
  color: var(--brand-main) !important;
  display: inline-flex !important;
  font-family: "Merriweather", serif !important;
  line-height: 1.4 !important;
  padding: 12px 26px !important;
  text-decoration: none !important;
}

.bespoke-product-quote-actions .button:hover,
.bespoke-product-quote-actions .single_add_to_cart_button:hover,
.bespoke-product-quote-actions .add-request-quote-button:hover,
.bespoke-product-quote-actions .yith-ywraq-add-button a:hover {
  background-color: var(--brand-main) !important;
  border-color: var(--brand-main) !important;
  color: #fff !important;
}

.bespoke-product-details {
  background-color: var(--off-grey);
  padding: 64px 0;
}

.bespoke-product-details__grid {
  display: grid;
  gap: 34px;
}

.bespoke-product-details__aside {
  background-color: #fff;
  border: 1px solid rgba(178, 146, 90, 0.28);
  padding: 28px;
}

.bespoke-product-details__aside h2 {
  font-family: "Merriweather", serif;
  margin: 0 0 16px;
}

.bespoke-product-details__aside table {
  margin: 0;
  width: 100%;
}

.bespoke-product-details__aside th,
.bespoke-product-details__aside td {
  border-bottom: 1px solid rgba(178, 146, 90, 0.24);
  padding: 12px 0;
  text-align: left;
}

.bespoke-product-notes {
  line-height: 1.7;
  margin: 0;
  padding-left: 18px;
}

.bespoke-product-related {
  background-color: var(--off-grey);
  padding: 64px 0;
}

.bespoke-product-related .related > h2 {
  color: var(--brand-main);
  font-family: "Merriweather", serif;
  font-size: 34px;
  margin: 0 0 28px;
  text-align: center;
}

.bespoke-product-related ul.products {
  display: grid !important;
  gap: 24px;
  grid-template-columns: 1fr;
  margin: 0 !important;
  padding: 0 !important;
}

.bespoke-product-related ul.products::before,
.bespoke-product-related ul.products::after {
  content: none !important;
  display: none !important;
}

.bespoke-product-related ul.products li.product {
  background-color: #fff;
  border: 1px solid rgba(178, 146, 90, 0.28);
  float: none !important;
  margin: 0 !important;
  padding: 0 0 24px !important;
  text-align: left;
  width: auto !important;
}

.bespoke-product-related ul.products li.product img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.bespoke-product-related ul.products li.product .woocommerce-loop-product__title,
.bespoke-product-related ul.products li.product .price,
.bespoke-product-related ul.products li.product .button {
  margin-left: 20px;
  margin-right: 20px;
}
.bespoke-product-quote-actions{
  align-items: center;
  gap: 15px;
  display: flex;
}

@media (min-width: 760px) {
  .bespoke-product-hero__grid,
  .bespoke-product-details__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

}

@media (min-width: 640px) {
  .bespoke-product-related ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .bespoke-product-related ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bespoke-product-hero {
    padding: 126px 0 52px;
  }

  .bespoke-product-hero__gallery .flex-control-thumbs {
    gap: 12px;
  }

  .bespoke-product-hero__gallery .flex-control-thumbs li {
    flex-basis: calc(33.333% - 8px);
    width: calc(33.333% - 8px) !important;
  }

  .bespoke-product-quote-actions .button,
  .bespoke-product-quote-actions .single_add_to_cart_button,
  .bespoke-product-quote-actions .add-request-quote-button,
  .bespoke-product-quote-actions .yith-ywraq-add-button a {
    justify-content: center;
    width: 100%;
  }
}
