#main {
    padding-top: 20px;
    zoom: 1;
}

.product-detail-extends-wrapper {
    max-width: 1250px;
    margin: 0 auto;
}

.breadcrumb-nav {
    padding: 13px 15px;
}

.product-detail-layout-wrapper {
    --gallery: 480px;
    --info: 480px;
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    align-items: flex-start;
    justify-content: flex-start;
    grid-gap: 12px 24px;
    grid-template-columns: var(--gallery) var(--info);
    grid-template-areas: "productGallery productHeader productHeader" "productGallery productInfo productSidebar" "productBottom productBottom productSidebar";
    position: relative;
    font-size: 15px;
}

.product-detail-gallery {
    grid-area: productGallery;
    height: 100%;
}

.product-detail-header {
    grid-area: productHeader;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-items: flex-start;
}

.product-detail-info {
    --disabled: #555;
    grid-area: productInfo;
}

.product-detail-sidebar {
    grid-area: productSidebar;
}

.product-detail-banner {
    grid-area: productBanner;
}

.product-detail-bottom {
    grid-area: productBottom;
}

#product-slider {
    position: sticky;
    top: 110px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


#slides-variant #img-variant,
#slider-wrapper .MagicZoom img,
#product-slider .mz-figure > img {
    width: 480px;
    max-width: 480px;
    height: 480px;
    object-fit: contain;
    object-position: center;
}

#navigation {
    width: 100%;
    order: 7;
}

#nav-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.product-detail-banner {
    display: block;
    margin: 16px 0;
    cursor: pointer;
}

.product-detail-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-promotion {
    order: 3;
    width: 100%;
}

.market-price-box {
    display: grid;
    grid-template-columns: max-content auto;
    grid-template-areas: "OriginalPrice MarketPrice" "SavePrice SavePrice";
    grid-gap: 4px 8px;
    align-items: flex-start;
    margin-top: 12px;
    margin-bottom: 12px;
    height: 52px;
}

.original-price {
    grid-area: OriginalPrice;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    line-height: 1;
    width: fit-content;
    width: -moz-fit-content;
}

