/* 3H Viet Nam — Bricks native single product */

body.single-product {
  background: #f3f5f7;
}

.threeh-product-hero,
.threeh-product-detail,
.threeh-product-reviews,
.threeh-product-related,
.threeh-product-cta {
  width: 100%;
  padding-inline: var(--threeh-gutter);
}

.threeh-product-hero__inner,
.threeh-product-detail__inner,
.threeh-product-reviews__inner,
.threeh-product-related__inner,
.threeh-product-cta__inner {
  width: 100%;
  max-width: var(--threeh-container) !important;
  margin-inline: auto;
  padding: 0 !important;
}

.threeh-product-hero {
  padding-top: clamp(46px, 5vw, 72px);
  padding-bottom: clamp(58px, 6vw, 88px);
  border-bottom: 1px solid #c7ced7;
  background: #fff;
}

.threeh-product-hero__breadcrumb {
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: #687384;
}

.threeh-product-hero__breadcrumb a {
  color: var(--threeh-navy);
  text-decoration: none;
}

.threeh-product-hero__breadcrumb a:hover {
  color: var(--threeh-blue);
}

.threeh-product-hero__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: start;
}

.threeh-product-hero__media,
.threeh-product-hero__summary {
  min-width: 0;
}

.threeh-product-gallery {
  position: relative;
  width: 100%;
}

.threeh-product-gallery::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 84px;
  height: 4px;
  background: var(--threeh-yellow);
  pointer-events: none;
}

.threeh-product-gallery .woocommerce-product-gallery,
.threeh-product-gallery .woocommerce-product-gallery__wrapper,
.threeh-product-gallery .woocommerce-product-gallery__image,
.threeh-product-gallery .woocommerce-product-gallery__image > a {
  width: 100% !important;
  margin: 0 !important;
}

.threeh-product-gallery .woocommerce-product-gallery {
  float: none !important;
  overflow: hidden;
  border: 1px solid #c7ced7;
  border-radius: 0 !important;
  background: #eef1f4;
}

.threeh-product-gallery .woocommerce-product-gallery__image img {
  display: block;
  width: 100% !important;
  height: clamp(500px, 49vw, 680px) !important;
  object-fit: contain;
  object-position: center;
  border-radius: 0 !important;
  background: #eef1f4;
}

.threeh-product-gallery .woocommerce-product-gallery__trigger {
  top: 18px !important;
  right: 18px !important;
  border: 1px solid #c7ced7;
  border-radius: 0 !important;
  background: #fff;
  color: var(--threeh-navy);
}

.threeh-product-gallery .flex-control-nav,
.threeh-product-gallery .brx-product-gallery-thumbnail-slider {
  gap: 8px;
  margin-top: 10px !important;
}

.threeh-product-gallery .flex-control-thumbs img,
.threeh-product-gallery .brx-product-gallery-thumbnail-slider img {
  border: 1px solid #c7ced7;
  border-radius: 0 !important;
}

.threeh-product-hero__summary {
  padding-top: 4px;
}

.threeh-product-kicker,
.threeh-product-section__eyebrow,
.threeh-product-quote__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--threeh-blue);
}

.threeh-product-kicker::before,
.threeh-product-section__eyebrow::before,
.threeh-product-quote__eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  flex: 0 0 30px;
  background: var(--threeh-yellow);
}

.threeh-product-title .product-title,
.threeh-product-title {
  margin: 0 !important;
  font-size: clamp(34px, 3.4vw, 52px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  color: var(--threeh-navy) !important;
  text-wrap: balance;
}

.threeh-product-meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0 !important;
  margin: 24px 0 0 !important;
  border-top: 1px solid #d5dbe2;
  border-bottom: 1px solid #d5dbe2;
}

.threeh-product-meta .item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-right: 1px solid #d5dbe2;
  font-size: 12px;
}

.threeh-product-meta .item:first-child {
  padding-left: 0;
}

