/* ===================================================
   Casper Dental — home page
   =================================================== */

.ch-home {
  --ch-navy: #1c2b3a;
  --ch-navy-2: #111c30;
  --ch-blue: #07acf7;
  --ch-blue-dark: #0590d1;
  --ch-line: #d9e8f2;
  --ch-tint: #edf7fe;
  --ch-muted: #5b6b7f;
}

/* ---------- Buttons ---------- */
.ch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

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

.ch-btn--primary {
  background: var(--ch-blue);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 172, 247, 0.28);
}

.ch-btn--primary:hover {
  background: var(--ch-blue-dark);
  color: #ffffff;
}

.ch-btn--ghost {
  border: 1px solid #b5dcf3;
  background: #ffffff;
  color: var(--ch-navy);
}

.ch-btn--ghost:hover {
  border-color: var(--ch-blue);
  color: var(--ch-blue-dark);
}

/* ---------- Hero ---------- */
.ch-hero {
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(7, 172, 247, 0.20), transparent 62%),
    linear-gradient(160deg, #ffffff 0%, #e9f6fe 100%);
  color: var(--ch-navy);
  padding: 72px 0 84px;
  overflow: hidden;
}

.ch-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.ch-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ch-blue-dark);
  margin-bottom: 18px;
}

.ch-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.12;
  font-weight: 700;
  color: var(--ch-navy);
  margin: 0 0 18px;
}

.ch-hero h1 em {
  font-style: normal;
  color: var(--ch-blue-dark);
}

.ch-hero-text > p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ch-muted);
  max-width: 520px;
  margin: 0 0 28px;
}

.ch-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.ch-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid #cfe6f5;
}

.ch-hero-stats li {
  display: flex;
  flex-direction: column;
}

.ch-hero-stats strong {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ch-blue-dark);
  line-height: 1.1;
}

.ch-hero-stats span {
  font-size: 0.85rem;
  color: var(--ch-muted);
}

.ch-hero-visual {
  position: relative;
}

.ch-hero-visual > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 28px 56px rgba(7, 110, 170, 0.22);
}

.ch-hero-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: var(--ch-navy);
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(7, 110, 170, 0.20);
}

.ch-hero-badge-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.ch-hero-badge strong {
  display: block;
  font-size: 0.95rem;
}

.ch-hero-badge span {
  font-size: 0.8rem;
  color: var(--ch-muted);
}

/* ---------- Offer banners ---------- */
.ch-offers {
  padding: 0 0 56px;
  background: #ffffff;
  overflow: hidden;
}

.ch-offers-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px max(24px, calc((100vw - var(--container-width, 1240px)) / 2 + 24px)) 18px;
  scroll-padding-left: max(24px, calc((100vw - var(--container-width, 1240px)) / 2 + 24px));
}

.ch-offers-track::-webkit-scrollbar {
  display: none;
}

.ch-offer {
  position: relative;
  flex: 0 0 min(1040px, 88%);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  min-height: 340px;
  padding: 24px 56px 24px 24px;
  border-radius: 26px;
  overflow: hidden;
  color: #ffffff;
  scroll-snap-align: start;
  box-shadow: 0 18px 38px rgba(7, 120, 180, 0.22);
}

.ch-offers--single .ch-offer {
  flex-basis: 100%;
}

