/* l3d – product detail form (price + add to cart) */
table.detail-parameters tbody tr th:after{display:none;}

#product-detail-form{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:#0f172a;
}

.quantity .decrease,
.quantity .increase{border-radius:15px;}

/* Availability + code table */
#product-detail-form .detail-parameters{
  width:100%;
  border-collapse:collapse;
  margin:0 0 12px;
  border:1px solid rgba(15,23,42,0.10);
  border-radius:18px;
  overflow:hidden;
  background:#ffffff;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
}

#product-detail-form .detail-parameters th,
#product-detail-form .detail-parameters td{
  padding:10px 12px;
  border-top:1px solid rgba(15,23,42,0.08);
  vertical-align:top;
}

#product-detail-form .detail-parameters tr:first-child th,
#product-detail-form .detail-parameters tr:first-child td{
  border-top:none;
}

#product-detail-form .detail-parameters th{
  width:38%;
  color:rgba(15,23,42,0.65);
  font-weight:600;
  text-align:left;
}

#product-detail-form .detail-parameters td{
  font-weight:600;
}

#product-detail-form .detail-parameters .availability-amount{
  color:rgba(15,23,42,0.65);
  font-weight:600;
  margin-left:6px;
}

/* Price + cart block container */
#product-detail-form .p-to-cart-block{
  border:1px solid rgba(15,23,42,0.10);
  border-radius:20px;
  background:#ffffff;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
  padding:14px;
}

/* Price layout */
#product-detail-form .p-final-price-wrapper{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:12px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(15,23,42,0.08);
}

#product-detail-form .price-final{
  font-size:26px;
  line-height:1.15;
  font-weight:800;
  color:#0f172a;
}

#product-detail-form .price-additional,
#product-detail-form .price-measure{
  font-size:13px;
  color:rgba(15,23,42,0.65);
  font-weight:600;
}

/* Quantity + button row */
#product-detail-form .add-to-cart{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:10px;
}

#product-detail-form .quantity{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(15,23,42,0.10);
  background:#f8fafc;
  border-radius:14px;
  padding:6px;
}

#product-detail-form .quantity label{margin:0;}

#product-detail-form input.amount{
  width:72px;
  height:38px;
  border-radius:12px;
  padding:0 10px;
  color:#0f172a;
  font-weight:700;
  outline:none;
}

#product-detail-form input.amount:focus{
  border-color:rgba(15,23,42,0.28);
  box-shadow:0 0 0 4px rgba(15,23,42,0.08);
}

/* Primary add to cart button */
#product-detail-form .add-to-cart-button.btn.btn-conversion{
  width:100%;
  margin-top:12px;
  height:48px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,0.14);
  background:#0f172a;
  color:#ffffff;
  font-weight:800;
  letter-spacing:.01em;
  cursor:pointer;
  transition:transform .05s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow:0 10px 22px rgba(0,0,0,0.12);
}

#product-detail-form .add-to-cart-button.btn.btn-conversion:hover{
  filter:brightness(1.06);
  box-shadow:0 14px 30px rgba(0,0,0,0.16);
}

#product-detail-form .add-to-cart-button.btn.btn-conversion:active{
  transform:translateY(1px);
}

#product-detail-form .add-to-cart-button.btn.btn-conversion:focus{
  outline:none;
  box-shadow:0 0 0 4px rgba(15,23,42,0.10), 0 10px 22px rgba(0,0,0,0.12);
}

/* Optional: spacing for moved actions */
#product-detail-form .l3d-cart-actions{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(15,23,42,0.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

/* Responsive */
@media (max-width:740px){
  #product-detail-form .detail-parameters th{width:auto;}
  #product-detail-form input.amount{width:64px;}
}