/* Category Page Styles */
.breadcrumb { padding: 14px 32px; background: white; border-bottom: 1px solid var(--light-gray); font-size: 12px; color: var(--gray); }
.breadcrumb-inner { max-width: 1400px; margin: 0 auto; }
.breadcrumb a { color: var(--gray); cursor: pointer; transition: color 0.2s; text-decoration: none; }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb .current { color: var(--black); font-weight: 700; }
.breadcrumb .sep { margin: 0 8px; color: var(--light-gray); }

.cat-hero {
  background: linear-gradient(135deg, #FF1B6B 0%, #7B2CBF 100%);
  padding: 50px 32px 40px; color: white; text-align: center;
  position: relative; overflow: hidden;
}
.cat-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 182, 39, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}
.cat-hero-inner { max-width: 1400px; margin: 0 auto; position: relative; }
.cat-hero h1 { font-family: 'Bebas Neue', 'Heebo', sans-serif; font-size: 64px; font-weight: 900; letter-spacing: -1px; line-height: 1; text-shadow: 3px 3px 0 var(--black); margin-bottom: 12px; }
.cat-hero p { margin-top: 12px; font-size: 16px; font-weight: 500; opacity: 0.95; }
.cat-hero-stats { display: flex; justify-content: center; gap: 32px; margin-top: 20px; flex-wrap: wrap; }
.cat-hero-stats span { font-size: 12px; font-weight: 700; letter-spacing: 2px; background: rgba(0,0,0,0.4); padding: 8px 16px; backdrop-filter: blur(10px); }

/* Subcats */
.subcats { background: linear-gradient(180deg, white 0%, var(--cream) 100%); padding: 18px 20px; border-bottom: 1px solid var(--light-gray); }
.subcats-inner { max-width: 1400px; margin: 0 auto; }
.subcats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.subcat-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 14px 8px; border-radius: 14px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; text-align: center; min-height: 88px; position: relative; overflow: hidden; color: white; background: linear-gradient(135deg, #0A0A0A 0%, #5A5550 100%); }
.subcat-tile:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); color: white; }
.subcat-tile.active { outline: 3px solid var(--black); outline-offset: 2px; transform: scale(1.02); }
.subcat-tile.active::after { content: '✓'; position: absolute; top: 4px; right: 4px; background: white; color: var(--black); width: 22px; height: 22px; border-radius: 50%; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.subcat-tile-icon { font-size: 28px; line-height: 1; }
.subcat-tile-name { font-size: 12px; font-weight: 800; letter-spacing: 0.3px; line-height: 1.2; color: white; }
.subcat-tile-count { font-size: 10px; font-weight: 700; background: rgba(255,255,255,0.25); padding: 1px 8px; border-radius: 10px; margin-top: 2px; backdrop-filter: blur(4px); }

/* Gradients for tiles */
.grad-pink-purple { background: linear-gradient(135deg, #FF1B6B 0%, #7B2CBF 100%); }
.grad-pink-orange { background: linear-gradient(135deg, #FF1B6B 0%, #FF6B00 100%); }
.grad-purple-blue { background: linear-gradient(135deg, #7B2CBF 0%, #1976D2 100%); }
.grad-cyan-pink { background: linear-gradient(135deg, #00B4A6 0%, #FF1B6B 100%); }
.grad-yellow-orange { background: linear-gradient(135deg, #FFB627 0%, #FF6B00 100%); }
.grad-green-dark { background: linear-gradient(135deg, #28A745 0%, #2C2C54 100%); }

.layout { max-width: 1400px; margin: 0 auto; padding: 32px; display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.filters { background: white; padding: 24px; position: sticky; top: 140px; align-self: start; max-height: calc(100vh - 160px); overflow-y: auto; }
.filters h3 { font-family: 'Bebas Neue', 'Heebo', sans-serif; font-size: 18px; letter-spacing: 2px; margin-bottom: 4px; }
.filter-clear { font-size: 11px; color: var(--pink); text-decoration: underline; margin-bottom: 20px; cursor: pointer; display: inline-block; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--light-gray); }
.filter-group h4 { font-size: 13px; font-weight: 800; margin-bottom: 12px; letter-spacing: 1px; }
.filter-options { display: flex; flex-direction: column; gap: 8px; }
.filter-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; transition: color 0.2s; }
.filter-checkbox:hover { color: var(--pink); }
.filter-checkbox .count { color: var(--gray); font-size: 11px; margin-right: auto; }
.filter-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-size { padding: 6px 12px; border: 1.5px solid var(--light-gray); font-size: 11px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.filter-size:hover { border-color: var(--black); }
.filter-size.active { background: var(--black); color: white; border-color: var(--black); }
.filter-size.sold-out { background: #F5F5F5; color: #BBB; text-decoration: line-through; cursor: not-allowed; }

.products-area { min-width: 0; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.toolbar-info { font-size: 13px; color: var(--gray); }
.toolbar-info strong { color: var(--black); }
.sort-select { padding: 10px 14px; border: 1.5px solid var(--light-gray); background: white; font-size: 13px; font-family: inherit; cursor: pointer; font-weight: 600; }

.products-grid-cat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 968px) {
  .layout { grid-template-columns: 1fr; padding: 16px; }
  .filters { display: none; }
  .products-grid-cat { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-hero h1 { font-size: 42px; text-shadow: 2px 2px 0 var(--black); }
  .toolbar { flex-direction: column; align-items: stretch; }
  .subcats { padding: 12px; position: sticky; top: 60px; z-index: 70; background: white; border-bottom: 2px solid var(--light-gray); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
  .subcats-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .subcat-tile { min-height: 78px; padding: 10px 4px; border-radius: 12px; }
  .subcat-tile-icon { font-size: 22px; }
  .subcat-tile-name { font-size: 11px; }
}
