/* =========================
   Product page
========================= */

.al3-product-page {
  background: #050607;
}

/* =========================
   Hero
========================= */

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

  background-color: #111315;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

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

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

.al3-p-hero__title {
  position: relative;
  z-index: 1;
  margin: 0;

  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

/* =========================
   Content
========================= */

.al3-p-content {
  padding-top: 60px;
}

.al3-p-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 40px;
  align-items: start;
}

/* =========================
   Left content
========================= */

.al3-p-h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

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

/* Features */

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

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

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

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

/* Specs */

.al3-p-specs {
  margin-top: 16px;
  position: relative;
}

.al3-p-specs::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 230px;
  width: 1px;
  background: rgba(255,255,255,.12);
}

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

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

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

/* =========================
   Right card
========================= */

.al3-p-card {
  position: sticky;
  top: 100px;
  background: #0C0E0F;
  border-radius: 12px;
  padding: 60px 30px 36px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
}

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

.al3-p-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

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

.al3-p-card__text {
  margin: 0 0 27px;
  color: rgba(255, 255, 255, .68);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.al3-p-card__text p {
  margin: 0;
}

.al3-p-card__bottom {
  margin-top: auto;
}

.al3-p-card__price {
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 700;
  color: #DF141B;
  text-align: center;
}

.al3-p-card__price del {
  color: rgba(24,24,24,.45);
  font-weight: 500;
}

.al3-p-card__price ins {
  text-decoration: none;
}

.al3-p-card__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Buttons */

.al3-p-card__btn {
  width: 100%;
  height: 50px;
  border-radius: 8px;
  border: 0;
  background: #FFFFFF;
  color: #0C0E0F;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;

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

.al3-p-card__btn:hover {
  opacity: .92;
}

.al3-p-card__btn:active {
  transform: translateY(1px);
}

.al3-p-card__btn--red {
  background: #DF141B;
  color: #fff;
}

.al3-p-card__btn.loading {
  opacity: .65;
  pointer-events: none;
}

.al3-p-card__btn.added,
.al3-p-card__btn.ajax_add_to_cart.added {
  background: #3AAA35;
  color: #fff;
}

/* Hide WooCommerce extra View Cart link */

.al3-p-card .added_to_cart,
.al3-p-card a.added_to_cart,
.al3-p-card .wc-forward {
  display: none !important;
}

/* Optional focus */

.al3-p-card__btn:focus {
  outline: none;
}

.al3-p-card__btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(58, 170, 53, .35);
}

/* =========================
   Responsive
========================= */

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

  .al3-p-card {
    order: 1;
    position: relative;
    top: auto;
    width: 100%;
  }

  .al3-p-left {
    order: 2;
    width: 100%;
  }

  .al3-p-specs__row {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 768px) {

  .al3-p-hero__banner {
    height: 260px;
    border-radius: 16px;
  }

  .al3-p-hero__title {
    font-size: 28px;
    line-height: 32px;
  }

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

  .al3-p-features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .al3-p-specs::before {
    display: none;
  }

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

  .al3-p-specs__label {
    padding-right: 0;
    font-size: 18px;
  }

  .al3-p-specs__value {
    padding-left: 0;
  }

  .al3-p-card {
    padding: 46px 22px 28px;
  }

  .al3-p-card__buttons {
    grid-template-columns: 1fr;
  }

  .al3-p-card__btn,
  .al3-p-card .added_to_cart {
    height: 46px;
  }
}