.category-nav{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.category-row{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.category-children{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-left:0px;
}
.category-link{
  text-align:left;
  border:2px solid #f0ddd6;
  background:#fff;
  border-radius:14px;
  padding:12px 14px;
  cursor:pointer;
  font-weight:600;
  font-size:14px;
  color:#3a2723;
  padding-left:calc(14px + var(--depth, 0) * 12px);
  transition:all .2s ease;
  display:flex;
  align-items:center;
  gap:10px;
}
.category-link:hover{
  border-color:#c92a5a;
  background:#fef5f1;
  transform:translateX(4px);
}
.category-link.active{
  border-color:#c92a5a;
  background:linear-gradient(135deg, #fff6f2 0%, #ffe9e3 100%);
  box-shadow:0 8px 20px rgba(201, 42, 90, 0.15);
  font-weight:700;
}
.category-link::before{
  content:'';
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:currentColor;
  opacity:0;
  transition:opacity .2s ease;
}
.category-link.active::before{
  opacity:1;
}
.category-panel-media{
  margin-top:16px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #f4e3dd;
}
.category-panel-media img{
  width:100%;
  display:block;
  height:auto;
}
/* Hide sidebar promo image on tablets/phones to save space */
@media (max-width: 1100px){
  .category-panel-media{
    display:none;
  }
}
.category-page{
  display:grid;
  grid-template-columns:250px 1fr;
  gap:32px;
  padding:32px 0;
}
.category-panel{
  background:#fff;
  border-radius:20px;
  padding:20px;
  box-shadow:0 20px 50px rgba(0,0,0,0.05);
  border:1px solid rgba(198, 32, 48, 0.08);
}
.category-panel h3{
  margin:0 0 12px;
  font-size:20px;
}
.category-panel-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.category-products{
  background:#fff;
  border-radius:28px;
  padding:28px;
  box-shadow:0 20px 50px rgba(0,0,0,0.08);
  border:1px solid rgba(224, 180, 172, 0.4);
}
.category-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:24px;
}
.filter-row{
  display:flex;
  gap:16px;
  margin-bottom:16px;
  flex-wrap:wrap;
  align-items:stretch;
}
.filter-pill{
  flex:1;
  min-width:220px;
  background:linear-gradient(135deg,#fff8f6 0%, #fff1ee 100%);
  border-radius:18px;
  padding:14px;
  border:1px solid rgba(198, 32, 48, 0.22);
  display:flex;
  flex-direction:column;
  gap:8px;
  box-shadow:0 8px 20px rgba(198,32,48,0.08);
  transition:border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.filter-pill:focus-within{
  border-color:#c62030;
  box-shadow:0 14px 30px rgba(198,32,48,0.16);
  transform:translateY(-1px);
}
.filter-pill select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  border:1px solid #e6b4bf;
  border-radius:14px;
  padding:12px 42px 12px 14px;
  background:linear-gradient(135deg,#fff7fa 0%, #ffeef3 100%) url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23c62030' d='M1.41.59 6 5.17 10.59.59 12 2l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-weight:700;
  font-size:16px;
  line-height:1.2;
  color:#5b1f2e;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 4px 12px rgba(198,32,48,0.08);
  transition:border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  cursor:pointer;
}
.filter-pill select:focus{
  outline:none;
  border-color:#c62030;
  box-shadow:0 0 0 3px rgba(198,32,48,0.16), 0 8px 16px rgba(198,32,48,0.12);
}
.filter-pill select:hover{
  border-color:#d47792;
}
.filter-pill label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1.2px;
  color:#8f7f7b;
  font-weight:800;
}
.filter-pill select option{
  font-size:17px;
  color:#3a2723;
  background:#fff;
}

@media(max-width:780px){
  .filter-row{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:12px;
    margin-bottom:14px;
  }
  .filter-pill{
    min-width:0;
    padding:9px 10px;
    border-radius:14px;
    gap:6px;
  }
  .filter-pill label{
    font-size:10px;
    letter-spacing:1px;
  }
  .filter-pill select{
    padding:10px 34px 10px 10px;
    font-size:14px;
    border-radius:10px;
    background-size:11px 7px;
    background-position:right 10px center;
  }
}

@media(max-width:520px){
  .filter-row{
    grid-template-columns:1fr;
  }
}
.result-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
  color:#90564d;
  font-weight:600;
}
.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px,320px));
  gap:20px;
  justify-content:center;
  align-items:start;
}
.product-card-actions .btn{
  flex:1;
  justify-content:center;
}
.product-gallery{
  background:#fff;
  border-radius:16px;
  padding:14px;
  box-shadow:0 10px 24px rgba(60, 22, 22, 0.08);
}
.product-info{
  background:#fff;
  border-radius:16px;
  padding:16px;
  box-shadow:0 10px 24px rgba(60, 22, 22, 0.08);
}
.product-title{
  margin:0 0 6px;
  font-size:28px;
}
.product-meta{
  color:var(--muted);
  margin-bottom:12px;
  font-weight:600;
}
.product-price{
  margin-bottom:14px;
}
.product-actions{
  display:flex;
  gap:10px;
  margin-bottom:18px;
}
.product-desc{
  border-top:1px solid #f1e3df;
  padding-top:12px;
}
.recommend{
  margin-top:26px;
}
.detail-variants{
  margin-top:16px;
}
.detail-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:20px;
}
.detail-sidebar{
  position:sticky;
  top:90px;
  align-self:start;
  background:#fff;
  border-radius:16px;
  padding:16px;
  box-shadow:var(--shadow);
}
.detail-sidebar h3{
  margin:0 0 12px;
}
.detail-cta-card{
  background:#fff;
  border-radius:18px;
  padding:20px;
  border:1px solid #f1e3df;
  box-shadow:var(--shadow);
}
.detail-cta-card ul{
  margin:10px 0 0;
  padding-left:18px;
  color:var(--muted);
  line-height:1.6;
}
@media(max-width:980px){
  .category-page{
    grid-template-columns:1fr;
  }
  .category-header{
    flex-direction:column;
    align-items:flex-start;
  }
}
/* Assist box override */
.assist-box {
  background: #fff7f4;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(198, 32, 48, 0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.assist-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.assist-box p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.assist-points {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.assist-points li {
  font-size: 14px;
  color: #6f3c34;
}

.assist-cta {
  width: 100%;
  border-radius: 999px;
}
