/**
 * OGONKI.BY Modern UI — product detail
 * Version: 0.6.38
 * Date: 2026-10-01
 *
 * Product-page presentation only. Business logic, attribute selects, gallery,
 * cart actions and SoloMono data stay untouched.
 */

body.ogonki-modern.product_page {
    --og-product-bg: var(--og-bg);
    --og-product-surface: var(--og-surface);
    --og-product-surface-soft: var(--og-surface-soft);
    --og-product-text: var(--og-text);
    --og-product-soft: var(--og-text-soft);
    --og-product-muted: var(--og-muted);
    --og-product-line: var(--og-line);
    --og-product-line-strong: var(--og-line-strong);
    --og-product-accent: var(--og-accent);
    --og-product-accent-strong: var(--og-accent-dark);
    --og-product-radius: 18px;
    --og-product-radius-sm: 12px;
    --og-product-shadow: 0 12px 34px rgba(18, 25, 31, .065);
    --og-product-shadow-hover: 0 18px 42px rgba(18, 25, 31, .10);
    background: var(--og-product-bg);
}

html[data-og-theme="night"] body.ogonki-modern.product_page {
    --og-product-shadow: 0 16px 38px rgba(0, 0, 0, .22);
    --og-product-shadow-hover: 0 20px 48px rgba(0, 0, 0, .30);
}

/* --------------------------------------------------------------------------
   PAGE GEOMETRY
   -------------------------------------------------------------------------- */
body.ogonki-modern.product_page main > .container,
body.ogonki-modern.product_page .page-wrap > .container {
    width: min(1280px, calc(100% - 44px));
    max-width: 1280px;
}

body.ogonki-modern.product_page .breadcrumb {
    margin-top: 22px;
    margin-bottom: 12px;
    color: var(--og-product-muted);
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   MAIN PRODUCT: GALLERY + BUY PANEL
   -------------------------------------------------------------------------- */
body.ogonki-modern.product_page .slider_product_card,
body.ogonki-modern.product_page .description_card_product {
    border: 1px solid var(--og-product-line) !important;
    border-radius: 20px !important;
    background: var(--og-product-surface) !important;
    color: var(--og-product-text) !important;
    box-shadow: var(--og-product-shadow) !important;
}

body.ogonki-modern.product_page .slider_product_card {
    padding: 12px !important;
    overflow: hidden !important;
}

body.ogonki-modern.product_page .description_card_product {
    margin-left: 10px !important;
    padding: 28px 30px 26px !important;
}

body.ogonki-modern.product_page .description_card_product .category_heading {
    margin: 0 0 8px !important;
    color: var(--og-product-text) !important;
    font-size: clamp(29px, 2.6vw, 40px) !important;
    line-height: 1.06 !important;
    font-weight: 790 !important;
    letter-spacing: -.035em !important;
    text-transform: none !important;
}

body.ogonki-modern.product_page .art_card_product,
body.ogonki-modern.product_page .description_card_product .label-success {
    margin-bottom: 16px !important;
    color: var(--og-product-muted) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

/* Gallery: rounded main image and calm thumbnails. */
body.ogonki-modern.product_page .slider_product_card img {
    max-width: 100%;
}

body.ogonki-modern.product_page .slider_product_card .owl-item img,
body.ogonki-modern.product_page .slider_product_card .product_img,
body.ogonki-modern.product_page .slider_product_card .main-image,
body.ogonki-modern.product_page .slider_product_card .main_image {
    border-radius: 13px;
}

body.ogonki-modern.product_page .slider_product_card .owl-thumb-item,
body.ogonki-modern.product_page .slider_product_card .thumbnail,
body.ogonki-modern.product_page .slider_product_card .small_img,
body.ogonki-modern.product_page .slider_product_card [class*="thumb"] a {
    overflow: hidden;
    border: 1px solid var(--og-product-line) !important;
    border-radius: 9px !important;
    background: var(--og-product-surface-soft) !important;
    box-shadow: none !important;
}

body.ogonki-modern.product_page .slider_product_card .owl-thumb-item:hover,
body.ogonki-modern.product_page .slider_product_card .owl-thumb-item.active,
body.ogonki-modern.product_page .slider_product_card .thumbnail:hover,
body.ogonki-modern.product_page .slider_product_card .thumbnail.active {
    border-color: color-mix(in srgb, var(--og-product-accent) 58%, var(--og-product-line-strong)) !important;
}

/* Product sale chip: same restrained Modern language as catalogue. */
body.ogonki-modern.product_page .slider_product_card .product_label,
body.ogonki-modern.product_page .slider_product_card .label1.product_label,
body.ogonki-modern.product_page .slider_product_card .label2.product_label,
body.ogonki-modern.product_page .slider_product_card .label3.product_label,
body.ogonki-modern.product_page .slider_product_card .label4.product_label {
    top: 22px !important;
    right: 22px !important;
    left: auto !important;
    max-width: calc(100% - 44px) !important;
    padding: 6px 10px !important;
    border: 1px solid rgba(111, 168, 46, .28) !important;
    border-radius: 999px !important;
    background: rgba(250, 252, 247, .94) !important;
    color: #5d8f2b !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 820 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    box-shadow: 0 8px 18px rgba(15, 22, 27, .08) !important;
    backdrop-filter: blur(8px);
}

html[data-og-theme="night"] body.ogonki-modern.product_page .slider_product_card .product_label,
html[data-og-theme="night"] body.ogonki-modern.product_page .slider_product_card .label1.product_label,
html[data-og-theme="night"] body.ogonki-modern.product_page .slider_product_card .label2.product_label,
html[data-og-theme="night"] body.ogonki-modern.product_page .slider_product_card .label3.product_label,
html[data-og-theme="night"] body.ogonki-modern.product_page .slider_product_card .label4.product_label {
    border-color: rgba(169, 220, 70, .30) !important;
    background: rgba(20, 27, 31, .90) !important;
    color: #c8f164 !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .20) !important;
}

/* --------------------------------------------------------------------------
   ATTRIBUTES / OPTIONS
   -------------------------------------------------------------------------- */
body.ogonki-modern.product_page .description_card_product .prod_attributes_div {
    margin: 18px 0 24px !important;
}

body.ogonki-modern.product_page .description_card_product .prod_attributes_div b,
body.ogonki-modern.product_page .description_card_product .prod_attributes_div strong,
body.ogonki-modern.product_page .description_card_product .prod_attributes_div label,
body.ogonki-modern.product_page .description_card_product .prod_attributes_div .attribute_name,
body.ogonki-modern.product_page .description_card_product .prod_attributes_div .attribute-name,
body.ogonki-modern.product_page .description_card_product .prod_attributes_div .option_name,
body.ogonki-modern.product_page .description_card_product .prod_attributes_div .option-name {
    color: var(--og-product-text) !important;
    font-size: 13px !important;
    font-weight: 730 !important;
    text-transform: none !important;
}

body.ogonki-modern.product_page .description_card_product .prod_attributes_div .color_attributes-item,
body.ogonki-modern.product_page .description_card_product .prod_attributes_div [class*="attributes-item"] {
    margin: 6px 7px 6px 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--og-product-line-strong) !important;
    border-radius: 11px !important;
    background: var(--og-product-surface-soft) !important;
    color: var(--og-product-text) !important;
    box-shadow: none !important;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

body.ogonki-modern.product_page .description_card_product .prod_attributes_div .color_attributes-item:hover,
body.ogonki-modern.product_page .description_card_product .prod_attributes_div [class*="attributes-item"]:hover {
    border-color: color-mix(in srgb, var(--og-product-accent) 46%, var(--og-product-line-strong)) !important;
}

body.ogonki-modern.product_page .description_card_product .prod_attributes_div .color_attributes-item.active,
body.ogonki-modern.product_page .description_card_product .prod_attributes_div [class*="attributes-item"].active,
body.ogonki-modern.product_page .description_card_product .prod_attributes_div input:checked + label {
    border-color: var(--og-product-accent) !important;
    background: color-mix(in srgb, var(--og-product-accent-soft) 68%, var(--og-product-surface-soft)) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--og-product-accent) 14%, transparent) !important;
}

body.ogonki-modern.product_page .description_card_product .prod_attributes_div .attribute-text,
body.ogonki-modern.product_page .description_card_product .prod_attributes_div .color_name,
body.ogonki-modern.product_page .description_card_product .prod_attributes_div span,
body.ogonki-modern.product_page .description_card_product .prod_attributes_div a {
    color: var(--og-product-text) !important;
}

