
/* ==================================================
   chuhai6 商品页
   SKU：电脑 + 手机全部固定两列
   商品详情：普通文字样式
   ================================================== */

/* SKU 固定两列 */
.sku-options-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
}

/* 覆盖原来的 xl:grid-cols-3 */
@media (min-width: 1280px) {
    .sku-options-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* 手机也保持两列 */
@media (max-width: 767px) {
    .sku-options-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
}

/* SKU 每格 */
.sku-options-grid > * {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    height: auto !important;

    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;

    padding: 10px 8px !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

@media (max-width: 480px) {
    .sku-options-grid > * {
        min-height: 44px !important;
        padding: 8px 5px !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
}


/* ============================
   商品详情改为普通文字
   ============================ */

.product-content-card {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    padding: 0 !important;
    margin-top: 26px !important;
    margin-bottom: 36px !important;

    overflow: visible !important;
}

/* 商品详情标题 */
.product-content-card > h2 {
    margin: 0 0 14px 0 !important;
    padding: 0 0 8px 0 !important;

    border: 0 !important;

    font-size: 20px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}

/* 去掉标题左边装饰条 */
.product-content-card > h2 > div:first-child,
.product-content-card > h2 > span:first-child.w-1\.5 {
    display: none !important;
}

/* 详情正文 */
.product-content-card .theme-prose {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-size: 15px !important;
    line-height: 1.8 !important;

    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

/* 普通段落 */
.product-content-card .theme-prose p {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    line-height: 1.8 !important;
}

/* 详情里的标题 */
.product-content-card .theme-prose h1,
.product-content-card .theme-prose h2,
.product-content-card .theme-prose h3,
.product-content-card .theme-prose h4 {
    margin: 18px 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* 图片正常显示 */
.product-content-card .theme-prose img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

/* 手机详情同样文字化 */
@media (max-width: 767px) {

    .product-content-card {
        margin-top: 18px !important;
        margin-bottom: 28px !important;
        padding: 0 !important;
    }

    .product-content-card > h2 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }

    .product-content-card .theme-prose {
        font-size: 14px !important;
        line-height: 1.75 !important;
    }

    .product-content-card .theme-prose p {
        margin-bottom: 9px !important;
        line-height: 1.75 !important;
    }
}



/* =========================================================
   商品详情 V2：彻底去除上游旧 HTML 样式，只保留文字阅读
   ========================================================= */

/* 整个详情区域彻底取消卡片视觉 */
.product-content-card,
.product-content-card .theme-prose {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* 清除上游详情里的 font/style 视觉 */
.product-content-card .theme-prose font,
.product-content-card .theme-prose span,
.product-content-card .theme-prose div,
.product-content-card .theme-prose section,
.product-content-card .theme-prose article {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;

    letter-spacing: normal !important;
    text-shadow: none !important;

    max-width: 100% !important;
}

/* 上游 strong/b/i 只保留简单文字效果 */
.product-content-card .theme-prose strong,
.product-content-card .theme-prose b {
    color: inherit !important;
    background: transparent !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: 600 !important;
}

.product-content-card .theme-prose em,
.product-content-card .theme-prose i {
    color: inherit !important;
    background: transparent !important;
    font-family: inherit !important;
}

/* 普通正文 */
.product-content-card .theme-prose p {
    display: block !important;

    margin: 0 0 10px 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;

    color: inherit !important;
    font-family: inherit !important;
    font-size: 15px !important;
    line-height: 1.8 !important;

    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

/* 上游标题全部收敛成普通文字标题 */
.product-content-card .theme-prose h1,
.product-content-card .theme-prose h2,
.product-content-card .theme-prose h3,
.product-content-card .theme-prose h4,
.product-content-card .theme-prose h5,
.product-content-card .theme-prose h6 {
    margin: 16px 0 8px !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    color: inherit !important;
    font-family: inherit !important;

    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 600 !important;
}

/* 链接也改成普通文字感 */
.product-content-card .theme-prose a {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    font-family: inherit !important;
    font-size: inherit !important;

    text-decoration: underline !important;
    word-break: break-all !important;
}

/* 隐藏上游详情图片：详情只显示文字 */
.product-content-card .theme-prose img,
.product-content-card .theme-prose picture,
.product-content-card .theme-prose video,
.product-content-card .theme-prose iframe {
    display: none !important;
}

/* 表格去掉卡片/背景，变简单文字表格 */
.product-content-card .theme-prose table {
    width: 100% !important;
    border-collapse: collapse !important;

    background: transparent !important;
    box-shadow: none !important;
}

.product-content-card .theme-prose th,
.product-content-card .theme-prose td {
    padding: 6px 4px !important;

    background: transparent !important;
    color: inherit !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(128,128,128,.2) !important;

    font-family: inherit !important;
    font-size: 14px !important;
}

/* 列表普通化 */
.product-content-card .theme-prose ul,
.product-content-card .theme-prose ol {
    margin: 8px 0 12px 20px !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
}

.product-content-card .theme-prose li {
    margin: 4px 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;

    color: inherit !important;
    font-family: inherit !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

/* 去掉引用块/代码块的大卡片样式 */
.product-content-card .theme-prose blockquote,
.product-content-card .theme-prose pre,
.product-content-card .theme-prose code {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    color: inherit !important;
    font-family: inherit !important;
}

/* 横线弱化 */
.product-content-card .theme-prose hr {
    border: 0 !important;
    border-top: 1px solid rgba(128,128,128,.2) !important;
    margin: 14px 0 !important;
}

/* 手机保持纯文字 */
@media (max-width: 767px) {

    .product-content-card .theme-prose p,
    .product-content-card .theme-prose li {
        font-size: 14px !important;
        line-height: 1.75 !important;
    }

    .product-content-card .theme-prose h1,
    .product-content-card .theme-prose h2,
    .product-content-card .theme-prose h3,
    .product-content-card .theme-prose h4,
    .product-content-card .theme-prose h5,
    .product-content-card .theme-prose h6 {
        font-size: 15px !important;
    }
}


/* ===== 商品详情 V3：紧凑间距 + 高亮链接 ===== */

/* 正文段落缩短间距 */
.product-content-card .theme-prose p {
    margin: 0 0 5px 0 !important;
    line-height: 1.6 !important;
}

/* 列表也紧凑 */
.product-content-card .theme-prose ul,
.product-content-card .theme-prose ol {
    margin-top: 4px !important;
    margin-bottom: 6px !important;
}

.product-content-card .theme-prose li {
    margin: 2px 0 !important;
    line-height: 1.6 !important;
}

/* 小标题上下距离缩短 */
.product-content-card .theme-prose h1,
.product-content-card .theme-prose h2,
.product-content-card .theme-prose h3,
.product-content-card .theme-prose h4,
.product-content-card .theme-prose h5,
.product-content-card .theme-prose h6 {
    margin-top: 10px !important;
    margin-bottom: 4px !important;
}

/* 链接明显提亮 */
.product-content-card .theme-prose a,
.product-content-card .theme-prose a:visited {
    color: #2563eb !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1.5px !important;
    text-underline-offset: 3px !important;
}

/* 鼠标放上去更亮 */
.product-content-card .theme-prose a:hover {
    color: #3b82f6 !important;
    text-decoration-thickness: 2px !important;
}

/* 深色模式链接提高亮度 */
.dark .product-content-card .theme-prose a,
.dark .product-content-card .theme-prose a:visited {
    color: #60a5fa !important;
}

/* 手机同样紧凑 */
@media (max-width: 767px) {
    .product-content-card .theme-prose p {
        margin-bottom: 4px !important;
        line-height: 1.55 !important;
    }

    .product-content-card .theme-prose li {
        margin: 1px 0 !important;
        line-height: 1.55 !important;
    }
}



/* CHUHAI6_HOME_STYLE_V1_BEGIN */

/* =========================================
   首页 / 商品列表统一布局
   ========================================= */

.chuhai6-main-section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

/* ---------- 商品网格 ---------- */

.chuhai6-product-grid {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

/* 商品卡片 */
.chuhai6-product-card {
    min-width: 0 !important;
    height: 100% !important;

    border-radius: 12px !important;
    overflow: hidden !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease !important;
}

.chuhai6-product-card:hover {
    transform: translateY(-2px) !important;
}

/* 商品主图统一 */
.chuhai6-product-card img {
    max-width: 100% !important;
}

/* 商品标题固定两行 */
.chuhai6-card-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;

    overflow: hidden !important;

    min-height: 42px !important;
    max-height: 42px !important;

    font-size: 14px !important;
    line-height: 21px !important;
    font-weight: 600 !important;

    word-break: break-word !important;
}

/* 商品价格整体更醒目 */
.chuhai6-product-card [class*="price"],
.chuhai6-product-card [class*="Price"],
.chuhai6-product-card .text-primary {
    font-weight: 700 !important;
}

/* 卡片内部不要太松 */
.chuhai6-product-card [class*="p-5"] {
    padding: 14px !important;
}

.chuhai6-product-card [class*="p-4"] {
    padding: 12px !important;
}


/* ---------- 首页分类 ---------- */

.chuhai6-category-grid {
    display: grid !important;
    grid-template-columns: repeat(6,minmax(0,1fr)) !important;
    gap: 10px !important;
}

.chuhai6-category-card {
    min-height: 92px !important;

    padding: 13px !important;

    border-radius: 10px !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease !important;
}

.chuhai6-category-card:hover {
    transform: translateY(-2px) !important;
}

.chuhai6-category-card img {
    max-width: 28px !important;
    max-height: 28px !important;
}


/* ---------- 首页标题区域压紧 ---------- */

.chuhai6-main-section h2 {
    margin-bottom: 14px !important;
}

.chuhai6-main-section [class*="mb-[22px]"] {
    margin-bottom: 14px !important;
}


/* =========================================
   平板
   ========================================= */

@media (max-width: 1023px) {

    .chuhai6-product-grid {
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
        gap: 12px !important;
    }

    .chuhai6-category-grid {
        grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    }
}


/* =========================================
   手机
   ========================================= */

@media (max-width: 767px) {

    .chuhai6-main-section {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    /* 手机商品固定2列 */
    .chuhai6-product-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 9px !important;
    }

    .chuhai6-product-card {
        border-radius: 9px !important;
    }

    .chuhai6-card-title {
        min-height: 38px !important;
        max-height: 38px !important;

        font-size: 13px !important;
        line-height: 19px !important;
    }

    .chuhai6-product-card [class*="p-5"],
    .chuhai6-product-card [class*="p-4"] {
        padding: 9px !important;
    }

    /* 手机分类2列 */
    .chuhai6-category-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 8px !important;
    }

    .chuhai6-category-card {
        min-height: 78px !important;
        padding: 10px !important;
    }

    .chuhai6-main-section h2 {
        font-size: 21px !important;
        margin-bottom: 10px !important;
    }
}


/* 很窄手机仍然保持两列 */
@media (max-width: 390px) {

    .chuhai6-product-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 7px !important;
    }

    .chuhai6-card-title {
        font-size: 12px !important;
        line-height: 18px !important;
        min-height: 36px !important;
        max-height: 36px !important;
    }
}

/* CHUHAI6_HOME_STYLE_V1_END */

/* CHUHAI6_HOME_SHELL_V2_BEGIN */
:root {
    --chuhai6-shell-width: none;
    --chuhai6-shell-gap: 16px;
    --chuhai6-page-pad: clamp(18px, 3vw, 64px);
}

.chuhai6-site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    width: 100% !important;
    background: color-mix(in srgb, var(--background, #fff) 94%, transparent) !important;
    border-bottom: 1px solid var(--border, #e5e7eb) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

.chuhai6-site-header > div,
.chuhai6-primary-nav,
.chuhai6-home main > section,
.chuhai6-home main > div {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--chuhai6-page-pad) !important;
    padding-right: var(--chuhai6-page-pad) !important;
    box-sizing: border-box !important;
}

.chuhai6-home main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.chuhai6-primary-nav {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 44px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    white-space: nowrap !important;
}

.chuhai6-primary-nav::-webkit-scrollbar { display: none !important; }
.chuhai6-primary-nav a,
.chuhai6-primary-nav button {
    flex: 0 0 auto !important;
    min-height: 36px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
}

.chuhai6-search-wrap {
    width: min(100%, 520px) !important;
    min-width: 180px !important;
}

.chuhai6-search-input {
    width: 100% !important;
    min-height: 42px !important;
    border-radius: 10px !important;
}

.chuhai6-locale-trigger {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

.chuhai6-site-footer {
    margin-top: 40px !important;
    border-top: 1px solid var(--border, #e5e7eb) !important;
}

@media (max-width: 1199px) {
    .chuhai6-site-header > div,
    .chuhai6-primary-nav,
    .chuhai6-home main > section,
    .chuhai6-home main > div {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (min-width: 1440px) {
    .chuhai6-product-grid {
        grid-template-columns: repeat(5,minmax(0,1fr)) !important;
        gap: 16px !important;
    }

    .chuhai6-category-grid {
        grid-template-columns: repeat(8,minmax(0,1fr)) !important;
    }
}

@media (max-width: 767px) {
    :root { --chuhai6-shell-gap: 10px; }

    .chuhai6-site-header { position: sticky !important; }
    .chuhai6-site-header > div,
    .chuhai6-primary-nav,
    .chuhai6-home main > section,
    .chuhai6-home main > div {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .chuhai6-primary-nav {
        min-height: 42px !important;
        gap: 2px !important;
        scroll-snap-type: x proximity !important;
    }

    .chuhai6-primary-nav a,
    .chuhai6-primary-nav button {
        min-height: 34px !important;
        padding: 7px 10px !important;
        font-size: 13px !important;
        scroll-snap-align: start !important;
    }

    .chuhai6-search-wrap {
        order: 20 !important;
        width: 100% !important;
        max-width: none !important;
    }

    .chuhai6-search-input { min-height: 40px !important; }
    .chuhai6-site-footer { margin-top: 28px !important; }
}

@media (max-width: 390px) {
    .chuhai6-site-header > div,
    .chuhai6-primary-nav,
    .chuhai6-home main > section,
    .chuhai6-home main > div {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 9px !important;
        padding-right: 9px !important;
    }
    .chuhai6-primary-nav a,
    .chuhai6-primary-nav button { padding-inline: 8px !important; }
}
/* CHUHAI6_HOME_SHELL_V2_END */

/* CHUHAI6_CATALOG_SELLER_V1_BEGIN */
.chuhai6-catalog-main,
.chuhai6-seller-main {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: var(--chuhai6-page-pad) !important;
    box-sizing: border-box !important;
}

.chuhai6-catalog-page .chuhai6-product-grid {
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 16px !important;
}

.chuhai6-catalog-page .chuhai6-product-card {
    border: 1px solid var(--border, #e5e7eb) !important;
    background: var(--card, #fff) !important;
    box-shadow: 0 5px 20px rgba(15,23,42,.05) !important;
}

.chuhai6-catalog-page .chuhai6-product-card:hover {
    border-color: color-mix(in srgb, var(--primary, #1677ff) 40%, var(--border, #e5e7eb)) !important;
    box-shadow: 0 12px 30px rgba(15,23,42,.1) !important;
}

.chuhai6-filter-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
}

.chuhai6-filter-control {
    min-height: 42px !important;
    border-radius: 10px !important;
}

.chuhai6-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin-top: 28px !important;
}

.chuhai6-page-button {
    min-width: 38px !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9px !important;
}

.chuhai6-seller-main {
    min-width: 0 !important;
    padding-top: 24px !important;
    padding-bottom: 32px !important;
}

.chuhai6-seller-sidebar {
    flex: 0 0 238px !important;
    width: 238px !important;
}

.chuhai6-table-scroll {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.chuhai6-seller-table {
    width: 100% !important;
    min-width: 760px !important;
}

@media (min-width: 1440px) {
    .chuhai6-catalog-page .chuhai6-product-grid {
        grid-template-columns: repeat(5,minmax(0,1fr)) !important;
    }
}

@media (max-width: 1023px) {
    .chuhai6-catalog-page .chuhai6-product-grid {
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
        gap: 12px !important;
    }
    .chuhai6-seller-sidebar {
        flex-basis: 210px !important;
        width: 210px !important;
    }
}

@media (max-width: 767px) {
    .chuhai6-catalog-main,
    .chuhai6-seller-main {
        padding-inline: 12px !important;
        padding-top: 14px !important;
    }
    .chuhai6-catalog-page .chuhai6-product-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 9px !important;
    }
    .chuhai6-filter-wrap {
        flex-wrap: wrap !important;
    }
    .chuhai6-filter-control {
        flex: 1 1 150px !important;
        min-width: 0 !important;
    }
    .chuhai6-pagination {
        margin-top: 20px !important;
        gap: 5px !important;
    }
    .chuhai6-page-button {
        min-width: 36px !important;
        min-height: 36px !important;
    }
    .chuhai6-seller-sidebar {
        width: 100% !important;
        max-width: none !important;
        flex-basis: auto !important;
    }
    .chuhai6-seller-table { min-width: 680px !important; }
}

@media (max-width: 390px) {
    .chuhai6-catalog-main,
    .chuhai6-seller-main { padding-inline: 9px !important; }
    .chuhai6-catalog-page .chuhai6-product-grid { gap: 7px !important; }
}
/* CHUHAI6_CATALOG_SELLER_V1_END */

/* CHUHAI6_PRODUCT_DETAIL_V2_BEGIN */

/*
 * chuhai6 商品详情统一视觉层
 * 仅调整详情页视觉，不修改商品、SKU、库存、价格、购买逻辑。
 */

/* ---------- 商品详情整体 ---------- */

.product-detail-page,
.product-detail-container {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.product-detail-card {
    background: var(--card) !important;
    border: 1px solid var(--border) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 35px rgba(15, 23, 42, .07) !important;
}

/* ---------- 商品图片 ---------- */

.product-detail-card img {
    max-width: 100%;
}

.product-image-card,
.product-gallery,
.product-image-wrap {
    border-radius: 14px !important;
    overflow: hidden !important;
}

/* ---------- 商品标题 ---------- */

.product-detail-card h1 {
    font-weight: 800 !important;
    line-height: 1.22 !important;
    letter-spacing: -0.02em !important;
}

/* ---------- 价格 ---------- */

.product-detail-card .price,
.product-detail-card .product-price {
    font-weight: 800 !important;
}

/* ---------- SKU ---------- */

.sku-options-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
}

.sku-options-grid > * {
    min-width: 0 !important;
}

.sku-option,
.sku-item {
    border-radius: 10px !important;
    min-height: 54px !important;
    transition:
        border-color .16s ease,
        background-color .16s ease,
        box-shadow .16s ease,
        transform .16s ease !important;
}

.sku-option:hover,
.sku-item:hover {
    transform: translateY(-1px);
}

/* ---------- 数量 / 购买区 ---------- */

.product-detail-card button {
    transition:
        transform .15s ease,
        box-shadow .15s ease,
        opacity .15s ease !important;
}

.product-detail-card button:not(:disabled):active {
    transform: translateY(1px);
}

/* ---------- 商品详细信息 ---------- */

.product-content-card {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 18px !important;
    padding: 24px 28px !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    background: var(--card) !important;
    box-shadow: 0 6px 24px rgba(15, 23, 42, .045) !important;
    overflow: hidden !important;
}

.product-content-card .theme-prose {
    max-width: none !important;
    width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.product-content-card .theme-prose h1,
.product-content-card .theme-prose h2,
.product-content-card .theme-prose h3,
.product-content-card .theme-prose h4 {
    font-weight: 750 !important;
    line-height: 1.35 !important;
    margin-top: 22px !important;
    margin-bottom: 10px !important;
}

.product-content-card .theme-prose h1:first-child,
.product-content-card .theme-prose h2:first-child,
.product-content-card .theme-prose h3:first-child {
    margin-top: 0 !important;
}

.product-content-card .theme-prose p {
    margin: 8px 0 !important;
    line-height: 1.7 !important;
}

.product-content-card .theme-prose ul,
.product-content-card .theme-prose ol {
    margin: 10px 0 !important;
    padding-left: 22px !important;
}

.product-content-card .theme-prose li {
    margin: 5px 0 !important;
    line-height: 1.65 !important;
}

.product-content-card .theme-prose img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
}

.product-content-card .theme-prose table {
    display: block !important;
    max-width: 100% !important;
    overflow-x: auto !important;
}

.product-content-card .theme-prose a {
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
}

/* ---------- 手机 ---------- */

@media (max-width: 767px) {

    .product-detail-card {
        border-radius: 12px !important;
    }

    .product-content-card {
        margin-top: 12px !important;
        padding: 16px !important;
        border-radius: 12px !important;
    }

    .product-content-card .theme-prose p {
        margin-bottom: 6px !important;
        line-height: 1.6 !important;
    }

    .product-content-card .theme-prose li {
        margin: 3px 0 !important;
        line-height: 1.6 !important;
    }

    .sku-options-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .sku-option,
    .sku-item {
        min-height: 50px !important;
    }
}

/* ---------- 极窄屏 ---------- */

@media (max-width: 390px) {

    .product-content-card {
        padding: 14px !important;
    }

    .sku-options-grid {
        gap: 7px !important;
    }
}

/* CHUHAI6_PRODUCT_DETAIL_V2_END */
