.product-name h1 {
  margin: 1em 0 0.5em;
  font-weight: 500;
}
.link_tree {
  opacity: 0.8;
}
.link_tree p {
  display: inline-block;
}
.product-name p {
  font-weight: 300;
}
.product-price {
  margin: 2em 0;
  flex-direction: column;
  align-items: flex-start;
}
.product-price .price {
  font-size: var(--heading-primary);
  font-weight: 500;
  margin-bottom: 0.4em;
}
/* .productInfo {
  width: 82%;
} */
.product-price .stock {
  font-weight: 300;
  width: 80%;
  line-height: 1.5em;
}
.quantity-form {
  margin: 3em 0 3.5em;
}
.quantity-form label {
  margin-bottom: 0.35em;
  padding: 3px 0;
  font-weight: 500;
}
.form-item {
  margin: 0;
}
#product-page-new .form-item-sqm {
  margin-top: 1em;
}
#product-page-new form label.form-required {
  position: static;
  width: auto;
  display: block;
}
#product-page-new form label.form-required::before {
  content: none;
}
input[type="checkbox"] {
  float: left;
  vertical-align: middle;
  width: 20px !important;
  height: 20px;
  margin-top: 9px;
}
input[type="checkbox"] + label {
  padding: 8px 0 0 8px;
  float: left;
  width: calc(100% - 28px) !important;
  margin-bottom: 2em;
}
h2.addon {
  font-size: var(--heading-primary);
  font-weight: 500;
  margin: 2.2em 0 0.25em;
}
#product-page-new input[type="submit"] {
  width: 70%;

  border-radius: 0;
}
#product-page-new input[name="quantity"] {
  width: 25.8%;
  border-radius: 0;
}
#product-page-new input[type="submit"] {
  background-color: #27333f;
  padding: 0.5em 0.75em !important;
  color: #fff;
  border: none;
  font-family: inherit;
  letter-spacing: 0.2px;
  font-weight: 400;
  margin-top: 1.9em;
  border: 0px transparent !important;
}
#product-page-new input[name="quantity"] {
  border: solid 1px #bfbfbf;
  float: left;
  margin: 0 1em 2em 0;
  padding: 0.4em 0.75em !important;
  font-family: var(--primary-font);
  text-align: center;
  color: #5e6671;
}
form .quantity-container img {
  position: absolute;
  margin-top: 0.1em;
  width: 3.5%;
  cursor: pointer;
}
form .quantity-container .minus {
  left: 0%;
  margin-top: -0.03em;
}
form .quantity-container .plus {
  right: 76%;
}
.product-desc #product-descrip{
  visibility: hidden;
}
.product-desc h2,
#product-page-new .dropdown-container .flex h2 {
  font-size: 15px;
  clear: both;
}
/* DropDowns */
#product-page-new .dropdown-container {
  margin-bottom: 2.8em;
  padding: 0.5em 0 1em;
}
.dropdown-container > .flex {
  column-gap: 2em;
}
.dropdown-header {
  cursor: pointer;
}
.dropdown-container .hddn-content {
  padding-inline: 0 !important;
}
.dropdown-container .hddn-content article p,
.dropdown-container .hddn-content article h2 {
  margin-bottom: 1em;
}
#product-page-new #product-spec article {
  margin-bottom: 3.2em;
}
#product-page-new #product-spec img {
  width: 90%;
}
#product-page-new #product-spec.grid,
#product-page-new #dev-returns.grid {
  column-gap: 2em !important;
}
#product-page-new #dev-returns .flex {
  column-gap: 3em;
  margin: 2.2em 0 !important;
}
#product-page-new #dev-returns h4 {
  margin-bottom: 1em;
}
#product-page-new h4 {
  font-weight: 500;
}
#product-page-new #dev-returns .flex h4 {
  margin-bottom: 0.5em;
}
#product-page-new #dev-returns .flex div,
#product-page-new #dev-returns .flex div p {
  margin-bottom: 0;
}
#product-page-new .hddn-content p a {
  text-decoration: underline;
  color: var(--main-link-color);
}
#product-page-new .editorial .section-heading {
  padding: 0 !important;
  margin: 0 0 2.4em !important;
}
#product-page-new .editorial .section-heading h1.heading-large {
  margin: 1em 0 !important;
  padding: 0 !important;
  font-size: 1.5em;
}
#product-page-new .editorial .section-heading.no-brdr {
  padding: 0 !important;
}
#product-page-new .editorial .section-heading.no-brdr h2 {
  margin: 0.8em 0 0.8em !important;
  font-weight: 400;
}
#product-page-new .editorial img {
  display: block;
  margin: 0;
}
#product-page-new .editorial .single-column {
  margin-top: 0.6em;
  margin-bottom: 0.6em;
}
#product-page-new .editorial p.double-columns {
  margin-bottom: 1em;
}
#product-page-new .editorial article:not(:last-child) {
  margin-bottom: 2em;
}
#product-page-new .editorial .grid-2-cols.fixed {
  column-gap: 15px !important;
}
#product-page-new .editorial .grid-2-cols.fixed img {
  height: 25em;
  object-fit: cover;
}
#product-page-new .editorial p.double-columns:last-child {
  margin-bottom: 0;
}
#product-page-new .tcalc .form-item.form-type-textfield {
  margin: 0;
}
#product-page-new label sup {
  line-height: 0;
}
#product-page-new form input {
  margin: 0;
}
#product-page-new form input.form-checkbox {
  margin: 2% 0;
}
#product-page-new .quantity-container.tcalc {
  margin: 1em 1em 2em 0 !important;
}
#product-page-new #tsub {
  margin-top: 0.1em;
}

