.chiao-donate-landing {
  --cdl-bg: #fffaf6;
  --cdl-surface: #ffffff;
  --cdl-ink: #101820;
  --cdl-muted: #5e6670;
  --cdl-border: #dfe3e8;
  --cdl-coral: #ff7d6b;
  --cdl-coral-soft: #ffd8cc;
  --cdl-cream: #fff5df;
  --cdl-shadow: 0 24px 70px rgba(16, 24, 32, 0.12);
  overflow: hidden;
  background: var(--cdl-bg);
  color: var(--cdl-ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

.chiao-donate-landing *,
.chiao-donate-landing *::before,
.chiao-donate-landing *::after {
  box-sizing: border-box;
}

.chiao-donate-landing img {
  display: block;
  max-width: 100%;
}

.cdl-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.cdl-hero {
  padding: 72px 0 52px;
}

.cdl-hero-grid {
  display: block;
}

.cdl-eyebrow {
  margin: 0 0 16px;
  color: var(--cdl-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.cdl-hero h1,
.cdl-section-head h2 {
  margin: 0;
  color: var(--cdl-ink);
  font-weight: 900;
  letter-spacing: 0;
}

.cdl-hero h1 {
  max-width: 10em;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.12;
}

.cdl-hero h1 span {
  background: linear-gradient(90deg, rgba(255, 125, 107, 0.36), rgba(234, 234, 234, 0.72));
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.cdl-intro {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--cdl-muted);
  font-size: 17px;
  line-height: 1.9;
}

.cdl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.cdl-primary,
.cdl-secondary,
.cdl-product-btn,
.cdl-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
}

.cdl-primary {
  padding: 0 28px;
  background: var(--cdl-coral);
  color: #fff;
}

.cdl-secondary {
  padding: 0 28px;
  border: 1px solid var(--cdl-border);
  background: #fff;
  color: var(--cdl-ink);
}

.chiao-donate-landing a:hover,
.chiao-donate-landing a:focus {
  color: inherit;
}

.cdl-primary:hover,
.cdl-secondary:hover,
.cdl-product-btn:hover,
.cdl-cta-btn:hover {
  opacity: 0.9;
  transform: scale(1.035);
}

.cdl-primary:hover,
.cdl-primary:focus {
  color: #fff;
}

.cdl-secondary:hover,
.cdl-secondary:focus,
.cdl-product-btn:hover,
.cdl-product-btn:focus,
.cdl-cta-btn:hover,
.cdl-cta-btn:focus {
  color: var(--cdl-ink);
}

.cdl-products {
  padding: 12px 0 86px;
}

.cdl-section-head {
  max-width: 640px;
  margin-bottom: 34px;
}

.cdl-section-head h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.18;
}

.cdl-section-head p:last-child {
  margin: 16px 0 0;
  color: var(--cdl-muted);
  font-size: 16px;
  line-height: 1.8;
}

.cdl-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.cdl-product-card {
  overflow: hidden;
  border: 1px solid var(--cdl-border);
  border-radius: 28px;
  background: var(--cdl-surface);
  box-shadow: 0 18px 50px rgba(16, 24, 32, 0.08);
}

.cdl-product-gallery {
  position: relative;
  overflow: hidden;
  background: #f7f8f9;
}

.cdl-product-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cdl-product-track::-webkit-scrollbar {
  display: none;
}

.cdl-product-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.cdl-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.cdl-lightbox-trigger img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f7f8f9;
}

.cdl-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--cdl-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--cdl-ink);
  transform: translateY(-50%);
  cursor: pointer;
}

.cdl-gallery-nav svg,
.cdl-lightbox-nav svg {
  width: 20px;
  height: 20px;
}

.cdl-gallery-nav path,
.cdl-lightbox-nav path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.cdl-gallery-prev {
  left: 12px;
}

.cdl-gallery-next {
  right: 12px;
}

