/* Single product page (design: "Product")
--------------------------------------------- */
.bluthe_product {
  font-family: var(--bl-serif);
  color: var(--bl-navy);
  background: var(--bl-cream);
  padding: clamp(20px, 2.6vw, 34px) 0 0;
  -webkit-font-smoothing: antialiased;
}
:where(.bluthe_product) a {
  color: var(--bl-navy);
  text-decoration: none;
}
:where(.bluthe_product) :is(h1, h2, h3, p) {
  color: inherit;
}

/* Breadcrumb */
.bluthe_product .bluthe_crumb {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11.5px;
  font-weight: 300;
  color: rgba(22, 40, 63, 0.72);
  margin: 0;
}
.bluthe_product .bluthe_crumb a {
  color: rgba(22, 40, 63, 0.72);
}
.bluthe_product .bluthe_crumb a:hover {
  color: var(--bl-accent);
}
.bluthe_crumb__sep {
  color: rgba(22, 40, 63, 0.5);
}

/* Layout */
.bluthe_product__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  padding: clamp(22px, 3vw, 40px) 0 clamp(52px, 6.5vw, 88px);
  position: relative;
}

/* Gallery */
.bluthe_product__gallery {
  position: sticky;
  top: 140px;
}
.bluthe_product .woocommerce-product-gallery {
  position: relative;
  width: 100%;
  margin: 0;
}
.bluthe_product .woocommerce-product-gallery__wrapper {
  margin: 0;
}
.bluthe_product .woocommerce-product-gallery__image {
  background: var(--bl-sand-light);
}
.bluthe_product .woocommerce-product-gallery__image img,
.bluthe_product .woocommerce-product-gallery__image--placeholder img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.bluthe_product .woocommerce-product-gallery__trigger {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(251, 249, 246, 0.9);
  box-shadow: 0 1px 3px rgba(22, 40, 63, 0.15);
  text-indent: -9999px;
  overflow: hidden;
}
.bluthe_product .woocommerce-product-gallery__trigger::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  width: 11px;
  height: 11px;
  border: 1.4px solid var(--bl-navy);
  border-radius: 999px;
}
.bluthe_product .woocommerce-product-gallery__trigger::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 19px;
  width: 6px;
  height: 1.4px;
  background: var(--bl-navy);
  transform: rotate(45deg);
}
.bluthe_product__kind,
.bluthe_product .onsale {
  position: absolute;
  top: 0;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 13px;
  line-height: 1.2;
  color: var(--bl-cream);
  background: var(--bl-navy);
  margin: 0;
  border-radius: 0;
  transform: none;
  width: auto;
  min-height: 0;
}
.bluthe_product__kind {
  inset-inline-start: 0;
}
.bluthe_product__kind.is-artificial {
  background: var(--bl-brown);
}
.bluthe_product .onsale {
  inset-inline-end: 0;
  inset-inline-start: auto;
  background: var(--bl-accent);
}
/* Single image (no gallery): fill the height of the details column. */
.bluthe_product__gallery.is-single {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.bluthe_product__gallery.is-single .woocommerce-product-gallery,
.bluthe_product__gallery.is-single .woocommerce-product-gallery__wrapper,
.bluthe_product__gallery.is-single .woocommerce-product-gallery__image,
.bluthe_product__gallery.is-single .woocommerce-product-gallery__image > a {
  display: block;
  height: 100%;
  flex: 1 1 auto;
}
.bluthe_product__gallery.is-single .woocommerce-product-gallery__image img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

/* Thumbnails (flexslider) */
.bluthe_product .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.bluthe_product .flex-control-thumbs li {
  margin: 0;
  padding: 0;
  width: auto;
  float: none;
}
.bluthe_product .flex-control-thumbs li img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(22, 40, 63, 0.18);
  opacity: 1;
  cursor: pointer;
  transition: border-color 0.18s ease;
}
.bluthe_product .flex-control-thumbs li img:hover,
.bluthe_product .flex-control-thumbs li img.flex-active {
  border-color: var(--bl-navy);
}

