#main_content .shop-detail-page > .right.shop-detail-main {
    box-sizing: border-box;
    float: none;
    width: 100%;
    max-width: 100%;
}

#main_content .shop-detail-main > .box_container {
    float: none;
    width: 100%;
    max-width: 100%;
}

.shop-detail-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    margin: 22px 0;
}

.shop-detail-body--related {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 268px);
}

.shop-detail-article {
    min-width: 0;
}

.shop-detail-related {
    position: sticky;
    top: 12px;
    box-sizing: border-box;
    max-height: calc(100vh - 112px);
    overflow: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    padding: 12px;
    border: 1px solid #eee0e4;
    border-radius: 12px;
    background: #fff;
}

.shop-detail-related > h2 {
    margin: 2px 0 12px;
    color: #37262b;
    font-size: 18px;
    line-height: 1.3;
}

#main_content .shop-detail-related > .wrap-sp {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: auto;
    margin: 0;
}

#main_content .shop-detail-related > .wrap-sp::before,
#main_content .shop-detail-related > .wrap-sp::after {
    display: none;
}

#main_content .shop-detail-related > .wrap-sp > .block-sp {
    box-sizing: border-box;
    float: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
}

.shop-detail-main .soluong_11 .a_1 {
    color: #64303e;
    font: 500 16px/1.15 Arial, sans-serif;
}

#shop-sticky-purchase {
    position: fixed;
    z-index: 180;
    right: 18px;
    bottom: 13px;
    left: 18px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 14px;
    max-width: 1150px;
    margin: 0 auto;
    padding: 9px 13px;
    border: 1px solid #ebdbdf;
    border-radius: 13px;
    background: #fff;
    color: #34262a;
    box-shadow: 0 6px 24px rgba(49, 16, 24, .16);
}

#shop-sticky-purchase[hidden] {
    display: none;
}

body.shop-has-sticky-purchase {
    padding-bottom: 86px;
}

.shop-sticky-purchase__product {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.shop-sticky-purchase__product img {
    box-sizing: border-box;
    flex: 0 0 auto;
    object-fit: contain;
    border: 1px solid #eee4e7;
    border-radius: 7px;
}

.shop-sticky-purchase__product span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-sticky-purchase__price {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0 7px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.shop-sticky-purchase__price strong {
    grid-column: 1;
    grid-row: 1;
    color: #932a40;
    font-size: 17px;
    line-height: 1.3;
}

.shop-sticky-purchase__price del {
    grid-column: 1;
    grid-row: 2;
    color: #635d60;
    font-size: 12px;
}

.shop-sticky-purchase__discount {
    grid-column: 2;
    grid-row: 1;
    padding: 2px 5px;
    border-radius: 5px;
    background: #f6e3e8;
    color: #822039;
    font-size: 12px;
}

.shop-sticky-purchase__quantity {
    display: grid;
    grid-template-columns: 38px 36px 38px;
    align-items: center;
    text-align: center;
    border: 1px solid #e7d9dd;
    border-radius: 8px;
}

.shop-sticky-purchase__quantity button {
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: #fff6f8;
    color: #84283c;
    font: 17px/1 Arial, sans-serif;
    cursor: pointer;
}

.shop-sticky-purchase__quantity button:disabled {
    color: #82757a;
    cursor: default;
}

.shop-sticky-purchase__add {
    min-height: 44px;
    padding: 8px 16px;
    border: 0;
    border-radius: 9px;
    background: #96273d;
    color: #fff;
    font: inherit;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.shop-sticky-purchase__add:hover {
    background: #772035;
}

#shop-sticky-purchase button:focus-visible {
    outline: 2px solid #87263d;
    outline-offset: 2px;
}

@media (max-width: 899px) {
    .shop-detail-body--related {
        grid-template-columns: minmax(0, 1fr);
    }

    .shop-detail-related {
        position: static;
        max-height: none;
    }

    #main_content .shop-detail-related > .wrap-sp {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
