﻿/* Dhul Hijjah page templates.
   The theme provides Tailwind, fonts, header/footer, navigation, and brand color variables. */

body.dhul-hijjah-page {
  background: #fff;
}

.dhul-hijjah-page .wcd-ar,
.dhul-hijjah-page .wcd-block.wcd-ar {
  display: none;
}

body.is-ar .wcd-en,
body.is-ar .wcd-block.wcd-en {
  display: none;
}

body.is-ar .wcd-ar {
  display: inline;
}

body.is-ar .wcd-block.wcd-ar,
.wcd-block {
  display: block;
}

body.is-ar .dhul-hijjah-page,
body.is-ar .wcd-hero,
body.is-ar .wcd-shell,
body.is-ar .gc-sheet,
body.is-ar .gc-mobile-bar {
  direction: rtl;
}

.wcd-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--color-secondary);
  padding: clamp(72px, 9vw, 128px) 20px clamp(48px, 7vw, 92px);
}

.wcd-hero--landing {
  display: grid;
  min-height: clamp(500px, 66vh, 680px);
  place-items: center;
  text-align: center;
}

.wcd-hero--compact {
  padding-block: clamp(48px, 7vw, 82px) clamp(28px, 5vw, 56px);
}

.wcd-hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .68;
  background:
    linear-gradient(90deg, rgba(40, 74, 150, .78) 0 8.8%, transparent 8.8% 27%, rgba(54, 88, 168, .72) 27% 43%, transparent 43%),
    radial-gradient(circle at 9% 0%, rgba(2, 47, 76, .9) 0 17%, transparent 17.2%),
    radial-gradient(circle at 0% 69%, rgba(54, 88, 168, .72) 0 12%, transparent 12.2%),
    radial-gradient(circle at 9% 43%, rgba(54, 88, 168, .72) 0 18%, transparent 18.2%),
    radial-gradient(circle at 43% 0%, rgba(2, 47, 76, .72) 0 32%, transparent 32.2%);
}

.wcd-hero::after {
  content: "";
  position: absolute;
  inset: auto -18% -48% auto;
  width: min(46vw, 540px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  opacity: .45;
}

.wcd-hero-inner,
.wcd-shell,
.wcd-trust {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.wcd-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}

.wcd-hero--landing .wcd-hero-inner {
  justify-items: center;
  width: min(960px, calc(100% - 28px));
}

.wcd-landing-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 20px;
  width: min(960px, calc(100% - 28px));
  margin-inline: auto;
  text-align: center;
}

.wcd-hero-kicker,
.wcd-panel-kicker,
.wcd-summary-kicker,
.gc-recap-label,
.gc-allocated-label,
.gc-alloc-label,
.gc-mode-label,
.gc-amount-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.wcd-hero-kicker {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: var(--color-accent-sand);
  padding: 9px 16px;
  line-height: 1;
}

.wcd-hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #b8861a;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .08);
}

.wcd-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 6vw, 76px);
  line-height: .98;
}

.wcd-hero--landing h1 {
  max-width: 1040px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.04;
  letter-spacing: 0;
}

.wcd-hero h1 em {
  display: block;
  color: var(--color-accent-sand);
  font-style: normal;
}

.wcd-hero--landing h1 em {
  margin-top: 10px;
  font-size: clamp(34px, 4.4vw, 54px);
  font-style: italic;
  font-weight: 500;
}

.wcd-hero-sub {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.75;
}

.wcd-hero--landing .wcd-hero-sub {
  max-width: 860px;
  color: #fff;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.55;
}

.wcd-hero-actions,
.wcd-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.wcd-hero--landing .wcd-hero-actions {
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.wcd-hero--landing .wcd-btn {
  min-width: 195px;
}

.wcd-hero--landing .wcd-btn--light {
  background: var(--color-accent-sand);
}

.wcd-hero--landing .wcd-btn--light-outline {
  border-color: rgba(255, 255, 255, .48);
}

.wcd-action-row {
  margin-top: 22px;
}

.wcd-btn,
.wcd-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

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

.wcd-btn--lg {
  min-height: 52px;
  padding-inline: 22px;
  font-size: 16px;
}

.wcd-btn--primary,
.wcd-btn--primary:visited,
.gc-bar-cta,
.gc-sheet-apply {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .12);
}

