.cch-brands-page {
  --cch-navy: #16375b;
  --cch-blue: #214b86;
  --cch-cyan: #22b7d2;
  --cch-green: #6fc14b;
  --cch-magenta: #b4459f;
  --cch-cream: #f6f2e9;
  --cch-ink: #17324d;
  --cch-muted: #687782;
  color: var(--cch-ink);
  font-family: "DM Sans", sans-serif;
}

.cch-brands-page .site-main,
.cch-brands-page .entry-content { margin: 0; max-width: none; padding: 0; }

.cch-brands-page .cch-brands-hero {
  background:
    radial-gradient(circle at 78% 30%, rgba(180,69,159,.28), transparent 25%),
    radial-gradient(circle at 66% 86%, rgba(111,193,75,.2), transparent 27%),
    linear-gradient(120deg, #112f51 0%, #214b86 62%, #285e76 100%);
  color: #fff;
  min-height: 590px;
  overflow: hidden;
  position: relative;
}
.cch-brands-page .cch-brands-hero::after {
  background-image: radial-gradient(rgba(255,255,255,.15) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent 15%, #000);
  opacity: .45;
  pointer-events: none;
  position: absolute;
}
.cch-brands-page .cch-brands-hero-inner {
  align-items: center;
  display: grid;
  gap: 78px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  margin: 0 auto;
  max-width: 1240px;
  min-height: 590px;
  padding: 96px 28px 82px;
  position: relative;
  z-index: 1;
}
.cch-brands-page .cch-brands-hero-copy { max-width: 690px; }
.cch-brands-page .cch-brands-hero .elementor-heading-title,
.cch-brands-page .cch-brands-hero p { color: #fff; }
.cch-brands-page .cch-brands-hero .cch-el-h1 .elementor-heading-title { font-size: clamp(48px,6vw,82px); letter-spacing: -.035em; line-height: .98; }
.cch-brands-page .cch-brands-hero .cch-el-lead p { color: rgba(255,255,255,.86); font-size: clamp(18px,2vw,23px); line-height: 1.55; max-width: 650px; }

.cch-brand-stat-grid { display: grid; gap: 16px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.cch-brand-stat {
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px;
  color: #fff;
  min-height: 158px;
  padding: 27px;
}
.cch-brand-stat:first-child { background: rgba(180,69,159,.22); }
.cch-brand-stat:last-child { background: rgba(111,193,75,.2); grid-column: 1 / -1; min-height: 130px; }
.cch-brand-stat strong { display: block; font: 600 clamp(38px,4vw,54px)/1 "Fraunces",serif; margin-bottom: 10px; }
.cch-brand-stat span { color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.45; }

.cch-brands-page .cch-brands-intro { margin: 0 auto; max-width: 940px; padding: 100px 28px 64px; text-align: center; }
.cch-brands-page .cch-brands-intro .cch-el-h2 .elementor-heading-title { font-size: clamp(38px,5vw,60px); }
.cch-brands-page .cch-brands-intro .cch-el-intro p { color: var(--cch-muted); font-size: 18px; line-height: 1.75; }

.cch-brands-page .cch-brands-directory-wrap { padding: 92px 28px 24px; }
.cch-brands-directory { margin: 0 auto; max-width: 1240px; }
.cch-brand-section-heading { margin: 0 auto 42px; max-width: 820px; text-align: center; }
.cch-brand-section-heading > span { color: var(--cch-magenta); display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; margin-bottom: 14px; text-transform: uppercase; }
.cch-brand-section-heading h2 { color: var(--cch-ink); font: 600 clamp(36px,4.5vw,58px)/1.08 "Fraunces",serif; letter-spacing: -.025em; margin: 0 0 18px; }
.cch-brand-section-heading p { color: var(--cch-muted); font-size: 17px; line-height: 1.7; margin: 0; }

.cch-own-brands { padding-bottom: 108px; }
.cch-own-brands .cch-brand-section-heading { max-width: 1180px; }
.cch-own-brands .cch-brand-section-heading p { white-space: nowrap; }
.cch-own-brand-grid { display: grid; gap: 28px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.cch-own-brand-card {
  align-items: center;
  background: linear-gradient(135deg,#f8fbfc,#eef6f6);
  border: 1px solid #dfe9ea;
  border-radius: 30px;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(180px,.8fr) minmax(0,1.2fr);
  min-height: 310px;
  overflow: hidden;
  padding: 38px;
  position: relative;
}
.cch-own-brand-card::after { background: var(--cch-cyan); border-radius: 50%; content: ""; height: 180px; opacity: .08; position: absolute; right: -60px; top: -70px; width: 180px; }
.cch-own-brand-shacol::after { background: var(--cch-magenta); }
.cch-own-brand-logo { align-items: center; background: #fff; border-radius: 24px; box-shadow: 0 18px 45px rgba(22,55,91,.1); display: flex; justify-content: center; min-height: 210px; padding: 26px; }
.cch-own-brand-logo img { max-height: 150px; max-width: 100%; object-fit: contain; width: auto; }
.cch-own-brand-copy { position: relative; z-index: 1; }
.cch-own-brand-copy > span { color: var(--cch-magenta); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cch-own-brand-copy h3 { color: var(--cch-ink); font: 600 34px/1.05 "Fraunces",serif; margin: 10px 0 12px; }
.cch-own-brand-copy p { color: var(--cch-muted); line-height: 1.55; margin: 0; }
.cch-own-brand-copy a { color: var(--cch-blue); display: inline-block; font-weight: 800; margin-top: 18px; text-decoration: none; }

.cch-manufacturer-section { padding-bottom: 12px; }
.cch-manufacturer-section .cch-brand-section-heading { max-width: 1220px; }
.cch-manufacturer-section .cch-brand-section-heading h2 { font-size: clamp(38px,3.7vw,52px); white-space: nowrap; }
.cch-manufacturer-section .cch-brand-section-heading p { white-space: nowrap; }
.cch-manufacturer-total { align-items: center; color: var(--cch-muted); display: flex; gap: 12px; justify-content: center; margin: -18px auto 34px; }
.cch-manufacturer-total strong { color: var(--cch-magenta); font: 600 34px/1 "Fraunces",serif; }
.cch-manufacturer-total span { font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cch-manufacturer-grid { display: grid; gap: 18px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.cch-manufacturer-card { background: #fff; border: 1px solid #e3e9ea; border-radius: 22px; box-shadow: 0 10px 32px rgba(22,55,91,.06); min-height: 238px; overflow: hidden; transition: border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.cch-manufacturer-card:hover { border-color: rgba(34,183,210,.7); box-shadow: 0 20px 44px rgba(22,55,91,.12); transform: translateY(-4px); }
.cch-manufacturer-card > a { color: inherit; display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.cch-manufacturer-logo { align-items: center; background: #f8faf9; display: flex; flex: 1; justify-content: center; min-height: 148px; padding: 24px; }
.cch-manufacturer-logo img { max-height: 98px; max-width: 88%; object-fit: contain; width: auto; }
.cch-manufacturer-meta { border-top: 1px solid #edf0f1; padding: 17px 20px 19px; }
.cch-manufacturer-meta h3 { color: var(--cch-ink); font: 600 20px/1.1 "Fraunces",serif; margin: 0 0 5px; }
.cch-manufacturer-meta p { color: var(--cch-muted); font-size: 12px; line-height: 1.4; margin: 0; }

.cch-category-section { background: var(--cch-navy); border-radius: 34px; color: #fff; overflow: hidden; padding: 72px clamp(22px,5vw,72px); position: relative; }
.cch-category-section::after { background-image: radial-gradient(rgba(255,255,255,.1) 1.5px,transparent 1.5px); background-size: 25px 25px; content: ""; inset: 0 0 auto 48%; height: 100%; pointer-events: none; position: absolute; }
.cch-brand-section-heading-light { position: relative; z-index: 1; }
.cch-brand-section-heading-light > span { color: #b9eaa3; }
.cch-brand-section-heading-light h2 { color: #fff; }
.cch-brand-section-heading-light p { color: rgba(255,255,255,.72); }
.cch-category-list { border-top: 1px solid rgba(255,255,255,.18); position: relative; z-index: 1; }
.cch-category-item { border-bottom: 1px solid rgba(255,255,255,.18); }
.cch-category-toggle { align-items: center; background: transparent; border: 0; color: #fff; cursor: pointer; display: grid; font-family: "DM Sans",sans-serif; gap: 18px; grid-template-columns: 44px minmax(0,1fr) auto 40px; padding: 24px 0; text-align: left; width: 100%; }
.cch-category-number { color: #b9eaa3; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.cch-category-toggle strong { font: 600 clamp(21px,2.5vw,29px)/1.2 "Fraunces",serif; }
.cch-category-count { color: rgba(255,255,255,.6); font-size: 13px; font-weight: 700; }
.cch-category-toggle i { align-items: center; background: rgba(255,255,255,.12); border-radius: 50%; display: flex; font-size: 20px; font-style: normal; height: 38px; justify-content: center; transition: transform .2s ease,background .2s ease; width: 38px; }
.cch-category-item.is-open .cch-category-toggle i { background: var(--cch-magenta); transform: rotate(45deg); }
.cch-category-panel { display: grid; gap: 12px; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 2px 0 26px 62px; }
.cch-category-panel[hidden] { display: none; }
.cch-category-brand { align-items: center; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; display: flex; gap: 11px; min-height: 62px; padding: 10px 13px; }
.cch-category-brand > div { align-items: center; background: #fff; border-radius: 9px; display: flex; height: 40px; justify-content: center; padding: 6px; width: 52px; }
.cch-category-brand img { max-height: 28px; max-width: 42px; object-fit: contain; width: auto; }
.cch-category-brand span { color: #fff; font-size: 13px; font-weight: 700; }

.cch-manufacturer-accordion { background: #f7f3eb; border: 1px solid #e9e0d3; border-radius: 30px; box-shadow: 0 24px 60px rgba(22,55,91,.08); overflow: hidden; padding: 12px 24px; }
.cch-manufacturer-accordion .cch-category-item { border-bottom: 1px solid #ddd6ca; }
.cch-manufacturer-accordion .cch-category-item:last-child { border-bottom: 0; }
.cch-manufacturer-accordion .cch-category-toggle,
.cch-manufacturer-accordion .cch-category-toggle:hover,
.cch-manufacturer-accordion .cch-category-toggle:focus { background: transparent !important; border: 0 !important; color: var(--cch-ink) !important; display: grid !important; grid-template-columns: 72px minmax(0,1fr) auto 48px; padding: 24px 10px; width: 100% !important; }
.cch-manufacturer-accordion .cch-category-number { align-items: center; background: #fff; border: 1px solid #e0e6e7; border-radius: 15px; color: var(--cch-magenta); display: flex; font-size: 14px; height: 48px; justify-content: center; letter-spacing: .04em; width: 58px; }
.cch-manufacturer-accordion .cch-category-toggle strong { font-size: clamp(23px,2.5vw,31px); }
.cch-manufacturer-accordion .cch-category-count { color: var(--cch-muted); font-size: 14px; }
.cch-manufacturer-accordion .cch-category-toggle i { background: var(--cch-navy); color: #fff; height: 44px; width: 44px; }
.cch-manufacturer-accordion .cch-category-item:nth-child(4n+2) .cch-category-number { color: var(--cch-cyan); }
.cch-manufacturer-accordion .cch-category-item:nth-child(4n+3) .cch-category-number { color: var(--cch-green); }
.cch-manufacturer-accordion .cch-category-item:nth-child(4n) .cch-category-number { color: var(--cch-blue); }
.cch-manufacturer-accordion .cch-category-item.is-open .cch-category-toggle i { background: var(--cch-magenta); }
.cch-manufacturer-accordion .cch-category-panel { gap: 14px; grid-template-columns: repeat(5,minmax(0,1fr)); padding: 4px 10px 30px 82px; }
.cch-directory-logo { align-items: center; background: #fff; border: 1px solid #e2e8e9; border-radius: 18px; box-shadow: 0 8px 24px rgba(22,55,91,.06); display: flex; justify-content: center; min-height: 126px; padding: 18px; }
.cch-directory-logo img { display: block; height: 90px; max-width: 100%; object-fit: contain; width: 180px; }

.cch-brands-page .cch-brands-ctas { background: #fff; padding: 32px 28px 96px; }
.cch-brands-page .cch-brands-ctas-inner { display: grid; gap: 24px; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0 auto; max-width: 1240px; }
.cch-brands-page .cch-brand-cta { border-radius: 30px; color: #fff; min-height: 420px; overflow: hidden; padding: clamp(36px,5vw,58px); position: relative; }
.cch-brands-page .cch-brand-cta::after { background: radial-gradient(circle,rgba(255,255,255,.18) 1.5px,transparent 1.5px); background-size: 24px 24px; content: ""; height: 240px; position: absolute; right: -40px; top: -40px; width: 260px; }
.cch-brands-page .cch-brand-cta-manufacturer { background: linear-gradient(145deg,#8f337d,#bd4ba5); }
.cch-brands-page .cch-brand-cta-buyer { background: linear-gradient(145deg,#17375b,#266f86); }
.cch-brands-page .cch-brand-cta .elementor-heading-title,
.cch-brands-page .cch-brand-cta p { color: #fff; position: relative; z-index: 1; }
.cch-brands-page .cch-brand-cta .cch-el-h2 .elementor-heading-title { font-size: clamp(28px,3vw,38px) !important; line-height: 1.12 !important; }
.cch-brands-page .cch-brand-cta p { color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.65; }
.cch-brands-page .cch-brand-cta .cch-el-button { margin-top: auto; position: relative; z-index: 1; }

@media (max-width: 1024px) {
  .cch-brands-page .cch-brands-hero-inner { gap: 42px; grid-template-columns: 1fr .85fr; }
  .cch-own-brand-card { gap: 22px; grid-template-columns: 150px 1fr; padding: 28px; }
  .cch-own-brand-logo { min-height: 180px; }
  .cch-manufacturer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .cch-category-panel { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .cch-brands-page .cch-brands-hero { min-height: auto; }
  .cch-brands-page .cch-brands-hero-inner { gap: 42px; grid-template-columns: 1fr; min-height: auto; padding: 76px 20px 60px; }
  .cch-brands-page .cch-brands-hero .cch-el-h1 .elementor-heading-title { font-size: clamp(42px,13vw,60px); }
  .cch-brand-stat { min-height: 120px; padding: 20px; }
  .cch-brands-page .cch-brands-intro { padding: 74px 20px 46px; text-align: left; }
  .cch-brands-page .cch-brands-directory-wrap { padding: 16px 16px 74px; }
  .cch-brand-section-heading { margin-bottom: 30px; text-align: left; }
  .cch-own-brands,.cch-manufacturer-section { padding-bottom: 76px; }
  .cch-own-brands .cch-brand-section-heading p { white-space: normal; }
  .cch-manufacturer-section .cch-brand-section-heading h2,
  .cch-manufacturer-section .cch-brand-section-heading p { white-space: normal; }
  .cch-own-brand-grid { grid-template-columns: 1fr; }
  .cch-own-brand-card { grid-template-columns: 1fr; min-height: 0; padding: 24px; }
  .cch-own-brand-logo { min-height: 170px; }
  .cch-manufacturer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cch-manufacturer-card { min-height: 205px; }
  .cch-manufacturer-logo { min-height: 128px; padding: 18px; }
  .cch-manufacturer-meta { padding: 14px; }
  .cch-manufacturer-meta h3 { font-size: 18px; }
  .cch-category-section { border-radius: 24px; padding: 52px 20px; }
  .cch-category-toggle { gap: 10px; grid-template-columns: 30px minmax(0,1fr) 36px; }
  .cch-category-count { display: none; }
  .cch-category-panel { grid-template-columns: 1fr; padding-left: 40px; }
  .cch-manufacturer-total { justify-content: flex-start; margin-top: -8px; }
  .cch-manufacturer-accordion { border-radius: 22px; max-width: 100%; padding: 8px 10px; }
  .cch-manufacturer-accordion .cch-category-toggle,
  .cch-manufacturer-accordion .cch-category-toggle:hover,
  .cch-manufacturer-accordion .cch-category-toggle:focus { gap: 8px; grid-template-columns: 44px minmax(0,1fr) 36px; min-width: 0; padding: 16px 2px; }
  .cch-manufacturer-accordion .cch-category-number { border-radius: 11px; font-size: 12px; height: 38px; width: 40px; }
  .cch-manufacturer-accordion .cch-category-toggle strong { font-size: clamp(16px,4.7vw,19px); line-height: 1.14; min-width: 0; overflow-wrap: anywhere; white-space: normal !important; }
  .cch-manufacturer-accordion .cch-category-count { display: none; }
  .cch-manufacturer-accordion .cch-category-toggle i { font-size: 18px; height: 34px; width: 34px; }
  .cch-manufacturer-accordion .cch-category-panel { gap: 8px; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 2px 2px 20px; }
  .cch-manufacturer-accordion .cch-directory-logo { border-radius: 12px; min-height: 88px; padding: 10px; }
  .cch-manufacturer-accordion .cch-directory-logo img { height: 64px; max-width: 100%; width: 120px; }
  .cch-brands-page .cch-brands-ctas { padding: 72px 16px; }
  .cch-brands-page .cch-brands-ctas-inner { grid-template-columns: 1fr; }
  .cch-brands-page .cch-brand-cta { min-height: 390px; }
}

@media (max-width: 420px) {
  .cch-manufacturer-grid { grid-template-columns: 1fr; }
  .cch-brand-stat-grid { grid-template-columns: 1fr 1fr; }
}
