/*
 * categories.css
 * Browse by Category page — circle card design (reference-matched)
 * Category Single page — banner + breadcrumb
 */

/* ────────────────────────────────────────
   ALL CATEGORIES PAGE — CIRCLE LAYOUT
──────────────────────────────────────── */
.bc-page {
  background: #f5f2ef;
  font-family: 'Poppins', 'Work Sans', system-ui, sans-serif;
  min-height: 100vh;
}

/* Hero */
.bc-hero {
  text-align: center;
  padding: 5rem 1.5rem 3rem;
}
.bc-hero__eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ee7c2b;
  margin-bottom: 1rem;
}
.bc-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 900;
  color: #1a1209;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}
.bc-hero__sub {
  font-size: .95rem;
  color: #6b5d52;
  line-height: 1.75;
  font-style: italic;
  max-width: 480px;
  margin: 0 auto;
}

/* Body */
.bc-body {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

/* Category section */
.bc-cat-section {
  padding: 2rem 0 3.5rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.bc-cat-section:last-child { border-bottom: none; }

.bc-cat-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #1a1209;
  text-align: center;
  margin-bottom: 2rem;
}
.bc-cat-title a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
.bc-cat-title a:hover { color: #ee7c2b; }

/* Circle row */
.bc-circles {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.bc-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  width: 120px;
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.bc-circle-item:hover { transform: translateY(-4px); }

.bc-circle-img {
  width: 110px;
  height: 110px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.14);
  flex-shrink: 0;
  transition: box-shadow .25s;
}
.bc-circle-item:hover .bc-circle-img {
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.bc-circle-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.bc-circle-item:hover .bc-circle-img img { transform: scale(1.1); }
.bc-circle-placeholder { width: 100%; height: 100%; }

.bc-circle-label {
  font-size: .82rem;
  font-weight: 600;
  color: #2d1f13;
  text-align: center;
  line-height: 1.3;
}

/* Newsletter */
.bc-newsletter {
  background: #f5f2ef;
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 5rem 1.5rem 6rem;
}
.bc-newsletter__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.bc-newsletter__icon {
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
}
.bc-newsletter__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #1a1209;
  margin-bottom: .8rem;
}
.bc-newsletter__sub {
  font-size: .88rem;
  color: #6b5d52;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.8rem;
}
.bc-newsletter__form {
  display: flex;
  gap: .6rem;
  max-width: 380px;
  margin: 0 auto;
}
.bc-newsletter__input {
  flex: 1;
  padding: .72rem 1rem;
  border: 1.5px solid #ddd8d2;
  border-radius: .55rem;
  font-family: inherit;
  font-size: .87rem;
  color: #1a1209;
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.bc-newsletter__input:focus {
  border-color: #ee7c2b;
  box-shadow: 0 0 0 3px rgba(238,124,43,.12);
}
.bc-newsletter__input::placeholder { color: #a89a8e; }
.bc-newsletter__btn {
  padding: .72rem 1.4rem;
  background: #ee7c2b;
  color: #fff;
  border: none;
  border-radius: .55rem;
  font-family: inherit;
  font-size: .87rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.bc-newsletter__btn:hover { background: #c9611a; transform: translateY(-1px); }

/* ────────────────────────────────────────
   CATEGORY SINGLE — Banner + Breadcrumb
──────────────────────────────────────── */
.cat-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.cat-banner__bg { position: absolute; inset: 0; z-index: 0; }
.cat-banner__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-banner__bg-placeholder { width: 100%; height: 100%; min-height: 320px; }
.cat-banner__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(20,12,5,.82) 0%, rgba(20,12,5,.4) 55%, rgba(20,12,5,.1) 100%);
}
.cat-banner__content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1320px; margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
}
.cat-banner__breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  flex-wrap: wrap; margin-bottom: 1rem;
}
.cat-banner__breadcrumb a {
  font-size: .76rem; font-weight: 600;
  color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s;
}
.cat-banner__breadcrumb a:hover { color: #ee7c2b; }
.cat-banner__breadcrumb span.sep { color: rgba(255,255,255,.4); font-size: .74rem; }
.cat-banner__breadcrumb span.current { font-size: .76rem; color: rgba(255,255,255,.9); font-weight: 600; }
.cat-banner__eyebrow {
  font-size: .7rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #ee7c2b; margin-bottom: .6rem; display: block;
}
.cat-banner__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 900;
  color: #fff; line-height: 1.1; margin-bottom: .8rem;
}
.cat-banner__desc { font-size: .95rem; color: rgba(255,255,255,.65); max-width: 540px; line-height: 1.65; }

/* ────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────── */
@media (max-width: 768px) {
  .bc-hero { padding: 4rem 1.25rem 2.5rem; }
  .bc-circles { gap: 50px; }
  .bc-circle-item { width: 135px; height: 135px; }
  .bc-circle-img { width: 135px; height: 135px; }
  .bc-circle-label { font-size: .76rem; }
  .bc-newsletter { padding: 3.5rem 1.25rem 4.5rem; }
  .cat-banner { min-height: 260px; }
}
@media (max-width: 480px) {
    .bc-circle-item { width: 135px; height: 135px; }
  .bc-circle-img { width: 135px; height: 135px; }
  .bc-newsletter__form { flex-direction: column; }
  .bc-newsletter__btn { width: 100%; }
}