:root {
    --mainColor: #E10600;
    --subColor: #111111;
    --textColor: #111111;
    --hover: #B50400;
    --price: #E10600;
    --on-dark: #FFFFFF;
    --on-dark-muted: #E6E6E6;
    --bean-bg: #FFFFFF;
    --bean-peach: #E8E8E8;
    --bean-pink: #F3F3F3;
    --bean-olive: #222222;
}

/* Giá sản phẩm / đơn hàng trên site */
.product-price-cart .price,
.name-price .price,
.price-box .special-price,
.price-box .product-price,
.bean-qb__price strong,
.bean-sum__line,
.bean-sum__rows .is-total dd,
.search-price ins,
.search-price .amount {
    color: var(--price);
}

html,
body {
    background: #F5F5F5;
    color: var(--textColor);
}

.section_slider .swiper-slide picture,
.section_slider .swiper-slide picture img {
    display: block;
    width: 100%;
    height: auto;
}

.section_about .banner-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section_about .desc p:last-child {
    margin-bottom: 0;
}

.bean-logo-text {
    color: var(--mainColor);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.btn-common.btn-primary,
.header .btn-primary,
.bean-promo-btn {
    background: #D60000;
    border-color: #D60000;
    color: #FFFFFF;
    font-weight: 800;
}

.btn-common.btn-primary:hover,
.btn-common.btn-primary:focus,
.header .btn-primary:hover,
.bean-promo-btn:hover {
    background: #B50000;
    border-color: #B50000;
    color: #F5F5F5;
}

.btn-common.btn-primary .txt-main,
.bean-qb__submit,
.bean-sum__cta {
    color: inherit;
    font-weight: 800;
}

.bean-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    margin-left: auto;
    padding: 7px 16px;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.2;
}

@media (min-width: 992px) {
    header.header .header-menu .sudes-main-header .col-menu.has-promo-btn {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        flex: 1 1 auto;
        min-width: 0;
        overflow: visible;
        text-align: left;
    }

    header.header .header-menu .sudes-main-header .col-menu.has-promo-btn #nav {
        display: flex !important;
        flex: 1 1 auto;
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: nowrap;
        column-gap: 8px;
        margin: 0 !important;
        padding: 0;
        list-style: none;
        min-width: 0;
    }

    header.header .header-menu .sudes-main-header .col-menu.has-promo-btn #nav > .nav-item {
        float: none;
        display: flex;
        align-items: center;
        flex: 0 1 auto;
        position: relative;
        width: auto;
        text-align: center;
    }

    /* Bỏ chấm tròn giữa các mục menu (theme a:before) */
    header.header .header-menu .col-menu #nav > .nav-item > a:before,
    header.header .header-menu .col-menu #nav > .nav-item > .nav-link:before {
        content: none !important;
        display: none !important;
    }

    header.header .header-menu .sudes-main-header .col-menu.has-promo-btn #nav > .nav-item > a,
    header.header .header-menu .sudes-main-header .col-menu.has-promo-btn #nav > .nav-item > .nav-link {
        padding: 10px 8px;
        font-size: 1.5rem;
    }

    header.header .header-menu .sudes-main-header .col-menu.has-promo-btn .bean-promo-btn {
        margin-left: auto;
        flex: none;
    }
}

.bean-trust {
    background: #F5F5F5;
    border-top: 1px solid #E5D0D0;
    border-bottom: 1px solid #E5D0D0;
}

.bean-trust ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 18px 0;
}

.bean-trust li {
    color: var(--mainColor);
}

.bean-trust span {
    display: block;
    color: #666666;
    font-size: 13px;
    font-weight: 400;
}

.bean-coupons,
.bean-product-grid,
.bean-posts {
    display: grid;
    gap: 16px;
}

.bean-coupons {
    grid-template-columns: repeat(4, 1fr);
}

.bean-coupons article,
.bean-posts article {
    background: #F5F5F5;
    border: 1px dashed var(--bean-peach);
    border-radius: 16px;
    padding: 16px;
}

.bean-coupons strong {
    color: var(--mainColor);
    font-size: 20px;
}

.bean-coupons button,
.bean-attr button {
    background: var(--bean-pink);
    border: 0;
    border-radius: 999px;
    color: var(--mainColor);
    cursor: pointer;
    font-weight: 600;
    padding: 8px 14px;
}

.bean-product-grid {
    grid-template-columns: repeat(4, 1fr);
}

.bean-tab-panel {
    display: none;
}

.bean-tab-panel.is-active {
    display: block;
}

.bean-tabs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.bean-tabs button {
    background: #F5F5F5;
    border: 1px solid #E5D0D0;
    border-radius: 999px;
    color: var(--textColor);
    padding: 8px 14px;
}

.bean-tabs button.is-active {
    background: var(--mainColor);
    color: #fff;
}

.bean-more {
    margin-top: 16px;
    text-align: center;
}

.bean-posts {
    grid-template-columns: repeat(4, 1fr);
}

.bean-posts img,
.section_about img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
}

.section_about {
    padding: 40px 0;
}

.dk-news__wrap,
.dk-pd,
.dk-prod,
.item_product_main {
    background: #F5F5F5;
    border-radius: 16px;
}

.dk-btn,
.dk-btn--primary {
    background: var(--bean-peach);
    border: 0;
    border-radius: 999px;
    color: var(--mainColor);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    font-weight: 600;
}

.dk-btn--dark {
    background: var(--mainColor);
    color: #fff;
}

.bean-attr {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 16px;
}

.bean-attr button.is-active {
    background: var(--mainColor);
    color: #fff;
}

.dk-toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    background: var(--mainColor);
    color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
}

.dk-toast a {
    color: #fff;
    margin-left: 8px;
    text-decoration: underline;
}

.title-page {
    padding: 28px 16px 8px;
    text-align: center;
}

.title-page h1,
.title-page .title-h1 {
    color: var(--mainColor);
    font-size: 32px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .bean-trust ul,
    .bean-coupons,
    .bean-product-grid,
    .bean-posts {
        grid-template-columns: repeat(2, 1fr);
    }

    .col-menu.has-promo-btn {
        display: block;
    }

    .bean-promo-btn {
        display: inline-flex;
        margin: 12px 0 0;
        margin-left: 0;
    }
}

@media (max-width: 575px) {
    .bean-trust ul,
    .bean-coupons {
        grid-template-columns: 1fr;
    }
}

html,
body,
.bodywrap,
header.header .main-header,
.section-index,
.section_about,
.section_about .col-left .box-image-list,
.section_slider .swiper-container .swiper-slide,
.section_category .swiper_category .cate-item .bg-thumb,
.section_coupons .swiper_coupons .swiper-slide .box-coupon .mask-ticket,
.section_blog .blog_swiper .swiper-wrapper .swiper-slide .item-blog .wrapper,
.section_feedback .container .feedback-box .bg-content,
.content-page,
.title-page,
.bean-trust,
.bean-coupons article,
.bean-posts article,
.dk-prod,
.item_product_main,
.item_product_main .product-action,
.item_product_main .product-action .product-thumbnail {
    background: #F5F5F5;
    background-image: none;
}

/* ========== Brand section surfaces ========== */
.section_category {
    background: #F5F5F5;
}

