.category-detail-page{
  background:
    radial-gradient(circle at 8% 15%,rgba(179,72,142,.13),transparent 24rem),
    linear-gradient(180deg,#f7f3f7 0,#f6f7f9 42rem);
}

.category-page{
  width:min(100%,1120px);
  padding-bottom:64px;
}

.category-page .topbar{
  position:relative;
  top:auto;
  height:68px;
  margin-bottom:18px;
  border-radius:20px;
  box-shadow:0 12px 35px rgba(31,21,31,.07);
}

.category-showcase{
  position:relative;
  min-height:300px;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);
  border-radius:34px;
  color:#fff;
  background:
    radial-gradient(circle at 16% 25%,rgba(255,255,255,.12),transparent 19rem),
    linear-gradient(125deg,#241a24 0,#4d2340 48%,#9e3e7a 100%);
  box-shadow:0 24px 60px rgba(65,26,54,.18);
  isolation:isolate;
}

.category-showcase:before{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  left:-64px;
  bottom:-96px;
  border:34px solid rgba(255,255,255,.055);
  border-radius:50%;
  z-index:-1;
}

.category-showcase-copy{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:44px clamp(28px,5vw,58px);
}

.category-label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 11px;
  border:1px solid rgba(255,255,255,.17);
  border-radius:999px;
  background:rgba(255,255,255,.09);
  font-size:10px;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.category-showcase h1{
  max-width:650px;
  margin:18px 0 9px;
  font-size:clamp(42px,7vw,72px);
  line-height:.92;
  letter-spacing:-.06em;
}

.category-showcase p{
  max-width:480px;
  margin:0;
  color:rgba(255,255,255,.7);
  font-size:14px;
  line-height:1.55;
}

.category-count{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:25px;
}

.category-count strong{
  font-size:34px;
  line-height:1;
  color:#ef9bd0;
}

.category-count span{
  color:rgba(255,255,255,.62);
  font-size:10px;
  font-weight:750;
  line-height:1.15;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.category-showcase-art{
  position:relative;
  min-height:300px;
  background:
    linear-gradient(90deg,#4d2340 0,transparent 40%),
    linear-gradient(180deg,transparent 50%,rgba(36,26,36,.28)),
    var(--category-art) center/cover no-repeat;
  clip-path:polygon(17% 0,100% 0,100% 100%,0 100%);
}

.category-page .subcategories{
  margin:18px 0 0;
  padding:2px 1px;
}

.category-page .subcategories .chip{
  padding:10px 14px;
  border-radius:12px;
  box-shadow:0 6px 16px rgba(27,22,29,.035);
}

.category-page .category-search{
  position:relative;
  display:block;
  margin:20px 0 18px;
}

.category-page .category-search .search-box{
  display:block;
}

.category-page .category-search .search-box>i{
  position:absolute;
  z-index:2;
  left:19px;
  top:50%;
  transform:translateY(-50%);
  color:var(--brand);
  font-size:20px;
}

.category-page .category-search input{
  height:62px;
  padding:0 94px 0 52px;
  border:1px solid rgba(179,72,142,.14);
  border-radius:18px;
  background:rgba(255,255,255,.86);
  box-shadow:0 12px 30px rgba(39,26,37,.055);
  font-size:14px;
}

.search-hint{
  position:absolute;
  right:11px;
  top:50%;
  transform:translateY(-50%);
  padding:8px 10px;
  border-radius:10px;
  background:#f4e8f0;
  color:var(--brand-2);
  font-size:10px;
  font-weight:850;
}

.category-page .category-products{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.category-page .product{
  min-width:0;
  display:grid;
  grid-template-columns:154px minmax(0,1fr);
  gap:0;
  overflow:hidden;
  border:1px solid rgba(69,48,65,.09);
  border-radius:22px;
  background:rgba(255,255,255,.88);
  box-shadow:0 12px 32px rgba(38,28,37,.055);
  transition:transform .22s,box-shadow .22s;
}

.category-page .product:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 42px rgba(38,28,37,.1);
}

.category-page .product-media{
  position:relative;
  width:100%;
  height:100%;
  min-height:178px;
  overflow:hidden;
  display:block;
  border:0;
  border-radius:0;
  background:#f4f1f3;
}

.category-page .product-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  padding:8px;
  transition:transform .35s;
}

.category-page .product:hover .product-media img{
  transform:scale(1.035);
}

.category-page .badge{
  left:10px;
  top:10px;
  padding:6px 8px;
  border-radius:9px;
  background:rgba(36,26,36,.82);
  color:#fff;
  font-size:9px;
}

.category-page .product-body{
  min-width:0;
  min-height:178px;
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.product-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.product-type{
  overflow:hidden;
  color:var(--brand-2);
  font-size:9px;
  font-weight:850;
  letter-spacing:.09em;
  text-overflow:ellipsis;
  text-transform:uppercase;
  white-space:nowrap;
}

.category-page .product .price{
  flex:0 0 auto;
  padding:6px 8px;
  border-radius:9px;
  background:#f4e5ef;
  color:var(--brand-2);
  font-size:12px;
}

.category-page .product h3{
  margin:13px 0 0;
  font-size:18px;
  line-height:1.18;
  letter-spacing:-.025em;
}

.category-page .product h3 a{
  color:inherit;
  text-decoration:none;
}

.category-page .product-body>p{
  display:-webkit-box;
  overflow:hidden;
  margin:8px 0 0;
  color:#818794;
  font-size:11px;
  line-height:1.45;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.product-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  padding-top:14px;
}

.product-footer>span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#747b88;
  font-size:10px;
  font-weight:750;
}

.product-footer>span i{
  color:var(--brand);
  font-size:14px;
}

.product-footer>a{
  width:30px;
  height:30px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#241a24;
  color:#fff;
  text-decoration:none;
  transition:.2s;
}

.product-footer>a:hover{
  background:var(--brand);
}

@media(max-width:820px){
  .category-showcase{grid-template-columns:1fr minmax(210px,.72fr)}
  .category-page .category-products{grid-template-columns:1fr}
}

@media(max-width:560px){
  .category-page{padding-left:12px;padding-right:12px}
  .category-page .topbar{margin-left:2px;margin-right:2px}
  .category-showcase{min-height:285px;display:block}
  .category-showcase-copy{min-height:285px;padding:32px 25px;background:linear-gradient(90deg,rgba(36,26,36,.96),rgba(77,35,64,.76) 75%,rgba(77,35,64,.25))}
  .category-showcase-art{position:absolute;inset:0;min-height:0;clip-path:none;z-index:-1;background:var(--category-art) center/cover no-repeat}
  .category-showcase h1{font-size:44px}
  .category-showcase p{max-width:78%;font-size:12px}
  .category-page .product{grid-template-columns:118px minmax(0,1fr);border-radius:18px}
  .category-page .product-media,.category-page .product-body{min-height:150px}
  .category-page .product-body{padding:14px}
  .category-page .product h3{font-size:16px;margin-top:10px}
  .category-page .product-body>p{display:none}
  .product-footer{padding-top:11px}
}

@media(max-width:380px){
  .category-showcase-copy{padding:28px 20px}
  .category-showcase h1{font-size:39px}
  .category-page .product{grid-template-columns:102px minmax(0,1fr)}
  .category-page .product-media,.category-page .product-body{min-height:140px}
  .product-type{display:none}
}
