:root {
  --red: #c8102e;
  --dark-red: #a30d24;
  --yellow: #ffeb3b;
  --muted: #f3f4f6;
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: normal;
  src: local("Poppins"), url("assets/fonts/Poppins.woff") format("woff");
}

* {
  font-family: "Poppins";
}
body {
  background: #ffffff !important;
}
span.required {
  color: #c8102e;
  font-weight: 100;
  margin-left: 4px;
  font-size: 15px;
}
.cartFloatingBtn {
  position: fixed;
  top: 30%;
  right: 0px;
  padding: 12px 20px;
  background-color: #e32226;
  color: white;
  border: none;
  border-radius: 10px 0px 0px 10px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  line-height: 1.5;
}
.cartFloatingBtn svg {
  width: 25px;
  height: 25px;
  fill: #ffffff;
}
.cartFloatingBtn:hover {
  background-color: #a90003;
}
.errorMsg {
  margin: -10px 17px !important;
  font-size: 12px;
  color: #ffeb3b;
}
.card-left .kicker {
  display: none !important;
}

.thankyou-img {
  width: 30%;
  margin: 20px;
}
.donation-select {
  padding: 0px 20px !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M5 7 L10 12 L15 7" stroke="black" stroke-width="2" fill="none" stroke-linecap="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}
.monthlStaticText {
  font-style: italic;
  font-size: 10px !important;
  line-height: 1.2;
  margin-top: 10px !important;
  font-weight: 100;
  color: #585858;
}
.descPricePanel {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 5px;
  width: 100%;
}

.descPrice-descPanel {
  line-height: 1.2;
  text-align: left;
  font-size: 13px !important;
}

.descPrice-pricePanel {
  font-weight: 700;
  min-width: 35px;
  text-align: right;
}
.preset-row p {
  font-size: 14px;
  width: 100%;
  margin-bottom: 0px;
}
.donationTitleShow {
  font-weight: 500;
  color: #222;
  font-size: 16px !important;
}
/* Top red header like screenshot */
.site-header-crumbs {
  background: linear-gradient(
    184.15deg,
    rgba(227, 34, 38, 0) -187.51%,
    #e32226 96.62%
  );
  min-height: 150px;
  color: #fff;
  padding: 14px 0;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", Sans-serif;
  z-index: 1;
}