.wcd-btn--primary:hover,
.gc-bar-cta:hover,
.gc-sheet-apply:hover {
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
}

.wcd-btn--light,
.wcd-btn--light:visited {
  background: #fff;
  color: var(--color-secondary);
}

.wcd-btn--light-outline,
.wcd-btn--light-outline:visited {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.wcd-btn--light-outline:hover {
  background: #fff;
  color: var(--color-secondary);
}

.wcd-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
  padding-block: clamp(24px, 4vw, 56px);
}

.wcd-shell--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 920px;
}

.wcd-shell--schedule {
  margin-top: clamp(16px, 3vw, 32px);
}

.wcd-panel,
.wcd-summary,
.gc-wizard,
.gc-recap,
.gc-gift-card,
.gc-split-card,
.gc-allocated,
.gc-sheet-receipt {
  border: 1px solid rgb(229 231 235);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.wcd-panel,
.gc-wizard {
  padding: clamp(20px, 3vw, 32px);
}

.wcd-panel-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgb(229 231 235);
}

.wcd-panel-head--plain {
  margin: 0;
  padding: 0;
  border: 0;
}

.wcd-panel-title,
.gc-wiz-title,
.wcd-summary-title {
  margin: 8px 0 0;
  color: var(--color-secondary);
  line-height: 1.12;
}

.wcd-panel-title {
  font-size: clamp(28px, 4vw, 44px);
}

.wcd-helper-text,
.wcd-step-copy,
.gc-split-intro,
.gc-gift-desc,
.wcd-summary-note,
.gc-recap-detail,
.gc-split-card-detail,
.gc-allocated-sub {
  color: rgb(75 85 99);
  font-size: 14px;
  line-height: 1.6;
}

.wcd-equation,
.gc-eq-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}

.wcd-eq-cell {
  display: grid;
  gap: 7px;
  align-content: center;
  min-height: 96px;
  border: 1px solid rgb(229 231 235);
  border-radius: 8px;
  background: rgb(249 250 251);
  padding: 16px;
}

.wcd-eq-label {
  color: rgb(107 114 128);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.wcd-eq-value,
.gc-eq-val {
  color: var(--color-secondary);
  font-size: 28px;
  font-weight: 800;
}

.wcd-eq-op,
.gc-eq-strip > span:not(:has(.gc-eq-val)) {
  display: grid;
  place-items: center;
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 800;
}

.wcd-meaning {
  border-inline-start: 4px solid var(--color-primary);
  background: rgb(249 250 251);
  padding: 14px 16px;
}

.wcd-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-block: clamp(20px, 4vw, 42px);
}

.wcd-trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgb(229 231 235);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  color: var(--color-secondary);
}

.wcd-trust-icon,
.wcd-step-num,
.gc-prog-dot,
.gc-wn-dot,
.gc-st-icon,
.gc-split-glyph,
.gc-ssi-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
}

.wcd-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wcd-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}

.wcd-step-title {
  display: block;
  color: var(--color-secondary);
  font-size: 15.5px;
}

.wcd-step-copy {
  display: block;
  margin-top: 4px;
}

.gc-progress {
  display: none;
  width: min(640px, calc(100% - 32px));
  margin: 18px auto 0;
  align-items: center;
  gap: 10px;
}

.gc-prog-step,
.gc-wn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgb(107 114 128);
  font-size: 13px;
  font-weight: 700;
}

.gc-prog-step.is-active,
.gc-wn.is-active,
.gc-wn.is-done {
  color: var(--color-secondary);
}

.gc-prog-line,
.gc-wn-line {
  flex: 1;
  height: 1px;
  background: rgb(229 231 235);
}

.gc-wizard {
  display: grid;
  gap: 22px;
}