html[data-og-theme="night"] body.ogonki-modern.product_page .description_card_product .prod_attributes_div .color_attributes-item,
html[data-og-theme="night"] body.ogonki-modern.product_page .description_card_product .prod_attributes_div [class*="attributes-item"] {
    background: #12171c !important;
    border-color: #34404a !important;
}

/* Native / selectize controls keep correct night colours. */
body.ogonki-modern.product_page .description_card_product select,
body.ogonki-modern.product_page .description_card_product .selectize-input,
body.ogonki-modern.product_page .description_card_product .selectize-dropdown {
    border-color: var(--og-product-line-strong) !important;
    border-radius: 10px !important;
    background: var(--og-product-surface-soft) !important;
    color: var(--og-product-text) !important;
}

/* --------------------------------------------------------------------------
   BUY / PRICE AREA
   -------------------------------------------------------------------------- */
body.ogonki-modern.product_page .description_card_product #summ_price,
body.ogonki-modern.product_page .description_card_product .new_price_card_product,
body.ogonki-modern.product_page .description_card_product .og-main-price-current {
    color: var(--og-product-text) !important;
    font-size: 26px !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    letter-spacing: -.025em !important;
    white-space: nowrap !important;
}

body.ogonki-modern.product_page .description_card_product .old_price_card_product,
body.ogonki-modern.product_page .description_card_product .og-main-price-old {
    margin-left: 8px !important;
    color: #d85358 !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
    font-weight: 720 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1.5px !important;
    white-space: nowrap !important;
}

html[data-og-theme="night"] body.ogonki-modern.product_page .description_card_product .old_price_card_product,
html[data-og-theme="night"] body.ogonki-modern.product_page .description_card_product .og-main-price-old {
    color: #ef787b !important;
}

body.ogonki-modern.product_page .description_card_product .og-product-selection-hint {
    display: block;
    margin: 0 0 8px;
    color: var(--og-product-muted);
    font-size: 12px;
    line-height: 1.35;
}

body.ogonki-modern.product_page .description_card_product .open-modalcart-buttom,
body.ogonki-modern.product_page .description_card_product button[type="submit"] {
    min-height: 48px !important;
    min-width: 180px !important;
    padding: 0 20px !important;
    border: 1px solid rgba(103, 184, 62, .30) !important;
    border-radius: 12px !important;
    background: #10161b !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 760 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .09) !important;
}

body.ogonki-modern.product_page .description_card_product .open-modalcart-buttom:hover,
body.ogonki-modern.product_page .description_card_product button[type="submit"]:hover {
    border-color: rgba(103, 184, 62, .60) !important;
    box-shadow: 0 0 0 3px rgba(103, 184, 62, .08), 0 12px 28px rgba(0, 0, 0, .12) !important;
}

body.ogonki-modern.product_page .description_card_product .open-modalcart-buttom[disabled],
body.ogonki-modern.product_page .description_card_product button[type="submit"][disabled],
body.ogonki-modern.product_page .description_card_product .open-modalcart-buttom.disabled,
body.ogonki-modern.product_page .description_card_product button[type="submit"].disabled {
    border-color: var(--og-product-line-strong) !important;
    background: color-mix(in srgb, var(--og-product-surface-soft) 72%, #aab1b7 28%) !important;
    color: var(--og-product-muted) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: .78;
}

body.ogonki-modern.product_page .description_card_product .rating_product,
body.ogonki-modern.product_page .description_card_product [class*="rating_product"] {
    margin-top: 18px !important;
    color: #d4a83c !important;
}

body.ogonki-modern.product_page .description_card_product .rating_product a,
body.ogonki-modern.product_page .description_card_product #comment-tab-count {
    margin-left: 8px;
    color: var(--og-product-muted) !important;
    font-size: 12px !important;
}

/* --------------------------------------------------------------------------
   CONTENT TABS / DELIVERY
   JS only adds two harmless marker classes to the existing SoloMono blocks.
   -------------------------------------------------------------------------- */
body.ogonki-modern.product_page .og-product-detail-tabs,
body.ogonki-modern.product_page .og-product-service-tabs {
    margin-top: 34px !important;
    color: var(--og-product-text) !important;
}

body.ogonki-modern.product_page .og-product-detail-tabs .nav-tabs,
body.ogonki-modern.product_page .og-product-service-tabs .nav-tabs {
    display: flex !important;
    gap: 4px !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--og-product-line) !important;
}

body.ogonki-modern.product_page .og-product-detail-tabs .nav-tabs > li,
body.ogonki-modern.product_page .og-product-service-tabs .nav-tabs > li {
    margin: 0 !important;
}

body.ogonki-modern.product_page .og-product-detail-tabs .nav-tabs > li > a,
body.ogonki-modern.product_page .og-product-service-tabs .nav-tabs > li > a {
    margin: 0 !important;
    padding: 10px 13px !important;
    border: 0 !important;
    border-radius: 9px 9px 0 0 !important;
    background: transparent !important;
    color: var(--og-product-muted) !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

body.ogonki-modern.product_page .og-product-detail-tabs .nav-tabs > li.active > a,
body.ogonki-modern.product_page .og-product-service-tabs .nav-tabs > li.active > a,
body.ogonki-modern.product_page .og-product-detail-tabs .nav-tabs > li > a:hover,
body.ogonki-modern.product_page .og-product-service-tabs .nav-tabs > li > a:hover {
    background: var(--og-product-surface) !important;
    color: var(--og-product-text) !important;
}

body.ogonki-modern.product_page .og-product-detail-tabs .tab-content,
body.ogonki-modern.product_page .og-product-service-tabs .tab-content {
    padding: 22px 0 0 !important;
    color: var(--og-product-soft) !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
}

body.ogonki-modern.product_page .og-product-detail-tabs .tab-content p,
body.ogonki-modern.product_page .og-product-service-tabs .tab-content p,
body.ogonki-modern.product_page .og-product-detail-tabs .tab-content li,
body.ogonki-modern.product_page .og-product-service-tabs .tab-content li,
body.ogonki-modern.product_page .og-product-detail-tabs .tab-content td,
body.ogonki-modern.product_page .og-product-service-tabs .tab-content td {
    color: var(--og-product-soft) !important;
}

body.ogonki-modern.product_page .og-product-detail-tabs .tab-content h2,
body.ogonki-modern.product_page .og-product-detail-tabs .tab-content h3,
body.ogonki-modern.product_page .og-product-detail-tabs .tab-content h4,
body.ogonki-modern.product_page .og-product-service-tabs .tab-content h2,
body.ogonki-modern.product_page .og-product-service-tabs .tab-content h3,
body.ogonki-modern.product_page .og-product-service-tabs .tab-content h4 {
    margin-top: 22px !important;
    margin-bottom: 10px !important;
    color: var(--og-product-text) !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

body.ogonki-modern.product_page .og-product-detail-tabs .tab-content table,
body.ogonki-modern.product_page .og-product-service-tabs .tab-content table {
    width: 100% !important;
    margin: 14px 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--og-product-line) !important;
    border-radius: 12px !important;
    background: var(--og-product-surface) !important;
}

body.ogonki-modern.product_page .og-product-detail-tabs .tab-content th,
body.ogonki-modern.product_page .og-product-detail-tabs .tab-content td,
body.ogonki-modern.product_page .og-product-service-tabs .tab-content th,
body.ogonki-modern.product_page .og-product-service-tabs .tab-content td {
    padding: 11px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--og-product-line) !important;
    background: transparent !important;
    vertical-align: top !important;
}

body.ogonki-modern.product_page .og-product-detail-tabs .tab-content tr:last-child > *,
body.ogonki-modern.product_page .og-product-service-tabs .tab-content tr:last-child > * {
    border-bottom: 0 !important;
}

