*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'B612', sans-serif;
}
:root{
    --clr: #222327;
}
body {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 14px;
  margin: 0;
  padding: 0;
}
/* Navigation Bar */
.wrapper{
	width: 100%;
	position: fixed;
	left: 0px;
	top: 0px;
    z-index: 100;
    background-color: #5A4A53;
    box-shadow: 0 0 5px #000;
}
.li-active{
  opacity: 0.8;
}
.logo h4{
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Trade Winds', serif;
    font-weight: 900;
    letter-spacing: 2px;
}
.dot-com{
    font-family: 'Trade Winds', serif;
    font-size: 14px;
    font-weight: 900;
}
.nav-indicator{
    display: flex;
    justify-content: space-around;
    min-height: 6vh;
    padding: 0;
    margin: 0;
    align-items: center;
}
nav h2{
    margin: 0;
    padding-top: 10px;
    padding-left: 25px;
    color: #fff;
}
nav a{
    text-decoration: none;
    font-size: 13px;
}
.nav-links{
    list-style: none;
    margin: 0;
    padding-left: 0px;
    justify-content: space-around;
    display: flex;
    align-items: center;
}
nav li{
    color: #fff;
    font-weight: bold;
    padding: 0px 25px;
    line-height: 6vh;
    text-decoration: none;
    /*transition: all 400ms;*/
}
nav a,
nav a:hover{
    color: inherit;
    text-decoration: none;
    color: #fff;
    display: inline-block;
}
nav .li-active{
	opacity: 0.7;
}
nav li:hover,
nav li:focus{
    font-weight: bold;
    color: rgba(0,0,0,0.45);
    cursor: pointer;
}
.burger{
    display: none;
    cursor: pointer;
}
.burger div{
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
	transition: all 0.3s ease;
}
.toggle .line1{
	transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2{
	opacity: 0;
}
.toggle .line3{
	transform: rotate(45deg) translate(-5px, -6px);
}

@keyframes animate{
    to{
        transform: skewX(0deg) scaleY(1);
    }
}
.offset{
	min-height: 6vh;
}
/* End of Navigation Bar */
#item-count{
    padding: 0px 2px;
}
@media screen and (max-width: 1240px){
    .nav-links{
        display: none;
    }
    /* ===== 按钮 ===== */
    .menu-btn{
      position:fixed; 
      left:50%; 
      bottom: 0px;
      transform: translateX(-50%) translateY(100%);
      z-index:9;
      width:50px; 
      height:50px; 
      background:#2E2624; 
      border:none; 
      border-radius:50%;
      display:flex; 
      flex-direction:column; 
      justify-content:center; 
      align-items:center;
      gap:4px; 
      cursor:pointer;
      transition: all 1s;
    }
    .menu-btn span{
      width:24px; 
      height:3px; 
      background:#fff; 
      transition:.3s;
    }
    .menu-btn.mobileShow{
      transform: translateX(-50%) translateY(-20px);
    }
    
    .menu-btn.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px);}
    .menu-btn.active span:nth-child(2){opacity:0;}
    .menu-btn.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px);}

    .subMobileMenu{
      position: fixed;
      width: 80%;
      aspect-ratio: 1;
      left: 50%; 
      bottom: 120px;
      background-color: #2E2624;
      transform: translateX(-50%) scale(0);
      z-index: -9;
      opacity: 0;
      display: flex;
      flex-direction: row;
      justify-content: space-evenly;
      color: #FEFEFE;
      border-radius: 15%;
      transition: all 0.3s;
    }
    .subMobileMenu.subMobileShow{
      opacity: 1;
      transform: translateX(-50%) scale(1);
    }
    #subMoibleMenuLevOne.subMobileShow{
      z-index: 9;
    }
    #subMoibleMenuLevTwo.subMobileShow{
      z-index: 10;
    }
    .single-column{
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      width: 33%;
    }
    .single-column a{
      text-decoration: none;
      color: #FEFEFE;
    }
    .content-space{
      text-align: center;
    }
    .content-space i{
      display: inline-block;
      font-size: 20px;
    }
    .alert-wrapper{
      width: 90%;
      margin-left: 5%;
    }
    .pc-end{
      display: none;
    }
    .mobile-end{
      display: block;
      padding: 15px;
    }
    .mobile-end-single-product{
      margin-bottom: 15px;
        background-color: rgb(230, 230, 230);
        padding: 15px 0px 5px 0px;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0,0,0,.04),
              0 8px 16px rgba(0,0,0,.06),
              0 16px 32px rgba(0,0,0,.08);
    }
    .mobile-end-single-product a{
      display: inline-block;
      color: black;
    }
    .mobile-end-single-product a:hover{
      color: black;
    }
}
@media screen and (min-width: 1241px){
    nav ul li:hover > div,
    nav ul li:focus > div{
        height: 80vh;
    }
    .product-photo-gallery{
      width: 70% !important;
    }
    .subMobileMenu{
      display: none;
    }
    #chosen-order-options{
      position: sticky;
      top: 6vh;
    }
    .alert-wrapper{
      width: 50%;
      margin-left: 25%;
    }
    #menuBtn{
      display: none;
    }
    .pc-end{
      display: block;
    }
    .mobile-end{
      display: none;
    }
}
#chosen-order-options{
    line-height: 24px;
    font-size: 15px;
    font-weight: 400;
}
.nav-active{
    transform: translateX(0%);
}
/* Start */
/*==== 基础变量 ====*/
.cool-box{
    --duration: .4s;
    --scale: 1.08;
    --angle: 8deg;
    --glow: #00c2ff;
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 12px;
    line-height: 0;          /* 去掉幽灵空白 */
  }
  .cool-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--duration);
  }
  
  /*==== 1. 3D 透视翻转 ====*/
  .box-3d{ transform-style: preserve-3d; }
  .box-3d:hover img{ transform: perspective(1000px) rotateY(var(--angle)) scale(var(--scale)); }
  
  /*==== 2. 扫描线 + 故障 ====*/
  .box-glitch::before,
  .box-glitch::after{
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity var(--duration);
  }
  .box-glitch::before{ transform: translate(-2px,2px); filter: hue-rotate(90deg); }
  .box-glitch::after { transform: translate(2px,-2px);  filter: hue-rotate(-90deg); }
  .box-glitch:hover::before,
  .box-glitch:hover::after{ opacity: .8; }
  
  /*==== 3. 彩色阴影发光 ====*/
  .box-glow:hover{ filter: drop-shadow(0 0 20px var(--glow)) saturate(1.3); }
  
  /*==== 4. 放大 + 灰度→彩色 ====*/
  .box-color:hover img{
    transform: scale(var(--scale));
    filter: grayscale(0) contrast(1.1);
  }
  .box-color img{ filter: grayscale(100%); }
  
  /*==== 5. 圆形水波纹 ====*/
  .box-ripple::before{
    content:'';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: radial-gradient(circle, rgba(255,255,255,.6) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: width .6s, height .6s;
  }
  .box-ripple:hover::before{ width: 300%; height: 300%; }
  
  /*==== 6. 镜头推拉 + 文字浮现 ====*/
  .box-zoom{ position: relative; }
  .box-zoom .txt{
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    background: rgba(0,0,0,.4);
    color: #fff;
    font-size: 1.8rem;
    opacity: 0;
    transform: scale(.8);
    transition: all var(--duration);
    pointer-events: none;
  }
  .box-zoom:hover img{ transform: scale(1.15); filter: blur(1px); }
  .box-zoom:hover .txt{ opacity: 1; transform: scale(1); }
  /* End */
  .footer{
      margin-top: 20px;
      height: 60px;
      background: black;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  .copyright {
    font-family: "Helvetica Neue", Arial, sans-serif; /* 1. 换字体 */
    font-size: 14px;
    color: white;
  }
  .copyright .copy {
    display: inline-block;
    transform: scale(1.5);      /* 2. 放大 1.25 倍 */
    transform-origin: center;    /* 3. 以中心为原点 */
    margin: 0 2px;               /* 4. 微调左右空隙 */
    vertical-align: baseline;    /* 5. 对齐基线 */
  }
  .clearfix{
      margin: 10px 0;
  }
  #photo-gallery{
      min-height: 80vh;
  }
  #photo-gallery img{
      width: 100%;
      cursor: pointer;
  }
  .product-title{
      font-size: 20px;
      text-align: center;
      padding: 10px;
  }
  .specifications-title{
      font-size: 17px;
      font-weight: bold;
      line-height: 30px;
  }
  .specifications-details{
    font-size: 15px;
  }
  /* 公共箭头 */
