.product__details-size {
    margin: 15px 0;
    gap: 12px;
}

.product__details-size-label {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.product__details-size-list {
    gap: 10px;
}

.product__details-size-list .size-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    background: #fff;
}

.product__details-size-list .size-item:hover {
    border-color: #e63946;
    color: #e63946;
}

.product__details-size-list .size-item.active {
    background: #e63946;
    border-color: #e63946;
    color: #fff;
}

.product-params-table {
    width: calc(100% - 40px);
    margin-left: 40px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 14px;
    color: #333;
    background: #fff;
}

.product-params-table th,
.product-params-table td {
    border: 1px solid #e5e5e5;
    padding: 12px 14px;
    vertical-align: middle;
    line-height: 1.6;
    word-break: break-all;
}

/* 参数名列 */
.product-params-table th {
    width: 14%;
    background: #f7f7f7;
    font-weight: 600;
    text-align: right;
    color: #333;
    white-space: nowrap;
}

/* 参数值列 */
.product-params-table td {
    width: 36%;
    text-align: left;
    color: #555;
    background: #fff;
}

/* 移动端适配：小屏时改为单列堆叠 */
@media (max-width: 767px) {
    .product-params-table {
        width: 100%;
        margin-left: 0;
    }

    .product-params-table,
    .product-params-table tbody,
    .product-params-table tr,
    .product-params-table th,
    .product-params-table td {
        display: block;
        width: 100%;
    }

    .product-params-table tr {
        border-bottom: 2px solid #e5e5e5;
    }

    .product-params-table th {
        text-align: left;
        background: #f7f7f7;
        border-bottom: none;
    }

    .product-params-table td {
        border-top: none;
    }

    .product-params-table th:empty,
    .product-params-table td:empty {
        display: none;
    }
}

.shop-info-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px 35px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

/* 顶部店铺信息 */
.shop-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e5e5e5;
}

.shop-info-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e63946;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.shop-info-title h4 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.shop-info-tag {
    display: inline-block;
    font-size: 12px;
    color: #e63946;
    border: 1px solid #e63946;
    border-radius: 3px;
    padding: 1px 8px;
    line-height: 18px;
}

/* 简介区域 */
.shop-info-body {
    padding: 22px 0 10px;
}

.shop-info-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    position: relative;
    padding-left: 12px;
}

.shop-info-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 15px;
    background: #e63946;
    border-radius: 2px;
}

.shop-info-desc {
    font-size: 14px;
    line-height: 1.9;
    color: #666;
    margin: 0;
}

/* 评分区域 */
.shop-info-rating {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0 25px;
    padding: 18px 20px;
    background: #fafafa;
    border-radius: 8px;
}

.shop-rating-item {
    flex: 1;
    min-width: 100px;
    text-align: center;
    border-right: 1px solid #eee;
}

.shop-rating-item:last-child {
    border-right: none;
}

.shop-rating-label {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
}

.shop-rating-score {
    font-size: 22px;
    font-weight: 700;
    color: #e63946;
}

/* 按钮区域 */
.shop-info-action {
    text-align: center;
}

.shop-info-action .swiftcart-btn {
    display: inline-block;
    padding: 12px 40px;
}

/* 移动端适配 */
@media (max-width: 767px) {
    .shop-info-card {
        padding: 20px;
    }

    .shop-info-rating {
        gap: 10px;
        padding: 15px 10px;
    }

    .shop-rating-score {
        font-size: 18px;
    }
}