/* =========================
   Product page (single product)
========================= */

.product-page{
  background: #f3f3f3;
}

/* HERO */
.p-hero{
  padding: 24px 0 0;
}

.p-hero__banner{
  height: 360px;
  border-radius: 22px;
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.p-hero__banner::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.25);
}

.p-hero__title{
  position: relative;
  margin: 0;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

/* CONTENT */
.p-content{
  padding-top: 60px;
}

.p-grid{
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  align-items: start;
}

/* LEFT */
.p-h2{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #181818;
}

.p-h2--mt{
  margin-top: 28px;
}

/* FEATURES 2 columns */
.p-features{
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.p-features__col{
  margin: 0;
  padding-left: 16px;
  color: rgba(24,24,24,.65);
  font-size: 16px;
  line-height: 1.65;
}

.p-features__col li{
  margin: 0 0 12px 0;
}

.p-features__col li::marker{
  color: #D12329;
}

/* SPECS (2 columns list) */
.p-specs{
  margin-top: 16px;
  position: relative;
}

.p-specs::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 230px;
  width: 1px;
  background: #E5E5E5;
}

.p-specs__row{
  display: grid;
  grid-template-columns: 200px 1fr;
  column-gap: 30px;
  padding: 6px 0;
}

.p-specs__label{
  color: rgba(24,24,24,.55);
  font-size: 16px;
  line-height: 1.6;
  padding-right: 30px;
}

.p-specs__value{
  color: rgba(24,24,24,.8);
  font-size: 16px;
  line-height: 1.6;
  padding-left: 30px;
  border-left: 0;
}

/* RIGHT CARD */
.p-card{
  background: #fff;
  border-radius: 12px;
  padding: 60px 30px 60px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
}

.p-card__img{
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.p-card__img img{
  max-height: 140px;
  width: auto;
  max-width: 100%;
  display: block;
}

.p-card__title{
  margin-top: 26px;
  padding-bottom: 27px;
  margin-bottom: 27px;
  border-bottom: 1px solid #E5E5E5;
  font-size: 24px;
  font-weight: 700;
  color: #181818;
  text-align: center;
}

.p-card__text{
  margin-top: 0;
  color: rgba(24,24,24,.6);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 27px;
}

.p-card__bottom{
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.p-card__price{
  font-size: 24px;
  font-weight: 700;
  color: #181818;
}

/* ORDER button */
.p-card__btn{
  width: 140px;
  height: 40px;
  border-radius: 8px;
  background: #D12329;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;

  transition: opacity .2s ease, transform .15s ease;
}

.p-card__btn:hover{ opacity: .92; }
.p-card__btn:active{ transform: translateY(1px); }

/* RESPONSIVE */
@media (max-width: 992px){
  .p-grid{
    grid-template-columns: 1fr;
  }
  .p-card{
    position: relative;
    top: auto;
  }
  .p-specs__row{
    grid-template-columns: 160px 1fr;
  }
}


@media (max-width: 992px){
  .p-grid{
    display: flex;
    flex-direction: column;
  }

  .p-card{ order: 1; position: relative; top: auto; }
  .p-left{ order: 2; }
}

@media (max-width: 768px){
  .p-hero__banner{ height: 260px; }
  .p-hero__title{ font-size: 22px; }

  .p-content{ padding-top: 32px; }

  .p-features{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .p-specs::before{ display: none; }
  
  .p-specs__label{ 
  
  padding-right: 0; 
  font-size: 18px;
  }
  
  .p-specs__value{ padding-left: 0; }

  .p-specs__row{
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }
}
