* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}
a {
    text-decoration: none;    
}
h2 {
    font-size: 14px;
    color: #000;
}
li {
    list-style: none;
}
/* 导航栏样式 */
.uPLsdim6hH {
    background-color: #333; /* 导航栏背景色 */
    color: white; /* 字体颜色 */
    display: flex; /* 使用 Flexbox 布局 */
    flex-wrap: wrap; /* 允许换行 */
    justify-content: space-between; /* 主轴方向上分散对齐 */
    padding: 10px 20px; /* 内边距 */
}

.uPLsdim6hH ul {
    list-style-type: none; /* 去掉默认的列表样式 */
}

.uPLsdim6hH li {
    float: left;
}

.uPLsdim6hH a:hover {
    background-color: #575757; /* 悬停时的背景色 */
}

.level2 a {
    display: block; /* 每个链接占满一整行 */
}

.wQ7ULLWTop {
    max-width: 1400px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
}


.iCCw78h49n, .H8xk1kqljy {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(470px, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

.jdslGMG5mv {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    padding: 15px;
    transition: box-shadow 0.3s;
}

.jdslGMG5mv h2 {
    padding: 3px 0;
}

.jdslGMG5mv:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.jdslGMG5mv img {
    max-width: 50%;
    height: auto;
    float: left;
}

.jdslGMG5mv a {
    display: flex;
    align-items: center;
}

.price {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    color: #e74c3c; /* 红色 */
}

.CEo0suLN8H {
    display: flex; /* 使用 Flexbox 布局 */
    flex-direction: column; /* 默认垂直排列 */
    align-items: center; /* 水平居中 */
}

.H8xk1kqljy {
    margin-bottom: 20px; /* 图片与信息之间的间隔 */
}

.H8xk1kqljy img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.z34oVc6oaq {
    text-align: center;
}

.AE2s36s9qE {
    margin: 10px 0;
    line-height: 1.5; /* 行距 */
}

.EoLpUxwztP {
    display: block;
    font-size: 24px;
    color: #e74c3c; /* 红色 */
    margin: 15px 0;
}

.kHkMexP1Lf {
    border: 2px solid #000000;
    color: #000000;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    margin: 0 5px;
    transition: background-color 0.3s;
}
.S21Ea6ymRH {
    background-color: #000000; /* 蓝色 */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    margin: 0 5px;
    transition: background-color 0.3s;
}

.S21Ea6ymRH a {
    color: #FFFFFF;
}

.S21Ea6ymRH:hover {
    background-color: #3e3e3e; /* 深蓝色 */
}

.S21Ea6ymRH svg {
    fill: #FFFFFF;
}
.fxUbiPuref {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.Qcp00HU8mf {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.jyTzsT74KP {
    display: flex;
    justify-content: center;
    padding: 14px 0;
}

.jyTzsT74KP img {
    max-height: 25px;
    width: auto;
}

#EM9yVRtovm {
    margin-bottom: 20px;
}

#EM9yVRtovm img{
    width: 100%;
    height: auto;
}

.JyLqrifEUo {
    display: flex;
    max-width: 100%;
}

.dgAFh65jzC img {
    max-width: 100%;
    width: 100%;
    height: auto;
}
.dgAFh65jzC {
    text-align: center;
    padding: 10px;
    flex: 1;
}

.categories_img img {
    width:300px;
    max-width: 300px;
    height: auto;
}

#description {
    padding: 0 20px;
    font-size: 1.4em;
    display: flex;
    text-transform: capitalize;
}

#productListHeading {
    padding: 20px;
}
/* 移动端样式 */
@media (max-width: 768px) {

    .JyLqrifEUo {
        flex-direction: column;
    }

    .iCCw78h49n, .H8xk1kqljy {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    .uPLsdim6hH {
        flex-direction: column; /* 垂直排列 */
    }

    .uPLsdim6hH li {
        width: 100%; /* 宽度全屏 */
    }

    .uPLsdim6hH a {
        text-align: center; /* 中心对齐 */
        padding: 12px 0; /* 增加上下内边距 */
    }
    .wQ7ULLWTop {
        padding: 10px;
    }

    h1 {
        font-size: 24px;
    }

    .jdslGMG5mv {
        padding: 10px;
        max-width: 100%;
        overflow: hidden;
    }

    .CEo0suLN8H {
        flex-direction: column; /* 在小屏幕上保持列布局 */
    }

    h1 {
        font-size: 28px; /* 在小屏幕上标题字体稍大 */
    }

    .price {
        font-size: 20px; /* 较小的价格字体 */
    }

    .add-to-cart {
        width: 100%; /* 按钮宽度适应屏幕 */
    }
}