/* Minimal admin styles */ .biow-card{background:#fff;padding:16px;border:1px solid #e5e7eb;border-radius:8px;max-width:980px} .biow-media img{display:block;margin-bottom:8px}


/* Admin styles (existing) */

/* Wizard public styles */
.bw-title { font-family: "EB Garamond", serif;font-weight:400!important;line-height:1.4;padding: 0 !important;}
.bw-wizard { max-width: 1000px; margin: 0 auto; }
.bw-progress { display:flex; align-items:center; gap:24px; justify-content:center; margin: 10px 0 22px; }
.bw-dot { width:28px; height:28px; border-radius:50%; background:#d7d7d9; display:inline-block; }
.bw-dot.active { background:#af8320; }
.bw-line { height:2px; width:56px; background:#2b2b2b; opacity:.4; }
.bw-panel { display:grid; grid-template-columns: 1fr 1fr; gap: 24px; border:1px solid #ddd; padding: 0px; }
.bw-hero { background:#c3dfb8; min-height:420px; display:flex; align-items:center; justify-content:center; }
.bw-hero img { max-width:100%; height:auto; }
.bw-step[hidden]{ display:none!important; }
.bw-actions { margin-top:18px; }
.bw-actions .button { padding:10px 18px; }
.bw-title { font-size:36px; letter-spacing:.03em; color:#3a3a3a; margin:10px 0 18px; font-weight:600; }
.bw-lead { color:#555; line-height:1.7; }
.bio-grid { display:grid; grid-template-columns: 1fr 1fr; gap:14px; }
.bio-span { grid-column: 1 / -1; }
@media (max-width:920px){ .bw-panel { grid-template-columns:1fr; } }




/* ===== Container (two-column card) ===== */
.bw-panel{
  display:flex;
  gap:0;
  border:1px solid #e5e5e5;
  border-radius:4px;
  overflow:hidden;
  max-width:1120px;
  margin:40px auto;
  background:#fff;
}

/* Left side (form) */
.bw-panel > div:first-child{
  flex:1 1 52%;
  padding:56px 40px;
}

/* Right side (hero) */
.bw-hero{
  flex:1 1 48%;
  background:#b9d7a7;            /* soft green */
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:520px;
}
.bw-hero img{
  max-width:100%;
  height:auto;
  display:block;
}

/* ===== Typography ===== */
.bw-title{
  
  font-size:32px;
  line-height:1.25;
  
  color:#2a2a2a;
  margin-bottom:32px;
}
.bw-panel label{
  display:block;
  font: 500 14px/1.4 "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#333;
  margin:16px 0 8px;
}

/* ===== Inputs ===== */

.emailfieldbw,
#bw-device,
#bw-serial{
  width:100%;
  max-width:280px;
  padding:11px 14px;
  border:1px solid #cfcfcf;
  border-radius:6px;
  background:#fff;
  font: 400 15px/1.3 "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#222;
  outline:none;
  transition:border-color .18s ease;
}

/* nicer focus */
#bw-device:focus,
#bw-serial:focus{
  border-color:#c49a2c;          /* gold accent */
}

/* native select cleanup (keeps OS arrow) */
#bw-device{
  appearance:auto;
  background-position:right 10px center;
  background-repeat:no-repeat;
}

/* helper link */
.bw-panel a{
  font-size:12px;
  color:#0a39c8;
  text-decoration:none;
}
.bw-panel a:hover{ text-decoration:underline; }

/* ===== Button ===== */
.bw-actions{ margin-top:26px; }

button.button.button-primary,
.bw-actions .button.button-primary{
  background:#b78c1b;
  border:0;
  border-radius:0;
  padding:12px 48px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.3px;
  color:#fff;
  box-shadow:none;
  cursor:pointer;
  transition:background .2s ease, opacity .2s ease;
}
.bw-actions .button.button-primary:hover{ background:#9c7516; }

/* disabled state (matches screenshot vibe) */
.bw-actions .button[disabled],
.bw-actions .button[disabled]:hover{
  background:#d1b469;
  opacity:.55;
  cursor:not-allowed;
}

/* ===== Spacing tweaks to match screenshot ===== */
#bw-serial::placeholder{ color:#9aa0a6; }
.bw-panel > div:first-child > div[style*="margin-top:14px"]{
  margin-top:14px !important; /* keep your inline spacing intent */
}

/* ===== Responsive (stack on mobile) ===== */
@media (max-width: 900px){
  .bw-panel{
    flex-direction:column;
  }
  .bw-panel > div:first-child{
    padding:36px 24px 28px;
  }
  .bw-hero{
    min-height:300px;
  }
  #bw-device, #bw-serial{
    max-width:100%;
  }
}



/* ---- Bio Warranty: serial groups UI ---- */
.biow-card { background:#fff; border:1px solid #e5e5e5; border-radius:4px; padding:20px; }
#biow-groups { margin: 8px 0 10px; }

.biow-group{
  border:1px solid #dcdcdc;
  border-radius:6px;
  padding:14px;
  margin-bottom:12px;
  background:#fafafa;
}
.biow-group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
}
.biow-group .biow-row{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:10px;
}
.biow-group .biow-row label{ width:120px; font-weight:600; }
.biow-ranges{ display:flex; flex-direction:column; gap:8px; margin-bottom:10px; }
.biow-range{ display:flex; align-items:center; gap:8px; }
.biow-range label{ font-weight:600; }
.biow-range label.sep{ margin-left:8px; }
.biow-add-range{ margin-top:2px; }
.biow-remove-group, .biow-remove-range{ color:#b32d2e; }









/* === Bio Warranty Error Dialog === */
#bw-serial-error {
  border: none;
  border-radius: 16px;
  padding: 40px 50px;
  width: 480px;
  max-width: 90%;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  text-align: left;
  color: #222;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
}

#bw-serial-error::backdrop {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
}

/* Header */
#bw-serial-error h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 300;
  font-family: "Georgia", serif;
  color: #111;
  text-align: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

/* Body text */
#bw-serial-error p {
  font-size: 15px;
  color: #333;
  margin-bottom: 30px;
  text-align: left;
}

/* Links */
#bw-serial-error a {
  color: #0033cc;
  text-decoration: none;
}
#bw-serial-error a:hover {
  text-decoration: underline;
}

/* Close button */
#bw-serial-error form {
  display: flex;
  justify-content: center;
}
#bw-serial-error .button.button-primary {
  background-color: #b78c1b;
  border: none;
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  padding: 10px 36px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background-color 0.2s ease;
}
#bw-serial-error .button.button-primary:hover {
  background-color: #9a7313;
}

