/* Product Buy Box Module */

.buybox {
  padding: clamp(20px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 30px 70px -52px rgba(20, 25, 21, .5);
}

.product-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--cta);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.product-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--cta);
}

.buybox h1 {
  max-width: 600px;
  margin: 0 0 10px;
  color: var(--anthracite);
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--gray-500);
  font-size: 11.5px;
}

.product-rating__stars {
  color: #9a7a35;
  letter-spacing: .12em;
}

.product-rating a {
  color: var(--gray-700);
  font-weight: 600;
  border-bottom: 1px solid var(--gray-300);
}

.meta-row {
  margin-bottom: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.price-block {
  position: relative;
  margin: 0 0 14px;
  padding: 12px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.price-caption {
  display: block;
  margin-bottom: 7px;
  color: var(--gray-500);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.price-block .price {
  color: var(--anthracite);
  font-size: clamp(30px, 3.5vw, 40px);
  font-weight: 750;
  letter-spacing: -.035em;
}

.price-block del {
  margin-left: 8px;
  color: var(--gray-500);
  font-size: 14px;
}

.save {
  margin-left: 10px;
  padding: 5px 9px;
  border-radius: var(--radius);
  background: var(--cta-tint);
  color: var(--cta);
}

.option-label {
  margin-bottom: 11px;
  font-size: 11px;
  letter-spacing: .1em;
}

.color-options {
  gap: 9px;
  margin-bottom: 14px;
}

.color-btn {
  min-height: 42px;
  padding: 0 14px;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.color-btn:hover {
  transform: translateY(-1px);
  border-color: var(--gray-500);
}

.color-btn.active {
  border-color: var(--cta);
  color: var(--cta);
  box-shadow: inset 0 0 0 1px var(--cta);
}

.purchase-row,
.qty-row {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.qty {
  height: 52px;
  grid-template-columns: 38px 1fr 38px;
}

.qty button {
  background: var(--gray-50);
  transition: background .2s ease;
}

.qty button:hover {
  background: var(--gray-100);
}

.purchase-row .add {
  height: 52px !important;
  font-size: 12px;
  letter-spacing: .04em;
  box-shadow: 0 16px 28px -18px rgba(45, 63, 52, .8);
}

.buy-actions {
  grid-template-columns: 1fr 52px;
  gap: 10px;
  margin-bottom: 10px;
}

.buy-actions .btn {
  min-height: 50px;
}

.icon-square {
  width: 52px;
  height: 50px;
  font-size: 22px;
}

.product-includes {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--gray-50);
  transition: border-color .25s ease, box-shadow .3s ease, transform .3s ease, background .3s ease;
}

.product-includes:hover {
  transform: translateY(-2px);
  border-color: var(--gray-300);
  background: var(--white);
  box-shadow: 0 20px 40px -30px rgba(20, 24, 21, .45);
}

.product-includes__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cta-tint);
  color: var(--cta);
  transition: transform .35s cubic-bezier(.22,1,.36,1), background .3s ease;
}

.product-includes:hover .product-includes__icon {
  transform: scale(1.08) rotate(-4deg);
  background: var(--cta);
  color: #fff;
}

.product-includes svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.product-includes strong {
  display: block;
  margin-bottom: 3px;
  color: var(--anthracite);
  font-size: 12px;
}

.product-includes p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.purchase-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.purchase-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  height: 100%;
  padding: 16px 10px;
  background: var(--white);
  text-align: center;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}

.purchase-benefit:hover {
  z-index: 1;
  transform: translateY(-2px);
  background: var(--gray-50);
  box-shadow: 0 20px 40px -30px rgba(20, 24, 21, .45);
}

.purchase-benefit__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 9px;
  border-radius: 50%;
  background: var(--cta-tint);
  color: var(--cta);
  transition: transform .35s cubic-bezier(.22,1,.36,1), background .3s ease;
}

.purchase-benefit:hover .purchase-benefit__icon {
  transform: scale(1.1) rotate(-4deg);
  background: var(--cta);
  color: #fff;
}

.purchase-benefit svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.purchase-benefit b {
  display: block;
  margin-bottom: 2px;
  color: var(--anthracite);
  font-size: 10.5px;
}

.purchase-benefit__desc {
  display: block;
  margin-top: auto;
  padding-top: 4px;
  color: var(--gray-500);
  font-size: 9.5px;
  line-height: 1.4;
}

@media (max-width: 560px) {
  .buybox {
    padding: 23px 18px;
  }

  .buybox h1 {
    font-size: 28px;
  }

  .purchase-row,
  .qty-row {
    grid-template-columns: 104px 1fr;
  }

  .purchase-benefits {
    grid-template-columns: 1fr;
  }

  .purchase-benefit {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0 12px;
    text-align: left;
    align-items: center;
  }

  .purchase-benefit__icon {
    grid-row: 1 / 3;
    margin: 0;
  }
}
