/* 二级菜单整行布局 */
html body .submenu-item-row .sky-cart-submenu-item.sky-cart-submenu-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 0 20px 0 26px !important;
    border-left: 3px solid transparent !important;
}

/* 左侧：国旗 + 地区名称并列 */
html body .submenu-item-row .sky-cart-submenu-item.sky-cart-submenu-item > .submenu-item-u {
    display: flex !important;
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    align-items: center !important;
    gap: 7px !important;
    overflow: hidden !important;
}

/* 国旗 */
html body .submenu-item-row .sky-cart-submenu-item.sky-cart-submenu-item > .submenu-item-u > img {
    display: block !important;
    flex: 0 0 23px !important;
    width: 23px !important;
    height: 14px !important;
    margin: 0 !important;
    object-fit: cover;
}

/* 地区名称单行 */
html body .submenu-item-row .sky-cart-submenu-item.sky-cart-submenu-item > .submenu-item-u > h5 {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    font-size: 14px !important;
    line-height: 40px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* 右侧红色标签单行 */
html body .submenu-item-row .sky-cart-submenu-item.sky-cart-submenu-item > .tagline {
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: max-content !important;
    max-width: none !important;
    min-height: 18px !important;
    margin: 0 0 0 10px !important;
    padding: 0 7px !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 18px !important;
    text-align: center !important;
    white-space: nowrap !important;
    background: #ff4d4f !important;
    border-radius: 0 !important;
}

/* 当前选中项 */
html body .submenu-item-row.active .sky-cart-submenu-item.sky-cart-submenu-item {
    background: #f0f5ff !important;
    border-left: 3px solid #1769f4 !important;
}

/* 桌面端侧边栏宽度 */
@media (min-width: 769px) {
    :root {
        --cart_navmax: 300px !important;
        --sidebar-width: 300px !important;
    }

    .shopping-cart-page .shopping-cart-side,
    .shopping-cart-content .shopping-cart-side {
        flex: 0 0 300px !important;
        width: 300px !important;
        min-width: 300px !important;
    }

    .shopping-cart-page .shopping-cart-product,
    .shopping-cart-content .shopping-cart-product {
        min-width: 0 !important;
    }
}

/* 商品描述：保留后台 <br>，每个参数独立一行 */
.product-card .product-card-body .product-description {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 10px 20px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    line-height: 28px !important;
}

/* 后台每一个 <br> 都显示为一行 */
.product-card .product-card-body .product-description br {
    display: block !important;
    content: "" !important;
    margin: 0 !important;
}

/* 参数标题 */
.product-card .product-card-body .product-description b {
    display: inline !important;
    font-weight: 600 !important;
}

/* 年费优惠文字独占一行 */
.product-card .product-card-body .product-description small {
    display: block !important;
    margin-top: 4px !important;
    line-height: 24px !important;
}

@media (max-width: 768px) {
    .product-card .product-card-body .product-description {
        padding: 8px 12px !important;
        line-height: 25px !important;
    }
}


/* JS 拆分后的商品参数：每个字段强制独占一行 */
.product-card .product-card-body .product-description .product-param-item {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    font-size: 14px !important;
    line-height: 28px !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

/* 手机端 */
@media (max-width: 768px) {
    .product-card .product-card-body .product-description .product-param-item {
        line-height: 25px !important;
    }
}



.product-card .product-card-body .product-description {
    visibility: hidden !important;
}

.product-card .product-card-body .product-description[data-jz-ready="1"] {
    visibility: visible !important;
}