.awf-open { overflow: hidden; }
#aw-dialog {
  --awf-ink: #17191d;
  --awf-muted: #555c64;
  --awf-red: #c92329;
  --awf-line: #dfe0df;
  box-sizing: border-box;
  margin: 0 0 0 auto;
  position: fixed;
  inset: 0 0 0 auto;
  inline-size: min(100%, 520px);
  block-size: 100%;
  block-size: 100dvh;
  max-inline-size: 100%;
  max-block-size: 100dvh;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--awf-line);
  background: #fff;
  color: var(--awf-ink);
  box-shadow: -10px 0 36px #13151620;
  overflow: auto;
  overscroll-behavior: contain;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
}
#aw-dialog:not([open]) { display: none; }
#aw-dialog::backdrop { background: rgb(13 16 18 / 58%); }
#aw-dialog *, #aw-dialog *::before, #aw-dialog *::after { box-sizing: border-box; }
#aw-dialog [hidden] { display: none !important; }
#aw-dialog button, #aw-dialog a, #aw-dialog input, #aw-dialog select, #aw-dialog textarea { font-family: inherit; }
#aw-dialog a:focus-visible, #aw-dialog button:focus-visible,
#aw-dialog input:focus-visible, #aw-dialog select:focus-visible,
#aw-dialog textarea:focus-visible { outline: 3px solid #3981b9; outline-offset: 3px; }
.awf-inner { min-height: 100%; }
.awf-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px; padding: 13px clamp(20px, 5vw, 36px);
  border-bottom: 1px solid var(--awf-line); background: white;
}
.awf-store {
  font-size: 17px; font-weight: 850; letter-spacing: -.055em; font-style: italic;
  color: var(--awf-ink);
}
.awf-store span {color: var(--awf-red);}
#aw-dialog .awf-close {
  display: grid; place-content: center; width: 42px; height: 42px; margin-left: auto;
  background: #f4f4f2; border: 0; border-radius: 50%;
  line-height: 1; color: var(--awf-ink); font: 28px/1 Arial, sans-serif; cursor: pointer;
}
#aw-dialog .awf-back {
  border: 0; background: none; padding: 8px 0; cursor: pointer;
  color: var(--awf-muted); font-size: 14px; font-weight: 650;
}
.awf-content { padding: 28px clamp(20px, 5vw, 36px) max(38px, env(safe-area-inset-bottom)); }
#aw-dialog .awf-content h2 {
  margin: 0 0 12px; color: var(--awf-ink); font-size: clamp(30px, 5vw, 41px);
  letter-spacing: -.044em; line-height: 1.07; font-weight: 780;
}
#awf-heading:focus {outline: none;}
#aw-dialog .awf-lead { margin: 0 0 22px; color: var(--awf-muted); font-size: 15px; line-height: 1.55; }
.awf-brand-list {display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px;}
.awf-brand-list span {padding: 5px 10px; background: #f5f4f1; border: 1px solid #e8e7e3; font-size: 12px; font-weight: 650; border-radius: 2px;}
.awf-form, .awf-actions {display: grid; gap: 14px;}
.awf-actions {margin-top: 24px;}
#aw-dialog label, #aw-dialog legend {
  color: var(--awf-ink); font-size: 13px; font-weight: 700;
}
#aw-dialog .awf-form label { display: block; margin: 0; }
#aw-dialog .awf-form :is(input:not([type="radio"]), textarea, select), .awf-copy {
  display: block; width: 100%; min-width: 0; min-height: 46px; margin-top: 6px; border: 1px solid #b9bdc1;
  border-radius: 4px; background: #fff; color: var(--awf-ink); padding: 11px 12px;
  font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.4;
}
#aw-dialog .awf-form textarea { max-width: 100%; resize: vertical; }
#aw-dialog .awf-form :is(input, textarea)::placeholder { color: #73787e; opacity: 1; }
#aw-dialog .awf-form label small { font-weight: 400; color: var(--awf-muted); font-size: 12px; }
#aw-dialog .awf-form #awf-pincode small { display: block; margin: 5px 0 0; }
#aw-dialog .awf-quantity-field input { max-width: 95px; }
#aw-dialog .awf-note, #aw-dialog .awf-price-hint {
  margin: 2px 0 4px; padding: 12px 14px; color: #474b51; background: #f6f5f2;
  border-left: 3px solid var(--awf-ink); font-size: 13px; line-height: 1.55;
}
#aw-dialog .awf-price-hint { margin-top: -4px; border-color: var(--awf-red); }
#aw-dialog .awf-primary, #aw-dialog .awf-secondary {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 48px; padding: 12px 17px; margin: 0; border: 1px solid transparent; border-radius: 4px;
  color: #fff; background: var(--awf-red); font-size: 14px; font-weight: 750;
  line-height: 1.35; text-align: center; text-decoration: none; cursor: pointer;
}
#aw-dialog .awf-primary:hover { background: #a1171f; }
#aw-dialog .awf-secondary {color: var(--awf-ink); border-color: #cacdd0; background: white;}
#aw-dialog .awf-secondary:hover, #aw-dialog .awf-row-link:hover {background: #f4f4f2;}
#aw-dialog .awf-form fieldset { margin: 0; padding: 0; min-width: 0; border: 0; }
#aw-dialog .awf-form legend { margin-bottom: 6px; padding: 0; }
.awf-options {display: grid; grid-template-columns: 1fr 1fr; gap: 8px;}
#aw-dialog .awf-form .awf-choice {
  display: flex; align-items: center; gap: 10px; margin: 0 0 6px;
  border: 1px solid var(--awf-line); padding: 12px; border-radius: 4px; line-height: 1.35; cursor: pointer;
}
#aw-dialog .awf-choice:has(:checked) { background: #fff5f4; border-color: #c94a47; }
#aw-dialog .awf-choice input { width: 16px; height: 16px; min-height: 0; margin: 0; accent-color: var(--awf-red); }
.awf-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
#aw-dialog .awf-small { color: var(--awf-muted); font-size: 12px; line-height: 1.6; margin: 2px 0 8px; }
#aw-dialog .awf-success { padding: 10px 12px; margin: 0 0 14px; background: #eef6ed; color: #2b603a; font-size: 13px; font-weight: 650; }
#aw-dialog .awf-list-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--awf-line); padding: 16px 0; }
#aw-dialog .awf-list-item:last-child {border-bottom: 1px solid var(--awf-line);}
#aw-dialog .awf-list-item h3 { font-size: 17px; margin: 0 0 3px; color: var(--awf-ink); }
#aw-dialog .awf-list-item p { color: var(--awf-muted); margin: 4px 0; font-size: 13px; overflow-wrap: anywhere; }
#aw-dialog .awf-remove { color: #666b70; text-decoration: underline; font-size: 12px; background: none; border: 0; padding: 6px 0; cursor: pointer; }
.awf-stepper { display: inline-flex; flex-shrink: 0; align-items: center; border: 1px solid var(--awf-line); border-radius: 3px; }
#aw-dialog .awf-stepper button { min-width: 36px; min-height: 38px; border: 0; background: #f6f6f4; color: var(--awf-ink); font-size: 19px; cursor: pointer; }
#aw-dialog .awf-stepper button:disabled { opacity: .4; cursor: default; }
.awf-stepper span { min-width: 27px; padding: 0 5px; font-size: 13px; text-align: center; }
.awf-sr {position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap;}
.awf-category-list {display: grid;}
#aw-dialog .awf-row-link { display: flex; align-items: center; justify-content: space-between; min-height: 49px; margin: 0; padding: 10px 4px; border: 0; border-bottom: 1px solid var(--awf-line); background: #fff; color: var(--awf-ink); font-size: 15px; font-weight: 650; cursor: pointer;}
.awf-selection { margin: 0 0 22px; padding: 13px 15px; color: var(--awf-ink); background: #f5f4f1; font-size: 13px; font-weight: 650; white-space: pre-line; overflow-wrap: anywhere;}
.awf-envelope { display: grid; padding: 16px; border: 1px solid var(--awf-line); border-radius: 4px; overflow-wrap: anywhere; }
.awf-envelope small { padding: 0; color: var(--awf-muted); font-size: 12px; }
.awf-envelope strong { margin-bottom: 12px; color: var(--awf-ink); font-size: 14px; font-weight: 650; }
.awf-envelope pre { margin: 0; padding-top: 12px; border-top: 1px solid var(--awf-line); color: var(--awf-muted); white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 13px; line-height: 1.55; }
#aw-dialog #awf-copy-status { margin-top: 12px; }
.awf-copy { height: 150px; }
#aw-dialog .awf-sidewall { padding: 18px 12px; margin: 12px 0 18px; background: #191b1e; color: white; border-radius: 4px; text-align: center; font-size: 31px; font-weight: 800; }
.awf-sidewall small { font-size: .65em; color: #eee; }
.awf-specs { display: grid; grid-template-columns: min-content 1fr; gap: 8px 15px; }
.awf-specs dt { font-weight: 750; }
.awf-specs dd { margin: 0; font-size: 14px; color: var(--awf-muted); }
#aw-dialog .awf-specs + .awf-note { margin: 18px 0; }
@media (max-width: 450px) {
  #aw-dialog { border-left: 0; }
  #aw-dialog .awf-top { min-height: 62px; }
  #aw-dialog .awf-content { padding-top: 22px; }
  #aw-dialog .awf-form :is(input:not([type="radio"]),textarea,select) { font-size: 16px; }
}
@media (max-width: 335px) {
  .awf-fields, .awf-options { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  #aw-dialog[open] { animation: awf-in .18s ease-out; }
  @keyframes awf-in { from { transform: translateX(24px); opacity: .65; } to { transform: none; opacity: 1; } }
}
