.m1-container {

}

.m1-header {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    height: 100px;
    align-items: center;
    column-gap: 20px;
    border-bottom: 1px solid #000;
}

.m1-header-menu .m1-header-menu-list {
    display: inline-block;
    margin: 0;
    padding: 0
}

.m1-header-menu {
    padding: 10px 0;
}

.m1-header-menu .m1-header-menu-list li {
    list-style: none;
    float: left;
    display: inline-block;
}

.m1-header-menu .m1-header-menu-list li .m1-header-menu-item {
    color: #000000;
    padding: 12px 28px;
    text-decoration: none;
    font-size: 16px;
    font-family: Assistant, sans-serif;
    font-weight: 300;
    display: inline-block;
}

.m1-header-menu .m1-header-menu-list li a:hover {
    color: #000000;
    text-decoration: underline !important;
}

.m1-header-menu .m1-header-menu-list li a.m1-header-menu-item-active {
    color: #000000 !important;
    text-decoration: underline !important;
}

.m1-header-menu .m1-header-menu-list .J_lng {
    /* 1. 与 a 标签完全一致的样式 */
    color: #000000;
    padding: 12px;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Assistant', sans-serif;
    font-weight: 300;
    display: inline-block;

    /* 2. 覆盖 select 默认样式（透明+无边框+清除原生下拉箭头） */
    background: transparent;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    cursor: pointer;
    outline: none;

    /* 3. 修正垂直对齐，避免与 a 标签产生高低错位 */
    vertical-align: middle;
}

.m1-header-logo .m1-header-logo-wrapper img {
    display: block;
    width: 50px;
    height: 50px;
}

.m2-header-container {
    width: 1200px;
    margin: 0 auto;
}

.m2-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.m2-header-left {
    display: flex;
    align-items: center;
}

.m2-header-center {
    display: flex;
    justify-content: center;
}

.m2-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.m2-hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.m2-hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: black;
    border-radius: 2px;
}

.m2-logo {
    height: 40px; /* 根据实际图片高度调整 */
    width: auto;
    display: block;
}

.m2-search-box {
    display: flex;
    align-items: center;
    border: 2px solid black;
    border-radius: 20px;
    padding: 5px 15px;
    width: 220px;
}

.m2-search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: #333;
}

.m2-search-box button {
    background: none;
    border: none;
    cursor: pointer;
    color: black;
    font-size: 16px;
}

