@charset "utf-8";
#banner { width: 100%; }
#banner .swiper { position: relative; z-index: 80; height: 100%; }
#banner .swiper-wrapper { height: 100%; }
#banner .swiper-slide { width: 100%; height: 100%; overflow: hidden; position: relative; background-position: center top; background-size: cover; }
#banner .swiper-slide.swiper-slide-active img { animation: ring 2s infinite; animation-iteration-count: 1; }
#banner .swiper-slide .info { position: absolute; z-index: 50; top: 44%; left: 15%; text-align: left; }
#banner .swiper-slide .info>.drop { position: absolute; z-index: 1; left: -30px; top: 0; width: 60px; height: 60px; background: #d70d19; }
#banner .swiper-slide .info>.tit { position: relative; z-index: 10; font-size: 7rem; font-weight: bold; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,.2); }
#banner .swiper-slide .info>.sub { position: relative; z-index: 10; padding-top: 8px; font-size: 2.4rem; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,.2); }
#banner .swiper-slide .tr { text-align: right; left: auto; right: 15%; }
#banner .swiper-pagination { z-index: 80; width: 10px!important; left: auto; right: 50px!important; text-align: center; bottom: 5%!important; }
#banner .swiper-pagination-bullet { width: 12px; height: 12px; background-color: #fff; margin-bottom: 12px!important; opacity: .8; transition: all .3s; }
#banner .swiper-pagination-bullet-active, .swiper-pagination-bullet-active { opacity: 1; background: #d70d19; }
 @keyframes ring { 0% {
 transform: scale(1.1);
}
to { transform: scale(1); }
}
#space { height: 100%; background: #fff; }
#main { position: relative; z-index: 3; background: #fff; }
/*

*/
.newpro { margin: 0 auto; padding: 120px 0; }
.newpro .title { margin: 0 auto; letter-spacing: .2em; text-transform: uppercase; text-align: center; margin-bottom: 5px; }
.tabPanel ul { text-align: center; }
.tabPanel ul li { position: relative; display: inline-block; overflow: visible; cursor: pointer; font-size: 17px; margin: 0 10px; font-weight: bold; }
.tabPanel .hit:after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; border-bottom: 2px solid currentColor; transform-origin: 0 50%; transition: none; transform: scale(1); transition: transform 0.5s ease; }
.pane { display: none; margin: 50px 0; position: relative; }
.pane .txt { font-size: 17px; line-height: 150%; margin-top: 10px; }
.pane .swiper { padding: 20px; }
.pane .swiper-wrapper { padding-top: 15px; }
.pane .swiper-slide { position: relative; }
.pane .swiper-slide img.A { display:block; transition: all .35s; }
.pane .swiper-slide img.B { display:none; transition: all .35s; }
.pane .swiper-slide .btn { position: absolute; top: -15px; right: -15px; z-index: 2; border-radius: 50%; height: 65px; width: 65px; background-color: #000; overflow: hidden; line-height: 1.2; color: #FFF; cursor: pointer; opacity: 0; transform: translateY(5px); transition: opacity 0.15s ease, transform 0.15s ease-out, background 0.15s ease; }
.pane .swiper-slide a:hover .btn { opacity: 1; transform: translateY(0); transition: opacity 0.15s ease, transform 0.15s ease-out; }
.pane .swiper-slide a:hover  img.A { display:none; }
.pane .swiper-slide a:hover  img.B { display:block; }

.pane .arrow-prev, .pane .arrow-next { position: absolute; top: 50%; z-index: 99; display: inline-block; width: 36px; height: 36px; line-height: 37px; color: #FFF; cursor: pointer; text-align: center; font-weight: bold; background-color: #000; border-radius: 100%; transition: all .35s; }
.pane .arrow-prev>i, .pane .arrow-next>i { font-size: 1.8rem; font-weight: 700 !important; -webkit-text-stroke: 0.5px currentColor; }
.pane .arrow-prev { left: -10px; }
.pane .arrow-next { right: -10px; }
.pane .swiper-button-disabled { display: none; }
.pane .arrow-prev:hover, .pane .arrow-next:hover { border-color: #d70d19; transform: scale(1.2); }
.more { text-align: center; }
.more a { background-color: #000000; padding: 11px 20px; display: inline-block; cursor: pointer; font-size: 17px; font-weight: bold; color: hsla(0,0%,100%,1.00); user-select: none; -webkit-appearance: none; -moz-appearance: none; transition: padding-right 0.3s, background 0.3s, opacity 1s; }
/*

*/
.collection { margin: 0 auto; padding: 120px 0; }
.collection .title { margin: 0 auto; text-transform: uppercase; text-align: center; margin-bottom: 5px; font-size: 20px; font-weight: bold; }
.grid-layout { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; gap: 15px; margin-top: 80px; }
.grid-layout .grid-item { position: relative; overflow: hidden; }
.grid-layout .grid-item:after { background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 30%, rgba(0, 0, 0, 0.62) 100%); }
.grid-layout .grid-item:after { bottom: 0; content: ""; left: 0; position: absolute; right: 0; top: 0; transition: opacity .5s ease; z-index: 1; }
.grid-layout .grid-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 					控制跨列：第一行第一个元素跨2列 */
.grid-layout .item-large { grid-column: span 2; }
/* 					标签样式 */
.grid-layout .grid-item .label { position: absolute; z-index: 2; bottom: 20px; left: 20px; color: #ffffff; font-size: 18px; font-weight: bold; transition: transform 0.5s ease; }
.grid-layout .grid-item .label:after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; border-bottom: 2px solid; border-bottom-color: $colorHeroText;
transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s ease; }
.grid-layout .grid-item:hover .label:after { transform: scaleX(1); }
.grid-layout .grid-item:hover .label { transform: translateY(-10px); }
/*

*/
.ipro { margin: 0 auto; padding: 120px 0; }
.ipro .product-container { width: 100%; }
.ipro .product-gallery { float: left; width: 48%; }
.ipro .main-image { width: 100%; background: #f5f5f5; overflow: hidden; cursor: zoom-in; }
.ipro .main-image img { width: 100%; object-fit: cover; transition: all 0.3s ease; }
.ipro .thumbnail-container { height: 80px; margin-top: 10px; }
.ipro .swiper-slide { border: 2px solid transparent; cursor: pointer; flex-shrink: 0; transition: border-color 0.2s ease; }
.ipro .swiper-slide.active { border-color: #000; }
.ipro .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.ipro .arrow-prev, .ipro .arrow-next { position: absolute; top: 0%; z-index: 99; display: inline-block; width: 36px; height: 80px; line-height: 80px; color: #000; cursor: pointer; text-align: center; font-weight: bold; background-color: #FFF; transition: all .35s; }
.ipro .arrow-prev>i, .ipro .arrow-next>i { font-size: 1.8rem; font-weight: 700 !important; -webkit-text-stroke: 0.5px currentColor; }
.ipro .arrow-prev { left: -10px; }
.ipro .arrow-next { right: -10px; }
.ipro .swiper-button-disabled { display: none; }
.ipro .product-info { float: right; width: 48%; }
.ipro .product-title { font-size: 22px; font-weight: bold; text-transform: uppercase; line-height: 1.3; color: #111; }
.ipro .product-price { font-size: 20px; font-weight: 500; color: #111; margin-top: 15px; }
.ipro .tax-info { font-size: 13px; color: #666; margin-top: 5px; margin-top: 15px; }
.ipro .divider { width: 100%; height: 1px; background-color: #e0e0e0; margin-top: 15px; }
.ipro .option-group { display: flex; flex-direction: column; gap: 12px; margin-top: 15px; }
.ipro .option-label { font-size: 14px; font-weight: 500; color: #111; margin-top: 15px; }
.ipro .option-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; }
.ipro .option-btn { padding: 10px 16px; border: 1px solid #ddd; background: #fff; font-size: 14px; cursor: pointer; transition: all 0.2s ease; }
.ipro .option-btn.active { border-color: #000; font-weight: 500; }
.ipro .size-buttons { display: flex; gap: 8px; margin-top: 15px; }
.ipro .size-btn { width: 50px; height: 40px; border: 1px solid #ddd; background: #fff; font-size: 14px; cursor: pointer; transition: all 0.2s ease; }
.ipro .size-btn.active { border-color: #000; font-weight: 500; }
.ipro .action-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 25px; }
.ipro .btn { padding: 16px; border: none; font-size: 15px; font-weight: 500; cursor: pointer; text-align: center; text-transform: uppercase; transition: opacity 0.2s ease; }
.ipro .btn-add-cart { background: #fff; border: 1px solid #000; color: #000; }
.ipro .btn-shop { background: #5E3BE6; color: #fff; }
.ipro .btn:hover { opacity: 0.9; }
.ipro .product-description { font-size: 15px; line-height: 1.6; color: #333; margin-top: 15px; }
.ipro .description-list { margin-top: 15px; padding-left: 25px; line-height: 1.8; }
@media (max-width: 992px) {
.ipro .product-container { grid-template-columns: 1fr; gap: 40px; }
.ipro .product-gallery { float: left; width: 100%; }
.ipro .product-info { float: left; width: 100%; }
}
/* 图片放大弹窗样式 */
.img-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: none; align-items: center; justify-content: center; z-index: 9999; }
.img-popup.show { display: flex; }
.img-popup img { max-width: 90%; max-height: 90%; }
.pop-close { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 40px; cursor: pointer; }
.pop-prev, .pop-next { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 50px; cursor: pointer; padding: 0 20px; }
.pop-prev { left: 20px; }
.pop-next { right: 20px; }
/*

*/
.banner-slider { position: relative; width: 100%; height: 500px; overflow: hidden; }
.slide { position: absolute; width: 100%; height: 100%; opacity: 0; visibility: hidden; transition: opacity 1.5s ease; /* 淡入速度 */ }
/* 首图初始状态：透明，页面加载后自动淡入 */
.slide:first-child { opacity: 0; }
.slide.active { opacity: 1; visibility: visible; z-index: 2; }
.slide-bg { position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center; transform: scale(1.15); transition: transform 2.5s ease-out; }
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay { position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.3); }
.slide-text { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; z-index: 3; }
.text-line { font-size: 48px; color:#FFF; font-weight: 300; font-style: italic; line-height: 1.4; opacity: 0; transform: translateY(40px); transition: all 0.9s ease-out; }
.text-line.line-1 { transition-delay: 0.4s; }
.text-line.line-2 { transition-delay: 0.7s; }
.slide.active .text-line { opacity: 1; transform: translateY(0); }
.slide.fade-text .text-line { opacity: 0; transform: translateY(-30px); transition: all 0.6s ease-in; }
 @media (max-width:768px) {
.banner-slider { height: 360px; }
.text-line { font-size: 28px; }
}
/*

*/
/* 整体布局：左图右文 */
.i_Newpro { width: 100%; margin: 120px auto; display: flex; align-items: center; gap: 80px; }
/* ======================
   左侧：叠加图片区域
======================= */
.i_Newpro .img-wrapper { width:48%; height: 550px; position: relative; }
/* 叠加图层公共样式 */
.i_Newpro .img-item { position: absolute; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); overflow: hidden; /* 核心：从中心展开 */ width: 0; height: 0; left: 50%; top: 50%; transform: translate(-50%, -50%); animation: expand 1.5s ease forwards; }
.i_Newpro .img-item img { width: 100%; height: 100%; object-fit: cover; }

/* 展开动画：从中心点 → 向上下左右拉伸 */
@keyframes expand { 0% {
width: 0;
height: 0;
opacity: 0;
}
 100% {
width: var(--w);
height: var(--h);
opacity: 1;
}
}
/* 图层1：左上 */
.i_Newpro .item1 { z-index: 1; --w: 208px;
--h: 208px;
animation-delay: 0.2s; left: 20%; top: 20%; }
/* 图层2：右上 */
.i_Newpro .item2 { z-index: 2; --w: 130px;
--h: 195px;
animation-delay: 0.3s; left: 70%; top: 15%; }
/* 图层3：左下 */
.i_Newpro .item3 { z-index: 3; --w: 234px;
--h: 234px;
animation-delay: 0.4s; left: 15%; top: 60%; }
/* 图层4：右下 */
.i_Newpro .item4 { z-index: 4; --w: 260px;
--h: 260px;
animation-delay: 0.5s; left: 65%; top: 55%; }
/* 图层5：主图（中间最大） */
.i_Newpro .item5 { z-index: 10; --w: 260px;
--h: 260px;
animation-delay: 0.6s; left: 40%; top: 40%; }
/* ======================
   右侧：文字区域
======================= */
.i_Newpro .text-wrapper { width:48%; opacity: 0; animation: textFade 1s ease forwards 1.2s; }
.i_Newpro .sub-title { font-size: 14px; color: #888; letter-spacing: 2px; margin-bottom: 15px; }
.i_Newpro .main-title { font-size: 38px; font-weight: bold; line-height: 1.2; margin-bottom: 25px; color: #111; }
.i_Newpro .desc { font-size: 17px; color: #555; line-height: 1.8; margin-bottom: 40px; }
.i_Newpro .btns { display: flex; gap: 20px; }
.i_Newpro .btn { padding: 16px 32px; background: #000; color: #fff; border: none; font-size: 15px; font-weight: bold; cursor: pointer; }

/* 文字淡入 */
@keyframes textFade { to {
opacity: 1;
}
}

/* 移动端适配 */
@media (max-width: 992px) {
.i_Newpro { flex-direction: column; gap: 40px; }
.i_Newpro .img-wrapper { height: 450px; width: 80%; margin:0 auto; }
.i_Newpro .text-wrapper { width:100%; text-align: center; }
.i_Newpro .btns { justify-content: center; }
}
/*

*/
.i_Brand { width: 100%; height: 700px; position: relative; background-position: center top; background-repeat: no-repeat; }
.i_Brand .background { background-color: #FFF; padding: 40px; min-width: 380px; text-align: left; position: absolute; left: 15%; top: 25%; }
.i_Brand .background h3 { font-size: 15px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 5px; }
.i_Brand .background h1 { margin: 0 0 20px; display: block; font-size: 24px; }
.i_Brand .background p { margin-bottom: 25px; font-size: 17px; margin: 0 0 20px; }
.i_Brand .background { }
.i_Brand .background { }
/*

*/


/* 响应式适配 */
@media (max-width: 992px) {
.grid-layout { grid-template-columns: repeat(2, 1fr); }
.item-large { grid-column: span 2; }
}
 @media only screen and (max-width: 1680px) {
#banner { height: auto; }
}
 @media only screen and (max-width: 1460px) {
}
 @media only screen and (max-width: 1380px) {
}
 @media only screen and (max-width: 1280px) {
}
 @media only screen and (max-width: 1080px) {
}
 @media only screen and (max-width: 860px) {
}
 @media only screen and (max-width: 640px) {
}
 @media only screen and (max-width: 520px) {
}
 @keyframes btnstyle { 0% {
 background: rgba(0, 0, 0, .25);
 transform: translateX(-50%) translateY(-50%) scale(0)
}
to { background: 0 0; transform: translateX(-50%) translateY(-50%) scale(1) }
}