.section_coupons {
    background: linear-gradient(180deg, #F5F5F5 0%, #FFE5E5 100%);
}

.section_product_tab {
    background: #F5F5F5;
}

/* 2 dòng sản phẩm nổi bật: có khoảng cách giữa 2 dòng */
.section_product_tab .product-tab-grid {
    margin: 0;
}

.section_product_tab .product-tab-grid .product-tab-row {
    margin-bottom: 0;
}

.section_product_tab .product-tab-grid .product-tab-row + .product-tab-row {
    margin-top: 20px;
}

.section_product_tab .product-tab-grid .product-tab-row > [class*="col-"] {
    margin-bottom: 0;
}

.section_product_tab .product-tab-grid .item_product_main {
    margin-bottom: 0;
    height: 100%;
}

@media (max-width: 767px) {
    .section_product_tab .block-products .product-tab-grid .product-tab-row {
        flex-wrap: wrap;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .section_product_tab .block-products .product-tab-grid .product-tab-row + .product-tab-row {
        margin-top: 16px;
    }

    .section_product_tab .block-products .product-tab-grid .product-tab-row .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
        min-width: 0;
    }
}

.section_gallery {
    background: linear-gradient(180deg, #FFE5E5 0%, #F5F5F5 70%);
}

.section_product {
    background: #F5F5F5;
}

.section_about {
    background: linear-gradient(135deg, #F5F5F5 0%, #FFE5E5 55%, #E8C0C0 140%);
}

.section_brands {
    background: #f4f6f7;
    padding: 28px 0;
}

.section_blog {
    background: #F5F5F5;
}

.section_services {
    background: linear-gradient(180deg, #F5F5F5 0%, #E8C0C0 160%);
    padding: 28px 0 40px;
}

.section_feedback .container .feedback-box .bg-content {
    background: #F5F5F5;
}

/* Flash sale: gradient theo bộ màu Bean Decor */
.section_flash_sale .bg-flash-sale {
    background: linear-gradient(0deg, #E8C0C0 0%, #F5F5F5 72%, #ffffff 100%) !important;
    background-image: linear-gradient(0deg, #E8C0C0 0%, #F5F5F5 72%, #ffffff 100%) !important;
}

.section_flash_sale .block-product-sale .tab-group .count-down {
    background: #E8C0C0;
    color: var(--mainColor);
}

.section_flash_sale .block-product-sale .tab-group .count-down svg {
    color: var(--mainColor);
}

.section_flash_sale .block-product-sale .tab-group .count-down .title-count-down {
    color: var(--textColor);
}

.section_flash_sale .block-product-sale .tab-group .tab_ul .tabs-title .tab-link.current {
    border-color: var(--mainColor);
}

.section_flash_sale .block-product-sale .tab-group .tab_ul .tabs-title .tab-link.current b {
    color: var(--mainColor);
}

/*
 * Card flash sale: theme mặc định padding-bottom:28px + product-action padding 6–8px
 * → tạo khung thừa quanh ảnh. Chỉ reset trong section flash sale.
 */
.section_flash_sale .item_product_main {
    padding-bottom: 0 !important;
    margin-bottom: 0;
    background: transparent !important;
    border-radius: 12px;
}

.section_flash_sale .item_product_main .product-action {
    padding: 0 !important;
    background: #fff !important;
    background-image: none !important;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(61, 43, 34, 0.12);
    overflow: hidden;
}

.section_flash_sale .item_product_main .product-action .product-thumbnail {
    background: #fff !important;
    border-radius: 0;
    width: 100%;
}

.section_flash_sale .item_product_main .product-action .product-thumbnail .image_thumb {
    display: block;
    width: 100%;
    height: 100%;
}

.section_flash_sale .item_product_main .product-action .product-thumbnail .image_thumb img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    position: absolute;
    inset: 0;
    margin: 0 !important;
}

.section_flash_sale .item_product_main .product-action .product-info {
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 10px 14px !important;
    background: #fff !important;
}

.section_flash_sale .item_product_main .product-action .product-info .product-button {
    display: none;
}

.section_product .block-product-list .swiper_pro .swiper-slide .item_product_main,
.section_product_tab .item_product_main {
    padding-bottom: 0;
}

.section_product_tab .item_product_main .product-action,
.section_product .item_product_main .product-action {
    background: #fff;
}

.section_product_tab .item_product_main .product-action .product-info,
.section_product .item_product_main .product-action .product-info {
    background: #fff;
}

@media (max-width: 767px) {
    .section_flash_sale .block-product-sale .swiper_sale .swiper-wrapper {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .section_flash_sale .block-product-sale .swiper_sale .swiper-slide {
        flex: 0 0 60%;
        max-width: 60%;
        min-width: 60%;
        height: auto;
        scroll-snap-align: center;
    }

    .section_flash_sale .block-product-sale .swiper_sale .swiper-button-next,
    .section_flash_sale .block-product-sale .swiper_sale .swiper-button-prev {
        display: none;
    }
}

/* Theme page interiors — Bean brand accents */
.breadcrumb_background {
    background-color: #D60000;
}

.layout-contact .btn-lienhe,
.layout-contact .btn-common.btn-primary {
    margin-top: 8px;
    gap: 8px;
}

.layout-contact .btn-lienhe svg,
.layout-contact .btn-common.btn-primary svg {
    margin-right: 6px;
}

.bean-field-error {
    display: block;
    margin: -8px 0 12px;
    color: #c0392b;
    font-size: 1.3rem;
    font-style: normal;
}

.bean-about-page {
    margin-bottom: 40px;
}

.bean-about-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--mainColor);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bean-about-hero {
    margin-bottom: 36px;
    gap: 24px 0;
}

.bean-about-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #E5D0D0;
}

.bean-about-media > img:first-child {
    display: block;
    width: 100%;
    height: auto;
    min-height: 280px;
    object-fit: cover;
}

.bean-about-media__float {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 38%;
    border-radius: 10px;
    border: 4px solid #fff;
    box-shadow: 0 10px 24px rgba(61, 43, 34, 0.18);
}

.bean-about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 28px 0 36px;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #F5F5F5 0%, #FFE5E5 48%, #E8C0C0 100%);
}

.bean-about-stats__item {
    text-align: center;
}

.bean-about-stats__item strong {
    display: block;
    color: var(--mainColor);
    font-size: 2.8rem;
    line-height: 1.1;
}

.bean-about-stats__item span {
    color: var(--textColor);
    font-size: 1.4rem;
}

.bean-about-block {
    margin: 36px 0;
}

.bean-about-pillars {
    margin: 12px -8px 28px;
}

.bean-about-pillar {
    height: 100%;
    margin: 8px;
    padding: 22px 20px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f0e2d7;
}

.bean-about-pillar h3 {
    margin-bottom: 12px;
    color: var(--mainColor);
    font-size: 1.8rem;
}

.bean-about-team {
    text-align: center;
    margin-bottom: 24px;
}

.bean-about-team__avatar {
    margin: 0 auto 12px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #E5D0D0;
}

.bean-about-team__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bean-about-team h3 {
    margin: 0 0 4px;
    font-size: 1.6rem;
}

.bean-about-team span {
    color: #7a675c;
    font-size: 1.3rem;
}

.bean-about-gallery {
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    background: #E5D0D0;
}

.bean-about-gallery img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.bean-page-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bean-page-tabs__item {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #e9d8cb;
    background: #fff;
    color: var(--textColor);
    font-size: 1.4rem;
    font-weight: 500;
}

.bean-page-tabs__item.is-active,
.bean-page-tabs__item:hover {
    background: var(--bean-peach);
    border-color: var(--bean-peach);
    color: var(--mainColor);
}

.bean-page-meta {
    margin-bottom: 16px !important;
    color: #7a675c;
    font-size: 1.35rem;
}

.bean-blog-cats {
    margin: -16px auto 24px;
}

.bean-blog-cats__scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bean-blog-cats__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #e9d8cb;
    background: #fff;
    color: var(--textColor);
    font-size: 1.4rem;
}

.bean-blog-cats__item small {
    color: #8a7568;
}

.bean-blog-cats__item.is-active,
.bean-blog-cats__item:hover {
    background: var(--bean-peach);
    border-color: var(--bean-peach);
    color: var(--mainColor);
}

.bean-empty-state {
    padding: 40px 16px;
    text-align: center;
    color: #7a675c;
}

.bean-blog-aside {
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f0e2d7;
}

.bean-blog-aside__block + .bean-blog-aside__block {
    margin-top: 28px;
    padding-top: 24px;
}

.bean-blog-aside .aside-content-blog {
    margin-bottom: 0;
}

.bean-blog-aside .title-head {
    color: var(--textColor);
}

.bean-blog-aside .title-head span:after {
    border-bottom-color: var(--mainColor);
}

.bean-blog-aside__list {
    display: grid;
    gap: 14px;
    margin-bottom: 0;
}

.bean-blog-aside__item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: start;
}

.bean-blog-aside__thumb {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: #E5D0D0;
}

.bean-blog-aside__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bean-blog-aside__item h3 {
    margin: 0 0 4px;
    font-size: 1.4rem;
    line-height: 1.35;
}

.bean-blog-aside__item span {
    color: #8a7568;
    font-size: 1.2rem;
}

.bean-blog-aside__cats {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bean-blog-aside__cats li a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #E5D0D0;
    color: var(--textColor);
    font-size: 1.4rem;
}

.bean-blog-aside__cats li.is-active a,
.bean-blog-aside__cats li a:hover {
    color: var(--mainColor);
}

.bean-article-back {
    margin-top: 24px;
}

.bean-article-back a {
    color: var(--mainColor);
    font-weight: 600;
}

.article-summary {
    margin: 12px 0 20px;
    padding: 14px 16px;
    border-left: 3px solid var(--bean-peach);
    background: #F5F5F5;
    color: #555555;
}

.bean-related-blogs {
    margin-bottom: 40px;
}

/* Blog / list pagination — SVG must be sized or it fills the row */
.dk-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 28px 0 8px;
    width: 100%;
}

