
.prodlist_line1.new-header-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.prodlist_line1.new-header-layout h3 {
    font-size: 18px;
    font-weight: bold;
    color: #1E1E1E;
    margin: 0;
    text-align: left;
    margin-left: -15px;
}

#recommendsingleprod .swiper-nav-buttons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
}

#recommendsingleprod .custom-nav-btn {
    position: static !important;
    width: 40px !important;
    height: 40px !important;
    background: #333333 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 !important;
    transition: opacity 0.3s;
}
#recommendsingleprod .custom-nav-btn:hover {
    opacity: 0.8;
}

#recommendsingleprod .custom-nav-btn:after {
    display: none !important;
}

#recommendsingleprod .custom-nav-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

#recommendsingleprod .custom-nav-btn.swiper-button-disabled {
    opacity: 0.5;
    cursor: auto;
}

.prod_detail {
    padding-top: 75px;
}
.prod_detail h4 {
   color: #212121;
    text-align: center;
    font-family: "Noto Sans HK";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;

}
.prod_detail h5{
    text-align: center;
    margin: 0 auto;
    margin-top: -10px;
    width: 110px;
    color: #212121;
    text-align: center;
    font-family: "Noto Sans HK";
    font-size: 8px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    border-bottom: 5px solid #FF731C;
}
@media screen and (max-width: 750px) {
    #app .prodlisttotal {
        margin: 0;
    }
}

.MB-product-desc-titel h4 {
   color: #212121;
    text-align: center;
    font-family: "Noto Sans HK";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;

}
.MB-product-desc-titel h5{
    text-align: center;
    margin: 0 auto;
    margin-top: -10px;
    width: 110px;
    color: #212121;
    text-align: center;
    font-family: "Noto Sans HK";
    font-size: 8px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    border-bottom: 5px solid #FF731C;
}

.service-section9{
     padding-top: 20px;
}ss
.breadcrumbs .divider{
    color: #212121;
    font-family: "Lexend Deca";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.breadcrumbs a{
    color: #212121;
font-family: "Lexend Deca";
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: normal;
}

@media screen and (max-width: 768px) {
    #recommendsingleprod .swiper-nav-buttons {
        display: flex !important;
        gap: 8px !important;
    }
    .prodlist_line1.new-header-layout {
        justify-content: space-between;
        margin-bottom: 10px;
        padding: 0 12px;
    }
    .prodlist_line1.new-header-layout h3 {
        text-align: left;
        margin-left: -30px;
        color: #212121;
        font-family: "Lexend Deca";
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }
    .btn-whatsapp{
        width: 50% !important;
    }
    .prod_detail {
        display: none !important;
    }

    #recommendsingleprod {
        width: 100%;
    }

    .myswiper8 {
        padding: 0 12px 12px;
    }

    #recommendsingleprod .custom-nav-btn {
        width: 34px !important;
        height: 34px !important;
    }

    #recommendsingleprod .custom-nav-btn svg {
        width: 16px !important;
        height: 16px !important;
    }
}

.myswiper8 {
    height: auto !important;
}

.myswiper8 .swiper-wrapper {
    align-items: stretch;
}

.myswiper8 .swiper-slide {
    height: auto !important;
}

.myswiper8 .listbox {
    height: auto !important;
    overflow: visible !important;
    box-sizing: border-box;
    padding-bottom: 8px;
}

            .myswiper8 .listbox img {
                width: 100%;
                height: 150px !important;
                object-fit: cover !important;
                border-radius: 8px;
                display: block;
            }

            @media screen and (min-width: 768px) {
                .myswiper8 .listbox img {
                    height: 180px !important;
                }
            }

.myswiper8 .listbox {
    position: relative;
    text-align: left;
}

.myswiper8 .discounttags {
    background: #EA3E3E !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: bold !important;
    padding: 2px 6px !important;
    border-radius: 2px !important;
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    width: auto !important;
    border: none !important;
    z-index: 2;
}

.myswiper8 .discounttags svg {
    display: none !important;
}

.myswiper8 .listbox h3 {
    font-size: 14px !important;
    color: #1E1E1E !important;
    margin: 10px 0 5px 0 !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
    text-align: left !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}





.myswiper8 .group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.myswiper8 .group .text-wrapper {
    font-size: 12px;
    color: #EA3E3E !important;
    text-decoration: none !important;
    line-height: 1.2;
}

