.main_wrap {
    position: relative;
    width: 100vw;
    overflow-x: hidden;
    background-color: #ECECEC;
    font-family: '-apple-system', 'BlinkMacSystemFont', "Segoe UI", 'Roboto', Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    overscroll-behavior-x: none;
    color: #333;
    padding-bottom: 80px;
}

/* #region mobile_header.php */
.main_header {
    background-color: white;
    padding-top: 40px;
}

.main_header_top {
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 0 20px;
}

#headerLogo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.header_icon {
    position: relative;
    z-index: 999;
}

.main_header_bottom {
    display: flex;
    align-items: flex-end;
    color: #222;
    overflow-x: auto;
    padding: 15px;
    gap: 28px;
    font-size: 15px;
}

.main_header_bottom li {
    white-space: nowrap;
}
/* #endregion */

/* #region mobile_main_banner.php */
.main_slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    touch-action: pan-x;
}

.main_slides {
    display: flex;
    transition: transform 0.3s ease;
}

.main_slide {
    min-width: 100%;
    width: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main_slide img {
    width: 100%;
    height: auto;
}
/* #endregion */

/* #region mobile_category.php */
.main_category_wrap {
    background-color: white;
        padding: 24px 16px;
}

.main_category { 
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.main_category li {
    white-space: nowrap;
    color: #444;
    font-weight: 400;
}

.main_category_icon {
    width: 65px;
        aspect-ratio : 1 / 1;
        border-radius: 100%;
        background-color: #999;
        overflow: hidden;
}

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

.main_category a {
    display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        font-size: 11px;
        height: 100%;
        justify-content: space-between;
}
/* #endregion */

/* #region mobile_main_goodsDP.php */
.main_best_products {
    margin: 10px 0;
        display: flex;
        flex-direction: column;
        background-color: white;
        gap: 16px;
        padding: 18px 0 30px 16px;
}

.main_best_products h1 {
    margin-bottom: 8px;
}

.main_best_products ul {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding-right: 16px;
}

.main_best_product {
    display: flex;
        flex-direction: column;
        gap: 8px;
        width: 230px;
}

.main_best_product img:first-child {
    width: 30px;
    height: 30px;
}

.main_best_product_img {
    width: 100%;
}

.main_best_product_text {
    width: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        word-break: break-all;
}

.main_best_product_text p {
    font-size: 0.7rem;
        margin: 4px 0 16px 0;
        color: #666;
}

.main_best_product_text h5 {
    width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 15px;
}
/* #endregion */

/* #region mobile_main_MD_recommand.php */
.main_only_for_coolzenner {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 32px 0 32px 16px;
    gap: 16px;
}

.main_only_for_coolzenner ul {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-right: 16px;
}

.main_only_for_coolzenner ul li {
    width: 300px;
    flex-shrink: 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 32px 16px 32px 8px;
}

.main_only_for_coolzenner ul li a {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.main_only_for_coolzenner ul li img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.main_only_for_coolzenner_text p:first-child {
    font-size: 14px;
    font-weight: 600;
}

.main_only_for_coolzenner_text p:nth-child(2) {
    font-size: 12px;
    color: #555;
    margin: 2px 0 16px 0;
}

.main_only_for_coolzenner_text p:last-child {
    font-size: 16px;
    font-weight: bolder;
}

.main_only_for_coolzenner_text {
    flex: 1;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
}

.main_md_slider_indexes {
    display: flex;
    gap: 8px;
    margin-left: 8px;
}

.main_md_slider_index {
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background-color: #ccc;
}

.main_md_slider_index.dot-active {
    background-color: #888;
}
/* #endregion */

/* #region mobile_main_youtube_recommand.php */
.main_monthly_quote_wrap {
    padding: 32px 0;
    margin: 0 auto;
    width: fit-content;
    width: 100%;
}

.main_monthly_quote {
    margin-top: 16px;
    background-color: white;
}

.video_container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.video_container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.main_monthly_quote_products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 15px;
}

@media (min-width: 570px) {
    .main_monthly_quote_products {
        grid-template-columns: repeat(4, 1fr);
    }
}

.main_monthly_quote_products li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.main_monthly_quote_products li a img {
    width: 140px;
}

.main_monthly_quote_product_text {
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main_monthly_quote_product_text p {
    font-size: 12px;
}

/* #endregion */

/* #region mobile_main_recommandGoods.php, mobile_main_recommandGoods2.php */
.main_work_productive {
    margin-top: 16px;
    background-color: white;
    padding: 32px 16px;
    padding-right: 0;
}

.main_work_productive h3 {
    margin-bottom: 32px;
}

.main_work_productive_products_lists,
.optimistic_monitor_lists {
    display: none;
}

.main_content_show {
    display: flex;
    flex-direction: column;
}

.main_work_productive_categories {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.main_work_productive_category {
    color: #555;
    border: #888;
    padding: 5px 8px;
    border-radius: 20px;
    border: 1px solid #888;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
}

.main_work_productive_category.active {
    background-color: black;
    color: white;
    border: black;
}

.main_work_productive_products {
    margin-top: 16px;
    gap: 4px;
}

.main_work_productive_product {
    margin-right: 16px;
}

.main_work_productive_product a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main_work_productive_product img {
    width: 110px;
    margin: 0 4px;
}

.main_work_productive_text {
    display: flex;
    flex-direction: column;

    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
}

.main_work_productive_text p:first-child,
.main_work_productive_text p:last-child {
    font-size: 14px;
    font-weight: 600;
}

.main_work_productive_text p:nth-child(2) {
    font-size: 12px;
    margin: 4px 0 8px 0;
    color: #555;
}
/* #endregion */

/* #region mobile_main_premium.php */
.main_premium {
    background-color: white;
    margin-top: 16px;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
}

.main_premium h1 {
    margin-bottom: 16px;
}

.main_premium_banner {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    height: auto;
    margin-bottom: 32px;
}

.main_premium_banner img {
    width: 100%;
    object-fit: cover;
}

.main_premium_lists {
    width: 100%;
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding-right: 16px;
    margin: 0 auto;
}

.main_premium_lists li {
    width: 200px;
    flex-shrink: 0;
}

.main_premium_lists li a {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.main_premium_lists li a img {
    width: 200px;
}

.main_premium_list_text p:first-child,
.main_premium_list_text p:last-child {
    font-size: 14px;
    font-weight: 600;
}

.main_premium_list_text p:nth-child(2) {
    font-size: 12px;
    color: #555;
    margin: 4px 0 16px 0;
}

.main_premium_list_text {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
}
/* #endregion */

/* #region mobile_2side_banner.php */
.main_fancy {
    background-color: white;
    padding: 16px 0px 16px 8px;
    margin: 16px 0px 16px 8px;
}

.main_fancy_imgs {
    display: flex;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.main_fancy_imgs a{
    flex: 1;
    width: 100%;
}

.main_fancy_imgs img {
    flex: 1;
    width: 100%;
    object-fit: cover;
}
/* #endregion */

/* #region mobile_main_peripherals_new.php */
.main_preipherals_container {
    overflow-x: auto;
    margin-top: 24px;
}

.peripherals_categories {
    overflow-x: auto;
}

.peripherals_menu_item {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    border: 1px solid #888;
    padding: 8px 16px;
    white-space: nowrap;
    border-radius: 20px;
}

#peripherals_content {
    display: flex;
    gap: 16px;
}

.peripherals_menu_item.active{
    border: 1px solid black;
    background-color: black;
    color: white;
}

.main_recommand {
    background-color: white;
    padding: 32px 16px 48px 16px;
}

.main_recommand h3 {
    margin-bottom: 32px;
}
/* #endregion */

/* #region mobile_footer.php */
.main_footer {
    margin-top: 16px;
    background-color: white;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main_footer_text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 10px;
    color: #666;
    padding: 0 10px;
}
/* #endregion */

/* #region mobile_fixed_menu.php */
.main_fixed_menu_bottom {
    color: white;
    background-color: black;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    padding: 12px 16px;
    z-index: 999;
    height: 65px;
}

.main_fixed_menu_bottom ul {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.main_fixed_menu_bottom ul li {
    width: 50px;
}

.main_fixed_menu_bottom ul a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 38px;
    font-size: 11px;
}

.main_fixed_menu_bottom ul li a img {
    width: 18px;
    filter: brightness(10);
}
/* #endregion */