#menu1 .table {
    width: 100% !important;
}
#review .table, #review div, #review table {
    width: 100% !important;
}
.author_item-img img {
    border-radius: 100px;
}
.partner_wrap .partner_content {
    padding-bottom: 50px !important;
}
.ptservice_main-title {
    font-weight: 500 !important;
}
.book_box {
    height: 100% !important;
    margin: 0px !important;
}
.tooltip {
    position: relative;
    display: inline-block;
    opacity: 1 !important;
    cursor: pointer;
}
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 140px;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        z-index: 1;
        bottom: 150%;
        left: 50%;
        margin-left: -75px;
        transition: opacity 0.3s;
    }
        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }
    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }
.toast-title {
    color: white !important;
}
.brcrumb_info-title {
    font-size: 25px !important;
}
.item-img_sale {
    text-align: center;
    font-size: 11px;
    text-align: center;
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eb5757;
    right: 8px;
    top: 5px;
    color: #fff;
    font-size: 12px;
}
.contact {
    width: 46px;
    position: fixed;
    bottom: 150px;
    right: 0;
    list-style: none;
    padding: 4px;
    background: #fff;
    box-shadow: 0 0 50px 0 rgba(82,63,105,.15);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1;
}
    .contact li {
        background: #f4f4f8;
    }
        .contact li:first-child {
            margin-bottom: 4px;
        }
    .contact .contact-item {
        padding: 5px;
    }
.contact-item {
    position: relative;
    display: inline-block;
}
    .contact-item .tooltiptext {
        visibility: hidden;
        width: max-content;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        position: absolute;
        z-index: 1;
        right: 45px;
        padding: 5px 8px;
        font-size: 13px;
    }
    .contact-item:hover .tooltiptext {
        visibility: visible;
    }