.dk-pager__page,
.dk-pager__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e9d8cb;
    border-radius: 8px;
    background: #fff;
    color: var(--textColor);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dk-pager__nav {
    padding: 0;
    width: 40px;
}

.dk-pager__nav svg {
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dk-pager__page:hover,
.dk-pager__nav:hover {
    background: var(--bean-peach);
    border-color: var(--bean-peach);
    color: var(--mainColor);
}

.dk-pager__page.is-active {
    background: var(--mainColor);
    border-color: var(--mainColor);
    color: #fff;
    pointer-events: none;
}

.dk-pager__nav.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.dk-pager__gap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    color: #8a7568;
    font-size: 1.4rem;
}

@media (max-width: 991px) {
    .bean-about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .bean-about-media__float {
        display: none;
    }
}

@media (max-width: 767px) {
    .bean-about-stats {
        grid-template-columns: 1fr 1fr;
        padding: 16px;
    }

    .bean-about-stats__item strong {
        font-size: 2.2rem;
    }

    .bean-about-gallery img {
        height: 180px;
    }

    .dk-pager {
        gap: 6px;
        margin-top: 20px;
    }

    .dk-pager__page,
    .dk-pager__nav {
        min-width: 36px;
        height: 36px;
        width: auto;
        padding: 0 10px;
    }

    .dk-pager__nav {
        width: 36px;
        padding: 0;
    }
}

/* Collection filter drawer — khớp Sudes col.js (.left-content.active + backdrop.active) */
.layout-collection .sudes-filter {
    display: inline-block !important;
}

.layout-collection .dqdt-sidebar.left-content {
    position: fixed;
    width: 340px;
    top: 0 !important;
    bottom: 0;
    left: 0;
    z-index: 100000;
    background: #fff;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.645, 0.045, 0.355, 1), visibility 0.45s;
    overflow: auto;
}

.layout-collection .dqdt-sidebar.left-content.active {
    transform: translateX(0);
    visibility: visible;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.12);
}

.layout-collection .dqdt-sidebar .close-filters {
    display: flex;
}

.layout-collection .dqdt-sidebar .section-box-bg {
    overflow: auto;
    height: 100%;
}

html.openf,
html.openf body {
    overflow: hidden;
}

@media (max-width: 575px) {
    .layout-collection .dqdt-sidebar.left-content {
        width: min(320px, 88vw);
    }
}

/* Collection category swiper */
.layout-collection .bean-collection-category {
    padding: 8px 0 4px;
}

.layout-collection .bean-collection-category .swiper-pagination {
    position: relative;
    margin-top: 14px;
}

/* Badge số bộ lọc — luôn hiện kể cả 0 */
.layout-collection .sudes-filter .count-filter-val {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 50%;
    background-color: var(--subColor);
    color: #fff;
    font-size: 0.9rem;
    line-height: 16px;
    text-align: center;
    font-weight: 700;
}

/* Ô tìm trong sidebar filter */
.bean-filter-search {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e4d8cc;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bean-filter-search:focus-within {
    border-color: var(--mainColor);
    box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12);
}

.bean-filter-search__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    color: #9a8778;
}

.bean-filter-search__input.form-control {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    height: 42px;
    padding: 8px 4px 8px 0;
    font-size: 1.4rem;
    background: transparent;
}

.bean-filter-search__input.form-control::placeholder {
    color: #a8988a;
}

.bean-filter-search__btn {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 14px;
    border: 0;
    background: var(--mainColor);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.bean-filter-search__btn:hover {
    background: var(--hover);
}

/* Collection filter helpers */
.bean-filter-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bean-filter-links li a {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f0e2d7;
    color: var(--textColor);
    font-size: 1.4rem;
}

.bean-filter-links li.is-active a,
.bean-filter-links li a:hover {
    color: var(--mainColor);
}

.bean-collection-total {
    margin: 8px 0 16px;
    color: #7a675c;
    font-size: 1.4rem;
}

#bean-product-results.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.layout-collection .aside-title .title-head {
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
}

.layout-collection .aside-title .title-head span {
    display: flex;
    align-items: center;
}

.layout-collection .aside-title .title-head span:after {
    content: "";
    display: block;
    flex: 1 1 auto;
    border-bottom: 1px solid var(--mainColor);
    margin-left: 16px;
}

/* Product detail — align with Sudes product_style */
.product-detail-section .details-product {
    padding-top: 8px;
}

.details-product .product-images .product-image-block {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.details-product .product-images .bean-pd-thumbs.thumb-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 72px;
    max-height: 520px;
    overflow: auto;
}

.details-product .product-images .bean-pd-thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.details-product .product-images .bean-pd-thumb.is-active {
    border-color: var(--mainColor);
}

.details-product .product-images .bean-pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.details-product .product-images .bean-pd-main {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 8px;
    border: 1px solid #f1f1f1;
    background: #fff;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.details-product .product-images .bean-pd-main-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.details-product .product-images .bean-pd-main img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.details-product .details-pro .bean-pd-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    font-size: 1.35rem;
    color: #555555;
    line-height: 1;
    white-space: nowrap;
}

.details-product .details-pro .bean-pd-meta strong {
    color: var(--textColor);
    font-weight: 700;
}

.details-product .details-pro .bean-pd-meta__sep {
    color: #cbb8aa;
    font-weight: 700;
    line-height: 1;
}

.details-product .details-pro .bean-pd-meta__rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    line-height: 1;
}

.details-product .details-pro .bean-pd-meta__stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: #f5a623;
    line-height: 0;
}

.details-product .details-pro .bean-pd-meta__star {
    display: block;
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
}

.details-product .details-pro .product-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 1.4rem;
    border-bottom: 1px solid #DDE1EF;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.details-product .details-pro .product-top .a-sku,
.details-product .details-pro .product-top .a-vendor {
    color: var(--mainColor);
}

.details-product .details-pro .bean-pd-shipping {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin: 0 0 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid #dde1ef;
    font-size: 1.4rem;
    color: var(--textColor);
}

.details-product .details-pro .bean-pd-shipping strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2e7d32;
    font-weight: 700;
}

.details-product .details-pro .bean-pd-shipping .bean-pd-ship-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex: 0 0 auto;
}

.details-product .details-pro .bean-pd-preorder {
    width: 100%;
    margin: -4px 0 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid #dde1ef;
    font-size: 1.4rem;
    font-weight: 600;
    color: #c77800;
    line-height: 1.4;
}

.details-product .details-pro .product-summary {
    align-items: flex-start;
    text-align: left;
}

/* Mobile: mô tả ngắn nằm dưới phần chia sẻ */
.details-product .details-pro .product-summary--below-share {
    display: none;
}

@media (max-width: 767px) {
    .details-product .details-pro .form-inline .product-summary--top {
        display: none !important;
    }

    .details-product .details-pro .product-summary--below-share {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        font-size: 1.4rem;
        border-bottom: 0;
        border-top: 1px solid #dde1ef;
        padding-top: 12px;
        margin-top: 12px;
        margin-bottom: 0;
        padding-bottom: 0;
        text-align: left;
    }

    .details-product .details-pro .product-summary--below-share .js-rte-clamp {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 4;
        width: 100%;
    }
}

.details-product .details-pro .price-box {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 4px;
}

.details-product .details-pro .price-box .special-price {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--price);
    line-height: 1.2;
}

.details-product .details-pro .price-box .special-price .unit {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--textColor);
    margin-left: 4px;
}

.details-product .details-pro .price-box .old-price {
    color: #acacac;
    font-size: 1.6rem;
}

