.catalog-page{
    max-width: 1200px;
    margin: 0 auto;
    padding: 26px 16px 60px;
  }

  .catalog-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }

  .catalog-title{
    margin: 0;
    font-size: 26px;
    color: #1A1A1A;
  }

  .catalog-actions{
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .sort-select{
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #1A1A1A;
  }

  .filters-open{
    display: none;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
  }

  .catalog-layout{
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 18px;
  }

  .filters{
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 16px;

    position: sticky;
    top: 120px; /* під стрічку+шапку */
    height: fit-content;
  
    max-height: calc(100vh - 140px);
    overflow: auto;
}

  .filters-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 12px;
  }

  .filters-title{
    font-weight: 700;
    color: #1A1A1A;
  }

  .filters-close{
    display: none;
    border: 0;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
  }

  .filter-block{
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .filter-block:last-child{
    border-bottom: 0;
  }

  .filter-label{
    font-weight: 700;
    margin-bottom: 10px;
    color: #1A1A1A;
  }

  .price-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .price-row label{
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: #666;
  }

  .num{
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 10px 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1A1A1A;
    width: 100%;
    box-sizing: border-box;
  }

  .range-wrap{
    margin-top: 12px;
    display: grid;
    gap: 8px;
  }

  .range-wrap input[type="range"]{
    width: 100%;
  }

  .brands{
    display: grid;
    gap: 10px;
    max-height: 220px;
    overflow: auto;
    padding-right: 6px;
  }

  .brand-item{
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 600;
    color: #1A1A1A;
  }

  .check{
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 700;
    color: #1A1A1A;
    padding: 8px 0;
    cursor: pointer;
  }

  .btn-reset{
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 12px 14px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    background: #fff1f5;
  }

  .products{
    min-width: 0;
  }

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

  .pcard{
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform .25s ease, box-shadow .25s ease;
  }

  .pcard:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 42px rgba(0,0,0,0.12);
  }

  .pimg{
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
  }

  .pbody{
    padding: 14px 14px 16px;
    display: grid;
    gap: 8px;
  }

  .ptitle{
    font-weight: 700;
    color: #1A1A1A;
    font-size: 14px;
    margin: 0;
    line-height: 1.35;
  }

  .pmeta{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    color: #666;
    font-weight: 700;
  }


  .pdesc{
    margin: -2px 0 0;
    color: #5f5f5f;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .pcard-link{
    color: inherit;
    text-decoration: none;
  }

  .pprice{
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
  }

  .badges{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .badge{
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f7f7f7;
    color: #1A1A1A;
  }

  .badge.sale{ background: #ffe7ee; }
  .badge.out{ background: #f2f2f2; opacity: .75; }

  .empty{
    padding: 28px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    font-weight: 700;
    color: #1A1A1A;
    text-align: center;
  }

  @media (max-width: 1024px){
    .products-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-layout{ grid-template-columns: 280px 1fr; }
  }

  @media (max-width: 768px){
    body.filters-opened{ overflow: hidden; }

    .catalog-layout{ grid-template-columns: 1fr; }

    .filters{
      position: fixed;
      inset: 0;
      top: 0;
      border-radius: 0;
      transform: translateX(-100%);
      transition: transform .35s cubic-bezier(.4,0,.2,1);
      z-index: 7000;
      overflow: auto;
    }
    .filters.active{ transform: translateX(0); }

    .filters-close{ display: inline-block; }
    .filters-open{ display: inline-flex; gap: 8px; align-items: center; }

    .products-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 420px){
    .products-grid{ grid-template-columns: 1fr; }
  }

  .home-catalog{
    max-width: 1200px;
    margin: 0 auto;
    padding: 26px 16px 10px;
  }

  .home-tabs{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .home-tab{
    border: 1px solid #e6e6e6;
    background: #fff;
    color: #1A1A1A;
    padding: 10px 14px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  }

  .home-tab:hover{ transform: translateY(-1px); }

  .home-tab.active{
    background: #ff6a88;
    color: #fff;
    border-color: transparent;
  }

  .home-viewall{
    text-decoration: none;
    font-weight: 700;
    color: #1A1A1A;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    background: #fff;
  }

  .home-viewall:hover{
    background: #fff1f5;
  }

  .pcard{ position: relative; }


/* ===== HOME PRODUCT MINI-MENU: premium pills (desktop + mobile) ===== */
.home-catalog .catalog-top{
  margin-bottom: 22px;
}

.home-catalog .catalog-actions{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(40, 26, 22, 0.06);
  border-radius: 24px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 16px 42px rgba(45, 31, 25, 0.07);
}

.home-catalog .home-tabs{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.home-catalog .home-tab,
.home-catalog .sort-select,
.home-catalog .home-viewall{
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(34, 24, 22, 0.10);
  background: #fff;
  color: #151515;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(45, 31, 25, 0.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.home-catalog .home-tab{
  min-width: 128px;
  padding: 0 24px;
}

.home-catalog .home-tab.active{
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #ff5f8e 0%, #ff7fa4 100%);
  box-shadow: 0 12px 26px rgba(255, 95, 142, 0.28);
}

.home-catalog .home-tab:hover,
.home-catalog .sort-select:hover,
.home-catalog .home-viewall:hover{
  transform: translateY(-1px);
  border-color: rgba(255, 95, 142, 0.28);
  box-shadow: 0 12px 28px rgba(45, 31, 25, 0.08);
}

.home-catalog .sort-select{
  margin-left: auto;
  min-width: 170px;
  padding: 0 44px 0 24px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5' fill='none' stroke='%23151515' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px 16px;
}

.home-catalog .home-viewall{
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-decoration: none;
  white-space: nowrap;
}

.home-catalog .home-viewall:active,
.home-catalog .home-tab:active,
.home-catalog .sort-select:active{
  transform: translateY(0) scale(0.99);
}

@media (max-width: 768px){
  .home-catalog{
    padding-top: 18px;
  }

  .home-catalog .catalog-top{
    margin-bottom: 18px;
  }

  .home-catalog .catalog-actions{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .home-catalog .home-tabs{
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    width: 100%;
  }

  .home-catalog .home-tab,
  .home-catalog .sort-select,
  .home-catalog .home-viewall{
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 0 14px;
    font-size: clamp(15px, 4.2vw, 18px);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(45, 31, 25, 0.055);
  }

  .home-catalog .sort-select{
    margin-left: 0;
    padding-left: 16px;
    padding-right: 36px;
    background-position: right 14px center;
    text-align: center;
    text-align-last: center;
  }

  .home-catalog .home-viewall{
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 380px){
  .home-catalog .catalog-actions,
  .home-catalog .home-tabs{
    gap: 8px;
  }

  .home-catalog .home-tab,
  .home-catalog .sort-select,
  .home-catalog .home-viewall{
    min-height: 50px;
    font-size: 14px;
  }
}


/* ===== PATCH 2026-05-06: catalog load more ===== */
.catalog-load-more{
  display:grid;
  place-items:center;
  gap:10px;
  margin:34px auto 10px;
  text-align:center;
}
.catalog-load-more[hidden]{
  display:none !important;
}
.catalog-load-more__btn{
  min-height:48px;
  padding:0 28px;
  border:none;
  border-radius:999px;
  background:linear-gradient(135deg,#ff6a88,#ff99ac);
  color:#fff;
  font:800 14px 'Montserrat',Arial,sans-serif;
  cursor:pointer;
  box-shadow:0 16px 32px rgba(255,106,136,.22);
  transition:transform .18s ease, box-shadow .18s ease;
}
.catalog-load-more__btn:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 38px rgba(255,106,136,.28);
}
.catalog-load-more__meta{
  color:#8b7b83;
  font-size:13px;
  font-weight:700;
}

/* ===== PATCH 2026-05-14: extended SEO landing article blocks for priority catalog pages ===== */
.catalog-seo{
  margin: 42px 0 8px;
}
.catalog-seo[hidden]{
  display: none !important;
}
.catalog-seo__inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(22px, 3.2vw, 38px) 0 4px;
  border-top: 1px solid rgba(219, 190, 198, .82);
  color: #34252b;
}
.catalog-seo__title{
  margin: 0 0 18px;
  color: #2c2025;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.18;
  max-width: 980px;
}
.catalog-seo__text{
  display: grid;
  gap: 12px;
  max-width: 1040px;
}
.catalog-seo__text p{
  margin: 0;
  color: #62525a;
  font-size: 15.5px;
  line-height: 1.82;
}
.catalog-seo__sections{
  display: grid;
  gap: 0;
  margin-top: 28px;
  max-width: 1040px;
}
.catalog-seo__section{
  padding: 24px 0;
  border-top: 1px solid rgba(219, 190, 198, .64);
}
.catalog-seo__section h3,
.catalog-seo__related h3,
.catalog-seo__faq h3{
  margin: 0 0 12px;
  color: #2f4654;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.3;
  font-style: italic;
  font-weight: 800;
}
.catalog-seo__section p{
  margin: 0;
  color: #62525a;
  font-size: 15.5px;
  line-height: 1.8;
}
.catalog-seo__section ul{
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.catalog-seo__section li{
  position: relative;
  padding-left: 18px;
  color: #62525a;
  font-size: 15px;
  line-height: 1.65;
}
.catalog-seo__section li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d98da3;
}
.catalog-seo__related{
  margin-top: 4px;
  padding-top: 24px;
  border-top: 1px solid rgba(219, 190, 198, .64);
  max-width: 1040px;
}
.catalog-seo__links{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.catalog-seo__links a{
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(209, 154, 171, .58);
  color: #8f4660;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.catalog-seo__links a::after{
  content: "→";
  margin-left: 8px;
  font-weight: 900;
}
.catalog-seo__links a:hover{
  transform: translateY(-1px);
  border-color: rgba(180, 91, 116, .55);
  box-shadow: 0 10px 24px rgba(180, 91, 116, .11);
}
.catalog-seo__faq{
  display: grid;
  gap: 0;
  margin-top: 28px;
  max-width: 1040px;
  border-top: 1px solid rgba(219, 190, 198, .64);
}
.catalog-seo__faq h3{
  margin-top: 24px;
}
.catalog-seo__faq details{
  border-bottom: 1px solid rgba(219, 190, 198, .64);
  padding: 16px 0;
}
.catalog-seo__faq summary{
  cursor: pointer;
  color: #2f4654;
  font-size: 16px;
  font-weight: 800;
  list-style: none;
}
.catalog-seo__faq summary::-webkit-details-marker{
  display:none;
}
.catalog-seo__faq summary::after{
  content: "⌄";
  float: right;
  color: #8f6b78;
  font-size: 18px;
}
.catalog-seo__faq details[open] summary::after{
  content: "⌃";
}
.catalog-seo__faq p{
  margin: 10px 0 0;
  color: #62525a;
  font-size: 15px;
  line-height: 1.72;
}

@media (max-width: 768px){
  .catalog-seo{
    margin-top: 30px;
  }
  .catalog-seo__inner{
    padding: 22px 0 2px;
  }
  .catalog-seo__text p,
  .catalog-seo__section p{
    font-size: 14px;
    line-height: 1.7;
  }
  .catalog-seo__section{
    padding: 20px 0;
  }
  .catalog-seo__section li{
    font-size: 14px;
  }
  .catalog-seo__links{
    gap: 8px;
  }
  .catalog-seo__links a{
    min-height: 34px;
    padding: 0 12px;
    font-size: 11px;
  }
  .catalog-seo__faq summary{
    font-size: 14px;
  }
}
