/* Fixes for Cumulative Layout Shift (CLS) */

/* Condition 1: Hide aside and page title for specific page types */
body.hide-aside-and-page-title .page-title,
body.hide-aside-and-page-title .content-wrapper > .wrapper aside {
    display: none;
}

body.hide-aside-and-page-title .content-wrapper > .wrapper .content {
    margin-left: unset;
    margin-right: unset;
    padding-left: unset;
    padding-right: unset;
    min-height: unset;
}

/* Condition 2: Hide page title for other specific page types */
body.hide-page-title .page-title {
    display: none;
}

/* Condition 3: Styles for main news detail pages */
body.main-news-detail-page .main_news > h1 {
    display: none;
}

body.main-news-detail-page .page-title {
    padding: 20px 57px;
}

/* Condition 4: Styles for print version */
body.print-version .hiddenOnPrintPage {
    display: none !important;
}

body.print-version .page-title {
    background: none;
}

body.print-version .page-wrapper .content-wrapper > .wrapper .content {
    margin-left: 0px;
    min-height: auto;
}

body.print-version article.product .info {
    margin-left: 340px;
}

body.print-version article.product .images {
    width: auto;
}

body.print-version article.product .images .image {
    height: auto;
}

body.print-version article.product .images ul.pc .image-wrap {
    height: auto;
    width: auto;
}

body.print-version article.product .info dl {
    margin: 0px;
}

body.print-version article.product .params dl {
    line-height: 1;
    padding: 5px 0;
}

body.print-version .panel .dropdown,
body.print-version .panel a.cart {
    position: absolute;
    display: none !important;
}
