/* =============================================================
   PRODUCT CATEGORY PAGE STYLES
   category-page-styles.less
   ============================================================= */
/* ----------------------------------------------------------
   INTRO SECTION
   ---------------------------------------------------------- */
.cat-intro-wrap {
  background: #ffffff;
  padding: 3rem 1.5rem 2rem;
}
@media (max-width:767.98px) {
  .cat-intro-wrap {
    padding: 2rem 1rem 1.5rem;
  }
}
.cat-intro-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
@media (min-width:768px) {
  .cat-intro-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: flex-start;
  }
}
.cat-intro-text {
  flex: 1;
}
.cat-intro-text h2 {
  font-size: 2rem;
  font-weight: 300;
  color: #333333;
  margin-bottom: 1rem;
}
.cat-intro-text p {
  font-size: 1.1rem;
  color: #555555;
  line-height: 1.7;
  max-width: 520px;
  font-weight: 300;
}
.cat-intro-cta {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.6rem 1.5rem;
  background: #27A5DE;
  color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: all 0.15s ease;
}
.cat-intro-cta:hover {
  background: #1c86b6;
  color: #ffffff;
}
.cat-intro-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cat-intro-image img {
  max-width: 400px;
  max-height: 340px;
  object-fit: contain;
}
.header-hero {
  display: flex;
  flex-direction: column;
  width: 100%;
}
@media (min-width:992px) {
  .header-hero {
    display: flex;
    flex-direction: row;
    width: 100%;
  }
}
.header-hero .cat-intro-text {
  order: 2;
}
.header-hero .cat-intro-image {
  order: 1;
}
/* ----------------------------------------------------------
   GRID WRAP + CONTAINER
   ---------------------------------------------------------- */
.cat-grid-wrap {
  background: #f1f1f1;
  padding: 2.5rem 1.5rem 4rem;
}
.cat-grid-container {
  max-width: 1200px;
  margin: 0 auto;
}
.cat-grid-container > h3.cat-section-title {
  font-size: 1.1rem;
  font-weight: 400;
  color: #444444;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
/* ----------------------------------------------------------
   BRAND FILTER TABS
   ---------------------------------------------------------- */
.cat-brand-filters {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.cat-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  border: 1.5px solid #cccccc;
  border-radius: 2rem;
  background: #ffffff;
  color: #555555;
  font-size: 0.82rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cat-filter-btn:hover {
  border-color: #27A5DE;
  color: #27A5DE;
}
.cat-filter-btn.active {
  background: #27A5DE;
  border-color: #27A5DE;
  color: #ffffff;
}
.cat-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  font-size: 0.75em;
  font-weight: 500;
}
.cat-filter-btn:not(.active) .cat-filter-count {
  background: rgba(0, 0, 0, 0.08);
}
/* ----------------------------------------------------------
   PRODUCT GRID
   ---------------------------------------------------------- */
.cat-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
@media (max-width:767.98px) {
  .cat-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
.cat-product-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.15s ease;
}
.cat-product-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
  border-color: #27A5DE;
}
.cat-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
/* ----------------------------------------------------------
   CARD IMAGE AREA
   ---------------------------------------------------------- */
.cat-card-img-wrap {
  position: relative;
  background: #ffffff;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cat-card-img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  transition: all 0.15s ease;
}
.cat-product-card:hover .cat-card-img {
  transform: scale(1.04);
}
.cat-card-img-placeholder {
  width: 56px;
  height: 56px;
  opacity: 0.5;
}
.cat-card-brand-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(59, 59, 59, 0.78);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}
/* ----------------------------------------------------------
   CARD BODY
   ---------------------------------------------------------- */
.cat-card-body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.cat-card-title {
  font-size: 1rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.35;
  margin: 0;
}
.cat-card-desc {
  font-size: 0.875rem;
  color: #777777;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.cat-card-cta {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #27A5DE;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: all 0.15s ease;
}
.cat-product-card:hover .cat-card-cta {
  color: #1c86b6;
}
/* ----------------------------------------------------------
   EMPTY STATE
   ---------------------------------------------------------- */
.cat-empty-state {
  text-align: center;
  padding: 3rem;
  color: #8c8c8c;
  font-size: 0.9rem;
}
