@charset "utf-8";

/* 自贸区商品页主题（2026-11-02）
   沿用首页的蓝紫极光、玻璃卡片与圆角视觉；所有规则限定在 .product-theme 下 */

.product-theme {
    --p-ink: #0c1424;
    --p-muted: #5b657a;
    --p-soft: #7a859c;
    --p-blue: #2e6bff;
    --p-violet: #7a5cff;
    --p-cyan: #54d8ff;
    --p-price: #ff3a6f;
    --p-line: rgba(28, 56, 120, 0.1);
    --p-line-soft: rgba(28, 56, 120, 0.07);
    min-width: 1366px;
    min-height: 100vh;
    color: var(--p-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: #f6f8fd;
    background-image:
        radial-gradient(920px 520px at 92% 760px, rgba(122, 92, 255, 0.07), transparent 68%),
        radial-gradient(820px 480px at 2% 1480px, rgba(84, 216, 255, 0.08), transparent 70%);
    background-repeat: no-repeat;
}

.product-theme .w1300 {
    box-sizing: border-box;
}

/* ---------- 顶部视觉区 ---------- */

.product-theme .topssT {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 80px;
    padding: 48px 0 112px;
    border-radius: 0 0 36px 36px;
    background-image:
        radial-gradient(120% 120% at 50% -30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 60%),
        linear-gradient(118deg, #e6f9fd 0%, #d6e1fb 30%, #e4dbf7 62%, #d9defa 100%);
    background-size: 100% 100%, 240% 240%;
    background-position: 50% 0%, 0% 34%;
    animation: productAurora 18s ease-in-out infinite alternate;
}

@keyframes productAurora {
    to {
        background-position: 50% 0%, 100% 70%;
    }
}

.product-theme .topssT::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(46, 107, 255, 0.065) 1px, transparent 1px),
        linear-gradient(180deg, rgba(46, 107, 255, 0.065) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 74% 88% at 22% 18%, #000 18%, transparent 76%);
    mask-image: radial-gradient(ellipse 74% 88% at 22% 18%, #000 18%, transparent 76%);
}

.product-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.product-hero-orb {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}

.product-hero-orb--cyan {
    width: 560px;
    height: 560px;
    left: -8%;
    top: -66%;
    background: radial-gradient(circle at 45% 45%, rgba(104, 210, 240, 0.58), rgba(104, 210, 240, 0) 67%);
    animation: productOrbA 9s ease-in-out infinite alternate;
}

.product-hero-orb--violet {
    width: 500px;
    height: 500px;
    right: -6%;
    top: -62%;
    background: radial-gradient(circle at 50% 50%, rgba(146, 118, 232, 0.5), rgba(146, 118, 232, 0) 68%);
    animation: productOrbB 10s ease-in-out infinite alternate;
}

.product-hero-orb--blue {
    width: 680px;
    height: 680px;
    left: 34%;
    bottom: -92%;
    background: radial-gradient(circle at 50% 50%, rgba(104, 138, 232, 0.38), rgba(104, 138, 232, 0) 70%);
    animation: productOrbC 12s ease-in-out infinite alternate;
}

@keyframes productOrbA {
    from { transform: translate3d(-4%, -6%, 0) scale(1); }
    to { transform: translate3d(22%, 18%, 0) scale(1.14); }
}

@keyframes productOrbB {
    from { transform: translate3d(6%, -4%, 0) scale(1.08); }
    to { transform: translate3d(-20%, 20%, 0) scale(0.94); }
}

@keyframes productOrbC {
    from { transform: translate3d(-10%, 10%, 0) scale(0.96); }
    to { transform: translate3d(14%, -16%, 0) scale(1.1); }
}

.product-theme .topssT .w1300 {
    position: relative;
    z-index: 1;
    color: var(--p-ink);
    font-size: inherit;
}

.product-theme .product-hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    animation: productRise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes productRise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-theme .product-hero-copy {
    min-width: 0;
    max-width: 780px;
}

.product-theme .product-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--p-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.product-theme .product-hero-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p-blue), var(--p-violet));
    box-shadow: 0 0 0 4px rgba(46, 107, 255, 0.14);
    animation: productDot 2.4s ease-in-out infinite;
}