.m2-language,
.m2-user-icon {
    color: #333;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

.m2-nav-menu {
    display: grid;
    /* 自动填充列：最小 100px，最大 1fr（平分剩余空间） */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.m2-nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 0;
    white-space: nowrap;
    transition: background-color 0.3s;
    width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.m2-nav-menu a:hover {
    text-decoration: underline;
}

.m2-nav-menu a.active {
    text-decoration: underline;
}

.m1-notice {
    background-color: #4c4c4c;
    width: 100%;
    text-align: center;
    height: 45px;
    line-height: 45px;
    color: #cccccc;
}

.m1-middle {
    width: 1200px;
    margin: 0 auto;
    min-height: 620px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.m1-middle .m1-middle-title {
    margin-bottom: 40px;
    font-size: 46px;
}

/* 通知栏容器 */
.mc-announcement-bar {
    background: linear-gradient(90deg, #2d2d2d 0%, #1a1a1a 50%, #2d2d2d 100%);
    background-size: 200% 100%;
    color: #ffffff;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 100;

    /* 背景流动动画 + 整体滑入动画 */
    animation: mc-gradientFlow 4s ease-in-out infinite, mc-slideDown 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;

    /* 初始状态：隐藏在页面顶部上方 */
    transform: translateY(-100%);
    opacity: 0;
}

/* 文字内容 */
.mc-bar-content {
    position: relative;
    z-index: 2;
    font-weight: 500;
}

/* 背景装饰光效 */
.mc-announcement-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.08),
            transparent
    );
    animation: mc-lightSweep 3.5s ease-in-out infinite;
}

/* --- 动画定义 --- */

/* 1. 整个通知栏从顶部缓慢滑入 */
@keyframes mc-slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 2. 背景渐变流动 */
@keyframes mc-gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 3. 光线扫过效果 */
@keyframes mc-lightSweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

html {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: white !important;
    /* 内容层，正常滚动 */
    position: relative;
    z-index: 1;
}

.m2-price-box {
    margin: 6px 0 6px;
    padding: 8px 12px 7px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 4px;
}
.rule-notice-box {
    display: flex;
    align-items: flex-start; /* 图标和文字顶部对齐 */
    background-color: #f0f7ff; /* 极浅的蓝色背景，代表信息 */
    padding: 12px 10px;
    border-radius: 6px; /* 右侧圆角 */
    font-size: 13px; /* 字体稍小，体现辅助性 */
    color: #1c75bb;
    line-height: 1.5;
}

.m2-price-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.m2-price-now {
    font-family: "Oswald", "DIN Alternate", "Bahnschrift", "Futura",
    "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .5px;
    color: #111;
    font-variant-numeric: tabular-nums;
}

.m2-price-now .m2-symbol {
    font-size: 13px;
    font-weight: 500;
    margin-inline-end: 2px;
}

.m2-price-old {
    color: #9a9a9a;
    font-size: 11px;
    text-decoration: line-through;
}

.m2-price-badge {
    margin-inline-start: auto;
    padding: 2px 7px;
    border: 1px solid #1a1a1a;
    border-radius: 2px;
    color: #111;
    font-size: 10px;
    letter-spacing: 1px;
    white-space: nowrap;
}


.m2-points-line {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(0, 0, 0, .12);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    color: #666;
}

.m2-points-icon {
    width: 5px;
    height: 5px;
    background: #111;
    transform: rotate(45deg);
    flex: none;
}

.m2-points-label {
    font-size: 10px;
    letter-spacing: 1px;
    color: #666;
}

.m2-points-value {
    color: #111;
    font-weight: 600;
}

.m2-points-tip {
    margin-inline-start: auto;
    color: #9a9a9a;
    font-size: 10px;
}

.orderNo-state {
    height: 30px;
    line-height: 30px;
    font-weight: normal;
    padding-inline-start: 10px;
}

.orderNo-view {
    font-family: ROCKET;
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    display: inline-block;
    height: 30px;
    line-height: 30px;
}

.orderNo-view a {
    color: #000;
    font-weight: bold;
}

.orderNo-view span {
    color: #000;
    font-weight: bold;
}

.mobile-order .result-item .ri-part .ri-title {
    margin-bottom: 10px;
    position: relative;
}

.mobile-order .sr {
    margin-bottom: 0;
}

.mobile-order .sr .result-item {
    padding: 0;
}

.mobile-order .page-model {
    margin-top: 20px;
    position: static;
}

.order-foot-total {
    font-size: 16px;
    height: 30px;
    line-height: 30px;
    position: relative;
}

.order-foot-total .lr-space {
    color: #59499e;
    font-weight: bold;
    padding-inline-start: 10px;
}

model-viewer {
    width: 100%;
    height: 70vh;
    --poster-color: #eee;
}

.style-m1-bg {
    /*background: url('../1/bg.jpg') no-repeat center / cover;*/
}

.footer1 {
    margin-top: 50px;
    text-align: center;
    padding: 35px 0;
    font-size: 14px;
}

.footer1 .content {
    width: 1200px;
    margin: auto;
}

.footer1 .content .letter {
    color: #000;
    margin-bottom: 15px;
}

.footer1 .content .letter a {
    color: #000;
    text-decoration: none;
}

.footer1 .content img {
    width: 15px;
    height: 17px;
    display: inline-block;
    margin: 0 5px;
}

.settle-btn-points {
    margin: 0 20px 10px 20px;
    background: black;
    color: white;
    text-align: center;
    font-family: ROCKET;
    font-weight: bold;
    padding: 12px;
    border-radius: 8px;
    display: block;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 18px;
}


/* ==================== 容器布局 ==================== */
.products-container {

    margin-inline-start: auto;
    margin-inline-end: auto;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
}

/* ==================== 标题样式 ==================== */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-family: ROCKET;
}

/* ==================== Tab切换按钮 ==================== */
.tab-group {
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.25rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.tab-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #525252;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
}

.tab-btn.active {
    background-color: rgba(74, 145, 217, 0.6);
    color: #ffffff;
}

.tab-btn:not(.active):hover {
    color: #4A90D9;
}

.main-right-title span:before {
    background: black !important;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.user-right-block {
    background: #F5F5F5;
}

.prompt-warn {
    background-color: rgb(241, 245, 247, 0.2);
}

.user-menu {
    margin-top: 15px;
}

.user-table .mrt-col-lable {
    background-color: rgb(241, 245, 247, 0.2) !important;
}

.user-table input {
    background-color: transparent;
}

.ima-submit span {
    background-color: #000;
}

.user-menu {
    background: #F5F5F5;
    border-radius: 8px;
    display: inline-block;
}

.user-menu ul li a {
    color: black;
}

.user-menu .active {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.4) 15%, rgba(255, 255, 255, 0) 80%);
}

.user-menu .active a {
    color: #59499e;
}

.uc-order ul li div {
    color: #59499e;
}

.uo-item ul li a {
    color: #333;
}

.uc-account, .uc-order, .user-other {
    background: #F5F5F5;
    border-radius: 8px;
}

.user-menu ul li {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.4) 15%, rgba(255, 255, 255, 0) 80%);
}

.uca-info .uca-name .uca-auth a {
    border: 1px solid #333;
    color: #333;
}

.uca-mark {
    color: #333;
}

.uc-order ul li {
    background-color: rgb(231, 239, 247, 0.35);
}

.muii-icon i {
    color: white;
    background-color: #000;
}

.menu-user-info {
    background: none;
    margin-top: 0;

}

.sr {
    background-color: rgb(255, 255, 255, 0.2);
}

.sr input:focus {
    accent-color: black;
}

.sr input::selection {
    background-color: black;
    color: white; /* 黑底必须配浅字，否则无法阅读 */
}

.sr input[type="checkbox"] {
    accent-color: black;
}

.goods-part .gp-body {
    background-color: rgb(245, 245, 245, 0.3);
}

