/* 左侧品牌分类 */
#shoes .left-panel {
    width: 22%;
    background-color: #F7F7F7;
    overflow-y: auto;
    height: 100%;
}

#shoes #brandPanel{
    position: fixed;
    top: 60px;
    left: 0;
    width: 22%;
    height: calc(var(--vh, 1vh) * 100 - 60px);
    overflow-y: scroll;
    background-color: #F7F7F7;
    padding-bottom: 75px;
}
@media screen and (min-width: 430px) {
    #shoes #brandPanel {
        width: calc(430px * 0.22);
        left: calc(50% - 215px);
    }
}

#shoes .brand-item {
    padding: 15px 4px;
    text-align: center;
    cursor: pointer;
    background-color: #F7F7F7;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

#shoes .brand-item.active {
    background-color: #fff;
    font-weight: 600;
    border-left: 2px solid #e53935;
}

#shoes .brand-image {
    width: 48px;
    height: 32px;
    /* border-radius: 4px; */
    background-color: transparent;
    margin-bottom: 4px;
    object-fit: contain;
    object-position: center;
}

#shoes .brand-name {
    font-size: 16px;
    color: #666;
}

#shoes .brand-item.active .brand-name {
    font-weight: 600;
}

/* 右侧商品列表 */
#shoes .right-panel {
    flex: 1;
    overflow-y: auto;
    background-color: #fff;
    height: 100%;
}

#shoes .right-header {
    padding: 12px 16px;
    background-color: #fff;
}

#shoes .header-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

#shoes .header-count {
    font-size: 14px;
    color: #999;
    margin-top: 4px;
}

/* 商品列表 */
#shoes .product-list {
    padding: 12px;
}

#shoes .product-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 4px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#shoes .product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* 图片区域 - 横向平铺 */
#shoes .image-swiper {
    width: 100%;
    height: 80px;
    margin-bottom: 10px;
    overflow: hidden;
}

#shoes .image-swiper .swiper-wrapper {
    height: 100%;
    align-items: center;
}

#shoes .image-swiper .swiper-slide {
    width: 100px !important;
    height: 70px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    flex-shrink: 0;
}

#shoes .image-swiper .image-active {
    border-color: #e53935;
}

/* 属性滑动容器 */
#shoes .attr-container {
    margin-bottom: 8px;
}

#shoes .attr-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 6px;
}

#shoes .attr-swiper {
    width: 100%;
    height: 36px;
}

#shoes .attr-swiper.size-swiper {
    overflow: hidden;
}

#shoes .attr-swiper .swiper-wrapper {
    align-items: center;
}

#shoes .attr-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: #F7F7F7;
    font-size: 14px;
    color: #333;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
    cursor: pointer;
}

#shoes .attr-item.active {
    background-color: #ffebee;
    border-color: #e53935;
    color: #e53935;
}

#shoes .stock-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e0e0e0;
}

#shoes .stock-left {
    display: flex;
    align-items: center;
}

#shoes .stock-label {
    font-size: 14px;
    color: #999;
    margin-right: 4px;
}

#shoes .stock-value {
    font-size: 14px;
    color: #e53935;
    font-weight: 600;
}

#shoes .consult-btn {
    padding: 6px 16px;
    background-color: #e53935;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#shoes .consult-btn:hover {
    background-color: #c62828;
}

.coco-modal-body:has(#shoesModal){
    padding: 0;
}