.ch-offer--0 { background: linear-gradient(120deg, #07acf7 0%, #0a6fb0 100%); }
.ch-offer--1 { background: linear-gradient(120deg, #0a8fd6 0%, #0b5f9c 100%); }
.ch-offer--2 { background: linear-gradient(120deg, #49c3f5 0%, #0590d1 100%); }

/* Large soft circle behind the picture */
.ch-offer-shape {
  position: absolute;
  left: -90px;
  top: -70px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.ch-offer--noimage .ch-offer-shape {
  left: auto;
  right: -140px;
  top: -160px;
}

.ch-offer-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-offer-media img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ch-offer:hover .ch-offer-media img {
  transform: scale(1.04) rotate(-1.5deg);
}

.ch-offer-text {
  position: relative;
}

.ch-offer--noimage {
  grid-template-columns: 1fr;
  padding: 36px 48px;
}

.ch-offer--noimage .ch-offer-text {
  max-width: 640px;
}

.ch-offer h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.08;
  color: #ffffff;
  margin: 0 0 14px;
}

.ch-offer p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 26px;
}

.ch-offer p strong {
  font-weight: 700;
  color: #ffffff;
}

.ch-offer-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ch-navy);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ch-offer-btn:hover {
  transform: translateY(-2px);
  color: var(--ch-blue-dark);
  box-shadow: 0 12px 24px rgba(4, 60, 95, 0.25);
}

.ch-offer-btn svg {
  transition: transform 0.18s ease;
}

.ch-offer-btn:hover svg {
  transform: translateX(4px);
}

.ch-offers-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.ch-offers-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #cfe6f5;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.ch-offers-dot.is-active {
  width: 30px;
  background: var(--ch-blue);
}

@media (max-width: 760px) {
  .ch-offer {
    grid-template-columns: 1fr;
    flex-basis: 90%;
    min-height: 0;
    padding: 28px 24px;
    text-align: left;
  }

  .ch-offer-media img {
    max-height: 170px;
  }
}

/* ---------- Sections ---------- */
.ch-section {
  padding: 68px 0;
  background: #ffffff;
}

.ch-section--tint {
  background: var(--ch-tint);
}

.ch-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.ch-section-head--center {
  justify-content: center;
  text-align: center;
}

.ch-section-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--ch-navy);
  margin: 0 0 6px;
}

.ch-section-head p {
  margin: 0;
  color: var(--ch-muted);
}

.ch-link {
  font-weight: 600;
  color: var(--ch-blue-dark);
  text-decoration: none;
  white-space: nowrap;
}

.ch-link:hover {
  text-decoration: underline;
}

/* ---------- Categories: animated carousel ---------- */
.ch-catsection {
  overflow: hidden;
}

.ch-catnav {
  display: flex;
  gap: 10px;
}

.ch-catnav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid #b5dcf3;
  background: #ffffff;
  color: var(--ch-blue-dark);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.ch-catnav-btn:hover {
  background: var(--ch-blue);
  border-color: var(--ch-blue);
  color: #ffffff;
  transform: scale(1.06);
}

.ch-cattrack {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 8px max(24px, calc((100vw - var(--container-width, 1240px)) / 2 + 24px)) 26px;
  scroll-padding-left: max(24px, calc((100vw - var(--container-width, 1240px)) / 2 + 24px));
}

.ch-cattrack::-webkit-scrollbar {
  display: none;
}

.ch-catcard {
  position: relative;
  flex: 0 0 236px;
  height: 268px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 24px;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  scroll-snap-align: start;
  box-shadow: 0 14px 30px rgba(7, 140, 205, 0.22);
  opacity: 0;
  transform: translateY(26px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.ch-cattrack.is-visible .ch-catcard {
  animation: ch-card-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--i) * 70ms);
}

@keyframes ch-card-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ch-catcard--0 { background: linear-gradient(150deg, #29bbfa 0%, #0590d1 100%); }
.ch-catcard--1 { background: linear-gradient(150deg, #0aa0e6 0%, #0a6fb0 100%); }
.ch-catcard--2 { background: linear-gradient(150deg, #5fd0ff 0%, #07acf7 100%); }
.ch-catcard--3 { background: linear-gradient(150deg, #1695d6 0%, #0b5f9c 100%); }

/* Soft light sweep across the card on hover */
.ch-catcard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.ch-catcard:hover::after {
  transform: translateX(120%);
}

.ch-catcard:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 24px 44px rgba(7, 140, 205, 0.34);
  color: #ffffff;
}

.ch-catcard-mark {
  position: absolute;
  right: -34px;
  bottom: -30px;
  width: 190px;
  height: 190px;
  color: rgba(255, 255, 255, 0.2);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ch-catcard:hover .ch-catcard-mark {
  transform: rotate(-10deg) scale(1.12);
}

.ch-catcard-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #ffffff;
  color: var(--ch-blue-dark);
  box-shadow: 0 8px 18px rgba(4, 80, 120, 0.2);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ch-catcard:hover .ch-catcard-icon {
  transform: rotate(-8deg) scale(1.08);
}

.ch-catcard-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ch-catcard-name {
  font-family: var(--font-display, inherit);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.2;
}

.ch-catcard-count {
  font-size: 0.86rem;
  opacity: 0.9;
}

.ch-catcard-go {
  position: absolute;
  left: 22px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ch-blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ch-catcard:hover .ch-catcard-go {
  opacity: 1;
  transform: translateY(0);
}

.ch-catcard:hover .ch-catcard-body {
  transform: translateY(-44px);
}

.ch-catprogress {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: var(--ch-line);
  overflow: hidden;
}

.ch-catprogress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 20%;
  border-radius: 4px;
  background: var(--ch-blue);
  transition: left 0.25s ease;
}

@media (max-width: 600px) {
  .ch-catcard {
    flex-basis: 190px;
    height: 230px;
    padding: 18px;
  }

  .ch-catcard-name {
    font-size: 1.05rem;
  }

  .ch-catnav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ch-catcard {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

/* ---------- Steps ---------- */
.ch-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ch-step {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: 20px;
  background: var(--ch-tint);
  border: 1px solid var(--ch-line);
  color: var(--ch-navy);
}

.ch-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ch-blue);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 16px;
}

.ch-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ch-navy);
  margin: 0 0 8px;
}

.ch-step p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ch-muted);
}

/* ---------- Brands: two rows scrolling in opposite directions ---------- */
.ch-brandsection {
  overflow: hidden;
}

.ch-marquee {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Chips fade out towards both edges of the screen. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.ch-marquee-row {
  display: flex;
  overflow: hidden;
  padding: 6px 0;
}

.ch-marquee-track {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
  min-width: 200%;
  animation: ch-marquee 42s linear infinite;
}

.ch-marquee-row--reverse .ch-marquee-track {
  animation-direction: reverse;
  animation-duration: 48s;
}

.ch-marquee:hover .ch-marquee-track {
  animation-play-state: paused;
}

@keyframes ch-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ch-chip {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  height: 84px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--ch-line);
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(11, 47, 74, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ch-chip img {
  max-height: 44px;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.ch-chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ch-blue);
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ch-chip-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ch-navy);
  transition: color 0.25s ease;
}

.ch-chip:hover {
  transform: scale(1.07);
  border-color: var(--ch-blue);
  background: var(--ch-blue);
  box-shadow: 0 14px 28px rgba(7, 172, 247, 0.3);
}

.ch-chip:hover .ch-chip-name {
  color: #ffffff;
}

.ch-chip:hover .ch-chip-dot {
  background: #ffffff;
  transform: scale(1.4);
}

/* Logos keep a white pill so they stay readable. */
.ch-chip:has(img):hover {
  background: #ffffff;
}

.ch-chip:hover img {
  filter: none;
  opacity: 1;
}

.ch-brand-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

@media (max-width: 600px) {
  .ch-chip {
    min-width: 150px;
    height: 68px;
    padding: 0 20px;
  }

  .ch-chip-name {
    font-size: 0.88rem;
  }

  .ch-marquee-track {
    animation-duration: 30s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ch-marquee-row {
    overflow-x: auto;
  }

  .ch-marquee-track {
    animation: none;
  }
}

/* ---------- Contact band ---------- */
.ch-cta {
  background: linear-gradient(120deg, #e9f6fe 0%, #f7fcff 100%);
  border-top: 1px solid var(--ch-line);
  color: var(--ch-navy);
  padding: 56px 0;
}

.ch-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.ch-cta h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--ch-navy);
  margin: 0 0 6px;
}

.ch-cta p {
  margin: 0;
  color: var(--ch-muted);
}

.ch-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .ch-hero {
    padding: 48px 0 60px;
  }

  .ch-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ch-hero-badge {
    left: 14px;
    bottom: 14px;
  }

  .ch-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ch-section {
    padding: 48px 0;
  }

  .ch-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ch-section-head--center {
    align-items: center;
  }

  .ch-hero-stats {
    gap: 24px;
  }

  .ch-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ch-cat {
    grid-template-columns: 1fr;
    row-gap: 8px;
    text-align: left;
  }

  .ch-cat-thumb {
    grid-row: auto;
  }

  .ch-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ch-btn {
    width: 100%;
  }
}

/* ---------- Offer page ---------- */
.co-section {
  padding: 48px 0;
  background: #ffffff;
}

.co-section--tint {
  background: var(--ch-tint);
  padding-bottom: 72px;
}

.co-hero {
  flex: none;
  width: 100%;
}

.co-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.co-step {
  padding: 26px 24px;
  border-radius: 20px;
  background: var(--ch-tint);
  border: 1px solid var(--ch-line);
}

.co-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ch-blue);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 14px;
}

.co-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ch-navy);
  margin: 0 0 8px;
}