body.ogonki-modern.product_page .og-product-service-tabs .tab-content a {
    color: var(--og-product-accent-strong) !important;
    text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   REVIEW FORM
   -------------------------------------------------------------------------- */
body.ogonki-modern.product_page .og-product-review-form {
    width: min(930px, 100%);
    margin: 54px auto 0 !important;
    padding: 26px 28px 28px !important;
    border: 1px solid var(--og-product-line) !important;
    border-radius: 18px !important;
    background: var(--og-product-surface) !important;
    color: var(--og-product-text) !important;
    box-shadow: none !important;
}

body.ogonki-modern.product_page .og-product-review-form h2,
body.ogonki-modern.product_page .og-product-review-form h3,
body.ogonki-modern.product_page .og-product-review-form .like_h2,
body.ogonki-modern.product_page .og-product-review-form [class*="heading"] {
    margin: 0 0 10px !important;
    color: var(--og-product-text) !important;
    font-size: 19px !important;
    line-height: 1.25 !important;
    font-weight: 780 !important;
    text-align: center !important;
    text-transform: none !important;
}

body.ogonki-modern.product_page .og-product-review-form p {
    color: var(--og-product-muted) !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

body.ogonki-modern.product_page .og-product-review-form input[type="text"],
body.ogonki-modern.product_page .og-product-review-form input[type="email"],
body.ogonki-modern.product_page .og-product-review-form textarea {
    width: 100% !important;
    min-height: 44px !important;
    padding: 11px 13px !important;
    border: 1px solid var(--og-product-line-strong) !important;
    border-radius: 11px !important;
    background: var(--og-product-surface-soft) !important;
    color: var(--og-product-text) !important;
    box-shadow: none !important;
}

body.ogonki-modern.product_page .og-product-review-form textarea {
    min-height: 118px !important;
    resize: vertical !important;
}

body.ogonki-modern.product_page .og-product-review-form input::placeholder,
body.ogonki-modern.product_page .og-product-review-form textarea::placeholder {
    color: var(--og-product-muted) !important;
    opacity: 1 !important;
}

body.ogonki-modern.product_page .og-product-review-form button,
body.ogonki-modern.product_page .og-product-review-form input[type="submit"] {
    min-height: 42px !important;
    min-width: 150px !important;
    padding: 0 18px !important;
    border: 1px solid var(--og-product-line-strong) !important;
    border-radius: 10px !important;
    background: #171b20 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 760 !important;
    text-transform: none !important;
}

html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-review-form button,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-review-form input[type="submit"] {
    background: #0d1216 !important;
    border-color: #35404a !important;
}

/* --------------------------------------------------------------------------
   RELATED / RECOMMENDED CARDS — same visual language as catalogue.
   Marker classes are added by ogonki-modern-product.js without moving content.
   -------------------------------------------------------------------------- */
body.ogonki-modern.product_page .og-product-recommended,
body.ogonki-modern.product_page .og-product-similar {
    clear: both;
    width: 100%;
    margin-top: 56px !important;
    overflow: visible !important;
}

body.ogonki-modern.product_page .og-product-recommended > .like_h2,
body.ogonki-modern.product_page .og-product-recommended > h2,
body.ogonki-modern.product_page .og-product-recommended > h3,
body.ogonki-modern.product_page .og-product-similar > .like_h2,
body.ogonki-modern.product_page .og-product-similar > h2,
body.ogonki-modern.product_page .og-product-similar > h3,
body.ogonki-modern.product_page .og-product-recommended .like_h2,
body.ogonki-modern.product_page .og-product-similar .like_h2 {
    margin: 0 0 18px !important;
    color: var(--og-product-text) !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 780 !important;
    letter-spacing: -.02em !important;
    text-align: left !important;
    text-transform: none !important;
}

body.ogonki-modern.product_page .og-product-recommended .product_slider,
body.ogonki-modern.product_page .og-product-similar .product_slider,
body.ogonki-modern.product_page .og-product-recommended .owl-stage-outer,
body.ogonki-modern.product_page .og-product-similar .owl-stage-outer {
    overflow: visible !important;
}

body.ogonki-modern.product_page .og-product-recommended .owl-stage,
body.ogonki-modern.product_page .og-product-similar .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

body.ogonki-modern.product_page .og-product-recommended .owl-item,
body.ogonki-modern.product_page .og-product-similar .owl-item {
    display: flex !important;
    height: auto !important;
}

body.ogonki-modern.product_page .og-product-recommended .product,
body.ogonki-modern.product_page .og-product-similar .product {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    min-height: 100% !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 10px !important;
    border: 1px solid var(--og-product-line) !important;
    border-radius: 15px !important;
    background: var(--og-product-surface) !important;
    color: var(--og-product-text) !important;
    box-shadow: 0 8px 24px rgba(18, 25, 31, .055) !important;
    transform: none !important;
    transition: transform .20s ease, box-shadow .20s ease, border-color .20s ease !important;
}

html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-recommended .product,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-similar .product {
    box-shadow: 0 12px 30px rgba(0,0,0,.20) !important;
}

body.ogonki-modern.product_page .og-product-recommended .product:hover,
body.ogonki-modern.product_page .og-product-similar .product:hover {
    border-color: color-mix(in srgb, var(--og-product-accent) 34%, var(--og-product-line)) !important;
    background: var(--og-product-surface) !important;
    box-shadow: var(--og-product-shadow-hover) !important;
    transform: translateY(-2px) !important;
}

body.ogonki-modern.product_page .og-product-recommended .product .p_description,
body.ogonki-modern.product_page .og-product-similar .product .p_description {
    display: flex !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--og-product-text) !important;
}

body.ogonki-modern.product_page .og-product-recommended .product .p_img_href,
body.ogonki-modern.product_page .og-product-similar .product .p_img_href {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    margin: 0 0 11px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 11px !important;
    outline: 0 !important;
    background: var(--og-product-surface-soft) !important;
    box-shadow: none !important;
}

body.ogonki-modern.product_page .og-product-recommended .product .p_img_href img,
body.ogonki-modern.product_page .og-product-similar .product .p_img_href img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    transform: none !important;
    transition: transform .30s ease, filter .30s ease !important;
}

body.ogonki-modern.product_page .og-product-recommended .product:hover .p_img_href img,
body.ogonki-modern.product_page .og-product-similar .product:hover .p_img_href img {
    transform: scale(1.022) !important;
    filter: saturate(1.025) contrast(1.01) !important;
}