@keyframes productDot {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.72);
        opacity: 0.55;
    }
}

.product-theme .topssT .le {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    color: inherit;
    font-size: inherit;
}

.product-theme .topssT .le .product-hero-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0;
    border-radius: 17px;
    color: #fff;
    background-image: linear-gradient(135deg, #3d7dff 0%, #5a63ff 52%, #7a5cff 100%);
    box-shadow: 0 18px 32px -16px rgba(46, 91, 255, 0.9), 0 0 0 7px rgba(255, 255, 255, 0.4);
}

.product-theme .product-hero-icon svg {
    width: 29px;
    height: 29px;
}

.product-theme .product-hero-title {
    font-size: clamp(40px, 3.3vw, 54px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 1px;
    background-image: linear-gradient(100deg, #0c1424 0%, #24408f 38%, #2e6bff 64%, #7a5cff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: productTitleShift 10s ease-in-out infinite alternate;
}

@keyframes productTitleShift {
    to {
        background-position: 100% 0;
    }
}

.product-theme .product-hero-desc {
    margin: 16px 0 0;
    max-width: 660px;
    color: rgba(16, 28, 54, 0.6);
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.3px;
}

.product-theme .product-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.product-theme .product-hero-tags li {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px -20px rgba(28, 56, 120, 0.6);
    color: #3c4a63;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.product-theme .product-hero-tags li::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 2px;
    background: linear-gradient(135deg, #37a4ff, var(--p-violet));
}

.product-theme .product-hero-aside {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    padding-bottom: 6px;
}

.product-theme .product-hero-note {
    color: rgba(16, 28, 54, 0.52);
    font-size: 13px;
    letter-spacing: 0.4px;
}

.product-theme .product-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    background-image: linear-gradient(135deg, #3d7dff 0%, #2e5bff 48%, #7a5cff 100%);
    background-size: 160% 100%;
    box-shadow: 0 20px 36px -16px rgba(46, 91, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.4s ease;
}

.product-theme .product-hero-cta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.product-theme .product-hero-cta:hover {
    transform: translateY(-2px);
    background-position: 100% 0;
    box-shadow: 0 24px 42px -16px rgba(46, 91, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.product-theme .product-hero-cta:hover svg {
    transform: translateX(3px);
}

/* ---------- 筛选区 ---------- */

.product-theme .product-body {
    position: relative;
    z-index: 2;
    margin-top: -68px;
}

.product-theme .shop-sort {
    margin: 0 0 26px;
    padding: 18px 26px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 30px 60px -42px rgba(28, 56, 120, 0.55), 0 2px 8px rgba(28, 56, 120, 0.05);
}

.product-theme .shop-sort ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-theme .shop-sort ul li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--p-line-soft);
    font-size: 14px;
    line-height: 1;
}

.product-theme .shop-sort ul li + li {
    padding-top: 13px;
}

.product-theme .shop-sort ul li:last-of-type {
    padding-bottom: 2px;
    border-bottom: 0;
}

.product-theme .shop-sort ul li > span {
    flex: none;
    margin: 0 14px 0 4px;
    color: var(--p-soft);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.product-theme .shop-sort ul li a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    margin: 4px 8px 4px 0;
    border: 1px solid transparent;
    border-radius: 999px;
    background: rgba(46, 107, 255, 0.055);
    color: #4d576b;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-theme .shop-sort ul li a i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 7px 0 0;
    border-radius: 2px;
    background: currentColor;
    background-image: none !important;
    opacity: 0.72;
}

.product-theme .shop-sort ul li a:hover {
    color: var(--p-blue);
    background: #eef4ff;
    border-color: rgba(46, 107, 255, 0.16);
}

.product-theme .shop-sort .shop-sort-active,
.product-theme .shop-sort .shop-sort-active:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #2e6bff 0%, #7a5cff 100%);
    box-shadow: 0 10px 22px -12px rgba(46, 107, 255, 0.75);
}

.product-theme .shop-sort .shop-sort-active i {
    opacity: 1;
}

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

.product-theme .prolist {
    margin: 0 -20px;
    padding: 6px 20px 48px;
    min-height: calc(100vh - 620px);
}

.product-theme .prolist .goods-lists {
    width: 100%;
    margin-bottom: 0;
}

.product-theme .prolist .goods-ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 22px;
    justify-content: initial;
    align-items: stretch;
}

.product-theme .prolist .goods-ul > li {
    position: relative;
    display: flex;
    width: auto;
    margin: 0;
    float: none;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--p-line-soft);
    background: #fff;
    box-shadow: 0 20px 40px -34px rgba(28, 56, 120, 0.45);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-theme .prolist .goods-ul > li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    z-index: 3;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #37a4ff, #7a5cff);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease;
}

.product-theme .prolist .goods-ul > li:hover {
    transform: translateY(-6px);
    border-color: rgba(46, 107, 255, 0.2);
    box-shadow: 0 34px 60px -32px rgba(35, 70, 160, 0.42);
}

.product-theme .prolist .goods-ul > li:hover::before {
    transform: scaleX(1);
}

.product-theme .prolist .goods-ul > li[style*="visibility: hidden"] {
    display: none;
}

.product-theme .prolist .goods-ul > li .goods-label1 {
    display: none;
}

.product-theme .prolist .goods-ul > li .a-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.product-theme .prolist .goods-ul .img-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.92;
    display: block;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #eef4ff 0%, #f6f2ff 100%);
}