.co-step p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ch-muted);
}

.co-page .product-grid {
  margin-top: 0;
}

.co-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--ch-muted);
  background: #ffffff;
  border: 1px dashed #b5dcf3;
  border-radius: 18px;
}

@media (max-width: 960px) {
  .co-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .co-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Hero: product picture across the whole section, text on top ---------- */
.ch-hero {
  position: relative;
  background-color: #07acf7;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 96px 0 104px;
}

/* Blue veil so the text stays readable over the picture */
.ch-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 118, 178, 0.96) 0%, rgba(5, 144, 209, 0.9) 38%, rgba(7, 172, 247, 0.55) 70%, rgba(7, 172, 247, 0.25) 100%);
}

.ch-hero-grid {
  position: relative;
  display: block;
}

.ch-hero-text {
  max-width: 640px;
}

.ch-hero .ch-eyebrow {
  color: #ffffff;
  opacity: 0.9;
}

.ch-hero h1,
.ch-hero h1 em {
  color: #ffffff;
}

.ch-hero h1 em {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}

.ch-hero-text > p {
  color: rgba(255, 255, 255, 0.92);
}

.ch-hero .ch-btn--primary {
  background: #ffffff;
  color: var(--ch-blue-dark);
  box-shadow: 0 12px 26px rgba(3, 70, 110, 0.28);
}