.details-product .details-pro .price-box .sale-off {
    color: #fff;
    background: #B11111;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.details-product .details-pro .form-inline .select-swatch .swatch .swatch-element.soldout label {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .custom-btn-number {
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .custom-btn-number > span {
    font-weight: 600;
    white-space: nowrap;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .input_number_product {
    display: inline-flex;
    border-radius: 6px;
    background: #f3f3f3;
    overflow: hidden;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .input_number_product .btn_num {
    width: 36px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .input_number_product input {
    width: 48px;
    height: 40px;
    border: 0;
    background: transparent;
    text-align: center;
    outline: none;
    font-size: 1.5rem;
    -moz-appearance: textfield;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .input_number_product input::-webkit-outer-spin-button,
.details-product .details-pro .form-inline .boz-form .flex-quantity .input_number_product input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions {
    display: flex;
    align-items: center;
    flex: 1 1 220px;
    gap: 8px;
    min-width: 0;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn-common {
    flex: 1 1 0;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 0 16px;
    border-radius: 6px;
    white-space: nowrap;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn-common .txt-main {
    font-weight: 800;
    color: inherit;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn-buyNow {
    background: #A80000;
    border-color: #A80000;
    color: #fff;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn-buyNow:hover,
.details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn-buyNow:focus {
    background: #8F0000;
    border-color: #8F0000;
    color: #fff;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn-buyNow .txt-main {
    color: #fff;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn_add_cart {
    background: #FFF5F5;
    border: 1.5px solid #A80000;
    color: #0A0A0A;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn_add_cart:hover,
.details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn_add_cart:focus {
    background: #D60000;
    border-color: #D60000;
    color: #FFFFFF;
}

.details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn_add_cart .txt-main {
    color: inherit;
}

.details-product .details-pro .bottom-product .social-media {
    list-style: none;
    margin: 0;
    padding: 0;
}

.details-product .details-pro .bottom-product .social-media li a {
    color: #fff;
}

.details-product .details-pro .bottom-product .social-media li a svg {
    fill: currentColor;
}

.bean-variant-error {
    margin-top: 10px;
    color: #c0392b;
    font-size: 1.35rem;
}

.bean-related-products {
    margin-bottom: 40px;
}

.bean-related-products .list-products > [class*="col-"] {
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .details-product .details-pro .form-inline .boz-form .flex-quantity {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions {
        flex: 1 1 auto;
        width: 100%;
    }

    .details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn-common,
    .details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn.btn-buyNow,
    .details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn.btn_add_cart {
        min-height: 46px;
        font-size: 1.3rem !important;
        padding: 0 6px !important;
        white-space: nowrap;
        line-height: 1.2;
        text-align: center;
        overflow: hidden;
    }

    .details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn-common .txt-main,
    .details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn.btn-buyNow span.txt-main,
    .details-product .details-pro .form-inline .boz-form .flex-quantity .button_actions .btn.btn_add_cart span.txt-main {
        font-size: 1.3rem !important;
        white-space: nowrap;
        display: block;
    }
}

@media (max-width: 767px) {
    .details-product .product-images .product-image-block {
        flex-direction: column-reverse;
    }

    .details-product .product-images .bean-pd-thumbs.thumb-vertical {
        flex-direction: row;
        flex: none;
        width: 100%;
        max-height: none;
    }

    /* product_style forces aspect-ratio:1 on mobile — override so height follows the image */
    .details-product .product-images .product-image-block {
        aspect-ratio: auto !important;
        height: auto !important;
        overflow: visible;
    }

    .details-product .product-images .bean-pd-main,
    .details-product .product-images .product-image-block .thumb-item.bean-pd-main,
    .details-product .product-images .product-image-block .thumb-item.only-thumb {
        aspect-ratio: auto !important;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        height: auto;
        align-items: stretch;
        justify-content: flex-start;
    }

    .details-product .product-images .bean-pd-main-link,
    .details-product .product-images .product-image-block .thumb-item a.bean-pd-main-link,
    .details-product .product-images .product-image-block .thumb-item a {
        aspect-ratio: auto !important;
        display: block;
        width: 100%;
        height: auto;
    }

    .details-product .product-images .bean-pd-main img,
    .details-product .product-images .product-image-block .thumb-item a img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none !important;
        display: block;
        object-fit: contain;
    }

    .details-product .details-pro .price-box .special-price .unit {
        display: inline-block;
    }
}

/* Quick buy modal */
html.bean-qb-open,
html.bean-qb-open body {
    overflow: hidden;
}

.bean-qb-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(28, 23, 26, 0.55);
}

.bean-qb-overlay.is-open,
.bean-qb-overlay[ng-show].is-open {
    display: flex;
}

.bean-qb {
    width: min(960px, 100%);
    max-height: calc(100vh - 32px);
    overflow: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.bean-qb__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: var(--mainColor);
    color: #fff;
}

.bean-qb__head h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.bean-qb__close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.bean-qb__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.bean-qb__left,
.bean-qb__right {
    padding: 20px;
}

.bean-qb__left {
    border-right: 1px solid #eee;
}

.bean-qb__product {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.bean-qb__thumb {
    width: 84px;
    height: 84px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f0ea;
}

.bean-qb__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bean-qb__product h4 {
    margin: 0 0 6px;
    font-size: 1.5rem;
}

.bean-qb__price strong {
    color: var(--price);
    font-size: 1.8rem;
}

.bean-qb__price del {
    margin-left: 8px;
    color: #999;
    font-size: 1.3rem;
}

.bean-qb__qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

.bean-qb__qty > span {
    font-size: 1.35rem;
    font-weight: 600;
    color: #444;
}

.bean-qb__qty .custom-btn-number,
.bean-qb__qty-ctrl {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2ddd6;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.bean-qb__qty .custom-btn-number button,
.bean-qb__qty-ctrl button {
    width: 28px;
    height: 28px;
    border: 0;
    background: #F5F5F5;
    color: #5c4a3d;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.bean-qb__qty .custom-btn-number button:hover,
.bean-qb__qty-ctrl button:hover {
    background: #efe8de;
}

.bean-qb__qty .custom-btn-number input,
.bean-qb__qty-input {
    width: 36px;
    height: 28px;
    border: 0;
    border-left: 1px solid #e2ddd6;
    border-right: 1px solid #e2ddd6;
    text-align: center;
    outline: none;
    font-size: 1.3rem;
    padding: 0 2px;
    -moz-appearance: textfield;
    appearance: textfield;
}

.bean-qb__qty .custom-btn-number input::-webkit-outer-spin-button,
.bean-qb__qty .custom-btn-number input::-webkit-inner-spin-button,
.bean-qb__qty-input::-webkit-outer-spin-button,
.bean-qb__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bean-qb__note {
    margin: 0;
    color: #7a675c;
    font-size: 1.25rem;
    line-height: 1.45;
}

.bean-qb__right h4 {
    margin: 0 0 14px;
    font-size: 1.7rem;
}

.bean-qb__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bean-qb__grid label {
    display: block;
    margin: 0;
}

.bean-qb__grid label.is-full {
    grid-column: 1 / -1;
}

.bean-qb__grid input,
.bean-qb__grid select,
.bean-qb__grid textarea {
    width: 100%;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 1.4rem;
    outline: none;
}

.bean-qb__grid em {
    display: block;
    margin-top: 4px;
    color: #c0392b;
    font-size: 1.2rem;
    font-style: normal;
}

.bean-qb__ship {
    margin: 14px 0 10px;
    font-size: 1.4rem;
}

.bean-qb__pay {
    margin-bottom: 14px;
}

.bean-qb__pay > p {
    margin: 0 0 10px;
    font-weight: 600;
    font-size: 1.45rem;
    color: #333;
}

.bean-qb__pay-list {
    display: grid;
    gap: 8px;
}

.bean-qb__pay-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #e6e0d8;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.bean-qb__pay-option:hover {
    border-color: #cbb7a4;
    background: #fcfaf7;
}

.bean-qb__pay-option.is-checked {
    border-color: var(--mainColor);
    background: #faf6f1;
    box-shadow: 0 0 0 1px var(--mainColor);
}

.bean-qb__pay-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bean-qb__pay-mark {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border: 1.5px solid #c4b8ab;
    border-radius: 50%;
    background: #fff;
    position: relative;
}

.bean-qb__pay-option.is-checked .bean-qb__pay-mark {
    border-color: var(--mainColor);
}

.bean-qb__pay-option.is-checked .bean-qb__pay-mark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mainColor);
    transform: translate(-50%, -50%);
}

.bean-qb__pay-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.bean-qb__pay-text strong {
    font-size: 1.35rem;
    font-weight: 600;
    color: #2f2a26;
    line-height: 1.3;
}

.bean-qb__pay-text small {
    font-size: 1.15rem;
    color: #7a6d63;
    line-height: 1.35;
}

.bean-qb__total {
    margin-bottom: 12px;
    font-size: 1.6rem;
}

.bean-qb__total strong {
    color: var(--mainColor);
    font-size: 2rem;
}

.bean-qb__submit {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .bean-qb__body {
        grid-template-columns: 1fr;
    }

    .bean-qb__left {
        border-right: 0;
        border-bottom: 1px solid #eee;
    }

    .bean-qb__grid {
        grid-template-columns: 1fr;
    }

    .bean-qb .btn-mua.button_actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}

.product-review-details .product-tab .tab-float .rte .show-more {
    display: none;
    text-align: center;
    margin-top: 8px;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.product-review-details .product-tab .tab-float .rte .show-more .btn--view-more {
    cursor: pointer;
    position: relative;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin-left: auto;
    margin-right: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Khi JS bật nút xem thêm: giữ căn giữa */
.product-review-details .product-tab .tab-float .rte .show-more[style*="block"],
.product-review-details .product-tab .tab-float .rte .show-more.is-visible {
    display: flex !important;
}

@media (max-width: 767px) {
    /* Tab mô tả / hướng dẫn / đánh giá: xếp dọc, không cuộn ngang */
    .product-review-details .product-tab .tabs-title {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        white-space: normal !important;
        overflow: visible !important;
        overflow-x: visible !important;
        align-items: stretch;
        gap: 0;
        border-bottom: 1px solid #ddd;
        margin-bottom: 16px;
        padding: 0;
    }

    .product-review-details .product-tab .tabs-title > * + * {
        margin-left: 0 !important;
    }

    .product-review-details .product-tab .tabs-title .tab-link {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding: 0;
    }

    .product-review-details .product-tab .tabs-title .tab-link:last-child {
        border-bottom: 0;
    }

    .product-review-details .product-tab .tabs-title .tab-link h3 {
        padding: 12px 0;
        font-size: 1.45rem;
        white-space: normal;
    }

    .product-review-details .product-tab .tabs-title .tab-link:before {
        height: 2px;
    }
}

.product-review-details .product-tab .tab-float .rte .ba-text-fpt.has-height {
    max-height: 480px;
    height: auto !important;
    overflow: hidden;
}

.product-review-details .product-tab .tab-float .rte.expanded .ba-text-fpt,
.product-review-details .product-tab .tab-float .rte.expanded .ba-text-fpt.has-height {
    max-height: none;
    height: auto !important;
    overflow: visible;
    margin-bottom: 12px;
}

@media (max-width: 767px) {
    .product-review-details .product-tab .tab-float .rte .ba-text-fpt.has-height {
        max-height: 320px;
    }

    .product-review-details .product-tab .tab-float .rte.expanded .ba-text-fpt,
    .product-review-details .product-tab .tab-float .rte.expanded .ba-text-fpt.has-height {
        max-height: none;
    }
}

.product-related.product-swipers {
    padding: 24px 0 8px;
}

.product-related.product-swipers h2 {
    margin-bottom: 12px;
}

.product-content .title-product-bottom h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--textColor);
}
.product-content .product-content-desc.rte {
    text-align: left;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
}
.product-content .product-content-desc.rte h1,
.product-content .product-content-desc.rte h2,
.product-content .product-content-desc.rte h3 {
    text-align: left;
}

/* ========== Cart / Checkout / Success ========== */
.bean-cart-page {
    padding: 0 0 40px;
}

.bean-steps {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.bean-steps__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e8e0d7;
    border-radius: 10px;
    background: #fff;
    color: #8a7a6e;
}

.bean-steps__num {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    background: #f3ebe3;
    color: #6d5748;
}

.bean-steps__label {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
}

.bean-steps__item.is-current {
    border-color: var(--mainColor);
    box-shadow: 0 0 0 1px var(--mainColor);
    color: var(--textColor);
}

.bean-steps__item.is-current .bean-steps__num,
.bean-steps__item.is-done .bean-steps__num {
    background: var(--mainColor);
    color: #fff;
}

.bean-steps__item.is-done {
    border-color: #d8c7b6;
    color: var(--textColor);
}

.bean-cart__notice {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff4e8;
    border: 1px solid #f0d7bb;
    color: #A80000;
    font-size: 1.35rem;
}

.bean-cart__empty {
    text-align: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 48px 20px;
}

.bean-cart__empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #f7f1ea;
    color: var(--mainColor);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bean-cart__empty-icon svg {
    width: 30px;
    height: 30px;
}

.bean-cart__empty h2 {
    margin: 0 0 8px;
    font-size: 2rem;
    color: var(--textColor);
}

.bean-cart__empty p {
    margin: 0 0 20px;
    color: #7a6d63;
    font-size: 1.4rem;
}

.bean-cart__empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.bean-cart__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.bean-cart__main {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
}

.bean-cart__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0ebe6;
}

.bean-cart__title {
    margin: 0 0 16px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--textColor);
    text-transform: uppercase;
}

.bean-cart__head .bean-cart__title {
    margin: 0;
}

.bean-cart__title small {
    font-weight: 500;
    color: #8a7a6e;
    text-transform: none;
}

.bean-cart__clear {
    border: 0;
    background: transparent;
    color: #a05a4a;
    font-size: 1.3rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.bean-cart__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bean-cart__item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f1ece7;
}

.bean-cart__item:last-child {
    border-bottom: 0;
}

.bean-cart__item.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.bean-cart__img {
    width: 88px;
    height: 88px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #F5F5F5;
    display: block;
}

.bean-cart__img img,
.bean-cart__img-ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bean-cart__img-ph {
    background: linear-gradient(135deg, #f3ebe3, #e8ddd2);
}

.bean-cart__name {
    display: block;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--textColor);
    line-height: 1.35;
    margin-bottom: 4px;
}

.bean-cart__name:hover {
    color: var(--hover);
}

.bean-cart__meta,
.bean-cart__unit {
    margin: 0;
    font-size: 1.25rem;
    color: #7a6d63;
    line-height: 1.4;
}

.bean-cart__unit {
    margin-top: 4px;
    color: var(--price);
    font-weight: 600;
}

.bean-qty {
    display: inline-flex;
    align-items: center;
    flex: none;
    border: 1px solid #e2ddd6;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    width: auto;
    max-width: 96px;
}

.bean-qty button {
    flex: none;
    width: 26px;
    height: 28px;
    border: 0;
    background: #F5F5F5;
    color: #5c4a3d;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.bean-qty button:hover {
    background: #efe8de;
}

/* Override theme main.scss: input[type=number]{padding:0 110px 0 15px;width:100%} */
.bean-qty input,
.bean-qty input[type="number"],
.bean-cart-page .bean-qty input[type="number"][data-dk-cart-qty] {
    flex: none;
    box-sizing: border-box;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 40px !important;
    height: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-left: 1px solid #e2ddd6 !important;
    border-right: 1px solid #e2ddd6 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--textColor) !important;
    font-size: 1.3rem !important;
    font-weight: 600;
    line-height: 28px !important;
    text-align: center !important;
    outline: none;
    display: block;
    -moz-appearance: textfield;
    appearance: textfield;
}

.bean-qty input::-webkit-outer-spin-button,
.bean-qty input::-webkit-inner-spin-button,
.bean-qty input[type="number"]::-webkit-outer-spin-button,
.bean-qty input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    height: 0 !important;
    display: none !important;
}

.bean-cart__line {
    margin: 0;
    min-width: 96px;
    text-align: right;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--price);
}

.bean-cart__remove {
    width: 34px;
    height: 34px;
    border: 1px solid #eadfd6;
    border-radius: 8px;
    background: #fff;
    color: #8a6b5d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.bean-cart__remove:hover {
    border-color: #c0392b;
    color: #c0392b;
}

.bean-cart__remove svg {
    width: 16px;
    height: 16px;
}

.bean-cart__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--mainColor);
    font-size: 1.4rem;
    font-weight: 600;
}

.bean-cart__back svg {
    width: 18px;
    height: 18px;
}

.bean-cart__back:hover {
    color: var(--hover);
}

.bean-sum {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 18px;
    position: sticky;
    top: 80px;
}

.bean-sum__title {
    margin: 0 0 14px;
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.bean-sum__title small {
    display: block;
    margin-top: 4px;
    font-size: 1.25rem;
    font-weight: 500;
    color: #8a7a6e;
    text-transform: none;
}

.bean-sum__items {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    max-height: 280px;
    overflow: auto;
}

.bean-sum__items li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1ece7;
}

.bean-sum__thumb {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #F5F5F5;
}

.bean-sum__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bean-sum__thumb b {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--mainColor);
    color: #fff;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bean-sum__name {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 1.3rem;
    color: var(--textColor);
    line-height: 1.35;
}

.bean-sum__name a {
    color: inherit;
    font-weight: 600;
}

.bean-sum__name small {
    color: #7a6d63;
    font-size: 1.15rem;
}

.bean-sum__line {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--price);
    white-space: nowrap;
}

.bean-sum__voucher {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin-bottom: 8px;
}

.bean-sum__voucher input {
    width: 100%;
    border: 1px solid #e2ddd6;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 1.35rem;
    outline: none;
}

.bean-sum__voucher button {
    min-height: 42px;
    padding: 0 14px;
    white-space: nowrap;
}

.bean-sum__voucher-msg {
    min-height: 18px;
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.bean-sum__voucher-msg.is-success {
    color: #1f7a45;
}

.bean-sum__voucher-msg.is-error {
    color: #c0392b;
}

.bean-sum__applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f7f1ea;
    font-size: 1.3rem;
}

.bean-sum__applied button {
    border: 0;
    background: transparent;
    color: #a05a4a;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.bean-sum__rows {
    margin: 0 0 14px;
}

.bean-sum__rows > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed #E5D0D0;
    font-size: 1.35rem;
}

