@font-face {
    font-family: InterRegular;
    src: url(/build/fonts/Inter_18pt-Regular.37dcabff.ttf);
}

@font-face {
    font-family: InterMedium;
    src: url(/build/fonts/Inter_18pt-Medium.8540f35b.ttf);
}


@font-face {
    font-family: InterBold;
    src: url(/build/fonts/Inter_18pt-Bold.7ef6f6d6.ttf);
}

@font-face {
    font-family: InterSemiBold;
    src: url(/build/fonts/Inter_18pt-SemiBold.e5532d99.ttf);
}

@font-face {
    font-family: InterLight;
    src: url(/build/fonts/Inter_18pt-Light.dfaec8b8.ttf);
}

@font-face {
    font-family: RubikBold;
    src: url(/build/fonts/Rubik-Bold.627d0e53.ttf);
}

@font-face {
    font-family: RubikMediun;
    src: url(/build/fonts/Rubik-Medium.e785acbf.ttf);
}

@font-face {
    font-family: RubikSemiBold;
    src: url(/build/fonts/Rubik-SemiBold.742cf1e6.ttf);
}

@font-face {
    font-family: RubikLight;
    src: url(/build/fonts/Rubik-Light.86699cab.ttf);
}

@font-face {
    font-family: RubikRegular;
    src: url(/build/fonts/Rubik-Regular.46df2880.ttf);
}




/* 页眉整体 */
.header{
    margin: 0px;
    height: 110px;
    display: flex;
    width: 100vw;
    align-items: end;
    position: relative;
    justify-content: center;
    @media (max-width: 1190px) {

    }

    @media (max-width: 750px) {
      height: 90px;

    }
    
}




/* 蒙层 */
.blurLayer {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    /* 统一半透明背景，不要渐变 */
    background: rgba(120, 120, 120, 0.318);
    /* 统一模糊度 */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); /* iOS/老浏览器 */
    
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 4;
  }
  .blurLayer.active {
    opacity: 1;
    pointer-events: all;
  }
  
  /* 禁止滚动 */
  .no-scroll {
    overflow: hidden;
  }



  .headerBody{
    margin:0px;
    display: flex;
    flex-direction: column;      /* 主轴改为纵向，使子项垂直排列 */
    align-items: flex-start ;     /* 在交叉轴（水平）上左对齐所有子项 */
}

/* 三组元素的集合 */
.headerSlections{
    height: auto;
    display: flex;
    z-index: 5;
    width: 90vw;
    justify-content: space-between;

}

.headerSlectionsMobileV{
    height: auto;
    display: none;
    z-index: 5;
    width: 90vw;
    justify-content: space-between;
    position:relative;

}

.MenuBtn{
    display: flex;
    cursor: pointer;
    margin-top: 3px;
}

.MenuBtn img {
    display: block;
    width: 23px;
    height: auto;
  }

  #Menu{
    width: 24px;
    @media (max-width: 1190px) {
        width:18px;

    }

    @media (max-width: 750px) {
        width:18px;
    }
  }

/* 左侧logo */
.logoArea{
    height: auto;
    width: 180px;
    display: flex;
    margin-left: 4.2vw;
    align-items: center;
    @media (max-width: 1190px) {
        width:210px;
    }

    @media (max-width: 750px) {
        width:150px;
    }
}
.headerLogo{
    height: 70px;
    width: 80px;
    display: flex;
    align-items: center;
    margin-right: 10px;

    @media (max-width: 1190px) {
        width:60px;
        margin-left: 40px;

    }

    @media (max-width: 750px) {
        width:50px;
        margin-left: 2vw;

    }


}
#BrandLogo{
    width:90px;
    @media (max-width: 1190px) {
        width:72px;
    }
    @media (max-width: 750px) {
        width:60px;
    }

 
}

#EriVerseWord{
    width:110px;

    @media (max-width: 1190px) {
        width:86px;

    }
    @media (max-width: 750px) {
        width:80px;
    }


}