/* Optional fade-in animation */
@keyframes dialogFadeIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
#bw-serial-error[open] {
  animation: dialogFadeIn 0.25s ease forwards;
}




/* ===== Step 2 (Owner) layout & typography ===== */
.bw-step[data-step="2"] .bw-panel{
  display:flex;
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:4px;
  overflow:hidden;
}

/* left form column */
.bw-step[data-step="2"] .bw-panel > div:first-child{
  flex:1 1 52%;
  padding:56px 80px;
}

/* right hero column */
.bw-step[data-step="2"] .bw-hero{
  flex:1 1 48%;
  min-height:520px;
  background:#b9d7a7;
  display:flex;
  align-items:center;
  justify-content:center;
}
.bw-step[data-step="2"] .bw-hero img{ max-width:78%; height:auto; }

/* product title */
.bw-step[data-step="2"] .bw-title{
  font-family: "Georgia", serif;
  font-weight:400;
  font-size:36px;
  line-height:1.2;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:#2a2a2a;
  margin:0 0 26px;
}

/* form grid (2 columns) */
.bw-step[data-step="2"] .bio-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  row-gap: 16px;
  max-width:540px;   /* matches the compact look */
}

/* spans full width rows */
.bw-step[data-step="2"] .bio-grid .bio-span{ grid-column: 1 / span 2; }

/* labels */
.bw-step[data-step="2"] label{
  display:block;
  font: 600 13px/1.3 "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#5a5a5a;
  margin-bottom:8px;
}

/* inputs */
.bw-step[data-step="2"] input[type="text"],
.bw-step[data-step="2"] input[type="email"]{
  width:100%;
  padding:11px 14px;
  border:1px solid #cfcfcf;
  border-radius:4px;
  background:#fff;
  font: 400 15px/1.3 "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#222;
  outline:none;
  transition:border-color .18s ease;
}
.bw-step[data-step="2"] input:focus{ border-color:#c49a2c; }

/* checkbox line (wrap long text neatly) */
.bw-step[data-step="2"] .bio-grid .bio-span label input[type="checkbox"]{
  inline-size:16px; block-size:16px; margin-right:10px; vertical-align:middle;
}
.bw-step[data-step="2"] .bio-grid .bio-span label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-weight:500;
  color:#333;
}