.contact-banner {
    position: fixed;
    bottom: 5px;
    left: 5px;
    padding: 5px;
    box-shadow: 0 0 50px 0 rgb(82 63 105 / 15%);
    z-index: 1;
    border-radius: 5px;
    max-width: 390px;
}
.banner-close-wrapper {
    position: absolute;
    right: 8px;
    top: 8px;
}
.chat-close-button {
    background-color: rgba(137,146,164,.7);
    color: #fff;
    border: none;
    outline: none;
    height: 28px;
    width: 40px;
    padding: 0 12px 4px;
    font-size: 16px;
    border-radius: 20px;
}
.copy_text
{
    z-index: 1 !important
}
.collection-book .collection-slider_item {
	max-height: inherit!important;
}
.hotline_icon svg path, .header_button.account svg path {fill: #d70000;}
.service-box_section, .author-box_section, .home_page > .section:nth-child(10) {
    display: none;
}
.partner_wrap .partner_list .partner_list-link .link_thumb img {width: 100px; height:auto}

.menu_component {
    background: #C50000;
}
.menu_component .menu_category.active, .menu_component .menu_category:hover {
    background: #dd4646;
}
.section_header .header_wrap .header_button.account {
    border-color: #C50000;
    color: #C50000;
}
.section_header .header_button.account .my-account,.info-list .item-link i {
    color: #C50000;
}
.menu_component .menu_my_book a {    
    color: #C50000;
}
.section_header .header_wrap .header_button.cart {
    background: #C50000;
}
.section_header .header_wrap .header_info .header_hotline.blue a, .section_header .header_wrap .header_info .header_hotline.blue p, .section_header .hotline_icon i {
    color: #C50000;
}
.footer-copyright {
    background-color: #C50000;
}
.menu_component .menu_category .category_show_all {
    color: #C50000;
}
.book_content .color-AA8B47 {
    color: #FF3D00;
}
.partner_wrap .partner_head .partner_title-vector {
    background-color: #C50000;    
}
.printer-list-heading::before {
    background: #C50000;
}
.home_page .banner_section {
    background: #C50000;
}
.home_page .banner_section {
    background: #fff url(/content/assets/images/big-home-grid-bg.svg);
    background-repeat: repeat;
}
.menu_component .menu_category .dropdown-menu .category_link.maintainHover {
    color: #C50000!important;
    border-color: #C50000;
}
.menu_component .menu_category .dropdown-menu .category_link.maintainHover .category_icon svg path {
    fill: #C50000!important;
}
.menu_component .menu_category .dropdown-menu .popover .submenu_item .title::before {
    background: #C50000;
}
.brcrumb {
    background-color: #fff;
    margin-bottom: 24px;
}
.menu_component .menu_category.active, .menu_component .menu_category:hover {
    background: #dd4646;
}
.tabbar .nav-item-ct .nav-custom.active {
    background-color: #C50000;
    color: #fff;
}
.filter_menu-box .box-languages_item input:checked~label {
    background-color: #C50000;
    color: #fff;
}
.filter_menu-box .box-price_form {
    background: #C50000;    
}
.menu_component .menu_category {
    background: #C50000;
}
.menu_component .menu_search .search_submit .button_icon {
    background: #950000;
}
.login-wrap .login_email-btn {
    background-color: #C50000;
}
.login-wrap .login_email-heading a {
    color: #C50000;
}
.register-wrap .register_email-heading a {    
    color: #C50000;
}
.register-wrap .register_email-btn {
    background-color: #C50000;
}
.section_header .header_wrap .header_button .header-account_info .info-avatar_img {
    border: 2px solid #C50000;
}
.change_password-content .form-group button {
    background: #C50000;
}
.sidebar .sidebar_user .user_photo {
    border: 2px solid #C50000;
}
.topic-headding .topic-box .box_item {    
     background-image: url(/content/assets/images/cat-bg.svg); 
    background-color: #C50000;
}
.collection-book .collection-slider .item-content_price span {
    color: #C50000;
}
.menu_component .menu_category .dropdown-menu {
    background: #F9F9F9;
    border: 1px solid #E9E9E9;
}
.comment-box .comment_text .btn-submit a {
    background: #C50000;
}
.comment-box .comment_title::before {
    background: #C50000;
}
.component_pagination ul li a {    
    color: #C50000;    
}
.component_pagination ul li.active {
    background-color: #C50000;
}
.component_pagination ul li:hover {
    background-color: #C50000;    
}
.component_pagination ul .pagination_list-btn a svg:hover rect {
    fill: #C50000;
}
.footer .footer_content .list-sty .content-list_item a:hover {
    color: #C50000;
}
.footer .footer_info .footer_content-list .content-list_item:hover {
    color: #C50000;
}
.detail .contentBook .nav-tabs .nav-item .nav-link.active {
    border-bottom: 5px solid #C50000!important;
}
.menu_component-mobile {
    background: #C50000;    
}
.section_header-mobile .header_wrap .header_button {    
    color: #C50000;
    border: 1px solid #C50000;    
}
.section_header-mobile .header_wrap .header_button svg path {
    transition: .3s ease;
    fill: #C50000;
}
.section_header-mobile .header_wrap .header_button svg path {
    fill: #C50000;
}
.topview-content .position-relative.active::before {    
    background: #C50000;   
}
.checkout_mb .group_item .icon-item svg path {
    fill: #e1afb1;
}
.checkout_mb .icon-item.active svg path {
    fill: #C50000;
}
.checkout_mb .group_item .icon-item {
    border: 1px solid #e1afb1;
    color: #C50000;
}
.my-account-mb-main_dashboard .dashboard_box-img {   
    background: #C50000;    
}
.login_mb .login_mb-btn button.mb_btn-btn {
    background-color: #C50000;
}
.login_mb .login_mb-title a {
    color: #C50000;
}
.resgiter_mb .login_mb-btn button.mb_btn-btn {    
    background-color: #C50000;    
}
.resgiter_mb .resgiter_mb-title a {
    color: #C50000;
}
.brcrumb_info-title {    
    color: #333;
}
.brcrumb_info-content .content_txt p {
    color: #333;
}
.author_section .author_wrap .author_heading-line {
    background: #C50000;
}
.home-slider .owl-dots button.owl-dot.active {
    background-color: #e1afb1;
}
.item_infor-price .h6-14 {
    color: #C50000 !important;
}
.section_header-mobile .header_wrap .header_button:hover {
    background: #C50000;
}
.my-account-mb-main_user .sidebar_user-avatar .user_photo {
    border: 2px solid #e1afb1;
}
.license{
	display: none;
}
.menu_component .menu_category .dropdown-menu .category_link {
	padding: 10px 0!important;
}

.filter_menu-box h4 {
    font-weight: bold!important;
    margin-top: 10px!important;
    padding-top: 10px!important;
    border-top: 1px solid #f0f0f0!important;
}

.filter_menu-box .box-languages_item .language label {
    padding: 5px!important;
    font-weight: normal;
    border: 1px solid #f0f0f0;
}

.filter_menu-box .box-languages_item .language label:hover {
    border-color: red;
}

.printer-list-content img {
    width: 80% !important;
    height: auto !important;
}
.new-book-review .box-slider img {
  width: 100% !important;
  height: 400px !important;
  object-fit: contain;
  background-color: #f0f0f0;
  border-radius: 8px;
  padding: 15px;
}
.new-book-review .list_item-img {
  width: 100px;
  height: 130px;
  background-color: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.new-book-review .list_item-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}


/* ==================================================
   HOME BANNER + CATEGORY MENU
   - Banner desktop giu dung ty le anh 1280 / 692.
   - Cot danh muc cao bang banner.
   - Danh muc dai tu cuon; nut "Tat ca danh muc" luon o day.
   ================================================== */

/* Bootstrap container 960px, vung noi dung 930px, tru menu 317px. */
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
    :root {
        --home-banner-height: 331.45px;
    }
}