.gc-wiz-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgb(229 231 235);
}

.gc-wn {
  border: 0;
  background: transparent;
  padding: 0;
}

.gc-wiz-step {
  display: grid;
  gap: 18px;
}

.gc-wiz-title {
  font-size: clamp(26px, 3vw, 38px);
}

.gc-alloc-block,
.gc-mode-block,
.gc-amount-wrap {
  display: grid;
  gap: 9px;
}

.gc-seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
  border: 1px solid rgb(229 231 235);
  border-radius: 8px;
  background: rgb(249 250 251);
  padding: 5px;
}

.gc-seg button,
.gc-chip,
.gc-sector-change,
.gc-recap-edit {
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--color-secondary);
  padding: 10px 12px;
  font-weight: 700;
}

.gc-seg button.is-active,
.gc-chip.is-active,
.gc-sector-change,
.gc-recap-edit {
  background: var(--color-secondary);
  color: #fff;
}

.gc-amount-field {
  display: grid;
  grid-template-columns: 122px 1fr;
  overflow: hidden;
  border: 1px solid rgb(209 213 219);
  border-radius: 8px;
  background: #fff;
}

.gc-cur-select,
.gc-amount-field input,
.gc-split-input input {
  width: 100%;
  min-height: 54px;
  border: 0;
  background: #fff;
  color: var(--color-secondary);
  padding: 0 14px;
  font-size: 18px;
  font-weight: 800;
  outline: none;
}

.gc-cur-select {
  border-inline-end: 1px solid rgb(229 231 235);
  font-size: 15px;
}