.original-price .price-show {
    font-size: 27px;
    color: var(--price);
    font-weight: 500;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.market-price {
    grid-area: MarketPrice;
    font-size: 19px;
    color: #595959;
    display: flex;
    align-items: center;
}

.save-price {
    grid-area: SavePrice;
    font-size: 14px;
    display: block;
    padding: 0;
}

.product-promotion+.brand-block {
    border: none;
}

.brand-block {
    width: 100%
}

.product-feature-policy {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: stretch;
    background-color: #f8f8f8;
    border-radius: var(--borderRadius);
    user-select: none;
    margin-top: 12px;
    margin-bottom: 4px;
}

.staff-only-wrapper {
    margin-top: 12px;
}

.note-chiaki-not-sale {
    color: var(--price);
    display: none;
}

.product-feature-item:nth-child(n+2) {
    border-left: 5px solid #fff;
}

.product-feature-item {
    --i: 52px;
    padding: 6px 12px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.product-feature-item small {
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--i);
    height: var(--i);
    border-radius: var(--i);
}

.product-feature-item .extension-icon {
    width: 40px;
    height: 40px;
}

.product-feature-item span {
    display: block;
    width: calc(100% - var(--i));
    padding-left: 12px;
    line-height: 1.2;
}


/* Search meta data */

.seo-meta-data-wrapper {
    position: relative;
    margin-top: 24px;
    margin-bottom: 32px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 15px;
}

.seo-meta-data-wrapper .category-description>*:first-child {
    margin-top: 0;
}

.seo-meta-data-wrapper .category-description>*:last-child {
    margin-bottom: 0;
}

.seo-meta-data-wrapper .read-more-category {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.seo-meta-data-wrapper.extends-seo-meta .read-more-category {
    position: relative;
    bottom: auto;
}

.seo-meta-data-wrapper:not(.extends-seo-meta) .category-description-wrapper {
    height: 70px;
    overflow: hidden;
}

.seo-meta-data-effect:not(.extends-seo-meta) .category-description-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 100%;
    width: 100%;
    display: block;
    background-image: -webkit-gradient(linear, left top, left bottom, from(hsla(0, 0%, 100%, 0)), to(#fff));
    background-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0), #fff);
    pointer-events: none;
}

.extends-seo-meta-button {
    opacity: 1;
    pointer-events: all;
}

.seo-meta-data-wrapper.extends-seo-meta .read-more-category span:after {
    content: "Thu gọn"
}

.search-blog-list-wrapper {
    position: relative;
    margin-top: 32px;
}

.search-blog-list-title {
    margin: 0;
    padding: 10px 0;
    font-size: 19px;
    color: #337ab7;
    line-height: 1.4;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.search-blog-list-title svg {
    margin-left: 4px;
}

.search-blog-list-title:hover svg {
    animation: link-goall 650ms linear infinite;
    -webkit-animation: link-goall 650ms linear infinite;
    -o--animation: link-goall 650ms linear infinite;
    -moz-animation: link-goall 650ms linear infinite;
}

@keyframes link-goall {
    0% {
        transform: translateX(-2px)
    }
    50% {
        transform: translateX(0);
        opacity: .7
    }
    80% {
        transform: translateX(2px);
        opacity: .9
    }
    100% {
        transform: translateX(0);
        opacity: 7
    }
}

@-moz-keyframes link-goall {
    0% {
        transform: translateX(-2px)
    }
    50% {
        transform: translateX(0);
        opacity: .7
    }
    80% {
        transform: translateX(2px);
        opacity: .9
    }
    100% {
        transform: translateX(0);
        opacity: 7
    }
}

@-webkit-keyframes link-goall {
    0% {
        transform: translateX(-2px)
    }
    50% {
        transform: translateX(0);
        opacity: .7
    }
    80% {
        transform: translateX(2px);
        opacity: .9
    }
    100% {
        transform: translateX(0);
        opacity: 7
    }
}

.search-blog-list-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr 2fr;
    grid-gap: 12px 16px;
}

.search-blog-list-content .news-item {
    background-color: #f7f7f7;
    padding: 0;
}

.search-blog-list-content .news-item:first-child {
    grid-column-start: span 2;
    grid-row-start: span 3;
    display: block;
    border-radius: var(--borderRadius);
    padding-bottom: 16px;
}

.search-blog-list-content .news-item {
    background-color: #f7f7f7;
    padding: 12px;
    border-radius: var(--borderRadius);
}

.search-blog-list-content .news-item.news-items-feature {
    padding: 0;
}

.news-items-feature .home-new-item-title,
.news-items-feature .home-new-item-description,
.news-items-feature .home-new-item-timer {
    padding: 0 16px;
    margin-top: 10px;
}

.search-blog-list-content .news-item:nth-of-type(2) .home-new-item-image+*,
.search-blog-list-content .news-item:nth-of-type(3) .home-new-item-image+*,
.search-blog-list-content .news-item:nth-of-type(4) .home-new-item-image+* {
    padding: 8px;
}

.search-blog-list-content .news-item:nth-of-type(2) {
    border-radius: 5px 5px 0 0;
}

.search-blog-list-content .news-item:nth-of-type(5) {
    border-radius: 0 0 5px 5px;
}

.search-blog-list-content .news-item:nth-child(n + 5) {
    grid-column-start: span 3;
    margin-bottom: 16px;
    background-color: #fff;
    padding: 0;
    border-radius: 0;
}

#showmore-search {
    position: absolute;
    bottom: 0;
    left: -20px;
    opacity: 0;
}

.showmore-search {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0;
    width: 100%;
    position: relative;
}

.showmore-search::after {
    content: "";
    height: 1px;
    width: 100%;
    display: block;
    background-color: #d1d1d1;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;
}

.showmore-search span {
    display: block;
    background-color: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 3px;
    padding: 4px 24px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    user-select: none;
}

#showmore-search:checked~.showmore-search .more,
.showmore-search .less {
    display: none;
}

#showmore-search:checked~.showmore-search .less {
    display: block;
}

.search-blog-list-content .news-item:nth-of-type(5) {
    margin-top: 32px
}

.search-blog-list-content .news-item:nth-child(n + 5) {
    display: none;
}

#showmore-search:checked~.search-blog-list-content .news-item:nth-child(n + 5) {
    display: grid;
}

.news-items-feature .home-new-item-image {
    width: 100%;
    height: auto;
    position: relative;
    display: block;
    float: none;
    background-color: #f8f8f8;
    border-radius: var(--borderRadius);
    overflow: hidden;
    margin-bottom: 16px;
    overflow: hidden;
}

.news-items-feature .home-new-item-image::before {
    content: "";
    display: block;
    padding-top: 50%;
}

.news-items-feature .home-new-item-image .items-block-img {
    border-radius: var(--borderRadius);
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px 5px 0 0;
}

.search-blog-list-content .news-item:nth-child(n + 5) {
    grid-template-columns: 250px calc(100% - 250px - 16px);
    padding: 0 100px;
    grid-gap: 6px 12px;
}

.search-blog-list-content .news-item:nth-child(n + 6) .home-new-item-image {
    width: 250px;
    grid-row-start: span 3;
}