/* 1. 尺寸放大 & 高对比色 */
.sticky-arrow{
    position: fixed;
    top: 7vh;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;               /* 原来 48 → 60 */
    height: 60px;
    border-radius: 50%;
    font-size: 36px;           /* 箭头更大 */
    background: #ff6900;       /* 高饱和橙，立即抓住视线 */
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.35); /* 投影突出 */
  }
  .sticky-arrow.left{
        left: 15%;
    }
  .sticky-arrow.right{
      right: 15%;
  }
  /* 伪元素生成箭头 */
  .sticky-arrow::before{
        content: '‹';                 /* 左侧符号 */
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        font-size: 36px;
        color: #fff;
        margin-left: -3px;
        margin-top: -4px;
    }
    .sticky-arrow.right::before{ content: '›'; margin-left: 1px;}   /* 右侧符号 */
  
  /* 2. 悬停动效：弹跳 + 变色 */
  .sticky-arrow:hover{
    background: #ff8533;
    transform: translateY(-2px) scale(1.15);
    box-shadow: 0 6px 20px rgba(0,0,0,.45);
    transition: all .25s cubic-bezier(.25,.8,.25,1);
  }
  
  /* 3. 闪烁脉冲（可选，自动 2 次） */
  @keyframes pulse {
    0%  { box-shadow: 0 0 0 0 rgba(255,105,0,.8); }
    70% { box-shadow: 0 0 0 12px rgba(255,105,0,0); }
    100%{ box-shadow: 0 0 0 0 rgba(255,105,0,0); }
  }
  .sticky-arrow{ animation: pulse 2s 2; }   /* 2 秒内闪 2 次后停止 */

  /* 设计令牌 */