body.ogonki-modern.product_page .og-product-recommended .product .model_product,
body.ogonki-modern.product_page .og-product-similar .product .model_product {
    display: -webkit-box !important;
    min-height: 40px !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: var(--og-product-text) !important;
    font-size: 13px !important;
    line-height: 1.34 !important;
    font-weight: 690 !important;
    text-transform: none !important;
    letter-spacing: -.01em !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

body.ogonki-modern.product_page .og-product-recommended .product .og-card-rating,
body.ogonki-modern.product_page .og-product-similar .product .og-card-rating {
    display: flex !important;
    min-height: 19px !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 3px 0 0 !important;
    color: var(--og-product-muted) !important;
    font-size: 10px !important;
    line-height: 1 !important;
}

body.ogonki-modern.product_page .og-card-rating-stars,
body.ogonki-modern.product_page .og-card-stars {
    position: relative !important;
    display: inline-block !important;
    width: 55px !important;
    height: 12px !important;
    overflow: hidden !important;
    flex: 0 0 55px !important;
    font-size: 11px !important;
    line-height: 12px !important;
    letter-spacing: 0 !important;
}

body.ogonki-modern.product_page .og-card-stars-empty,
body.ogonki-modern.product_page .og-card-stars-fill {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    white-space: nowrap !important;
}

body.ogonki-modern.product_page .og-card-stars-empty {
    color: #c5cbd0 !important;
}

body.ogonki-modern.product_page .og-card-stars-fill {
    width: var(--og-rating-fill, 0%) !important;
    overflow: hidden !important;
    color: #d7aa36 !important;
}

body.ogonki-modern.product_page .og-card-rating-value {
    color: var(--og-product-text) !important;
    font-size: 10px !important;
    font-weight: 760 !important;
}

body.ogonki-modern.product_page .og-card-review-link {
    color: var(--og-product-muted) !important;
    font-size: 10px !important;
    text-decoration: none !important;
}

body.ogonki-modern.product_page .og-card-review-link.is-empty {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

body.ogonki-modern.product_page .og-card-empty-star {
    color: #8e98a0 !important;
    font-size: 12px !important;
}

body.ogonki-modern.product_page .og-product-recommended .product .og-card-meta,
body.ogonki-modern.product_page .og-product-similar .product .og-card-meta {
    display: flex !important;
    min-height: 20px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 5px 10px !important;
    margin: 2px 0 0 !important;
    color: var(--og-product-muted) !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
}

body.ogonki-modern.product_page .og-card-meta-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
}

body.ogonki-modern.product_page .og-card-meta-item svg {
    width: 12px !important;
    height: 12px !important;
    fill: none !important;
    stroke: var(--og-product-accent-strong) !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.ogonki-modern.product_page .og-product-recommended .product .new_old_price,
body.ogonki-modern.product_page .og-product-similar .product .new_old_price {
    display: grid !important;
    grid-template-columns: minmax(82px, .8fr) minmax(0, 1.2fr) !important;
    min-height: 46px !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding: 12px 2px 0 !important;
    border-top: 1px solid var(--og-product-line) !important;
}

body.ogonki-modern.product_page .og-product-recommended .product .add2cart,
body.ogonki-modern.product_page .og-product-recommended .product .added2cart,
body.ogonki-modern.product_page .og-product-similar .product .add2cart,
body.ogonki-modern.product_page .og-product-similar .product .added2cart {
    display: inline-flex !important;
    width: auto !important;
    min-width: 82px !important;
    height: 36px !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: start !important;
    gap: 6px !important;
    padding: 0 12px !important;
    border: 1px solid var(--og-product-line-strong) !important;
    border-radius: 10px !important;
    background: #10161b !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 740 !important;
    box-shadow: none !important;
}

body.ogonki-modern.product_page .og-product-recommended .product .price,
body.ogonki-modern.product_page .og-product-similar .product .price {
    display: grid !important;
    grid-template-columns: auto auto !important;
    align-items: baseline !important;
    justify-content: end !important;
    column-gap: 6px !important;
    justify-self: end !important;
    min-width: 0 !important;
    color: var(--og-product-text) !important;
    font-size: 17px !important;
    line-height: 1.1 !important;
    font-weight: 790 !important;
    white-space: nowrap !important;
}

body.ogonki-modern.product_page .og-product-recommended .product .price .new_price,
body.ogonki-modern.product_page .og-product-similar .product .price .new_price {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 1px !important;
    color: var(--og-product-text) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

body.ogonki-modern.product_page .og-product-recommended .product .price .old_price,
body.ogonki-modern.product_page .og-product-recommended .product .price .old-price-label,
body.ogonki-modern.product_page .og-product-similar .product .price .old_price,
body.ogonki-modern.product_page .og-product-similar .product .price .old-price-label {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 1px !important;
    color: #d85358 !important;
    font-size: 10px !important;
    font-weight: 720 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1.4px !important;
}

html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-recommended .product .price .old_price,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-recommended .product .price .old-price-label,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-similar .product .price .old_price,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-similar .product .price .old-price-label {
    color: #ef787b !important;
}

/* Local BYN mark identical in spirit to catalogue cards. */
body.ogonki-modern.product_page .og-product-recommended .og-byn-symbol,
body.ogonki-modern.product_page .og-product-similar .og-byn-symbol {
    position: relative !important;
    display: inline-block !important;
    width: .76em !important;
    height: .95em !important;
    flex: 0 0 .76em !important;
    margin: 0 0 -.035em 1px !important;
    color: currentColor !important;
    font-size: .86em !important;
    line-height: 1 !important;
    vertical-align: baseline !important;
}

body.ogonki-modern.product_page .og-product-recommended .og-byn-symbol::before,
body.ogonki-modern.product_page .og-product-similar .og-byn-symbol::before {
    content: "Б" !important;
    position: absolute !important;
    inset: -.02em auto auto 0 !important;
    color: currentColor !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1em !important;
    line-height: 1 !important;
    font-weight: 850 !important;
}

body.ogonki-modern.product_page .og-product-recommended .og-byn-symbol::after,
body.ogonki-modern.product_page .og-product-similar .og-byn-symbol::after {
    content: "" !important;
    position: absolute !important;
    left: .03em !important;
    right: -.04em !important;
    top: .50em !important;
    height: .09em !important;
    border-radius: 99px !important;
    background: currentColor !important;
}

body.ogonki-modern.product_page .og-product-recommended .price .new_price .og-byn-symbol,
body.ogonki-modern.product_page .og-product-similar .price .new_price .og-byn-symbol {
    color: #718f31 !important;
}

html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-recommended .price .new_price .og-byn-symbol,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-similar .price .new_price .og-byn-symbol {
    color: #b9e25d !important;
}

/* Related sale chip. */
body.ogonki-modern.product_page .og-product-recommended .product_label,
body.ogonki-modern.product_page .og-product-similar .product_label,
body.ogonki-modern.product_page .og-product-recommended .label1.product_label,
body.ogonki-modern.product_page .og-product-similar .label1.product_label,
body.ogonki-modern.product_page .og-product-recommended .label2.product_label,
body.ogonki-modern.product_page .og-product-similar .label2.product_label,
body.ogonki-modern.product_page .og-product-recommended .label3.product_label,
body.ogonki-modern.product_page .og-product-similar .label3.product_label,
body.ogonki-modern.product_page .og-product-recommended .label4.product_label,
body.ogonki-modern.product_page .og-product-similar .label4.product_label {
    top: 18px !important;
    right: 18px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 6 !important;
    max-width: calc(100% - 36px) !important;
    padding: 5px 9px !important;
    border: 1px solid rgba(111, 168, 46, .28) !important;
    border-radius: 999px !important;
    background: rgba(250, 252, 247, .94) !important;
    color: #5d8f2b !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 820 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    box-shadow: 0 7px 16px rgba(22,28,35,.08) !important;
}

html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-recommended .product_label,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-similar .product_label {
    border-color: rgba(169, 220, 70, .30) !important;
    background: rgba(20, 27, 31, .90) !important;
    color: #c8f164 !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.20) !important;
}

/* Owl arrows — compact, no old white discs. */
body.ogonki-modern.product_page .og-product-recommended .owl-prev,
body.ogonki-modern.product_page .og-product-recommended .owl-next,
body.ogonki-modern.product_page .og-product-similar .owl-prev,
body.ogonki-modern.product_page .og-product-similar .owl-next {
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid color-mix(in srgb, var(--og-product-accent) 52%, var(--og-product-line)) !important;
    border-radius: 999px !important;
    background: var(--og-product-surface) !important;
    color: var(--og-product-accent-strong) !important;
    box-shadow: 0 8px 20px rgba(18,25,31,.08) !important;
    font-size: 0 !important;
}

body.ogonki-modern.product_page .og-product-recommended .owl-prev::before,
body.ogonki-modern.product_page .og-product-similar .owl-prev::before {
    content: "‹" !important;
    font-size: 25px !important;
    line-height: 1 !important;
}

body.ogonki-modern.product_page .og-product-recommended .owl-next::before,
body.ogonki-modern.product_page .og-product-similar .owl-next::before {
    content: "›" !important;
    font-size: 25px !important;
    line-height: 1 !important;
}

/* --------------------------------------------------------------------------
   MOBILE / TABLET
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    body.ogonki-modern.product_page main > .container,
    body.ogonki-modern.product_page .page-wrap > .container {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    body.ogonki-modern.product_page .description_card_product {
        margin: 14px 0 0 !important;
        padding: 22px !important;
    }

    body.ogonki-modern.product_page .og-product-detail-tabs,
    body.ogonki-modern.product_page .og-product-service-tabs {
        margin-top: 26px !important;
    }

    body.ogonki-modern.product_page .og-product-review-form {
        margin-top: 36px !important;
    }
}

@media (max-width: 767px) {
    body.ogonki-modern.product_page main > .container,
    body.ogonki-modern.product_page .page-wrap > .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.ogonki-modern.product_page .slider_product_card,
    body.ogonki-modern.product_page .description_card_product {
        border-radius: 16px !important;
    }

    body.ogonki-modern.product_page .slider_product_card {
        padding: 8px !important;
    }

    body.ogonki-modern.product_page .description_card_product {
        padding: 18px 16px !important;
    }

    body.ogonki-modern.product_page .description_card_product .category_heading {
        font-size: 28px !important;
    }

    body.ogonki-modern.product_page .description_card_product .prod_attributes_div {
        margin: 16px 0 20px !important;
    }

    body.ogonki-modern.product_page .description_card_product .open-modalcart-buttom,
    body.ogonki-modern.product_page .description_card_product button[type="submit"] {
        width: 100% !important;
        min-width: 0 !important;
    }

    body.ogonki-modern.product_page .og-product-detail-tabs .nav-tabs,
    body.ogonki-modern.product_page .og-product-service-tabs .nav-tabs {
        overflow-x: auto !important;
        scrollbar-width: none !important;
        white-space: nowrap !important;
    }

    body.ogonki-modern.product_page .og-product-detail-tabs .nav-tabs::-webkit-scrollbar,
    body.ogonki-modern.product_page .og-product-service-tabs .nav-tabs::-webkit-scrollbar {
        display: none !important;
    }

    body.ogonki-modern.product_page .og-product-detail-tabs .tab-content,
    body.ogonki-modern.product_page .og-product-service-tabs .tab-content {
        padding-top: 16px !important;
        font-size: 14px !important;
        line-height: 1.64 !important;
    }

    body.ogonki-modern.product_page .og-product-review-form {
        width: 100% !important;
        margin-top: 30px !important;
        padding: 20px 16px !important;
        border-radius: 15px !important;
    }

    body.ogonki-modern.product_page .og-product-recommended,
    body.ogonki-modern.product_page .og-product-similar {
        margin-top: 38px !important;
    }

    body.ogonki-modern.product_page .og-product-recommended > .like_h2,
    body.ogonki-modern.product_page .og-product-recommended > h2,
    body.ogonki-modern.product_page .og-product-recommended > h3,
    body.ogonki-modern.product_page .og-product-similar > .like_h2,
    body.ogonki-modern.product_page .og-product-similar > h2,
    body.ogonki-modern.product_page .og-product-similar > h3 {
        font-size: 22px !important;
    }

    body.ogonki-modern.product_page .og-product-recommended .product,
    body.ogonki-modern.product_page .og-product-similar .product {
        padding: 10px !important;
        border-radius: 14px !important;
    }

    body.ogonki-modern.product_page .og-product-recommended .product .model_product,
    body.ogonki-modern.product_page .og-product-similar .product .model_product {
        min-height: 0 !important;
        font-size: 15px !important;
        line-height: 1.30 !important;
    }

    body.ogonki-modern.product_page .og-product-recommended .product .new_old_price,
    body.ogonki-modern.product_page .og-product-similar .product .new_old_price {
        grid-template-columns: minmax(82px, .8fr) minmax(0, 1.2fr) !important;
        padding-top: 12px !important;
    }

    body.ogonki-modern.product_page .og-product-recommended .product_label,
    body.ogonki-modern.product_page .og-product-similar .product_label {
        top: 16px !important;
        right: 16px !important;
    }
}

/* Headings can be siblings of the carousel in older SoloMono layouts. */
body.ogonki-modern.product_page .og-product-module-title {
    margin: 54px 0 18px !important;
    color: var(--og-product-text) !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 780 !important;
    letter-spacing: -.02em !important;
    text-align: left !important;
    text-transform: none !important;
}

body.ogonki-modern.product_page .og-product-recommended .product .price:not(.og-price-has-old) .new_price,
body.ogonki-modern.product_page .og-product-similar .product .price:not(.og-price-has-old) .new_price {
    grid-column: 1 / -1 !important;
}

@media (max-width: 767px) {
    body.ogonki-modern.product_page .og-product-module-title {
        margin-top: 38px !important;
        font-size: 22px !important;
    }
}

/* ========================================================================== 
   v0.6.34 — product-detail polish after live visual review
   01.10.2026
   Scope: Modern product page only. No SoloMono product/cart logic is changed.
   ========================================================================== */

/* 1) Product title: premium, compact, one line on desktop. */
@media (min-width: 992px) {
    body.ogonki-modern.product_page .description_card_product .category_heading {
        max-width: 100% !important;
        margin-bottom: 7px !important;
        overflow: hidden !important;
        font-size: clamp(24px, 1.55vw, 28px) !important;
        line-height: 1.12 !important;
        letter-spacing: -.032em !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
}

/* 2) The two top cards should size to their own content, not stretch to the
      height of the neighbouring column. This removes the large dead zones
      below the thumbnails / rating which the legacy layout can introduce. */
body.ogonki-modern.product_page .slider_product_card,
body.ogonki-modern.product_page .description_card_product {
    height: auto !important;
    min-height: 0 !important;
    align-self: flex-start !important;
}

body.ogonki-modern.product_page .slider_product_card {
    padding-bottom: 10px !important;
}

body.ogonki-modern.product_page .description_card_product {
    padding-bottom: 20px !important;
}

body.ogonki-modern.product_page .description_card_product .rating_product,
body.ogonki-modern.product_page .description_card_product [class*="rating_product"] {
    margin-top: 13px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Gallery thumb rail: keep it visually attached to the hero image. The
   selectors deliberately cover the common SoloMono/Owl/Slick thumb wrappers
   without touching the main-image navigation arrows. */
body.ogonki-modern.product_page .slider_product_card .slider-nav,
body.ogonki-modern.product_page .slider_product_card .product-thumbnails,
body.ogonki-modern.product_page .slider_product_card .product_thumbnails,
body.ogonki-modern.product_page .slider_product_card .small_slider,
body.ogonki-modern.product_page .slider_product_card .small-images,
body.ogonki-modern.product_page .slider_product_card .small_images,
body.ogonki-modern.product_page .slider_product_card .owl-thumbs,
body.ogonki-modern.product_page .slider_product_card [class*="thumbnail-list"],
body.ogonki-modern.product_page .slider_product_card [class*="thumb-list"],
body.ogonki-modern.product_page .slider_product_card [class*="thumbs"] {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.ogonki-modern.product_page .slider_product_card [class*="thumb"] .owl-nav,
body.ogonki-modern.product_page .slider_product_card [class*="thumb"] .slick-arrow,
body.ogonki-modern.product_page .slider_product_card .slider-nav .slick-arrow,
body.ogonki-modern.product_page .slider_product_card .small_slider .owl-nav {
    display: none !important;
}

body.ogonki-modern.product_page .slider_product_card .owl-thumb-item,
body.ogonki-modern.product_page .slider_product_card .thumbnail,
body.ogonki-modern.product_page .slider_product_card .small_img,
body.ogonki-modern.product_page .slider_product_card [class*="thumb"] a {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 3) Details/service tabs. Typography is normal sentence case. */
body.ogonki-modern.product_page .og-product-detail-tabs .tab-content,
body.ogonki-modern.product_page .og-product-service-tabs .tab-content,
body.ogonki-modern.product_page .og-product-detail-tabs .tab-content *,
body.ogonki-modern.product_page .og-product-service-tabs .tab-content * {
    text-transform: none !important;
}

/* The huge legacy delivery article is still present in DOM for compatibility,
   but Modern product cards show only a concise purchase-decision summary. */
body.ogonki-modern.product_page .og-product-service-tabs .og-service-original {
    display: none !important;
}

body.ogonki-modern.product_page .og-product-service-tabs .og-product-service-pane {
    padding-top: 0 !important;
}

body.ogonki-modern.product_page .og-product-service-tabs .og-service-summary {
    display: grid !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid var(--og-product-line) !important;
    border-radius: 15px !important;
    background: var(--og-product-surface) !important;
    color: var(--og-product-text) !important;
    box-shadow: none !important;
}

body.ogonki-modern.product_page .og-product-service-tabs .og-service-kicker {
    color: var(--og-product-muted) !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .03em !important;
}

body.ogonki-modern.product_page .og-product-service-tabs .og-service-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

body.ogonki-modern.product_page .og-product-service-tabs .og-service-item {
    min-width: 0 !important;
    padding: 12px 13px !important;
    border: 1px solid var(--og-product-line) !important;
    border-radius: 12px !important;
    background: var(--og-product-surface-soft) !important;
    color: var(--og-product-soft) !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

body.ogonki-modern.product_page .og-product-service-tabs .og-service-item strong {
    display: block !important;
    margin-bottom: 3px !important;
    color: var(--og-product-text) !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 760 !important;
}

body.ogonki-modern.product_page .og-product-service-tabs .og-service-more {
    display: inline-flex !important;
    width: max-content !important;
    align-items: center !important;
    gap: 5px !important;
    color: var(--og-product-accent-strong) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.ogonki-modern.product_page .og-product-service-tabs .og-service-more::after {
    content: "→" !important;
    font-size: 14px !important;
}

/* 4) Reviews: one clean vertical flow. Legacy two-column floats are disabled
      only inside the Reviews pane. */
body.ogonki-modern.product_page .og-product-reviews-pane {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    overflow: visible !important;
}

body.ogonki-modern.product_page .og-product-reviews-pane::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

body.ogonki-modern.product_page .og-product-reviews-pane > .row,
body.ogonki-modern.product_page .og-product-reviews-pane > [class*="col-"],
body.ogonki-modern.product_page .og-product-reviews-pane .reviews,
body.ogonki-modern.product_page .og-product-reviews-pane .comments,
body.ogonki-modern.product_page .og-product-reviews-pane [class*="review-list"],
body.ogonki-modern.product_page .og-product-reviews-pane [class*="comment-list"] {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}


body.ogonki-modern.product_page .og-product-reviews-pane .review,
body.ogonki-modern.product_page .og-product-reviews-pane .review_item,
body.ogonki-modern.product_page .og-product-reviews-pane .review-item,
body.ogonki-modern.product_page .og-product-reviews-pane .comment,
body.ogonki-modern.product_page .og-product-reviews-pane .comment_item,
body.ogonki-modern.product_page .og-product-reviews-pane .comment-item {
    margin: 0 0 10px !important;
    padding: 14px 16px !important;
    border: 1px solid var(--og-product-line) !important;
    border-radius: 12px !important;
    background: var(--og-product-surface) !important;
    color: var(--og-product-soft) !important;
    box-shadow: none !important;
}

body.ogonki-modern.product_page .og-product-reviews-pane a {
    text-transform: none !important;
}

body.ogonki-modern.product_page .og-product-reviews-pane a[href*="more"],
body.ogonki-modern.product_page .og-product-reviews-pane .more,
body.ogonki-modern.product_page .og-product-reviews-pane .show_more,
body.ogonki-modern.product_page .og-product-reviews-pane [class*="more"] {
    display: inline-flex !important;
    margin-top: 8px !important;
    color: var(--og-product-accent-strong) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.ogonki-modern.product_page .og-product-review-form {
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
    margin: 28px 0 0 !important;
    padding: 22px 24px 24px !important;
    border-radius: 15px !important;
}

body.ogonki-modern.product_page .og-product-review-form h2,
body.ogonki-modern.product_page .og-product-review-form h3,
body.ogonki-modern.product_page .og-product-review-form .like_h2,
body.ogonki-modern.product_page .og-product-review-form [class*="heading"] {
    text-align: left !important;
}

/* 5) Recommended / Similar: catalogue-width cards, not narrow strips and not
      edge-to-edge across the viewport. Owl is tuned to 3 cards in JS. */
body.ogonki-modern.product_page .og-product-recommended,
body.ogonki-modern.product_page .og-product-similar {
    width: min(1180px, calc(100% - 44px)) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.ogonki-modern.product_page .og-product-recommended .product_slider,
body.ogonki-modern.product_page .og-product-similar .product_slider {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

body.ogonki-modern.product_page .og-product-recommended .owl-stage-outer,
body.ogonki-modern.product_page .og-product-similar .owl-stage-outer {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

body.ogonki-modern.product_page .og-product-recommended .product,
body.ogonki-modern.product_page .og-product-similar .product {
    padding: 11px !important;
    border-radius: 16px !important;
}

body.ogonki-modern.product_page .og-product-recommended .product .model_product,
body.ogonki-modern.product_page .og-product-similar .product .model_product {
    min-height: 42px !important;
    font-size: 14px !important;
    line-height: 1.32 !important;
}

body.ogonki-modern.product_page .og-product-recommended .product .p_img_href,
body.ogonki-modern.product_page .og-product-similar .product .p_img_href {
    margin-bottom: 12px !important;
}

/* Keep carousel arrows close to the constrained module rather than the viewport. */
body.ogonki-modern.product_page .og-product-recommended .owl-prev,
body.ogonki-modern.product_page .og-product-similar .owl-prev {
    left: -18px !important;
}

body.ogonki-modern.product_page .og-product-recommended .owl-next,
body.ogonki-modern.product_page .og-product-similar .owl-next {
    right: -18px !important;
}

@media (max-width: 991px) {
    body.ogonki-modern.product_page .og-product-recommended,
    body.ogonki-modern.product_page .og-product-similar {
        width: calc(100% - 32px) !important;
    }

    body.ogonki-modern.product_page .og-product-service-tabs .og-service-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    body.ogonki-modern.product_page .description_card_product .category_heading {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        font-size: 26px !important;
        line-height: 1.14 !important;
    }

    body.ogonki-modern.product_page .og-product-service-tabs .og-service-summary {
        padding: 15px !important;
    }

    body.ogonki-modern.product_page .og-product-review-form {
        margin-top: 22px !important;
        padding: 18px 15px 20px !important;
    }

    body.ogonki-modern.product_page .og-product-recommended,
    body.ogonki-modern.product_page .og-product-similar {
        width: calc(100% - 24px) !important;
    }

    body.ogonki-modern.product_page .og-product-recommended .owl-prev,
    body.ogonki-modern.product_page .og-product-similar .owl-prev {
        left: -8px !important;
    }

    body.ogonki-modern.product_page .og-product-recommended .owl-next,
    body.ogonki-modern.product_page .og-product-similar .owl-next {
        right: -8px !important;
    }
}

/* Keep related-section headings aligned with the constrained card rail. */
body.ogonki-modern.product_page .og-product-module-title {
    width: min(1180px, calc(100% - 44px)) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 991px) {
    body.ogonki-modern.product_page .og-product-module-title {
        width: calc(100% - 32px) !important;
    }
}

@media (max-width: 767px) {
    body.ogonki-modern.product_page .og-product-module-title {
        width: calc(100% - 24px) !important;
    }
}

/* ========================================================================== 
   v0.6.35 — product-card live polish after 01.10.2026 review
   Scope: Modern product page only. Classic/Solo Home and store logic untouched.
   ========================================================================== */

/* A. Gallery: remove the remaining legacy reserve below the thumbnail rail. */
body.ogonki-modern.product_page .slider_product_card {
    padding-bottom: 12px !important;
}
body.ogonki-modern.product_page .slider_product_card .small_slider,
body.ogonki-modern.product_page .slider_product_card .small-images,
body.ogonki-modern.product_page .slider_product_card .small_images,
body.ogonki-modern.product_page .slider_product_card .slider-nav,
body.ogonki-modern.product_page .slider_product_card .product-thumbnails,
body.ogonki-modern.product_page .slider_product_card .product_thumbnails,
body.ogonki-modern.product_page .slider_product_card .owl-thumbs,
body.ogonki-modern.product_page .slider_product_card [class*="thumb-list"],
body.ogonki-modern.product_page .slider_product_card [class*="thumbnail-list"] {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
body.ogonki-modern.product_page .slider_product_card .small_slider .owl-stage-outer,
body.ogonki-modern.product_page .slider_product_card .small_slider .owl-stage,
body.ogonki-modern.product_page .slider_product_card .small_slider .owl-item,
body.ogonki-modern.product_page .slider_product_card .owl-thumbs .owl-stage-outer,
body.ogonki-modern.product_page .slider_product_card .owl-thumbs .owl-stage,
body.ogonki-modern.product_page .slider_product_card .owl-thumbs .owl-item {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
body.ogonki-modern.product_page .slider_product_card > :last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* B. Product copy and review stars must remain readable in night mode even
      when legacy content contains dark inline/theme colours. */
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-detail-tabs .tab-content,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-detail-tabs .tab-content p,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-detail-tabs .tab-content li,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-detail-tabs .tab-content span,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-detail-tabs .tab-content b,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-detail-tabs .tab-content strong,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-reviews-pane,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-reviews-pane p,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-reviews-pane span,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-review-form,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-review-form p,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-review-form label {
    color: var(--og-product-soft) !important;
}
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-detail-tabs .tab-content h1,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-detail-tabs .tab-content h2,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-detail-tabs .tab-content h3,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-detail-tabs .tab-content h4,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-detail-tabs .tab-content h5,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-detail-tabs .tab-content h6,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-review-form h1,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-review-form h2,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-review-form h3,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-review-form .like_h2 {
    color: var(--og-product-text) !important;
}
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-review-form [class*="star"],
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-review-form [class*="rating"],
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-review-form [class*="star"]::before,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-review-form [class*="star"]::after,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-reviews-pane [class*="star"],
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-reviews-pane [class*="rating"] {
    color: #e2ba50 !important;
    opacity: 1 !important;
}

/* C. Related cards: own the card shell completely so legacy hover borders,
      inset frames and focus outlines cannot leak through from Solo Home. */
body.ogonki-modern.product_page .og-product-recommended .product,
body.ogonki-modern.product_page .og-product-recommended .product:hover,
body.ogonki-modern.product_page .og-product-recommended .product:focus,
body.ogonki-modern.product_page .og-product-recommended .product:focus-within,
body.ogonki-modern.product_page .og-product-similar .product,
body.ogonki-modern.product_page .og-product-similar .product:hover,
body.ogonki-modern.product_page .og-product-similar .product:focus,
body.ogonki-modern.product_page .og-product-similar .product:focus-within {
    border: 1px solid var(--og-product-line) !important;
    outline: 0 !important;
    box-shadow: 0 10px 28px rgba(18, 25, 31, .07) !important;
    transform: none !important;
}
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-recommended .product,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-recommended .product:hover,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-similar .product,
html[data-og-theme="night"] body.ogonki-modern.product_page .og-product-similar .product:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,.18) !important;
}
body.ogonki-modern.product_page .og-product-recommended .product::before,
body.ogonki-modern.product_page .og-product-recommended .product::after,
body.ogonki-modern.product_page .og-product-similar .product::before,
body.ogonki-modern.product_page .og-product-similar .product::after {
    content: none !important;
    display: none !important;
}
body.ogonki-modern.product_page .og-product-recommended .product .p_description,
body.ogonki-modern.product_page .og-product-recommended .product .p_description:hover,
body.ogonki-modern.product_page .og-product-recommended .product .p_img_href,
body.ogonki-modern.product_page .og-product-recommended .product .p_img_href:hover,
body.ogonki-modern.product_page .og-product-recommended .product .model_product,
body.ogonki-modern.product_page .og-product-recommended .product .model_product:hover,
body.ogonki-modern.product_page .og-product-similar .product .p_description,
body.ogonki-modern.product_page .og-product-similar .product .p_description:hover,
body.ogonki-modern.product_page .og-product-similar .product .p_img_href,
body.ogonki-modern.product_page .og-product-similar .product .p_img_href:hover,
body.ogonki-modern.product_page .og-product-similar .product .model_product,
body.ogonki-modern.product_page .og-product-similar .product .model_product:hover {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* D. Wider density. SoloMono outputs Bootstrap col-2 wrappers even when the
      Modern module is not an Owl instance, so widen those wrappers directly. */
body.ogonki-modern.product_page .og-product-recommended .row_catalog_products,
body.ogonki-modern.product_page .og-product-recommended.product_slider,
body.ogonki-modern.product_page .og-product-recommended .product_slider,
body.ogonki-modern.product_page .og-product-similar.row_catalog_products,
body.ogonki-modern.product_page .og-product-similar .row_catalog_products,
body.ogonki-modern.product_page .og-product-similar.product_info_slider,
body.ogonki-modern.product_page .og-product-similar .product_info_slider {
    gap: 16px !important;
}

@media (min-width: 1280px) {
    body.ogonki-modern.product_page .og-product-recommended .row_catalog_products > [class*="col-"],
    body.ogonki-modern.product_page .og-product-recommended.product_slider > [class*="col-"],
    body.ogonki-modern.product_page .og-product-recommended .product_slider > [class*="col-"],
    body.ogonki-modern.product_page .og-product-similar.row_catalog_products > [class*="col-"],
    body.ogonki-modern.product_page .og-product-similar .row_catalog_products > [class*="col-"],
    body.ogonki-modern.product_page .og-product-similar.product_info_slider > [class*="col-"],
    body.ogonki-modern.product_page .og-product-similar .product_info_slider > [class*="col-"] {
        float: none !important;
        width: calc(25% - 12px) !important;
        max-width: calc(25% - 12px) !important;
        flex: 0 0 calc(25% - 12px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    body.ogonki-modern.product_page .og-product-recommended .row_catalog_products > [class*="col-"],
    body.ogonki-modern.product_page .og-product-recommended.product_slider > [class*="col-"],
    body.ogonki-modern.product_page .og-product-recommended .product_slider > [class*="col-"],
    body.ogonki-modern.product_page .og-product-similar.row_catalog_products > [class*="col-"],
    body.ogonki-modern.product_page .og-product-similar .row_catalog_products > [class*="col-"],
    body.ogonki-modern.product_page .og-product-similar.product_info_slider > [class*="col-"],
    body.ogonki-modern.product_page .og-product-similar .product_info_slider > [class*="col-"] {
        float: none !important;
        width: calc(33.333% - 11px) !important;
        max-width: calc(33.333% - 11px) !important;
        flex: 0 0 calc(33.333% - 11px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 620px) and (max-width: 991px) {
    body.ogonki-modern.product_page .og-product-recommended [class*="col-"][class*="col_product"],
    body.ogonki-modern.product_page .og-product-similar [class*="col-"][class*="col_product"] {
        float: none !important;
        width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        flex: 0 0 calc(50% - 8px) !important;
    }
}

/* E. Keep Buy buttons. */
body.ogonki-modern.product_page .og-product-recommended .product .add2cart,
body.ogonki-modern.product_page .og-product-recommended .product .added2cart,
body.ogonki-modern.product_page .og-product-similar .product .add2cart,
body.ogonki-modern.product_page .og-product-similar .product .added2cart {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* F. Carousel controls: one chevron only, larger touch/click target. */
body.ogonki-modern.product_page .og-product-recommended .owl-prev,
body.ogonki-modern.product_page .og-product-recommended .owl-next,
body.ogonki-modern.product_page .og-product-similar .owl-prev,
body.ogonki-modern.product_page .og-product-similar .owl-next,
body.ogonki-modern.product_page .og-product-similar .slick-prev,
body.ogonki-modern.product_page .og-product-similar .slick-next,
body.ogonki-modern.product_page .og-product-similar [class*="slider-prev"],
body.ogonki-modern.product_page .og-product-similar [class*="slider-next"] {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 999px !important;
    font-size: 0 !important;
}
body.ogonki-modern.product_page .og-product-recommended .owl-prev > *,
body.ogonki-modern.product_page .og-product-recommended .owl-next > *,
body.ogonki-modern.product_page .og-product-similar .owl-prev > *,
body.ogonki-modern.product_page .og-product-similar .owl-next > *,
body.ogonki-modern.product_page .og-product-similar .slick-prev > *,
body.ogonki-modern.product_page .og-product-similar .slick-next > * {
    display: none !important;
}
body.ogonki-modern.product_page .og-product-recommended .owl-prev::after,
body.ogonki-modern.product_page .og-product-recommended .owl-next::after,
body.ogonki-modern.product_page .og-product-similar .owl-prev::after,
body.ogonki-modern.product_page .og-product-similar .owl-next::after,
body.ogonki-modern.product_page .og-product-similar .slick-prev::after,
body.ogonki-modern.product_page .og-product-similar .slick-next::after {
    content: none !important;
    display: none !important;
}
body.ogonki-modern.product_page .og-product-recommended .owl-prev::before,
body.ogonki-modern.product_page .og-product-similar .owl-prev::before,
body.ogonki-modern.product_page .og-product-similar .slick-prev::before,
body.ogonki-modern.product_page .og-product-similar [class*="slider-prev"]::before {
    content: "‹" !important;
    display: block !important;
    color: var(--og-product-accent-strong) !important;
    font-size: 30px !important;
    line-height: .8 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 400 !important;
}
body.ogonki-modern.product_page .og-product-recommended .owl-next::before,
body.ogonki-modern.product_page .og-product-similar .owl-next::before,
body.ogonki-modern.product_page .og-product-similar .slick-next::before,
body.ogonki-modern.product_page .og-product-similar [class*="slider-next"]::before {
    content: "›" !important;
    display: block !important;
    color: var(--og-product-accent-strong) !important;
    font-size: 30px !important;
    line-height: .8 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 400 !important;
}



/* ==========================================================================
   v0.6.36 — related rails geometry fix\n   --------------------------------------------------------------------------\n   SoloMono has two different related-product DOMs on the product page:\n   “Рекомендуемые” can be a plain #featured list, while “Похожие товары” can\n   be a non-Owl product_info_slider. v0.6.35 widened card wrappers but also\n   removed their Bootstrap float; without a layout context the recommended\n   cards therefore stacked vertically. These classes are added only by the\n   Modern product JS and never alter SoloMono product/cart logic.\n   ========================================================================== */

body.ogonki-modern.product_page .og-product-recommended .og-related-static-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: stretch !important;
}

body.ogonki-modern.product_page .og-product-recommended .og-related-static-grid > [class*="col-"] {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

body.ogonki-modern.product_page .og-product-similar {
    position: relative !important;
}

body.ogonki-modern.product_page .og-product-similar .og-related-static-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 0 2px 8px !important;
}
body.ogonki-modern.product_page .og-product-similar .og-related-static-carousel::-webkit-scrollbar {
    display: none !important;
}

body.ogonki-modern.product_page .og-product-similar .og-related-static-carousel > [class*="col-"] {
    float: none !important;
    width: calc((100% - 48px) / 4) !important;
    max-width: calc((100% - 48px) / 4) !important;
    min-width: calc((100% - 48px) / 4) !important;
    flex: 0 0 calc((100% - 48px) / 4) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    scroll-snap-align: start !important;
}

/* The old SoloMono slider controls are intentionally hidden only when the
   Modern static carousel has taken ownership of this rail. */
body.ogonki-modern.product_page .og-product-similar.og-related-static-owned .owl-nav,
body.ogonki-modern.product_page .og-product-similar.og-related-static-owned .owl-controls,
body.ogonki-modern.product_page .og-product-similar.og-related-static-owned .slick-prev,
body.ogonki-modern.product_page .og-product-similar.og-related-static-owned .slick-next,
body.ogonki-modern.product_page .og-product-similar.og-related-static-owned [class*="slider-prev"],
body.ogonki-modern.product_page .og-product-similar.og-related-static-owned [class*="slider-next"] {
    display: none !important;
}

body.ogonki-modern.product_page .og-related-static-nav {
    position: absolute !important;
    z-index: 20 !important;
    top: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border: 1px solid rgba(126, 181, 59, .55) !important;
    border-radius: 999px !important;
    background: var(--og-product-surface) !important;
    color: var(--og-product-accent-strong) !important;
    box-shadow: 0 8px 22px rgba(18, 25, 31, .10) !important;
    font: 400 30px/.8 Arial, Helvetica, sans-serif !important;
    cursor: pointer !important;
    transform: translateY(-10%) !important;
}
body.ogonki-modern.product_page .og-related-static-prev { left: -24px !important; }
body.ogonki-modern.product_page .og-related-static-next { right: -24px !important; }
html[data-og-theme="night"] body.ogonki-modern.product_page .og-related-static-nav {
    background: #11181d !important;
    border-color: rgba(168, 220, 79, .48) !important;
    color: #b7f25c !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .28) !important;
}

@media (max-width: 1279px) and (min-width: 992px) {
    body.ogonki-modern.product_page .og-product-recommended .og-related-static-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    body.ogonki-modern.product_page .og-product-similar .og-related-static-carousel > [class*="col-"] {
        width: calc((100% - 32px) / 3) !important;
        max-width: calc((100% - 32px) / 3) !important;
        min-width: calc((100% - 32px) / 3) !important;
        flex-basis: calc((100% - 32px) / 3) !important;
    }
}

@media (max-width: 991px) and (min-width: 620px) {
    body.ogonki-modern.product_page .og-product-recommended .og-related-static-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    body.ogonki-modern.product_page .og-product-similar .og-related-static-carousel > [class*="col-"] {
        width: calc((100% - 16px) / 2) !important;
        max-width: calc((100% - 16px) / 2) !important;
        min-width: calc((100% - 16px) / 2) !important;
        flex-basis: calc((100% - 16px) / 2) !important;
    }
    body.ogonki-modern.product_page .og-related-static-prev { left: -12px !important; }
    body.ogonki-modern.product_page .og-related-static-next { right: -12px !important; }
}

@media (max-width: 619px) {
    body.ogonki-modern.product_page .og-product-recommended .og-related-static-grid {
        grid-template-columns: 1fr !important;
    }
    body.ogonki-modern.product_page .og-product-similar .og-related-static-carousel > [class*="col-"] {
        width: calc(86% - 8px) !important;
        max-width: calc(86% - 8px) !important;
        min-width: calc(86% - 8px) !important;
        flex-basis: calc(86% - 8px) !important;
    }
    body.ogonki-modern.product_page .og-related-static-nav {
        width: 42px !important;
        height: 42px !important;
        font-size: 27px !important;
    }
    body.ogonki-modern.product_page .og-related-static-prev { left: -7px !important; }
    body.ogonki-modern.product_page .og-related-static-next { right: -7px !important; }
}


/* ==========================================================================
   v0.6.38 — confirmed Similar geometry
   --------------------------------------------------------------------------
   Functional card width/gap now comes from the native Owl re-init in
   ogonki-modern-product.js: 4 desktop items and a real 18px Owl margin.
   Do not force .owl-item width here; the v0.6.37 visual shell is retained.
   ========================================================================== */

/* ==========================================================================
   v0.6.37 — native #drugie Owl restoration
   --------------------------------------------------------------------------
   The product template already renders Similar as #drugie.product_slider and
   SoloMono initializes a working Owl Carousel for it. Modern must not replace
   that rail. We only constrain its visual width and style the native controls.
   ========================================================================== */

body.ogonki-modern.product_page .og-product-similar {
    width: min(1180px, calc(100% - 44px)) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
}

body.ogonki-modern.product_page .og-product-similar #drugie.product_slider,
body.ogonki-modern.product_page .og-product-similar #drugie.owl-carousel {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

body.ogonki-modern.product_page .og-product-similar #drugie .owl-stage-outer {
    overflow: hidden !important;
    width: 100% !important;
}

/* Owl owns item width. Never force pixel/percentage widths here. */
body.ogonki-modern.product_page .og-product-similar #drugie .owl-item {
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
}

body.ogonki-modern.product_page .og-product-similar #drugie .owl-item > .col_product {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Disable the abandoned v0.6.36 fallback if an old DOM fragment survives an
   AJAX refresh. Native Owl is the only owner of Similar from v0.6.37 onward. */
body.ogonki-modern.product_page .og-product-similar .og-related-static-nav {
    display: none !important;
}
body.ogonki-modern.product_page .og-product-similar .og-related-static-carousel {
    display: block !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
}

/* Restore and enlarge the native working Owl controls. */
body.ogonki-modern.product_page .og-product-similar #drugie .owl-nav {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none !important;
}
body.ogonki-modern.product_page .og-product-similar #drugie .owl-prev,
body.ogonki-modern.product_page .og-product-similar #drugie .owl-next {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 50% !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 30 !important;
}
body.ogonki-modern.product_page .og-product-similar #drugie .owl-prev {
    left: -24px !important;
}
body.ogonki-modern.product_page .og-product-similar #drugie .owl-next {
    right: -24px !important;
}

@media (max-width: 991px) {
    body.ogonki-modern.product_page .og-product-similar {
        width: calc(100% - 32px) !important;
    }
    body.ogonki-modern.product_page .og-product-similar #drugie .owl-prev {
        left: -14px !important;
    }
    body.ogonki-modern.product_page .og-product-similar #drugie .owl-next {
        right: -14px !important;
    }
}

@media (max-width: 767px) {
    body.ogonki-modern.product_page .og-product-similar {
        width: calc(100% - 24px) !important;
    }
}
\n\n/* ==========================================================================
   v0.6.40 — XSell / “Сопутствующие товары”: real rail detection
   --------------------------------------------------------------------------
   XSell markup can wrap .col_product one level deeper than the usual SoloMono
   product rows. JS now tags the real shared parent as .og-accessories-static-grid
   and each direct item as .og-accessory-item. Two products therefore render
   side-by-side at normal catalogue-card width instead of stacking vertically.
   ========================================================================== */

body.ogonki-modern.product_page .og-product-accessories {
    width: min(1180px, calc(100% - 44px)) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.ogonki-modern.product_page .og-product-accessories .og-accessories-static-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
    justify-content: start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.ogonki-modern.product_page .og-product-accessories .og-accessories-static-grid > .og-accessory-item {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.ogonki-modern.product_page .og-product-accessories .og-accessories-static-grid > .og-accessory-item .product {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
}

/* Keep the already-approved related-card visuals and Buy button for XSell. */
body.ogonki-modern.product_page .og-product-accessories .product {
    padding: 11px !important;
    border-radius: 16px !important;
}
body.ogonki-modern.product_page .og-product-accessories .product .p_img_href {
    margin-bottom: 12px !important;
}
body.ogonki-modern.product_page .og-product-accessories .product .model_product {
    min-height: 42px !important;
    font-size: 14px !important;
    line-height: 1.32 !important;
}
body.ogonki-modern.product_page .og-product-accessories .product .add2cart,
body.ogonki-modern.product_page .og-product-accessories .product .added2cart {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 1279px) and (min-width: 992px) {
    body.ogonki-modern.product_page .og-product-accessories .og-accessories-static-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}

@media (max-width: 991px) and (min-width: 620px) {
    body.ogonki-modern.product_page .og-product-accessories {
        width: calc(100% - 32px) !important;
    }
    body.ogonki-modern.product_page .og-product-accessories .og-accessories-static-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 619px) {
    body.ogonki-modern.product_page .og-product-accessories {
        width: calc(100% - 24px) !important;
    }
    body.ogonki-modern.product_page .og-product-accessories .og-accessories-static-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

/* v0.7.12 — Full product title 1.0.0, 2026-10-22.
 * Modern product detail only. Overrides v0.6.34 desktop nowrap/ellipsis.
 * Keep the native title text, responsive font sizes and SKU DOM unchanged.
 * Auto height accommodates translated names; anywhere handles unbroken tokens.
 * No catalogue/recommendation title rules, JS or purchase logic are changed.
 */
body.ogonki-modern.product_page .description_card_product .category_heading {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
}