.threeh-product-meta .prefix {
  font-weight: 600;
  color: #758090;
}

.threeh-product-meta .text,
.threeh-product-meta a {
  font-weight: 700;
  color: var(--threeh-navy);
  text-decoration: none;
}

.threeh-product-short-description {
  margin-top: 26px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: #4d5868;
}

.threeh-product-short-description p:last-child {
  margin-bottom: 0;
}

.threeh-product-quote {
  margin-top: 30px;
  padding: 24px 26px 26px;
  border: 1px solid #bdc6d1;
  border-left: 4px solid var(--threeh-yellow);
  border-radius: 0 !important;
  background: #f4f6f8;
}

.threeh-product-quote__eyebrow {
  margin-bottom: 9px;
}

.threeh-product-quote__title {
  margin: 0 !important;
  font-size: clamp(21px, 2vw, 27px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -.02em;
  color: var(--threeh-navy) !important;
}

.threeh-product-quote__text {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.65;
  color: #677282;
}

.threeh-product-quote__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.threeh-product-quote__button,
.threeh-product-quote__phone,
.threeh-product-cta__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--threeh-navy);
  border-radius: 0 !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .025em;
  text-decoration: none !important;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.threeh-product-quote__button,
.threeh-product-cta__button {
  background: var(--threeh-navy);
  color: #fff !important;
}

.threeh-product-quote__button:hover,
.threeh-product-cta__button:hover {
  border-color: var(--threeh-blue);
  background: var(--threeh-blue);
}

.threeh-product-quote__phone {
  background: transparent;
  color: var(--threeh-navy) !important;
}

.threeh-product-quote__phone:hover {
  background: #fff;
}

.threeh-product-detail {
  padding-top: clamp(68px, 7vw, 104px);
  padding-bottom: clamp(70px, 8vw, 112px);
  background: #f3f5f7;
}

.threeh-product-section__head {
  display: grid !important;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 58px);
  padding-bottom: 24px;
  border-bottom: 1px solid #bdc6d1;
}

.threeh-product-section__title {
  margin: 0 !important;
  font-size: clamp(30px, 3vw, 44px) !important;
  font-weight: 700 !important;
  line-height: 1.13 !important;
  letter-spacing: -.03em;
  color: var(--threeh-navy) !important;
}

.threeh-product-section__intro {
  max-width: 700px;
  justify-self: end;
  font-size: 14px;
  line-height: 1.7;
  color: #657181;
}

.threeh-product-detail__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 8fr) minmax(320px, 4fr);
  gap: clamp(34px, 4vw, 58px);
  align-items: start;
}

.threeh-product-detail__main,
.threeh-product-form {
  min-width: 0;
}

.threeh-product-content {
  width: 100%;
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: #35404e;
}

.threeh-product-form {
  position: sticky;
  top: 24px;
  padding: 28px 26px 30px;
  border: 1px solid #bdc6d1;
  border-top: 4px solid var(--threeh-navy);
  border-radius: 0 !important;
  background: #fff;
  box-shadow: none !important;
}

.threeh-product-form__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--threeh-blue);
}

.threeh-product-form__eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  flex: 0 0 26px;
  background: var(--threeh-yellow);
}