#product-page-new .product-name h1 {
  line-height: 1.25 !important;
}

@media screen and (max-width: 768px) {
  #product-page-new .editorial .section-heading h1.heading-large {
    font-weight: 500;
  }
  #product-page-new .editorial .section-heading h1.heading-large,
  .node-type-product-page #related .mainTitle h1,
  .path-product #related .mainTitle h1 {
    max-width: 100%;
  }
  #product-page-new .editorial img {
    width: 100vw;
    margin-left: -6vw;
    max-width: none;
    margin-top: 0.15em;
    margin-bottom: 0.15em;
  }
  .node-type-product-page .dropdowns-wrapper {
    margin-bottom: 4em;
  }
  /* .node-type-product-page #related {
    margin-top: 4em;
  } */
  .link_tree {
    display: none;
  }
  .productInfo {
    width: 100%;
  }
  .product-name h1 {
    margin: 0;
  }
  .product-price {
    margin: 1.5em 0 2em;
  }
  #product-page-new section {
    padding-bottom: 0;
  }
  #product-page-new .editorial .section-heading {
    padding-top: 1em;
    margin: 4em 0 0.5em !important;
  }
  #product-page-new .editorial .section-heading {
    padding-top: 0em;
  }
  #product-page-new section.editorial {
    padding-bottom: 2em;
  }
  #product-page-new .editorial h1 {
    margin: 2.5em 0 1.5em;
    font-size: 1.2em;
    font-weight: 500;
  }
  #product-page-new .editorial .section-heading h1 {
    margin: 1em auto 0;
    font-size: var(--heading-primary);
  }
  #product-page-new .editorial .grid-2-cols.fixed {
    margin-bottom: 1.2em;
    height: 100%;
    width: 122.6%;
    margin-left: -2.7em;
    column-gap: 11px !important;
  }
  #product-page-new .editorial .grid-2-cols.fixed img {
    height: 16em;
  }
  #product-page-new .editorial .section-heading:nth-child(3) h1 {
    margin-bottom: 1em;
  }
  input[name="quantity"] {
    padding: 0.3em 0.75em !important;
  }
  input[type="submit"] {
    padding: 0.4em 0.75em !important;
  }
  .quantity-form {
    margin: 3em 0;
  }
  /* #product-page-new .form-item {
    margin: 1em 0;
  } */
  #product-page-new #product-spec img {
    margin-bottom: 2.8em;
  }
  #product-page-new #product-spec article:last-child {
    margin-bottom: 0;
  }
  #product-page-new .dropdown-container:last-child {
    margin-bottom: 0;
  }
  #product-page-new .grid-60-40 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media screen and (max-width: 768px) {
  #product-page-new .viewer li {
    opacity: 1;
  }
  .path-product main#wrap {
    width: 100%;
    max-width: 100% !important;
  }
  main#wrap #product-page-new main#wrap {
    max-width: 88% !important;
    width: 92%;
  }
  main#wrap #product-page-new {
    overflow-x: hidden !important;
  }
}
#dev-returns table tr {
  vertical-align: baseline;
}
#dev-returns table td p {
  margin: 0;
}

@media screen and (min-width: 1200px) {
  #dev-returns table {
    line-height: 1.5;
  }
  #dev-returns table tr {
    width: fit-content;
    display: block;
    float: left;
  }
  #dev-returns table td {
    display: block;
    margin: 0;
    padding: 0.4em 1.5em 0.4em 0;
  }
}

@media screen and (max-width: 1200px) {
  #dev-returns table td {
    padding: 0.4em 1.5em 1.2em 0;
  }
}

/* DRUPAL 10 CHANGES */
#product-page-new #edit-quantity-wrapper {
  float: left;
}

/* Styling for quantity container changes */
/*#product-page-new form div[data-drupal-selector="edit-quantity-wrapper"] {
  display: none;
}*/
#product-page-new .quantity-container,
#product-page-new .quantity-container .form-item {
  height: 100%;
}

#product-page-new #dev-returns p a strong {
  font-weight: 300;
}

/* .path-product div[role="contentinfo"] {
  color: #fff;
  background-color: #27333f;
  font-size: calc(15em / 16);
  padding: 0.6em 2em;
  border: 0;
  background-image: none;
  width: fit-content;
  max-width: 600px;
  margin: 1em auto;
  text-align: center;
}
.path-product div[role="contentinfo"] a {
  color: #fff;
  line-height: 1;
} */
