.product-technical-details {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e8ec;
}

.product-head {
  position: relative;
}

#product-head {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin: 2rem auto 0;
  padding: clamp(1rem, 3vw, 2.5rem) 0;
}

.product-head__media {
  align-self: start;
  min-width: 0;
  overflow: hidden;
  background: #fff;
}

.product-head__media a,
.product-head__media img {
  display: block;
  width: 100%;
}

.product-head__media img {
  max-height: 560px;
  object-fit: contain;
}

.product-head__body {
  min-width: 0;
}

.product-head--admin .product-head__body {
  padding-top: 2.75rem;
}

.product-head__summary {
  text-align: center;
}

.product-head__summary h1 {
  margin: 0.65rem 0 0.35rem;
  color: #252c33;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 650;
  line-height: 1.15;
}

.product-head__summary h3 {
  margin: 0;
  color: #69737d;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 400;
  line-height: 1.4;
}

.product-availability {
  min-height: 32px;
  margin-top: 1rem;
}

.product-availability__checking {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #66717c;
  font-size: 0.9rem;
}

.product-availability__checking img {
  width: 22px;
  height: 22px;
}

.product-options {
  margin-top: 1.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid #e5e8ec;
  text-align: center;
}

.product-options__heading {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.45rem;
}

.product-options__heading small {
  color: #77828c;
}

.product-options__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

.product-purchase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 1.25rem;
  border-top: 1px solid #e5e8ec;
}

.product-purchase__price,
.product-purchase__quantity {
  padding: 1.25rem;
  text-align: center;
}

.product-purchase__quantity {
  border-left: 1px solid #e5e8ec;
}

.product-purchase__label {
  display: block;
  margin-bottom: 0.4rem;
  color: #55616c;
  font-size: 0.85rem;
  font-weight: 650;
  text-transform: uppercase;
}

.product-purchase__quantity .cart_qty {
  margin: 0.45rem auto 0.75rem;
}

.product-purchase__action {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: 1px solid #e5e8ec;
  text-align: center;
}

.product-admin-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: auto;
  max-width: none;
  padding: 0;
  z-index: 25;
}

.product-admin-actions .dropdown-menu {
  right: 0;
  left: auto;
  width: 240px;
  max-width: calc(100vw - 2rem);
  min-width: 0;
}

.product-admin-actions .dropdown-item i:first-child {
  margin-right: 0.4rem;
}

.product-technical-details h2 {
  margin: 0 0 1rem;
  color: #2d343c;
  font-size: 1.65rem;
  font-weight: 600;
}

.product-technical-details__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
}

.product-technical-details .attr {
  min-width: 0;
  padding: 0.8rem 1rem;
  border: 1px solid #e7ebef;
  border-left: 3px solid var(--maincolor, #0584f1);
  background: #fff;
  color: #3f4852;
}

.product-technical-details .attr i {
  margin-right: 0.35rem;
  color: var(--maincolor, #0584f1);
}

.item_section .related-products__eyebrow,
.product-questions__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--maincolor, #0584f1);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.related-products {
  background: #fff;
  margin-top: 2rem;
  padding-bottom: 2rem;
}

.item_section header h2 {
  margin: 0;
  color: #252c33;
  font-size: 2rem;
  font-weight: 650;
}

.item_section .related-products__description {
  max-width: 620px;
  margin: 0.45rem 0 0;
  color: #6b747e;
}

.product-questions {
  margin-right: auto;
  margin-left: auto;
}

.container > header.product-questions__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 0 1rem;
  padding: 0;
  background: transparent;
  border-bottom: 1px solid #e2e7eb;
}

.product-questions__header h2 {
  margin: 0;
  color: #252c33;
  font-size: 2rem;
  font-weight: 650;
}

.product-questions__header > div > p:last-child {
  max-width: 690px;
  margin: 0.55rem 0 0;
  color: #66717c;
}

.product-questions__count {
  flex: 0 0 auto;
  padding: 0.45rem 0.7rem;
  border: 1px solid #d7e4ef;
  border-radius: 6px;
  background: #f5f9fc;
  color: #46657e;
  font-size: 0.82rem;
  font-weight: 600;
}

