.catalog-page { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.catalog-page .breadcrumb { padding-block: .55rem; }
.category-hero {
  position: relative;
  display: flex;
  width: 100vw;
  min-height: clamp(190px, 17vw, 280px);
  align-items: center;
  margin-inline: calc(50% - 50vw);
  padding-inline: 0;
  overflow: hidden;
  background-color: #f7e7e5;
  background-image: var(--category-hero-image, url('/assets/images/category-hero-all.webp'));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
}
.category-hero[data-category-hero="cicekler"] { --category-hero-image: url('/assets/images/category-hero-cicekler.webp'); }
.category-hero[data-category-hero="buketler"] { --category-hero-image: url('/assets/images/category-hero-buketler.webp'); }
.category-hero[data-category-hero="aranjmanlar"] { --category-hero-image: url('/assets/images/category-hero-aranjmanlar.webp'); }
.category-hero[data-category-hero="saksi-cicekleri"] { --category-hero-image: url('/assets/images/category-hero-saksi-cicekleri.webp'); }
.category-hero[data-category-hero="hediyelik"] { --category-hero-image: url('/assets/images/category-hero-hediyelik.webp'); }
.category-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: '';
  background: linear-gradient(90deg, rgb(255 248 247 / 94%) 0%, rgb(255 248 247 / 82%) 34%, rgb(255 248 247 / 54%) 62%, rgb(255 248 247 / 18%) 100%);
}
.category-hero__inner { display: flex; width: 100%; min-height: inherit; align-items: center; padding-block: 1.5rem; }
.category-hero__copy { position: relative; z-index: 1; max-width: min(68%, 720px); padding-inline-start: clamp(.75rem, 2vw, 1.75rem); }
.category-hero > .category-hero__copy { width: min(calc(100% - 3rem), var(--container)); max-width: var(--container); margin-inline: auto; }
.category-hero .eyebrow { margin-bottom: .25rem; font-size: .61rem; letter-spacing: .14em; }
.category-hero h1 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.75rem); letter-spacing: -.045em; }
.category-hero .lede { max-width: 42rem; margin: .2rem 0 .45rem; font-size: .88rem; line-height: 1.5; }
.category-hero__count { display: inline-flex; min-height: 25px; align-items: center; padding: .1rem .8rem; color: #5c3a43; background: #f5dedd; border-radius: 999px; font-size: .68rem; font-weight: 600; }
.catalog-layout { grid-template-columns: 268px minmax(0, 1fr); gap: 14px; padding-top: 12px; padding-bottom: 1.5rem; }
.catalog-page > .catalog-layout { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.filter-panel { top: 6.5rem; padding: 1rem; border-color: rgb(160 115 121 / 11%); border-radius: 14px; box-shadow: 0 5px 18px rgb(86 58 58 / 3%); }
.filter-panel__title { display: flex; align-items: center; justify-content: space-between; padding: .1rem .2rem .55rem; }
.filter-panel__title h2, .filter-group h2, .occasion-filter legend { margin: 0; color: #303039; font-size: .96rem; font-weight: 700; letter-spacing: -.02em; }
.filter-clear { padding: .3rem .45rem; color: #9c5767; background: transparent; border: 0; font-size: .74rem; font-weight: 600; cursor: pointer; }
.filter-clear:hover { text-decoration: underline; text-underline-offset: .2em; }
.filter-group { margin: 0; padding: .8rem .2rem; border: 0; border-top: 1px solid #f0e5e3; }
.filter-group > h2, .occasion-filter legend { margin-bottom: .55rem; }
.filter-list { gap: .12rem; }
.filter-list a { min-height: 36px; padding: .4rem .55rem; border-radius: 8px; font-size: .78rem; font-weight: 500; }
.filter-list a span { color: #8c8588; font-size: .7rem; }
.filter-list a:hover, .filter-list a[aria-current="page"] { color: #8b4658; background: #fbeded; }
.price-filter__fields { display: flex; align-items: center; gap: .35rem; }
.price-filter input { min-width: 0; min-height: 39px; padding: .4rem .5rem; background: #fffafa; border-radius: 8px; font-size: .74rem; }
.price-filter input::placeholder { color: #887d80; opacity: 1; }
.price-filter__currency { color: #82777a; font-size: .71rem; }
.occasion-filter { display: grid; gap: .15rem; }
.occasion-filter label { min-height: 35px; gap: .5rem; color: #4b484a; font-size: .77rem; font-weight: 550; cursor: pointer; }
.occasion-filter input { width: 16px; height: 16px; margin: 0; }
.facet-filter { display: grid; gap: .13rem; }
.facet-filter label { display: flex; min-height: 35px; align-items: center; justify-content: flex-start; gap: .55rem; color: #4b484a; font-size: .77rem; font-weight: 500; cursor: pointer; }
.species-filter label { justify-content: flex-start; }
.facet-filter label > span { display: inline-flex; align-items: center; gap: .5rem; }
.facet-filter input { width: 16px; height: 16px; margin: 0; accent-color: #a9576b; }
.facet-filter small, .occasion-filter small { color: #8c8588; font-size: .69rem; }
.filter-panel fieldset.filter-group { min-width: 0; }
.filter-panel fieldset.filter-group > legend { display: table; max-width: 100%; margin: 0 0 .55rem; padding: 0 .35rem 0 0; color: #303039; font-size: .96rem; font-weight: 700; letter-spacing: -.02em; }
.filter-panel fieldset.filter-group > label { display: flex; width: 100%; min-width: 0; min-height: 35px; align-items: center; gap: .55rem; color: #4b484a; font-size: .77rem; font-weight: 500; line-height: 1.35; cursor: pointer; }
.filter-panel fieldset.filter-group > label > input { flex: 0 0 16px; width: 16px; height: 16px; margin: 0; accent-color: #a9576b; }
.filter-panel fieldset.filter-group > label > span { min-width: 0; }
.facet-color-swatch { display: inline-block; width: 15px; height: 15px; border: 1px solid rgb(50 40 40 / 14%); border-radius: 50%; }
.facet-color-swatch--pembe { background: #e7a4b2; }
.facet-color-swatch--kirmizi { background: #bb2331; }
.facet-color-swatch--beyaz { background: #fff; }
.facet-color-swatch--mor { background: #8660ac; }
.facet-color-swatch--sari { background: #e9c34b; }
.facet-color-swatch--turuncu { background: #e77e36; }
.facet-color-swatch--karisik { background: conic-gradient(#d84e75 0 25%, #f1cc45 0 50%, #69a36d 0 75%, #8870ad 0); }
.catalog-toolbar { min-height: 48px; margin-bottom: 12px; padding: .4rem .85rem; background: #fff; border: 1px solid rgb(160 115 121 / 10%); border-radius: 12px; }
.catalog-toolbar p { color: #464247; font-size: .77rem; }
.catalog-toolbar label { gap: .5rem; font-size: .75rem; font-weight: 550; }
.catalog-toolbar select { min-height: 37px; padding: .35rem 1.6rem .35rem .7rem; border-color: #f0e5e3; border-radius: 8px; font-size: .75rem; }
.catalog-products .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.catalog-products .product-card { border-color: rgb(160 115 121 / 10%); border-radius: 13px; box-shadow: 0 4px 14px rgb(65 42 42 / 3%); }
.catalog-products .product-card:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgb(65 42 42 / 8%); }
.catalog-products .product-card-media { aspect-ratio: 1.62 / 1; background: #f2e7e5; }
.catalog-products .product-card-body { padding: .62rem .75rem .72rem; }
.catalog-products .product-category { display: none; }
.catalog-products .product-card h3 { display: -webkit-box; min-height: 2.1em; margin: 0 0 .08rem; overflow: hidden; font-size: .82rem; font-weight: 700; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.catalog-products .product-card-description { display: -webkit-box; min-height: 1.3em; margin: 0; overflow: hidden; color: #6b656a; font-size: .7rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.catalog-products .product-price { gap: .4rem; margin: .28rem 0 .4rem; color: #38343a; font-size: .78rem; }
.catalog-products .product-price strong { color: #a73750; font-size: .94rem; }
.catalog-products .product-price del { font-size: .66rem; }
.catalog-products .text-link { display: flex; width: 100%; min-height: 34px; justify-content: center; padding: .3rem .45rem; color: #963f54; background: #fbe9e9; border-radius: 999px; font-size: .7rem; font-weight: 650; }
.catalog-products .text-link::after { content: '→'; }
.catalog-products .text-link:hover { color: #fff; background: #a9576b; }
.catalog-products .discount-tag { top: .45rem; left: .5rem; padding: .3rem .45rem; font-size: .63rem; }
.catalog-products .image-note-badge { right: .4rem; bottom: .4rem; padding: .25rem .4rem; font-size: .6rem; }
.catalog-products .out-of-stock { font-size: .7rem; }

@media (min-width: 1321px) {
  .catalog-layout.container { width: 100%; max-width: none; margin-inline: 0; grid-template-columns: 268px minmax(0, 1fr); gap: 18px; padding-right: clamp(16px, 1.5vw, 28px); }
}

@media (max-width: 1100px) {
  .catalog-layout { grid-template-columns: 195px minmax(0, 1fr); gap: 10px; }
  .catalog-products .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .filter-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-group { padding-block: .55rem; }
}
@media (max-width: 600px) {
  .catalog-page { padding-bottom: 1.5rem; }
  .category-hero { min-height: 180px; background-position: center; background-size: cover; }
  .category-hero__inner { padding-block: 1rem; }
  .category-hero::before { background: linear-gradient(90deg, rgb(255 248 247 / 96%) 0%, rgb(255 248 247 / 87%) 55%, rgb(255 248 247 / 38%) 100%); }
  .category-hero__copy { max-width: 100%; }
  .category-hero > .category-hero__copy { width: min(calc(100% - 2rem), var(--container)); }
  .category-hero h1 { font-size: clamp(1.65rem, 8vw, 2.15rem); }
  .category-hero .lede { max-width: 28rem; font-size: .75rem; }
  .catalog-layout { gap: 8px; }
  .filter-panel { padding: .65rem; }
  .filter-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-toolbar { align-items: center; padding: .35rem .55rem; }
  .catalog-toolbar label { flex-direction: row; align-items: center; gap: .25rem; }
  .catalog-toolbar label > span { display: none; }
  .catalog-toolbar select { max-width: 150px; font-size: .65rem; }
  .catalog-products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .catalog-products .product-card-media { aspect-ratio: 1.35 / 1; }
  .catalog-products .product-card-body { padding: .45rem .5rem .55rem; }
  .catalog-products .product-card h3 { min-height: 2.2em; font-size: .7rem; }
  .catalog-products .product-card-description { font-size: .6rem; }
  .catalog-products .product-price { font-size: .66rem; }
  .catalog-products .product-price strong { font-size: .8rem; }
  .catalog-products .text-link { min-height: 29px; font-size: .62rem; }
}