.myswiper8 .group .div {
    font-size: 16px !important;
    color: #1E1E1E !important;
    font-weight: bold !important;
    text-align: left !important;
    margin-top: 5px;
}

/* Mobile Layout Reordering for Product Detail */
@media screen and (max-width: 768px) {
    #shadowbox .shadowboxson .thirdfa .third {
        display: flex !important;
        flex-direction: column;
    }

    /* 1. Header (Title, Price, Badges) */
    #shadowbox .shadowboxson .thirdfa .third .haspadding.stickytitle {
        order: 1;
    }

    #shadowbox .shadowboxson .thirdfa .third .haspadding.stickytitle .qty-section,
    #shadowbox .shadowboxson .thirdfa .third .haspadding.stickytitle .action-buttons,
    #shadowbox .shadowboxson .thirdfa .third .haspadding.stickytitle .payment-icons {
        display: none !important;
    }

    /* 2. Product List (Composite Options) */
    #shadowbox .shadowboxson .thirdfa .third .prodlist {
        order: 3;
    }

    /* 3. Left Unchoose Warning */
    #shadowbox .shadowboxson .thirdfa .third .leftunchoose {
        order: 4;
        width: 100%;
        text-align: center;
    }

    /* 4. Mobile WhatsApp Button */
    .mobile-whatsapp-btn-container {
        order: 2;
    }

    /* 5. Bottom Bar (Quantity, Buttons, Payment) */
    #shadowbox .shadowboxson .thirdfa .third .mypc.bottom,
    #shadowbox .shadowboxson .thirdfa .third .universal-bottom-bar {
        order: 5;
        /* display: none !important; */ /* Handled by specific classes now */
    }

    /* 6. Review Score */
    #shadowbox .shadowboxson .thirdfa .third .prodreviewscore {
        order: 6;
    }

    /* 7. Selling Points (Tags) */
    #shadowbox .shadowboxson .thirdfa .third .prodsellingpoint {
        order: 7;
    }

    /* 8. Description */
    #shadowbox .shadowboxson .thirdfa .third .description.realdescription {
        order: 8;
    }
    
    /* 9. Recommended Products */
    #shadowbox .shadowboxson .thirdfa .third #recommendsingleprod {
        order: 9;
    }
    
    /* 10. Divider */
    #shadowbox .shadowboxson .thirdfa .third .myhr {
        order: 10;
        display: none; /* Optional: Hide divider if not needed at bottom */
    }

    /* Ensure Payment inside Bottom Bar is visible and styled */
    .mypc.bottom .payment-icons,
    .universal-bottom-bar .payment-icons {
        display: block !important;
        margin-top: 10px;
        width: 100%;
        text-align: left;
    }
    
    .mypc.bottom .payment-icons h3,
    .universal-bottom-bar .payment-icons h3 {
        margin-bottom: 5px;
        font-size: 14px;
        display: block;
    }
    
    .mypc.bottom .icons-row,
    .universal-bottom-bar .icons-row {
        display: flex !important;
        flex-direction: row !important;
        gap: 6px;
        flex-wrap: wrap;
        margin-bottom: 5px;
    }

    .mypc.bottom .pay-icon,
    .universal-bottom-bar .pay-icon {
        height: 24px; /* Smaller icons on mobile */
        padding: 2px 4px;
    }
    
    .mypc.bottom .security-text,
    .universal-bottom-bar .security-text {
        margin-top: 0;
        font-size: 10px;
        display: block;
        color: #999;
    }
}

@media screen and (min-width: 769px) {
    .mypc.bottom {
        display: none !important;
    }

    #recommendsingleprod .MB-product {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    #recommendsingleprod .MB-product {
        display: block !important;
        padding: 12px 0;
    }

    #recommendsingleprod .MB-product .MB-product-desc {
        color: #1E1E1E;
        font-size: 14px;
        line-height: 1.6;
    }
}