:root{
	--price-color: #ff9900;   /* 新价 */
	--price-old: #9ca3af;     /* 原价 */
	--price-bg: transparent;
	--price-radius: 4px;
	--price-font: 1.6rem;     /* 基础字号 */
	--price-weight: 600;
  }
  
  @media (prefers-color-scheme: dark){
	:root{
	  --price-color: #ff4757;
	  --price-old: #6b7280;
	}
  }
  
  /* 基础价格 */
  .price{
	display: inline-flex;
	align-items: baseline;
	font-size: var(--price-font);
	font-weight: var(--price-weight);
	color: var(--price-color);
  line-height: 1;
  padding: 0px 3px;
  }
  
  /* 原价：划线 + 灰色 */
  .price--old{
	color: var(--price-old);
	text-decoration: line-through;
	font-size: calc(var(--price-font) * 0.85);
	font-weight: 400;
	margin-right: .4em;
  }
  
  /* 新价：放大 + 高亮 */
  .price--new{
	transform: scale(1.08);
	letter-spacing: -.5px;
  }
  
  /* 折扣徽章组合 */
  .price-badge{
	display: inline-flex;
	align-items: center;
	gap: .4em;
	background: var(--price-bg);
	padding: .2em .6em;
	border-radius: var(--price-radius);
  }
  
  .badge{
	background: var(--price-color);
	color: #fff;
	font-size: .75em;
	padding: .2em .5em;
	border-radius: 3px;
	font-weight: 700;
  }
  .single-product a{
	  font-weight: bold;
	  text-decoration: none;
	  color: #000;
  }
  .single-product a:hover{
	text-decoration: none;
	color: #000;
  }
  .product-description{
    text-align: center;
    padding: 5px 0px;
  }
  .order-options h2{
    font-size: 20px;
    text-align: center;
    font-weight: bold;
  }
  .clearfix{
    margin: 10px 0;
  }
  .order-options .note{
    font-size: 16px;
    text-align: center;
  }
  .order-options img{
    width: 100%;
  }
  .checkboxContainer{
    position: relative;
    display: inline-block;
    padding-left: 26px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 5px;
    text-align: center;
    width: 80%;
  }
  .checkboxContainer input{
      display: none;
  }
  span.checkmark{
      display: inline-block;
      position: absolute;
      left: 0px;
      top: 0px;
      height: 22px;
      width: 22px;
      background: #d6d6d6;
      border-radius: 4px;
      text-align: center;
  }
  .checkboxContainer input:checked + .checkmark{
      background:red;
  }
  .checkboxContainer input:checked + .checkmark::before{
      content: '\f00c';
      color: white;
      font-size: 17px;
      font-family: fontAwesome;
      line-height: 22px;
  }
  .checkboxContainer input:checked + .checkmark::after{
      content: '';
      animation: click-wave 0.75s;
      display: block;
      background: red;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 200;
      opacity: 0;
      border-radius: 50%;
  }
  @keyframes click-wave{
    0%{
        height: 22px;
        width: 22px;
        opacity: 0.25;
    }
    100%{
        width: 200px;
        height: 200px;
        opacity: 0;
        top: -89px;
        left: -89px;
    }
  }
  .atc-btn{
    --h: 48px;          /* 高度 */
    --bg: #ff3366;      /* 主色 */
    --bg-dark: #d30a53;
    position: relative;
    width: 100%; 
    height: var(--h);
    border: none; border-radius: calc(var(--h)/2);
    background: var(--bg);
    color: #fff; font-size: 16px; font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    margin-top: 10px;
  }
  .atc-btn:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px -6px var(--bg); }
  .atc-btn:active{ transform: translateY(0); }
  
  /* 文字 + 图标 */
  .atc-text{ position: relative; z-index: 2; }
  .atc-btn .fa-cart-shopping{
    padding-left: 10px;
  }
  
  /* 点击粒子 */
  .atc-btn::before{
    content: '';
    position: absolute; left: 50%; top: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.6);
    transform: translate(-50%,-50%);
    transition: width .4s ease, height .4s ease;
  }
  .atc-btn:active::before{
    width: 300px; height: 300px;
  }
  /* ===== 基础 alert ===== */
  .alert-wrapper{
    height: 0px;
    /*
    position: relative;本来是这个，下面都没有的*/
    position: fixed;
    top: 7vh;
    left: 0;
    opacity: 0;
    z-index: -1;
}
.alert-wrapper a{
    text-decoration: none;
    color: white;
}
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: normal;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-weight: bold;
  z-index: -1;
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0%); opacity: 1; }
}

/* 语义色 */
.alert-success { background: linear-gradient(135deg, #27f76c 0%, #38f9d7 100%); }
.alert-info    { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.alert-warning{ background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.alert-error  { background: linear-gradient(135deg, #f43b47 0%, #453a94 100%); }

/* 图标 & 文字 */
.alert__icon { font-size: 20px; }
.alert__text{ flex: 1;  text-align: left;}

/* 关闭按钮 */
.alert__close {
  cursor: pointer;
  font-size: 24px;
  padding: 0px 12px;
  opacity: 0.7;
  transition: opacity 0.2s;
  font-weight: bold;
}
.alert__close:hover { opacity: 1; }
.alert-active{
  animation: slideDown 0.4s forwards;
  z-index: 10;
}