/* innerexile collection page v1 */

.ix-collection-page{
  background:#f5f5f7;
  color:#1d1d1f;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Inter","Noto Sans TC","Noto Sans JP",sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
  padding-bottom:54px;
}

.ix-collection-hero{
  min-height:66vh;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:100px 24px 86px;
}

.ix-collection-inner{
  width:min(1060px,100%);
  margin:0 auto;
}

.ix-collection-kicker{
  font-size:12px;
  line-height:1;
  letter-spacing:.34em;
  color:rgba(29,29,31,.34);
  text-transform:uppercase;
  margin-bottom:26px;
}

.ix-collection-title{
  margin:0;
  font-size:clamp(48px,6.6vw,88px);
  line-height:1.04;
  font-weight:600;
  letter-spacing:-.065em;
  color:#1d1d1f;
}

.ix-collection-subtitle{
  margin:12px 0 0;
  font-size:clamp(30px,4.6vw,62px);
  line-height:1.08;
  font-weight:300;
  letter-spacing:-.06em;
  color:rgba(29,29,31,.45);
}

.ix-collection-lead{
  max-width:760px;
  margin:30px auto 0;
  font-size:clamp(18px,2vw,23px);
  line-height:1.5;
  color:rgba(29,29,31,.58);
  letter-spacing:-.025em;
}

.ix-collection-section{
  padding:70px 24px 100px;
}

.ix-filter-wrap{
  width:min(1180px,100%);
  margin:0 auto 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.ix-filter-title{
  font-size:28px;
  font-weight:600;
  letter-spacing:-.045em;
}

.ix-filter-pills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.ix-filter-pill{
  min-height:38px;
  padding:0 16px;
  border-radius:9999px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  color:rgba(29,29,31,.66);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  text-decoration:none;
}

.ix-filter-pill.active{
  background:#1d1d1f;
  color:#fff;
}

.ix-product-grid{
  width:min(1180px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.ix-product-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:26px;
  padding:22px;
  color:#1d1d1f;
  text-decoration:none;
  min-height:390px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow:0 10px 34px rgba(0,0,0,.04);
  transition:transform .2s ease, box-shadow .2s ease;
}

.ix-product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 52px rgba(0,0,0,.08);
}

.ix-product-art{
  height:178px;
  border-radius:22px;
  background:#f5f5f7;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}

.ix-product-art::before{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  border-radius:50%;
  background:rgba(255,255,255,.35);
  filter:blur(2px);
  top:-80px;
  right:-70px;
}

.ix-case{
  width:78px;
  height:148px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.28);
  position:relative;
  box-shadow:0 24px 40px rgba(0,0,0,.18);
  overflow:hidden;
}

.ix-case::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 70% 10%,rgba(255,255,255,.42),transparent 36%);
}

.ix-camera{
  position:absolute;
  top:12px;
  left:12px;
  width:32px;
  height:32px;
  border-radius:11px;
  border:3px solid rgba(0,0,0,.24);
  background:rgba(255,255,255,.14);
}

.ix-product-meta{
  margin-top:20px;
}

.ix-product-tag{
  font-size:11px;
  line-height:1;
  letter-spacing:.28em;
  color:rgba(29,29,31,.36);
  text-transform:uppercase;
}

.ix-product-name{
  margin-top:12px;
  font-size:22px;
  line-height:1.14;
  font-weight:600;
  letter-spacing:-.045em;
}

.ix-product-desc{
  margin-top:9px;
  font-size:14px;
  line-height:1.5;
  color:rgba(29,29,31,.54);
}

.ix-product-foot{
  margin-top:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.ix-vote{
  font-size:13px;
  color:rgba(29,29,31,.48);
}

.ix-card-actions{
  display:flex;
  gap:8px;
}

.ix-small-btn{
  min-height:34px;
  padding:0 12px;
  border-radius:9999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  text-decoration:none;
  border:1px solid rgba(0,102,204,.2);
  color:#0066cc;
  background:#fff;
}

.ix-small-btn.primary{
  background:#0066cc;
  color:#fff;
}

.ix-ranking{
  width:min(1180px,100%);
  margin:42px auto 0;
  background:#1d1d1f;
  color:#fff;
  border-radius:30px;
  padding:34px;
}

.ix-ranking-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
}

.ix-ranking-title{
  font-size:30px;
  font-weight:600;
  letter-spacing:-.045em;
}

.ix-ranking-sub{
  color:rgba(255,255,255,.42);
  font-size:13px;
}

.ix-ranking-list{
  display:grid;
  gap:0;
}

.ix-rank-row{
  display:grid;
  grid-template-columns:46px 1fr 90px 96px;
  gap:16px;
  align-items:center;
  padding:16px 0;
  border-top:1px solid rgba(255,255,255,.12);
}

.ix-rank-no{
  color:rgba(255,255,255,.38);
  font-size:13px;
}

.ix-rank-name{
  font-size:17px;
  font-weight:600;
  letter-spacing:-.02em;
}

.ix-rank-tag{
  color:rgba(255,255,255,.42);
  font-size:13px;
}

.ix-rank-vote{
  text-align:right;
  color:rgba(255,255,255,.66);
  font-size:13px;
}

@media(max-width:1080px){
  .ix-product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:820px){
  .ix-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .ix-ranking-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .ix-rank-row{
    grid-template-columns:34px 1fr;
  }

  .ix-rank-tag,
  .ix-rank-vote{
    grid-column:2;
    text-align:left;
  }
}

@media(max-width:560px){
  .ix-product-grid{
    grid-template-columns:1fr;
  }

  .ix-collection-hero{
    min-height:auto;
    padding:72px 22px;
  }

  .ix-collection-section{
    padding:50px 20px 80px;
  }
}

/* collection category filter v1 */

.ix-product-card{
  opacity:1;
}

.ix-product-card.is-hidden{
  display:none;
}

.ix-filter-pill{
  cursor:pointer;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .16s ease;
}

.ix-filter-pill:hover{
  transform:translateY(-1px);
  border-color:rgba(0,0,0,.16);
}

.ix-filter-count{
  margin-top:8px;
  font-size:13px;
  color:rgba(29,29,31,.42);
}

.ix-product-card[data-cat="calm"] .ix-product-tag::after{
  content:" · 安靜高級";
}

.ix-product-card[data-cat="future"] .ix-product-tag::after{
  content:" · 未來透明";
}

.ix-product-card[data-cat="energy"] .ix-product-tag::after{
  content:" · 強烈能量";
}

.ix-product-card[data-cat="business"] .ix-product-tag::after{
  content:" · 商務極簡";
}

.ix-product-card[data-cat="street"] .ix-product-tag::after{
  content:" · 潮流運動";
}