.cdl-product-body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.cdl-product-body h2 {
  margin: 0;
  color: var(--cdl-ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
}

.cdl-product-summary {
  min-height: 5.8em;
  margin: 0;
  color: var(--cdl-muted);
  font-size: 15px;
  line-height: 1.9;
}

.cdl-product-price {
  margin: 0;
  color: var(--cdl-ink);
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.cdl-product-btn {
  width: 100%;
  min-height: 54px;
  border: 2px solid #ffb59f;
  background: var(--cdl-coral-soft);
  color: var(--cdl-ink);
  font-size: 17px;
}

.cdl-product-btn span {
  margin-left: 8px;
}

.cdl-cta {
  padding: 0 0 86px;
}

.cdl-cta-inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  min-height: 176px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--cdl-coral);
  padding: 0 42px 0 0;
}

.cdl-cta-person {
  width: 180px;
  height: 176px;
  object-fit: cover;
  object-position: center top;
}

.cdl-cta-mark {
  color: #fff;
  line-height: 1;
}

.cdl-cta-mark strong {
  display: block;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: 0.03em;
}

.cdl-cta-mark span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Roboto", sans-serif;
  font-size: 34px;
  font-weight: 900;
}

.cdl-cta-btn {
  min-width: 210px;
  min-height: 54px;
  padding: 0 28px;
  background: #fff;
  color: var(--cdl-ink);
}

.cdl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10, 14, 18, 0.82);
}

.cdl-lightbox.is-open {
  display: flex;
}

.cdl-lightbox-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(860px, 92vw);
  max-height: 86vh;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
}

.cdl-lightbox-frame img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
}

.cdl-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  color: var(--cdl-ink);
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.cdl-lightbox .cdl-lightbox-close:hover,
.cdl-lightbox .cdl-lightbox-close:focus {
  background: #fff;
  color: var(--cdl-ink);
  transform: scale(1.04);
}

.cdl-lightbox .cdl-lightbox-close:focus-visible {
  outline: 2px solid rgba(255, 125, 107, 0.45);
  outline-offset: 3px;
}

.cdl-lightbox .cdl-lightbox-close::before,
.cdl-lightbox .cdl-lightbox-close::after,
.cdl-lightbox .cdl-lightbox-close:hover::before,
.cdl-lightbox .cdl-lightbox-close:hover::after,
.cdl-lightbox .cdl-lightbox-close:focus::before,
.cdl-lightbox .cdl-lightbox-close:focus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 1;
  transform: translate(-50%, -50%) rotate(45deg);
}

.cdl-lightbox .cdl-lightbox-close::after,
.cdl-lightbox .cdl-lightbox-close:hover::after,
.cdl-lightbox .cdl-lightbox-close:focus::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cdl-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--cdl-ink);
  transform: translateY(-50%);
  cursor: pointer;
}

.cdl-lightbox-prev {
  left: 20px;
}

.cdl-lightbox-next {
  right: 20px;
}

.cdl-lightbox-status {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 2;
  transform: translateX(-50%);
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--cdl-ink);
  font-weight: 900;
}

body.cdl-lightbox-lock {
  overflow: hidden;
}

@media (max-width: 900px) {
  .cdl-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .cdl-cta-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 24px;
    text-align: center;
  }

  .cdl-cta-person {
    display: none;
  }
}

@media (max-width: 640px) {
  .cdl-shell {
    width: calc(100% - 32px);
  }

  .cdl-hero {
    padding: 42px 0 34px;
  }

  .cdl-hero h1 {
    font-size: 42px;
  }

  .cdl-intro {
    font-size: 15px;
  }

  .cdl-actions {
    display: grid;
  }

  .cdl-products {
    padding: 28px 0 62px;
  }

  .cdl-section-head h2 {
    font-size: 34px;
  }

  .cdl-product-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .cdl-product-grid::-webkit-scrollbar {
    display: none;
  }

  .cdl-product-card {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
    border-radius: 22px;
  }

  .cdl-product-body {
    padding: 18px;
  }

  .cdl-product-body h2 {
    font-size: 20px;
  }

  .cdl-product-summary {
    min-height: 7.6em;
    font-size: 14px;
  }

  .cdl-product-btn {
    min-height: 48px;
    font-size: 15px;
  }

  .cdl-cta {
    padding-bottom: 62px;
  }

  .cdl-lightbox {
    padding: 16px;
  }

  .cdl-lightbox-frame {
    width: calc(100vw - 32px);
    border-radius: 20px;
  }

  .cdl-lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .cdl-lightbox-prev {
    left: 6px;
  }

  .cdl-lightbox-next {
    right: 6px;
  }
}
