.container{
    /* 100%窗口宽度 */
    width: 1100px;
    /* 相对定位 */
    position: relative;
    /* 弹性布局 垂直排列 水平居中 */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.banner{
    /* 90%窗口宽度 */
    width: 90vw;
    max-width: 1680px;
    height: 432px;
    background-size: cover;
    background-position: center;
}
.title-box{
    width: 200px;
    height: 410px;
    background-color: rgba(0,0,0,0.45);
    /* 绝对定位 右侧 */
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    padding-top: 20px;
    /* 背景模糊 */
    backdrop-filter: blur(3px);
}
.title{
    height: 43px;
    line-height: 43px;
    text-indent: 40px;
    font-size: 15px;
    cursor: pointer;
    /* 文本不换行 */
    white-space: nowrap;
    /* 溢出隐藏 */
    overflow: hidden;
    /* 字体大小改变时的过渡 */
    transition: font-size 0.1s;
}
.title span{
    font-size: 13px;
    /* 副标题默认隐藏 */
    opacity: 0;
}
/* 当前项样式 */
.title.active{
    color: #ff5c38;
    font-size: 22px;
    font-weight: bold;
}
.title.active span{
    opacity: 1;
}

.buy{
    font-family: Arial, sans-serif;
    background-color: #34e1ff;
    margin: 0 auto;
    padding: 0;
    position: relative;
    text-align: center;
}
h2 {
    text-align: center;
    margin-top: 20px;
}
.list{
    position: relative;
    /* 弹性布局 */
    display: flex;
    justify-content: center;
    /* 允许换行 */
    flex-wrap: wrap;
    width: 1100px;
    height: 400px;
}
.list .product {
    justify-content: center;
    width: 300px;
    height: 450px;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 0 auto;
    background-color: #fff;
}
button {
    padding: 8px 12px;
    background-color: #4caf50;
    color: #fff;
    border: none;
    cursor: pointer;
}
button:hover {
    background-color: #45a049;
}
.cart {
    border: 1px solid #000;
    padding: 10px;
    background-color: #fff;
    max-width: 1100px;
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #ccc;
}
.cart-item:last-child {
    border-bottom: none;
}
.cart-total {
    font-weight: bold;
    margin-top: 10px;
    text-align: right;
}
.imag{
    color: #ff594d;
    width: 300px;
    height: 250px;
    margin: 0 auto;
    text-align: center;
}