/* ==========================================================================
   22 — Számlázási / rendelési adatok (step2) — csak kinézet
   Site header/footer érintetlen; lépésjelző KÜLÖN sáv (nem fejléc).
   ========================================================================== */

body.page-weekorder .wo22-stepper-band {
  display: none;
}
body.page-weekorder.wo22-checkout-active .wo22-stepper-band {
  display: block;
}

body.page-weekorder.wo22-checkout-active .wo19-panel,
body.page-weekorder.wo22-checkout-active #KosarGomb,
body.page-weekorder.wo22-checkout-active #wo19BottomBar {
  display: none !important;
}

/* ----- Lépésjelző (checkout progress) ----- */
.wo22-stepper {
  width: 100%;
  max-width: var(--wo19-max, 1200px);
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.wo22-stepper[hidden] {
  display: none !important;
}
.wo22-stepper:not([hidden]) {
  display: block;
}
.wo22-stepper-band {
  background: #fff;
  border-bottom: 1px solid var(--wo19-slate-200, #e2e8f0);
  padding: 14px 0;
  margin-bottom: 8px;
}
.wo22-stepper-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 720px;
  margin: 0 auto;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
}
@media (min-width: 640px) {
  .wo22-stepper-inner {
    justify-content: center;
    gap: 24px;
    font-size: 13px;
  }
}
.wo22-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 4px 0;
  cursor: pointer;
  font: inherit;
  color: var(--wo19-slate-500, #64748b);
  font-weight: 500;
  text-align: left;
}
.wo22-step:hover {
  color: var(--wo19-brand-700, #3730a3);
}
.wo22-step-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--wo19-slate-100, #f1f5f9);
  color: var(--wo19-slate-500, #64748b);
}
.wo22-step--done {
  color: #059669;
  font-weight: 600;
  cursor: pointer;
}
.wo22-step--done .wo22-step-num {
  background: #d1fae5;
  color: #047857;
  font-size: 14px;
}
.wo22-step--active {
  color: var(--wo19-brand-900, #1e1b4b);
  font-weight: 800;
  cursor: default;
}
.wo22-step--active .wo22-step-num {
  background: var(--wo19-brand-600, #4338ca);
  color: #fff;
  box-shadow: 0 1px 2px rgba(67, 56, 202, 0.35);
}
.wo22-step--todo {
  cursor: default;
  pointer-events: none;
}
.wo22-step-join {
  flex: 0 0 24px;
  height: 1px;
  background: var(--wo19-slate-200, #e2e8f0);
}
.wo22-step-join--done {
  background: #6ee7b7;
}

/* ----- Step2 layout ----- */
#step2.wo22-step2-root {
  max-width: var(--wo19-max, 1200px);
  margin: 0 auto;
  padding: 0 16px 48px;
  float: none !important;
}
#step2.wo22-step2-root > fieldset {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  background-image: none !important;
}
#step2.wo22-step2-root > fieldset > legend {
  display: none !important;
}
.wo22-page-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  font-family: Inter, system-ui, sans-serif;
}
@media (min-width: 640px) {
  .wo22-page-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.wo22-page-head h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--wo19-slate-900, #0f172a);
  letter-spacing: -0.02em;
}
.wo22-page-head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--wo19-slate-500, #64748b);
}
.wo22-week-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  color: var(--wo19-brand-700, #3730a3);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.wo22-step2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 1024px) {
  .wo22-step2-grid {
    grid-template-columns: 1fr 340px;
    gap: 32px;
  }
}
.wo22-step2-main .container {
  margin-bottom: 0 !important;
  padding: 22px 20px !important;
  background: #fff !important;
  border: 1px solid var(--wo19-slate-200, #e2e8f0);
  border-radius: 16px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  max-width: none !important;
  width: 100% !important;
}
#step2 .wo22-card {
  background: #fff;
  border: 1px solid var(--wo19-slate-200, #e2e8f0);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-family: Inter, system-ui, sans-serif;
}
#step2 .wo22-card--ship {
  border-width: 2px;
  border-color: rgba(67, 56, 202, 0.25);
}
#step2 .wo22-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
#step2 .wo22-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--wo19-slate-900, #0f172a);
}
#step2 .wo22-card-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--wo19-slate-500, #64748b);
}
#step2 .wo22-badge-req {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: #fff1f2;
  color: #e11d48;
  white-space: nowrap;
}
#step2 h6 {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: var(--wo19-slate-900, #0f172a) !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
#step2 hr {
  display: none !important;
}
#step2 br + br {
  display: none;
}
#step2 .form-group label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--wo19-slate-500, #64748b);
  margin-bottom: 6px;
}
#step2 .form-group input[type="text"],
#step2 .form-group input[type="email"],
#step2 .form-group input[type="phone"],
#step2 select#address {
  width: 100%;
  border-radius: 12px !important;
  border: 1px solid var(--wo19-slate-300, #cbd5e1) !important;
  background: var(--wo19-slate-50, #f8fafc) !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--wo19-slate-900, #0f172a) !important;
}
#step2 select#address {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 40px !important;
}
#step2 .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  #step2 .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
  #step2 .form-row .col-md-3 {
    width: auto;
    max-width: none;
    flex: none;
  }
  #step2 .form-row:has(.col-md-3) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media (min-width: 900px) {
    #step2 .form-row:has(.col-md-3) {
      grid-template-columns: repeat(4, 1fr);
    }
  }
}
#step2 .wo22-tax-note {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-size: 12px !important;
  color: #92400e !important;
  float: none !important;
  margin: 0 0 16px !important;
}
#step2 .row .col-md-8 .form-group {
  float: none !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
}
@media (min-width: 768px) {
  #step2 .row .col-md-8 .form-group {
    justify-content: flex-end;
  }
}
#step2 .wo22-nav {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--wo19-slate-200, #e2e8f0);
  clear: both;
}
@media (min-width: 640px) {
  #step2 .wo22-nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
#step2 .wo22-nav .pt-btn {
  float: none !important;
  margin: 0 !important;
  width: 100%;
  border-radius: 12px !important;
  padding: 14px 20px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  box-shadow: none !important;
}
@media (min-width: 640px) {
  #step2 .wo22-nav .pt-btn {
    width: auto;
  }
}
#step2 .wo22-nav .pt-btn:last-child {
  background: var(--wo19-brand-600, #4338ca) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.25) !important;
}
#step2 .wo22-nav .pt-btn:first-child {
  background: #fff !important;
  color: var(--wo19-slate-700, #334155) !important;
  border: 1px solid var(--wo19-slate-300, #cbd5e1) !important;
}

/* Összesítő oldalsáv */
.wo22-summary {
  font-family: Inter, system-ui, sans-serif;
}
.wo22-summary-card {
  background: #fff;
  border: 1px solid var(--wo19-slate-200, #e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
@media (min-width: 1024px) {
  .wo22-summary {
    position: sticky;
    top: 88px;
  }
}
.wo22-summary-head {
  background: var(--wo19-brand-900, #1e1b4b);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}
.wo22-summary-count {
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}
.wo22-summary-body {
  padding: 14px 18px;
  max-height: 320px;
  overflow-y: auto;
  font-size: 12px;
}
.wo22-summary-line + .wo22-summary-line {
  border-top: 1px solid var(--wo19-slate-100, #f1f5f9);
  margin-top: 10px;
  padding-top: 10px;
}
.wo22-summary-line-cat {
  display: block;
  font-weight: 700;
  color: var(--wo19-brand-600, #4338ca);
  margin-bottom: 2px;
}
.wo22-summary-line-name {
  font-weight: 600;
  color: var(--wo19-slate-900, #0f172a);
}
.wo22-summary-foot {
  padding: 14px 18px;
  background: var(--wo19-slate-50, #f8fafc);
  border-top: 1px solid var(--wo19-slate-200, #e2e8f0);
}
.wo22-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--wo19-brand-600, #4338ca);
}
.wo22-summary-line-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}
.wo22-summary-line-price {
  font-weight: 800;
  white-space: nowrap;
  color: #0f172a;
}
.wo22-summary-empty {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

/* --- Erős felülírások (bootstrap / régi űrlap) --- */
body.page-weekorder.wo22-checkout-active {
  background: #f1f5f9 !important;
}
body.page-weekorder.wo22-checkout-active #step2,
body.page-weekorder.wo22-checkout-active .wo22-stepper-band {
  font-family: Inter, system-ui, sans-serif;
}
#step2.wo22-step2-root {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box !important;
}
#step2 .wo22-step2-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  width: 100% !important;
  align-items: start !important;
}
@media (min-width: 1024px) {
  #step2 .wo22-step2-grid {
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 28px !important;
  }
}
#step2 .wo22-step2-main {
  min-width: 0 !important;
  width: 100% !important;
}
#step2 .wo22-order-summary,
#step2 .wo22-summary {
  min-width: 0 !important;
  width: 100% !important;
  display: block !important;
}
#step2 .wo22-page-head--outer {
  margin: 8px 0 20px;
  padding: 0 4px;
}
#step2 .container.wo22-step2-panel,
#step2 #wo22Step2Panel {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
#step2 .wo22-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#step2 .wo22-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
#step2 .wo22-card--ship {
  border: 2px solid rgba(67, 56, 202, 0.22);
}
#step2 .wo22-card--ship > h6.wo22-section-title {
  display: none !important;
}
#step2 .wo22-field-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  margin-bottom: 8px;
}
#step2 .wo22-address-field {
  margin-top: 4px !important;
}
#step2 select.wo22-address-select,
#step2 select#address {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-height: 48px !important;
}
#step2 [class*="col-md-"],
#step2 [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#step2 .form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  margin: 0 !important;
}
@media (min-width: 900px) {
  #step2 .wo22-card:first-of-type .form-row,
  #step2 .form-row:has(.col-md-3) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
#step2 .form-group {
  margin-bottom: 10px !important;
}
#step2 .form-group input[readonly] {
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
}
#step2 .row:has(h6 .fa-university) {
  display: block !important;
  margin-bottom: 12px !important;
}
#step2 .wo22-nav {
  margin-top: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