.ch-hero .ch-btn--primary:hover {
  background: #eaf6fe;
  color: var(--ch-blue-dark);
}

.ch-hero .ch-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.ch-hero .ch-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  color: #ffffff;
}

.ch-hero-stats {
  border-top-color: rgba(255, 255, 255, 0.35);
}

.ch-hero-stats strong {
  color: #ffffff;
}

.ch-hero-stats span {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 960px) {
  .ch-hero {
    padding: 60px 0 68px;
  }

  .ch-hero::before {
    background: linear-gradient(180deg, rgba(4, 118, 178, 0.94) 0%, rgba(5, 144, 209, 0.88) 100%);
  }
}

/* ===================================================
   Lighter palette: blue as an accent only
   =================================================== */

/* Hero: light picture, dark text */
.ch-hero {
  background-color: #f0f3f7;
  color: var(--ch-navy);
}

.ch-hero::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 36%, rgba(255, 255, 255, 0.5) 62%, rgba(255, 255, 255, 0) 100%);
}

.ch-hero .ch-eyebrow {
  color: var(--ch-blue-dark);
  opacity: 1;
}

.ch-hero h1 {
  color: var(--ch-navy);
}

.ch-hero h1 em {
  color: var(--ch-blue-dark);
  text-decoration: none;
}

.ch-hero-text > p {
  color: var(--ch-muted);
}

.ch-hero .ch-btn--primary {
  background: var(--ch-blue);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 172, 247, 0.28);
}

.ch-hero .ch-btn--primary:hover {
  background: var(--ch-blue-dark);
  color: #ffffff;
}

.ch-hero .ch-btn--ghost {
  background: #ffffff;
  border-color: #d5dae1;
  color: var(--ch-navy);
}

