:root {
  --brand-blue: #006697;
  --brand-dark: #004d73;
  --brand-green: #10B981;
  --brand-purple: #7c3aed;
  --text-main: #111827;
  --text-sub: #6b7280;
  --bg-light: #f3f4f6;
  --border-color: #e5e7eb;
}

header {
  background: white;
  height: 80px;
  display: inline;
  align-items: center;
  border-bottom: 1px solid var(--border-color) !important;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ===== Redeem Wizard Styles ===== */
.selected-reward-bar {
  max-width: 820px;
  margin: 0 auto 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 10px 12px;
}

.sr-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  display: grid;
  place-items: center
}

.sr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.sr-label {
  font-size: 11px;
  font-weight: 900;
  color: #64748b;
  letter-spacing: .3px;
  text-transform: uppercase
}

.sr-title {
  font-size: 14px;
  font-weight: 900;
  color: #111827
}

.redeem-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 12px 30px;
}

.redeem-header {
  text-align: center;
  padding: 20px 0 10px;
}

.redeem-header h1 {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 10px;
  font-weight: 800;
  color: #006697;
}

.redeem-header p {
  max-width: 850px;
  margin: 0 auto;
  color: #667085;
  font-size: 14px;
}

.redeem-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 10px;
  flex-wrap: wrap;
}

.redeem-steps .line {
  width: 70px;
  height: 1px;
  background: #e5e7eb;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 10px;
}

.step .num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid #cbd5e1;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.step.is-active {
  color: #006697;
}

.step.is-active .num {
  border-color: #006697;
}

.step.is-done {
  color: #111827;
}

.step.is-done .num {
  border-color: #10b981;
}

.redeem-panel {
  display: none;
  margin-top: 18px;
}

.redeem-panel.is-active {
  display: block;
}

.panel-title {
  text-align: center;
  margin: 14px 0 18px;
}

.panel-title h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}

.panel-title .sub {
  margin: 0;
  color: #667085;
  font-size: 13px;
}

.reward-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.reward-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  display: flex;
  flex-direction: column;
}

.reward-card:hover {
  transform: translateY(-2px);
  border-color: #d1d5db;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .10);
}

.reward-card.is-selected {
  border-color: #006697;
  box-shadow: 0 18px 40px rgba(11, 74, 162, .18);
}

.reward-media {
  position: relative;
  background: #f8fafc;
  padding: 14px;
  min-height: 210px;
  display: grid;
  place-items: center;
}

.reward-media img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.img-placeholder {
  width: 85%;
  height: 160px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #006697;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: .3px;
}

.badge.is-purple {
  background: #7c3aed;
}

.reward-body {
  padding: 14px 14px 0;
}

.reward-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
  color: #111827;
  text-align: center;
}

.reward-body p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
  min-height: 36px;
}

.reward-actions {
  padding: 14px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
  width: 100%;
}

.btn-outline {
  background: #fff;
  border-color: #006697;
  color: #006697;
}

.btn-outline:hover {
  background: #006697;
  color: #fff;
}

.btn-primary {
  background: #006697;
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border-color: #e5e7eb;
  color: #111827;
}

.panel-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  max-width: 820px;
  margin: 18px auto 0;
}

.panel-footer .hint {
  width: 100%;
  text-align: center;
  color: #667085;
  font-size: 13px;
}

.redeem-form {
  max-width: 820px;
  margin: 0 auto;
}

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

.field label {
  display: block;
  font-weight: 800;
  font-size: 12px;
  color: #111827;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 14px;
}

.field.full {
  grid-column: 1 / -1;
}

