.item_section { margin: 200px 0 60px; }
.item_box { display: flex; gap: 40px; padding: 40px 20px; box-shadow: 0 0 10px rgba(0,0,0,.1); transition: box-shadow .3s ease; }
.item_box:hover { box-shadow: 0 0 15px rgba(0,0,0,.2); }
.item_img { position: relative; display: flex; width: 30%; align-items: center; justify-content: center; }
.item_img img { max-width: 100%; }
.item_info { position: relative; display: flex; width: 70%; flex-direction: column; justify-content: space-between; }
.item_name { width: 76%; margin-bottom: 20px; font-size: 24px; font-weight: 700; line-height: 26px; }
.item_params { display: flex; flex-wrap: wrap; margin-bottom: 20px; }
.item_param_item { width: calc(50% - 10px); margin-bottom: 10px; }
.item_param_name { font-weight: 700; }
.item_param_value { margin-left: 5px; }
.item_price { margin-top: 10px; font-size: 24px; line-height: 26px; }
.item_price span { font-size: 20px; font-weight: 700; }
.item_btn { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 20px; }
.btn_red { display: inline-block; padding: 20px 40px; border: 0; border-radius: 50px; background: linear-gradient(270deg,#F55258 0%,#DA0B13 100%); color: #fff; filter: drop-shadow(0 5px 20px rgba(217,30,30,.7)); font-weight: 700; line-height: 120%; text-align: center; text-transform: uppercase; transition: .2s linear; }
.btn_red:hover { background: #DA0B13; color: #fff; filter: none; text-decoration: none; }
.item_back_btn,.item_certificate_btn { display: inline-block; padding: 15px 20px; border: 1px solid #DA0B13; border-radius: 50px; background: #fff; color: #DA0B13; font-weight: 700; text-align: center; text-transform: uppercase; transition: .2s linear; }
.item_back_btn:hover,.item_certificate_btn:hover { background: #DA0B13; color: #fff; text-decoration: none; }
.star-rating { position: absolute; top: 3px; right: 10px; display: flex; align-items: center; gap: 3px; }
.star-rating .star { display: inline-block; width: 20px; height: 20px; padding-right: 15px; background: url('/public/img/star_empty.svg') center/cover no-repeat; cursor: pointer; }
.star-rating .star.hover,.star-rating .star.active { background-image: url('/public/img/star_filled.svg'); }
.star-rating .rating-value { margin-left: 5px; color: #aaa; font-size: 17px; font-weight: 600; }
.certificates_section { scroll-margin-top: 30px; margin: 0 0 60px; }
.certificates_box { padding: 32px 40px; border: 1px solid #eee; border-radius: 8px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.06); }
.certificates_box h2 { margin: 0 0 24px; font-size: 30px; }
.certificates_list { display: grid; gap: 12px; }
.certificate_item { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 18px 20px; border-radius: 6px; background: #f5f5f5; }
.certificate_item h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.certificate_date { margin-top: 5px; color: #666; font-size: 13px; }
.certificate_links { display: flex; flex: 0 0 auto; gap: 10px; }
.certificate_links a { padding: 10px 16px; border: 1px solid #DA0B13; border-radius: 24px; color: #DA0B13; font-weight: 700; white-space: nowrap; }
.certificate_links a:hover { background: #DA0B13; color: #fff; text-decoration: none; }
.good_item_link,.good_item_link:hover { color: #000; text-decoration: none; }

@media screen and (max-width: 576px) {
    .item_section { margin: 73px 0 40px; }
    .item_box { flex-direction: column; gap: 24px; padding: 30px 20px; }
    .item_img,.item_info,.item_name,.item_param_item { width: 100%; }
    .item_btn { flex-direction: column; gap: 12px; }
    .item_btn a { width: 100%; }
    .item_certificate_btn { order: 2; }
    .item_back_btn { order: 3; margin-left: 0; }
    .star-rating { top: -31px; right: -8px; }
    .certificates_box { padding: 24px 18px; }
    .certificates_box h2 { font-size: 25px; }
    .certificate_item { align-items: stretch; flex-direction: column; gap: 14px; }
    .certificate_links { flex-direction: column; }
    .certificate_links a { text-align: center; }
}
