// Product Page
.product-single-container {
  margin-bottom: 3rem;
}

.product-single-details {
  margin-top: -.6rem;

  .product-title {
    margin-bottom: 1.1rem;
    color: #21293c;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -.01em;
  }

  .price-box {
    margin-bottom: 2.4rem;
    color: $primary-color;
    font-weight: 700;
  }

  .product-price {
    font-size: 2.1rem;
  }

  .old-price {
    font-size: 1.6rem;
    font-weight: 600;

    & + .product-price {
      margin-left: 1rem;
    }
  }

  .ratings-container {
    margin-bottom: 2.1rem;

    .product-ratings, 
    .ratings {
      font-size: 1.4rem;
    }

    .product-ratings {
      height: 14px;
    }
  }

  .rating-link {
    margin-left: 1rem;
    color: #90939a;
    font-weight: 500;
    letter-spacing: .025em;
  }

  .product-desc {
    margin-bottom: 2.7rem;
    padding-bottom: 2.7rem;
    border-bottom: 1px solid #dae2e6;
    font-size: 1.4rem;
    letter-spacing: .005em;
    line-height: 1.92;

    // p {
    //   max-width: 360px;
    // }
  }
  
  .product-action {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-bottom: 3.1rem;
  }
  
  .sticky-header {
    height: auto;
    
    .sticky-detail {
      display: -ms-flexbox;
      display: flex;
      -ms-flex-direction: row;
      flex-direction: row;
      -ms-flex-align: center;
      align-items: center;
    }
    
    .product-title {
      margin-right: 2rem;
      margin-bottom: 0;
      color: #777;
      font-size: 16px;
      font-weight: 600;
    }
    
    .price-box {
      margin-top: 1rem;
      margin-bottom: 0;
      padding: 0;
      border: 0;
      color: #2b2b2d;
    }
    
    .ratings-container {
      margin-bottom: 3.2rem;
    }
  }

  .sticky-header .category-wrapper {
    display: none;
  }

  .sticky-header.fixed-nav .category-wrapper {
    display: flex;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .product-single-qty, .paction {
    margin: 0 1rem 1rem 0;
  }

  .paction {
    height: 43px;
  }
}

.product-both-info {
  padding-top: 3rem;

  .product-single-details {
    margin-top: 0;
    
    .product-desc {
      border-bottom: 0;
    }
  }
}

.product-single-gallery {
  a {
    display: block;
  }

  img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
  }

  .owl-theme .owl-nav,
  .owl-theme .owl-nav {
    color: #000;
    font-size: 32px;
  }
  
  .owl-prev,
  .owl-next {
    margin: 0 2rem !important;
    transition: all .5s;
    opacity: 0;
  }

}

.prod-thumbnail {
  padding: .5rem 1rem;

  img {
    width: 100%;
    cursor: pointer;
  }

  > div {
    padding: .5rem;
  }

  .active img, img:hover {
    border: 2px solid #21293c;
  }
}

.transparent-dots {
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  top: 1rem;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 80px;
  margin: 0;
  padding: 0;
  opacity: .5;
  z-index: 99;

  .active img, img:hover {
    border: 1px solid $primary-color;
  }
}

.product-slider-container {
  position: relative;
}

.prod-full-screen {
  position: absolute;
  right: 2rem;
  bottom: 1.7rem;
  transition: all .5s;
  outline: none;
  opacity: 0;
  z-index: 1;

  i {
    color: #000;
    font-size: 1.4rem;
    cursor: pointer;
  }
}

.product-item:hover {
  .prod-full-screen,
  .owl-prev,
  .owl-next {
    opacity: 1;
  }
}

.prod-thumbnail {
  img {
    display: block;
  }
  .owl-dot {
    box-sizing: border-box;
  }
}

.single-info-list {
  margin-bottom: 2rem;
  padding: 0;
  font-size: 1.4rem;
  line-height: 1.5;
  text-transform: uppercase;

  li {
    margin-bottom: 1rem;
    color: #7b858a;
    letter-spacing: .005em;

    strong {
      color: #4c4c4c;
    }
  }
}