.shipment-card {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

.ship-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.ship-row:last-child {
  border-bottom: 0;
}

.ship-label {
  font-weight: 900;
  color: #64748b;
  font-size: 12px;
  width: 140px;
}

.ship-value {
  font-weight: 800;
  color: #111827;
  font-size: 13px;
  text-align: right;
  flex: 1;
}

.thankyou {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 26px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

.thankyou h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
  color: #006697;
}

.thankyou p {
  margin: 0 0 12px;
  color: #667085;
}

.thankyou .mini {
  font-weight: 800;
  color: #111827;
}

@media (max-width: 992px) {
  .reward-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .reward-grid {
    grid-template-columns: 1fr;
  }

  .panel-footer {
    flex-direction: column;
  }

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

  .ship-value {
    text-align: left;
  }
}

.shipment-extra {
  max-width: 820px;
  margin: 14px auto 0;
  display: grid;
  /* grid-template-columns:1fr 1fr; */
  gap: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}


.extra-title {
  font-weight: 900;
  color: #111827;
  font-size: 13px;
  margin-bottom: 10px;
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 10px;
  font-weight: 800;
  color: #111827;
}

.radio-row input {
  margin: 0
}

.donate-note {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f3ff;
  border: 1px solid #e9d5ff;
  color: #6d28d9;
  font-weight: 800;
  font-size: 12px;
}

.coupon-row {
  display: flex;
  gap: 10px;
}

.coupon-row input {
  flex: 1;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 14px;
}

.btn-small {
  width: auto;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 900;
}

.coupon-msg {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 900;
  color: #64748b;
}

.coupon-msg.is-success {
  color: #047857;
}

.coupon-msg.is-error {
  color: #b91c1c;
}

@media (max-width: 640px) {
  .shipment-extra {
    grid-template-columns: 1fr;
  }
}

/* Put badge on right in header */
.page-header .header.content {
  position: relative;
}



/* Readonly fields – disabled look */
input[readonly],
textarea[readonly],
select[readonly] {
  background-color: #f5f5f5;
  border-color: #d1d5db;
  color: #6b7280;
  /* muted text */
  cursor: not-allowed;
  opacity: 1;
  /* keep text readable */
}

/* Prevent focus styles */
input[readonly]:focus,
textarea[readonly]:focus,
select[readonly]:focus {
  outline: none;
  box-shadow: none;
  border-color: #d1d5db;
}

/* Optional: visually indicate locked field */
input[readonly] {
  pointer-events: none;
  /* user can’t click or type */
}

/* =========================
   CUSTOMER LOGIN (Luma)
   ========================= */
.customer-account-login {
  background: #fff;
  /* page bg like screenshot */
  min-height: 100vh;
}

/* main content width + center */
.customer-account-login .page-wrapper .page-main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 16px;
}

/* make the luma login container act like a card */
.customer-account-login .login-container {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  min-height: 620px;
}

/* LEFT HERO (you can change image path) */
.customer-account-login .login-container:before {
  content: "";
  flex: 1 1 50%;
  min-width: 360px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .25)),
    url("/media/wysiwyg/LoginBack.jpg");
  /* put your image here */
  background-size: cover;
  background-position: center;
}

/* RIGHT FORM PANEL */
.customer-account-login .login-container .block {
  flex: 1 1 50%;
  margin: 0;
  /* remove luma spacing */
  border: 0;
  padding: 56px 64px;
}

.customer-account-login .login-container .block-title {
  text-align: center;
  border: 0;
  margin: 0 0 18px;
  padding: 0;
}

.customer-account-login .login-container .block-title strong {
  font-size: 20px;
  font-weight: 700;
  color: #173042;
}

/* OPTIONAL: if you show logo inside content */
.customer-account-login .login-container .block-title:before {
  content: "";
  display: block;
  width: 220px;
  height: 48px;
  margin: 0 auto 18px;
  background: url("@{baseDir}images/logo-login.svg") no-repeat center;
  background-size: contain;
}

/* Inputs */
.customer-account-login .form-login .field .control input {
  height: 46px;
  border-radius: 3px;
  border: 1px solid #d8e2ee;
  background: #eef4ff;
  box-shadow: none;
}