.ch-hero .ch-btn--ghost:hover {
  background: #ffffff;
  border-color: var(--ch-blue);
  color: var(--ch-blue-dark);
}

.ch-hero-stats {
  border-top-color: #d9dee5;
}

.ch-hero-stats strong {
  color: var(--ch-navy);
}

.ch-hero-stats span {
  color: var(--ch-muted);
}

@media (max-width: 960px) {
  .ch-hero::before {
    background: rgba(255, 255, 255, 0.93);
  }
}

/* Category cards: white, with a blue icon */
.ch-catcard,
.ch-catcard--0,
.ch-catcard--1,
.ch-catcard--2,
.ch-catcard--3 {
  background: #ffffff;
  border: 1px solid var(--ch-line);
  color: var(--ch-navy);
  box-shadow: 0 8px 22px rgba(28, 43, 58, 0.06);
}

.ch-catcard::after {
  background: linear-gradient(115deg, transparent 35%, rgba(7, 172, 247, 0.1) 50%, transparent 65%);
}

.ch-catcard:hover {
  border-color: var(--ch-blue);
  color: var(--ch-navy);
  box-shadow: 0 20px 38px rgba(28, 43, 58, 0.12);
}

.ch-catcard-mark {
  color: rgba(28, 43, 58, 0.06);
}

.ch-catcard-icon {
  background: #eaf6fe;
  color: var(--ch-blue-dark);
  box-shadow: none;
}

.ch-catcard-name {
  color: var(--ch-navy);
}

.ch-catcard-count {
  color: var(--ch-muted);
  opacity: 1;
}

.ch-catcard-go {
  background: var(--ch-blue);
  color: #ffffff;
}

.ch-catnav-btn {
  border-color: #d5dae1;
  color: var(--ch-navy);
}

/* Brand chips and steps: neutral */
.ch-chip:hover {
  background: #ffffff;
  border-color: var(--ch-blue);
  box-shadow: 0 14px 28px rgba(28, 43, 58, 0.12);
}

.ch-chip:hover .ch-chip-name {
  color: var(--ch-blue-dark);
}

.ch-chip:hover .ch-chip-dot {
  background: var(--ch-blue);
}

