/* ===== Color Guide template ===== */
.cg-hero {
  position: relative;
  background-color: #2d1017;
  background-size: cover;
  background-position: center;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.cg-hero-overlay { width: 100%; padding: 80px 0; background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.6)); }
.cg-hero-title {
  font-family: 'Lato', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.cg-hero-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  text-align: center;
  margin: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 640px) {
  .cg-hero-title { font-size: 32px; }
  .cg-hero-sub { font-size: 16px; }
}

.cg-intro { padding: 64px 0 32px; background: #fff; }
.cg-intro .container { max-width: 880px; text-align: center; }
.cg-intro-label {
  display: inline-block;
  background: #fbf4f5;
  color: #b01733;
  border: 1px solid #f5c6ce;
  border-radius: 999px;
  padding: 4px 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.cg-intro-title {
  font-family: 'Lato', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #030303;
  margin: 0 0 16px;
  line-height: 1.25;
}
.cg-intro-body { font-size: 16px; color: #555; line-height: 1.7; }

.cg-colors { padding: 32px 0 80px; background: #fff; }
.cg-color {
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 32px;
}
.cg-color:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .cg-color { padding: 24px; } }

.cg-color-header { text-align: center; margin-bottom: 20px; }
.cg-color-name {
  font-family: 'Lato', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #b01733;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cg-color-works-with { font-family: 'Manrope', sans-serif; font-size: 14px; color: #6b6b6b; margin: 0; }
.cg-color-desc { font-size: 15px; color: #4a4a4a; line-height: 1.7; max-width: 800px; margin: 0 auto 24px; text-align: center; }

/* Gallery carousel — 3 visible on desktop, 1 on mobile, scroll-snap. */
.cg-gallery {
  position: relative;
  margin: 0 -36px 24px;
  padding: 0 36px;
}
.cg-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.cg-gallery-track::-webkit-scrollbar { display: none; }
@media (max-width: 980px) {
  .cg-gallery-track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 640px) {
  .cg-gallery { margin: 0 -24px 20px; padding: 0 24px; }
  .cg-gallery-track { grid-auto-columns: 100%; gap: 12px; }
}

.cg-gallery-item {
  display: block;
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  background: #f0f0f0;
  aspect-ratio: 4 / 3;
}
.cg-gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.cg-gallery-item:hover img { transform: scale(1.04); }

.cg-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #b01733;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background .15s, color .15s;
}
.cg-gallery-nav:hover { background: #b01733; color: #fff; }
.cg-prev { left: 0; }
.cg-next { right: 0; }
.cg-gallery-nav[disabled] { opacity: 0.35; cursor: not-allowed; }

.cg-cta-wrap { text-align: center; }
.cg-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #b01733;
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.cg-cta-btn:hover { background: #8a1229; transform: translateY(-1px); }

/* Comparison cards */
.cg-compare { padding: 64px 0 96px; background: #fafafa; }
.cg-compare-title {
  font-family: 'Lato', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #030303;
  text-align: center;
  margin: 0 0 32px;
}
.cg-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.cg-compare-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 24px;
}
.cg-compare-card h3 {
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #b01733;
  margin: 0 0 12px;
}