/* 单品 */
	.new-prod-layout .prod-badges {
		display: flex;
		align-items: center;
		gap: 10px;
		margin-bottom: 10px;
	}

	.new-prod-layout .badge-discount {
		background: #EA3E3E;
		color: #FFFFFF;
		font-weight: 700;
		border-radius: 4px;
		font-size: 14px;
		padding: 2px 8px;
	}

	.new-prod-layout .badge-text {
		color: #666666;
		font-size: 14px;
		font-weight: 700;
	}

	.new-prod-layout .new-title {
		font-size: 24px;
		font-weight: 700;
		margin: 10px 0;
		color: #1E1E1E;
		line-height: 1.4;
	}

	.new-prod-layout .price-row {
		display: flex;
		align-items: baseline;
		gap: 10px;
		margin-bottom: 15px;
		flex-wrap: wrap;
	}

	.new-prod-layout .current-price {
		color: #FF6A00;
		font-size: 24px;
		font-weight: 700;
	}

	.new-prod-layout .original-price {
		color: #999999;
		text-decoration: line-through;
		font-size: 16px;
	}

	.new-prod-layout .savings-badge {
		background: #F0F0F0;
		color: #666666;
		padding: 2px 8px;
		border-radius: 4px;
		font-size: 12px;
	}

	.new-prod-layout .contact-text {
		color: #666666;
		margin-bottom: 15px;
		font-size: 14px;
		text-align: left;
	}

	.new-prod-layout .btn-whatsapp {
        width: 50%;
		background: #25D366;
		color: #FFFFFF;
		display: block;
		text-align: center;
		padding: 12px;
		font-weight: 700;
		border-radius: 4px;
		margin-bottom: 15px;
		text-decoration: none;
		font-size: 16px;
		box-sizing: border-box;
	}

	.new-prod-layout .qty-section {
		margin-bottom: 15px;
		display: flex;
		align-items: center;
		gap: 10px;
		flex-wrap: wrap;
	}

	.new-prod-layout .qty-control {
		width: 120px;
		height: 40px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		border: 1px solid #E0E0E0;
		border-radius: 8px;
		overflow: hidden;
		background: #FFFFFF;
        box-sizing: border-box;
	}

	.new-prod-layout .qty-control button {
		width: 40px;
		height: 100%;
		border: none;
		font-size: 18px;
		cursor: pointer;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1E1E1E;
        transition: background 0.2s;
	}

    .new-prod-layout .qty-control button:hover {
        background: #E0E0E0;
    }

	.new-prod-layout .qty-control input {
		width: 40px;
        height: 100%;
		border: none;
		text-align: center;
		font-size: 16px;
		outline: none;
		background: #FFFFFF;
        padding: 0;
        margin: 0;
        color: #1E1E1E;
        font-weight: 600;
	}

    @media screen and (max-width: 768px) {
        .new-prod-layout .qty-control.mb-qty-style {
            width: 140px;
            height: 44px;
        }
        .new-prod-layout .qty-control.mb-qty-style button {
            width: 44px;
            font-size: 20px;
        }
        .new-prod-layout .qty-control.mb-qty-style input {
            width: calc(100% - 88px);
            font-size: 18px;
        }
    }

	.new-prod-layout .action-buttons {
		display: flex;
		flex-direction: column;
		gap: 10px;
		margin-bottom: 20px;
	}

	.new-prod-layout .btn-add-cart,
	.new-prod-layout .btn-checkout {
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		height: 48px;
		padding: 0 12px;
		border: none;
		font-weight: 700;
		border-radius: 8px;
		font-size: 16px;
		cursor: pointer;
		width: 100%;
	}

	.new-prod-layout .btn-add-cart {
		background: #FF6A00;
		color: #FFFFFF;
	}

	.new-prod-layout .btn-checkout {
		background: #333333;
		color: #FFFFFF;
	}

	.payment-icons h3 {
		font-size: 15px;
		font-weight: 700;
		margin: 0 0 8px 0;
		color: #1E1E1E;
        text-align: left;
	}

	.icons-row {
		display: flex;
		gap: 8px;
		flex-wrap: wrap;
		align-items: center;
	}

	/* Unified Card Style for All Payment Icons */
	.pay-icon {
		box-sizing: border-box !important;
		height: 32px !important;
		border: 1px solid #E0E0E0 !important;
		border-radius: 4px !important;
		background: #FFFFFF !important;
		vertical-align: middle !important;
		transition: all 0.2s;
	}

	.pay-icon:hover {
		border-color: #B0B0B0;
	}

	img.pay-icon {
		display: block !important;
		width: auto !important;
		max-width: 60px !important; /* Limit width to prevent oversized icons */
		object-fit: contain !important;
		padding: 4px 6px !important;
        height: 32px !important; /* Force height explicitly on img tag */
	}

	span.pay-icon {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		padding: 0 10px !important;
		font-size: 11px !important;
		font-weight: 600;
		color: #444444 !important;
		white-space: nowrap;
	}

	@media screen and (max-width: 768px) {
		.pay-icon, img.pay-icon, span.pay-icon {
			height: 28px !important;
		}
	}

	.security-text {
		margin: 10px 0 0 0;
		font-size: 12px;
		color: #666666;
		line-height: 1.4;
		text-align: left;
	}

	.mobile-whatsapp-btn-container .btn-whatsapp {
		width: 100%;
		margin-bottom: 10px;
	}

	#shadowbox .mywhatsappfa .tagbox.discount {
		flex: 1;
	}

	#shadowbox .mywhatsappfa .tagbox.mywhatsapp {
		flex: 2;
		padding: 17px;
	}

	#shadowbox .mywhatsappfa .tagbox.mywhatsapp .tagbox2 .tag1 {
		border-radius: 10px;
		color: #fff;
		background: #06A78C;
		display: flex;
		height: 40px;
		padding: 10px;
		justify-content: center;
		align-items: center;
		gap: 12px;
	}

	#shadowbox .mywhatsappfa .tagbox.mywhatsapp .tagbox2 .tag1 a {
		color: #fff;
	}

	.imgmodel .modal-content img {
		width: 100%;
	}

	@media screen and (max-width: 768px) {
		#shadowbox .shadowboxson .thirdfa .third .haspadding.stickytitle .qty-section,
		#shadowbox .shadowboxson .thirdfa .third .haspadding.stickytitle .action-buttons,
		#shadowbox .shadowboxson .thirdfa .third .haspadding.stickytitle .payment-icons {
			display: none !important;
		}
	}

	.servicecontent strong {
		padding: 10px;
	}

	#shadowbox .shadowboxson .description .gradient-overlay {
		display: none;
	}

	#shadowbox .shadowboxson .description .expandmy {
		display: none;
	}
    #shadowbox img {
        height: auto;
    }
	@media screen and (max-width: 768px) {
		#shadowbox .btn-whatsapp {
			width: 100% !important;
		}

		body #shadowbox .shadowboxson .description .content_desc {
			height: 40px;
			overflow: hidden;
		}

		#shadowbox .shadowboxson .description .gradient-overlay {
			bottom: 35px;
			display: block;
		}

		#shadowbox .shadowboxson .description .expandmy {
			bottom: 8px;
			text-align: right;
			display: block;
		}

		#shadowbox .shadowboxson .description {
			margin-top: -10px;
		}

		#shadowbox .shadowboxson .haspadding .titleright {
			display: none;
		}

		body #app .mywhatsappfa {
			display: flex;
			flex-direction: column;
			gap: 20px;
		}
	}

    /* Imported from prod_composite.php */
    .prodlistfa .group{
        gap: 0px;
    }
    #shadowbox .shadowboxson .prodlist li{
        border-radius: 10px;
        border: 1px solid #FFE1D3 !important;
        background: #FFF9F6 !important;
    }
    #shadowbox .shadowboxson .prodlist li .prods .area .text-wrapper{
        font-size: 14px;
        font-weight: 600;
    }
    #shadowbox .shadowboxson .prodlist .titles .left div span{
        color: #757575;
    }
    #app #shadowbox .shadowboxson .thirdfa .third .prodlist ul li.already_complete{
        border: 1px solid #D6D6D6 !important;
        background: #F3F3F3 !important;
    }
    #shadowbox .shadowboxson .prodlist li .prods .area .image {
        max-width: unset;
    }
    @media screen and (max-width:768px) {
        .mbmenu{
            top: 70px;
        }
        .titleleft{
            max-width: 100%;
        }
        body.hide-mb-nav .navigation {
            display: none !important;
        }
        body.hide-mb-nav #shadowbox {
            z-index: 2147483647 !important;
        }
        body.hide-mb-nav .wa__btn_popup,
        body.hide-mb-nav .joinchat,
        body.hide-mb-nav .whatsapp_float,
        body.hide-mb-nav .whatsapp-widget,
        body.hide-mb-nav #whatsapp-chat,
        body.hide-mb-nav .whatsapp-button {
            display: none !important;
        }
        .mb-payment-right h3 {
            text-align: left !important;
        }
    }