#step2 .wo22-nav .col-md-12 {
  border-top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  display: flex !important;
  flex-direction: column-reverse !important;
  gap: 10px !important;
}
@media (min-width: 640px) {
  #step2 .wo22-nav .col-md-12 {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}
body.page-weekorder.wo22-checkout-active #step2 .wo22-nav .pt-btn {
  float: none !important;
  margin: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  border-radius: 12px !important;
  padding: 14px 22px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  min-height: 48px !important;
  border: 1px solid #cbd5e1 !important;
  background: #fff !important;
  color: #334155 !important;
  box-shadow: none !important;
}
body.page-weekorder.wo22-checkout-active #step2 .wo22-nav .pt-btn:first-of-type {
  order: 1;
}
body.page-weekorder.wo22-checkout-active #step2 .wo22-nav button[onclick*="Next"],
body.page-weekorder.wo22-checkout-active #step2 .wo22-nav .pt-btn:last-child {
  background: #4338ca !important;
  color: #fff !important;
  border-color: #4338ca !important;
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.28) !important;
}
body.page-weekorder.wo22-checkout-active #step2 .wo22-nav .col-md-12 {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
}
body.page-weekorder.wo22-checkout-active #step2 .wo22-nav .pt-btn {
  width: auto !important;
  flex: 1 1 auto;
}
@media (min-width: 640px) {
  body.page-weekorder.wo22-checkout-active #step2 .wo22-nav .pt-btn {
    flex: 0 0 auto;
    min-width: 160px;
  }
}
body.page-weekorder.wo22-checkout-active #step2 .wo22-nav .col-md-12 {
  border-top: none !important;
}