/* MINNUT checkout — light Shopify-style layout */
body {
  margin: 0;
  background: #FFFCFA;
  color: #2D2D2D;
  font-family: Rajdhani, system-ui, sans-serif;
}
.chk-page {
  min-height: 60vh;
  background: #FFFCFA;
  color: #2D2D2D;
  font-family: Rajdhani, system-ui, sans-serif;
}
.chk-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
  max-width: 1100px;
  margin: 0 auto;
  min-height: 60vh;
}
@media (max-width: 960px) {
  .chk-shell { grid-template-columns: 1fr; }
}

.chk-topbar {
  background: #fff;
  border-bottom: 1px solid #EFE8DF;
  padding: 16px 24px;
}
.chk-topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.chk-topbar a.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.chk-topbar a.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.chk-topbar-secure {
  font-size: 14px;
  font-weight: 600;
  color: #6B6B6B;
}

.chk-main {
  padding: 28px 28px 56px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 960px) {
  .chk-main { padding: 20px 16px 40px; order: 2; }
}

.chk-brand {
  display: none; /* logo lives in topbar */
}

.chk-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #6B6B6B;
  margin-bottom: 24px;
}
.chk-breadcrumb a { color: #846044; text-decoration: none; }
.chk-breadcrumb a:hover { color: #C4A071; }
.chk-breadcrumb .current { color: #2D2D2D; }

.chk-section { margin-bottom: 28px; }
.chk-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.chk-section h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: #1b2a4a;
}
.chk-login-link {
  font-size: 14px;
  color: #846044;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-weight: 600;
}
.chk-login-link:hover { color: #C4A071; }

.chk-field { margin-bottom: 12px; }
.chk-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #6B6B6B;
  margin-bottom: 6px;
}
.chk-field label .field-label-text { flex: 1; min-width: 0; }
.chk-field .field-error,
.field-error {
  color: #A76D5E;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  flex-shrink: 0;
  max-width: 60%;
}
.chk-field.has-error .chk-input,
.chk-field.has-error .chk-select,
.chk-field.has-error .chk-textarea {
  border-color: #E8C4BC;
}
#chkPaymentMethods.has-error {
  outline: 1px solid #E8C4BC;
  border-radius: 12px;
  padding: 4px;
}

.chk-input,
.chk-select,
.chk-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #D8CFC3;
  border-radius: 12px;
  padding: 12px 14px;
  color: #2D2D2D;
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
}
.chk-input:focus,
.chk-select:focus,
.chk-textarea:focus {
  border-color: #C4A071;
  box-shadow: 0 0 0 3px rgba(196,160,113,.18);
}
.chk-input::placeholder { color: #9a9a9a; font-weight: 500; }
.chk-select {
  appearance: none;
  background-image: url("../cdn/select-chevron.svg");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.chk-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chk-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 640px) {
  .chk-grid-2,
  .chk-grid-3 { grid-template-columns: 1fr; }
}

.chk-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #4b4b4d;
  margin: 10px 0;
  cursor: pointer;
}
.chk-check input { margin-top: 3px; accent-color: #846044; width: 16px; height: 16px; }

.chk-methods { display: grid; gap: 10px; }
.chk-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #E8DFD2;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.chk-method:has(input:checked),
.chk-method.is-active {
  border-color: #C4A071;
  background: #F7F0E6;
}
.chk-method input { accent-color: #846044; }
.chk-method-left { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 0; }
.chk-method-name { font-weight: 700; font-size: 15px; color: #2D2D2D; }
.chk-method-meta { font-size: 12px; font-weight: 600; color: #6B6B6B; margin-top: 2px; }
.chk-method-label { flex: 1; font-weight: 700; font-size: 15px; color: #2D2D2D; }
.chk-method-price { font-weight: 700; color: #846044; white-space: nowrap; }
.chk-pay-box {
  background: #F7F0E6;
  border: 1px dashed #D9C4A4;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #6B6B6B;
}
.chk-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #846044;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}
.chk-submit:hover { background: #6f4f38; }
.chk-submit:disabled { opacity: .55; cursor: not-allowed; }

.chk-section .btn-fire {
  width: auto;
  min-width: 200px;
  padding: 0 28px;
}

.chk-aside {
  background: #F3EBE0;
  border-left: 1px solid #E8DFD2;
  padding: 28px 24px 48px;
  box-sizing: border-box;
}
@media (max-width: 960px) {
  .chk-aside {
    border-left: 0;
    border-bottom: 1px solid #E8DFD2;
    order: 1;
    padding: 20px 16px;
  }
}
.chk-aside-inner { position: sticky; top: 24px; }

.chk-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.chk-item-img-wrap {
  position: relative;
  width: 64px;
  height: 64px;
}
.chk-item-img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #E8DFD2;
  object-fit: contain;
  display: block;
}
.chk-item-title { font-size: 14px; font-weight: 700; color: #2D2D2D; line-height: 1.3; }
.chk-item-variant { font-size: 12px; font-weight: 600; color: #6B6B6B; margin-top: 2px; }
.chk-item-price { font-size: 15px; font-weight: 700; color: #2D2D2D; white-space: nowrap; }
.chk-item-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #846044;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-sizing: border-box;
}
.chk-item-empty {
  font-size: 14px;
  font-weight: 600;
  color: #6B6B6B;
  margin: 0 0 16px;
}

.chk-discount {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 18px 0;
}
.chk-discount input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #D8CFC3;
  border-radius: 12px;
  color: #2D2D2D;
  font-size: 14px;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  box-sizing: border-box;
}
.chk-discount input:focus {
  border-color: #C4A071;
  box-shadow: 0 0 0 3px rgba(196,160,113,.18);
}
.chk-discount .chk-input { height: 44px; padding-top: 0; padding-bottom: 0; }
.chk-discount .btn-fire,
.chk-discount button {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #846044;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.chk-discount button:hover { background: #6f4f38; }

.chk-discount-error {
  color: #A76D5E;
  font-size: 13px;
  font-weight: 700;
  margin: -8px 0 12px;
}

.chk-rows { display: grid; gap: 10px; }
.chk-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #4b4b4d;
}
.chk-row.total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #D9C4A4;
  font-size: 20px;
  font-weight: 700;
  color: #1b2a4a;
}
.chk-promo {
  background: rgba(152,160,134,.15);
  border: 1px solid rgba(152,160,134,.35);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #4d5a45;
  line-height: 1.45;
}
.chk-progress {
  height: 6px;
  background: rgba(132,96,68,.15);
  border-radius: 999px;
  margin-top: 8px;
  overflow: hidden;
}
.chk-progress > span {
  display: block;
  height: 100%;
  background: #846044;
  border-radius: 999px;
}

.btn-fire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #846044;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}
.btn-fire:hover { background: #6f4f38; color: #fff; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border: 1.5px solid #D8CFC3;
  border-radius: 999px;
  background: #fff;
  color: #2D2D2D;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.btn-ghost:hover { background: #FFFCFA; }

.chk-legal {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 500;
  color: #6B6B6B;
  line-height: 1.45;
}

.chk-modal-bg {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(29, 24, 20, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.chk-modal-bg.open { display: flex; }
.chk-modal {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid #E8DFD2;
  border-radius: 16px;
  padding: 24px;
  max-height: min(90vh, 720px);
  overflow: auto;
  color: #2D2D2D;
  font-family: Rajdhani, system-ui, sans-serif;
}
.chk-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.chk-auth-tab {
  background: transparent;
  border: 1.5px solid #E8DFD2;
  color: #6B6B6B;
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}
.chk-auth-tab.is-active {
  color: #846044;
  border-color: #C4A071;
  background: #F7F0E6;
}
.chk-auth-panel { display: none; }
.chk-auth-panel.is-active { display: block; }
.chk-forgot-link {
  margin: 8px 0 14px;
  text-align: right;
}
.chk-forgot-link a {
  color: #846044;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.chk-forgot-link a:hover { color: #C4A071; text-decoration: underline; }
.chk-otp,
#forgotOtpBoxes {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 8px;
  align-items: stretch;
  margin-top: 4px;
  width: 100%;
}
.chk-otp-digit,
.chk-field .chk-otp .chk-otp-digit,
#forgotOtpBoxes .chk-otp-digit {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  padding: 0 !important;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  border: 1px solid #D8CFC3;
  border-radius: 10px;
  background: #FFFCFA;
  color: #2D2D2D;
  outline: none;
  box-sizing: border-box;
}
.chk-otp-digit:focus {
  border-color: #C4A071;
  box-shadow: 0 0 0 3px rgba(196,160,113,.18);
}
.chk-text-btn {
  background: none;
  border: 0;
  padding: 0;
  color: #846044;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.chk-modal h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1b2a4a;
}
.chk-modal p { color: #6B6B6B; font-size: 14px; font-weight: 600; margin: 0 0 16px; }
.chk-modal-actions { display: flex; gap: 8px; margin-top: 14px; }
.chk-modal-actions .btn-ghost,
.chk-modal-actions .btn-fire {
  flex: 1;
  text-align: center;
  justify-content: center;
}
.chk-alert {
  background: #F3F7F0;
  border: 1px solid #C5D4B8;
  color: #4d5a45;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  display: none;
}
.chk-alert.show { display: block; }
.chk-billing-fields.hidden { display: none; }
.chk-billing-fields.is-same {
  opacity: .55;
  pointer-events: none;
}
.chk-same-hint {
  display: none;
  margin: -4px 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: #846044;
}
.chk-same-hint.show { display: block; }

.chk-foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 40px;
  font-size: 13px;
  font-weight: 600;
  color: #6B6B6B;
  text-align: center;
}
.chk-foot a { color: #846044; text-decoration: none; }
.chk-foot a:hover { color: #C4A071; }