.home-new-item-image::before {
    padding-top: 50%;
}

.home-new-item-description div {
    -webkit-line-clamp: 2;
}

.buyformesearch {
    position: relative;
    padding-left: 0;
}

#form-requirement {
    position: absolute;
    opacity: 0;
}

.product-target {
    display: none;
}

.form-requirement {
    cursor: pointer;
    font-weight: 500;
    font-size: 17px;
    position: relative;
    width: fit-content;
    width: -moz-fit-content;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    padding-bottom: 2px;
}

.form-requirement svg {
    margin-right: 4px;
    color: #23527c
}

.form-requirement::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    display: block;
    width: 100%;
    background-color: #e1e1e1;
}

.form-requirement::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    display: block;
    width: 50%;
    background-color: #23527c;
    transition: transform .3s cubic-bezier(.54, 0, .54, 1);
    z-index: 3;
    transform: translateX(-100%);
}

.form-requirement:hover::before {
    transform: translateX(160%);
    animation: hoverline 650ms linear infinite;
}

#form-requirement:checked~.product-target {
    display: block;
}

#form-requirement:checked~.form-requirement::before,
#form-requirement:checked~.form-requirement::after {
    display: none;
}

.warehouse-packet {
    padding: 0;
    margin: 0 10px 10px;
    min-height: 40px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.warehouse-packet.find-warehouse {
    visibility: visible;
    background: linear-gradient(45deg, rgba(209, 209, 209, 0.35), rgba(11, 11, 11, 0.1), rgba(209, 209, 209, 0.1), rgba(209, 209, 209, 0.15));
    background-size: 400% 400%;
    animation: gradient 3000ms ease infinite;
    user-select: none;
    border-radius: 5px;
}

.warehouse-packet.find-warehouse>* {
    opacity: 0;
}

.warehouse-packet svg {
    margin-right: 8px;
    transform: translateY(2px);
    color: #ffbc59;
}

.warehouse-packet .title-warehouse span {
    font-weight: bold;
}

.adds-warehouse {
    font-weight: bold;
}

.js-open-seller-layout {
    border: 1px solid #ececec;
    border-top: none;
}

@keyframes hoverline {
    0% {
        transform: translateX(-10px)
    }
    50% {
        transform: translateX(50%);
        opacity: .7
    }
    80% {
        transform: translateX(130%);
        opacity: .9
    }
    100% {
        transform: translateX(200%);
        opacity: 7
    }
}

@-moz-keyframes link-goall {
    0% {
        transform: translateX(-2px)
    }
    50% {
        transform: translateX(0);
        opacity: .7
    }
    80% {
        transform: translateX(2px);
        opacity: .9
    }
    100% {
        transform: translateX(0);
        opacity: 7
    }
}

@-webkit-keyframes link-goall {
    0% {
        transform: translateX(-2px)
    }
    50% {
        transform: translateX(0);
        opacity: .7
    }
    80% {
        transform: translateX(2px);
        opacity: .9
    }
    100% {
        transform: translateX(0);
        opacity: 7
    }
}

@media (min-width: 1300px) {
    .product-detail-layout-wrapper:not(.flashSale-header) {
        grid-template-rows: max-content 1fr;
        grid-template-columns: var(--gallery) var(--info) auto;
    }
}

@media (min-width: 1180px) {
    #product-filter-wrapper .slick-list {
        padding-right: 70px;
    }
}

@media (min-width: 1200px) and (max-width: 1300px) {
    .product-detail-layout-wrapper {
        --gallery: 600px;
        padding: 0 15px;
        max-width: 100%;
        grid-template-columns: var(--gallery) calc(100% - var(--gallery) - 16px);
        grid-template-areas: "productGallery productHeader" "productGallery productInfo" "productGallery productSidebar" "productBottom productBottom";
    }
}