.cart-foot .cf-settle {
    background-color: black;
}

.sr .result-item .ft-Quote {
    border: 1px solid black;
    color: black;
    border-radius: 5px;
}

.page-model a {
    border: 1px solid black;
    color: black;
}

.page-model span {
    color: black;
}

.page-model .active {
    background-color: black;
}

.set-default input:focus {
    accent-color: black;
}

.set-default input::selection {
    background-color: black;
    color: white; /* 黑底必须配浅字，否则无法阅读 */
}

.set-default input[type="radio"] {
    accent-color: black;
}

.fl input:focus {
    accent-color: black;
    background-color: transparent;
}

.fl input::selection {
    background-color: black;
    color: white; /* 黑底必须配浅字，否则无法阅读 */
}

.fl input[type="checkbox"] {
    accent-color: black;
}

.cupload-upload-box {
    background-color: rgb(251, 253, 255, 0.2) !important;
}

.account-table .mrt-col-lable {
    background-color: rgb(241, 245, 247, 0.2) !important;
}

.account-table input {
    background-color: transparent;
}

.login-main-new {
    margin-top: 60px;
}

.login-main-new, .lmma-i-input input {
    background: none;
}

.lmm-area {
    background-color: #F5F5F5;
}

.lmma-i-lable i {
    color: #000;
}

.lmm-area-item {
    border: 1px solid white;
}

.login-bt {
    background-color: black;
}

.link-url a {
    color: black;
}

.imm-area-warn {
    background-color: rgb(237, 244, 250, 0.2);
}

.lmm-skin-mould {
    width: 700px;
    height: 460px;
    float: right;
    border: none;
    border-radius: 0;
    margin-top: 80px;
}


/* ==================== 产品网格布局 ==================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ==================== 产品卡片 ==================== */
.product-card {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* 🔧 修改：启用Flex纵向布局，确保卡片撑满Grid高度 */
    display: flex;
    flex-direction: column;
    height: 100%;

    text-decoration: none; /* 去除下划线 */
    color: inherit; /* 继承父级文字颜色，避免链接变蓝 */
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.card-header {
    padding: 1.5rem;
    padding-bottom: 0;
}

.card-body {
    padding: 1.5rem;
    padding-bottom: 1.5rem;
    /* 🔧 修改：自动推至底部，实现多图/少字卡片底部对齐 */
    margin-top: auto;
}

.product-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
    /* 🔧 修改：设置最小高度，强制信息区高度一致（按需微调数值） */
    min-height: 100px;
}

