* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f8faff;
  color: #061633;
  font-family: Inter, Arial, sans-serif;
}

.checkout-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  gap: 0;
}

.checkout-form-panel {
  padding: 56px 64px;
  background: #ffffff;
  border-right: 1px solid rgba(9, 31, 77, 0.08);
}

.checkout-form-panel h1 {
  margin: 0 0 34px;
  color: #061633;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.express-payments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.express-payments button {
  height: 48px;
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.paypal-btn {
  background: #0070ba;
}

.gpay-btn {
  background: #000000;
}

.checkout-divider {
  text-align: center;
  margin: 22px 0;
  color: #8a93a6;
  font-weight: 800;
}

.checkout-form-panel form {
  display: grid;
  gap: 18px;
}

.checkout-form-panel h3 {
  margin: 10px 0 0;
  color: #061633;
  font-size: 16px;
}

.checkout-form-panel input,
.checkout-form-panel select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(9, 31, 77, 0.16);
  border-radius: 10px;
  background: #ffffff;
  color: #061633;
  font: inherit;
  outline: none;
}

.checkout-form-panel input:focus,
.checkout-form-panel select:focus {
  border-color: #123b8a;
  box-shadow: 0 0 0 4px rgba(18, 59, 138, 0.08);
}

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

.pay-now-btn {
  height: 54px;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #123b8a, #d71234);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(18, 59, 138, 0.2);
}

.checkout-summary-panel {
  padding: 56px 48px;
  background: linear-gradient(180deg, #ffffff, #f3f6ff);
}

.checkout-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.checkout-item-image {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(9, 31, 77, 0.08);
  overflow: hidden;
}

.checkout-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.checkout-item h3 {
  margin: 0 0 4px;
  color: #061633;
  font-size: 18px;
  text-transform: capitalize;
}

.checkout-item p {
  margin: 0 0 4px;
  color: #465a7a;
  font-size: 14px;
  line-height: 1.4;
}

.checkout-item span {
  color: #6b7893;
  font-size: 13px;
  font-weight: 800;
}

.checkout-item strong {
  color: #061633;
  font-size: 17px;
}

.discount-row {
  display: grid;
  grid-template-columns: 1fr 86px;
  gap: 10px;
  margin: 26px 0;
}

.discount-row input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(9, 31, 77, 0.16);
  border-radius: 10px;
  font: inherit;
}

.discount-row button {
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  background: #061633;
  font-weight: 900;
  cursor: pointer;
}

.checkout-total-row,
.checkout-grand-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  color: #465a7a;
  border-bottom: 1px solid rgba(9, 31, 77, 0.08);
}

.checkout-grand-total {
  border-bottom: 0;
  color: #061633;
  font-size: 22px;
  font-weight: 950;
}

@media (max-width: 900px) {
  .checkout-page {
    grid-template-columns: 1fr;
  }

  .checkout-form-panel,
  .checkout-summary-panel {
    padding: 28px 20px;
  }

  .checkout-row,
  .express-payments {
    grid-template-columns: 1fr;
  }

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

  .checkout-item strong {
    grid-column: 2;
  }
}
.checkout-success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #f8faff;
}

.success-card {
  width: min(100%, 620px);
  padding: 42px;
  text-align: center;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(9, 31, 77, 0.08);
  box-shadow: 0 24px 70px rgba(9, 31, 77, 0.12);
}

.success-icon {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #123b8a, #d71234);
  font-size: 36px;
  font-weight: 900;
}

.success-card h1 {
  margin: 0 0 12px;
  color: #061633;
  font-size: 44px;
  letter-spacing: -0.05em;
}

.success-card p {
  margin: 0 auto 24px;
  max-width: 460px;
  color: #465a7a;
  line-height: 1.7;
}

.success-order-box {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  background: #f8faff;
  color: #465a7a;
}

.success-order-box strong {
  color: #061633;
  word-break: break-word;
}

.success-card a {
  display: inline-flex;
  margin-top: 26px;
  padding: 14px 22px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #123b8a, #d71234);
  text-decoration: none;
  font-weight: 900;
}

.checkout-age-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  background: #f8faff;
  border: 1px solid rgba(9, 31, 77, 0.12);
  color: #061633;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.checkout-age-confirm input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #123b8a;
  flex-shrink: 0;
}

.checkout-age-confirm span {
  display: block;
}

