:root {
  --teal: #8ebdc1;
  --teal-dark: #477d82;
  --berry: #952552;
  --berry-dark: #74183d;
  --cream: #f7f2ea;
  --paper: #fffdf9;
  --ink: #272522;
  --muted: #68635e;
  --line: #ded8cf;
  --green: #157347;
  --shadow: 0 18px 50px rgba(75, 57, 44, .10);
}

.egd, .egd * { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
.egd { width: 100%; max-width: none; margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
.egd-full-page { margin: 0; background: var(--paper); }
.egd a { color: inherit; }

.egd-header { height: 92px; padding: 16px clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(39,37,34,.08); background: rgba(255,253,249,.94); position: relative; z-index: 5; }
.egd-logo { width: 210px; height: 64px; object-fit: contain; object-position: left center; }
.egd-header-link { color: var(--berry); font-size: .92rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

.egd-hero { min-height: 610px; padding: clamp(70px, 9vw, 130px) clamp(22px, 8vw, 130px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: clamp(50px, 8vw, 120px); align-items: center; background: var(--cream); position: relative; overflow: hidden; }
.egd-hero::after { content: ""; width: 380px; height: 380px; position: absolute; right: -160px; top: -155px; border: 70px solid rgba(142,189,193,.27); border-radius: 50%; }
.egd-hero.has-background { color: #fff; background-image: linear-gradient(90deg, rgba(24,31,31,.82), rgba(24,31,31,.52)), var(--egd-hero-bg); background-size: cover; background-position: center; }
.egd-hero.has-background::after { display: none; }
.egd-hero.has-background h1 { color: #fff; }
.egd-hero.has-background .egd-eyebrow { color: #bde3e5; }
.egd-hero.has-background .egd-hero-text { color: rgba(255,255,255,.88); }
.egd-hero-copy { max-width: 760px; position: relative; z-index: 1; }
.egd-eyebrow { margin: 0 0 18px; color: var(--berry); font-size: .76rem; line-height: 1; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.egd h1, .egd h2 { font-family: "Lora", serif; font-weight: 600; letter-spacing: -.035em; }
.egd h1 { margin: 0; max-width: 760px; font-size: clamp(2.8rem, 5.4vw, 5.5rem); line-height: 1.02; }
.egd h1 em { color: var(--berry); font-weight: 500; }
.egd-hero-text { max-width: 680px; margin: 30px 0; font-size: clamp(1.06rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--muted); }
.egd-primary-link { display: inline-flex; gap: 12px; align-items: center; background: var(--berry); color: white; padding: 15px 23px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.egd-primary-link:hover { transform: translateY(-2px); background: var(--berry-dark); }
.egd-hero-card { padding: 40px; background: var(--teal); color: #17373a; border-radius: 42% 58% 44% 56% / 56% 45% 55% 44%; box-shadow: var(--shadow); transform: rotate(1deg); }
.egd-hero-card .egd-heart { display: block; color: var(--berry); font-size: 2.2rem; margin-bottom: 22px; }
.egd-hero-card p { margin: 0; font-size: 1.12rem; line-height: 1.55; font-weight: 600; }
.egd-hero-card p + p { margin-top: 16px; font-weight: 400; }

.egd-needs { padding: clamp(70px, 9vw, 130px) clamp(22px, 6vw, 96px) 170px; max-width: 1500px; margin: 0 auto; }
.egd-section-heading { display: grid; grid-template-columns: 1fr minmax(260px, 430px); gap: 50px; align-items: end; margin-bottom: 34px; }
.egd h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.1; }
.egd-section-heading > p { margin: 0; color: var(--muted); line-height: 1.65; }
.egd-demo-notice { padding: 14px 18px; margin-bottom: 26px; display: flex; gap: 10px 18px; flex-wrap: wrap; border-left: 4px solid var(--teal-dark); background: #eef6f5; color: #3a5f62; font-size: .91rem; }
.egd-category-filters { margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.egd-category-filter { min-height: 44px; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 700 .88rem "DM Sans", sans-serif; cursor: pointer; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.egd-category-filter:hover { transform: translateY(-1px); border-color: var(--teal-dark); color: var(--teal-dark); }
.egd-category-filter:focus-visible { outline: 3px solid rgba(71,125,130,.28); outline-offset: 3px; }
.egd-category-filter.active { border-color: var(--berry); background: var(--berry); color: #fff; }
.egd-donation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.egd-donation-card { min-height: 295px; padding: 26px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr auto auto; gap: 9px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, transform .2s, box-shadow .2s, background .2s; }
.egd-donation-card:hover { transform: translateY(-3px); border-color: var(--teal-dark); box-shadow: var(--shadow); }
.egd-donation-card.selected { border-color: var(--berry); background: #fff9fb; box-shadow: 0 12px 35px rgba(149,37,82,.12); }
.egd-product-image { grid-column: 1 / -1; width: calc(100% + 52px); height: 190px; margin: -26px -26px 12px; display: block; object-fit: cover; border-radius: 14px 14px 0 0; }
.egd-card-number { color: #aaa39b; font-size: .8rem; font-weight: 700; letter-spacing: .1em; }
.egd-category { color: var(--teal-dark); font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.egd-check-wrap { grid-column: 2; grid-row: 2 / span 2; cursor: pointer; }
.egd-check-wrap input { position: absolute; opacity: 0; pointer-events: none; }
.egd-custom-check { width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid #bdb7af; border-radius: 50%; color: transparent; transition: .2s; }
input:focus-visible + .egd-custom-check { outline: 3px solid rgba(71,125,130,.3); outline-offset: 3px; }
input:checked + .egd-custom-check { color: white; border-color: var(--berry); background: var(--berry); }
.egd-donation-card strong { grid-column: 1; font-family: "Lora", serif; font-size: 1.45rem; line-height: 1.2; }
.egd-description { grid-column: 1; color: var(--muted); line-height: 1.5; font-size: .94rem; }
.egd-price { grid-column: 1 / -1; padding-top: 18px; margin-top: 6px; display: flex; align-items: end; justify-content: space-between; gap: 16px; border-top: 1px solid #eee9e2; color: var(--berry); font-size: 1.15rem; font-weight: 700; }
.egd-price small { color: var(--muted); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.egd-product-link { grid-column: 1 / -1; margin-top: 8px; padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--berry); border-radius: 10px; color: var(--berry) !important; font-size: .9rem; font-weight: 700; text-decoration: none !important; transition: background .2s, color .2s; }
.egd-product-link:hover { background: var(--berry); color: #fff !important; }
.egd-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.egd-empty-state { padding: 50px; text-align: center; background: var(--cream); border-radius: 16px; }

.egd-closing { padding: clamp(60px, 8vw, 100px) clamp(22px, 8vw, 130px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; background: var(--teal); color: #17373a; }
.egd-closing .egd-eyebrow { color: var(--berry-dark); }
.egd-closing p:last-child { margin: 0; max-width: 470px; line-height: 1.65; font-size: 1.08rem; }
.egd-footer { padding: 36px clamp(22px, 6vw, 96px) 135px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.egd-footer img { width: 170px; }
.egd-footer p { color: var(--muted); }

.egd-selection-bar { position: fixed; left: 50%; bottom: 20px; z-index: 20; transform: translateX(-50%); width: min(920px, calc(100% - 32px)); padding: 13px 14px 13px 22px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(39,37,34,.96); color: white; box-shadow: 0 18px 55px rgba(0,0,0,.25); backdrop-filter: blur(12px); }
.egd-selection-summary { display: flex; flex-direction: column; gap: 3px; font-size: .9rem; }
.egd-selection-summary strong { color: #b8dfe1; font-size: .78rem; }
#egd-whatsapp-button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 12px; background: #25d366; color: #102c1a; font: 700 .91rem "DM Sans", sans-serif; cursor: pointer; transition: transform .2s, opacity .2s; }
#egd-whatsapp-button svg { width: 22px; height: 22px; fill: currentColor; }
#egd-whatsapp-button:not(:disabled):hover { transform: translateY(-2px); }
#egd-whatsapp-button:disabled { opacity: .38; cursor: not-allowed; }

@media (max-width: 900px) {
  .egd-hero { grid-template-columns: 1fr; min-height: auto; }
  .egd-hero-card { max-width: 520px; padding: 34px; }
  .egd-donation-grid { grid-template-columns: repeat(2, 1fr); }
  .egd-section-heading, .egd-closing { grid-template-columns: 1fr; gap: 25px; }
}

@media (max-width: 620px) {
  .egd-header { height: 76px; padding: 10px 18px; }
  .egd-logo { width: 155px; height: 50px; }
  .egd-header-link { font-size: .78rem; }
  .egd-hero { padding-top: 62px; padding-bottom: 70px; }
  .egd h1 { font-size: clamp(2.55rem, 13vw, 3.8rem); }
  .egd-hero-card { border-radius: 26px; transform: none; }
  .egd-needs { padding-bottom: 210px; }
  .egd-section-heading { margin-bottom: 24px; }
  .egd-category-filters { margin-bottom: 22px; flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
  .egd-category-filter { flex: 0 0 auto; }
  .egd-donation-grid { grid-template-columns: 1fr; }
  .egd-donation-card { min-height: 260px; }
  .egd-product-image { height: 210px; }
  .egd-footer { padding-bottom: 190px; flex-direction: column; align-items: flex-start; }
  .egd-selection-bar { bottom: 10px; padding: 14px; flex-direction: column; align-items: stretch; gap: 11px; }
  .egd-selection-summary { padding: 0 4px; }
  #egd-whatsapp-button { justify-content: center; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