/* actions */
.bw-step[data-step="2"] .bw-actions{ margin-top:22px; }
.bw-step[data-step="2"] .bw-actions .button{ padding:10px 22px; }
.bw-step[data-step="2"] .bw-actions .button.button-primary{
  background:#b78c1b; border:0; border-radius:0; color:#fff; font-weight:700; text-transform:uppercase;
}
.bw-step[data-step="2"] .bw-actions .button.button-primary:hover{ background:#9a7313; }

/* responsive stack */
@media (max-width: 900px){
  .bw-step[data-step="2"] .bw-panel{ flex-direction:column; }
  .bw-step[data-step="2"] .bw-panel > div:first-child{ padding:32px 24px; }
  .bw-step[data-step="2"] .bio-grid{ grid-template-columns: 1fr; max-width:none; }
  .bw-step[data-step="2"] .bio-grid .bio-span{ grid-column:auto; }
  .bw-step[data-step="2"] .bw-hero{ min-height:320px; }
}



/* ===== Step 3 (Purchase) ===== */
.bw-step[data-step="3"] .bw-panel{
  display:flex;
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:4px;
  overflow:hidden;
}

/* left form column */
.bw-step[data-step="3"] .bw-panel > div:first-child{
  flex:1 1 52%;
  padding:56px 80px;
}

/* right hero column */
.bw-step[data-step="3"] .bw-hero{
  flex:1 1 48%;
  min-height:520px;
  background:#b9d7a7;
  display:flex;
  align-items:center;
  justify-content:center;
}
.bw-step[data-step="3"] .bw-hero img{ max-width:78%; height:auto; }

/* product title */
.bw-step[data-step="3"] .bw-title{
  font-family:"Georgia", serif;
  font-weight:400;
  font-size:36px;
  line-height:1.2;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:#2a2a2a;
  margin:0 0 26px;
}

/* form grid */
.bw-step[data-step="3"] .bio-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  column-gap:18px;
  row-gap:16px;
  max-width:540px;
}
.bw-step[data-step="3"] .bio-grid .bio-span{ grid-column:1 / span 2; }

/* labels */
.bw-step[data-step="3"] label{
  display:block;
  font:600 13px/1.3 "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#5a5a5a;
  margin-bottom:8px;
}

/* inputs + selects */
.bw-step[data-step="3"] input[type="text"],
.bw-step[data-step="3"] input[type="date"],
.bw-step[data-step="3"] select{
  width:100%;
  padding:11px 14px;
  border:1px solid #cfcfcf;
  border-radius:6px;
  background:#fff;
  font:400 15px/1.3 "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#222;
  outline:none;
  transition:border-color .18s ease;
}
.bw-step[data-step="3"] input:focus,
.bw-step[data-step="3"] select:focus{ border-color:#c49a2c; }

/* keep native select arrow, space it nicely */
.bw-step[data-step="3"] select{
  appearance:auto;
  background-position:right 10px center;
  background-repeat:no-repeat;
}

/* actions */
.bw-step[data-step="3"] .bw-actions{ margin-top:22px; }
.bw-step[data-step="3"] .bw-actions .button{ padding:10px 22px; }
.bw-step[data-step="3"] .bw-actions .button.button-primary{
  background:#b78c1b; border:0; border-radius:0; color:#fff;
  font-weight:700; text-transform:uppercase; letter-spacing:.3px;
}
.bw-step[data-step="3"] .bw-actions .button.button-primary:hover{ background:#9a7313; }

/* responsive */
@media (max-width:900px){
  .bw-step[data-step="3"] .bw-panel{ flex-direction:column; }
  .bw-step[data-step="3"] .bw-panel > div:first-child{ padding:32px 24px; }
  .bw-step[data-step="3"] .bio-grid{ grid-template-columns:1fr; max-width:none; }
  .bw-step[data-step="3"] .bio-grid .bio-span{ grid-column:auto; }
  .bw-step[data-step="3"] .bw-hero{ min-height:320px; }
}




/* Container holding all results */
#bw-lookup-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;              /* space between cards */
  margin-top: 20px;
}

/* Each result card */
.bw-lookup-row {
  box-sizing: border-box;
  width: calc(25% - 12px); /* 4 per row on desktop */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 13px;
}

/* Thumbnail image */
.bw-lookup-row .bw-lookup-thumb img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid #ddd;
  margin-bottom: 6px;
}

/* EXP label + date stacked nicely */
.bw-lookup-exp-label {
  font-size: 11px;
  letter-spacing: 1px;
  margin-top: 2px;
}

.bw-lookup-exp-date {
  font-weight: 500;
}

/* Responsive: 2 per row on tablet, 1 per row on mobile */
@media (max-width: 900px) {
  .bw-lookup-row {
    width: calc(50% - 12px);
  }
}
@media (max-width: 600px) {
  .bw-lookup-row {
    width: 100%;
  }
}