.threeh-product-form__title {
  margin: 0 !important;
  font-size: clamp(22px, 2vw, 29px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -.02em;
  color: var(--threeh-navy) !important;
}

.threeh-product-form__intro {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.65;
  color: #667080;
}

.threeh-product-form__shortcode {
  width: 100%;
  margin-top: 20px;
}

.threeh-product-form .dawp-form-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.threeh-product-form .dawp-form-col {
  min-width: 0;
  flex: 1 1 0;
}

.threeh-product-form .dawp-form-group {
  width: 100%;
  margin: 0 0 11px;
}

.threeh-product-form .dawp-form-group label {
  display: block;
  margin: 0 0 5px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  color: #26344f;
}

.threeh-product-form .dawp-input,
.threeh-product-form .dawp-select,
.threeh-product-form .dawp-textarea,
.threeh-product-form .dawp-captcha-input {
  width: 100%;
  border: 1px solid #bdc7d4;
  border-radius: 0 !important;
  outline: 0;
  background: #fff;
  box-shadow: none !important;
  font-size: 12.5px !important;
  color: var(--threeh-text);
  box-sizing: border-box;
}

.threeh-product-form .dawp-input,
.threeh-product-form .dawp-select {
  height: 42px !important;
  min-height: 42px !important;
  padding: 8px 11px !important;
}

.threeh-product-form .dawp-textarea {
  height: 104px !important;
  min-height: 104px !important;
  padding: 10px 11px !important;
  line-height: 1.5 !important;
  resize: vertical;
}

.threeh-product-form .dawp-input:focus,
.threeh-product-form .dawp-select:focus,
.threeh-product-form .dawp-textarea:focus,
.threeh-product-form .dawp-captcha-input:focus {
  border-color: var(--threeh-navy);
  outline: 1px solid var(--threeh-navy);
}

.threeh-product-form .dawp-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px !important;
  padding: 10px 18px !important;
  border: 1px solid var(--threeh-navy);
  border-left: 5px solid var(--threeh-yellow);
  border-radius: 0 !important;
  background: var(--threeh-navy);
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
}

.threeh-product-form .dawp-captcha-wrap {
  margin: 2px 0 11px !important;
}

.threeh-product-form .dawp-captcha-input {
  width: 125px;
  height: 38px !important;
  min-height: 38px !important;
  padding: 7px 10px !important;
}

/* The product editor currently contains imported ChatGPT wrapper DIVs.
   Flatten them visually while keeping the original Woo product data intact. */
.threeh-product-content .qMYqUG_convSearchResultHighlightRoot,
.threeh-product-content .qMYqUG_convSearchResultHighlightRoot > div,
.threeh-product-content [data-turn-id-container],
.threeh-product-content [data-conversation-screenshot-content],
.threeh-product-content .agent-turn,
.threeh-product-content .text-message,
.threeh-product-content .markdown,
.threeh-product-content .grow {
  display: contents !important;
}

.threeh-product-content section {
  display: block;
}

.threeh-product-content h2,
.threeh-product-content h3,
.threeh-product-content h4 {
  position: relative;
  margin: 44px 0 16px;
  padding-top: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--threeh-navy);
}

.threeh-product-content h2::before,
.threeh-product-content h3::before,
.threeh-product-content h4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 3px;
  background: var(--threeh-yellow);
}

.threeh-product-content h3 {
  font-size: clamp(22px, 2vw, 29px);
}

.threeh-product-content p {
  margin: 0 0 18px;
}

.threeh-product-content ul,
.threeh-product-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.threeh-product-content li {
  margin-bottom: 9px;
}

.threeh-product-content strong {
  font-weight: 700;
  color: #172f60;
}

.threeh-product-content table {
  width: 100% !important;
  margin: 34px 0 !important;
  border-collapse: collapse !important;
  border: 0 !important;
  background: transparent !important;
}

.threeh-product-content table td,
.threeh-product-content table th {
  padding: 0 !important;
  border: 0 !important;
  vertical-align: top;
}

.threeh-product-content table td + td {
  padding-left: 12px !important;
}

.threeh-product-content table img {
  display: block;
  width: 100% !important;
  height: 370px !important;
  object-fit: cover;
  border: 1px solid #bdc6d1;
  border-radius: 0 !important;
}

.threeh-product-related {
  padding-top: clamp(62px, 7vw, 94px);
  padding-bottom: clamp(72px, 8vw, 110px);
  border-top: 1px solid #c7ced7;
  background: #eef1f4;
}

.threeh-product-related__element {
  width: 100%;
  margin-top: 34px;
}

.threeh-product-related .related.products > h2 {
  display: none;
}