.customer-account-login .form-login .field .control input:focus {
  border-color: #0b3a56;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 58, 86, .12);
}

/* Primary button like screenshot */
.customer-account-login .form-login .action.login.primary {
  width: 100%;
  height: 48px;
  border-radius: 26px;
  border: 0;
  background: #0b3a56;
  color: #fff;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(11, 58, 86, .25);
}

.customer-account-login .form-login .action.login.primary:hover {
  background: #082f46;
}

/* Links under button */
.customer-account-login .login-container .actions-toolbar {
  margin-top: 16px;
}

.customer-account-login .login-container .actions-toolbar .secondary {
  float: none;
  text-align: center;
  margin-top: 14px;
}

.customer-account-login .login-container .actions-toolbar .secondary a {
  color: #1b4e7a;
  text-decoration: none;
  font-weight: 600;
}

.customer-account-login .login-container .actions-toolbar .secondary a:hover {
  text-decoration: underline;
}

/* Recaptcha spacing */
.customer-account-login .g-recaptcha,
.customer-account-login .recaptcha-container {
  margin: 14px 0 18px;
}

/* Hide “New Customers” block (optional) – uncomment if you want only login card
.customer-account-login .block-new-customer { display:none; }
*/

/* Responsive: stack on mobile */
@media (max-width: 900px) {
  .customer-account-login .login-container {
    flex-direction: column;
    min-height: auto;
  }

  .customer-account-login .login-container:before {
    min-width: 100%;
    height: 240px;
    flex: 0 0 auto;
  }

  .customer-account-login .login-container .block {
    padding: 32px 22px;
  }
}

/* 2 fields per row on Create Account page */
.form-create-account .fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 24px;
  /* row-gap, column-gap */
}

/* Make each field behave nicely inside grid */
.form-create-account .fieldset .field {
  margin: 0 !important;
  /* override default */
  float: none !important;
  width: auto !important;
  clear: none !important;
}

/* Full width fields (take both columns) */
.form-create-account .fieldset .field.street,
.form-create-account .fieldset .field.choice,
.form-create-account .fieldset .field.password,
.form-create-account .fieldset .field.confirmation,
.form-create-account .fieldset.additional_info,
.form-create-account .actions-toolbar {
  grid-column: 1 / -1;
}

/* Street nested extra address lines should be full width */
.form-create-account .field.street .nested,
.form-create-account .field.street .nested .field {
  width: 100% !important;
  margin-top: 10px;
}

/* Inputs/selects full width */
.form-create-account .field .control,
.form-create-account .field .control input,
.form-create-account .field .control select,
.form-create-account .field .control textarea {
  width: 100%;
  box-sizing: border-box;
}

/* Password strength meter full width */
.form-create-account #password-strength-meter-container {
  grid-column: 1 / -1;
}

/* Mobile = 1 column */
@media (max-width: 768px) {
  .form-create-account .fieldset {
    grid-template-columns: 1fr;
  }
}

.form-create-account {
  margin: 0 auto;
}

.fieldset>.legend {
  margin: 0px;
}

select {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  /* padding: 11px 12px; */
  font-size: 14px;
}

.redeem-footer {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  margin-top: 40px;
}

.redeem-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 12px 22px;
  text-align: center;
}

.footer-text {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
}

.footer-help {
  margin: 0;
  font-size: 13px;
  color: #9ca3af;
}

.footer-help a {
  color: #006697;
  font-weight: 800;
  text-decoration: none;
}

.footer-help a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {

  .footer-text,
  .footer-help {
    font-size: 12px;
  }
}

/* Loader on button */
.btn {
  position: relative;
}

.btn .btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnSpin .8s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

.btn.is-loading {
  pointer-events: none;
  opacity: .9;
}

.btn.is-loading .btn-text {
  opacity: .55;
}

.btn.is-loading .btn-spinner {
  display: inline-block;
}

@keyframes btnSpin {
  to {
    transform: rotate(360deg);
  }
}