.bean-sum__rows dt {
    margin: 0;
    color: #555555;
    font-weight: 500;
}

.bean-sum__rows dd {
    margin: 0;
    font-weight: 600;
    color: var(--textColor);
}

.bean-sum__rows .is-total {
    border-bottom: 0;
    padding-top: 12px;
}

.bean-sum__rows .is-total dt,
.bean-sum__rows .is-total dd {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--price);
}

.bean-sum__ship-free {
    color: #1f7a45;
    font-weight: 600;
}

.bean-checkout__ship-note {
    margin: -4px 0 16px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f3faf5;
    border: 1px solid #d7ebdd;
    color: #1f7a45;
    font-size: 1.3rem;
    line-height: 1.45;
}

.bean-sum__cod {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fcfaf7;
    border: 1px solid #E5D0D0;
    color: #555555;
    font-size: 1.25rem;
    line-height: 1.45;
}

.bean-sum__cta {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    text-transform: uppercase;
    font-weight: 800;
    color: #FFFFFF;
}

.bean-checkout__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
}

.bean-checkout__field {
    display: block;
    margin: 0;
}

.bean-checkout__field.is-wide {
    grid-column: 1 / -1;
}

.bean-checkout__field > span {
    display: block;
    margin-bottom: 6px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #4a3b32;
}

