/* Product Page Styles */
.product-page {
    background: #FFFFFF;
    position: relative;
    width: 100%;
    min-height: calc(67.5rem); /* 1080px */
}

/* 主内容容器 - 最小高度，允许滚动 */
.main-content {
    position: relative;
    width: 100%;
    min-height: calc(67.5rem); /* 1080px */
    background: #fff;
    margin: 0 auto;
    padding: calc(3.125rem); /* 50px */
    box-sizing: border-box;
    max-width: calc(120rem); /* 1920px */
    overflow: visible;
}

/* PRODUCT标题 - 左下角 */
.page-title {
    position: absolute;
    left: calc(22rem); /* 350px */
    top: calc(10rem); /* 260px */
}

.page-title h1 {
    font-family: var(--font-family);
    font-size: calc(3rem); /* 48px */
    line-height: calc(3.5rem); /* 56px */
    letter-spacing: calc(0.12rem); /* 1.92px */
    color: #000000;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0;
}

/* 产品网格容器 - 2x2 布局，使用绝对定位 */
.product-grid {
    position: absolute;
    left: calc(48rem); /* 660px */
    top: calc(10rem); /* 260px */
    width: calc(62.5rem); /* 1000px */
    height: calc(46rem); /* 600px */
    display: flex;
    flex-wrap: wrap;
    gap: calc(0.3125rem); /* 5px */
}

.product-item {
    position: relative;
    width: calc(28rem); /* 394px - (800-12)/2 */
    height: calc(18.375rem); /* 294px - (600-12)/2 */
    display: flex;
    flex-direction: column;
    gap: calc(0.5rem); /* 8px */
    box-sizing: border-box;
}

.product-link {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 产品卡片内部：图片 + 文本 */
.product-image {
    width: calc(11.875rem); /* 190px */
    height: calc(11.875rem); /* 190px */
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    overflow: hidden;
    background: #FFFFFF;
    border: none;
    box-sizing: border-box;
    margin: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Hover 图片切换效果 */
.product-image {
    position: relative;
}

.product-image .img-default {
    opacity: 1;
}

.product-image .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-item:hover .product-image .img-default {
    opacity: 0;
}

.product-item:hover .product-image .img-hover {
    opacity: 1;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: calc(0.375rem); /* 6px */
    text-transform: capitalize;
    align-items: flex-start;
    text-align: left;
    margin-left: calc(0.875rem); /* 14px */
}

.product-name {
    font-family: var(--font-family);
    font-size: calc(1.75rem); /* 18px */
    line-height: calc(2.25rem); /* 24px */
    color: #404040;
    font-weight: 700;
    margin: 0;
}

.product-count {
    font-family: var(--font-family);
    font-size: calc(0.875rem); /* 14px */
    line-height: calc(1.25rem); /* 20px */
    color: #404040;
    font-weight: 400;
    margin: 0;
    white-space: nowrap;
}

.product-number {
    position: absolute;
    left: calc(12.75rem); /* 204px - 190+14 */
    bottom: calc(6.5rem); /* 104px */
    font-family: var(--font-family);
    font-size: calc(2rem); /* 48px */
    line-height: 1.1;
    color: rgba(151, 151, 151, 0.25);
    text-transform: capitalize;
    font-weight: 700;
    pointer-events: none;
}

/* ===== 产品1 - Bulb ===== */
.product-1 .product-image img {
    width: 112%;
    height: 112%;
    margin-left: -8%;
    margin-top: 2%;
}

/* ===== 产品2 - Linealuce ===== */
.product-2 .product-image img {
    width: 112.3%;
    height: 112.4%;
    margin-left: -12.3%;
    margin-top: 1.76%;
}

/* ===== 产品3 - Decorative ===== */
.product-3 .product-image img {
    width: 100%;
    height: 108.22%;
}

/* ===== 产品4 - Customsed Decorative ===== */
.product-4 .product-image img {
    width: 100%;
    height: 111.73%;
}

/* 悬停效果 */
.product-image:hover {
    cursor: pointer;
}

/* ===== 即将上线遮罩层 ===== */
.coming-soon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.96);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(2rem);
}

.coming-soon-content {
    text-align: center;
    max-width: calc(40rem);
    padding: calc(3rem);
}

.coming-soon-title {
    /* font-family 继承自 body.lang-xx，font-weight: 700 触发加粗 */
    font-size: calc(4rem);
    font-weight: 700;
    color: #171717;
    margin: 0 0 calc(1.5rem) 0;
    letter-spacing: calc(0.2rem);
    text-transform: uppercase;
}

.coming-soon-subtitle {
    font-family: var(--font-family);
    font-size: calc(1.2rem);
    color: #404040;
    margin: 0 0 calc(3rem) 0;
    line-height: 1.6;
}

.coming-soon-back {
    display: inline-flex;
    align-items: center;
    gap: calc(0.5rem);
    font-family: var(--font-family);
    font-size: calc(1rem);
    color: #171717;
    text-decoration: none;
    padding: calc(0.75rem) calc(2rem);
    border: 1px solid #171717;
    transition: all 0.3s ease;
}

.coming-soon-back:hover {
    background: #171717;
    color: #fff;
}

.coming-soon-back img {
    width: calc(1rem);
    height: auto;
    transform: rotate(180deg);
}

.coming-soon-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(0.5rem);
    font-family: var(--font-family);
    font-size: calc(1rem);
    color: #171717;
    background: transparent;
    padding: calc(0.75rem) calc(2rem);
    border: 1px solid #171717;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coming-soon-close:hover {
    background: #171717;
    color: #fff;
}