.threeh-product-related ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 0 !important;
}

.threeh-product-related ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 20px !important;
  overflow: hidden;
  border: 1px solid #bcc5d0;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: none !important;
}

.threeh-product-related ul.products li.product img {
  width: 100% !important;
  height: 300px !important;
  margin: 0 0 18px !important;
  object-fit: cover;
  border-bottom: 1px solid #d0d6de;
  border-radius: 0 !important;
}

.threeh-product-related ul.products li.product .woocommerce-loop-product__title,
.threeh-product-related ul.products li.product .price,
.threeh-product-related ul.products li.product .button {
  margin-left: 18px !important;
  margin-right: 18px !important;
}

.threeh-product-related ul.products li.product .woocommerce-loop-product__title {
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: var(--threeh-navy) !important;
}

.threeh-product-related ul.products li.product .price,
.threeh-product-related ul.products li.product .button {
  display: none !important;
}

.threeh-product-cta {
  padding-top: 52px;
  padding-bottom: 52px;
  border-top: 4px solid var(--threeh-yellow);
  background: var(--threeh-navy);
}

.threeh-product-cta__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.threeh-product-cta__title {
  margin: 0 !important;
  font-size: clamp(25px, 2.7vw, 38px) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -.025em;
  color: #fff !important;
}

.threeh-product-cta__text {
  max-width: 760px;
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,.72);
}

.threeh-product-cta__button {
  min-width: 180px;
  border-color: var(--threeh-yellow);
  background: var(--threeh-yellow);
  color: var(--threeh-navy) !important;
}

.threeh-product-cta__button:hover {
  border-color: #fff;
  background: #fff;
  color: var(--threeh-navy) !important;
}

@media (max-width: 991px) {
  .threeh-product-hero__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .threeh-product-gallery .woocommerce-product-gallery__image img {
    height: clamp(440px, 75vw, 620px) !important;
  }

  .threeh-product-section__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .threeh-product-detail__grid {
    grid-template-columns: 1fr;
  }

  .threeh-product-form {
    position: static;
  }

  .threeh-product-section__intro {
    justify-self: start;
  }

  .threeh-product-related ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .threeh-product-hero,
  .threeh-product-detail,
  .threeh-product-related,
  .threeh-product-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .threeh-product-hero {
    padding-top: 30px;
    padding-bottom: 52px;
  }

  .threeh-product-hero__breadcrumb {
    margin-bottom: 20px;
  }

  .threeh-product-gallery .woocommerce-product-gallery__image img {
    height: 360px !important;
  }

  .threeh-product-title .product-title,
  .threeh-product-title {
    font-size: 31px !important;
  }

  .threeh-product-meta .item {
    width: 100%;
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid #d5dbe2;
  }

  .threeh-product-meta .item:last-child {
    border-bottom: 0;
  }

  .threeh-product-quote {
    padding: 20px 18px 22px;
  }

  .threeh-product-quote__actions {
    flex-direction: column;
  }

  .threeh-product-quote__button,
  .threeh-product-quote__phone {
    width: 100%;
  }

  .threeh-product-form {
    padding: 22px 18px 24px;
  }

  .threeh-product-form .dawp-form-row {
    flex-direction: column;
    gap: 0;
  }

  .threeh-product-content {
    font-size: 15px;
    line-height: 1.74;
  }

  .threeh-product-content table,
  .threeh-product-content tbody,
  .threeh-product-content tr,
  .threeh-product-content td {
    display: block;
    width: 100% !important;
  }

  .threeh-product-content table td + td {
    padding: 12px 0 0 !important;
  }

  .threeh-product-content table img {
    height: 320px !important;
  }

  .threeh-product-related ul.products {
    grid-template-columns: 1fr !important;
  }

  .threeh-product-related ul.products li.product img {
    height: 290px !important;
  }

  .threeh-product-cta__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .threeh-product-cta__button {
    width: 100%;
  }
}
