.fst-single-product-page {
  background: #fff;
  color: var(--fst-text, #343b47);
}

.fst-product-shell {
  width: min(calc(100% - 48px), var(--fst-container, 1240px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.fst-product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 0 0 26px;
  color: var(--fst-muted, #68717d);
  font-size: .78rem;
}

.fst-product-breadcrumbs a {
  color: var(--fst-muted, #68717d);
  text-decoration: none;
}

.fst-product-breadcrumbs a:hover {
  color: var(--fst-blue-dark, #005a84);
}

.fst-single-product__top {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: 54px;
  align-items: start;
}

/* Furstatec-owned product gallery: one stable stage, plain thumbnails, no FlexSlider/zoom conflicts. */
.fst-product-gallery {
  width: 100%;
}

.fst-product-gallery__stage {
  position: relative;
  display: flex;
  min-height: 560px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--fst-border, #dce3e7);
  border-radius: 10px;
  background: #fff;
}

.fst-product-gallery__main-image {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: contain;
  padding: 24px;
}

.fst-product-gallery__thumbs {
  display: flex;
  gap: 9px;
  margin-top: 10px;
  overflow-x: auto;
  padding: 1px 1px 6px;
  scrollbar-width: thin;
}

.fst-single-product-page button.fst-product-gallery__thumb {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  margin: 0;
  padding: 6px !important;
  overflow: hidden;
  border: 1px solid var(--fst-border, #dce3e7) !important;
  border-radius: 7px;
  background: #fff !important;
  box-shadow: none !important;
  cursor: pointer;
}

.fst-single-product-page button.fst-product-gallery__thumb:hover,
.fst-single-product-page button.fst-product-gallery__thumb:focus {
  border-color: #9fb8c4 !important;
  background: #fff !important;
}

.fst-single-product-page button.fst-product-gallery__thumb.is-active,
.fst-single-product-page button.fst-product-gallery__thumb.is-active:hover,
.fst-single-product-page button.fst-product-gallery__thumb.is-active:focus {
  border-color: var(--fst-blue-dark, #005a84) !important;
  box-shadow: inset 0 0 0 1px var(--fst-blue-dark, #005a84) !important;
}

.fst-single-product-page button.fst-product-gallery__thumb:focus-visible,
.fst-single-product-page button.fst-product-gallery__nav:focus-visible,
.fst-single-product-page button.fst-product-gallery__expand:focus-visible,
.fst-single-product-page button.fst-product-gallery__lightbox-close:focus-visible {
  outline: 2px solid var(--fst-blue-dark, #005a84);
  outline-offset: 2px;
}

.fst-product-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fst-product-gallery__nav,
.fst-product-gallery__expand,
.fst-product-gallery__lightbox-close {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--fst-border, #dce3e7) !important;
  background: rgba(255, 255, 255, .96) !important;
  color: var(--fst-ink, #202633) !important;
  box-shadow: none !important;
  cursor: pointer;
}

.fst-product-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0 !important;
  border-radius: 50% !important;
  transform: translateY(-50%);
}

.fst-product-gallery__nav--prev {
  left: 12px;
}

.fst-product-gallery__nav--next {
  right: 12px;
}

.fst-product-gallery__nav:hover,
.fst-product-gallery__nav:focus,
.fst-product-gallery__expand:hover,
.fst-product-gallery__expand:focus {
  border-color: var(--fst-blue-dark, #005a84) !important;
  background: #fff !important;
  color: var(--fst-blue-dark, #005a84) !important;
}

.fst-product-gallery__nav svg,
.fst-product-gallery__expand svg,
.fst-product-gallery__lightbox-close svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fst-product-gallery__expand {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 8px 11px !important;
  border-radius: 7px !important;
  font-size: .73rem !important;
  font-weight: 800 !important;
}

.fst-product-gallery__single-data {
  display: none !important;
}

.fst-product-gallery__lightbox[hidden] {
  display: none !important;
}

.fst-product-gallery__lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(15, 20, 26, .9);
}

.fst-product-gallery__lightbox img {
  display: block;
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  object-fit: contain;
}

.fst-product-gallery__lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0 !important;
  border-radius: 50% !important;
}

html.fst-gallery-lightbox-open,
html.fst-gallery-lightbox-open body {
  overflow: hidden !important;
}

/* Product summary */
.fst-single-product__summary {
  min-width: 0;
  padding-top: 4px;
}

.fst-single-product__category {
  margin-bottom: 10px;
  color: var(--fst-green-dark, #3d8500);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fst-single-product__category a {
  color: inherit;
  text-decoration: none;
}

.fst-single-product__summary h1 {
  margin: 0;
  color: var(--fst-ink, #202633);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.fst-single-product__price {
  margin-top: 22px;
  color: var(--fst-ink, #202633);
  font-size: 1.45rem;
  font-weight: 800;
}

.fst-single-product__price del {
  margin-right: 8px;
  color: var(--fst-muted, #68717d);
  font-size: .78em;
  font-weight: 500;
  opacity: .65;
}

.fst-single-product__price ins {
  text-decoration: none;
}

.fst-single-product__stock {
  margin-top: 10px;
  font-size: .85rem;
}

.fst-single-product__stock .stock {
  margin: 0;
  color: var(--fst-green-dark, #3d8500);
  font-weight: 750;
}

.fst-single-product__stock .out-of-stock {
  color: #a93232;
}

.fst-single-product__intro {
  margin-top: 20px;
  color: var(--fst-text, #343b47);
  line-height: 1.68;
}

.fst-single-product__intro p:first-child {
  margin-top: 0;
}

.fst-single-product__intro p:last-child {
  margin-bottom: 0;
}

/* Native WooCommerce purchase form */
.fst-single-product__purchase {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--fst-border, #dce3e7);
}

.fst-single-product__purchase form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin: 0 !important;
}

.fst-single-product__purchase .quantity {
  float: none !important;
  margin: 0 !important;
}

.fst-single-product__purchase .quantity .qty {
  width: 78px;
  min-height: 48px;
  margin: 0;
  border: 1px solid var(--fst-border, #dce3e7);
  border-radius: 7px;
  background: #fff;
  color: var(--fst-ink, #202633);
  text-align: center;
}

.fst-single-product__purchase .single_add_to_cart_button {
  min-height: 48px !important;
  margin: 0 !important;
  padding: 11px 22px !important;
  border: 1px solid var(--fst-blue-dark, #005a84) !important;
  border-radius: 7px !important;
  background: var(--fst-blue-dark, #005a84) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}

.fst-single-product__purchase .single_add_to_cart_button:hover,
.fst-single-product__purchase .single_add_to_cart_button:focus {
  border-color: #004a6d !important;
  background: #004a6d !important;
  color: #fff !important;
}

.fst-single-product__purchase .variations {
  width: 100%;
  margin: 0 0 15px !important;
  border: 0 !important;
}

.fst-single-product__purchase .variations tr,
.fst-single-product__purchase .variations th,
.fst-single-product__purchase .variations td {
  display: block;
  border: 0 !important;
  padding: 0 !important;
}

.fst-single-product__purchase .variations tr + tr {
  margin-top: 14px;
}

.fst-single-product__purchase .variations label {
  display: block;
  margin-bottom: 7px;
  color: var(--fst-ink, #202633);
  font-size: .8rem;
  font-weight: 800;
}

.fst-single-product__purchase .variations select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--fst-border, #dce3e7);
  border-radius: 7px;
  background: #fff;
  padding: 9px 38px 9px 11px;
  color: var(--fst-text, #343b47);
}

.fst-single-product__purchase .reset_variations {
  display: inline-block;
  margin-top: 8px;
  color: var(--fst-blue-dark, #005a84);
  font-size: .76rem;
}

.fst-single-product__purchase .woocommerce-variation-description {
  margin: 10px 0;
}

.fst-single-product__purchase .woocommerce-variation-price {
  margin: 10px 0 14px;
  color: var(--fst-ink, #202633);
  font-weight: 800;
}

.fst-single-product__enquiry-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 12px;
}

.fst-product-enquiry {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 7px;
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
}

.fst-product-enquiry--quote {
  border: 1px solid var(--fst-blue-dark, #005a84);
  background: #fff;
  color: var(--fst-blue-dark, #005a84);
}

.fst-product-enquiry--quote:hover,
.fst-product-enquiry--quote:focus {
  background: var(--fst-blue-soft, #eef7fa);
  color: var(--fst-blue-dark, #005a84);
}

.fst-product-enquiry--whatsapp {
  border: 1px solid #b9e8c8;
  background: #f7fff9;
  color: #16763a;
}

.fst-product-enquiry--whatsapp:hover,
.fst-product-enquiry--whatsapp:focus {
  border-color: #82c99b;
  background: #effcf3;
  color: #126330;
}

.fst-product-enquiry svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fst-single-product__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 22px;
  padding: 14px 0;
  border-top: 1px solid var(--fst-border, #dce3e7);
  border-bottom: 1px solid var(--fst-border, #dce3e7);
  color: var(--fst-muted, #68717d);
  font-size: .75rem;
}

.fst-single-product__meta strong {
  margin-right: 5px;
  color: var(--fst-ink, #202633);
}

.fst-single-product__meta a {
  color: var(--fst-blue-dark, #005a84);
  text-decoration: none;
}

/* Quiet ordering notes rather than four floating cards. */
.fst-single-product__ordering-notes {
  margin-top: 18px;
}

.fst-single-product__ordering-notes > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f3;
}

.fst-single-product__ordering-notes strong {
  color: var(--fst-ink, #202633);
  font-size: .78rem;
}

.fst-single-product__ordering-notes span {
  color: var(--fst-muted, #68717d);
  font-size: .78rem;
  line-height: 1.5;
}

/* Product details / reviews */
.fst-single-product__details {
  margin-top: 72px;
  padding-top: 4px;
  border-top: 1px solid var(--fst-border, #dce3e7);
}

.fst-single-product__details .woocommerce-tabs {
  margin: 0 !important;
}

.fst-single-product__details .woocommerce-tabs ul.tabs {
  display: flex !important;
  gap: 28px;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--fst-border, #dce3e7) !important;
  overflow-x: auto;
  list-style: none !important;
}

.fst-single-product__details .woocommerce-tabs ul.tabs::before,
.fst-single-product__details .woocommerce-tabs ul.tabs li::before,
.fst-single-product__details .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.fst-single-product__details .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.fst-single-product__details .woocommerce-tabs ul.tabs li a {
  display: block !important;
  padding: 17px 0 14px !important;
  border-bottom: 2px solid transparent;
  color: var(--fst-muted, #68717d) !important;
  font-size: .83rem;
  font-weight: 800 !important;
  white-space: nowrap;
}

.fst-single-product__details .woocommerce-tabs ul.tabs li.active a {
  border-bottom-color: var(--fst-blue-dark, #005a84);
  color: var(--fst-ink, #202633) !important;
}

.fst-single-product__details .woocommerce-Tabs-panel {
  margin: 0 !important;
  padding: 30px 0 0 !important;
  color: var(--fst-text, #343b47);
  line-height: 1.72;
}

.fst-single-product__details .woocommerce-Tabs-panel > h2:first-child {
  margin-top: 0;
  color: var(--fst-ink, #202633);
  font-size: 1.45rem;
}

.fst-single-product__details table.shop_attributes {
  border: 0 !important;
  border-top: 1px solid var(--fst-border, #dce3e7) !important;
}

.fst-single-product__details table.shop_attributes th,
.fst-single-product__details table.shop_attributes td {
  border: 0 !important;
  border-bottom: 1px solid var(--fst-border, #dce3e7) !important;
  background: transparent !important;
  padding: 13px 10px !important;
}

.fst-single-product__details #reviews #comments ol.commentlist {
  padding: 0;
}

.fst-single-product__details #review_form_wrapper {
  margin-top: 34px;
}

.fst-single-product__details #review_form input:not([type="checkbox"]):not([type="radio"]),
.fst-single-product__details #review_form textarea {
  width: 100%;
  border: 1px solid var(--fst-border, #dce3e7);
  border-radius: 7px;
  background: #fff;
  padding: 11px;
}

.fst-single-product__details #review_form .submit {
  border: 1px solid var(--fst-blue-dark, #005a84) !important;
  border-radius: 7px !important;
  background: var(--fst-blue-dark, #005a84) !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* Related */
.fst-single-product__related {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--fst-border, #dce3e7);
}

.fst-single-product__section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.fst-single-product__section-heading p {
  margin: 0 0 8px;
  color: var(--fst-green-dark, #3d8500);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fst-single-product__section-heading h2 {
  margin: 0;
  color: var(--fst-ink, #202633);
  font-size: 2rem;
  letter-spacing: -.035em;
}

.fst-single-product__section-heading > a {
  color: var(--fst-blue-dark, #005a84);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .fst-single-product__top {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr);
    gap: 34px;
  }

  .fst-product-gallery__stage {
    min-height: 470px;
  }

  .fst-product-gallery__main-image {
    height: 470px;
  }
}

@media (max-width: 767px) {
  .fst-product-shell {
    width: min(calc(100% - 28px), var(--fst-container, 1240px));
    padding-top: 18px;
    padding-bottom: 52px;
  }

  .fst-product-breadcrumbs {
    margin-bottom: 18px;
    font-size: .7rem;
  }

  .fst-single-product__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fst-product-gallery__stage {
    min-height: 360px;
  }

  .fst-product-gallery__main-image {
    height: 360px;
    padding: 14px;
  }

  .fst-single-product-page button.fst-product-gallery__thumb {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
  }

  .fst-product-gallery__expand span {
    display: none;
  }

  .fst-product-gallery__expand {
    width: 40px;
    height: 40px;
    justify-content: center;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .fst-single-product__summary h1 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .fst-single-product__enquiry-actions {
    grid-template-columns: 1fr;
  }

  .fst-single-product__ordering-notes > div {
    grid-template-columns: 78px 1fr;
    gap: 10px;
  }

  .fst-single-product__details,
  .fst-single-product__related {
    margin-top: 52px;
  }

  .fst-single-product__details .woocommerce-tabs ul.tabs {
    gap: 22px;
  }

  .fst-single-product__section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .fst-single-product__related .fst-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .fst-product-gallery__stage {
    min-height: 320px;
  }

  .fst-product-gallery__main-image {
    height: 320px;
  }
}

/* Furstatec long-description editorial system */
.fst-single-product__details #tab-description {
  max-width: 980px;
  margin: 0 auto !important;
  padding: 38px 0 4px !important;
  color: var(--fst-text, #343b47);
  font-size: 1rem;
  line-height: 1.75;
}

.fst-single-product__details #tab-description > *:first-child {
  margin-top: 0 !important;
}

.fst-single-product__details #tab-description > *:last-child {
  margin-bottom: 0 !important;
}

.fst-single-product__details #tab-description h1,
.fst-single-product__details #tab-description h2,
.fst-single-product__details #tab-description h3,
.fst-single-product__details #tab-description h4,
.fst-single-product__details #tab-description h5,
.fst-single-product__details #tab-description h6 {
  max-width: 860px;
  margin: 2.1em 0 .55em !important;
  color: var(--fst-ink, #202633) !important;
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -.025em !important;
  text-transform: none !important;
}

.fst-single-product__details #tab-description h1,
.fst-single-product__details #tab-description h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.15rem) !important;
}

.fst-single-product__details #tab-description h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem) !important;
}

.fst-single-product__details #tab-description h4,
.fst-single-product__details #tab-description h5,
.fst-single-product__details #tab-description h6 {
  font-size: 1.08rem !important;
}

.fst-single-product__details #tab-description p,
.fst-single-product__details #tab-description li {
  color: var(--fst-text, #343b47) !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

.fst-single-product__details #tab-description p {
  max-width: 900px;
  margin: 0 0 1.2em !important;
}

.fst-single-product__details #tab-description strong,
.fst-single-product__details #tab-description b {
  color: var(--fst-ink, #202633) !important;
  font-weight: 750 !important;
}

.fst-single-product__details #tab-description em,
.fst-single-product__details #tab-description i {
  color: inherit !important;
}

/* Neutralise pasted/theme inline brand colours inside legacy descriptions. */
.fst-single-product__details #tab-description [style*="color"],
.fst-single-product__details #tab-description font[color] {
  color: inherit !important;
}

.fst-single-product__details #tab-description a {
  color: var(--fst-blue-dark, #005a84) !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.fst-single-product__details #tab-description ul,
.fst-single-product__details #tab-description ol {
  max-width: 880px;
  margin: 1em 0 1.45em !important;
  padding-left: 1.35rem !important;
}

.fst-single-product__details #tab-description li + li {
  margin-top: .42rem;
}

.fst-single-product__details #tab-description hr {
  width: 100%;
  height: 1px;
  margin: 2.4rem 0 !important;
  border: 0 !important;
  background: var(--fst-border, #dce3e7) !important;
}

.fst-single-product__details #tab-description img {
  display: block;
  width: min(100%, 760px) !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 1.65rem 0 .55rem !important;
  border-radius: 10px;
  object-fit: contain;
}

.fst-single-product__details #tab-description figure,
.fst-single-product__details #tab-description .wp-caption {
  width: min(100%, 760px) !important;
  max-width: 100% !important;
  margin: 1.75rem 0 2rem !important;
}

.fst-single-product__details #tab-description figure img,
.fst-single-product__details #tab-description .wp-caption img {
  width: 100% !important;
  margin: 0 !important;
}

.fst-single-product__details #tab-description figcaption,
.fst-single-product__details #tab-description .wp-caption-text {
  margin: .55rem 0 0 !important;
  color: var(--fst-muted, #68717d) !important;
  font-size: .78rem !important;
  font-style: normal !important;
  line-height: 1.45 !important;
}

.fst-single-product__details #tab-description blockquote {
  max-width: 850px;
  margin: 1.75rem 0 !important;
  padding: .15rem 0 .15rem 1.2rem !important;
  border: 0 !important;
  border-left: 3px solid var(--fst-blue-dark, #005a84) !important;
  background: transparent !important;
}

.fst-single-product__details #tab-description blockquote p:last-child {
  margin-bottom: 0 !important;
}

.fst-single-product__details #tab-description table {
  width: 100%;
  margin: 1.6rem 0 2rem;
  border-collapse: collapse;
  font-size: .9rem;
}

.fst-single-product__details #tab-description th,
.fst-single-product__details #tab-description td {
  padding: 12px 10px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--fst-border, #dce3e7) !important;
  background: transparent !important;
  color: var(--fst-text, #343b47) !important;
  text-align: left;
  vertical-align: top;
}

.fst-single-product__details #tab-description th {
  color: var(--fst-ink, #202633) !important;
  font-weight: 750 !important;
}

@media (max-width: 767px) {
  .fst-single-product__details #tab-description {
    padding-top: 26px !important;
    font-size: .95rem;
  }

  .fst-single-product__details #tab-description p,
  .fst-single-product__details #tab-description li {
    font-size: .95rem !important;
    line-height: 1.7 !important;
  }

  .fst-single-product__details #tab-description h1,
  .fst-single-product__details #tab-description h2 {
    font-size: 1.55rem !important;
  }

  .fst-single-product__details #tab-description h3 {
    font-size: 1.28rem !important;
  }

  .fst-single-product__details #tab-description img,
  .fst-single-product__details #tab-description figure,
  .fst-single-product__details #tab-description .wp-caption {
    width: 100% !important;
  }
}


/* Furstatec reviews: quiet, catalogue-style presentation. */
.fst-single-product__details .woocommerce-tabs ul.tabs li,
.fst-single-product__details .woocommerce-tabs ul.tabs li a {
  box-shadow: none !important;
  outline: 0;
}

.fst-single-product__details .woocommerce-tabs ul.tabs li a:focus {
  outline: 0;
}

.fst-single-product__details .woocommerce-tabs ul.tabs li a:focus-visible {
  outline: 2px solid var(--fst-blue-dark, #005a84);
  outline-offset: 5px;
  border-radius: 2px;
}

.fst-single-product__details #reviews {
  max-width: 920px;
}

.fst-single-product__details #reviews #comments > h2,
.fst-single-product__details #reviews #reply-title {
  margin: 0 0 16px !important;
  color: var(--fst-ink, #202633) !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.fst-single-product__details #reviews #comments > p,
.fst-single-product__details #reviews .woocommerce-noreviews {
  margin: 0;
  color: var(--fst-muted, #68717d);
  font-size: .92rem;
  line-height: 1.65;
}

.fst-single-product__details #review_form_wrapper {
  max-width: 760px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--fst-border, #dce3e7);
}

.fst-single-product__details #review_form .comment-form {
  margin: 0;
}

.fst-single-product__details #review_form .comment-notes,
.fst-single-product__details #review_form .comment-form-cookies-consent {
  color: var(--fst-muted, #68717d);
  font-size: .82rem;
}

.fst-single-product__details #review_form p {
  margin: 0 0 18px;
}

.fst-single-product__details #review_form label {
  display: block;
  margin-bottom: 7px;
  color: var(--fst-ink, #202633);
  font-size: .82rem;
  font-weight: 700;
}

.fst-single-product__details #review_form textarea {
  min-height: 138px;
  resize: vertical;
  line-height: 1.55;
}

.fst-single-product__details #review_form input:not([type="checkbox"]):not([type="radio"]),
.fst-single-product__details #review_form textarea {
  border-color: var(--fst-border, #dce3e7) !important;
  background: #fff !important;
  color: var(--fst-text, #343b47) !important;
  box-shadow: none !important;
}

.fst-single-product__details #review_form input:not([type="checkbox"]):not([type="radio"]):focus,
.fst-single-product__details #review_form textarea:focus {
  border-color: var(--fst-blue-dark, #005a84) !important;
  outline: 2px solid rgba(0, 90, 132, .12);
  outline-offset: 1px;
}

/* WooCommerce star widget: remove inherited pink theme colour. */
.fst-single-product__details #review_form .stars {
  margin: 2px 0 18px !important;
  line-height: 1;
}

.fst-single-product__details #review_form .stars a {
  color: #aebbc2 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

.fst-single-product__details #review_form .stars a:hover,
.fst-single-product__details #review_form .stars a.active,
.fst-single-product__details #review_form .stars.selected a,
.fst-single-product__details #review_form .stars:hover a {
  color: var(--fst-green-dark, #3d8500) !important;
}

.fst-single-product__details #review_form .stars a:hover ~ a,
.fst-single-product__details #review_form .stars.selected a.active ~ a {
  color: #aebbc2 !important;
}

.fst-single-product__details #review_form .form-submit {
  margin: 4px 0 0 !important;
}

.fst-single-product__details #review_form .submit {
  width: auto !important;
  min-width: 138px;
  min-height: 44px;
  margin: 0 !important;
  padding: 10px 20px !important;
  border: 1px solid var(--fst-blue-dark, #005a84) !important;
  border-radius: 7px !important;
  background: var(--fst-blue-dark, #005a84) !important;
  color: #fff !important;
  font-size: .84rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

.fst-single-product__details #review_form .submit:hover,
.fst-single-product__details #review_form .submit:focus {
  border-color: #004a6d !important;
  background: #004a6d !important;
  color: #fff !important;
}

.fst-single-product__details #review_form .submit:focus-visible {
  outline: 2px solid var(--fst-blue-dark, #005a84);
  outline-offset: 3px;
}

/* Existing reviews. */
.fst-single-product__details #reviews #comments ol.commentlist li {
  margin: 0 !important;
  padding: 22px 0 !important;
  border-bottom: 1px solid var(--fst-border, #dce3e7);
}

.fst-single-product__details #reviews #comments ol.commentlist li .comment-text {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.fst-single-product__details #reviews #comments ol.commentlist li img.avatar {
  display: none !important;
}

.fst-single-product__details #reviews #comments .star-rating {
  color: var(--fst-green-dark, #3d8500) !important;
}

.fst-single-product__details #reviews #comments .meta {
  color: var(--fst-muted, #68717d) !important;
  font-size: .78rem !important;
}

@media (max-width: 767px) {
  .fst-single-product__details #reviews,
  .fst-single-product__details #review_form_wrapper {
    max-width: none;
  }

  .fst-single-product__details #review_form .submit {
    width: 100% !important;
  }
}


/* v1.5.1 product gallery expand control.
 * Prevent Elementor/global button typography from wrapping "View larger".
 */
.fst-single-product button.fst-product-gallery__expand,
.fst-single-product button.fst-product-gallery__expand:hover,
.fst-single-product button.fst-product-gallery__expand:focus,
.fst-single-product button.fst-product-gallery__expand:focus-visible,
.fst-single-product button.fst-product-gallery__expand:active {
  box-sizing: border-box !important;
  width: auto !important;
  min-width: max-content !important;
  max-width: none !important;
  min-height: 42px !important;
  height: 42px !important;
  max-height: 42px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 7px !important;
  overflow: visible !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

.fst-single-product button.fst-product-gallery__expand > span {
  display: inline-block !important;
  width: auto !important;
  min-width: max-content !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

.fst-single-product button.fst-product-gallery__expand > svg {
  flex: 0 0 18px !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

@media (max-width: 480px) {
  .fst-single-product button.fst-product-gallery__expand,
  .fst-single-product button.fst-product-gallery__expand:hover,
  .fst-single-product button.fst-product-gallery__expand:focus {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 10px !important;
    font-size: .76rem !important;
  }
}


/* v1.5.2 product gallery geometry lock.
 * The real Single Product wrapper is .fst-single-product-page. Previous rules
 * targeted .fst-single-product and therefore never reached these controls.
 */
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__expand,
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__expand:hover,
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__expand:focus,
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__expand:focus-visible,
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__expand:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
  width: 132px !important;
  min-width: 132px !important;
  max-width: 132px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 7px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  border-radius: 7px !important;
  line-height: 1 !important;
  text-align: center !important;
  box-shadow: none !important;
}

.fst-single-product-page .fst-product-gallery button.fst-product-gallery__expand > span {
  display: inline-block !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  line-height: 1 !important;
}

.fst-single-product-page .fst-product-gallery button.fst-product-gallery__expand > svg {
  display: block !important;
  flex: 0 0 17px !important;
  width: 17px !important;
  min-width: 17px !important;
  height: 17px !important;
  min-height: 17px !important;
  margin: 0 !important;
}

/* Previous / next are true circles, never inherited pills. */
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__nav,
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__nav:hover,
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__nav:focus,
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__nav:focus-visible,
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__nav:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  line-height: 0 !important;
  box-shadow: none !important;
  transform: translateY(-50%) !important;
}

.fst-single-product-page .fst-product-gallery button.fst-product-gallery__nav > svg {
  display: block !important;
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
}

/* Lightbox close: fixed circle, no global vertical padding. */
.fst-product-gallery__lightbox button.fst-product-gallery__lightbox-close,
.fst-product-gallery__lightbox button.fst-product-gallery__lightbox-close:hover,
.fst-product-gallery__lightbox button.fst-product-gallery__lightbox-close:focus,
.fst-product-gallery__lightbox button.fst-product-gallery__lightbox-close:focus-visible,
.fst-product-gallery__lightbox button.fst-product-gallery__lightbox-close:active,
button.fst-product-gallery__lightbox-close,
button.fst-product-gallery__lightbox-close:hover,
button.fst-product-gallery__lightbox-close:focus,
button.fst-product-gallery__lightbox-close:focus-visible,
button.fst-product-gallery__lightbox-close:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  line-height: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.fst-product-gallery__lightbox button.fst-product-gallery__lightbox-close > svg,
button.fst-product-gallery__lightbox-close > svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

/* Thumbnails remain compact rectangles instead of Elementor pills. */
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__thumb,
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__thumb:hover,
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__thumb:focus,
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__thumb:focus-visible,
.fst-single-product-page .fst-product-gallery button.fst-product-gallery__thumb:active {
  box-sizing: border-box !important;
  padding: 4px !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 767px) {
  .fst-single-product-page .fst-product-gallery button.fst-product-gallery__expand {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 9px !important;
    gap: 5px !important;
    font-size: .7rem !important;
  }

  .fst-single-product-page .fst-product-gallery button.fst-product-gallery__nav {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
  }
}


/* v1.7.0 merchant availability date */
.fst-single-product__availability-date {
  margin: -4px 0 16px;
  color: #5b6872;
  font-size: .8rem;
  line-height: 1.5;
}
.fst-single-product__availability-date strong {
  color: #24313a;
  font-weight: 750;
}