.product-single-qty {
  max-width: 104px;
  max-height: 43px;

  .bootstrap-touchspin {
    &.input-group{
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
      -ms-flex-align: stretch;
      align-items: stretch;
      max-width: 100%;
      max-height: 43px;
      padding-right: 0;
    }

    .form-control {
      max-width: none;
      height: 43px;
      padding: 1rem .2rem;
      color: #21293c;
      font-size: 1.5rem;
      letter-spacing: .05em;
      box-shadow: none;
    }

    .form-control,
    .form-control:not(:focus) {
      border-color: #dae2e6;
    }
  }

  .horizontal-quantity {
    height: 43px;
  }

  .btn {
    display: -ms-inline-flexbox;
    display: inline-flex;
    position: relative;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-width: 31px;
    margin: 0;
    padding: .5rem;
    font-family: $font-family;
    font-size: 2.4rem;
    line-height: 1;
    z-index: 2;

    &.btn-outline {
      border-color: #dae2e6;
      color: #8798a1;
    }

    &.btn-down-icon::after,
    &.btn-up-icon::before,
    &.btn-up-icon::after {
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      width: 1.1rem;
      height: .1rem;
      margin-left: -.55rem;
      background-color: #8798a1;
      content: '';
    }

    &.btn-up-icon::before, {
      transform: rotate(90deg);
    }
  }
}

.product-filters-container {
  margin-bottom: 4.5rem;
}

.product-single-filter {
  display: flex;
  align-items: center;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid #dae2e6;

  & + .product-single-filter  {
    margin-top: 2.2rem;
  }

  label {
    color: #21293c;
    font: 600 1.5rem/1.1 $font-family;
    letter-spacing: .005em;
    text-transform: uppercase;
    margin-right: 1.3rem;
    margin-bottom: 1rem;
  }

  .config-swatch-list {
    li {
      margin-bottom: 0;
    }
  }

  .config-size-list li {
    margin-right: .7rem;
    margin-bottom: 1rem;

    a {
      min-width: 3rem;
      height: 3rem;
      border: 1px solid #dae2e6;
      background-color: #f4f4f4;
      color: #21293c;
      font-size: 1.5rem;
      font-weight: 600;
      line-height: 2.8rem;

      &:hover,
      &:focus {
        border-color: $primary-color;
        background-color: #f4f4f4;
        color: #21293c;
      }
    }

    &.active a {
      border-color: $primary-color;
      outline: none;
      background-color: #f4f4f4;
      color: #21293c;
    }
  }

  &.product-single-qty {
    max-width: 148px;
    max-height: 7.5rem;
    border-bottom: 0;
  }
}

.product-single-share {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;

  label {
    margin-right: 1.2rem;
    margin-bottom: .5rem;
    color: #7b858a;
    font: 600 1.4rem/1.1 $font-family;
    letter-spacing: .005em;
    text-transform: uppercase;
  }
}

.product-single-tabs {
  margin-bottom: 5.5rem;

  .tab-pane {
    padding-top: 3.5rem;
    color: #7b858a;
    line-height: 1.92;
  }
}

.scrolling-box .tab-pane + .tab-pane {
  margin-top: 3.5rem;
  border-top: 2px solid #dae2e6;
}

.product-desc-content {
  p {
    margin-bottom: 2.2rem;
  }

  ul,
  ol {
    margin-bottom: 2.2rem;
    padding-left: 4rem;

    li {
      margin-bottom: .4rem;

      i {
        margin-right: 2rem;
        color: #21293c;
        font-size: 1.5rem;

        &::before {
          margin: 0;
        }
      }
    }
  }

  img.float-right,
  img.float-left {
    max-width: 50%;
  }

  .feature-box {
    i {
      font-size: 5rem;
      line-height: 1;
      margin-bottom: 2.2rem;
    }

    h3 {
      letter-spacing: 0;
      margin-bottom: 2rem;
      font-weight: 700;
      font-size: 14px;
      line-height: 22px;
      color: #2b2b2d;
      background-color: white;
    }

    p {
      max-width: none;
    }
  }
}

.product-tags-content {
  h4 {
    margin: 0 0 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  form {
    margin-bottom: 2rem;
  }

  .form-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: stretch;
    align-items: stretch;
  }

  .form-control{
    margin-right: 10px;
  }

  .btn {
    padding-top: .5rem;
    padding-bottom: .5rem;
  }
}

.collateral-box {
  ul,ol {
    margin-top: -2rem;
    margin-bottom: 2.5rem;

    li {
      padding: 2rem 0 1rem;
      border-bottom: 1px solid #dae2e6;
    }
  }
}

