@font-face {
    font-family: 'PangMenZhengDao';
    src: url('../font/PangMenZhengDaoBiao/PangMenZhengDaoBiaoTiTiMianFeiBan-2.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    src: url('../font/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

@font-face {
    font-family: 'MicrosoftYahei';
    src: url('../font/MicrosoftYahei/yahei.ttf') format('truetype');
}

html,
body {
    transition: zoom 0.5s;
    touch-action: manipulation;
}

body {
    background-color: rgb(246, 243, 234);
    margin: 0;
}

.horizontal-line {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: 1px;
}


.popup-modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
    position: relative;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-align: center;
    margin: 10% auto;
    width: 80%;
    max-width: 1000px;

}

@media (min-width: 1300px) {
    .popup-content {
        margin: 5% auto;
    }
}

.closePopup {
    color: #aaa;
    float: right;
    font-size: 90px;
    top: 5px; 
    right: 20px;
    position: absolute;
    cursor: pointer;
}

.closePopup:hover,
.closePopup:focus {
    color: #aaa;
    text-decoration: none;
    cursor: pointer;
}

.offer_banner{
    width: 100%;
    max-width: 1000px;
    border-radius: 30px;
}

.categories {
    width: 1000px;
    overflow: hidden;
    position: sticky;
    background-color: rgb(246, 243, 234);
    top: 0;
}

.swiper {
    position: sticky;
}


.swiper-slide {
    margin: 0 !important;
}

.slider {
    display: flex;
    /* transition: transform 0.5s ease-in-out; */
    margin-bottom: 20px;
    margin-left: 45px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.card {
    width: 250px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin: 0 10px;
    position: relative;
    padding-top: 0;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0;
}

.cat-image {
    width: 160px;
}

.category-button {
    margin-top: -30px;
    padding: 10px 60px;
    background-color: rgb(203, 170, 162);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 2;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    position: relative;
    font-size: 25pt;
    white-space: nowrap;
    font-family: 'MicrosoftYahei', sans-serif;
    font-weight:700;
}

.product-section {
    justify-content: center;
    display: grid;
}

.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    height: 620px;
    width: 1000px;
}

.product {
    margin: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    background-color: #fff;
    margin-left: 20px;
}

.section-1{
    margin-top: 30px;
    margin-left: 80px;
    /* margin-bottom: 60px; */
    /* margin-right: 15px; */

    margin-right: 25px;
}

.section-2{
    margin-top: 30px;
    margin-right: 80px;
    /* margin-bottom: 60px; */
    margin-left: 15px;
}

.product-name {
    font-weight: bold;
}

.cart {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    left: 10px;
    right: 10px;
}

.cart-button {
    padding: 5px 10px;
    background-color: #f00;
    border: none;
    color: #fff;
}

.error {
    color: red;
}

.active {
    background-color: #ff0000;
    color: #ffffff;
}

.banner_image {
    width: 102%;
}

.image-container {
    position: relative;
    text-align: center;
    width: 400px;
    height: 400px;
}

.image-container img {
    border-radius: 30px;
    width: 100%;
    max-height: 400px;
}

.image-label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 25px;
    background-color: #f7ebf7;
    color: #333;
    font-weight: bold;
    margin-top: 30px;
    font-size: 1.5em;
    font-family: 'Montserrat', sans-serif;
    opacity: 0.9;
}

.product-name-en {
    margin-left: 25px;
    font-size: 22pt;
    font-family: 'Montserrat', sans-serif;
    font-weight: bolder;
    display: inline-block;
    margin-top: 5px;
}

/* .spacing {
    letter-spacing: 0.1em;
} */

.product-name-cn {
    margin-left: 25px;
    font-size: 21pt;
    font-family: 'MicrosoftYahei', sans-serif;
    display: block;
    margin-top: -4px;
    margin-bottom:10px;
    font-weight:900;
}

.product-description {
    margin-left: 25px;
    font-size: 18pt;
    font-family: 'MicrosoftYahei', sans-serif;
    display: block;
    margin-top: 0px;
    padding-bottom: 3px;
    font-weight:bold;
}

.product-price {
    margin-left: 25px;
    font-size: 25.3pt;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    display: block;
    color: #B40000;
    margin-bottom: 15px;
}

.pricing-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.inc-dec-section {
    margin-right: 25px;
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.product-quantity {
    font-family: 'Montserrat', sans-serif;
    font-weight: bolder;
    margin-top: 16px;
    font-size: 20.5pt;
}

.increment,
.decrement {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #B40000;
    color: white;
    border: none;
    font-size: 22.3pt;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.decrement{
    /* padding-bottom: 10px; */
}

/* Optional: Add hover effect */
.increment:hover,
.decrement:hover {
    background-color: darkred;
}

.quantity-error {
    font-size: 1.2em;
    padding: 0;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 5px;
    text-align: center;
}


        .whatsapp-icon {
            position: fixed;
            bottom: -5px;
            left: 0px;
            z-index: 9999;
        }
        
        .whatsapp-icon img {
            width: 10.0em;
            height: 10.0em;
            cursor: pointer;
        }
        
        
/*--------------------------------------------------------------
# White Container
--------------------------------------------------------------*/
.white-container {
    background-color: white;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1000px;
    width: 100%;
    padding-top: 95px;
    padding-bottom: 60px;
    box-sizing: border-box;
    display: flex;
}

/*--------------------------------------------------------------
# Fixed Button
--------------------------------------------------------------*/

.fixed-button {
    position: fixed;
    bottom: 33px;
  left: 65px; /* Left margin */
  right: 85px; /* Right margin */
  width: calc(100% - 140px); /* Adjusted width considering left and right margins */    
    background-color: #B40000;
    color: white;
    border: none;
    padding-top: 25px;
    padding-bottom: 25px;
    font-size: 37px;
    /* font-size: 2em; */
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    cursor: pointer;
    border-radius: 15px;
}

.fixed-button:hover {
    background-color: #f19999;
}

.fixed-button-text {
    color: white;
}

.fixed-button-text:hover {
    color: white;
}

.numberOfItem {
    float: left;
    margin-left: 60px;
    font-weight: bold;
}

.totalPrice {
    float: right;
    margin-right: 65px;
    font-weight: bold;
}


@media (min-width: 1090px) {
    .banner {
        text-align: center;
    }

    .banner_image {
        width: 1100px;
    }

    .products {
        width: 1000px;
    }
}