.product-questions__list {
  display: grid;
  gap: 1rem;
}

.product-questions__list--more {
  margin-top: 1rem;
}

.question-thread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e2e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(32, 45, 58, 0.05);
}

.question-thread__item {
  min-width: 0;
  padding: 1.15rem 1.25rem;
}

.question-thread__item--answer {
  border-left: 1px solid #dce9de;
  background: #f4fbf5;
}

.question-thread__label {
  margin-bottom: 0.55rem;
  color: #52606d;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.question-thread__item--answer .question-thread__label {
  color: #287a39;
}

.question-thread__author {
  margin-bottom: 0.55rem;
  color: #6e7882;
  font-size: 0.82rem;
}

.question-thread__author i {
  margin-right: 0.25rem;
}

.question-thread__item p {
  margin: 0 0 0.8rem;
  color: #303840;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.question-thread__item time {
  color: #8a949e;
  font-size: 0.76rem;
}

.product-questions__empty {
  padding: 1.3rem;
  border: 1px dashed #ccd5dd;
  background: #fafbfc;
  text-align: center;
}

.product-questions__empty h3,
.product-questions__empty p {
  margin: 0;
}

.product-questions__empty p {
  margin-top: 0.3rem;
  color: #6e7882;
}

.product-questions__more {
  margin-top: 1.25rem;
  text-align: center;
}

.product-questions__sent {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid #34a853;
  background: #f1faf3;
  color: #2f633b;
}

.product-questions__sent p {
  margin: 0.45rem 0;
  color: #2f383f;
}

.product-question-form {
  position: relative;
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid #dfe5ea;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(32, 45, 58, 0.07);
}

.product-question-form__intro h3 {
  margin: 0;
  color: #28313a;
  font-size: 1.35rem;
  font-weight: 650;
}

.product-question-form__intro p {
  margin: 0.35rem 0 1rem;
  color: #69747f;
}

.product-question-form__guest-note {
  margin-bottom: 1rem;
  padding: 0.8rem 0.95rem;
  border-left: 3px solid #4b92c8;
  background: #f2f8fc;
  color: #45657c;
  font-size: 0.9rem;
}

.product-question-form__fields {
  margin-bottom: 0.25rem;
}

.product-question-form label {
  display: block;
  margin: 0 0 0.4rem;
  color: #3d4852;
  font-size: 0.88rem;
  font-weight: 650;
}

.product-question-form .form-control {
  margin-bottom: 1rem;
  border-color: #ccd5dd;
  background: #fff;
  color: #29323a;
}

.product-question-form textarea.form-control {
  min-height: 116px;
  resize: vertical;
}

.product-question-form .form-control:focus {
  border-color: var(--maincolor, #0584f1);
  box-shadow: 0 0 0 3px rgba(5, 132, 241, 0.12);
}

.product-question-form__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.product-question-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-question-form__footer small {
  color: #7c8791;
}

.product-question-form__feedback {
  margin-top: 1rem;
  padding: 0.8rem 0.95rem;
  border-left: 4px solid #34a853;
  background: #f1faf3;
  color: #2f633b;
}

.product-question-form__feedback--error {
  border-left-color: #d64242;
  background: #fff4f4;
  color: #8a3030;
}

@media (max-width: 767.98px) {
  .product-technical-details__list,
  .question-thread {
    grid-template-columns: 1fr;
  }

  .question-thread__item--answer {
    border-top: 1px solid #dce9de;
    border-left: 0;
  }

  .container > header.product-questions__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-questions__header h2,
  .item_section header h2 {
    font-size: 1.65rem;
  }

  .product-question-form {
    padding: 1.1rem;
  }

  .product-question-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

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

  .product-purchase__quantity {
    border-top: 1px solid #e5e8ec;
    border-left: 0;
  }

  .product-purchase__price,
  .product-purchase__quantity {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  #product-head {
    grid-template-columns: 1fr;
  }

  .product-head--admin .product-head__body {
    padding-top: 0;
  }
}