.headerLogoWord{
    height: 34px;
    display: flex;
    align-items: center;
}

/* 中间引导栏 */
.pageJumpArea{
    position: absolute;
    left: 37vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: InterRegular;
    font-size: 1.25rem;
    width: 26vw;
    height: 70px;
    transform: translate(0px,4px);

}
/* 展示collection details选项的二级菜单 */
.mega-collectionDetailsBox{
    position: absolute;
    width: 440px;
    height: 330px;
    background-color: white;
    top:70px;
    display: flex;
    justify-content: space-between;
    left:130px;
    border-radius: 5px;
  /* 毛玻璃 */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.955);

  filter: drop-shadow(0px 0px 5px #c6c6c6);

}

.CDBLeftArea{
    display: flex;
    align-items:start;
    flex-direction: column;
    justify-content: space-between;
    padding:20px
}
.ViewAll{
    font-size: 16px;
    color: grey;
    text-decoration: underline;
    transition: transform 0.2s ease, box-shadow 0.1s ease;

}


.ViewAll:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 6px rgba(99, 99, 99, 0.1);
}
.CDBRightArea{
    width: 50%;
    height: 100%;
    border-radius: 5px;

}

.CDMImage{
    width: 100%;
    height: 100%;
    background-image: url(/build/assets/EriVerseWebsiteScrollPic6.e3976adc.png);
    background-size:cover;
    background-repeat: no-repeat;
     background-position: center top;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;


}

.shopByProductBox{
    font-family: InterRegular;
}
.BoxTitle{
    font-size: 16px;
    font-family: InterRegular;
    color: grey;
    margin-bottom: 8px;
    padding-left: 4px;
}
.productType{
    font-size: 16px;
    padding: 4px;
    margin-top: 2px;
    border-radius: 1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}



.productType:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 6px rgba(99, 99, 99, 0.1);
}

@media (max-width: 1580px) {
.pageJumpArea{
    position: absolute;
    left: 37vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: RubikRegular;
    font-size: 16px;
    width: 30vw;
    height: 70px;
    transform: translate(0px,4px);

}

}

/* 右侧个人资料页面以及购物车 */
.personalAndCartArea{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100px;
    margin-right: 4.2vw;
    transform: translate(0px,2px);
    @media (max-width: 750px) {
        width: 80px;
        margin-right: 0vw;

    }
}
.personal{
    background-image: url(/build/assets/ACT02.e62c445f.svg);
    background-size: cover;
    width: 21px;
    height: 21px;


    @media (max-width: 750px) {
        width:22px;
        height: 22px;
    }
}
.cart{
    background-image: url(/build/assets/BAG02.bc13dc6d.svg);
    background-size:contain;
    background-repeat: no-repeat;
    width: 22px;
    height: 21px;
    transform: translateY(-1px);

    @media (max-width: 750px) {
      background-position:right;
        width:24px;
        height: 24px;
    }
}


a {
    text-decoration: none; /* 去下划线 */
    color: inherit;         /* 使用父级的文字颜色 */
  }
  
  /* 可选：控制 hover、visited、active 状态的样式 */
  a:visited,
  a:active,
  a:hover {
    text-decoration: none;
    color: inherit;
  }

.DropDwonArea{
    width: 0px;
    height: 100vh;
    /*毛玻璃*/
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);   /* iOS / 旧 Chrome */
    background-color: rgba(255, 255, 255, 0.873); /* 一点乳白底，数值可调 */

    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.078);
    
    margin-top: 110px;
    display: flex;
    position: absolute;
    z-index: 5;
    flex-direction: column;

    overflow: hidden;
    white-space: nowrap; 
    transition: width 0.3s ease;
}

.DropDwonArea.open{
    width: 400px;
    padding-top: 30px;

}

.selections{
    align-items: stretch; 
    height: 50px;
    display: flex;
    align-items: center;
    font-family: InterRegular;
    font-size: 18px;
    padding-left: 30px;
    margin-bottom: 2px;
}

.selections:hover{
    background-color:#f1f1f1f3;;
}