/* HERO with background image and centered donation card */
.hero {
  background-image: url("./assets/images/bgImgForm.jpg");
  background-size: cover;
  background-position: center;
  padding: 48px 12px 80px;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.center-wrap {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.center-wrap.blurred {
  z-index: 2;
}

.donation-card {
  display: flex;
  width: 920px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin: 24px auto;
  background: #fff;
  min-height: 450px;
}

/* left white */
.card-left {
  width: 52%;
  padding: 32px;
  background: #fff;
  background: url("assets/images/panel-img.jpg");
  background-size: cover;
}

.card-left .kicker {
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
  display: inline-block;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(200, 10, 30, 1);
  margin-bottom: 12px;
}

.card-left h2 {
  margin: 4px 0 8px;
  font-size: 27px;
  color: #c8102e;
}
.donationTypeText.generalSadqahType,
.donationTypeText.coverFeesType {
  background: #e1e1ff;
}

.card-left p {
  font-size: 14px;
  color: #000000;
  line-height: 1.5;
  margin-bottom: 18px;
}

.checkbox-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.checkbox-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

/* right red */
.card-right {
  width: 55%;
  padding: 28px;
  background: var(--red);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-right h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #fff;
}

.amount-inline {
  display: flex;
  gap: 0px;
  align-items: center;
  margin-top: 10px;
}

.amount-inline select {
  border-radius: 10px 0 0 10px;
  border: none;
  padding: 10px 12px;
  background: #fff;
  color: #000;
  font-weight: 700;
  width: 15%;
}

.amount-inline input[type="text"] {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: 0 10px 10px 0;
  font-size: 16px;
  color: #000000;
  font-weight: 600;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.preset {
  padding: 8px 16px;
  border-radius: 50px !important;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.15s;
  font-size: 15px;
}

.preset.active {
  background: #fff;
  color: var(--red);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.donation-select {
  margin-top: 10px;
  border-radius: 10px;
  padding: 10px;
  border: none;
  font-size: 14px;
  color: #000000;
  font-weight: 600;
}

.preset.active:hover {
  border: 1px solid #fff;
}

.donate-now {
  margin-top: auto;
  background: var(--yellow);
  color: #000;
  padding: 12px;
  border-radius: 26px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid #c6102e;
}

.donate-now:hover {
  border: 1px solid #fff;
  background: #c8102e;
}

/* Drawer (screen 2) */
.drawer {
  height: 100%;
  position: fixed;
  top: 0;
  right: -540px;
  width: 420px;
  background: rgb(255 255 255 / 95%);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  border-radius: 8px 0 0 8px;
  z-index: 1200;
  transition: right 0.32s cubic-bezier(0.2, 0.9, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.drawer.open {
  right: 0;
}

/* small gap from edge to look like screenshot */
.drawer .title {
  color: var(--red);
  font-weight: 500;
  font-size: 25px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 700;
}

.drawer .close-btn {
  position: absolute;
  right: 8px;
  top: 8px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  box-shadow: none;
}

.drawer .items {
  margin-top: 6px;
  overflow: auto;
  flex: 1;
  padding-right: 0px;
  max-height: 52vh;
  overflow-y: auto;
}

.drawer .small {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.drawer .subtotal {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 20px;
  color: #000;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.drawer .item p {
  margin: 0 !important;
  font-size: 13px !important;
}
.confirm-pay.disabled {
  user-select: none !important;
  opacity: 0.8;
  pointer-events: none;
  cursor: not-allowed !important;
}
.drawer .btn-check {
  padding: 12px 0px;
  border-radius: 5px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  font-size: 14px;
}

.drawer .btn-check.checkout {
  background: #27ae60;
  color: #fff;
}

.summaryBtnWrap {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.drawer .btn-check.another {
  background: var(--red);
  color: #fff;
}

/* blur */
.blurred {
  filter: blur(6px) saturate(0.9);
  pointer-events: none;
  user-select: none;
}

/* CHECKOUT SCREEN (screen 3) */
.checkout-wrap {
  max-width: 1200px;
  margin: 30px auto;
  padding: 12px;
  display: none;
  gap: 20px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 2fr 420px;
  gap: 24px;
  align-items: start;
}

.checkout-card {
  background: #fff;
  padding: 22px;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.field label {
  display: block;
  font-size: 13px;
  color: #000000;
  margin-bottom: 6px;
  font-weight: 600;
  margin-left: 4px;
}

.field input,
.field select,
.field textarea {
  width: 90%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  background: #fafafa;
  font-size: 14px;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.checkout-right {
  position: relative;
  top: 0;
}

.summary-card {
  padding: 14px;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.summary-inner {
  background: #fff;
  color: #222;
  border-radius: 6px;
  padding: 12px;
  margin-top: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f2f2f2;
  align-items: center;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-top: 10px;
  padding-top: 8px;
  font-size: 20px;
  color: #c8102e;
  /*border-top: 1px solid #eee;*/
}

/*
        .checkout-right {
            position: fixed;
            top: 270px;
            right: 10%;
            width: 25%;
        }
*/
.confirm-pay {
  width: 100%;
  margin-top: 20px;
  padding: 14px 10px;
  border-radius: 24px;
  border: none;
  font-weight: 800;
  cursor: pointer;
  background: var(--red);
  color: #fff;
}

.drawer .item {
  box-shadow: 0px 0.76px 8.33px 4.54px #0000000d !important;
  margin: 15px !important;
  border-radius: 15px !important;
  padding: 12px !important;
  background: #ffffff !important;
}

.drawer .item .remove-btn svg {
  width: 16px;
  height: 16px;
  fill: #c8102e;
  transition: fill 0.2s ease;
}

.drawer .item .remove-btn:hover svg {
  fill: #a00;
}

.drawer .item .remove-btn {
  background: none;
  border: none;
  color: #c8102e;
  font-size: 16px;
  margin-left: 8px;
  cursor: pointer;
  box-shadow: none;
  padding: 0;
}

.basket-heading {
  font-size: 18px;
  text-align: center;
  border: 2px solid #ffe1e1;
  border-radius: 60px;
  width: 55%;
  margin: 0 auto;
  color: #373737;
  font-weight: 600;
  background: #ffe1e1;
}
.donationTypeText.monthlyType {
  background: #ffe1e1;
}
.d-none {
  display: none !important;
}

#currency {
  user-select: none;
  pointer-events: none;
  appearance: none;
  width: 10%;
  padding: 8px 10px 10px 20px;
  /*padding-left: 20px;*/
}

#amountField {
  padding-left: 10px !important;
}

#coverFees {
  margin-right: 10px;
}

#charityFees,
#sadqahCharityFees {
  margin-left: -8px;
}

.donationTypeText {
  background: #cdffdb;
  border-radius: 60px;
  padding: 4px 10px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #000;
}

.priceWrap {
  color: #e22b2f;
  font-size: 18px !important;
  font-weight: 600;
  font-family: "Poppins";
}

#donationToggle {
  display: flex;
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  border: 2px solid #b30000;
  font-family: sans-serif;
}

#donationToggle label {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
  background: #fff;
  color: #000;
}

#donationToggle input[type="radio"] {
  display: none;
}

#single:checked ~ label[for="single"],
#monthly:checked ~ label[for="monthly"] {
  background: #3eb753;
  color: #ffffff;
}

.afterImgHeading {
  color: #000;
}
/*
.afterImgHeading:after {
  content: "";
  position: absolute;
  top: 7.5%;
  right: 18%;
  width: 90px;
  height: 10px;
  background: url("assets/images/heading-mark.png")
    no-repeat center;
  background-size: contain;
}
*/
#checkoutClose {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: #e32226;
  box-shadow: none;
}

.btn-check {
  transition: all 0.5s ease;
}

.btn-check:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.exploreMoreBtn {
  background: transparent !important;
  box-shadow: none;
  border: none !important;
  color: #e32226 !important;
  text-decoration: underline;
}

.exploreMoreBtn:hover {
  box-shadow: none !important;
}

#basketBtn {
  display: block !important;
}

.basketBtnPages {
  display: none !important;
}

.give-extra {
  font-family: inherit;
  color: #1e7f39;
}

.give-title {
  font-weight: 600;
  margin-bottom: 8px !important;
  font-size: 18px;
}

.give-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #004d2b;
  font-size: 16px;
  transition: color 0.2s ease;
}

