/* Blue Star v2.0 — 商品详情页改版样式 */

.bsm-v2-related {
    margin: 14px 0 4px;
}
.bsm-v2-related-label {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 8px;
}
.bsm-v2-related-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.bsm-v2-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 12px 6px 6px;
    cursor: pointer;
    transition: all .2s;
    font-size: 13px;
    color: #334155;
    background: #fff;
}
.bsm-v2-option:hover {
    border-color: #C9A227;
}
.bsm-v2-option.active {
    border-color: #C9A227;
    background: #fffaf0;
    color: #0C294B;
    font-weight: 600;
}
.bsm-v2-option img {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 7px;
    border: 1px solid #f1f5f9;
}
.bsm-v2-option input[type="radio"] {
    display: none;
}

.bsm-v2-stock {
    margin: 10px 0 4px;
    font-size: 14px;
    font-weight: 600;
}
.bsm-v2-stock-out {
    color: #b32d2e;
    font-size: 13px;
    font-weight: 500;
}

.bsm-v2-buy-form {
    margin-top: 8px;
}
.bsm-v2-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.bsm-v2-qty-label {
    font-weight: 600;
    font-size: 14px;
    color: #334155;
}
.bsm-v2-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.bsm-step {
    width: 42px;
    height: 42px;
    background: #f8fafc;
    border: 0;
    font-size: 20px;
    color: #0C294B;
    cursor: pointer;
    line-height: 1;
}
.bsm-step:hover {
    background: #e2e8f0;
}
.bsm-step:disabled {
    opacity: .4;
    cursor: not-allowed;
}
.bsm-v2-stepper input {
    width: 64px;
    height: 42px;
    border: 0;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    -moz-appearance: textfield;
    appearance: textfield;
}
.bsm-v2-stepper input::-webkit-outer-spin-button,
.bsm-v2-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bsm-v2-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.bsm-action-btn {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 18px;
    border: 1.5px solid #0C294B;
    border-radius: 12px;
    background: #fff;
    color: #0C294B;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}
.bsm-action-btn:hover {
    background: #0C294B;
    color: #fff;
}
.bsm-action-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.bsm-action-title {
    font-size: 15px;
    font-weight: 700;
}
.bsm-action-est {
    font-size: 12px;
    color: #64748b;
}
.bsm-action-btn:hover .bsm-action-est {
    color: #cbd5e1;
}
.bsm-action-est b {
    color: #C9A227;
    font-weight: 700;
}
.bsm-v2-note {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 10px;
}

.bsm-v2-actions-secondary {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.bsm-btn-add-cart,
.bsm-btn-buy-now {
    flex: 1;
    min-width: 160px;
    padding: 13px 18px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}
.bsm-btn-add-cart {
    background: #fff;
    color: #0C294B;
    border: 1.5px solid #0C294B;
}
.bsm-btn-add-cart:hover {
    background: #f0f4fa;
}
.bsm-btn-buy-now {
    background: #C9A227;
    color: #0C294B;
    border: 1.5px solid #C9A227;
}
.bsm-btn-buy-now:hover {
    background: #b8921f;
}
.bsm-btn-add-cart:disabled,
.bsm-btn-buy-now:disabled {
    opacity: .45;
    cursor: not-allowed;
}
