/* ============================================================
   RESET & VARIABLES (scoped to .order-form-v2)
   ============================================================ */
.order-form-v2 *, .order-form-v2 *::before, .order-form-v2 *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Avenir font (KELP self-hosts these — Nunito Sans as fallback) */
@font-face { font-family: Avenir; src: url("../../fonts/Avenir-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: Avenir; src: url("../../fonts/Avenir-Book.woff2") format("woff2"); font-weight: 350; font-style: normal; font-display: swap; }
@font-face { font-family: Avenir; src: url("../../fonts/Avenir-Roman.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Avenir; src: url("../../fonts/Avenir-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Avenir; src: url("../../fonts/Avenir-Heavy.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Avenir; src: url("../../fonts/Avenir-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --primary: #006ABA;
  --primary-light: #00A2D4;
  --primary-dark: #004E8C;
  --gradient: linear-gradient(135deg, #006ABA, #00A2D4);
  --gradient-subtle: linear-gradient(135deg, #EBF5FF, #E0F4FB);
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --input-bg: #F7F9FA;
  --border: #F2F2F2;
  --border-light: #F2F2F2;
  --text: #162E3A;
  --text-secondary: #2D2E2E;
  --text-muted: #6B7B8D;
  --text-light: #94A3B3;
  --success: #43A047;
  --success-light: #E8F5E9;
  --danger: #D93F0B;
  --danger-light: #FFEBE9;
  --potable: #43A047;
  --potable-bg: #E8F5E9;
  --non-potable: #D4884A;
  --non-potable-bg: #FFF3E0;
  --radius-card: 12px;
  --radius-sm: 8px;
  --radius-input: 6px;
  --radius-pill: 100px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-elevated: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 0 3px rgba(0,106,186,0.15);
  --font: Avenir, 'Nunito Sans', system-ui, -apple-system, sans-serif;
  --transition: 0.2s ease;
}

.order-form-v2 {
  font-family: var(--font);
  font-size: 18px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.33;
}

/* (Header styles removed — using WP theme header) */

/* ============================================================
   WIZARD LAYOUT
   ============================================================ */
.wizard-container {
  max-width: 1390px;
  margin: 0 auto;
  padding: 24px 32px 48px;
  display: grid;
  grid-template-columns: 1fr 33%;
  gap: 24px;
  align-items: start;
}

.wizard-main { min-width: 0; }

.wizard-sidebar {
  position: sticky;
  top: 156px;
}

/* ============================================================
   STEP PROGRESS BAR
   ============================================================ */
.step-progress {
  background: white;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  cursor: default;
}

.step-item.completed, .step-item.available { cursor: pointer; }
.step-item.completed:hover .step-circle, .step-item.available:hover .step-circle { box-shadow: var(--shadow-glow); }
.step-item.completed:hover .step-label, .step-item.available:hover .step-label { text-decoration: underline; }

.step-item:not(:last-child)::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 12px;
  transition: background var(--transition);
}

.step-item.completed:not(:last-child)::after { background: var(--success); }

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-muted);
  background: white;
  transition: all var(--transition);
  flex-shrink: 0;
}

.step-item.active .step-circle {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.step-item.completed .step-circle {
  border-color: var(--success);
  background: var(--success);
  color: white;
}

.step-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.step-item.active .step-label { color: var(--primary); }
.step-item.completed .step-label { color: var(--success); }

/* ============================================================
   STEP CONTENT
   ============================================================ */
.step-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.step-content.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title {
  font-size: 30px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.step-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

/* ============================================================
   CARDS
   ============================================================ */
.content-card {
  background: white;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.content-card + .content-card { margin-top: 16px; }

.card-header {
  background: var(--gradient);
  padding: 14px 24px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header h3 {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-body { padding: 24px; }

/* ============================================================
   STEP 1: SAMPLES
   ============================================================ */
.sample-card {
  background: white;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 16px;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.sample-card-header {
  background: var(--gradient-subtle);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sample-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sample-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.sample-name-input {
  background: transparent;
  border: none;
  border-bottom: 1px dashed var(--text-light);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  width: 200px;
  outline: none;
  padding: 2px 0;
  text-transform: capitalize;
}

.sample-name-input:focus { border-bottom-color: var(--primary); }

.editable-name {
  cursor: pointer;
  border-bottom: 1px dashed transparent;
  transition: border-color var(--transition);
}
.editable-name:hover {
  border-bottom-color: var(--primary);
}

.inline-name-edit {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--primary);
  font: inherit;
  color: inherit;
  padding: 0;
  width: auto;
  min-width: 60px;
  max-width: 160px;
  outline: none;
}

.edit-icon-inline {
  opacity: 0.4;
  vertical-align: middle;
  margin-left: 2px;
  transition: opacity var(--transition);
}
.editable-name:hover .edit-icon-inline { opacity: 0.8; }

.sample-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.water-type-toggle {
  display: flex;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--border);
}

.water-type-btn {
  padding: 7px 18px;
  line-height: 1;
  cursor: pointer;
  background: white;
  color: var(--text-muted);
  transition: all var(--transition);
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
}

.water-type-btn.active-potable { background: var(--potable); color: white; }
.water-type-btn.active-non-potable { background: var(--non-potable); color: white; }

.btn-remove-sample {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  transition: all var(--transition);
}

.btn-remove-sample:hover { color: var(--danger); background: var(--danger-light); }

.sample-card-body {
  padding: 16px 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.sample-test-count {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sample-test-count .count { font-weight: 700; color: var(--text); }

.btn-add-sample {
  width: 100%;
  padding: 14px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-card);
  background: white;
  color: var(--primary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
}

.btn-add-sample:hover { border-color: var(--primary); background: #F0F7FF; }

/* ============================================================
   STEP 2: TESTS
   ============================================================ */
.test-controls-bar {
  position: sticky;
  top: 140px;
  z-index: 10;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 16px 20px;
  margin-bottom: 20px;
}

/* Extend the sticky bar's coverage below to mask scrolling content in the margin gap */
.test-controls-bar::after {
  content: '';
  position: absolute;
  bottom: -21px;
  left: -1px;
  right: -1px;
  height: 22px;
  background: linear-gradient(to bottom, white 40%, transparent);
  z-index: 1;
  pointer-events: none;
}

.test-controls-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 10px;
}

.sample-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.sample-tab.needs-tests {
  border-color: #F9A825;
  animation: pulse-border 1.5s ease-in-out 3;
}

@keyframes pulse-border {
  0%, 100% { border-color: #F9A825; box-shadow: none; }
  50% { border-color: #F9A825; box-shadow: 0 0 0 3px rgba(249, 168, 37, 0.2); }
}

.test-controls-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 14px;
}

.sample-tab {
  padding: 10px 20px 7px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border);
  background: white;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}

.sample-tab.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.sample-tab .water-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog-tabs {
  display: flex;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--border);
}

.catalog-tab {
  padding: 11px 24px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  border: none;
  cursor: pointer;
  background: #F1F1F1;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.catalog-tab.active { background: var(--gradient); color: white; }

.catalog-search {
  position: relative;
}

.catalog-search input {
  font-family: var(--font);
  font-size: 16px;
  padding: 8px 32px 8px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: white;
  width: 260px;
  outline: none;
  transition: all var(--transition);
}

.catalog-search input:focus { border-color: var(--primary); box-shadow: var(--shadow-glow); }

.catalog-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.catalog-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.catalog-search-clear:hover { background: var(--text-light); color: white; }

/* Added tests summary at top of step 2 */
.added-tests-banner {
  background: var(--success-light);
  border: 1px solid #A6E3B8;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--success);
}

.added-tests-banner .count {
  background: var(--success);
  color: white;
  padding: 4px 8px 2px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Category accordion */
.test-category {
  background: white;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 12px;
}


.category-header {
  background: var(--primary);
  padding: 22px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: white;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  border: none;
  width: 100%;
  font-family: var(--font);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.category-header:hover { opacity: 0.95; }
.category-header svg { transition: transform var(--transition); flex-shrink: 0; }
.category-header.open svg { transform: rotate(180deg); }

.category-tests { display: none; padding: 8px; }
.category-tests.open { display: block; }

.test-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.test-card {
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all var(--transition);
  position: relative;
  cursor: pointer;
}

.test-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.test-card.added {
  background: var(--gradient-subtle);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.test-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.test-card-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  margin-top: 1px;
}

.test-card.added .test-card-checkbox,
.package-card.added .test-card-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}

.test-card-checkbox svg { opacity: 0; transition: opacity var(--transition); }
.test-card.added .test-card-checkbox svg { opacity: 1; }
.package-card.added .test-card-checkbox svg { opacity: 1; }

.test-card-info { flex: 1; min-width: 0; }
.test-card-name { font-size: 16px; font-weight: 500; color: var(--text-secondary); line-height: 1.3; }
.test-card-price { font-size: 16px; font-weight: 500; color: var(--primary); white-space: nowrap; text-align: right; }
.test-card-price-label { font-size: 11px; color: var(--text-muted); font-weight: 400; }

.test-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.water-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px 2px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
}

.water-badge.potable { background: var(--potable); color: white; }
.water-badge.non-potable { background: var(--non-potable); color: white; }

/* Turnaround config panel - shows after adding test */
.test-turnaround-config {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.tat-pills {
  display: flex;
  gap: 4px;
}

.tat-pill {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 8px 3px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: white;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.tat-pill:hover { border-color: var(--primary); color: var(--primary); }
.tat-pill.active { background: var(--primary); border-color: var(--primary); color: white; }

.turnaround-price {
  font-weight: 500;
  color: var(--primary);
}

/* Package cards */
.package-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
}

.package-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  position: relative;
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.package-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.package-card.added {
  background: var(--gradient-subtle);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.package-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.package-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--gradient);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px 2px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.package-name { font-size: 18px; font-weight: 500; color: var(--text-secondary); margin-bottom: 4px; }
.package-price { font-size: 24px; font-weight: 500; color: var(--primary); margin-bottom: 8px; }

.package-includes { font-size: 14px; color: var(--text-muted); }
.package-includes-label { margin-bottom: 8px; font-weight: 500; color: var(--text-secondary); font-size: 16px; }
.package-includes ul { list-style: none; columns: 2; column-gap: 8px; }
.package-includes li {
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  break-inside: avoid;
}

.package-includes li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%232DA44E' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
}

/* btn-select-package removed — packages now use checkbox selection like tests */

/* ============================================================
   STEP 3: SHIPPING & DETAILS
   ============================================================ */
.shipping-sample-card {
  background: white;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 16px;
}

.shipping-sample-header {
  background: var(--gradient-subtle);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.shipping-sample-body { padding: 20px 24px; }

.shipping-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  cursor: pointer;
  transition: all var(--transition);
}

.shipping-option:hover { border-color: var(--primary-light); }
.shipping-option.selected { border-color: var(--primary); background: #F0F7FF; }

.shipping-option-content { flex: 1; }
.shipping-option-title { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.shipping-option-desc { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.shipping-sub-options { margin-top: 12px; padding-left: 32px; display: none; }
.shipping-option.selected .shipping-sub-options { display: block; }

.shipping-sub-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-input);
  cursor: pointer;
  font-size: 13px;
}

.shipping-sub-option:hover { background: var(--input-bg); }
.shipping-sub-option input[type="radio"] { appearance: auto; width: 16px; height: 16px; accent-color: var(--primary); flex-shrink: 0; cursor: pointer; }
.shipping-sub-price { font-weight: 700; color: var(--primary); margin-left: auto; }

/* Forms — IFTA (Infield Top-Aligned Labels) */
.form-group {
  margin-bottom: 16px;
}
.form-group > label {
  position: relative;
  display: block;
  border: 1px solid #EAEAEA;
  border-radius: 6px;
  background: #F7F9FA;
  box-shadow: 0 1px 2px 0 rgba(25, 33, 61, 0.1);
  transition: border-color var(--transition);
}
.form-group > label:focus-within {
  border-color: var(--primary);
  background: white;
}
.form-group > label svg {
  position: absolute;
  top: calc(50% - 12px);
  right: 16px;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 1;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  position: absolute;
  top: 10px;
  left: 15px;
  z-index: 1;
  pointer-events: none;
  transition: color var(--transition);
}
.form-group:focus-within .form-label {
  color: var(--primary);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 28px 50px 10px 15px;
  border: none;
  border-radius: var(--radius-input);
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  box-shadow: none;
}

.form-textarea { min-height: 80px; resize: vertical; padding-top: 28px; border: none; background: transparent; }

/* Stripe card element IFTA wrapper */
.form-group-stripe .ifta-wrap {
  position: relative;
  display: block;
  border: 1px solid #EAEAEA;
  border-radius: 6px;
  background: #F7F9FA;
  box-shadow: 0 1px 2px 0 rgba(25, 33, 61, 0.1);
  transition: border-color var(--transition);
}
.form-group-stripe .ifta-wrap.StripeElement--focus {
  border-color: var(--primary);
  background: white;
}
.form-group-stripe .ifta-wrap.StripeElement--focus .form-label {
  color: var(--primary);
}
.form-group-stripe .ifta-wrap svg {
  position: absolute;
  top: calc(50% - 12px);
  right: 16px;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 1;
}
.form-group-stripe #stripe-card-element {
  padding: 28px 50px 10px 15px;
  min-height: 44px;
}

/* Textarea IFTA wrapper */
.form-group-textarea > label {
  padding-bottom: 0;
}
.form-group-textarea .form-textarea {
  min-height: 80px;
  resize: vertical;
  padding: 28px 15px 10px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Checkout field validation */
.form-group.field-error .form-label { color: #e53e3e; }
.form-group.field-error > label {
  border-color: #e53e3e;
}
.form-select { cursor: pointer; -webkit-appearance: none; -moz-appearance: none; appearance: none; }

/* Phone prefix +1 */
.phone-prefix-group > label {
  border: none;
  background: none;
}
.phone-prefix-group .phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #EAEAEA;
  border-radius: 6px;
  background: #F7F9FA;
  box-shadow: 0 1px 2px 0 rgba(25, 33, 61, 0.1);
  transition: border-color var(--transition);
  padding-top: 24px;
}
.phone-prefix-group .phone-input-wrap:focus-within {
  border-color: var(--primary);
  background: white;
}
.phone-prefix-group > label svg {
  position: absolute;
  top: calc(50% - 12px);
  right: 16px;
}
.phone-prefix-group .phone-prefix {
  flex-shrink: 0;
  padding: 0 2px 12px 14px;
  font: 400 14px / 1 var(--font);
  color: var(--text-muted);
}
.phone-prefix-group .phone-input-wrap:focus-within .phone-prefix {
  color: var(--text);
}
.phone-prefix-group .phone-input-wrap .form-input {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0 14px 12px 4px;
  flex: 1;
  min-width: 0;
}
.phone-prefix-group .phone-input-wrap .form-input:focus {
  border: none;
  box-shadow: none;
  background: transparent;
}
.form-group.field-error.phone-prefix-group .phone-input-wrap {
  border-color: #e53e3e;
  background: rgba(229, 62, 62, 0.03);
}

.form-group .field-error-msg {
  display: block;
  font-size: 12px;
  color: #e53e3e;
  margin-top: 4px;
}

.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; }

.btn-apply-coupon {
  padding: 12px 20px 8px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--gradient);
  color: white;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.btn-apply-coupon:hover { opacity: 0.9; }

.coupon-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 8px 12px 5px;
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.3);
  border-radius: var(--radius-pill);
  font-size: 13px;
  line-height: 1;
  color: var(--success);
}

.coupon-tag-icon { font-size: 14px; }

.coupon-tag-remove {
  font-size: 16px;
  color: var(--danger);
  cursor: pointer;
  margin-left: 4px;
  line-height: 1;
}

.coupon-tag-remove:hover { opacity: 0.7; }

/* ============================================================
   STEP 4: REVIEW & PAY
   ============================================================ */
.review-section {
  background: white;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 16px;
}

.review-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-body { padding: 20px 24px; }

.review-sample { margin-bottom: 20px; }
.review-sample:last-child { margin-bottom: 0; }

.review-sample-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
}

.review-sample-name { font-weight: 700; display: flex; align-items: center; gap: 8px; }

.review-test-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}

.review-test-detail { color: var(--text-muted); font-size: 12px; }
.review-test-price { font-weight: 600; color: var(--primary); }

.review-shipping-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
  margin-top: 8px;
}

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 14px; }
.info-item-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 2px; }
.info-item-value { font-weight: 600; }

.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }

.payment-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
}

.payment-option:hover { border-color: var(--primary-light); }
.payment-option.selected { border-color: var(--primary); background: #F0F7FF; }
.payment-option-icon { margin-bottom: 8px; }
.payment-option-title { font-size: 15px; font-weight: 700; }
.payment-option-desc { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.stripe-fields { display: none; margin-top: 16px; }
.stripe-fields.visible { display: block; }

.stripe-card-mock {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.terms-checkbox.invalid {
  border-color: #e53e3e;
  background: rgba(229, 62, 62, 0.05);
  animation: shake 0.4s ease-in-out;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.terms-error {
  color: #e53e3e;
  font-size: 12px;
  margin-top: 6px;
  display: none;
}
.terms-error.visible { display: block; }

.terms-checkbox { cursor: pointer; }
.terms-checkbox input { appearance: auto; width: 16px; height: 16px; accent-color: var(--primary); margin-top: 2px; flex-shrink: 0; cursor: pointer; }
.terms-checkbox label { cursor: pointer; }
.terms-checkbox a { color: var(--primary); text-decoration: none; }

/* ============================================================
   ORDER SUMMARY SIDEBAR
   ============================================================ */
.order-summary {
  background: white;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.summary-header {
  background: var(--gradient);
  padding: 19px 20px 15px;
  color: white;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.summary-header svg {
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

.summary-body { padding: 16px 20px; }

.summary-sample {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.summary-sample:last-of-type { border-bottom: none; margin-bottom: 8px; padding-bottom: 8px; }

.summary-sample-name {
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.summary-sample-name .editable-name {
  position: relative;
  top: 1.5px;
}

.summary-sample-name .water-badge {
  padding: 5px 10px 3px;
}

.summary-test-row { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; }
.summary-test-name { color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 8px; }
.summary-test-price { font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.summary-remove-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.summary-remove-btn:hover { color: var(--danger); background: var(--danger-light); }

.summary-delete-sample {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 2px;
  margin-left: auto;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: all var(--transition);
}
.summary-delete-sample:hover { color: var(--danger); background: var(--danger-light); }

.summary-tat-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--primary);
  padding: 6px 0 2px;
  margin-top: 4px;
  border-top: 1px dashed var(--border);
}
.summary-tat-header:first-child { border-top: none; margin-top: 0; }

.summary-shipping {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--border);
}

.summary-divider { height: 1px; background: var(--border); margin: 12px 0; }
.summary-line { display: flex; justify-content: space-between; font-size: 16px; padding: 4px 0; }
.summary-line.discount { color: var(--success); }

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 0 4px;
  border-top: 2px solid var(--text);
  margin-top: 8px;
}

.summary-total .amount { color: var(--primary); }

.sidebar-extras {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px;
  margin-top: 24px;
  margin-bottom: 16px;
}

.sidebar-field { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.sidebar-field:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sidebar-field .form-input {
  border: 1px solid #EAEAEA;
  background: #F7F9FA;
  border-radius: var(--radius-input);
  box-shadow: 0 1px 2px 0 rgba(25, 33, 61, 0.1);
  padding: 10px 12px;
}

.sidebar-field .form-input:focus {
  border-color: var(--primary);
}

.summary-empty {
  text-align: center;
  padding: 24px 0;
  color: var(--text-light);
  font-size: 14px;
}

/* ============================================================
   NAV BUTTONS
   ============================================================ */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px 10px;
  border-radius: var(--radius-pill);
  font: 500 18px / 1 var(--font);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-back { background: white; border: 2px solid var(--border); color: var(--text-muted); }
.btn-back:hover { border-color: var(--primary); color: var(--primary); }

.btn-next { background: var(--primary); color: white; box-shadow: 0 2px 8px rgba(0,106,186,0.3); border: 2px solid var(--primary); }
.btn-next:hover { box-shadow: 0 4px 16px rgba(0,106,186,0.4); transform: translateY(-1px); }
.btn-next:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-next svg, .btn-back svg { display: block; width: 25px; height: 25px; flex-shrink: 0; position: relative; top: -3px; }
.btn-back svg { transform: scaleX(-1); }
.btn-back svg rect { fill: var(--primary); }
.btn-back svg path { stroke: white; }

.btn-place-order { background: var(--success); color: white; padding: 18px 36px 14px; font-size: 18px; box-shadow: 0 2px 8px rgba(45,164,78,0.3); text-align: center; justify-content: center; border: 2px solid var(--success); }
.btn-place-order:hover:not(:disabled) { box-shadow: 0 4px 16px rgba(45,164,78,0.4); transform: translateY(-1px); }
.btn-place-order:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

/* ============================================================
   CONFIRMATION (matches thank-you page layout)
   ============================================================ */
.confirmation-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.confirmation-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.confirmation-title { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.confirmation-subtitle { color: var(--text-muted); font-size: 16px; margin: 0; }

.confirmation-order-number {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.confirmation-disclaimer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.confirmation-flex {
  display: flex;
  gap: 20px;
}

.confirmation-section {
  flex: 1;
  background: white;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 20px;
  min-width: 0;
}

.confirmation-section h3 {
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--text);
}

/* Customer details fields */
.conf-field { margin-bottom: 20px; }
.conf-field:last-child { margin-bottom: 0; }
.conf-label { font-size: 14px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.conf-value { font-size: 15px; font-weight: 400; color: var(--text-secondary); margin: 0; line-height: 1.5; }

/* Order details */
.conf-section-subtitle { font-size: 16px; font-weight: 500; color: var(--text); margin: 0 0 12px; }

.conf-sample {
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.conf-sample:last-of-type { border-bottom: none; margin-bottom: 0; }
.conf-sample h4 { font-size: 16px; font-weight: 500; margin: 0 0 8px; color: var(--text); }

.conf-item-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 0 2px 12px;
  font-size: 15px;
  color: var(--text-secondary);
}
.conf-item-row span:last-child { font-weight: 500; }
.conf-shipping-row { color: var(--text-muted); font-size: 14px; margin-top: 4px; }
.conf-tat-header {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  padding: 6px 0 2px 12px;
  margin-top: 4px;
}

.conf-totals {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 8px;
}
.conf-total-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 16px;
  font-weight: 700;
}
.conf-discount { color: red; font-weight: 400; font-size: 14px; }
.conf-grand-total { font-size: 20px; font-weight: 900; margin-top: 8px; padding-top: 8px; border-top: 2px solid var(--text); }

.btn-new-order {
  margin-top: 24px;
  background: var(--gradient);
  color: white;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn-new-order:hover { opacity: 0.9; }

/* Loading */
.step-loading { display: none; text-align: center; padding: 48px; }
.step-loading.visible { display: block; }

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

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

/* ============================================================
   PRICING DISCLAIMER
   ============================================================ */
.pricing-disclaimer {
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #5D4037;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-disclaimer svg { flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   NEED HELP CARD
   ============================================================ */
.need-help-card {
  background: var(--primary);
  border-radius: 20px;
  padding: 20px;
  margin-top: 20px;
  color: white;
}

.need-help-card h4 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

.need-help-card p {
  margin-bottom: 28px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  padding-bottom: 42px;
  border-bottom: 1px solid #fff;
}

.need-help-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 6px;
  width: max-content;
  max-width: 100%;
  color: white;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

.need-help-link:hover { opacity: 0.8; }

.need-help-link svg { flex-shrink: 0; position: relative; top: -1.5px; }

/* Toast notification */
.wizard-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #d32f2f;
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  font: 500 14px/1.4 var(--font-stack);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  max-width: 500px;
  text-align: center;
}
.wizard-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ============================================================
   RESPONSIVE — TABLET (max-width: 960px)
   ============================================================ */
@media (max-width: 960px) {
  .wizard-container { grid-template-columns: 1fr; padding: 16px; }
  .test-grid { grid-template-columns: 1fr; }
  .package-grid { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr; }
  .confirmation-flex { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .test-controls-bar { position: static; }
  .test-controls-bar::after { display: none; }
  .catalog-controls { flex-direction: column; gap: 10px; align-items: stretch; }
  .catalog-search input { width: 100%; }
  .sample-tabs { flex-wrap: wrap; }

  /* Sidebar: collapsible on mobile, BELOW content */
  .wizard-sidebar { position: static; order: 1; }

  .wizard-sidebar .order-summary {
    border: 2px solid var(--primary);
  }

  /* Collapsible summary — header becomes toggle */
  .summary-header {
    cursor: pointer;
    position: relative;
  }
  .summary-header::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2.5px solid white;
    border-bottom: 2.5px solid white;
    transform: rotate(-135deg);
    transition: transform 0.3s;
    margin-left: auto;
    flex-shrink: 0;
  }
  .summary-header.collapsed::after {
    transform: rotate(45deg);
  }
  .summary-header.collapsed + .summary-body {
    display: none;
  }

  /* Floating cart button — fixed above sticky nav */
  .mobile-cart-toggle {
    display: flex;
    position: fixed;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 16px rgba(0,106,186,0.4);
    align-items: center;
    justify-content: center;
    z-index: 100;
    cursor: pointer;
    transition: transform 0.2s;
  }
  .mobile-cart-toggle:active { transform: scale(0.92); }
  .mobile-cart-toggle .cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--danger);
    color: white;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    display: grid;
    place-items: center;
    border: 2px solid white;
  }

  /* Hide "Need Help?" card on mobile to save space */
  .need-help-card { display: none; }

  /* Step progress bar — compact with short labels */
  .step-progress { padding: 14px 16px; }
  .step-label {
    display: block;
    font-size: 11px;
  }
  .step-circle { width: 28px; height: 28px; font-size: 12px; }
  .step-item { gap: 4px; }
  .step-item:not(:last-child)::after { margin: 0 6px; }

  /* Sticky bottom nav bar */
  .wizard-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    z-index: 99;
    border-radius: 0;
    align-items: stretch;
  }

  /* Add bottom padding so sticky nav + cart button don't cover content */
  .wizard-main { padding-bottom: 80px; }
  .order-form-v2 { padding-bottom: 72px; }

  /* Step titles smaller */
  .step-title { font-size: 22px; }
  .step-subtitle { font-size: 14px; margin-bottom: 16px; }

  /* Confirmation card tighter */
  .confirmation-card { padding: 32px 20px; }
}

/* ============================================================
   RESPONSIVE — PHONE (max-width: 600px)
   ============================================================ */
@media (max-width: 600px) {
  .wizard-container { padding: 12px; gap: 12px; }

  /* Step bar — hide labels, circles only */
  .step-label { display: none; }
  .step-progress { padding: 12px; }
  .step-circle { width: 32px; height: 32px; font-size: 13px; }
  .step-item:not(:last-child)::after { margin: 0 4px; }

  /* Sample card header stacks on small screens */
  .sample-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }
  .sample-header-right {
    width: 100%;
    justify-content: space-between;
  }
  .sample-name-input { width: 100%; }
  .sample-card-body { padding: 12px 16px; }

  /* Water type toggle smaller */
  .water-type-btn { padding: 6px 14px; font-size: 12px; }

  /* Test card more compact */
  .test-card { padding: 12px; }
  .test-card-name { font-size: 14px; }
  .test-card-price { font-size: 14px; }
  .test-card-meta { font-size: 12px; }
  .turnaround-select { font-size: 12px; }

  /* Category header smaller */
  .category-header { padding: 14px 16px; font-size: 16px; }

  /* Cards tighter */
  .card-body { padding: 16px; }
  .card-header { padding: 12px 16px; }

  /* Shipping options stack better */
  .shipping-option { padding: 12px; }
  .shipping-sub-options { padding-left: 16px; }

  /* Buttons full width, compact text */
  .btn-next, .btn-back, .btn-place-order {
    flex: 1;
    justify-content: center;
    padding: 12px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  /* Review section tighter */
  .review-body { padding: 16px; }
  .review-header { padding: 12px 16px; }

  /* Sidebar extras */
  .sidebar-extras { padding: 12px; }

  /* Package cards */
  .package-card { padding: 16px; }
  .package-includes ul { columns: 1; }

  /* Pricing disclaimer */
  .pricing-disclaimer { font-size: 12px; padding: 10px 12px; }

  /* Coupon row stays inline on mobile */
  .coupon-row { flex-direction: row; }
  .btn-apply-coupon { width: auto; text-align: center; }

  /* Form inputs slightly smaller */
  .form-input, .form-textarea, .form-select { font-size: 16px; }

  /* Checkout CC fields */
  .stripe-card-mock { padding: 12px; font-size: 13px; }

  /* Terms */
  .terms-checkbox { font-size: 12px; padding: 8px; }
}

/* Hide mobile cart toggle on desktop */
@media (min-width: 961px) {
  .mobile-cart-toggle { display: none; }
}
