/* Product page tabs only. Keep local to the product layout. */

.aw-product-layout .aw-product-tabs-wrap {
  margin-top: 28px;
}

.aw-product-layout #productTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 8px 0;
  border: 1px solid rgba(255,255,255,.08);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, rgba(30,31,35,.98) 0%, rgba(18,19,23,.98) 100%);
  box-shadow: 0 12px 26px rgba(0,0,0,.16);
}

.aw-product-layout #productTabs.nav,
.aw-product-layout #productTabs.nav-tabs {
  border-bottom: 0;
  box-shadow: none;
}

.aw-product-layout #productTabs > li,
.aw-product-layout #productTabs > .nav-item {
  margin: 0;
}

.aw-product-layout #productTabs .nav-link {
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  box-shadow: none;
  color: rgba(255,255,255,.74);
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
}

.aw-product-layout #productTabs .nav-link:hover,
.aw-product-layout #productTabs .nav-link:focus {
  color: #fff;
  border-color: rgba(246,123,14,.4);
  background: rgba(246,123,14,.08);
}

.aw-product-layout #productTabs .nav-link.active,
.aw-product-layout #productTabs .nav-link.active:hover {
  border-color: rgba(246,123,14,.5);
  background: linear-gradient(180deg, rgba(246,123,14,.18) 0%, rgba(255,255,255,.03) 100%);
  color: #fff;
}

.aw-product-layout #productTabs .nav-link.active::after,
.aw-product-layout #productTabs .nav-link.active:hover::after {
  display: none;
  content: none;
}

.aw-product-layout #productTabContent {
  margin-top: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(26,28,32,.98) 0%, rgba(19,21,24,.98) 100%);
  overflow: hidden;
}

.aw-product-layout #productTabContent > .tab-pane {
  color: #d8d8d8;
  background: transparent;
}

.aw-product-layout #productTabContent > .tab-pane,
.aw-product-layout #productTabContent > .tab-pane * {
  box-sizing: border-box;
}

.aw-product-layout #productTabContent,
.aw-product-layout #productTabContent .tab-pane,
.aw-product-layout #productTabContent .tab-pane > div,
.aw-product-layout #productTabContent .tab-pane > section,
.aw-product-layout #productTabContent .tab-pane > article {
  background: linear-gradient(180deg, rgba(26,28,32,.98) 0%, rgba(19,21,24,.98) 100%) !important;
}

.aw-product-layout #productTabContent [style*="background:#fff"],
.aw-product-layout #productTabContent [style*="background: #fff"],
.aw-product-layout #productTabContent [style*="background-color:#fff"],
.aw-product-layout #productTabContent [style*="background-color: #fff"],
.aw-product-layout #productTabContent [style*="background:#ffffff"],
.aw-product-layout #productTabContent [style*="background: #ffffff"],
.aw-product-layout #productTabContent [style*="background-color:#ffffff"],
.aw-product-layout #productTabContent [style*="background-color: #ffffff"] {
  background: transparent !important;
}

.aw-product-layout #productTabContent .nav,
.aw-product-layout #productTabContent .nav-tabs {
  border-bottom: 0;
}

.aw-product-layout #productTabContent table,
.aw-product-layout #productTabContent table td,
.aw-product-layout #productTabContent table th {
  background: transparent !important;
}

.aw-product-layout .aw-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(246,123,14,.16);
  color: #f8a355;
  font-size: 12px;
}

.aw-product-layout #productTabContent .extra_fields_el {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.aw-product-layout #productTabContent .extra_fields_name {
  font-weight: 700;
  color: rgba(255,255,255,.56);
}

.aw-product-layout #productTabContent .extra_fields_value {
  color: rgba(255,255,255,.82);
}

.aw-product-layout .aw-product-description,
.aw-product-layout .aw-product-description .table-scroll,
.aw-product-layout .aw-product-description .table-scroll-table,
.aw-product-layout .aw-product-files-pane,
.aw-product-layout .aw-product-specs-table-wrap {
  background: transparent !important;
}

.aw-product-layout .aw-product-description,
.aw-product-layout .aw-product-description p,
.aw-product-layout .aw-product-description div,
.aw-product-layout .aw-product-description span,
.aw-product-layout .aw-product-description li,
.aw-product-layout .aw-product-description td,
.aw-product-layout .aw-product-description th {
  color: rgba(255,255,255,.82) !important;
}

.aw-product-layout .aw-product-description > *:last-child,
.aw-product-layout .review_item:last-child {
  margin-bottom: 0;
}

.aw-product-layout .aw-product-description [style],
.aw-product-layout .aw-product-description [bgcolor],
.aw-product-layout #productTabContent [style*="background"],
.aw-product-layout #productTabContent [style*="background-color"] {
  background: transparent !important;
}

.aw-product-layout .aw-product-description img {
  max-width: 100%;
  height: auto;
  background: transparent !important;
}

.aw-product-layout .aw-product-description h1,
.aw-product-layout .aw-product-description h2,
.aw-product-layout .aw-product-description h3,
.aw-product-layout .aw-product-description h4,
.aw-product-layout .aw-product-description h5,
.aw-product-layout .aw-product-description h6 {
  color: #fff !important;
}

.aw-product-layout .aw-product-description a {
  color: var(--aw-accent, #E37111) !important;
}

.aw-product-layout .aw-product-vendor-note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.54);
  font-size: 13px;
}

.aw-product-layout .aw-product-specs-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.aw-product-layout .aw-product-specs-table th,
.aw-product-layout .aw-product-specs-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  vertical-align: top;
  background: transparent !important;
}

.aw-product-layout .aw-product-specs-table th {
  width: 34%;
  color: rgba(255,255,255,.52);
  font-size: 13px;
  font-weight: 600;
}

.aw-product-layout .aw-product-specs-table td,
.aw-product-layout .aw-product-specs-table td * {
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.aw-product-layout .list_product_demo table {
  width: 100%;
  border-collapse: collapse;
  background: transparent !important;
}

.aw-product-layout .list_product_demo tr {
  display: table-row;
}

.aw-product-layout .list_product_demo td {
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.76);
  background: transparent !important;
}

.aw-product-layout .list_product_demo td.download a {
  color: #f67b0e;
  font-weight: 700;
  text-decoration: none;
}

.aw-product-layout .review_header,
.aw-product-layout .review {
  display: block;
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.aw-product-layout .review_item {
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}

.aw-product-layout .review_user {
  color: #fff;
  font-weight: 700;
}

.aw-product-layout .review_time,
.aw-product-layout .review_text_not_login {
  color: rgba(255,255,255,.54);
}

.aw-product-layout .review_text {
  margin: 10px 0 0;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
}

.aw-product-layout #jshop_review_write .row {
  margin-bottom: 12px;
}

.aw-product-layout #jshop_review_write input,
.aw-product-layout #jshop_review_write textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(10,10,10,.28);
  color: #fff;
  padding: 10px 12px;
}

@media (max-width: 767.98px) {
  .aw-product-layout #productTabContent {
    padding: 16px;
    border-radius: 16px;
  }

  .aw-product-layout #productTabs {
    padding: 4px 6px 0;
  }

  .aw-product-layout #productTabs .nav-link {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .aw-product-layout .aw-product-specs-table th,
  .aw-product-layout .aw-product-specs-table td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .aw-product-layout .aw-product-specs-table th {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .aw-product-layout .aw-product-specs-table td {
    padding-top: 4px;
  }
}