.product-theme .prolist .goods-ul .img-wrap img {
    width: 100%;
    height: 100%;
    margin: 0;
    display: block;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.product-theme .prolist .goods-ul > li:hover .img-wrap img {
    transform: scale(1.045);
}

.product-theme .prolist .goods-ul .bottom-wrap {
    position: relative;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 16px 20px 18px;
}

.product-theme .prolist .goods-ul .bottom-wrap h3 {
    margin: 0;
    color: var(--p-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-theme .prolist .goods-ul .bottom-wrap .p1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin: 8px 0 10px;
    min-height: 36px;
    color: var(--p-soft);
    font-size: 12px;
    line-height: 1.55;
    white-space: normal;
    word-break: break-all;
    overflow: hidden;
}

.product-theme .prolist .goods-ul .bottom-wrap .price {
    margin: 0;
    color: var(--p-price);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.product-theme .prolist .goods-ul .bottom-wrap::after {
    content: "查看详情";
    position: absolute;
    right: 18px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(46, 107, 255, 0.07);
    color: var(--p-blue);
    font-size: 12px;
    opacity: 0.8;
    transition: color 0.25s ease, background-color 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.product-theme .prolist .goods-ul > li:hover .bottom-wrap::after {
    color: #fff;
    opacity: 1;
    background: linear-gradient(135deg, #2e6bff 0%, #7a5cff 100%);
    box-shadow: 0 10px 20px -12px rgba(46, 107, 255, 0.8);
}

/* 加载 / 空态为直接插入的 div，让其横跨整行 */
.product-theme .prolist .goods-ul > div {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
}

.product-theme .prolist .goods-ul .empty-state {
    color: var(--p-soft) !important;
}

.product-theme .prolist .goods-ul .empty-state svg {
    width: min(340px, 42%) !important;
    height: auto !important;
    color: rgba(46, 107, 255, 0.16) !important;
}

.product-theme .prolist .goods-ul .empty-state span {
    color: var(--p-soft);
    font-size: 14px !important;
}

/* ---------- 入驻弹窗 ---------- */

.product-theme .cprzTc .hsbg {
    background: rgba(8, 14, 28, 0.56);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.product-theme .cprzTc .nr {
    position: relative;
    box-sizing: border-box;
    width: 560px;
    height: auto;
    padding: 42px 46px 44px;
    border-radius: 24px;
    letter-spacing: normal;
    background-color: #fff;
    background-image:
        radial-gradient(120% 70% at 0% 0%, rgba(84, 216, 255, 0.2), rgba(84, 216, 255, 0) 56%),
        radial-gradient(110% 80% at 100% 0%, rgba(122, 92, 255, 0.18), rgba(122, 92, 255, 0) 60%),
        linear-gradient(180deg, #fbfdff 0%, #ffffff 46%, #fdfdff 100%);
    box-shadow: 0 40px 90px -30px rgba(12, 24, 56, 0.55);
}

.product-theme .cprzTc[style*="flex"] .nr {
    animation: productModalIn 0.34s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes productModalIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.product-theme .cprzTc .nr .close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.product-theme .cprzTc .nr .close span {
    float: none;
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 50%;
    background-color: rgba(12, 20, 36, 0.06);
    background-image: none !important;
    transition: background-color 0.2s ease;
}

.product-theme .cprzTc .nr .close span::before,
.product-theme .cprzTc .nr .close span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 2px;
    border-radius: 2px;
    background: #5b657a;
    transition: background-color 0.2s ease;
}

.product-theme .cprzTc .nr .close span::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.product-theme .cprzTc .nr .close span::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.product-theme .cprzTc .nr .close span:hover {
    background-color: rgba(255, 58, 111, 0.1);
}

.product-theme .cprzTc .nr .close span:hover::before,
.product-theme .cprzTc .nr .close span:hover::after {
    background: var(--p-price);
}

.product-theme .product-modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    color: var(--p-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.product-theme .product-modal-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p-blue), var(--p-violet));
    box-shadow: 0 0 0 4px rgba(46, 107, 255, 0.12);
}

.product-theme .cprzTc .nr .t {
    position: relative;
    padding: 0 0 10px 16px;
    color: var(--p-ink);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
}

.product-theme .cprzTc .nr .t::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2e6bff, #7a5cff);
}

.product-theme .cprzTc .nr .product-modal-eyebrow + .t {
    font-size: 24px;
}

.product-theme .cprzTc .nr .product-modal-eyebrow + .t::before {
    top: 6px;
    height: 22px;
}

.product-theme .cprzTc .nr .t ~ .t {
    margin-top: 4px;
}

.product-theme .product-modal-list {
    counter-reset: product-modal;
    margin: 4px 0 24px;
    padding: 0;
    list-style: none;
}

.product-theme .product-modal-list li {
    position: relative;
    margin-bottom: 9px;
    padding: 2px 0 2px 32px;
    color: var(--p-muted);
    font-size: 14px;
    line-height: 1.75;
}

.product-theme .product-modal-list li:last-child {
    margin-bottom: 0;
}

.product-theme .product-modal-list li::before {
    counter-increment: product-modal;
    content: counter(product-modal);
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(46, 107, 255, 0.13), rgba(122, 92, 255, 0.13));
    color: var(--p-blue);
    font-size: 11px;
    font-weight: 800;
}

.product-theme .product-modal-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.product-theme .product-modal-contact li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--p-line-soft);
    background: rgba(46, 107, 255, 0.05);
}

.product-theme .product-modal-contact li span {
    color: var(--p-soft);
    font-size: 12px;
}

.product-theme .product-modal-contact li strong {
    color: var(--p-ink);
    font-size: 13px;
    font-weight: 600;
}

/* ---------- 页脚 ---------- */

.product-theme #footer-placeholder {
    margin-top: 24px;
    background: transparent;
}

.product-theme #footer-placeholder.bg-f {
    background: linear-gradient(180deg, rgba(246, 248, 253, 0) 0%, rgba(255, 255, 255, 0.92) 170px, #fff 100%);
    border-top: 1px solid var(--p-line-soft);
}

.product-theme #footer {
    padding-top: 42px;
}

.product-theme #footer a:hover {
    color: var(--p-blue);
}

/* ---------- 动效降级 ---------- */

@media (prefers-reduced-motion: reduce) {
    .product-theme .topssT,
    .product-theme .topssT::after,
    .product-theme .product-hero-orb,
    .product-theme .product-hero-eyebrow::before,
    .product-theme .product-hero-title,
    .product-theme .product-hero-inner,
    .product-theme .cprzTc[style*="flex"] .nr {
        animation: none !important;
    }

    .product-theme .prolist .goods-ul > li,
    .product-theme .prolist .goods-ul .img-wrap img,
    .product-theme .product-hero-cta {
        transition: none;
    }
}