/* Summary */
.bluthe_product__summary {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 2.8vw, 32px);
  min-width: 0;
}
.bluthe_product__summary > * {
  margin: 0;
}
.bluthe_product__eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(22, 40, 63, 0.72);
  margin-bottom: -8px;
}
.bluthe_product .product_title {
  font-family: var(--bl-serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  margin: 0;
}
/* rating (single-product/rating.php) */
.bluthe_product .bluthe_product_meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(22, 40, 63, 0.75);
  margin: -12px 0 0;
}
.bluthe_product .star-rating {
  position: relative;
  height: 1em;
  width: 5.4em;
  font-family: star;
  font-size: 13px;
  line-height: 1;
  overflow: hidden;
  color: rgba(22, 40, 63, 0.35);
}
.bluthe_product .star-rating::before {
  content: "\73\73\73\73\73";
  position: absolute;
  top: 0;
  left: 0;
}
.bluthe_product .star-rating span {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  padding-top: 1.5em;
  color: var(--bl-navy);
}
.bluthe_product .star-rating span::before {
  content: "\53\53\53\53\53";
  position: absolute;
  top: 0;
  left: 0;
}
/* price */
.bluthe_product__pricing {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: clamp(22px, 2.8vw, 32px);
  border-bottom: 1px solid var(--bl-line);
}
.bluthe_product__pricing .price {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  color: var(--bl-navy);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.bluthe_product__pricing .price del {
  font-size: 0.6em;
  opacity: 0.5;
}
.bluthe_product__pricing .price ins {
  text-decoration: none;
}
.bluthe_product__pricing .price .woocommerce-Price-amount {
  font-weight: 400;
}
.bluthe_product__note {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(22, 40, 63, 0.75);
}
/* short description */
.bluthe_product .woocommerce-product-details__short-description,
.bluthe_product .woocommerce-product-details__short-description p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(22, 40, 63, 0.8);
  margin: 0;
}
.bluthe_product .woocommerce-product-details__short-description p + p {
  margin-top: 10px;
}
/* stock */
.bluthe_product .stock {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(22, 40, 63, 0.75);
}
.bluthe_product .stock.out-of-stock {
  color: var(--bl-accent);
}

/* Variations */
.bluthe_product table.variations {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
}
.bluthe_product table.variations th,
.bluthe_product table.variations td {
  padding: 0 0 12px;
  text-align: start;
  vertical-align: middle;
  border: 0;
}
.bluthe_product table.variations th.label {
  width: 30%;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(22, 40, 63, 0.72);
}
.bluthe_product table.variations td.value {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bluthe_product table.variations select {
  width: auto;
  min-width: 180px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(22, 40, 63, 0.3);
  border-radius: 0;
  padding: 8px 2px;
  font-family: var(--bl-serif);
  font-size: 15px;
  font-weight: 300;
  color: var(--bl-navy);
  margin: 0;
}
.bluthe_product table.variations .reset_variations {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bl-text-muted);
  float: none;
}
.bluthe_product .woocommerce-variation-price .price {
  font-size: 20px;
}
.bluthe_product .woocommerce-variation-description p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(22, 40, 63, 0.8);
}

/* Quantity + add to bag */
.bluthe_product form.cart {
  margin: 0;
}
.bluthe_product__buy {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
}
.bluthe_qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(22, 40, 63, 0.25);
  margin: 0;
  float: none;
}
.bluthe_qty__btn {
  background: transparent;
  border: 0;
  padding: 14px 18px;
  font-family: var(--bl-serif);
  font-size: 16px;
  line-height: 1;
  color: var(--bl-navy);
  cursor: pointer;
  transition: background 0.18s ease;
}
.bluthe_qty__btn:hover {
  background: var(--bl-panel);
}
.bluthe_qty input.qty {
  width: 44px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  font-family: var(--bl-serif);
  font-size: 15px;
  color: var(--bl-navy);
  -moz-appearance: textfield;
  appearance: textfield;
}
.bluthe_qty input.qty::-webkit-outer-spin-button,
.bluthe_qty input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.bluthe_product .bluthe_product__add,
.bluthe_product .single_add_to_cart_button {
  flex: 1 1 200px;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bl-navy);
  color: var(--bl-cream);
  border: 1px solid var(--bl-navy);
  border-radius: 0;
  padding: 16px 34px;
  margin: 0;
  font-family: var(--bl-serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.18s ease;
}
.bluthe_product .bluthe_product__add:hover,
.bluthe_product .single_add_to_cart_button:hover {
  background: var(--bl-navy-deep);
}
.bluthe_product .single_add_to_cart_button::before {
  content: none;
}
.bluthe_product .single_add_to_cart_button.disabled,
.bluthe_product .single_add_to_cart_button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.bluthe_product__share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  font-family: var(--bl-serif);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(22, 40, 63, 0.72);
  cursor: pointer;
}
.bluthe_product__share:hover {
  color: var(--bl-accent);
}