.product-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;

    /* 🔧 限制最多显示2行，超出自动显示省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;

    /* 🔧 固定行高与最小高度：确保1行、2行或截断时，该区块高度完全一致 */
    line-height: 1.5;
    min-height: 3em; /* 1.5(行高) × 2(行数) = 3em，精准占位防抖动 */
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-item {
    font-size: 0.9rem;
    color: #9f5858;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.feature-dot {
    width: 0.25rem;
    height: 0.25rem;
    background-color: #4A90D9;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ==================== 产品图片区域 ==================== */
.image-wrapper {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.icon-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid rgba(74, 144, 217, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle.default {
    border-color: #e5e5e5;
}

.icon-circle svg {
    width: 1rem;
    height: 1rem;
    color: #4A90D9;
}

.icon-circle.default svg {
    color: #a3a3a3;
}

.product-img {
    width: 8rem;
    height: 8rem;
    object-fit: contain;
}

/* ==================== 菜单图标 ==================== */
.menu-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #d4d4d4;
    fill: none;
    stroke: currentColor;
}

.menu-icon path {
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

/* ==================== 查看更多按钮 ==================== */
.see-more-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.see-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid #e5e5e5;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #525252;
    cursor: pointer;
    transition: all 0.3s ease;
}

.see-more-btn:hover {
    border-color: #4A90D9;
    color: #4A90D9;
}

.see-more-btn svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
}

.see-more-btn svg path {
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

/* ==================== 颜色变量（便于维护） ==================== */
:root {
    --color-primary: #4A90D9;
    --color-primary-dark: #3578C0;
    --color-gray-50: #FAFAFA;
    --color-gray-200: #E5E5E5;
    --color-gray-300: #D4D4D4;
    --color-gray-400: #A3A3A3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #1f2937;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #000 !important; /* 修改文字颜色 */
}

input:-moz-autofill {
    background-color: transparent !important;
}

input:-moz-autofill:hover,
input:-moz-autofill:focus,
input:-moz-autofill:active {
    background-color: transparent !important;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}


/* 下拉层默认隐藏 */
.dropdown-layer {
    display: none;
    position: absolute;
    top: 35px;
    inset-inline-start: 0;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    background: white;
    padding: 6px 0;
    border-radius: 6px;
    margin-top: 8px;
    width: 150px;
}

/* 菜单项样式 */
.dropdown-layer a,
.dropdown-layer span {
    display: inline-block;
    width: 100%;
    text-align: center;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    padding: 12px 0;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.dropdown-layer a:hover,
.dropdown-layer span:hover {
    background: rgb(0, 0, 0, 0.8);
}

.dropdown-layer a:hover,
.dropdown-layer span:hover a {
    color: white !important;
}

/* 鼠标悬停 / 键盘聚焦时显示 */
.nav-dropdown:hover .dropdown-layer,
.nav-dropdown:focus-within .dropdown-layer {
    display: block;
}

.m2-language .language:hover {
    color: white !important;
}

.m2-language .dropdown-layer::before {
    content: '';
    position: absolute;
    top: -15px; /* 负值等于 margin-top */
    inset-inline-start: 0;
    width: 100%;
    height: 15px;
}

.m2-hide-menu .dropdown-layer::before {
    content: '';
    position: absolute;
    top: -15px; /* 负值等于 margin-top */
    inset-inline-start: 0;
    width: 100%;
    height: 15px;
}

.mpg-product .mpg-product-name {
    font-size: 40px;
    font-weight: 400;
    line-height: 50px;
    font-family: PostNoBillsJaffna;
}

.mpg-product .mpg-product-shop {
    font-size: 10px;
}

.mpg-product .mpg-product-price {
    font-size: 18px;
    margin: 10px 0;
    color: #59499e;
}

.mpg-right-content {
    color: rgb(18, 18, 18) !important;
    font-family: Assistant, sans-serif;
}

.mpg-product-btn button {
    width: 100%;
    height: 45px;
    background: rgb(255, 255, 255, 0.2);
    border-radius: 18px;
    border: 1px solid rgb(18, 18, 18, 0.55);
    cursor: pointer;
    font-family: ROCKET;
    font-weight: bold;
}

.mpg-product-btn.btn-black button {
    width: 100%;
    height: 45px;
    background-color: #302e2e;
    border-radius: 18px;
    border: 1px solid rgb(255, 255, 255, 0.55);
    cursor: pointer;
    color: white;
}

.mpg-product-btn button:hover {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3)
}

/* 隐藏滚动条（滚动功能依然可用） */
.hide-scrollbar {
    -ms-overflow-style: none; /* IE 10+ / Edge Legacy */
    scrollbar-width: none; /* Firefox */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge, Opera 等 WebKit 内核 */
}

.good-sku .good-sku-detail {
    display: block;
    padding-top: 0;
}

.good-sku .good-sku-detail .good-sku-name {
    color: #383535bf;
}

.good-sku .good-sku-detail .good-sku-value {
    border: 1px solid rgb(18, 18, 18, 0.55) !important;
    border-radius: 6px;
    color: #181818;
}

.good-sku .good-sku-detail .good-sku-value.sku-active, .good-sku .good-sku-detail .good-sku-value:hover {
    border: 1px solid rgb(18, 18, 18, 0.55) !important;
    background-color: #302e2e;
    color: white !important;
    border-radius: 6px;
}

.good-sku-model .goods-num-minus, .good-sku-model .goods-num-plus {
    width: 55px;
    height: 40px;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}

.good-sku-model .goods-num-input {
    width: 81px;
    height: 40px;
    line-height: 40px;
    border: none;
    outline: none;
    text-align: center;
    background: none;
}

.good-sku-model .goods-num {
    width: fit-content;
    border: 1px solid rgb(18, 18, 18, 0.55);
    border-radius: 8px;
}

.goods-num-disabled {
    color: gray;
    cursor: not-allowed !important;
}

.no-select {
    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* 标准语法 */
}

.mpg-img-small {
    width: 502px;
}

@font-face {
    font-family: 'PostNoBillsJaffna';
    src: url('../font/PostNoBillsJaffna-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'ROCKET';
    src: url('../font/ROCKET WILDNESS.ttf') format('truetype');
}


.m1-product-wrapper {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: flex-start;
    /*align-items: center;*/
    padding: 20px;
    margin: 0;
    flex-wrap: wrap;
    gap: 20px;
}

/* 主容器：Flexbox 布局 */
.m1-product-container {
    display: flex;
    gap: 20px; /* 卡片之间的间距 */
    width: 1200px;
    width: 100%;
    flex-wrap: wrap; /* 允许在小屏幕上换行 */
    justify-content: center;
}

/* 单个卡片样式 */
.m1-product-card {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    flex: 0 0 265px;
    width: 265px; /* 固定卡片宽度 */
    transition: transform 0.3s ease;

    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.m1-product-card:hover {
    transform: translateY(-5px); /* 鼠标悬停轻微上浮 */
}

/* 图片区域 */
.m1-product-image-box {
    height: 265px;
    width: 265px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;

}

.m1-product-image-box img {
    width: 265px;
    height: 265px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* 标题样式 */
.m1-product-card-title {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 底部按钮条样式 */
.m1-product-action-bar {
    background-color: #111; /* 图片加载前的备用色 */
    /* 请替换下面的 URL 为你的实际图片地址 */
    background-image: url('../1/product-view.jpg');
    background-size: 100% 100%; /* 拉伸背景图以填满按钮 */
    background-position: center;
    background-repeat: no-repeat;

    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;

    color: #fff;
    padding: 12px 20px; /* 增加左右 padding，让文字不贴边 */
    text-align: start;
    justify-content: flex-start; /* 文字靠左对齐，因为背景图右边已有箭头 */
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    text-decoration: none;
    box-sizing: border-box;
    transition: opacity 0.3s; /* 改为透明度过渡，因为背景是图片 */
}

/* 鼠标悬停效果：改为降低透明度 */
.m1-product-action-bar:hover {
    opacity: 0.8;
    /* 原来的 background-color 变化去掉了，因为背景是图片 */
}

/* 箭头样式 */
.m1-product-arrow {
    font-size: 18px;
    line-height: 1;
}

.code-countdown, .send-code {
    position: absolute;
    inset-inline-end: 0;
    top: 0;
}

.code-countdown {
    padding: 8px 20px;
}

.login-forget a {
    color: #333;
}

.login-forget a:hover {
    text-decoration: underline;
}

.cart-foot-code {
    width: 345px;
    height: 27px;
    line-height: 47px;
    border: 1px solid rgb(18, 18, 18, 0.55);
    outline: none;
    background: none;
    padding: 5px 10px;
    border-radius: 5px;
}

.cart-foot-btn:disabled {
    width: 65px;
    height: 39px;
    background: rgb(255, 255, 255, 0.2);
    border-radius: 5px;
    border: 1px solid rgb(18, 18, 18, 0.55);
    cursor: initial;
    margin-inline-start: 15px;
    color: #333;
}

.cart-foot-btn {
    width: 65px;
    height: 39px;
    background: #302e2e;
    border-radius: 5px;
    border: 1px solid rgb(18, 18, 18, 0.55);
    cursor: pointer;
    margin-inline-start: 15px;
    color: #fff;
}

.co-wrapper * {
    box-sizing: border-box;
}

.co-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.co-container {
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 8px;
}

.co-section {

}

.co-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    margin-top: 0;
}

.co-form-group {
    margin-bottom: 16px;
}

.co-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.co-form-row .co-form-group {
    flex: 1;
    margin-bottom: 0;
    min-width: 0;
}

.co-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
    white-space: nowrap; /* 不换行 */
    overflow: hidden; /* 超出隐藏 */
    text-overflow: ellipsis; /* 显示省略号 */
    max-width: 100%;
}

.co-input,
.co-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.2);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.co-input:focus,
.co-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.co-input::placeholder {
    color: #8e8e93;
}

.co-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-inline-end: 48px;
}

.co-optional {
    color: #8e8e93;
    font-weight: 400;
}

/* Phone 组合控件容器 */
.co-phone-combo {
    display: flex;
    align-items: center;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.co-phone-combo:focus-within {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* 左侧代码显示 */
.co-code-display {
    padding: 12px 16px;
    font-size: 16px;
    color: #1a1a1a;
    border-inline-end: 1px solid #e5e5e5;
    background: rgba(255, 255, 255, 0.2);
    min-width: 60px;
    text-align: center;
}

/* 电话输入框 */
.co-phone-input-real {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.co-phone-input-real::placeholder {
    color: #8e8e93;
}

/* 右侧国家选择按钮 */
.co-country-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: none;
    background: none; /* 浅蓝色背景，模拟图中效果 */
    cursor: pointer;
    transition: background-color 0.2s;
}


.co-flag {
    font-size: 18px;
    line-height: 1;
}

.co-arrow-icon {
    width: 14px;
    height: 14px;
    color: #555;
    position: relative;
    transform: translateY(15%);
}

/* 下拉列表容器 */
.co-country-list {
    position: absolute;
    top: 100%; /* 在输入框下方 */
    inset-inline-end: 0; /* 靠右对齐，或者改为 left: 0 靠左 */
    width: 280px;
    max-height: 300px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none; /* 默认隐藏 */
    margin-top: 4px;
}

/* 显示列表的类 (通过JS添加) */
.co-country-list.show {
    display: block;
}

/* 列表项 */
.co-list-item {
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.1s;
}

.co-list-item:hover {
    background-color: #f0f0f0;
}

/* 选中/高亮项 (模拟图中 Argentina 的蓝色) */
.co-list-item.active {
    background-color: #0056b3; /* 深蓝色 */
    color: #ffffff;
}

/* 自定义滚动条样式 (模仿图中细长的滚动条) */
.co-country-list::-webkit-scrollbar {
    width: 8px;
}

.co-country-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.co-country-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.co-country-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.co-help-icon {
    width: 20px;
    height: 20px;
    margin-inline-start: 12px;
    cursor: pointer;
    color: #8e8e93;
    flex-shrink: 0;
}

.co-help-icon:hover {
    color: #1a1a1a;
}


.cart-settle {
    display: flex;
    gap: 10px;
    position: relative;
}

.cart-settle .cart-settle-item-left {
    width: 710px;
    border-inline-end: 1px solid #dedede
}

.cart-settle .cart-settle-item-right {
    width: 480px;
}

.cart-info-right {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.settle-info {
    padding: 15px;
    background-attachment: fixed;
    background-position: bottom center;
    background-size: cover;
    border-radius: 8px;
}

.settle-info-item {
    display: flex;
}

.settle-info-item .settle-info-item-left {
    text-align: start;
    flex-grow: 1
}

.settle-info-item .settle-info-item-right {
    text-align: end;
    flex-grow: 1;
}

.color59e {
    color: #59499e;
}

.mg-bottom-10 {
    margin-bottom: 5px;
}

.lbold {
    font-weight: bold;
}

.btn-cancel-thin {
    text-decoration: underline;
    cursor: pointer;
}

.btn-cancel-thin:hover {
    color: #59499e;
}

.cart-address-add {
    color: #59499e;
    margin: 5px 0;
    padding: 0 20px;
}

.pc-only-hide {
    display: none;
}

.pc-only-show {
    display: block;
}

.quality-goods-corner {
    position: absolute;
    top: -5px;
    inset-inline-end: 0;
    background-color: black;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    z-index: 300;
    font-size: 11px;
}

.relative {
    position: relative;
}

.settle-shipping {
    margin: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid;
    border-radius: 8px;
}

.mouse-pointer {
    cursor: pointer;
}

/* 左侧区域（通常是 Shipping + 地址） */
.settle-shipping > div:first-child {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    line-height: 1.4;
}

/* 右侧区域（通常是运费金额或 Free） */
.settle-shipping > div:last-child {
    flex-shrink: 0;
    text-align: end;
    white-space: nowrap;
}

.block {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    transition: 0.2s;
    cursor: pointer;
}

.block.active {
    border-color: #dedede;
}

.block.disabled {
    opacity: 0.5;
    background: #f1f5f9;
    cursor: not-allowed;
}

.block-header {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.block input[type="radio"] {
    height: 15px;
    width: 15px;
    accent-color: #2c2e2f;
    cursor: pointer;
}

/*优惠券选择器*/
.select-wrapper {
    position: relative;
    margin: 10px auto;
}

.select-wrapper select {
    width: 100%;
    padding: 14px 18px;
    color: #1f2a3f;
    background: #fafcff;
    border: 1.5px solid #dedede;
    border-radius: 6px;
    appearance: auto;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-weight: 450;

    -webkit-appearance: none;  /* Chrome/Safari/Edge */
    -moz-appearance: none;     /* Firefox */
    appearance: none;
}

.select-wrapper select:hover {
    border-color: #b8c6db;
}

.select-wrapper select:focus {
    border-color: #dedede;
    box-shadow: 0 0 0 4px rgba(26, 92, 255, 0.06);
}

.select-wrapper select option {
    padding: 8px 12px;
    font-size: 15px;
    background-color: #fff;
}

/*兼容样式*/
@media (max-width: 1199px) {
    .mobile-only-hide {
        display: none;
    }

    .mobile-only-show {
        display: block;
    }

    .mobile-top-gap {
        margin-top: 10px;
    }

    .m1-mobile-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 60px;
        padding: 10px 15px;
        position: relative;
        font-size: 1rem;
        font-weight: 300;
    }

    .m1-mobile-container .m1-mobile-header-left {
        flex: 1;
        display: flex;
        align-items: center;
    }

    .m1-mobile-container .m1-mobile-header-right {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end; /* 右侧内容靠右对齐 */
        gap: 15px; /* 搜索和购物车之间的间距 */
    }

    .m1-mobile-container .m1-mobile-header-middle {
        flex: 0 0 auto; /* 不伸缩 */
        position: absolute;
        inset-inline-start: 50%;
        transform: translateX(-50%); /* 绝对居中技巧 */
    }

    .m1-mobile-container .m1-mobile-header-middle .m1-mobile-header-logo-wrapper {
        width: 50px;
        height: 50px;
    }

    .m1-mobile-container .m1-mobile-header-middle .m1-mobile-header-logo-wrapper img {
        width: 100%;
        display: block;
    }

    .m1-mobile-container .mobile-link {
        color: #000000;
    }

    .mobile-sidebar {
        position: fixed;
        top: 80px;
        left: 0;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background-color: #1e2126;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 999
    }

    /* 激活状态：滑入屏幕 */
    .mobile-sidebar.active {
        transform: translateX(0);
    }

    .mobile-menu-list {
        list-style: none;
        padding: 10px 0;
    }

    .mobile-menu-list li {
        border-bottom: 1px solid #2a2d35;
    }

    /* 分割线 */
    .mobile-menu-list li:last-child {
        border-bottom: none;
    }

    .mobile-menu-list a {
        display: block;
        padding: 15px 20px;
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
        transition: background 0.2s;
    }

    /* 鼠标悬停或激活状态 */
    .mobile-menu-list a:hover, .mobile-menu-list a.active {
        background-color: #2a2d35; /* 图2中 Home 的高亮背景 */
    }

    /* --- 遮罩层样式 --- */
    .mobile-overlay {
        position: fixed;
        top: 80px; /* 从 Header 下方开始遮罩 */
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 980;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .footer1 .content {
        width: initial;
        font-size: 0.6rem;
    }

    .footer1 .content img {
        width: 10px;
        height: 10px;
    }

    .login-main-new {
        margin-top: 0;
        width: initial;
        height: initial;
        display: flex;
        justify-content: center; /* 水平居中 */
        align-items: center;
    }

    .lmm-area {
        margin-inline-start: 0;
        margin-top: 20px;
        float: initial;
    }

    .login-main-model {
        width: initial;
    }

    .m1-product-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        box-sizing: border-box;
    }

    /* 平板端：屏幕宽度大于 768px 时，变成 3列 */
    @media (min-width: 768px) {
        .m1-product-wrapper {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px; /* 平板上间距可以稍微大一点 */
        }
    }
    @media (max-width: 767px) {
        .m1-product-wrapper {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* 核心：平均分成 2 列 */
            gap: 15px;
        }
    }
    .m1-product-image-box {
        width: 100%;
        height: initial;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .m1-product-image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .m1-product-card {
        width: 100%; /* 占满 Grid 分配的空间，不要写死 px */
        border-radius: 8px; /* 圆角 */
        overflow: hidden; /* 防止内部图片溢出圆角 */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* 轻微阴影提升质感 */
        text-decoration: none; /* 去掉 a 标签默认下划线 */
        color: inherit;
        display: flex;
        margin: 0;
        flex-direction: column; /* 让内部元素垂直排列 */
    }

    .contain {
        width: initial;
    }

    .main-right {
        width: initial !important;
    }

    .m1-middle {
        width: initial;
        padding: 20px;
    }

    .ri-part goods-part {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .cart-foot {
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-gap {
        padding-inline-start: 0 !important;
        padding-inline-end: 0 !important;
    }

    .mobile-gap .fl {
        padding-inline-start: 25px;
    }

    .mobile-gap .fr {
        padding-inline-end: 25px;
    }

    .mobile-settle-title-top {
        margin-top: 20px;
    }


    .mobile-cart .ri-body {
        display: grid !important;
        grid-template-columns: auto auto 1fr auto auto;
    }


    .mobile-cart .ri-info {
        grid-column: 3;
        grid-row: 1;
        min-width: 0;
        word-break: break-all;
    }


    .mobile-cart .goods-num {
        grid-column: 3;
        grid-row: 2;
        margin-top: 10px;
    }


    .mobile-cart .goods-totel {
        grid-column: 4;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        white-space: nowrap;
        text-align: end;
    }

    .mobile-cart .ri-body .ri-info .quality-item {
        width: initial !important;
    }

    .mobile-cart .cart-settle-item-right {
        width: initial !important;
    }

    .mobile-cart .cart-settle-item-left {
        width: initial !important;
    }

    .mobile-cart .goods-part .goods-totel {
        width: initial !important;;
    }

    .mobile-cart .cart-foot-code {
        flex: 1;
        min-width: 0;
        width: 100%;
    }

    .mobile-cart .cart-foot-btn {
        width: 65px;
        margin-inline-start: 15px;
        flex-shrink: 0;
    }

    .mobile-meun-row {
        width: 100%;
        display: inline-block;
        padding-inline-start: 2%;
        padding-inline-end: 2%;
        box-sizing: border-box;
    }

    .mobile-meun-row ul {
        margin: 0;
        padding: 0;
        width: 100%;
        display: inline-block;
    }

    .mobile-meun-row ul li {
        float: left;
        padding: 6px 10px;
    }

    .mobile-meun-row ul li a {
        color: #0000008f;
        font-weight: bold;
    }

    .mobile-meun-row ul li.active a {
        color: black;
    }

    .mobile-user .user-other {
        display: none;
    }

    .mobile-user {
        width: 100% !important;
        box-sizing: border-box;
    }

    .mobile-user .user-content {
        width: 100% !important;
        box-sizing: border-box;
        float: none;
        padding-inline-end: 15px;
        padding-top: 0;
    }

    .mobile-user .uc-account {
        padding-inline-start: 2%;
        padding-inline-end: 2%;
        background-position: right center;
    }

    .mobile-user .uc-order {
        padding-inline-start: 2%;
        padding-inline-end: 2%;
    }

    .mobile-user .uc-order ul {
        display: flex;
        justify-content: space-between;
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 10px;
    }

    .mobile-user .uc-order ul li {
        flex: 1;
        height: 67px;
        margin: 0;
        text-align: center;
        padding-top: 13px;
        box-sizing: border-box;
    }

    .mobile-order, .mobile-address, .mobile-account, .mobile-detail {
        padding: 0 15px;
    }

    .mobile-order.user-right {
        width: 100%;
        box-sizing: border-box;
        float: none;
        margin: 0;
    }

    .mobile-order .user-right-block {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    .mobile-order .result-item {
        padding: 0;
    }

    .mobile-order .page-model {
        width: 100%;
    }

    .mobile-address .user-right-block {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    .mobile-address .page-model {
        margin-top: 20px;
        position: static;
    }

    .mobile-address .user-right {
        width: 100%;
        box-sizing: border-box;
        float: none;
        margin: 0;
    }

    .mobile-account .user-right-block {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    .mobile-detail .user-right-block {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    .mobile-detail .user-right {
        width: 100%;
        box-sizing: border-box;
        float: none;
        margin: 0;
    }

    .mobile-detail .order-table {
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-account .user-right {
        width: 100%;
        box-sizing: border-box;
        float: none;
        margin: 0;
    }

    .mobile-account .mrt-row {
        flex-wrap: wrap;
        row-gap: 15px;
    }

    .mobile-account .main-right-table {
        border: none;
    }

    .mobile-account .mrt-col-lable {
        flex: 0 0 30%;
        width: auto;
        box-sizing: border-box;
        border: 1px solid #dedede;
    }

    .mobile-account .mrt-col-detail {
        flex: 0 0 70%;
        width: auto;
        box-sizing: border-box;
        word-break: break-all;
        white-space: normal;
        border: 1px solid #dedede;
    }

    .mobile-account .flex40 {
        flex: 0 0 45% !important;
    }

    .mobile-account .flex60 {
        flex: 0 0 55% !important;
    }

    .mobile-account .top-set {
        margin-top: 15px;
    }

    .buyer_info {
        padding: 10px !important;
    }


}

/*product start*/
@media screen and (max-width: 600px) {
    .main-product {
        width: initial;
    }

    .mobile-only-hide-small {
        display: none;
    }

    .mpg-img {
        position: initial !important;
        float: initial !important;
    }

    .mpg-info {
        width: initial !important;
        margin: 0 !important;
        float: none;
    }

    .mpg-img-large {
        width: 100% !important;
        height: initial !important;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .mpg-img-large img {
        max-width: 100% !important;
        max-height: 100% !important;
    }

    .mpg-product-shop {
        margin-top: 10px;
    }

    .mp-goods {
        margin-top: 0;
    }

    /*product end*/
    .mobile-cart .ri-body {
        display: grid !important;
        grid-template-columns: auto auto 1fr auto auto;
        width: 100%;
        box-sizing: border-box;
        padding: 10px !important;
    }

    .mobile-result-item {
        padding: 10px !important;
    }

    .mobile-cart .ri-info {
        grid-column: 3;
        grid-row: 1;
        min-width: 0;
        word-break: break-all;
        font-size: 0.7rem;
        line-height: 1.4;
        max-width: 100%;
    }

    .mobile-cart .ri-info a {
        min-width: 0;
        word-break: break-all;
        font-size: 0.8rem;
    }

    .mobile-cart .ri-info .desc {
        font-size: 0.8rem !important;
    }


    .mobile-cart .goods-num {
        grid-column: 3;
        grid-row: 2;
        margin-top: 10px;
        width: 100%;
        box-sizing: border-box;
    }


    .mobile-cart .goods-totel {
        grid-column: 3;
        grid-row: 3;
        justify-self: start;
        align-self: center;
        white-space: nowrap;
        font-weight: bold;
        text-align: start;
    }

    .mobile-cart .goods-totel.mobile-cart-total-row {
        grid-column: 4;
        grid-row: 1;
        font-weight: normal !important;
    }

    .mobile-cart .ri-body .ri-info .quality-item {
        width: initial !important;
    }

    .mpg-product .mpg-product-name {
        font-size: 30px;
        line-height: 30px;
    }

    .mobile-grid-cart {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mobile-grid-cart .cart-settle-item-right {
        width: 100% !important;
        box-sizing: border-box;
        grid-row: 1
    }

    .mobile-grid-cart .cart-settle-item-left {
        width: 100% !important;
        box-sizing: border-box;
        grid-row: 2
    }

    .mobile-grid-cart .cart-info-right {
        position: relative;
    }

    .co-container {
        padding: 20px 5px !important;
    }

    .co-form-row {
        flex-direction: column;
        gap: 16px;
    }

    .co-section-title {
        font-size: 20px;
    }

    .mobile-user .uca-icon img {
        width: 50px;
        height: 50px;
    }

    .mobile-user .uca-info {
        margin-inline-start: 15px;
        padding-top: 0;
        font-size: 0.9rem;
    }

    .mobile-user .uca-info .uca-name {
        font-size: 15px;
    }

    .mobile-address .quote-part {
        grid-column: 1;
        grid-row: 2;
        margin-inline-start: 0 !important;
        margin-top: 10px;
    }

    .mobile-address .result-item {
        display: grid;
    }

    .mobile-address .ri-body {
        padding: 0 !important;
    }

    .mobile-address .result-item {
        padding-inline-start: 0 !important;
        padding-inline-end: 0 !important;
    }

    .cart-settle .cart-settle-item-left {
        border-inline-end: none;
    }


}

@media screen and (min-width: 600px) and (max-width: 768px) {
    .mobile-grid-cart {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mobile-grid-cart .cart-settle-item-right {
        width: 100% !important;
        box-sizing: border-box;
        grid-row: 1
    }

    .mobile-grid-cart .cart-settle-item-left {
        width: 100% !important;
        box-sizing: border-box;
        grid-row: 2
    }

    .mobile-grid-cart .cart-info-right {
        position: relative;
    }
}

@media screen and (min-width: 600px) and (max-width: 1199px) {
    .main-product {
        width: initial;
    }

    .mpg-img-small {
        width: initial !important;
    }

    .mpg-img-large {
        width: 15rem !important;
        height: initial !important;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .mpg-img-small .mpg-is-col img {
        width: 3rem !important;
        height: 100% !important;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .mpg-info {
        margin-inline-start: 20px !important;
        float: none;
    }

    .mpg-img {
        float: none;
        align-self: flex-start;
    }

    .mp-goods {
        display: flex;
    }
}