.bean-checkout__field > span small {
    font-weight: 400;
    color: #8a7a6e;
}

.bean-checkout__field input,
.bean-checkout__field select,
.bean-checkout__field textarea {
    width: 100%;
    border: 1px solid #e2ddd6;
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 1.4rem;
    outline: none;
    background: #fff;
}

.bean-checkout__field input:focus,
.bean-checkout__field select:focus,
.bean-checkout__field textarea:focus {
    border-color: var(--mainColor);
}

.bean-checkout__field.has-error input,
.bean-checkout__field.has-error select,
.bean-checkout__field.has-error textarea {
    border-color: #c0392b;
}

.bean-checkout__field em {
    display: block;
    min-height: 16px;
    margin-top: 4px;
    color: #c0392b;
    font-size: 1.2rem;
    font-style: normal;
}

.bean-checkout__pay {
    margin-bottom: 16px;
}

.bean-checkout__status {
    min-height: 20px;
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.bean-checkout__status.is-success {
    color: #1f7a45;
}

.bean-checkout__status.is-error {
    color: #c0392b;
}

.bean-done {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 28px 22px;
}

.bean-done__hero {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
}

.bean-done__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #eef8f1;
    color: #1f7a45;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bean-done__icon svg {
    width: 30px;
    height: 30px;
}

.bean-done__title {
    margin: 0 0 8px;
    font-size: 2.2rem;
    color: var(--textColor);
}

.bean-done__code {
    margin: 0 0 10px;
    font-size: 1.5rem;
}

.bean-done__code strong {
    color: var(--mainColor);
}

.bean-done__text {
    margin: 0;
    color: #555555;
    font-size: 1.4rem;
    line-height: 1.55;
}

.bean-done__text a {
    color: var(--mainColor);
    font-weight: 600;
}

.bean-done__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.bean-done__box {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px;
    background: #fcfaf7;
}

.bean-done__box h3 {
    margin: 0 0 12px;
    font-size: 1.55rem;
    text-transform: uppercase;
    color: var(--textColor);
}

.bean-done__dl {
    margin: 0;
}

.bean-done__dl > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dashed #E5D0D0;
    font-size: 1.35rem;
}

.bean-done__dl > div:last-child {
    border-bottom: 0;
}

.bean-done__dl dt {
    margin: 0;
    color: #7a6d63;
    font-weight: 500;
}

.bean-done__dl dd {
    margin: 0;
    color: var(--textColor);
    font-weight: 600;
    word-break: break-word;
}

.bean-done__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.bean-done__bank {
    border: 1px solid #f0e2d4;
    border-radius: 12px;
    background: linear-gradient(180deg, #fffaf4 0%, #fff 70%);
    padding: 18px;
    margin-bottom: 22px;
}

.bean-done__bank-head {
    margin-bottom: 14px;
    text-align: center;
}

.bean-done__bank-head h3 {
    margin: 0 0 6px;
    font-size: 1.7rem;
    color: var(--textColor);
    text-transform: uppercase;
}

.bean-done__bank-head p {
    margin: 0;
    color: #555555;
    font-size: 1.4rem;
}

.bean-done__bank-head strong {
    color: var(--mainColor);
}

.bean-done__bank-body {
    display: grid;
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
    gap: 18px;
    align-items: start;
}

.bean-done__bank-body.has-qr {
    grid-template-columns: 180px minmax(0, 500px);
}

.bean-done__bank-qr {
    text-align: center;
}

.bean-done__bank-qr img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fff;
    display: block;
    margin: 0 auto 8px;
}

.bean-done__bank-qr span {
    display: block;
    font-size: 1.2rem;
    color: #7a6d63;
}

.bean-done__bank-info {
    min-width: 0;
    width: 100%;
}

.bean-done__dl--bank > div {
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: start;
}

.bean-done__dl--bank dd {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
    word-break: normal;
    overflow-wrap: anywhere;
}

.bean-done__copy-text {
    font-weight: 700;
    color: var(--textColor);
}

.bean-done__bank-note {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #FFF5F5;
    color: #555555;
    font-size: 1.3rem;
    line-height: 1.5;
}

.bean-done__copy {
    flex: 0 0 auto;
    white-space: nowrap;
    border: 1px solid #e5d8cb;
    background: #fff;
    color: var(--mainColor);
    border-radius: 999px;
    padding: 3px 12px;
    font-size: 1.15rem;
    line-height: 1.4;
    cursor: pointer;
}

.bean-done__copy.is-copied {
    border-color: #1f7a45;
    color: #1f7a45;
}

@media (max-width: 767px) {
    .bean-done__bank-body,
    .bean-done__bank-body.has-qr {
        grid-template-columns: minmax(0, 100%);
        justify-content: center;
        justify-items: center;
    }

    .bean-done__bank-qr,
    .bean-done__bank-info {
        width: 100%;
        max-width: 360px;
    }

    .bean-done__bank-qr img {
        max-width: 220px;
    }

    .bean-done__dl--bank > div {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .bean-done__bank-note {
        text-align: center;
    }
}

@media (max-width: 991px) {
    .bean-cart__layout {
        grid-template-columns: 1fr;
    }

    .bean-sum {
        position: static;
    }

    .bean-done__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .bean-steps {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .bean-cart__main,
    .bean-done {
        padding: 16px;
    }

    .bean-cart__item {
        grid-template-columns: 72px minmax(0, 1fr) auto;
        grid-template-areas:
            "img info remove"
            "img qty line";
        gap: 10px 12px;
        align-items: start;
    }

    .bean-cart__img {
        grid-area: img;
        width: 72px;
        height: 72px;
    }

    .bean-cart__info {
        grid-area: info;
    }

    .bean-qty {
        grid-area: qty;
        justify-self: start;
    }

    .bean-cart__line {
        grid-area: line;
        min-width: 0;
        align-self: center;
    }

    .bean-cart__remove {
        grid-area: remove;
        justify-self: end;
    }

    .bean-checkout__grid {
        grid-template-columns: 1fr;
    }

    .bean-done__dl > div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .bean-sum__voucher {
        grid-template-columns: 1fr;
    }
}


/* ========== FAQ page ========== */
.bean-faq-page {
    padding-bottom: 20px;
}

.bean-faq__heading {
    margin: 0 0 8px;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--textColor);
    text-transform: uppercase;
}

.bean-faq__desc {
    margin: 0;
    color: #7a6d63;
    font-size: 1.45rem;
    line-height: 1.55;
}

.bean-faq__empty {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
}

.bean-faq__empty p {
    margin: 0 0 16px;
    font-size: 1.5rem;
}

.bean-faq__topic {
    margin-bottom: 28px;
}

.bean-faq__topic-head h3 {
    margin: 0 0 6px;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--mainColor);
    position: relative;
    padding-left: 12px;
}