/* Ways to pay */
.bluthe_product__pay {
  border: 1px solid #E4DCD2;
  background: var(--bl-panel);
  padding: 20px 22px;
}
.bluthe_product__pay_label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(22, 40, 63, 0.72);
  margin-bottom: 12px;
}
.bluthe_product__pay_marks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bluthe_product__pay_mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 30px;
  padding: 0 10px;
  background: var(--bl-cream);
  border: 1px solid rgba(22, 40, 63, 0.16);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(22, 40, 63, 0.82);
  margin: 0;
}
.bluthe_product__pay_mark img {
  display: block;
  height: 18px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
}
.bluthe_product__pay_note {
  font-size: 12px;
  font-weight: 300;
  color: rgba(22, 40, 63, 0.75);
  margin: 10px 0 0;
}

/* Tabs */
.bluthe_product .woocommerce-tabs {
  padding: clamp(26px, 3.4vw, 42px) 0 clamp(48px, 6vw, 78px);
  border-top: 1px solid var(--bl-line);
  margin: 0;
}
.bluthe_product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding: 0 0 16px;
  margin: 0;
  list-style: none;
  border-bottom: 1px solid var(--bl-line);
}
.bluthe_product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.bluthe_product .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(22, 40, 63, 0.78);
  border-bottom: 1px solid transparent;
  font-weight: 400;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.bluthe_product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--bl-accent);
}
.bluthe_product .woocommerce-tabs ul.tabs li.active a {
  color: var(--bl-navy);
  border-bottom-color: var(--bl-navy);
}
.bluthe_product .woocommerce-Tabs-panel {
  padding: 22px 0 0;
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(22, 40, 63, 0.8);
  /* Hidden until a tab is chosen; product.js reveals the panel with a fade. */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.bluthe_product .woocommerce-Tabs-panel.is-visible {
  opacity: 1;
  transform: none;
}
.bluthe_product .woocommerce-Tabs-panel > h2:first-child {
  display: none;
}
.bluthe_product .woocommerce-Tabs-panel p {
  margin: 0 0 12px;
}
.bluthe_product .woocommerce-Tabs-panel table.woocommerce-product-attributes {
  width: 100%;
  border-collapse: collapse;
}
.bluthe_product .woocommerce-Tabs-panel table.woocommerce-product-attributes th,
.bluthe_product .woocommerce-Tabs-panel table.woocommerce-product-attributes td {
  padding: 10px 0;
  border-bottom: 1px solid var(--bl-line);
  text-align: start;
  font-weight: 300;
  vertical-align: top;
}
.bluthe_product .woocommerce-Tabs-panel table.woocommerce-product-attributes {
  width: auto;
  min-width: min(100%, 420px);
}
.bluthe_product .woocommerce-Tabs-panel table.woocommerce-product-attributes th {
  width: 1%;
  white-space: nowrap;
  padding-inline-end: 32px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(22, 40, 63, 0.72);
}
.bluthe_product .woocommerce-Tabs-panel table.woocommerce-product-attributes td p {
  margin: 0;
}

/* Reviews */
.bluthe_product .woocommerce-Reviews {
  max-width: none;
}
.bluthe_product .review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.bluthe_product .review-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}
.bluthe_product .average-rating {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bluthe_product .rating-value {
  font-size: 30px;
  line-height: 1;
}
.bluthe_product .rating-count {
  display: block;
  font-size: 12px;
  margin-top: 4px;
}
.bluthe_product .add-review-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(22, 40, 63, 0.35);
  padding: 11px 20px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.bluthe_product .add-review-button svg {
  width: 16px;
  height: 16px;
}
.bluthe_product ol.commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bluthe_product li.custom-review-item {
  padding: 18px 0;
  border-top: 1px solid var(--bl-line);
}
.bluthe_product .review-text {
  font-size: 15px;
  margin: 8px 0 10px;
}
.bluthe_product .review-meta {
  display: flex;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(22, 40, 63, 0.65);
}
.bluthe_product .review-author {
  color: var(--bl-navy);
  font-weight: 400;
}
.bluthe_product .woocommerce-noreviews {
  margin: 0 0 18px;
}
.bluthe_product #review_form_wrapper {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--bl-line);
}
.bluthe_product .comment-reply-title {
  display: block;
  font-size: 20px;
  margin-bottom: 14px;
}
.bluthe_product .comment-form p {
  margin: 0 0 14px;
}
.bluthe_product .comment-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(22, 40, 63, 0.72);
  margin-bottom: 6px;
}
.bluthe_product .comment-form input[type="text"],
.bluthe_product .comment-form input[type="email"],
.bluthe_product .comment-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(22, 40, 63, 0.3);
  border-radius: 0;
  padding: 8px 2px;
  font-family: var(--bl-serif);
  font-size: 15px;
  font-weight: 300;
  color: var(--bl-navy);
}
.bluthe_product .comment-form textarea {
  min-height: 110px;
  resize: vertical;
}
.bluthe_product .comment-form .stars a {
  color: var(--bl-navy);
}
.bluthe_product .comment-form .form-submit [type="submit"] {
  background: var(--bl-navy);
  color: var(--bl-cream);
  border: 1px solid var(--bl-navy);
  border-radius: 0;
  padding: 13px 28px;
  margin: 0;
  font-family: var(--bl-serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Related & upsells */
.bluthe_product .related.products,
.bluthe_product .up-sells.products {
  padding: 0 0 clamp(56px, 7vw, 92px);
}
.bluthe_product__section_head,
.bluthe_product .up-sells.products > h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bl-line);
  margin: 0 0 clamp(24px, 3vw, 38px);
}
.bluthe_product__section_head h2,
.bluthe_product .up-sells.products > h2 {
  font-family: var(--bl-serif);
  font-weight: 400;
  font-size: clamp(21px, 2.3vw, 27px);
  margin: 0;
  padding: 0;
}
.bluthe_product__section_link {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(22, 40, 63, 0.78);
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(22, 40, 63, 0.28);
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.bluthe_product__section_link:hover {
  color: var(--bl-accent);
  border-bottom-color: var(--bl-accent);
}
.bluthe_product .related.products ul.products,
.bluthe_product .up-sells.products ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

/* Tablet & mobile */
@media (max-width: 1024px) {
  .bluthe_product .related.products ul.products,
  .bluthe_product .up-sells.products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .bluthe_product__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-top: 18px;
  }
  .bluthe_product__gallery {
    position: static;
  }
  .bluthe_product__gallery.is-single .woocommerce-product-gallery__image img {
    height: auto;
    aspect-ratio: 5 / 4;
  }
  .bluthe_product__summary {
    gap: 20px;
  }
  .bluthe_product .product_title {
    font-size: 30px;
  }
  .bluthe_product__pricing .price {
    font-size: 26px;
  }
  .bluthe_product .bluthe_product__add,
  .bluthe_product .single_add_to_cart_button {
    flex-basis: 100%;
  }
  .bluthe_qty {
    width: 100%;
    justify-content: space-between;
  }
  .bluthe_qty input.qty {
    flex: 1;
  }
  .bluthe_product .woocommerce-tabs ul.tabs {
    gap: 18px;
  }
  .bluthe_product .related.products ul.products,
  .bluthe_product .up-sells.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