/* ===== SUMUP CHECKOUT NOTICE START ===== */

.checkout-sumup-notice {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(18, 59, 138, 0.08);
  border: 1px solid rgba(18, 59, 138, 0.14);
}

.checkout-sumup-notice strong {
  color: #061633;
  font-size: 0.98rem;
}

.checkout-sumup-notice span {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ===== SUMUP CHECKOUT NOTICE END ===== */

/* ===== REMOVE UNUSED EXPRESS PAYMENT UI START ===== */

.express-payments,
.checkout-divider,
.paypal-btn,
.gpay-btn {
  display: none !important;
}

/* ===== REMOVE UNUSED EXPRESS PAYMENT UI END ===== */

/* ===== CLICK AND COLLECT CHECKOUT START ===== */

.checkout-fulfilment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.checkout-fulfilment-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(9, 31, 77, 0.12);
  background: #ffffff;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.checkout-fulfilment-card:hover,
.checkout-fulfilment-card.is-active {
  border-color: rgba(18, 59, 138, 0.35);
  box-shadow: 0 12px 28px rgba(9, 31, 77, 0.08);
  transform: translateY(-2px);
}

.checkout-fulfilment-card input {
  margin-top: 3px;
}

.checkout-fulfilment-card strong {
  display: block;
  color: #061633;
  font-size: 0.96rem;
}

.checkout-fulfilment-card small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  line-height: 1.45;
}

.checkout-collect-notice {
  display: grid;
  gap: 5px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 22, 68, 0.07);
  border: 1px solid rgba(255, 22, 68, 0.14);
}

.checkout-collect-notice strong {
  color: #b41232;
}

.checkout-collect-notice span {
  color: #061633;
  font-weight: 900;
}

.checkout-collect-notice small {
  color: #64748b;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .checkout-fulfilment-options {
    grid-template-columns: 1fr;
  }
}

/* ===== CLICK AND COLLECT CHECKOUT END ===== */

/* ===== SUCCESS FULFILMENT BOX START ===== */

.success-collection-box {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(18, 59, 138, 0.08);
  border: 1px solid rgba(18, 59, 138, 0.14);
  text-align: left;
}

.success-collection-box span {
  display: block;
  color: #b41232;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.success-collection-box strong {
  display: block;
  margin-top: 6px;
  color: #061633;
  font-size: 1.05rem;
}

.success-collection-box p {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.55;
  font-size: 0.92rem;
}

/* ===== SUCCESS FULFILMENT BOX END ===== */

/* ===== CLICK COLLECT HIDE FIX START ===== */

.checkout-collect-notice[hidden],
#clickCollectNotice[hidden] {
  display: none !important;
}

/* ===== CLICK COLLECT HIDE FIX END ===== */

/* ===== CHECKOUT DISCOUNT CODE START ===== */

.checkout-discount-box {
  margin: 26px 0;
}

.checkout-applied-discount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #eef3ff;
  border: 1px solid rgba(18, 59, 138, 0.12);
}

.checkout-applied-discount span {
  display: block;
  color: #465a7a;
  font-size: 12px;
  font-weight: 800;
}

.checkout-applied-discount strong {
  display: block;
  margin-top: 3px;
  color: #061633;
  letter-spacing: 0.08em;
}

.checkout-applied-discount form {
  margin: 0;
}

.checkout-applied-discount button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: #ffffff;
  background: #d71234;
  cursor: pointer;
  font-weight: 900;
}

.checkout-discount-total strong {
  color: #15803d;
}

/* ===== CHECKOUT DISCOUNT CODE END ===== */

/* ===== INLINE AGE VERIFICATION START ===== */

.checkout-verification-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: #fff7ed;
  border: 1px solid rgba(215, 85, 0, 0.18);
}

.checkout-verification-inline strong,
.checkout-verification-inline span {
  display: block;
}

.checkout-verification-inline strong {
  color: #9a3412;
  font-size: 15px;
}

.checkout-verification-inline span {
  margin-top: 4px;
  color: #7c2d12;
  font-size: 13px;
  line-height: 1.45;
}

.checkout-verification-inline button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #123b8a, #d71234);
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
}

.pay-now-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 620px) {
  .checkout-verification-inline {
    display: grid;
  }

  .checkout-verification-inline button {
    width: 100%;
  }
}

/* ===== INLINE AGE VERIFICATION END ===== */