.ratings-table {
  width: 100%;
  margin: 20px 0 40px;
  border: 1px solid #dae2e6;
  border-spacing: 0;
  font-size: 100%;
  empty-cells: show;

  thead th,
  tbody td {
    border-right: 1px solid #dae2e6;
    border-bottom: 1px solid #dae2e6;
    line-height: 1.3;

    @media (max-width: 600px) {
      padding-left:5px;
      padding-right:5px;
    }

  }

  input[type=checkbox], input[type=radio] {
    margin: 0 auto;
  }

  thead {
    @media (max-width: 600px) {
      display:none;
    }

    th {
      padding: .8rem 1.5rem;
      background-color: #f6f6f6;
      color: #777;
      font-size: 1.1rem;
      font-weight: 600;
      text-align: center;
      text-transform: uppercase;
      white-space: nowrap;
      vertical-align: middle;
    }
  }

  tbody {
    td {
      padding: 1.5rem 1rem;
      font-size: 1.3rem;
      text-align: center;
      vertical-align: middle;

      &:first-child {
        font-weight: 700;
        text-align: left;
      }
    }
  }
}

.add-product-review {
  h3 {
    font-size: 1.8rem;
  }

  form {
    margin-bottom: 0;
  }
}

// Product Sidebar
.sidebar-product {
  margin-bottom: 2.8rem;

  .widget:not(:last-child) {
    margin-bottom: 2.5rem;

    &.widget-banner {
      margin-bottom: 4.6rem;
    }

    &.widget-brand {
      margin-bottom: 2.5rem;
    }
  }

  .widget-title {
    margin: 0 0 2.3rem;
    color: #21293c;
    font: 600 1.5rem/1.1 $font-family;
    text-transform: uppercase;
  }
}

.widget-brand {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-align: center;
  align-items: center;
  margin-top: .5rem;

  a {
    display: block;
  }
}

.widget-info {
  ul {
    margin: 0;
  }

  li {
    @include clearfix;
    padding-top: 1.8rem;
    padding-bottom: 2rem;
    border-top: 1px solid #dee5e8;
    line-height: 1;
  }

  i {
    min-width: 40px;
    margin-top: .3rem;
    margin-right: 1.4rem;
    margin-left: .7rem;
    float: left;
    color: $primary-color;
    font-size: 4rem;
    line-height: 1;

    &::before {
      margin: 0;
    }
  }

  h4 {
    margin-bottom: 0;
    color: #6b7a83;
    font: 600 1.4rem / 1.5 $font-family;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
  }
}

.widget-banner {
  a {
    display: block;
  }

  img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
  }
}

.featured-section {
  padding-top: 3.8rem;
  padding-bottom: 6rem;
  background-color: #f4f4f4;

  &.bg-white {
    background-color: #fff;
  }

  &.pt-sm {
    padding-top: 2.5rem;
  }
}

.promote {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: justify;
  justify-content: space-between;

  li {
    border-top: 0;
  }

  h4 {
    color: #1d2127;
    font-weight: 400;
    letter-spacing: 0;
  }

  i {
    margin: .3rem .7rem;
  }
}

.product-list .product-item {
  position: relative;
  margin-bottom: .4rem;
}

.product-list.product-single-grid {
  margin-bottom: 3.6rem;
}

@include mq('xl') {
  .widget-info {
    i {
      font-size: 4rem;
      min-width: 40px;
    }
  }

  .promote {
    justify-content: flex-start;
    
    li + li {
      margin-left: 2rem;
    }
  }
}

@include mq('lg') {
  .product-single-container {
    .col-lg-7 {
      -ms-flex: 0 0 55.56%;
      flex: 0 0 55.56%;
      max-width: 55.56%;
    }

    .col-lg-5 {
      -ms-flex: 0 0 44.44%;
      flex: 0 0 44.44%;
      max-width: 44.44%;
    }
  }
}

@include mq('lg', 'max') {
  .product-single-gallery {
    margin-bottom: 3rem;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1434px) {
  .product-all-icons.product-action {
    .product-single-qty {
      margin-right: 50%;
      margin-bottom: 1.2rem;
    }
  }
}

@include mq('md') {
  .product-both-info .product-single-share {
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
}

@include mq('sm') {
  .promote {
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .product-both-info {
    .product-top-banner {
      display: -ms-flexbox;
      display: flex;
    }
  
    .product-single-share {
      margin-left: auto;
    }
  }
  
  .product-tags-content .form-control {
    width: 250px;
  }
}