.gc-calc,
.gc-split-summary,
.gc-footer-info {
  min-height: 22px;
  color: var(--color-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.gc-split-summary {
  display: grid;
  place-items: center;
  min-height: 48px;
  margin-top: 12px;
  border: 1px solid rgb(229 231 235);
  border-radius: 8px;
  background: rgb(249 250 251);
  padding: 12px 14px;
  text-align: center;
}

.gc-split-summary strong {
  color: var(--color-secondary);
}

.gc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gc-chip {
  border: 1px solid rgb(229 231 235);
  background: #fff;
}

.gc-allocated {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 14px;
}

.gc-allocated-sub {
  grid-column: 1 / -1;
}

.gc-allocated-val {
  color: var(--color-secondary);
  font-size: 24px;
  font-weight: 800;
}

.gc-split-intro {
  margin: 0;
}

.gc-split-row,
.gc-sector-tile,
.gc-sheet-sector-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgb(229 231 235);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.gc-split-row + .gc-split-row,
.gc-sheet-sector-item + .gc-sheet-sector-item,
.gc-sector-tile + .gc-sector-tile {
  margin-top: 10px;
}

.gc-split-row.is-active,
.gc-sector-tile.is-active,
.gc-sheet-sector-item.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.gc-split-info,
.gc-st-text,
.gc-ssi-text,
.gc-split-card-info,
.gc-recap-info,
.gc-bar-info {
  display: grid;
  gap: 3px;
}

.gc-split-name,
.gc-st-name,
.gc-ssi-name,
.gc-split-card-label,
.gc-gift-title {
  color: var(--color-secondary);
  font-weight: 800;
}

.gc-split-desc,
.gc-st-desc,
.gc-ssi-desc {
  color: rgb(107 114 128);
  font-size: 13px;
  line-height: 1.45;
}

.gc-split-input {
  display: grid;
  grid-template-columns: auto 7ch;
  align-items: center;
  justify-self: end;
  width: fit-content;
  min-width: 112px;
  min-height: 42px;
  border: 1px solid rgb(229 231 235);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.gc-split-sym {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 100%;
  border-inline-end: 1px solid rgb(229 231 235);
  background: rgb(249 250 251);
  color: rgb(107 114 128);
  font-size: 13px;
  font-weight: 800;
}

.gc-split-input input {
  min-height: 42px;
  padding: 0 10px;
  text-align: end;
  font-size: 16px;
}

.gc-step-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgb(229 231 235);
}

.gc-recap {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  box-shadow: none;
}

.gc-recap-edit {
  white-space: nowrap;
}

.gc-eq-strip {
  grid-template-columns: repeat(5, auto);
  justify-content: center;
  border-radius: 8px;
  background: rgb(249 250 251);
  padding: 14px;
  color: var(--color-secondary);
}

.wcd-timeline {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
}

.wcd-day {
  position: relative;
  display: grid;
  gap: 4px;
  grid-template-rows: 14px 30px 16px 14px;
  align-content: start;
  border: 1px solid rgb(229 231 235);
  border-radius: 12px;
  background: #fff;
  min-height: 124px;
  padding: 12px 4px 14px;
  overflow: hidden;
  text-align: center;
}

.wcd-day > * {
  min-width: 0;
  padding-inline: 2px;
}

.wcd-day.is-arafah {
  border-color: var(--color-accent-sand);
  background: color-mix(in srgb, var(--color-accent-sand) 42%, #fff);
}

.wcd-day.is-arafah .wcd-day-date,
.wcd-day.is-arafah .wcd-day-tag {
  color: var(--color-primary);
}

.wcd-day.is-eid {
  border-color: color-mix(in srgb, var(--color-primary) 45%, #fff);
  background: color-mix(in srgb, var(--color-accent-sand) 18%, #fff);
}

.wcd-day.is-eid .wcd-day-date,
.wcd-day.is-eid .wcd-day-tag {
  color: var(--color-primary);
}

.wcd-day.is-closed {
  border-color: rgb(229 231 235);
  background: rgb(249 250 251);
}

.wcd-day.is-closed::after {
  content: none;
}

.wcd-day-lock {
  display: none;
}

.wcd-day-num {
  color: rgb(107 114 128);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.wcd-day-date {
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.wcd-day-amount {
  color: var(--color-primary);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.wcd-day-tag {
  color: rgb(107 114 128);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  padding-inline: 0 !important;
  text-transform: uppercase;
  white-space: nowrap;
}

.wcd-day.is-closed .wcd-day-date {
  color: rgb(107 114 128);
}

.wcd-day.is-closed .wcd-day-amount {
  color: var(--color-secondary);
}

.wcd-day.is-closed .wcd-day-tag {
  color: var(--color-primary);
}

.gc-gift-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px;
  box-shadow: none;
}

.gc-gift-toggle input {
  position: absolute;
  opacity: 0;
}

.gc-gt-track {
  display: block;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: rgb(209 213 219);
  position: relative;
}

.gc-gt-track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  transition: transform .2s ease;
}

.gc-gift-toggle input:checked + .gc-gt-track {
  background: var(--color-primary);
}

.gc-gift-toggle input:checked + .gc-gt-track::after {
  transform: translateX(20px);
}

.gc-gift-boost {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
  color: var(--color-secondary);
  font-size: 13px;
}

.gc-gift-boost-line:first-child {
  color: #15803d;
}

.gc-gift-pill {
  border-radius: 999px;
  background: var(--color-secondary);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.wcd-summary {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 16px;
  padding: 22px;
}

.wcd-summary.bg-primary {
  border-color: color-mix(in srgb, var(--color-primary) 82%, #fff);
  background: var(--color-primary);
  color: #fff;
}

.wcd-summary.bg-primary .wcd-summary-kicker {
  color: var(--color-accent-sand);
}

.wcd-summary.bg-primary .wcd-summary-title,
.wcd-summary.bg-primary .wcd-summary-row,
.wcd-summary.bg-primary .wcd-summary-note,
.wcd-summary.bg-primary .gc-sum-area {
  color: #fff;
}

.wcd-summary.bg-primary .wcd-summary-row {
  border-top-color: rgba(255, 255, 255, .24);
}

.wcd-summary.bg-primary .gc-sum-area,
.wcd-summary.bg-primary .wcd-summary-total {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.wcd-summary.bg-primary .gc-mini-dot {
  background: rgba(255, 255, 255, .28);
  color: #fff;
}

.wcd-summary.bg-primary .gc-mini-dot.is-filled,
.wcd-summary.bg-primary .gc-mini-dot.is-arafah,
.wcd-summary.bg-primary .gc-mini-dot.is-eid {
  background: var(--color-accent-sand);
  color: var(--color-primary);
}

.wcd-summary.bg-primary .gc-mini-dot.is-closed {
  background: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .68);
}

.gc-mini-tl {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  justify-items: center;
  gap: 6px;
}

.gc-mini-dot {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgb(229 231 235);
  color: var(--color-secondary);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.gc-mini-dot.is-filled,
.gc-mini-dot.is-arafah,
.gc-mini-dot.is-eid {
  background: var(--color-primary);
  color: #fff;
}

.gc-mini-dot.is-closed {
  background: rgba(17, 24, 39, .18);
  color: rgba(17, 24, 39, .55);
  text-decoration: none;
}

.gc-sum-area,
.wcd-summary-row,
.wcd-summary-total,
.gc-sheet-row,
.gc-sheet-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgb(75 85 99);
  font-size: 14px;
}

.wcd-summary-row,
.gc-sheet-row {
  padding-top: 12px;
  border-top: 1px solid rgb(229 231 235);
}

.wcd-summary-total,
.gc-sheet-total {
  border-radius: 8px;
  background: rgb(249 250 251);
  color: var(--color-secondary);
  padding: 14px;
  font-weight: 800;
}

.gc-sum-area {
  border-radius: 8px;
  background: rgb(249 250 251);
  padding: 12px;
}

.gc-sum-area + .gc-sum-area {
  margin-top: 8px;
}

.gc-mobile-only,
.gc-mobile-bar,
.gc-sheet,
.gc-sheet-backdrop {
  display: none;
}

.gc-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, .48);
}

.gc-sheet-backdrop.is-open {
  display: block;
}

.gc-sheet {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  max-height: 86vh;
  overflow: auto;
  border-radius: 18px 18px 0 0;
  background: #fff;
  padding: 12px 18px 24px;
  box-shadow: 0 -20px 60px rgba(15, 23, 42, .22);
  transform: translateY(110%);
  transition: transform .25s ease;
}

.gc-sheet.is-open {
  display: block;
  transform: translateY(0);
}

.gc-sheet-grip {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: rgb(209 213 219);
  margin: 0 auto 16px;
}

.gc-sheet-title {
  margin-bottom: 14px;
  color: var(--color-secondary);
  font-size: 20px;
  font-weight: 800;
}

.gc-sheet-apply {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
}

.gc-sheet-receipt {
  display: grid;
  gap: 12px;
  padding: 16px;
  box-shadow: none;
}

.gc-mobile-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 70;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-items: start;
  gap: 8px;
  border-top: 1px solid rgb(229 231 235);
  background: rgb(255, 255, 255);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 34px rgba(15, 23, 42, .12);
}

.gc-bar-total {
  color: var(--color-secondary);
  font-size: 20px;
  font-weight: 800;
}

.gc-bar-detail {
  color: rgb(107 114 128);
  font-size: 12px;
}

.gc-bar-cta {
  grid-column: 1;
  justify-self: start;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  white-space: nowrap;
}

.gc-day-animate {
  animation: gc-day-rise .28s ease both;
}

@keyframes gc-day-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

  .gc-desktop-only,
  .wcd-shell > aside.gc-desktop-only {
    display: none !important;
  }

  .gc-mobile-only,
  .gc-progress {
    display: flex;
  }

  .gc-mobile-bar {
    display: grid;
  }

  .gc-split-card.gc-mobile-only {
    display: grid;
    grid-template-columns: auto 1fr auto;
    padding: 14px;
    box-shadow: none;
  }

  .wcd-shell--schedule .wcd-action-row.justify-end,
  .wcd-shell--schedule .wcd-btn.wcd-btn--primary,
  .wcd-shell--schedule [data-gc-donate] {
    display: none !important;
  }

  .wcd-timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .wcd-day {
    min-height: auto;
    padding: 10px 4px;
    scroll-snap-align: initial;
  }

  body.dhul-hijjah-page {
    padding-bottom: 86px;
  }
}

@media (max-width: 640px) {
  .wcd-hero-inner,
  .wcd-shell,
  .wcd-trust {
    width: min(100% - 24px, 1120px);
  }

  .wcd-hero {
    padding-inline: 12px;
  }

  .wcd-hero--landing {
    min-height: auto;
    padding: 72px 14px 44px;
  }

  .wcd-landing-hero-inner {
    width: min(100%, 560px);
    gap: 14px;
  }

  .wcd-hero-kicker {
    max-width: 100%;
    padding: 8px 12px;
    font-size: 10px;
    white-space: normal;
  }

  .wcd-hero--landing h1 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.05;
  }

  .wcd-hero--landing h1 em {
    margin-top: 6px;
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.12;
  }

  .wcd-hero--landing .wcd-hero-sub {
    max-width: 34rem;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.55;
  }

  .wcd-hero--landing .wcd-hero-actions {
    width: 100%;
    gap: 10px;
    margin-top: 4px;
  }

  .wcd-hero--landing .wcd-btn {
    min-width: 0;
    min-height: 48px;
    justify-content: center;
  }

  .wcd-hero-actions,
  .wcd-action-row,
  .gc-step-footer,
  .gc-recap {
    align-items: stretch;
    flex-direction: column;
  }

  .wcd-btn,
  .gc-step-footer .wcd-btn {
    width: 100%;
  }

  .wcd-equation,
  .gc-eq-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .wcd-shell--schedule [data-gc-review-eq].gc-eq-strip {
    grid-template-columns: minmax(72px, 1fr) auto minmax(58px, .72fr) auto minmax(72px, 1fr);
    justify-content: stretch;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 10px;
    text-align: center;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .wcd-shell--schedule [data-gc-review-eq].gc-eq-strip::-webkit-scrollbar {
    display: none;
  }

  .wcd-shell--schedule [data-gc-review-eq].gc-eq-strip > span {
    min-width: 0;
    font-size: 11px;
    line-height: 1.15;
  }

  .wcd-shell--schedule [data-gc-review-eq].gc-eq-strip .gc-eq-val {
    display: block;
    font-size: clamp(15px, 4vw, 20px);
    line-height: 1.05;
  }

  .wcd-eq-op,
  .gc-eq-strip > span:not(:has(.gc-eq-val)) {
    min-height: 18px;
    font-size: 20px;
  }

  .wcd-panel,
  .gc-wizard {
    padding: 18px;
  }

  .wcd-panel-head {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .wcd-panel-title {
    font-size: clamp(25px, 7vw, 34px);
  }

  .wcd-eq-cell {
    min-height: 78px;
    padding: 14px;
  }

  .wcd-eq-value,
  .gc-eq-val {
    font-size: 24px;
  }

  .wcd-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding-block: 14px;
  }

  .wcd-step-num {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .wcd-trust {
    grid-template-columns: 1fr;
  }

  .gc-seg {
    grid-auto-flow: row;
  }

  .gc-amount-field {
    grid-template-columns: 100px 1fr;
  }

  .gc-split-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .gc-split-input {
    min-width: 104px;
  }

  .wcd-timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin-inline: 0;
    padding-inline: 0;
  }

  .wcd-day {
    grid-template-rows: repeat(3, auto);
    align-content: center;
    gap: 2px;
    border-radius: 10px;
  }

  .wcd-day-date {
    display: none;
  }

  .wcd-day-num {
    font-size: 9px;
  }

  .wcd-day-amount {
    font-size: 13px;
  }

  .wcd-day-tag {
    font-size: 7px;
  }

  .gc-gift-card {
    grid-template-columns: auto 1fr;
  }

  .gc-gift-pill {
    grid-column: 2;
    width: fit-content;
  }
}
