.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 1.5rem;
}
.product-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s, transform 0.3s ease;
    transform-origin: top left;
}
.text-red-600 {
    color: #ef4444;
}
.font-semibold {
    font-weight: 600;
}
.text-gray-500 {
    color: #6b7280;
}
.text-blue-600 {
    color: #3b82f6;
}
.product-image_div {
    height: 22rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-image_div:hover {
    transform: scale(1.05);
}
.product-image_img {
    height: 22rem;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-image_img:hover {
    transform: scale(1.05);
}
.product-footer {
    padding: 1rem;
}
.product-name-font {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}
.product-description {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}
.product-price {
    font-size: 0.875rem;
    text-decoration: none;
}
.m2pro {
    width: 23%;
    padding: 0 1rem;
    margin-bottom: 2rem;
    flex: 0 0 23%;
    max-width: 23%;
}
.m2proLx {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.m2proLsx {
    line-height: 64px;
    background: url(/resources/xxcq/images/m2pro_mico.png) no-repeat left 25px;
    padding-left: 32px;
    padding-bottom: 0.78vw;
    border-bottom: 1px solid #e6e6e6;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.m2prosxDl {
    padding: 1.56vw 0px;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 1.5rem;
}
.m2prosxDl dt {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #374151;
}
.m2prosxDl dt {
    cursor: pointer;
}
.m2prosxDl dt {
    line-height: 36px;
    height: 36px;
    font-size: 24px;
    letter-spacing: 1px;
    position: relative;
    margin-bottom: 12px;
}
.m2prosxDl dt::after {
    transform: rotate(180deg);
    transition: all 0.5s ease-in-out;
}
.m2prosxDl dt::after {
    content: "";
    background: url(/resources/xxcq/images/m2pro_upAr.png) no-repeat center center;
    height: 5px;
    width: 9px;
    margin-top: -3px;
    position: absolute;
    top: 50%;
    right: 0px;
}
.m2prosxDl dd {
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none;
    display: none; /* 页面加载时默认隐藏 */
}
.m2proLab {
    display: inline-block;
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
}
.m2proLab label {
    display: block;
    line-height: 36px;
    height: 36px;
    position: relative;
    font-size: 14px;
    align-items: center;
    cursor: pointer;
}
*, ::after, ::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.m2proBtnx {
    text-align: center;
    margin-top: 1.5rem;
}

.m2proBtnx button {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.m2proBtnx button:hover {
    background-color: #e5e7eb;
}

/* 单选按钮选中状态样式 - 针对新布局 */
.m2proLab label input:checked + i {
    background-color: #3b82f6;
    border-color: #3b82f6;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* dt.open 展开状态样式 */
dt.open::after {
    transform: rotate(0deg);
}

/* 新增：单选框在右，文字在左的布局 */
.m2proLab {
    display: block;
    margin-bottom: 0.5rem;
    width: 100%;
}

.m2proLab label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 36px;
    height: 36px;
    position: relative;
    font-size: 14px;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.m2proLab label input {
    position: relative;
    left: auto;
    top: auto;
    opacity: 0; /* 隐藏原生单选框 */
    margin-left: 0.5rem;
    order: 2; /* 让单选框排在右侧 */
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.m2proLab label input + i {
    height: 15px;
    width: 15px;
    border: 1px solid #CBCBCB;
    position: relative;
    top: auto;
    right: auto;
    margin-top: 0;
    margin-left: 0.5rem;
    border-radius: 0.2em;
    order: 3; /* 让选择图标紧跟单选框 */
    cursor: pointer;
    display: inline-block;
}

.m2proLab label p {
    color: #666666;
    margin: 0;
    flex-grow: 1;
    margin-right: 0.5rem;
    text-align: left;
    order: 1; /* 让文字排在左侧 */
}