.plus-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-weight: bold;
  line-height: 1;
  font-size: 14px;
  transition: all 0.25s ease;
  justify-content: center;
  padding: 1px;
}

.fee-amount {
  margin-left: 4px;
  font-weight: 500;
}

.leftImagesForm {
  display: none;
}
.fontPoppins {
  font-family: "Poppins" !important;
}
.bottomWrapper {
  margin: 15px 15px 25px 15px;
  padding: 10px 30px;
  border-radius: 15px !important;
  background: #ffffff !important;
  box-shadow: 0px 0.76px 8.33px 4.54px #0000000d !important;
}

#drawerTotalWrap {
  border-bottom: 1px solid #cccccc;
  padding-bottom: 5px;
  border-bottom: 1px solid #cfcfcf;
}

#drawerTotal {
  color: #e22b2f !important;
  font-weight: 700;
  font-size: 20px !important;
  font-family: "Poppins";
}

#note {
  border-radius: 10px !important;
}
.thankyou-wrapper {
  max-width: 600px;
  margin: 50px auto;
  text-align: center;
  font-family: "Poppins", sans-serif;
  color: #222;
  padding: 20px;
}

.thankyou-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 10px;
}

.thankyou-heart {
  font-size: 38px;
  margin: 10px 0 20px;
}

.thankyou-msg {
  font-size: 18px;
  color: #444;
  margin: 5px 0;
}

.thankyou-box {
  margin-top: 35px;
  padding: 25px 30px;
  border-radius: 12px;
  font-size: 18px;
}

.thankyou-box p {
  margin: 20px 0;
  font-size: 22px;
}
.thankyou-img {
  width: 30%;
  margin: 20px;
}
/* small responsive */
@media (max-width: 980px) {
  .donation-card {
    width: 92%;
    flex-direction: column;
  }

  .card-left,
  .card-right {
    width: 100%;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .drawer.open {
    right: 6px;
    /*width: calc(100% - 24px);*/
    width: 100%;
    top: 0;
    /*height: calc(100% - 100px);*/
    height: 100%;
    border-radius: 8px;
  }
  .summaryBtnWrap {
    margin-bottom: 10px;
  }
  .checkout-card .form-row {
    grid-template-columns: 1fr !important;
  }
  .card-left .kicker {
    display: none;
  }

  .card-left {
    min-height: 400px;
  }
  #donationToggle label {
    font-size: 12px !important;
  }
  #currency {
    padding: 0 0px 0px 14px !important;
    width: 14% !important;
  }
}
