* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.static-shopping-box {
    max-width: 1200px;
    min-height: 644px;
    border: 8px solid #333333;
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    box-sizing: border-box;
    width: 100%;
}

.shopping-box-left {
    flex: 0 0 calc(100% - 330px);
    max-width: 870px;
    background: #ffffff;
    position: relative;
    box-sizing: border-box;
}

.shopping-box-left .left-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 30px 30px 28px 30px;
}

.left-top .left-top-title {
    height: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.left-top-title .title-text {
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 20px;
    color: #000000;
    font-style: normal;
    text-transform: none;
}

.title-days .el-radio-group .el-radio-button__inner {
    background: #63d6fd;
    padding: 4px 13px;
    border-radius: 14px !important;
    min-height: 28px;
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.left-top-search .el-input__inner {
    max-width: 220px;
    height: 34px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e6e8e8;
}

.left-top-search .el-input__prefix .el-input__icon {
    color: #cacaca;
    font-size: 12px;
}

.shopping-box-left .left-content {
    padding: 0 30px;
}

/* tabs style */
.left-content-tabs .el-tabs__header {
    margin: 0 0 18px 0;
}

.left-content-tabs .el-tabs__nav {
    display: flex;
    width: 100%;
}
.left-content-tabs .el-tabs__item {
    flex: 1;
    text-align: center;
    padding: 0;
    font-family: Poppins, Poppins;
    font-weight: 400;
    font-size: 16px;
    color: #999999;
    font-style: normal;
    text-transform: none;
}

.left-content-tabs .el-tabs__item.is-active {
    font-weight: 600;
    color: #333333;
    background-color: #ffffff !important;
    border-bottom: 2px solid #000000;
}

.left-content-tabs .el-tabs__active-bar {
    display: none;
}
/* tabs style end */

/* 核心内容区域布局 - 响应式重点优化 */
.left-content-card {
    max-height: 400px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 默认2列布局 */
    gap: 20px;
    padding: 10px 0;
    box-sizing: border-box;
}

/* 滚动条样式 */
.minimal::-webkit-scrollbar {
    width: 6px;
}

.minimal::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 8px;
}

.minimal::-webkit-scrollbar-thumb,
.minimal::-webkit-scrollbar-thumb:hover {
    background: #f6f6f6;
    border-radius: 8px;
}
/* 滚动条 end */

.left-content-list {
    max-width: 380px;
    min-height: 60px;
    height: 60px;
    background: #ffffff;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid #e6e8e8;
    display: flex;
    align-items: center;
}

.left-content-list .country_img {
    width: 32px;
    height: 32px;
    min-width: 32px;
    box-sizing: content-box;
}

.left-content-list .country_img img {
    width: 100%;
    border-radius: 50%;
}

.left-content-list .country_name {
    padding-left: 6px;
    text-wrap: nowrap;
    overflow: hidden;
    flex: 1;
}

.left-content-list .country_name p:first-child {
    font-family: Poppins, Poppins;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.left-content-list .country_name p:last-child {
    font-family: Poppins, Poppins;
    font-weight: 400;
    font-size: 14px;
    color: #9fa3a5;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.left-content-list .ip_price {
    font-family: Poppins, Poppins;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    text-align: left;
    font-style: normal;
    text-transform: none;
    padding-left: 20px;
}

/* 数量选择器 */
.card-number {
    padding-left: 20px;
}

.card-number .el-input--small .el-input__inner {
    height: 24px;
    padding: 0;
    border: none;
}

.el-input-number {
    line-height: 20px;
    width: 86px;
}

.card-number .el-input-number--small .el-input-number__decrease,
.card-number .el-input-number--small .el-input-number__increase {
    width: 20px;
    height: 20px;
    font-size: 10px;
    color: #333333;
    background: #f4f4f4;
    border-radius: 6px;
}
/* 数量选择器 end */

.shopping-box-left .left-bottom {
    width: 100%;
    height: 82px;
    min-height: 82px;
    background: #fbfcfc;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 22px;
    position: absolute;
    bottom: 0;
    z-index: 2;
}

.left-bottom .payTitle {
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 20px;
    color: #333333;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.left-bottom .typeList {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.left-bottom .typeList img {
    width: 42px;
    height: 42px;
}

.shopping-box-right {
    flex: 0 0 330px;
    padding: 30px 30px 20px 29px;
    background: #fbfcfc;
    box-sizing: border-box;
    overflow: hidden;
}

.shopping-box-right .right-top-title {
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 20px;
    color: #000000;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.shopping-box-right .right-content-card {
    width: 100%;
    max-height: 391px;
    height: 391px;
    overflow-y: auto;
    margin-top: 20px;
    margin-bottom: 16px;
    padding-top: 16px;
    padding-right: 10px;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}

/* 右侧滚动条样式 */
.right-content-card::-webkit-scrollbar {
    width: 6px;
}

.right-content-card::-webkit-scrollbar-track {
    background: transparent;
}

.right-content-card::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
}

.right-content-list {
    width: 100%;
    height: 78px;
    max-width: 271px;
    min-height: 78px;
    background: #ffffff;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid #e6e8e8;
    display: flex;
    align-items: center;
}

.right-content-list .country_img {
    width: 44px;
    height: 44px;
    min-width: 44px;
    box-sizing: content-box;
}

.right-content-list .country_img img {
    width: 100%;
    border-radius: 50%;
}

.right-content-list .country_name {
    padding-left: 8px;
    text-wrap: nowrap;
    overflow: hidden;
    flex: 1;
}

.right-content-list .country_name p:first-child {
    font-family: Poppins, Poppins;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 9px;
}

.right-content-list .country_name p:last-child {
    font-family: Poppins, Poppins;
    font-weight: 400;
    font-size: 14px;
    color: #9fa3a5;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.left-content-list .right-number {
    display: flex;
}

.right-number .ip_price {
    font-family: Montserrat, Montserrat;
    font-weight: 600;
    font-size: 16px;
    color: #ff6f1b;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.right-number .card-number {
    padding: 0;
}

.right-bottom-total {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.right-total {
    display: flex;
    justify-content: space-between;
}

.right-total-ipspir {
    font-family: Poppins, Poppins;
    font-weight: 400;
    font-size: 16px;
    color: #666666;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.right-total-ipsnum {
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 16px;
    color: #333333;
    text-align: right;
    font-style: normal;
    text-transform: none;
}

.right-total-all {
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 20px;
    color: #000000;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.right-total-colornum {
    font-family: Montserrat, Montserrat;
    font-weight: 600;
    font-size: 22px;
    color: #ff6f1b;
    text-align: right;
    font-style: normal;
    text-transform: none;
}

.right-total-button .el-button {
    width: 100%;
    height: 40px;
    background: #63d6fd;
    border-radius: 8px;
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    font-style: normal;
    text-transform: none;
}

/* 响应式布局 - 逐步调整left-content-card */
/* 中等屏幕 (≤1200px) */
@media (max-width: 1200px) {
    .static-shopping-box {
        padding: 0;
        margin: 0 auto;
        width: calc(100% - 30px);
    }
    
    .shopping-box-left {
        flex: 0 0 calc(100% - 300px);
        max-width: calc(100% - 300px);
    }
    
    .shopping-box-right {
        flex: 0 0 300px;
    }
    
    /* 调整内容卡片布局 */
    .left-content-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .left-content-list {
        max-width: 100%;
    }
}

/* 平板设备 (≤1024px) */
@media (max-width: 1024px) {
    .left-content-card {
        gap: 15px;
    }
    
    .left-content-list {
        padding: 12px 15px;
    }
}

/* 小平板/大手机 (≤768px) */
@media (max-width: 768px) {
    .static-shopping-box {
        flex-direction: column;
        border-width: 4px;
        border-radius: 16px;
        padding: 0;
    }
    
    .shopping-box-left,
    .shopping-box-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .shopping-box-right {
        width: 100%;
        flex: none;
    }
    
    .shopping-box-left .left-top {
        flex-direction: column;
        padding: 20px 15px;
        gap: 15px;
    }
    
    .left-top .left-top-title {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .title-days .el-radio-group {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .left-top-search .el-input__inner {
        max-width: 100%;
    }
    
    .shopping-box-left .left-content {
        padding: 0 15px;
    }
    
    .left-content-tabs .el-tabs__item {
        font-size: 14px;
    }
    
    /* 内容卡片改为1列布局 */
    .left-content-card {
        grid-template-columns: 1fr;
        gap: 10px;
        max-height: 300px;
        padding: 0 5px;
    }
    
    .left-content-list {
        max-width: 100%;
        height: auto;
        min-height: 50px;
        padding: 10px 12px;
        flex-wrap: wrap;
    }
    
    .left-content-list .ip_price {
        padding-left: 10px;
        font-size: 14px;
    }
    
    .card-number {
        padding-left: 10px;
    }
    
    .el-input-number {
        width: 70px;
    }
    
    .shopping-box-left .left-bottom {
        position: static;
        height: auto;
        padding: 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .left-bottom .payTitle {
        font-size: 16px;
        text-align: center;
        width: 100%;
    }
    
    .left-bottom .typeList {
        justify-content: center;
        gap: 12px;
    }
    
    .left-bottom .typeList img {
        width: 36px;
        height: 36px;
    }
    
    .shopping-box-right {
        padding: 20px 15px;
    }
    
    .right-content-card {
        max-height: 250px;
        padding-right: 5px;
    }
    
    .right-content-list {
        padding: 10px 15px;
        height: auto;
        min-height: 70px;
    }
}

/* 小屏手机 (≤420px) */
@media (max-width: 420px) {
    /* 进一步优化内容卡片布局 */
    .left-content-card {
        gap: 8px;
        max-height: 280px;
    }
    
    .left-content-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
        min-height: auto;
    }
    
    .left-content-list .country_name {
        padding: 8px 0;
        width: 100%;
    }
    
    .left-content-list .ip_price {
        padding: 5px 0;
    }
    
    .left-content-list .right-number {
        width: 100%;
        justify-content: space-between;
        padding-top: 8px;
        border-top: 1px dashed #f0f0f0;
        margin-top: 5px;
    }
    
    .right-total-all {
        font-size: 18px;
    }
    
    .right-total-colornum {
        font-size: 20px;
    }
    
    .right-total-button .el-button {
        height: 36px;
        font-size: 14px;
    }
}