.ch-link {
  color: var(--ch-navy);
  text-decoration: underline;
  text-decoration-color: var(--ch-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.ch-link:hover {
  color: var(--ch-blue-dark);
}

.ch-cta {
  background: var(--ch-tint);
}

/* ===================================================
   Balanced palette: pale blue backgrounds, pastel category cards
   =================================================== */
.ch-hero {
  background-color: #dcf0fc;
}

.ch-hero::before {
  background: linear-gradient(90deg, rgba(215, 238, 252, 0.97) 0%, rgba(215, 238, 252, 0.9) 34%, rgba(215, 238, 252, 0.35) 60%, rgba(215, 238, 252, 0) 100%);
}

@media (max-width: 960px) {
  .ch-hero::before {
    background: rgba(215, 238, 252, 0.9);
  }
}

.ch-catsection {
  background: var(--ch-tint);
}

.ch-catcard--0 {
  background: #e1f3fe;
  border-color: transparent;
}

.ch-catcard--0 .ch-catcard-icon {
  background: #ffffff;
  color: #0590d1;
}

.ch-catcard--0 .ch-catcard-mark {
  color: #0590d1;
  opacity: 0.13;
}

.ch-catcard--0:hover {
  border-color: #0590d1;
}

.ch-catcard--0 .ch-catcard-go {
  background: #0590d1;
}

.ch-catcard--1 {
  background: #e0f6ec;
  border-color: transparent;
}

.ch-catcard--1 .ch-catcard-icon {
  background: #ffffff;
  color: #0f9d6b;
}

.ch-catcard--1 .ch-catcard-mark {
  color: #0f9d6b;
  opacity: 0.13;
}

.ch-catcard--1:hover {
  border-color: #0f9d6b;
}

.ch-catcard--1 .ch-catcard-go {
  background: #0f9d6b;
}

.ch-catcard--2 {
  background: #ffeede;
  border-color: transparent;
}

.ch-catcard--2 .ch-catcard-icon {
  background: #ffffff;
  color: #e07a1f;
}

.ch-catcard--2 .ch-catcard-mark {
  color: #e07a1f;
  opacity: 0.13;
}

.ch-catcard--2:hover {
  border-color: #e07a1f;
}

.ch-catcard--2 .ch-catcard-go {
  background: #e07a1f;
}

.ch-catcard--3 {
  background: #fdf4d3;
  border-color: transparent;
}

.ch-catcard--3 .ch-catcard-icon {
  background: #ffffff;
  color: #b98b06;
}

.ch-catcard--3 .ch-catcard-mark {
  color: #b98b06;
  opacity: 0.13;
}

.ch-catcard--3:hover {
  border-color: #b98b06;
}

.ch-catcard--3 .ch-catcard-go {
  background: #b98b06;
}

.ch-catcard {
  box-shadow: none;
}

.ch-cta {
  background: linear-gradient(120deg, #e1f3fe 0%, #edf7fe 100%);
}

/* ---------- Category cards: blue ---------- */
.ch-catcard--0 {
  background: linear-gradient(150deg, #29bbfa 0%, #0590d1 100%);
  border-color: transparent;
}

.ch-catcard--0:hover {
  border-color: transparent;
}

.ch-catcard--0 .ch-catcard-icon {
  background: #ffffff;
  color: #0590d1;
}

.ch-catcard--0 .ch-catcard-mark {
  color: #ffffff;
  opacity: 0.2;
}

.ch-catcard--0 .ch-catcard-go {
  background: #ffffff;
  color: #0590d1;
}

.ch-catcard--1 {
  background: linear-gradient(150deg, #0aa0e6 0%, #0a6fb0 100%);
  border-color: transparent;
}

.ch-catcard--1:hover {
  border-color: transparent;
}

.ch-catcard--1 .ch-catcard-icon {
  background: #ffffff;
  color: #0590d1;
}

.ch-catcard--1 .ch-catcard-mark {
  color: #ffffff;
  opacity: 0.2;
}

.ch-catcard--1 .ch-catcard-go {
  background: #ffffff;
  color: #0590d1;
}

.ch-catcard--2 {
  background: linear-gradient(150deg, #5fd0ff 0%, #07acf7 100%);
  border-color: transparent;
}

.ch-catcard--2:hover {
  border-color: transparent;
}

.ch-catcard--2 .ch-catcard-icon {
  background: #ffffff;
  color: #0590d1;
}

.ch-catcard--2 .ch-catcard-mark {
  color: #ffffff;
  opacity: 0.2;
}

.ch-catcard--2 .ch-catcard-go {
  background: #ffffff;
  color: #0590d1;
}

.ch-catcard--3 {
  background: linear-gradient(150deg, #1695d6 0%, #0b5f9c 100%);
  border-color: transparent;
}

.ch-catcard--3:hover {
  border-color: transparent;
}

.ch-catcard--3 .ch-catcard-icon {
  background: #ffffff;
  color: #0590d1;
}

.ch-catcard--3 .ch-catcard-mark {
  color: #ffffff;
  opacity: 0.2;
}

.ch-catcard--3 .ch-catcard-go {
  background: #ffffff;
  color: #0590d1;
}

.ch-catcard,
.ch-catcard:hover {
  color: #ffffff;
}

.ch-catcard {
  box-shadow: 0 14px 30px rgba(7, 140, 205, 0.22);
}

.ch-catcard:hover {
  box-shadow: 0 24px 44px rgba(7, 140, 205, 0.34);
}

.ch-catcard::after {
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
}

.ch-catcard-name {
  color: #ffffff;
}

.ch-catcard-count {
  color: #ffffff;
  opacity: 0.9;
}

/* ---------- Category cards with a photo ---------- */
.ch-catcard--photo {
  background-size: cover;
  background-position: center;
}

.ch-catcard--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 70, 115, 0.05) 30%, rgba(4, 60, 100, 0.85) 100%);
  transition: opacity 0.35s ease;
}

.ch-catcard--photo .ch-catcard-mark {
  display: none;
}

.ch-catcard--photo:hover::before {
  opacity: 0.85;
}

/* ---------- Hero: animated slideshow behind the text ---------- */
.ch-hero--slides {
  background-image: none;
  background-color: #dcf0fc;
  overflow: hidden;
}

.ch-hero-slides {
  position: absolute;
  inset: 0;
}

/* 5 slides of 6 s each: fade in, hold while zooming slowly, fade out */
.ch-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: 0;
  animation: ch-hero-slide 30s infinite;
}

.ch-hero-slide:nth-child(1) { animation-delay: 0s; }
.ch-hero-slide:nth-child(2) { animation-delay: 6s; }
.ch-hero-slide:nth-child(3) { animation-delay: 12s; }
.ch-hero-slide:nth-child(4) { animation-delay: 18s; }
.ch-hero-slide:nth-child(5) { animation-delay: 24s; }

@keyframes ch-hero-slide {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }

  4% {
    opacity: 1;
  }

  20% {
    opacity: 1;
  }

  25% {
    opacity: 0;
    transform: scale(1.12);
  }

  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

/* Light veil on the text side; the photo stays visible on the right */
.ch-hero--slides::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(225, 243, 254, 0.97) 0%, rgba(225, 243, 254, 0.9) 34%, rgba(225, 243, 254, 0.35) 62%, rgba(225, 243, 254, 0) 100%);
}

.ch-hero--slides .ch-hero-grid {
  z-index: 2;
}

/* Text arrives in sequence on page load */
.ch-hero--slides .ch-eyebrow,
.ch-hero--slides h1,
.ch-hero--slides .ch-hero-text > p,
.ch-hero--slides .ch-hero-actions,
.ch-hero--slides .ch-hero-stats {
  opacity: 0;
  animation: ch-hero-text 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.ch-hero--slides h1 { animation-delay: 0.12s; }
.ch-hero--slides .ch-hero-text > p { animation-delay: 0.24s; }
.ch-hero--slides .ch-hero-actions { animation-delay: 0.36s; }
.ch-hero--slides .ch-hero-stats { animation-delay: 0.48s; }

@keyframes ch-hero-text {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .ch-hero--slides::before {
    background: rgba(225, 243, 254, 0.86);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ch-hero-slide {
    animation: none;
  }

  .ch-hero-slide:first-child {
    opacity: 1;
  }

  .ch-hero--slides .ch-eyebrow,
  .ch-hero--slides h1,
  .ch-hero--slides .ch-hero-text > p,
  .ch-hero--slides .ch-hero-actions,
  .ch-hero--slides .ch-hero-stats {
    opacity: 1;
    animation: none;
  }
}

/* ---------- Home product cards: tinted instead of white ---------- */
.ch-home .product-card {
  background: linear-gradient(180deg, #e4f3fe 0%, #d3ebfb 100%);
  border-color: #c6e3f7;
}

.ch-home .product-card:hover {
  border-color: var(--ch-blue);
  box-shadow: 0 16px 32px rgba(7, 140, 205, 0.18);
}

.ch-home .product-grid:not(.list-view) .product-media {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(7, 110, 170, 0.08);
}

.ch-home .product-card .fav-btn {
  background: #ffffff;
}

.ch-home .product-meta span:first-child {
  color: #3d5a73;
}

.ch-home .product-card .points {
  color: #3d5a73 !important;
}

/* Product sections on white so the tinted cards stand out */
.ch-home .products.ch-section--tint {
  background: #ffffff;
}

/* ---------- "Promotions en cours": its own look, distinct from "Sélection du moment" ---------- */
.ch-home .products.ch-promos {
  background: linear-gradient(135deg, #07acf7 0%, #0a6fb0 100%);
}

.ch-promos .ch-section-head h2,
.ch-promos .ch-section-head p {
  color: #ffffff;
}

.ch-promos .ch-section-head p {
  opacity: 0.9;
}

.ch-promos .ch-link {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

.ch-home .ch-promos .product-card {
  background: #ffffff;
  border: none;
  border-top: 4px solid #ff6b57;
  box-shadow: 0 14px 30px rgba(3, 60, 100, 0.25);
}

.ch-home .ch-promos .product-card:hover {
  box-shadow: 0 22px 40px rgba(3, 60, 100, 0.35);
}

.ch-home .ch-promos .product-grid:not(.list-view) .product-media {
  background-color: #fff6f4;
  box-shadow: none;
}

.ch-promos .ribbon--sale {
  background: #ff6b57;
  font-size: 0.78rem;
  padding: 5px 12px;
}

.ch-promos .price-block strong {
  color: #e2483a !important;
}

.ch-promos .product-actions .btn-primary {
  background: #ff6b57;
}

.ch-promos .product-actions .btn-primary:hover {
  background: #e2483a;
}

/* Promotions: warm pale background instead of blue */
.ch-home .products.ch-promos {
  background: linear-gradient(135deg, #fff4f0 0%, #ffe9e2 100%);
}

.ch-promos .ch-section-head h2 {
  color: var(--ch-navy);
}

.ch-promos .ch-section-head p {
  color: var(--ch-muted);
  opacity: 1;
}

.ch-promos .ch-link {
  color: #c9392b;
  text-decoration-color: #ff6b57;
}

.ch-home .ch-promos .product-card {
  box-shadow: 0 10px 24px rgba(201, 57, 43, 0.12);
}

.ch-home .ch-promos .product-card:hover {
  box-shadow: 0 18px 34px rgba(201, 57, 43, 0.2);
}

/* Promotions: white background again; set apart by the layout — wide cards, picture on the left */
.ch-home .products.ch-promos {
  background: #ffffff;
}

.ch-home .ch-promos .product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.ch-home .ch-promos .product-card {
  flex-direction: row;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid var(--ch-line);
  border-top: 1px solid var(--ch-line);
  border-left: 5px solid #ff6b57;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(28, 43, 58, 0.07);
}

.ch-home .ch-promos .product-card:hover {
  border-color: #ff6b57;
  box-shadow: 0 16px 32px rgba(201, 57, 43, 0.14);
}

.ch-home .ch-promos .product-grid:not(.list-view) .product-media {
  flex: 0 0 42%;
  height: auto;
  min-height: 210px;
  margin: 12px 0 12px 12px;
  background-color: #fff6f4;
}

.ch-home .ch-promos .product-body {
  flex: 1;
  padding: 18px 20px;
  justify-content: center;
}

.ch-home .ch-promos .product-body h3 {
  font-size: 1.02rem;
}

.ch-home .ch-promos .ribbon--sale {
  font-size: 0.95rem;
  padding: 7px 14px;
  border-radius: 12px;
}

@media (max-width: 760px) {
  .ch-home .ch-promos .product-grid {
    grid-template-columns: 1fr !important;
  }

  .ch-home .ch-promos .product-grid:not(.list-view) .product-media {
    flex-basis: 38%;
    min-height: 160px;
  }

  .ch-home .ch-promos .product-grid:not(.list-view) .product-card-excerpt,
  .ch-home .ch-promos .product-grid:not(.list-view) .product-meta span:last-child {
    display: none !important;
  }
}

/* Promotions: the site's sky blue instead of coral (the layout keeps the two sections apart) */
.ch-home .ch-promos .product-card {
  border-left-color: #07acf7;
}

.ch-home .ch-promos .product-card:hover {
  border-color: #07acf7;
  box-shadow: 0 16px 32px rgba(7, 140, 205, 0.16);
}

.ch-home .ch-promos .product-grid:not(.list-view) .product-media {
  background-color: #eef8fe;
}

.ch-promos .ribbon--sale {
  background: #07acf7;
}

.ch-promos .price-block strong {
  color: #0590d1 !important;
}

.ch-promos .product-actions .btn-primary {
  background: #07acf7;
}

.ch-promos .product-actions .btn-primary:hover {
  background: #0590d1;
}

.ch-promos .ch-link {
  color: var(--ch-navy);
  text-decoration-color: #07acf7;
}