.bean-faq__topic-head h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 3px;
    height: 1.1em;
    border-radius: 3px;
    background: var(--mainColor);
}

.bean-faq__topic-head p {
    margin: 0 0 12px;
    color: #7a6d63;
    font-size: 1.35rem;
    line-height: 1.5;
}

.bean-faq__items {
    display: grid;
    gap: 10px;
}

.bean-faq__item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bean-faq__item.is-open {
    border-color: #e0cfc0;
    box-shadow: 0 2px 10px rgba(61, 43, 34, 0.06);
}

.bean-faq__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: var(--textColor);
}

.bean-faq__question {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.bean-faq__icon {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f7f1ea;
    color: var(--mainColor);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.bean-faq__item.is-open .bean-faq__icon {
    transform: rotate(45deg);
    background: var(--mainColor);
    color: #fff;
}

.bean-faq__body {
    padding: 0 16px 16px;
    border-top: 1px solid #f1ece7;
    color: #4a3b32;
    font-size: 1.4rem;
    line-height: 1.65;
}

.bean-faq__body > *:first-child {
    margin-top: 12px;
}

.bean-faq__aside {
    display: grid;
    gap: 16px;
}

@media (min-width: 992px) {
    .bean-faq__aside {
        position: sticky;
        top: 90px;
    }
}

.bean-faq__card,
.bean-faq__help {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 18px;
}

.bean-faq__card-title,
.bean-faq__help h3 {
    margin: 0 0 12px;
    font-size: 1.55rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--textColor);
}

.bean-faq__topics {
    display: grid;
    gap: 4px;
}

.bean-faq__topic-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #5c4a3d;
    font-size: 1.35rem;
    text-align: left;
    cursor: pointer;
}

.bean-faq__topic-btn b {
    flex: none;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f7f1ea;
    color: var(--mainColor);
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bean-faq__topic-btn:hover,
.bean-faq__topic-btn.is-active {
    background: #faf6f1;
    color: var(--mainColor);
    font-weight: 600;
}

.bean-faq__topic-btn.is-active b {
    background: var(--mainColor);
    color: #fff;
}

.bean-faq__help p {
    margin: 0 0 14px;
    color: #7a6d63;
    font-size: 1.35rem;
    line-height: 1.5;
}

.bean-faq__help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bean-faq__help-actions .btn-common {
    justify-content: center;
    min-height: 42px;
}

@media (max-width: 991px) {
    .bean-faq__aside {
        margin-top: 24px;
    }

    .bean-faq__heading {
        font-size: 1.9rem;
    }
}

/* Product detail — đánh giá kiểu thương mại */
.bean-product-rates {
    padding: 8px 0 4px;
}

.bean-rate-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    align-items: center;
    padding: 16px 18px;
    margin-bottom: 20px;
    background: #F5F5F5;
    border: 1px solid rgba(139, 94, 60, 0.12);
    border-radius: 12px;
}

.bean-rate-summary__score {
    text-align: center;
    min-width: 110px;
}

.bean-rate-summary__avg {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--mainColor, #D60000);
}

.bean-rate-summary__stars,
.bean-rate-item__stars {
    display: inline-flex;
    gap: 2px;
    line-height: 1;
}

.bean-star {
    color: #d6d0c8;
    font-size: 1.5rem;
}

.bean-star.is-on {
    color: #e0a800;
}

.bean-rate-summary__count {
    margin-top: 6px;
    font-size: 1.3rem;
    color: #75665c;
}

.bean-rate-summary__bars {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bean-rate-bar {
    display: grid;
    grid-template-columns: 48px 1fr 28px;
    gap: 8px;
    align-items: center;
    font-size: 1.25rem;
    color: #5c4e44;
}

.bean-rate-bar__track {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #ece6df;
    overflow: hidden;
}

.bean-rate-bar__track > span {
    display: block;
    height: 100%;
    background: var(--mainColor, #D60000);
    border-radius: 999px;
}

.bean-rate-bar__count {
    text-align: right;
    color: #8a7b70;
}

.bean-rate-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bean-rate-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bean-rate-item:last-child {
    border-bottom: 0;
}

.bean-rate-item__head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.bean-rate-item__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--subColor, #E8C0C0);
    color: var(--mainColor, #D60000);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.6rem;
    flex: none;
    overflow: hidden;
}

.bean-rate-item__avatar--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bean-rate-item__name {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--textColor, #3d2b22);
}

.bean-rate-item__subtitle {
    font-size: 1.25rem;
    color: #8a7b70;
    margin-top: 2px;
}

.bean-rate-item__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 4px;
}

.bean-rate-item__stars .bean-star {
    font-size: 1.35rem;
}

.bean-rate-item__date {
    font-size: 1.2rem;
    color: #777777;
}

.bean-rate-item__title {
    margin: 0 0 6px;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--textColor, #3d2b22);
}

.bean-rate-item__content {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #4a3c33;
    text-align: justify;
}

.bean-rate-item__galleries {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.bean-rate-item__thumb {
    display: block;
    width: 88px;
    height: 88px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3efe9;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.bean-rate-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.bean-rate-item__thumb:hover img {
    transform: scale(1.05);
}

.bean-rate-empty {
    padding: 28px 16px;
    text-align: center;
    color: #555555;
    background: #F5F5F5;
    border-radius: 12px;
}

.bean-rate-empty p {
    margin: 0;
    font-size: 1.45rem;
}

.bean-rate-empty__hint {
    margin-top: 6px !important;
    font-size: 1.3rem !important;
    color: #777777;
}

@media (max-width: 767px) {
    .bean-rate-summary {
        gap: 16px;
        padding: 14px;
    }

    .bean-rate-summary__avg {
        font-size: 2.6rem;
    }

    .bean-rate-item__thumb {
        width: 72px;
        height: 72px;
    }
}


/* ========== Red / Black contrast system ========== */
:root {
    --mainColor: #E10600;
    --subColor: #111111;
    --textColor: #111111;
    --hover: #B50400;
    --price: #E10600;
    --on-dark: #FFFFFF;
    --on-dark-muted: #E6E6E6;
    --bean-bg: #FFFFFF;
    --bean-peach: #E8E8E8;
    --bean-pink: #F3F3F3;
    --bean-olive: #222222;
}

html,
body,
.bodywrap {
    background: #FFFFFF !important;
    color: var(--textColor);
}

/* ---- Header / nav: white on black, active = bright red ---- */
header.header .topbar {
    background: #111111 !important;
    color: var(--on-dark) !important;
}

header.header .topbar a,
header.header .topbar span,
header.header .topbar p,
header.header .topbar .text-box,
header.header .topbar .header-promo a,
header.header .topbar .header-list-right a {
    color: var(--on-dark) !important;
}

header.header .topbar svg,
header.header .topbar svg path {
    fill: var(--mainColor) !important;
    color: var(--mainColor) !important;
}

header.header .header-menu,
header.header .header-menu.current {
    background: #111111 !important;
}

header.header .header-menu .col-menu #nav .nav-item > a,
header.header .header-menu .col-menu #nav .nav-item > .nav-link,
header.header .header-menu #nav > .nav-item > a,
header.header .header-menu #nav > .nav-item > .nav-link {
    color: #FFFFFF !important;
}

header.header .header-menu .col-menu #nav .nav-item > a:hover,
header.header .header-menu .col-menu #nav .nav-item > .nav-link:hover,
header.header .header-menu .col-menu #nav .nav-item.active > a,
header.header .header-menu .col-menu #nav .nav-item.active > .nav-link,
header.header .header-menu #nav > .nav-item > a:hover,
header.header .header-menu #nav > .nav-item > .nav-link:hover,
header.header .header-menu #nav > .nav-item.active > a,
header.header .header-menu #nav > .nav-item.active > .nav-link {
    color: #FF3B3B !important;
}

header.header .main-header {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E8E8E8;
}

.bean-logo-text,
header.header .header-logo a,
header.header .header-logo .bean-logo-text {
    color: var(--mainColor) !important;
}

.btn-common.btn-primary,
.header .btn-primary,
.bean-promo-btn,
header.header .bean-promo-btn {
    background: var(--mainColor) !important;
    border-color: var(--mainColor) !important;
    color: #FFFFFF !important;
}

.btn-common.btn-primary:hover,
.btn-common.btn-primary:focus,
.header .btn-primary:hover,
.bean-promo-btn:hover {
    background: var(--hover) !important;
    border-color: var(--hover) !important;
    color: #FFFFFF !important;
}

.btn-common.btn-primary .txt-main,
.bean-promo-btn .txt-main {
    color: inherit !important;
}

/* ---- Surfaces: remove pink wash, keep neutral ---- */
.section_coupons,
.section_gallery,
.section_about,
.section_services,
.section_category,
.section_product_tab,
.section_product,
.section_blog,
.section_flash_sale .bg-flash-sale,
.bean-trust,
.content-page {
    background: #FFFFFF !important;
    background-image: none !important;
}

.bean-trust {
    border-top: 1px solid #E8E8E8;
    border-bottom: 1px solid #E8E8E8;
}

.bean-trust li,
.bean-trust span {
    color: var(--textColor) !important;
}

.bean-trust span {
    color: #555555 !important;
}

/* Category count text */
.section_category .cate-item .count,
.section_category .cate-item span,
.section_category .swiper_category .cate-item .title-cate span {
    color: #555555 !important;
}

/* Gallery collection cards: dark scrim so white title stays readable */
.section_gallery .collect-item .three_banner a {
    position: relative;
    display: block;
    overflow: hidden;
    background: #222222;
}

.section_gallery .collect-item .three_banner a::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.78) 100%);
    pointer-events: none;
    z-index: 1;
}