.DropDwonArea .selections.active {
    background-color: #f1f1f1f3;
  }


  /* 响应式：屏幕宽度 <= 990px 时，切换到移动头部 */
@media (max-width: 1190px) {
    .headerSlections {
      display: none;
    }
    .headerSlectionsMobileV {
      display: flex;
    }
  }

  /* 响应式：屏幕宽度 <= 750px 时，下拉区铺满屏幕 */
@media (max-width: 750px) {
    .DropDwonArea.open {
      width: 100vw !important;
    }

  }


  /* 父容器相对定位，便于面板定位 */
.collections-wrapper {
  position: relative;
}

/* 面板的基础状态：隐藏、不可点击、向上偏移一点 */
.mega-collectionDetailsBox {
  position: absolute;         /* 视你的布局，也可以是 fixed */
  top: 100%;                  /* 紧贴触发器下方 */
  left: 20%;                    /* 视需求调整 */
  z-index: 1000;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0.2s;  /* 隐藏时延后切 visibility，避免闪烁 */
}

/* 打开态：可见、可点击、归位 */
.mega-collectionDetailsBox.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s;             /* 打开时立即可见 */
}

/* 平滑滚动无关，但建议保留无障碍和小优化 */
.CollectionsBtn {
  cursor: pointer;
  /* user-select: none; */
}

.CollectionsBtn:focus-visible {
  outline: 2px solid #333;
  outline-offset: 2px;
}

/* 适配“减少动态”偏好 */
@media (prefers-reduced-motion: reduce) {
  .mega-collectionDetailsBox,
  .mega-collectionDetailsBox.is-open {
    transition: none;
    transform: none;
  }
}



/* 仅移动端 */
@media (max-width:1190px){
    

  /* 让这一项能容纳展开内容（覆盖父类固定高度） */
  .selections.selections--acc{
    /* 原本 .selections 有 height:50px，会把面板压没，这里改为自适应 */
    height: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    flex-wrap: wrap;   /* 关键：让面板换到下一行 */
    padding-left: 30px; /* 保持与其他项左边距一致 */
    padding-top: 8px;
  }

  /* 第一行：左侧链接占满，右侧是按钮 */
  .selections--acc .CollectionsLink{
    order: 1;
    flex: 1 1 auto;
    display: block;
    position: static;     /* 防止覆盖按钮 */
    height: auto;
    z-index: 1;
  }
  .selections--acc .acc-toggle{
    order: 2;
    width: 36px; height: 36px;
    
    place-items: center;
    border: 0; background: transparent; cursor: pointer;
    position: relative;
    right: 30px;
    z-index: 2;           /* 始终在上层可点 */
  }
  .selections--acc .acc-toggle .chev{
    padding:10px;
    margin-right: 20px;
  }

  /* 第二行：面板占满整行，做下滑伸缩动画 */
  .selections--acc .acc-panel{
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    overflow: hidden;
    max-height: 0;                 /* 由 JS 设置为 scrollHeight 展开 */
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: max-height .2s ease, opacity .2s ease, transform .2s ease;
    padding: 0 16px 0 0;           /* 与左侧 30px padding 视觉对齐，可自行微调 */
    border: 0;                     /* 去掉你之前的调试边框 */
  }
  .selections--acc.open .acc-panel{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .selections--acc.open .acc-toggle .chev{
    transform: rotate(180deg);
  }

  /* 面板内部改为纵向列表 */
  .selections--acc .acc-panel .shopByProductBox{
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    gap:0px;
    margin-bottom: 10px;
  }
  .selections--acc .acc-panel .BoxTitle{
    font-size: 16px;
    color: rgba(0,0,0,.45);
    margin-bottom: 4px;
    padding-left: 14px;

  }
  .selections--acc .acc-panel .type-card{
    display: block;                 /* 每项独占一行 */
    text-decoration: none;
    color: inherit;
    border-radius: 5px;
    transform: none;
  }
  .productType{
    padding:14px;
  }

}



  