
:root{
  --cc-primary:#173B57;
  --cc-accent:#2563EB;
  --cc-text:#13202B;
  --cc-muted:#64748B;
  --cc-border:#E2E8F0;
  --cc-bg:#F8FAFC;
  --cc-card:#FFFFFF;
  --cc-radius:18px;
  --cc-logo-height:42px;
}

.comparecore-enabled{
  color:var(--cc-text);
}

.comparecore-enabled .custom-logo,
.comparecore-enabled .site-logo img,
.comparecore-enabled .wp-block-site-logo img{
  width:auto !important;
  height:var(--cc-logo-height) !important;
  max-height:var(--cc-logo-height) !important;
  object-fit:contain;
}

.cc-wrap{
  width:min(1180px,calc(100% - 32px));
  margin-inline:auto;
}

.cc-hero{
  padding:88px 0 72px;
  background:linear-gradient(180deg,#F8FAFC 0%,#FFFFFF 100%);
  border-bottom:1px solid var(--cc-border);
}

.cc-hero h1{
  font-size:clamp(2.4rem,6vw,4.8rem);
  line-height:.98;
  max-width:900px;
  letter-spacing:-.04em;
  margin:.25em 0;
}

.cc-lead{
  font-size:clamp(1.05rem,2vw,1.35rem);
  color:var(--cc-muted);
  max-width:760px;
}

.cc-eyebrow,.cc-kicker{
  font-size:.78rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
  color:var(--cc-accent);
}

.cc-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}

.cc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:12px;
  text-decoration:none !important;
  font-weight:750;
  border:1px solid transparent;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}

.cc-btn:hover{ transform:translateY(-1px); }

.cc-btn-primary{
  background:var(--cc-accent);
  color:#fff !important;
  box-shadow:0 8px 20px rgba(15,23,42,.08);
}

.cc-btn-secondary{
  background:#fff;
  border-color:var(--cc-border);
  color:var(--cc-text) !important;
}

.cc-btn-block{ width:100%; margin-top:14px; }

.cc-section{ padding:56px 0; }

.cc-category-grid,.cc-product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.cc-category-card,.cc-product-card{
  background:var(--cc-card);
  border:1px solid var(--cc-border);
  border-radius:var(--cc-radius);
  box-shadow:0 8px 30px rgba(15,23,42,.05);
}

.cc-category-card{
  padding:24px;
  text-decoration:none !important;
  color:var(--cc-text) !important;
}

.cc-category-card:hover,.cc-product-card:hover{
  box-shadow:0 14px 34px rgba(15,23,42,.09);
}

.cc-product-card{ overflow:hidden; }

.cc-product-media img{
  display:block;
  width:100%;
  aspect-ratio:16/10;
  object-fit:contain;
  background:#fff;
}

.cc-product-body{ padding:20px; }

.cc-product-body h3{
  margin:.25rem 0 .5rem;
  font-size:1.25rem;
}

.cc-product-body h3 a{
  color:inherit;
  text-decoration:none;
}

.cc-rating{
  display:inline-flex;
  border-radius:999px;
  background:#EEF2FF;
  padding:6px 10px;
  font-size:.86rem;
  font-weight:800;
  margin-bottom:12px;
}

.cc-stat-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
  border-top:1px solid var(--cc-border);
  border-bottom:1px solid var(--cc-border);
}

.cc-muted{ color:var(--cc-muted); }

.cc-notice{
  background:#EFF6FF;
  border:1px solid #BFDBFE;
  border-radius:14px;
  padding:18px;
}

.cc-compare-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.cc-compare-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:720px;
  background:#fff;
  border:1px solid var(--cc-border);
  border-radius:16px;
  overflow:hidden;
}

.cc-compare-table th,.cc-compare-table td{
  padding:15px 16px;
  border-bottom:1px solid var(--cc-border);
  text-align:left;
  vertical-align:top;
}

.cc-compare-table thead th{
  background:var(--cc-bg);
  font-size:.94rem;
}

.cc-compare-table tbody th{
  width:190px;
  color:var(--cc-muted);
  font-weight:700;
}

@media (max-width:900px){
  .cc-category-grid,.cc-product-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cc-hero{ padding:64px 0 52px; }
  .comparecore-enabled .custom-logo,
  .comparecore-enabled .site-logo img,
  .comparecore-enabled .wp-block-site-logo img{
    height:calc(var(--cc-logo-height) * .82) !important;
    max-height:calc(var(--cc-logo-height) * .82) !important;
  }
}

@media (max-width:620px){
  .cc-category-grid,.cc-product-grid{ grid-template-columns:1fr; }
  .cc-wrap{ width:min(100% - 22px,1180px); }
  .cc-actions .cc-btn{ width:100%; }
  .cc-hero{ padding:48px 0 42px; }
}