@media (max-width: 1000px) and (orientation: portrait),
(max-width: 1200px) and (orientation: landscape) {
    #main .product-detail-layout-wrapper {
        max-width: calc(100vw - 24px);
        overflow: hidden;
    }

    .tab-content table {
        min-width: 400px;
    }

    #hotsearch,
    #js-product-same-store {
        max-width: calc(100vw - 30px);
        overflow: hidden;
    }
    
    .download-app-left {
        flex: initial;
        width: 100px;
    }

    #flashsale,
    .site-footer,
    .viewed-product-wrapper,
    .product-warp-bottom {
        max-width: 100vw;
        overflow-x: hidden;
    }
    .preview-crumbs,
    .category-breadcrumb {
        margin-bottom: 12px;
    }
    .breadcrumb-nav {
        white-space: nowrap;
        width: 100%;
        overflow: auto hidden;
    }
    .product-detail-layout-wrapper {
        --info: 520px;
        max-width: calc(100vw - 40px);
        width: 100%;
        margin: 0 auto;
        display: grid;
        grid-gap: 16px;
        grid-template-columns: var(--info) calc(100% - var(--info) - 16px);
        grid-template-areas: "productGallery productHeader" "productGallery productInfo" "productSidebar productSidebar" "productBottom productBottom";
        position: relative;
        overflow-x: hidden;
    }
    .product-feature-policy {
        flex-wrap: wrap;
    }
    .other-seller,
    .seller-block-wrap {
        /* width: 98%; */
    }
    .product-detail-sidebar,
    .product-feature-policy {
        width: auto;
    }
    #seller-list {
        grid-area: sellerList;
    }
    .additional {
        grid-area: additional;
        height: fit-content;
        margin: 0;
    }
    .report-product {
        grid-area: Report;
        align-items: flex-start;
    }
    .report-product span {
        transform: translateY(6px);
    }
    .a-seller-row {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    .a-section {
        order: 1;
        min-width: fit-content;
        font-size: 14px;
    }
    .a-size-small {
        font-size: 14px;
    }
    .a-color-price {
        order: 2;
        width: 100%;
        justify-content: flex-end;
    }
    .view-seller-link {
        margin: 0 6px;
    }
    .current-seller {
        max-width: calc(90vw - 40px);
        width: calc(90vw - 40px);
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 12px;
        padding: 0;
        margin: 0 auto;
    }
    .warranty-info {
        align-items: center;
        border-left: 1px solid #e1e1e1;
    }
    .warranty-info img {
        margin: 0 0 6px;
    }
    .store-info {
        margin: 0;
        padding: 12px;
    }
    .seller-rating-wrap {
        margin: 0;
    }
    .bought-together-list-product-image {
        width: 60%
    }
    #product-slider.product-top-box-left,
    #slider-wrapper,
    #slider-wrapper-variant {
        width: 100%;
        padding: 0;
    }

    .product-detail-gallery {
        height: auto;
    }

    /* #product-slider .mz-figure > img,
    #slider-wrapper img,
    .MagicZoom,
    .mz-figure {
        width: 480px !important;
        height: 480px;
        max-height: 480px;
    } */

    .tab-content table,
    .tab-content table tr,
    .tab-content table td {
        height: auto !important;
    }
}

@media (max-width: 1000px) and (orientation: portrait) {
    
    .product-detail-layout-wrapper {
        --info: 450px;
        max-width: calc(100vw - 30px);
        grid-template-columns: var(--info) calc(100% - var(--info) - 16px);
        grid-template-rows: auto auto auto;
        grid-template-areas: ".productHeader" "productGallery productInfo" "productSidebar productSidebar" "productBottom productBottom";
    }
    /* #product-slider .mz-figure > img,
    #slider-wrapper img,
    .MagicZoom,
    .mz-figure {
        width: 360px !important;
        height: 360px;
        max-height: 360px;
    } */

    .bought-together-price-box {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin-top: 16px;
        width: 100%;
    }

    .bought-together-total-price {
        margin-bottom: 0;
    }

    .bought-together-loading-wrap, .bought-together-details-link {
        margin: 0 auto;
    }

    .product-detail-layout-wrapper>* {
        order: 2;
    }
    .product-feature-item:nth-child(n+2) {
        border: none;
        border-top: 6px solid #fff;
        width: 100%;
    }
    .product-detail-header {
        order: 1;
        grid-column-start: span 2;
    }
    #product-slider .mz-figure.mz-hover-zoom.mz-no-zoom {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .seller-container {
        display: block;
    }
    .product-feature-item span,
    .shipping-fee {
        padding: 0;
        font-size: 13px;
    }
    .product-detail-info .buy-to-cart-wrapp {
        margin-bottom: 0;
    }
    .report-product {
        margin-top: 16px;
    }
    #product-slider,
    #slider-wrapper,
    #slider-wrapper-variant {
        width: 100%;
        padding: 0;
    }
    #product-slider .nav-item {
        width: 60px;
        height: 60px;
        border-radius: 4px;
        background-color: #fff;
        padding: 0;
    }
    #product-slider .nav-item img {
        background-color: #fff;
    }
    .MagicZoom,
    .mz-figure {
        min-height: 1px;
    }
    .warehouse-packet {
        padding: 0;
        margin: 0 0px 10px;
        min-height: 22px;
        font-size: 14px;
    }
    .warehouse-packet svg {
        margin-left: 6px;
        margin-right: 10px
    }
}