/* Product detail only. Preserve the component's basket and gallery bindings. */
.bx-catalog-element.product-detail-redesign { --detail-blue:#405daf; color:#303030; font-size:16px; }
.bx-catalog-element.product-detail-redesign > .container-fluid {
 display:grid; grid-template-columns:minmax(280px,500px) minmax(0,1fr);
 grid-template-rows:repeat(6, min-content) 1fr auto auto auto;
 column-gap:60px; row-gap:0; padding:40px 0 0; align-items:start;
}
.bx-catalog-element.product-detail-redesign > .container-fluid::before,
.bx-catalog-element.product-detail-redesign > .container-fluid::after { display:none; }
.bx-catalog-element.product-detail-redesign .right_b,
.bx-catalog-element.product-detail-redesign .prop_element { display:contents; }
.bx-catalog-element.product-detail-redesign .left_b { grid-column:1; grid-row:1 / 8; margin:0; }
.bx-catalog-element.product-detail-redesign .detail-status { grid-column:2; grid-row:1; display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; font-size:12px; }
.detail-status > span { padding:5px 10px; border-radius:20px; background:#edf0f7; }
.detail-status .is-available { background:#ebf8f2; color:#24996b; }
.bx-catalog-element.product-detail-redesign .name_element { grid-column:2; grid-row:2; margin:0 0 12px; text-align:left; }
.bx-catalog-element.product-detail-redesign .name_element .bx-title { font-size:32px; line-height:1.2; font-weight:700; color:#303030; }
.bx-catalog-element.product-detail-redesign .product-detail-meta { grid-column:2; grid-row:3; min-height:0; margin:0 0 24px; }
.bx-catalog-element.product-detail-redesign .avtor_element { padding:0; min-height:0; background:none; font-size:21px; font-weight:400; color:#303030; flex-wrap:wrap; gap:5px; }
.bx-catalog-element.product-detail-redesign .avtor_element::before { content:'Автор:'; background:none; width:auto; height:auto; font-weight:600; }
.bx-catalog-element.product-detail-redesign .avtor_element a { color:inherit; }
.bx-catalog-element.product-detail-redesign .product-detail-comments-pill { display:none; }
.bx-catalog-element.product-detail-redesign .ebook_element { grid-column:2; grid-row:4; margin:0 0 10px; }
.bx-catalog-element.product-detail-redesign .complect_element { grid-column:2; grid-row:5; margin:0 0 10px; }
.bx-catalog-element.product-detail-redesign .prop { grid-column:2; grid-row:6; width:100%; max-width:max-content; min-height:0; padding:22px; background:#f8faff; border:1px solid #e0e6f6; border-radius:18px; clip-path:none; }
.bx-catalog-element.product-detail-redesign .prop::before,
.bx-catalog-element.product-detail-redesign .price > svg { display:none; }
.bx-catalog-element.product-detail-redesign .price { display:flex; align-items:center; gap:12px; width:100%; background:none; padding:0; margin:0; position:static; }
.bx-catalog-element.product-detail-redesign .b_p_l { display:flex; flex:1; align-items:center; gap:18px; width:auto; padding:0; float:none; }
.bx-catalog-element.product-detail-redesign .line_p_1 { display:block; min-height:0; margin:0; width:auto; }
.bx-catalog-element.product-detail-redesign .line_p_1 .price_r_b,
.bx-catalog-element.product-detail-redesign .item_economy_price,
.bx-catalog-element.product-detail-redesign .product-detail-discount-badge { display:none; }
.bx-catalog-element.product-detail-redesign .line_p_1 .price_l_b { width:auto; }
.bx-catalog-element.product-detail-redesign .line_p_1 .product-item-detail-info-container { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:0; justify-content:flex-start; }
.bx-catalog-element.product-detail-redesign .product-item-detail-price-current { order:-1; font-size:28px; font-weight:700; color:#ff3b46; white-space:nowrap; }
.bx-catalog-element.product-detail-redesign .product-item-detail-price-old { color:#8395ba; font-size:16px; }
.bx-catalog-element.product-detail-redesign .line_p_2 { display:flex; flex:1; gap:12px; align-items:center; margin:0; }
.bx-catalog-element.product-detail-redesign .line_p_2 > .price_l_b { width:auto; flex:none; }
.bx-catalog-element.product-detail-redesign .line_p_2 > .price_r_b { width:285px;  }
.bx-catalog-element.product-detail-redesign .count-container { margin:0; }
.bx-catalog-element.product-detail-redesign .count-container > .product-item-detail-info-container-title { display:none; }
.bx-catalog-element.product-detail-redesign .product-item-amount-field-container { display:flex; width:78px; height:36px; min-height:36px; border:1px solid #e0e6f6; border-radius:24px; background:#fff; padding:0; }
.bx-catalog-element.product-detail-redesign .product-item-amount-field,
.bx-catalog-element.product-detail-redesign .product-item-amount-field-btn-plus,
.bx-catalog-element.product-detail-redesign .product-item-amount-field-btn-minus { width:26px; min-width:0; height:34px; min-height:34px; line-height:34px; padding:0; font-size:14px; color:#303030; background-size:10px; }
.bx-catalog-element.product-detail-redesign .basket_button .product-item-detail-info-container { margin:0; }
.bx-catalog-element.product-detail-redesign .product-item-detail-buy-button { display:flex; align-items:center; justify-content:center; width:100%; min-width:100px; height:42px; min-height:42px; padding:10px 20px; border-radius:24px; background:#405daf; color:#fff; font-size:16px; }
.bx-catalog-element.product-detail-redesign .b_p_r { width:auto; float:none; padding:0; margin:0; }
.bx-catalog-element.product-detail-redesign .detail-highlights { grid-column:2; grid-row:7; display:grid; gap:12px; max-width:340px; margin-top:30px; }
.detail-highlights > div { display:flex; align-items:center; gap:22px; padding:15px 22px; border:1px solid #e0e6f6; border-radius:28px; background:#f8faff; font-size:16px; color:#555; }
.bx-catalog-element.product-detail-redesign .detail-highlights__icon { display:block; flex:0 0 24px; width:24px; height:24px; margin:0; object-fit:contain; }
/* The price may receive an inline font size from runtime scripts. */
.bx-catalog-element.product-detail-redesign .prop .product-item-detail-price-current { font-size:28px !important; }
.bx-catalog-element.product-detail-redesign .product-detail-description { grid-column:1 / -1; grid-row:8; margin:60px 0 0; padding:0; border:0; }
.bx-catalog-element.product-detail-redesign .product-detail-description h2,
.bx-catalog-element.product-detail-redesign .prop_block h2,
.bx-catalog-element.product-detail-redesign .product-detail-reviews h2 { margin:0 0 20px; font-size:23px; line-height:1.3; color:#303030; font-weight:700; }
.bx-catalog-element.product-detail-redesign .product-detail-description__content.content_detail { max-height:180px; font-size:17px !important; line-height:1.75; color:#606060; font-family:inherit; }
.bx-catalog-element.product-detail-redesign .product-detail-description__content p { margin:0 0 14px; }
.bx-catalog-element.product-detail-redesign .product-detail-description.is-expanded .product-detail-description__content { max-height:none; }
.bx-catalog-element.product-detail-redesign .product-detail-description__toggle { border:1px solid #ddd; border-radius:22px; padding:7px 16px; margin-top:12px; font-size:13px; color:#555; }
.bx-catalog-element.product-detail-redesign .prop_block { grid-column:1 / -1; grid-row:9; margin:40px 0 0; padding:0; }
.bx-catalog-element.product-detail-redesign .product-item-detail-properties { display:grid; grid-template-columns:1fr 1fr; border:1px solid #e0e6f6; border-radius:12px; overflow:hidden; padding:0; margin:0; }
.bx-catalog-element.product-detail-redesign .product-item-detail-properties dt,
.bx-catalog-element.product-detail-redesign .product-item-detail-properties dd { display:block; float:none; width:auto; min-width:0; margin:0; padding:11px 16px; border:0; border-bottom:1px solid #e0e6f6; font-size:16px; line-height:1.5; overflow-wrap:anywhere; }
.bx-catalog-element.product-detail-redesign .product-item-detail-properties dt { color:#7c90b8; font-weight:400; }
.bx-catalog-element.product-detail-redesign .product-item-detail-properties dd { color:#303030; font-weight:600; }
.bx-catalog-element.product-detail-redesign .product-item-detail-properties dt:nth-of-type(odd),
.bx-catalog-element.product-detail-redesign .product-item-detail-properties dd:nth-of-type(odd) { background:#f8faff; }
.bx-catalog-element.product-detail-redesign .product-item-detail-properties dt:last-of-type,
.bx-catalog-element.product-detail-redesign .product-item-detail-properties dd:last-of-type { border-bottom:0; }
.bx-catalog-element.product-detail-redesign .right_b > .col-lg-12 { grid-column:1 / -1; grid-row:10; }
.bx-catalog-element.product-detail-redesign .product-detail-reviews { padding:48px 0 30px; }
.bx-catalog-element.product-detail-redesign .blog-comment { margin:16px 0; }
.bx-catalog-element.product-detail-redesign .blog-comment-content { border:1px solid #e0e6f6; border-radius:12px; padding:18px; box-shadow:0 3px 8px #20335b08; background:#fff; }
.bx-catalog-element.product-detail-redesign .blog-comment-info { font-size:14px; }
.bx-catalog-element.product-detail-redesign .blog-comment-content .blog-comment-content { box-shadow:none; }
.bx-catalog-element.product-detail-redesign .blog-comment-content p,
.bx-catalog-element.product-detail-redesign .blog-comment-content { font-size:14px; line-height:1.6; color:#555; }
.bx-catalog-element.product-detail-redesign .product-item-detail-slider-image.active { min-height:0; padding:0; background:none; }
.bx-catalog-element.product-detail-redesign .product-item-detail-slider-image.active > img.item-images.booking { width:100%; height:auto; max-height:540px; object-fit:contain; border-radius:10px; }
.bx-catalog-element.product-detail-redesign .product-item-detail-slider-controls-block { display:flex; flex-wrap:wrap; gap:16px; overflow:visible; justify-content:flex-start; margin:24px 0 0; padding:0; }
.bx-catalog-element.product-detail-redesign .product-item-detail-slider-controls-image { flex:0 0 calc((100% - 40px) / 4); width:113px; height:140px; margin:0; border-radius:8px; overflow:hidden; }
.bx-catalog-element.product-detail-redesign .product-item-detail-slider-controls-image.active { border-color:#405daf; }
.bx-catalog-element.product-detail-redesign .product-item-detail-slider-controls-image img { width:100%; object-fit:contain; }
.product-detail-popular.line_more { background:#f8faff; padding-top:36px; }
.product-detail-popular .top10-card { border:1px solid #e0e6f6; border-radius:12px; }
@media (max-width:1100px) {
 .bx-catalog-element.product-detail-redesign > .container-fluid { column-gap:30px; grid-template-columns:minmax(220px,34%) minmax(0,1fr); }
 .bx-catalog-element.product-detail-redesign .b_p_l { flex-wrap:wrap; }
 .bx-catalog-element.product-detail-redesign .line_p_2 { flex-basis:100%; }
}
@media (max-width:767px) {
 .bx-catalog-element.product-detail-redesign > .container-fluid { display:flex; flex-direction:column; padding:18px 0 0; gap:0; }
 .bx-catalog-element.product-detail-redesign .left_b { order:0; width:100%; margin:0 0 16px; }
 .bx-catalog-element.product-detail-redesign .detail-status { order:1; margin-bottom:10px; font-size:11px; }
 .bx-catalog-element.product-detail-redesign .name_element { order:2; margin:0 0 10px; }
 .bx-catalog-element.product-detail-redesign .name_element .bx-title { font-size:23px; text-align:left; }
 .bx-catalog-element.product-detail-redesign .product-detail-meta { order:3; margin:0 0 18px; }
 .bx-catalog-element.product-detail-redesign .avtor_element { font-size:14px; }
 .bx-catalog-element.product-detail-redesign .ebook_element { order:4; }
 .bx-catalog-element.product-detail-redesign .complect_element { order:5; }
 .bx-catalog-element.product-detail-redesign .prop { order:6; padding:16px; }
 .bx-catalog-element.product-detail-redesign .price { flex-wrap:wrap; }
 .bx-catalog-element.product-detail-redesign .b_p_l { display:block; width:100%; flex-basis:100%; }
 .bx-catalog-element.product-detail-redesign .line_p_2 { display:flex; flex-direction:column; align-items:stretch; gap:12px; margin-top:16px; }
 .bx-catalog-element.product-detail-redesign .line_p_2 > .price_l_b,
 .bx-catalog-element.product-detail-redesign .line_p_2 > .price_r_b { width:100%; }
 .bx-catalog-element.product-detail-redesign .count-container { display:flex; align-items:center; gap:12px; }
 .bx-catalog-element.product-detail-redesign .count-container > .product-item-detail-info-container-title { display:block; color:#555; font-size:13px; }
 .bx-catalog-element.product-detail-redesign .b_p_r { width:100%; }
 .bx-catalog-element.product-detail-redesign .detail-highlights { order:7; width:100%; max-width:none; margin:16px 0 0; gap:10px; }
 .detail-highlights > div { font-size:13px; padding:12px 16px; }
 .bx-catalog-element.product-detail-redesign .product-detail-description { order:8; width:100%; margin:28px 0 0; }
 .bx-catalog-element.product-detail-redesign .product-detail-description__content.content_detail { max-height:360px; font-size:14px !important; line-height:1.7; }
 .bx-catalog-element.product-detail-redesign .product-detail-description__toggle { width:100%; }
 .bx-catalog-element.product-detail-redesign .prop_block { order:9; width:100%; margin:28px 0 0; }
 .bx-catalog-element.product-detail-redesign .right_b > .col-lg-12 { order:10; }
 .bx-catalog-element.product-detail-redesign .product-detail-description h2,
 .bx-catalog-element.product-detail-redesign .prop_block h2,
 .bx-catalog-element.product-detail-redesign .product-detail-reviews h2 { font-size:19px; margin-bottom:16px; }
 .bx-catalog-element.product-detail-redesign .product-item-detail-properties dt,
 .bx-catalog-element.product-detail-redesign .product-item-detail-properties dd { font-size:12px; padding:10px; }
 .bx-catalog-element.product-detail-redesign .product-detail-reviews { padding:28px 0; }
 .bx-catalog-element.product-detail-redesign .product-item-detail-slider-image.active > img.item-images.booking { max-height:none; width:100%; }
 .bx-catalog-element.product-detail-redesign .product-item-detail-slider-controls-image { height:78px; }
}

/* Reset dimensions and pseudo-elements inherited from the legacy purchase panel. */
.bx-catalog-element.product-detail-redesign .prop { height:auto; color:#303030; }
.bx-catalog-element.product-detail-redesign .avtor_element::before { clip-path:none; transform:none; }
.bx-catalog-element.product-detail-redesign .line_p_1 .price_l_b { min-width:0; }
.bx-catalog-element.product-detail-redesign .line_p_1 { flex:none; }
.bx-catalog-element.product-detail-redesign .b_p_r { position:static; }
.bx-catalog-element.product-detail-redesign .product-item-detail-price-old:not([style*='none']) { display:block !important; }
.bx-catalog-element.product-detail-redesign .line_p_2 .product-item-amount,
.bx-catalog-element.product-detail-redesign .line_p_2 .product-item-amount-field-container { width:78px !important; }
.bx-catalog-element.product-detail-redesign .product-item-amount-field,
.bx-catalog-element.product-detail-redesign .product-item-amount-field-btn-minus,
.bx-catalog-element.product-detail-redesign .product-item-amount-field-btn-plus { position:relative; top:auto; left:auto; right:auto; transform:none; flex:0 0 25px; }
.bx-catalog-element.product-detail-redesign .product-item-amount-field-btn-minus::before,
.bx-catalog-element.product-detail-redesign .product-item-amount-field-btn-plus::before,
.bx-catalog-element.product-detail-redesign .product-item-amount-field-btn-plus::after { width:9px; height:1px; background:#555; }
.bx-catalog-element.product-detail-redesign .wishlist-button a { display:flex; align-items:center; justify-content:center; width:38px; height:38px; border:1px solid #e0e6f6; border-radius:22px; background:#fff; }
.bx-catalog-element.product-detail-redesign .wishlist-button img { width:18px; height:18px; }
.bx-catalog-element.product-detail-redesign .blog-comment { display:inline-block; vertical-align:top; width:calc(50% - 12px); margin:12px 8px 12px 0; padding-left:0 !important; }
.bx-catalog-element.product-detail-redesign .blog-comment-cont { margin:0; padding:18px; border:1px solid #e0e6f6; border-radius:12px; box-shadow:0 3px 8px #20335b08; background:#fff; }
.bx-catalog-element.product-detail-redesign .blog-comment-cont-white { background:none; padding:0; }
.bx-catalog-element.product-detail-redesign .blog-comment-content { border:0; border-radius:0; padding:12px 0 0; box-shadow:none; font-size:16px !important; line-height:1.65; }
.bx-catalog-element.product-detail-redesign .blog-comment-content p { font-size:inherit; line-height:inherit; }
.bx-catalog-element.product-detail-redesign .blog-comment-info,
.bx-catalog-element.product-detail-redesign .blog-comment-info a { font-size:16px !important; }
.bx-catalog-element.product-detail-redesign .blog-comment-date { display:block; margin-top:4px; color:#8c9bb8; font-size:12px; }
.bx-catalog-element.product-detail-redesign .blog-comment .blog-comment { width:100%; }
.bx-catalog-element.product-detail-redesign .product-item-detail-slider-container.popup { position:fixed; }
.bx-catalog-element.product-detail-redesign .product-item-detail-slider-container.popup .product-item-detail-slider-image.active > img.item-images.booking { width:auto; max-width:100%; max-height:80vh; }
@media (max-width:767px) {
 .bx-catalog-element.product-detail-redesign .blog-comment { display:block; width:100%; margin:12px 0; }
 .bx-catalog-element.product-detail-redesign .wishlist-button a { width:100%; }
 .bx-catalog-element.product-detail-redesign .wishlist-button a::after { content:'В обране'; margin-left:6px; font-size:13px; color:#7c90b8; }
}