/* Bootstrap container 1140px, vung noi dung 1110px, tru menu 317px. */
@media screen and (min-width: 1200px) {
    :root {
        --home-banner-height: 428.66px;
    }
}

@media screen and (min-width: 992px) {
    .home_page .home-slider_inner {
        position: relative;
        width: auto;
        height: var(--home-banner-height) !important;
        margin-left: 317px;
        padding-top: 0;
        overflow: hidden;
    }

    .home_page .home-slider_inner > .row {
        width: auto;
        height: 100%;
        margin: 0 !important;
    }

    .home_page .home-slider_inner > .row > .col-12 {
        width: 100%;
        height: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .home_page .home-slider .owl-carousel,
    .home_page .home-slider .owl-stage-outer,
    .home_page .home-slider .owl-stage,
    .home_page .home-slider .owl-item,
    .home_page .home-slider .home-slider_item,
    .home_page .home-slider .home-slider_item > a {
        height: 100% !important;
    }

    .home_page .home-slider .owl-stage {
        display: flex;
        align-items: stretch;
    }

    .home_page .home-slider .owl-item {
        flex-shrink: 0;
    }

    .home_page .home-slider .home-slider_item > a {
        display: block;
        width: 100%;
        overflow: hidden;
    }

    .home_page .home-slider .home-slider_item img {
        display: block;
        width: 100% !important;
        height: 100% !important;
        max-width: none;
        margin: 0;
        object-fit: cover;
        object-position: center;
    }

    .menu_component .menu_category.menu_index > .dropdown-menu {
        display: block;
        height: var(--home-banner-height);
        max-height: var(--home-banner-height);
        padding-bottom: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #bbbbbb #f2f2f2;
    }

    .menu_component .menu_category.menu_index > .dropdown-menu > .category_show_all {
        position: sticky;
        z-index: 5;
        bottom: 0;
        min-height: 58px;
        margin: 0;
        background-color: #fff;
        border-top: 1px solid #f2f2f2;
        box-shadow: 0 -5px 12px rgb(0 0 0 / 5%);
    }

    .menu_component .menu_category.menu_index > .dropdown-menu::-webkit-scrollbar {
        width: 6px;
    }

    .menu_component .menu_category.menu_index > .dropdown-menu::-webkit-scrollbar-track {
        background: #f2f2f2;
    }

    .menu_component .menu_category.menu_index > .dropdown-menu::-webkit-scrollbar-thumb {
        background-color: #c50000;
        border-radius: 10px;
    }

    .menu_component .menu_category.menu_index > .dropdown-menu::-webkit-scrollbar-thumb:hover {
        background-color: #950000;
    }
}

.book-tags-container {
	display: none;
}

/* LATEST NEWS: reserve three stories; do not multiply the full list. */
/* Append after the existing website styles. */
.new-home .latest-news_body-list {
    padding-right: 0;
}

.new-home .latest-news_body-list .list_item > a {
    width: 100%;
}

.new-home .latest-news_body-list .list_item-img {
    flex-shrink: 0;
}

.new-home .latest-news_body-list .list_item-main {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    padding-right: 0;
    margin-right: 0;
}

.new-home .latest-news_body-box .box-slider > a:first-child {
    display: block;
    background: #f0f0f0;
}

.new-home .latest-news_body-box .box-slider > a:first-child img {
    display: block;
    width: 100% !important;
    object-fit: contain;
    object-position: center;
    background: #f0f0f0;
}

@media (min-width: 992px) {
    .new-home .latest-news_body > .container > .row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: repeat(3, 1fr);
        align-items: stretch;
    }

    .new-home .latest-news_body-box,
    .new-home .latest-news_body-list {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .new-home .latest-news_body-list {
        grid-column: 2;
        grid-row: 1 / span 3;
        margin-bottom: 0;
    }

    /* Reserve approximately three stories when the list has fewer than three. */
    .new-home .latest-news_body-list:has(> .list_item:only-child) {
        grid-row: 1;
    }

    .new-home .latest-news_body-list:has(> .list_item:nth-child(2):last-child) {
        grid-row: 1 / span 2;
    }

    /* With three or more stories, use the actual list height without multiplying. */
    .new-home .latest-news_body-box {
        grid-column: 1;
        grid-row: 1 / span 3;
        height: 0;
        min-height: 100%;
    }

    .new-home .latest-news_body-box .owl-stage-outer,
    .new-home .latest-news_body-box .owl-stage,
    .new-home .latest-news_body-box .owl-item {
        height: 100% !important;
    }

    .new-home .latest-news_body-box .box-slider {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
    }

    .new-home .latest-news_body-box .box-slider > a:first-child {
        position: relative;
        flex: 1 1 0;
        min-height: 0;
        overflow: hidden;
    }

    .new-home .latest-news_body-box .box-slider > a:first-child img {
        position: absolute;
        inset: 0;
        height: 100% !important;
        max-height: none;
    }

    .new-home .latest-news_body-box .box-slider > :not(a:first-child) {
        flex: 0 0 auto;
    }
}


/* Final override: main story and secondary column share one height. */

@media (min-width: 992px) {
    .new-home .latest-news_body > .container > .row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: stretch;
    }

    .new-home .latest-news_body-box,
    .new-home .latest-news_body-list {
        width: 100%;
        max-width: none;
        min-width: 0;
        grid-row: 1;
    }

    .new-home .latest-news_body-box {
        grid-column: 1;
        height: auto;
        min-height: 0;
    }

    .new-home .latest-news_body-list {
        grid-column: 2;
        margin-bottom: 0;
    }

    .new-home .latest-news_body-box .owl-stage-outer,
    .new-home .latest-news_body-box .owl-stage,
    .new-home .latest-news_body-box .owl-item {
        height: 100% !important;
    }
}
.partner-detail{
    padding: 64px !important;
}
.partner-detail_left-img {
    width: 227px;
    img {
        border: 4px solid #e1d6bf;
        background: #fff;
        border-radius: 5px;
        padding: 20px;
    }
}
.partner_author .partner_author-img img{
    border: 2px solid #e1d6bf;
    border-radius: 5px;
    padding: 16px;
    background: #fff;
}