.section_gallery .collect-item .three_banner a .banner-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 16px 14px;
    background: transparent !important;
}

.section_gallery .collect-item .three_banner a .banner-info h3,
.section_gallery .collect-item .three_banner a .banner-info span,
.section_gallery .collect-item .three_banner a:hover .banner-info h3 {
    color: #FFFFFF !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.section_gallery .collect-item .three_banner a img.lazyload:not([src*="http"]):not([src*="/uploads"]) {
    background: #222222;
}

/* Swiper controls: solid black, not washed red */
.swiper-button-next.btn-common,
.swiper-button-prev.btn-common,
.swiper-button-next.btn-primary,
.swiper-button-prev.btn-primary {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
}

.swiper-button-next.btn-common:hover,
.swiper-button-prev.btn-common:hover {
    background: var(--mainColor) !important;
    border-color: var(--mainColor) !important;
}

.swiper-pagination-bullet {
    background: #111111 !important;
    opacity: .35 !important;
}

.swiper-pagination-bullet-active {
    background: var(--mainColor) !important;
    opacity: 1 !important;
}

/* Floating contact */
.out-circle,
.main-widget .out-circle,
.pregan {
    background: var(--mainColor) !important;
    color: #FFFFFF !important;
}

.out-circle svg,
.main-icon,
.main-widget .item svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

.ser-icon .item,
.ser-icon .item svg,
.info_support a .title-menu-zalo {
    color: var(--mainColor) !important;
    fill: var(--mainColor) !important;
}

/* ---- Footer: force readable light text ---- */
footer.footer,
footer.footer .mid-footer,
footer.footer .bg-footer-bottom {
    background: #111111 !important;
    color: var(--on-dark) !important;
}

footer.footer,
footer.footer * {
    color: var(--on-dark-muted);
}

footer.footer .title-menu,
footer.footer .footer-title,
footer.footer .col-footer-item > span,
footer.footer .col-footer-item .title,
footer.footer b,
footer.footer strong {
    color: #FFFFFF !important;
}

footer.footer a,
footer.footer .list_footer,
footer.footer .list_footer a,
footer.footer .content-contact a,
footer.footer .mid-footer .footer-info .content-contact span.list_footer a,
footer.footer .col-footer-item a,
footer.footer .copyright,
footer.footer .copyright a,
footer.footer .des_foo,
footer.footer .menu-bottom-footer a {
    color: #FFFFFF !important;
}

/* Category dropdown title on black nav */
header.header .header-menu .sudes-cate-header .title,
header.header .header-menu .sudes-cate-header .title span {
    color: #111111 !important;
}

header.header .header-menu .sudes-cate-header .title svg {
    color: var(--mainColor) !important;
    fill: var(--mainColor) !important;
}

/* Category dropdown: scroll when list is too long */
header.header .header-menu .navigation-horizontal .sudes-cate-header .sudes-list-cate {
    overflow: visible;
}

header.header .header-menu .navigation-horizontal .sudes-cate-header .sudes-list-cate .sudes-list-cate__scroll {
    max-height: min(70vh, 560px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #E10600 #F0F0F0;
}

header.header .header-menu .navigation-horizontal .sudes-cate-header .sudes-list-cate .sudes-list-cate__scroll::-webkit-scrollbar {
    width: 6px;
}

header.header .header-menu .navigation-horizontal .sudes-cate-header .sudes-list-cate .sudes-list-cate__scroll::-webkit-scrollbar-thumb {
    background: #E10600;
    border-radius: 999px;
}

header.header .header-menu .navigation-horizontal .sudes-cate-header .sudes-list-cate .sudes-list-cate__scroll::-webkit-scrollbar-track {
    background: #F0F0F0;
}

/* Keep mega submenu visible beside the panel while the left list scrolls */
@media (min-width: 992px) {
    header.header .header-menu .navigation-horizontal .sudes-cate-header .sudes-list-cate .sudes-main-cate > li.sudes-main-cate-has-child {
        position: static;
    }

    header.header .header-menu .navigation-horizontal .sudes-cate-header .sudes-list-cate .sudes-main-cate > li.sudes-main-cate-has-child > .menu-child.sub-menu {
        top: 0;
        left: 100%;
        height: 100%;
        max-height: min(70vh, 560px);
        overflow-y: auto;
    }

    /* When hovering a child menu, allow submenu to paint outside the scroll box */
    header.header .header-menu .navigation-horizontal .sudes-cate-header .sudes-list-cate:has(> .sudes-list-cate__scroll .sudes-main-cate-has-child:hover) > .sudes-list-cate__scroll {
        overflow: visible;
        max-height: min(70vh, 560px);
    }
}

@media (max-width: 991px) {
    header.header .header-menu .navigation-horizontal .sudes-cate-header .sudes-list-cate,
    header.header .header-menu .navigation-horizontal .sudes-cate-header .sudes-list-cate .sudes-list-cate__scroll {
        max-height: calc(100vh - 140px);
        overflow-y: auto;
    }
}

footer.footer a:hover,
footer.footer .list_footer a:hover {
    color: #FF3B3B !important;
}

footer.footer .logo-footer,
footer.footer .logo-footer a,
footer.footer .bean-logo-text {
    color: #FF3B3B !important;
}

/* Soft borders / leftover warm tint -> neutral */
.bean-coupons article,
.bean-posts article,
.bean-tabs button,
.item_product_main,
.dk-prod {
    border-color: #E8E8E8 !important;
}

.section_flash_sale .block-product-sale .tab-group .count-down {
    background: #111111 !important;
    color: #FFFFFF !important;
}

/* Mobile header icons */
@media (max-width: 991px) {
    header.header .main-header .header-action a,
    header.header .main-header .header-action button,
    header.header .main-header .sudes-header-actions a,
    header.header .main-header .align-items-center .header-right a,
    header.header .main-header .align-items-center .menu-mobile .menu-icon {
        background: #111111 !important;
        color: #FFFFFF !important;
        border-radius: 999px;
    }

    header.header .main-header .align-items-center .menu-mobile .menu-icon svg {
        color: #FFFFFF !important;
        fill: #FFFFFF !important;
    }
}
