/* Stránka kategorie — katalogový layout navazující na homepage a produkt. */
.category-page main { color: var(--ink); background: #fff; }
.main-nav__inner .is-current { color: var(--pink); }

.category-hero {
  padding: 22px 0 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0, #fff9fb 100%);
}
.category-breadcrumbs {
  min-height: 28px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a7e86;
  font-size: 14px;
}
.category-breadcrumbs a:hover { color: var(--pink); }
.category-breadcrumbs span { color: #cfc5ca; }
.category-breadcrumbs strong { color: #4f444c; }
.category-hero__panel {
  position: relative;
  min-height: 410px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: minmax(430px, .9fr) minmax(540px, 1.1fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(12,113,137,.12) 1.2px, transparent 1.4px) 0 0 / 19px 19px,
    linear-gradient(125deg, #dff8fc 0 47%, #8be5f2 47% 77%, #fff0ad 77%);
  box-shadow: 0 18px 44px rgba(24, 19, 43, .08);
}
.category-hero__panel::before {
  content: '';
  position: absolute;
  width: 230px;
  height: 230px;
  left: -95px;
  bottom: -130px;
  border: 34px solid rgba(247,0,118,.13);
  border-radius: 50%;
}
.category-hero__copy {
  position: relative;
  z-index: 3;
  padding: 60px 24px 55px 56px;
  align-self: center;
}
.category-hero__copy h1 {
  margin: 12px 0 18px;
  font: 900 clamp(48px, 5vw, 72px)/.98 Montserrat, sans-serif;
  letter-spacing: -.055em;
}
.category-hero__copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 0;
  color: #514750;
  font-size: 16px;
  line-height: 1.68;
}
.category-hero__facts { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.category-hero__facts span { display: flex; align-items: center; gap: 8px; color: #50464e; font-size: 14px; font-weight: 800; }
.category-hero__facts b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--pink); font-size: 14px; }
.category-hero__visual { position: relative; min-width: 0; }
.category-hero__circle { position: absolute; width: 420px; height: 420px; right: 80px; top: 17px; border: 18px solid rgba(255,255,255,.48); border-radius: 50%; background: rgba(255,255,255,.2); }
.category-hero__person { position: absolute; bottom: -18px; object-fit: contain; filter: saturate(1.04) drop-shadow(0 22px 17px rgba(31,22,30,.16)); }
.category-hero__person--pirate { z-index: 3; left: 43%; height: 405px; transform: translateX(-50%); }
.category-hero__person--cowboy { z-index: 2; left: 8px; height: 330px; }
.category-hero__person--astronaut { z-index: 1; right: -8px; height: 345px; }
.category-hero__visual--single .category-hero__person {
  z-index: 2;
  left: 50%;
  bottom: -18px;
  width: 86%;
  height: 100%;
  transform: translateX(-50%);
}

.subcategory-strip { padding: 34px 0 42px; }
.subcategory-strip__heading { margin-bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.subcategory-strip__heading .eyebrow { margin-bottom: 7px; }
.subcategory-strip__heading h2 { margin: 0; font: 900 clamp(27px, 3vw, 39px)/1.08 Montserrat, sans-serif; letter-spacing: -.045em; }
.subcategory-strip__heading > span { color: #857881; font-size: 14px; font-weight: 700; }
.subcategory-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.subcategory-card {
  --category-accent: var(--pink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 176px;
  padding: 0;
  border: 1px solid #e9e1e5;
  border-radius: 20px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.subcategory-card::before {
  content: '';
  position: absolute;
  z-index: 3;
  width: 34px;
  height: 5px;
  left: 15px;
  top: 15px;
  border-radius: 999px;
  background: var(--category-accent);
}
.subcategory-card::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 38%, rgba(255,255,255,.68) 58%, rgba(255,255,255,0) 80%);
  pointer-events: none;
}
.subcategory-card:hover { transform: translateY(-4px); border-color: #d9cdd3; box-shadow: 0 15px 30px rgba(32,18,28,.1); }
.subcategory-card.is-active { border: 2px solid var(--pink); box-shadow: 0 0 0 4px rgba(247,0,118,.07); }
.subcategory-card--pink { --category-accent: #f70076; }
.subcategory-card--yellow { --category-accent: #f5c400; }
.subcategory-card--cyan { --category-accent: #13b4d6; }
.subcategory-card--orange { --category-accent: #ff8b23; }
.subcategory-card--violet { --category-accent: #7656d8; }
.subcategory-card__visual {
  position: absolute;
  z-index: 0;
  inset: 7px 2px 0 43%;
  display: block;
}
.subcategory-card__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}
.subcategory-card__placeholder {
  position: absolute;
  z-index: 0;
  top: 27px;
  right: 12px;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--category-accent) 30%, white);
  border-radius: 50%;
  color: var(--category-accent);
  background: color-mix(in srgb, var(--category-accent) 12%, white);
  font: 900 38px/1 Montserrat, sans-serif;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--category-accent) 18%, transparent);
}
.subcategory-card--without-visual::after {
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 43%, rgba(255,255,255,.6) 68%, rgba(255,255,255,.15) 100%);
}
.subcategory-card__visual--all { inset: 30px -18px 7px 27%; }
.subcategory-card__visual--all img { object-position: center center; }
.subcategory-card__copy {
  position: absolute;
  z-index: 2;
  left: 15px;
  right: 12px;
  bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.subcategory-card__copy strong { font: 900 17px/1.18 Montserrat, sans-serif; letter-spacing: -.025em; }
.subcategory-card__copy small { max-width: 112px; margin-top: 5px; color: #756a72; font-size: 14px; line-height: 1.35; }

.catalog { padding: 45px 0 66px; background: #faf7f9; }
.catalog-toolbar {
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}
.filter-open { display: none; font: 900 14px/1.3 Manrope, sans-serif; }
.catalog-toolbar__summary .eyebrow { margin-bottom: 7px; }
.catalog-toolbar__summary h2 { margin: 0; font: 900 clamp(31px, 3.3vw, 45px)/1.06 Montserrat, sans-serif; letter-spacing: -.05em; }
.catalog-toolbar__summary > p:last-child { margin: 8px 0 0; color: #786d75; font-size: 14px; }
.catalog-toolbar__summary > p strong { color: var(--ink); }
.catalog-sort { display: flex; flex-direction: column; gap: 7px; color: #766b73; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.catalog-sort select { width: 215px; height: 48px; padding: 0 38px 0 14px; border: 1px solid #e0d7dc; border-radius: 12px; color: var(--ink); background: #fff; font: 700 14px Manrope, sans-serif; }
.catalog-active-filters { min-height: 0; margin: 0 0 12px 304px; display: flex; flex-wrap: wrap; gap: 7px; }
.catalog-active-filters:empty { display: none; }
.active-filter { max-width: 100%; min-height: 33px; padding: 6px 11px; border: 1px solid #fac3dc; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; color: #7b2850; background: #fff0f7; font-size: 14px; line-height: 1.3; font-weight: 800; overflow-wrap: anywhere; }
.active-filter button { flex: 0 0 auto; border: 0; padding: 0; color: var(--pink); background: transparent; font: 800 16px/1 Manrope, sans-serif; cursor: pointer; }
.active-filter--clear { color: #fff; border-color: var(--pink); background: var(--pink); }
.catalog-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 24px; }
.catalog-filters { position: sticky; top: 18px; padding: 19px; border: 1px solid #ebe2e7; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(34,20,30,.05); }
.catalog-filters__top { padding-bottom: 15px; border-bottom: 1px solid #eee6ea; display: flex; align-items: center; justify-content: space-between; }
.catalog-filters__top div { display: flex; flex-direction: column; }
.catalog-filters__top small { color: var(--pink); font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.catalog-filters__top strong { margin-top: 3px; font: 900 23px Montserrat, sans-serif; }
.catalog-filters__top button { display: none; width: 38px; height: 38px; border: 1px solid #e7dfe3; border-radius: 50%; color: var(--ink); background: #fff; font-size: 23px; cursor: pointer; }
.filter-group { margin: 0; padding: 19px 0; border: 0; border-bottom: 1px solid #eee6ea; }
.filter-group legend { width: 100%; padding: 0; display: flex; align-items: center; justify-content: space-between; font: 900 14px Montserrat, sans-serif; }
.filter-group > label[for="category-query"] { display: grid; gap: 8px; margin-top: 12px; color: #5e535b; font-size: 14px; font-weight: 700; }
.filter-group input[type="search"] { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #ddd4d9; border-radius: 11px; color: var(--ink); background: #fff; font: 600 16px/1.3 Manrope, sans-serif; outline: 0; }
.filter-group input[type="search"]:focus-visible { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(247,0,118,.12); }

.search-results-hero { padding: 36px 0 22px; background: linear-gradient(135deg,#fff3f8,#eefbff 58%,#fff8d9); }
.search-results-hero .category-breadcrumbs { margin-bottom: 24px; }
.search-results-hero h1 { max-width: 900px; margin: 8px 0 10px; font: 900 clamp(34px,5vw,58px)/1.05 Montserrat,sans-serif; letter-spacing: -.045em; overflow-wrap: anywhere; }
.search-results-hero > .shell > p:last-child { margin: 0; color: #625760; font-size: 16px; }
.search-category-suggestions { padding: 28px 0 6px; }
.search-category-suggestions__heading h2 { margin: 6px 0 16px; font: 900 clamp(22px,2.5vw,30px)/1.15 Montserrat,sans-serif; }
.search-category-suggestions__links { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; }
.search-category-suggestions__links a { min-width: 190px; min-height: 76px; padding: 14px 16px; border: 1px solid #e5dce2; border-radius: 16px; display: grid; gap: 4px; color: var(--ink); background: #fff; box-shadow: 0 8px 24px rgba(35,22,31,.06); }
.search-category-suggestions__links a:hover { border-color: var(--pink); transform: translateY(-2px); }
.search-category-suggestions__links strong { font-size: 15px; }
.search-category-suggestions__links span { color: #70656d; font-size: 14px; }
.filter-group legend em { padding: 4px 7px; border-radius: 999px; color: var(--pink); background: #fff0f7; font: 800 14px Manrope, sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.filter-group--date > p { margin: 7px 0 13px; color: #80747c; font-size: 14px; line-height: 1.45; }
.filter-group--date > label:not(.filter-switch) { margin-top: 9px; display: flex; flex-direction: column; gap: 5px; color: #776b73; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.filter-group input[type="date"] { width: 100%; height: 43px; padding: 0 10px; border: 1px solid #e1d8dd; border-radius: 10px; color: var(--ink); background: #faf7f9; font: 700 14px Manrope, sans-serif; }
.filter-switch { margin-top: 13px; display: flex; align-items: center; gap: 9px; cursor: pointer; }
.filter-switch input { position: absolute; opacity: 0; }
.filter-switch > span { position: relative; width: 37px; height: 22px; border-radius: 99px; background: #ddd5da; transition: background .2s; }
.filter-switch > span::after { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 5px rgba(0,0,0,.14); }
.filter-switch input:checked + span { background: var(--pink); }
.filter-switch input:checked + span::after { transform: translateX(15px); }
.filter-switch b { font-size: 14px; }
.filter-size-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.filter-size-grid input { position: absolute; opacity: 0; }
.filter-size-grid span { min-width: 0; min-height: 52px; padding: 8px 28px 8px 8px; border: 1px solid #e3dbe0; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #5d525a; background: #fff; font-size: 14px; line-height: 1.25; font-weight: 800; text-align: center; overflow-wrap: anywhere; cursor: pointer; }
.filter-size-grid input:checked + span { border-color: var(--pink); color: var(--pink); background: #fff0f7; box-shadow: 0 0 0 2px rgba(247,0,118,.08); }
.filter-size-grid label { position: relative; min-width: 0; }
.filter-size-grid label > small { position: absolute; right: 6px; top: 6px; min-width: 20px; min-height: 20px; padding: 0 4px; border-radius: 999px; display: grid; place-items: center; color: #756a72; background: #f5eef2; font-size: 14px; line-height: 1; pointer-events: none; }
.filter-checks { margin-top: 10px; display: grid; gap: 4px; }
.filter-checks label { min-height: 44px; display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 8px; color: #5e535b; font-size: 14px; cursor: pointer; }
.filter-checks input { width: 17px; height: 17px; accent-color: var(--pink); }
.filter-checks small { color: #998e95; font-size: 14px; }
.filter-checks--links a { min-height: 44px; padding: 0 4px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; color: #5e535b; font-size: 14px; }
.filter-checks--links a:hover { color: var(--pink); }
.filter-group--unavailable { border: 1px solid #f1df9c; border-radius: 13px; padding: 14px; background: #fff9df; }
.catalog-filters--ssr form > .button { width: 100%; margin-top: 12px; }
.catalog-filters--ssr form > .button + .button { margin-top: 8px; }
.category-filters-auto-submit [data-filter-submit] { display: none; }
.category-filter-status { min-height: 20px; margin: 10px 0 0; color: #655a62; font-size: 14px; line-height: 1.4; }
.category-filter-status:empty { display: none; }
.catalog-filters[aria-busy="true"] { cursor: progress; }
.filter-reset { width: 100%; margin-top: 16px; min-height: 44px; border: 1px solid #ddd4d9; border-radius: 10px; color: #70646d; background: #fff; font: 800 14px/1.3 Manrope, sans-serif; cursor: pointer; }
.filter-reset:hover { border-color: var(--pink); color: var(--pink); }
.filter-backdrop { display: none; }

.category-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.category-product { position: relative; min-width: 0; border: 1px solid #ebe3e7; border-radius: 19px; overflow: hidden; background: #fff; transition: transform .23s, box-shadow .23s; }
.category-product:hover { transform: translateY(-4px); box-shadow: 0 17px 36px rgba(38,21,32,.09); }
.category-product[hidden] { display: none; }
.category-product__image { position: relative; height: 326px; display: block; overflow: hidden; background: #f0edef; }
.category-product__image--pink { background: #ffe4ef; }
.category-product__image--yellow { background: #fff0b1; }
.category-product__image--blue { background: #d9f5fa; }
.category-product__image--violet { background: #e9e3fb; }
.category-product__image--orange { background: #ffe2bd; }
.category-product__image img { width: 100%; height: 100%; padding: 17px 13px 0; object-fit: contain; object-position: center bottom; transition: transform .32s; }
.category-product:hover .category-product__image img { transform: scale(1.035); }
.category-product__badge { position: absolute; z-index: 2; left: 13px; top: 13px; padding: 6px 9px; border-radius: 999px; color: #fff; background: var(--pink); font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.category-product__badge--yellow { color: #4b3700; background: #ffd83f; }
.category-product__badge--blue { color: #073b46; background: var(--cyan); }
.category-product__heart { position: absolute; z-index: 4; right: 12px; top: 12px; width: 39px; height: 39px; border: 1px solid rgba(24,19,43,.09); border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(255,255,255,.92); font-size: 21px; cursor: pointer; }
.category-product__heart[aria-pressed="true"] { color: #fff; border-color: var(--pink); background: var(--pink); }
.category-product__body { padding: 16px 16px 15px; }
.category-product__status { margin: 0; display: flex; align-items: center; gap: 7px; color: #168463; font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.category-product__status i { width: 8px; height: 8px; border-radius: 50%; background: #24c997; box-shadow: 0 0 0 4px rgba(36,201,151,.1); }
.category-product__status--later { color: #947137; }
.category-product__status--later i { background: #f0b83f; box-shadow: 0 0 0 4px rgba(240,184,63,.12); }
.category-product h3 { min-height: 43px; margin: 0 0 11px; font: 900 16px/1.3 Montserrat, sans-serif; letter-spacing: -.02em; }
.category-product h3 a:hover { color: var(--pink); }
.category-product__meta { margin: 0; color: #6d626a; font-size: 14px; font-weight: 700; line-height: 1.4; }
.category-product__sizes { min-height: 38px; margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.category-product__sizes span { min-width: 42px; max-width: 100%; min-height: 34px; padding: 6px 10px; border: 1px solid #f2a8ca; border-radius: 999px; display: grid; place-items: center; color: #8d174e; background: #fff1f7; font-size: 14px; line-height: 1.25; font-weight: 900; text-align: center; overflow-wrap: anywhere; }
.category-product__sizes .category-product__size-unknown { color: #655a62; border-color: #e4dce0; background: #faf8f9; font-weight: 750; }
.category-product__bottom { margin-top: 13px; padding-top: 13px; border-top: 1px solid #eee7eb; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.category-product__bottom p { min-width: 104px; margin: 0; color: #81757d; font-size: 14px; text-align: center; }
.category-product__bottom strong { display: block; margin-top: 2px; color: var(--ink); font: 900 18px Montserrat, sans-serif; }
.category-product__bottom > a { max-width: 154px; min-height: 44px; padding: 0 11px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--pink); text-align: center; font-size: 14px; line-height: 1.2; font-weight: 900; }
.category-product__bottom > a:hover { background: #d90069; }
.catalog-empty { padding: 56px 25px; border: 1px solid #eadfe5; border-radius: 20px; text-align: center; background: #fff; }
.catalog-empty span { width: 48px; height: 48px; margin: 0 auto 15px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--pink); font: 900 22px Montserrat, sans-serif; }
.catalog-empty h3 { margin: 0; font: 900 22px Montserrat, sans-serif; }
.catalog-empty p { margin: 10px 0 18px; color: #776b73; font-size: 14px; }
.catalog-empty button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 10px; color: #fff; background: var(--pink); font-weight: 900; cursor: pointer; }
.catalog-pagination { margin-top: 28px; display: flex; justify-content: center; gap: 7px; }
.catalog-pagination a { min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #e2d9de; border-radius: 999px; display: grid; place-items: center; color: #675b64; background: #fff; font-size: 14px; font-weight: 900; }
.catalog-pagination a.is-current { color: #fff; border-color: var(--pink); background: var(--pink); }
.catalog-pagination--automatic { min-height: 1px; margin-top: 0; }
.catalog-pagination--automatic a { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.catalog-auto-load-status { margin: 24px 0 0; color: #746771; text-align: center; font-size: 14px; }

.category-help { padding: 0 0 56px; background: #faf7f9; }
.category-help__panel { min-height: 190px; padding: 31px 37px; border-radius: 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: radial-gradient(circle at 90% 15%, rgba(247,0,118,.13), transparent 22%), linear-gradient(120deg, #fff0f7, #fff5c6 58%, #ddf8fc); }
.category-help h2 { margin: 8px 0 9px; font: 900 clamp(26px, 3vw, 40px)/1.08 Montserrat, sans-serif; letter-spacing: -.045em; }
.category-help p:not(.eyebrow) { max-width: 760px; margin: 0; color: #665b63; font-size: 14px; line-height: 1.55; }
.category-help .button { flex: 0 0 auto; }

@media (max-width: 1220px) {
  .category-hero__panel { grid-template-columns: .88fr 1.12fr; }
  .category-hero__copy { padding-left: 38px; }
  .subcategory-list { grid-template-columns: repeat(3, 1fr); }
  .catalog-toolbar { grid-template-columns: 250px minmax(0, 1fr) auto; }
  .catalog-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .catalog-active-filters { margin-left: 274px; }
  .category-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .category-hero__panel { min-height: 570px; grid-template-columns: 1fr; }
  .category-hero__copy { padding: 38px 38px 0; }
  .category-hero__visual { min-height: 310px; }
  .category-hero__person--pirate { height: 315px; }
  .category-hero__person--cowboy, .category-hero__person--astronaut { height: 260px; }
  .catalog-toolbar { grid-template-columns: 1fr auto; }
  .catalog-toolbar__summary { grid-column: 1 / -1; }
  body.category-filters-ready .filter-open { min-height: 46px; padding: 0 15px; border: 0; border-radius: 11px; display: inline-flex; align-items: center; gap: 8px; color: #fff; background: var(--pink); font-weight: 900; cursor: pointer; }
  .filter-open b { min-width: 24px; height: 24px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; color: var(--pink); background: #fff; font-size: 14px; }
  .catalog-sort select { width: 205px; }
  .catalog-active-filters { margin-left: 0; }
  .catalog-layout { display: block; }
  body.category-filters-ready .catalog-filters { position: fixed; z-index: 350; inset: 0 auto 0 0; width: min(88vw, 360px); max-height: 100dvh; border: 0; border-radius: 0 22px 22px 0; overflow-y: auto; transform: translateX(-105%); transition: transform .28s ease; box-shadow: 25px 0 60px rgba(20,12,18,.2); }
  body.category-filters-ready .catalog-filters.is-open { transform: translateX(0); }
  body.category-filters-ready .catalog-filters__top button { display: grid; place-items: center; }
  body.category-filters-ready .filter-backdrop { position: fixed; z-index: 340; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(24,19,43,.48); opacity: 0; pointer-events: none; transition: opacity .25s; }
  body.has-filter-drawer { overflow: hidden; }
  body.has-filter-drawer .filter-backdrop { opacity: 1; pointer-events: auto; }
}

@media (max-width: 760px) {
  .category-hero { padding-top: 15px; }
  .category-hero > .shell, .subcategory-strip > .shell, .catalog > .shell, .category-help > .shell { width: min(calc(100% - 28px), 100%); }
  .category-breadcrumbs { font-size: 14px; }
  .category-hero__panel { min-height: 560px; border-radius: 21px; }
  .category-hero__copy { padding: 27px 21px 0; }
  .category-hero__copy h1 { font-size: 43px; }
  .category-hero__copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.55; }
  .category-hero__facts { gap: 8px; }
  .category-hero__facts span { width: 100%; font-size: 14px; }
  .category-hero__visual { min-height: 275px; }
  .category-hero__person--pirate { height: 286px; }
  .category-hero__person--cowboy { left: -37px; height: 220px; }
  .category-hero__person--astronaut { right: -46px; height: 230px; }
  .category-hero__circle { width: 280px; height: 280px; right: 50%; top: 8px; transform: translateX(50%); }
  .subcategory-strip { padding: 28px 0 34px; }
  .subcategory-strip__heading > span { display: none; }
  .subcategory-list { margin-inline: -14px; padding: 0 14px 13px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .subcategory-list { scroll-padding-inline: 14px; }
  .subcategory-card { flex: 0 0 calc(100vw - 28px); min-height: 166px; scroll-snap-align: start; }
  .catalog { padding: 35px 0 52px; }
  .catalog-toolbar { gap: 12px; }
  .catalog-toolbar__summary h2 { font-size: 31px; }
  .filter-open { min-height: 44px; }
  .catalog-sort { font-size: 14px; }
  .catalog-sort select { width: 175px; height: 44px; font-size: 14px; }
  .category-product-grid { gap: 11px; }
  .category-product { border-radius: 15px; }
  .category-product__image { height: 255px; }
  .category-product__body { padding: 13px; }
  .category-product h3 { min-height: 40px; font-size: 14px; }
  .category-product__meta { font-size: 14px; }
  .category-product__status { font-size: 14px; }
  .category-product__bottom { display: block; }
  .category-product__bottom > a { width: 100%; max-width: none; margin-top: 10px; }
  .category-help__panel { padding: 25px 21px; align-items: flex-start; flex-direction: column; }
}

.category-product__sizes span,
.category-hero__facts b { font-size: 14px; }

@media (max-width: 520px) {
  .catalog-toolbar { grid-template-columns: 1fr; }
  .catalog-sort select { width: 100%; }
  .category-product-grid { grid-template-columns: 1fr; }
  .category-product__image { height: 360px; }
  .category-product h3 { min-height: 0; font-size: 16px; }
  .category-product__bottom { display: flex; }
  .category-product__bottom > a { width: auto; max-width: 145px; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-filters, .category-product, .subcategory-card, .category-product__image img { transition: none !important; }
}
