/* CSS local: não depende de CDN ou processo de build. */
.container.store-content {
  padding-top: 32px;
}
.store-banner {
  margin-bottom: 28px;
  border-radius: 18px;
  overflow: hidden;
}
.store-banner img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}
.order-heading h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}
.order-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}
:root {
  --primary: #713c83;
  --accent: #eca64b;
  --background: #fff9f1;
  --ink: #33233a;
  --white: #fff;
  --muted: #746b78;
  --line: #eae3ec;
  --radius: 22px;
  --shadow: 0 12px 45px #33233a08;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.55;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--primary);
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
h3 {
  font-size: 1.45rem;
}
small {
  font-size: 0.8rem;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.container {
  max-width: 1200px;
  padding: 0 32px;
  margin: auto;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.4;
  min-height: 46px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.button:hover {
  transform: translateY(-1px);
}
.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 5px 12px #33233a12;
}
.outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.outline:hover {
  border-color: var(--primary);
}
.ghost {
  background: transparent;
  color: var(--muted);
}
.small {
  padding: 8px 12px;
  min-height: 38px;
  font-size: 0.78rem;
}
.danger {
  background: #fff1f0;
  color: #a52525;
}
.text-button {
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--primary);
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 10;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.store-header {
  background: #ffffffb3;
  border-bottom: 1px solid #33233a0a;
}
.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.store-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.13rem;
  font-weight: 800;
  color: var(--ink);
}
.store-brand > img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.brand-symbol {
  height: 48px;
  width: 48px;
  border-radius: 15px 15px 15px 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-family: Georgia, serif;
  font-size: 1.9rem;
  flex-shrink: 0;
}
.store-brand small {
  display: block;
  font-size: 0.53rem;
  letter-spacing: 0.23em;
  margin-top: 4px;
  font-weight: 600;
  color: var(--muted);
}
.header-order {
  display: flex;
  gap: 23px;
  align-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.header-order span {
  font-size: 1.3rem;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 330px;
  padding: 50px 0 42px;
}
.hero h1 {
  max-width: 600px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.hero-copy > p {
  font-size: 0.97rem;
  color: var(--muted);
  max-width: 450px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.6rem;
}
.tiny-star {
  font-size: 1.4rem;
  color: var(--accent);
}
.hero-tags {
  display: flex;
  gap: 22px;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 25px;
}
.hero-tags span:before {
  content: "✓";
  color: var(--primary);
  margin-right: 7px;
}
.hero-image {
  height: 290px;
  overflow: hidden;
  border-radius: 40px 12px 40px 12px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-typography {
  border: 1px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-7deg);
  max-width: 345px;
  width: 100%;
  aspect-ratio: 1.65;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--primary);
  position: relative;
}
.hero-typography:after {
  content: "✳";
  position: absolute;
  right: -10px;
  top: 0;
  font-size: 3.7rem;
  color: var(--accent);
}
.hero-typography > span {
  font-size: 0.7rem;
  letter-spacing: 0.09em;
}
.hero-typography strong {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.3;
}
.hero-typography strong span {
  color: var(--accent);
  font-family: system-ui;
  font-size: 2.3rem;
  margin-left: 8px;
}
.order-section {
  scroll-margin-top: 20px;
}
.order-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 25px;
}
.order-heading h2 {
  font-size: 1.65rem;
  margin: 0;
}
.order-heading .eyebrow {
  font-size: 0.58rem;
  margin-bottom: 9px;
}
.step-counter {
  white-space: nowrap;
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 7px 13px;
  font-size: 0.7rem;
  color: var(--muted);
}
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0 0 28px;
  gap: 8px;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  border-bottom: 2px solid var(--line);
  padding-bottom: 15px;
}
.steps li > span {
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}
.steps li.current {
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 800;
}
.steps li.current > span,
.steps li.complete > span {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.steps li.complete {
  border-color: var(--primary);
}
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 25px;
  align-items: start;
}
.wizard-panel,
.order-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}
.wizard-panel {
  padding: 29px;
  min-height: 400px;
}
.step-heading {
  margin-bottom: 25px;
}
.step-heading h3 {
  font-size: 1.23rem;
  margin-bottom: 8px;
}
.step-heading p {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.product-card,
.option-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0;
  text-align: left;
  background: white;
  color: var(--ink);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  overflow: hidden;
}
.product-card:hover,
.option-card:hover,
.choice-card:hover {
  border-color: var(--primary);
}
.product-card > img,
.product-card > .product-placeholder {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.product-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--primary) 7%, #fff);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 3rem;
  color: var(--primary);
  position: relative;
}
.product-placeholder i {
  font-style: normal;
  font-size: 1.8rem;
  color: var(--accent);
  position: absolute;
  right: 17%;
  top: 16%;
}
.product-info {
  display: block;
  padding: 15px 12px;
}
.product-info strong {
  display: block;
  font-size: 0.94rem;
}
.product-info small {
  font-size: 0.63rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
}
.selected {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 1px var(--primary);
}
.selection-mark {
  display: none;
  position: absolute;
  right: 9px;
  top: 9px;
  background: var(--primary);
  color: white;
  width: 22px;
  height: 22px;
  border: 2px solid white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}
.selected > .selection-mark {
  display: flex;
}
.wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 30px;
}
.wizard-actions #back-button {
  margin-right: auto;
}
.order-summary {
  padding: 24px;
  position: sticky;
  top: 20px;
}
.summary-heading {
  border-bottom: 1px dashed var(--line);
  margin-bottom: 16px;
  padding-bottom: 17px;
}
.summary-heading .eyebrow {
  font-size: 0.55rem;
  margin-bottom: 9px;
}
.summary-heading h3 {
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-size: 1.18rem;
}
.summary-heading h3 span {
  color: var(--primary);
}
.empty-summary {
  text-align: center;
  padding: 25px 0 33px;
  color: var(--muted);
  font-size: 0.8rem;
}
.empty-summary > span {
  font-size: 2rem;
  display: block;
  color: var(--primary);
  margin-bottom: 12px;
}
.empty-summary p {
  margin: 0;
}
.summary-note {
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  font-size: 0.64rem;
  color: var(--muted);
  display: flex;
  gap: 9px;
}
.summary-note span {
  color: var(--primary);
}
.summary-item {
  padding: 0 0 17px;
  margin-bottom: 17px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}
.summary-item > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.summary-item .text-button {
  align-self: start;
  font-size: 0.67rem;
  padding: 2px 0;
}
.summary-item p {
  font-size: 0.72rem;
  margin: 6px 0;
}
.summary-item > b {
  display: block;
  text-align: right;
}
.editing-label {
  font-size: 0.6rem;
  color: var(--primary);
}
.totals {
  font-size: 0.8rem;
  margin: 15px 0;
}
.totals > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 10px 0;
}
.totals .grand-total {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--primary);
  font-size: 1.1rem;
}
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.option-card {
  padding: 18px 12px;
  text-align: center;
}
.option-card strong,
.option-card small,
.option-card b {
  display: block;
}
.option-card small {
  font-size: 0.7rem;
  color: var(--muted);
  margin: 7px 0;
}
.option-card b {
  color: var(--primary);
  font-size: 0.93rem;
}
.size-icon {
  display: block;
  font-size: 3rem;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 10px;
}
.option-card img {
  height: 90px;
  width: 100%;
  object-fit: cover;
  border-radius: 9px;
  margin-bottom: 10px;
}
.selection-count {
  font-size: 0.74rem;
  color: var(--primary);
  margin-bottom: 15px;
}
.choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.choice-card {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 13px;
  cursor: pointer;
  font-size: 0.82rem;
}
.choice-card > img,
.choice-card > .product-placeholder {
  height: 47px;
  width: 47px;
  border-radius: 9px;
  flex-shrink: 0;
  object-fit: cover;
  font-size: 1.5rem;
}
.choice-card .product-placeholder i {
  display: none;
}
.choice-card > span:not(.product-placeholder) {
  flex: 1;
}
.choice-card strong,
.choice-card small {
  display: block;
}
.choice-card small {
  font-size: 0.66rem;
  color: var(--muted);
  margin-top: 4px;
}
.choice-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  margin: 0;
  flex-shrink: 0;
}
.sold-out {
  opacity: 0.5;
  cursor: not-allowed;
}
.store-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 65px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  font-size: 0.67rem;
  color: var(--muted);
}
.store-footer strong {
  font-size: 0.83rem;
  color: var(--ink);
}
.store-footer p {
  margin: 4px 0;
  max-width: 400px;
}
.store-footer a {
  font-size: 0.65rem;
}
.notice {
  padding: 15px 18px;
  border: 1px solid;
  border-radius: 12px;
  margin: 0 0 20px;
  font-size: 0.85rem;
}
.notice.error {
  background: #fff1ef;
  color: #942e26;
  border-color: #ffd1cb;
}
.notice.success {
  background: #edf8f0;
  color: #276841;
  border-color: #c6e9d1;
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 30px 12px;
  font-size: 0.85rem;
}
.loading {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: var(--muted);
}
.spinner {
  height: 23px;
  width: 23px;
  border: 2px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.form-stack {
  display: grid;
  gap: 20px;
}
.form-grid label,
.form-stack label,
.field > label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
}
input:not([type="checkbox"], [type="radio"]),
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #dcd6df;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  margin-top: 7px;
  min-width: 0;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #9b939e;
  font-size: 0.8rem;
}
input[type="color"] {
  height: 48px;
  padding: 5px;
}
input[type="file"] {
  font-size: 0.75rem;
}
label small,
.field small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.71rem;
  margin-top: 6px;
}
.span-2 {
  grid-column: 1/-1;
}
.form-actions {
  grid-column: 1/-1;
}
.quantity-box {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 12px;
  font-size: 0.83rem;
}
.quantity-box small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
}
.quantity-box input {
  max-width: 80px;
  margin: 0;
}
.add-another {
  margin: 18px 0 25px;
}
.delivery-options {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.delivery-options legend {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.delivery-options label {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
  font-size: 0.75rem;
  cursor: pointer;
}
.delivery-options label:has(input:checked) {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 4%, white);
}
.delivery-options input {
  accent-color: var(--primary);
}
.delivery-options small {
  margin-left: 22px;
}
.pickup-address {
  font-size: 0.78rem;
  color: var(--muted);
}
.finish-icon {
  width: 56px;
  height: 56px;
  background: #edf8f0;
  color: #25824b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.final-details {
  font-size: 0.85rem;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 13px;
}
.final-details h4 {
  margin-bottom: 4px;
}
.final-item {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 13px;
}
.final-item > strong {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.final-item small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  margin: 6px 0;
}
.final-item p {
  font-size: 0.76rem;
  margin: 6px 0;
}
.whatsapp {
  background: #25824b;
  color: white;
  width: 100%;
  margin-top: 22px;
  text-align: center;
}
.finish-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 13px;
}
.checkout-cart {
  margin-top: 20px;
}
.admin-body {
  background: #f8f7fa;
}
.admin-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: white;
  border-right: 1px solid var(--line);
  padding: 30px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-brand {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 35px;
}
.admin-brand .brand-symbol {
  display: flex;
  margin-bottom: 12px;
}
.admin-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 72px;
  object-fit: contain;
  margin-bottom: 14px;
}
.auth-card > .admin-logo {
  max-width: 220px;
  max-height: 88px;
  margin-bottom: 25px;
}
.admin-brand small {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin-top: 6px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.sidebar nav a {
  padding: 12px 13px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}
.sidebar nav a.active {
  background: #f2eaf5;
  color: var(--primary);
  font-weight: 700;
}
.store-link {
  display: block;
  margin: 30px 12px 13px;
  font-size: 0.8rem;
}
.admin-main {
  padding: 40px;
  max-width: 1400px;
  width: 100%;
  margin: auto;
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.admin-heading h1 {
  font-size: 2rem;
  margin: 0;
}
.admin-heading .eyebrow {
  font-size: 0.57rem;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  background: white;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.panel h2 {
  font-size: 1.15rem;
  margin-bottom: 20px;
}
.panel > p,
.welcome-panel p {
  font-size: 0.85rem;
  color: var(--muted);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading a {
  font-size: 0.8rem;
}
.badge {
  font-size: 0.65rem;
  background: #f0edf2;
  color: var(--muted);
  border-radius: 25px;
  padding: 5px 10px;
  white-space: nowrap;
  display: inline-block;
}
.badge.available {
  background: #eaf6ee;
  color: #34734b;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  text-align: left;
}
th {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
}
tr:last-child td {
  border: 0;
}
.table-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 130px;
}
.table-name img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
}
.row-actions {
  display: flex;
  gap: 8px;
}
.image-preview {
  width: 100px;
  height: 85px;
  object-fit: contain;
  background: #f7f4f8;
  border-radius: 10px;
  margin: 12px 0;
}
.check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem !important;
}
.check input {
  accent-color: var(--primary);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.stat {
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}
.stat > span {
  font-size: 0.76rem;
  color: var(--muted);
}
.stat strong {
  font-size: 2.2rem;
  line-height: 1;
}
.stat small {
  font-size: 0.65rem;
  color: var(--primary);
}
.welcome-panel {
  background: #f2eaf5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.welcome-panel h2 {
  font-size: 1.7rem;
}
.welcome-decoration {
  font-size: 8rem;
  color: var(--primary);
  line-height: 1;
}
.narrow {
  max-width: 520px;
}
.auth-body {
  background: #f7f1f8;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.auth-card > .brand-symbol {
  margin-bottom: 25px;
}
.auth-card h1 {
  font-size: 1.8rem;
}
.auth-card > p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 25px;
}
.back-link {
  display: block;
  font-size: 0.75rem;
  margin-top: 25px;
  text-align: center;
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 65px;
    padding-bottom: 55px;
  }
  .wizard-panel {
    min-height: 430px;
  }
}
@media (max-width: 1050px) {
  .order-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
  }
  .wizard-panel {
    padding: 22px;
  }
  .product-card > img,
  .product-card > .product-placeholder {
    height: 120px;
  }
  .choice-list {
    grid-template-columns: 1fr;
  }
  .admin-main {
    padding: 28px;
  }
  .admin-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .container {
    padding: 0 22px;
  }
  .header-inner {
    min-height: 80px;
  }
  .hero {
    gap: 25px;
    min-height: auto;
    padding: 35px 0;
  }
  .hero-typography strong {
    font-size: 2.7rem;
  }
  .hero-typography > span {
    font-size: 0.56rem;
  }
  .hero-image {
    height: 240px;
  }
  .hero-tags {
    gap: 12px;
    font-size: 0.65rem;
  }
  .order-layout {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: static;
  }
  .empty-summary {
    padding: 12px;
  }
  .order-summary {
    padding: 22px;
  }
  .summary-item {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 15px;
  }
  .summary-item p {
    grid-column: 1;
  }
  .summary-item > b {
    grid-column: 2;
    grid-row: 1/4;
    align-self: center;
  }
  .summary-note {
    justify-content: center;
  }
  .steps li {
    font-size: 0.67rem;
    gap: 6px;
  }
  .steps li > span {
    height: 22px;
    width: 22px;
  }
  .product-card > img,
  .product-card > .product-placeholder {
    height: 170px;
  }
  .choice-list {
    grid-template-columns: 1fr 1fr;
  }
  .store-footer {
    flex-wrap: wrap;
    margin-top: 40px;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 20px;
  }
  .admin-brand {
    margin-bottom: 15px;
  }
  .admin-brand .brand-symbol {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .sidebar nav a {
    white-space: nowrap;
  }
  .sidebar > .store-link {
    display: none;
  }
  .sidebar > form {
    position: absolute;
    right: 15px;
    top: 18px;
  }
  .admin-main {
    padding: 25px 20px;
  }
  .welcome-decoration {
    font-size: 5rem;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }
  .header-inner {
    min-height: 76px;
    gap: 12px;
  }
  .store-brand {
    font-size: 0.94rem;
    gap: 10px;
  }
  .store-brand small {
    font-size: 0.45rem;
  }
  .store-brand > img,
  .store-brand .brand-symbol {
    width: 42px;
    height: 42px;
  }
  .header-order {
    font-size: 0.68rem;
    gap: 7px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 29px 0 30px;
    gap: 20px;
  }
  .hero h1 {
    font-size: 2.9rem;
    max-width: 350px;
  }
  .hero-copy > p {
    font-size: 0.88rem;
    max-width: 330px;
    margin-bottom: 13px;
  }
  .hero .eyebrow {
    font-size: 0.55rem;
  }
  .hero-tags {
    margin-top: 17px;
    font-size: 0.64rem;
  }
  .hero-typography {
    display: none;
  }
  .hero-image {
    height: 180px;
    border-radius: 25px 9px 25px 9px;
  }
  .order-heading {
    align-items: flex-end;
    margin: 5px 0 21px;
    gap: 10px;
  }
  .order-heading h2 {
    font-size: 1.3rem;
    max-width: 230px;
  }
  .order-heading .eyebrow {
    font-size: 0.48rem;
  }
  .step-counter {
    font-size: 0.58rem;
    padding: 6px 8px;
  }
  .steps {
    gap: 4px;
    margin-bottom: 20px;
  }
  .steps li {
    flex-direction: column;
    gap: 6px;
    font-size: 0.54rem;
    padding-bottom: 10px;
  }
  .steps li > span {
    width: 25px;
    height: 25px;
    font-size: 0.6rem;
  }
  .wizard-panel {
    padding: 20px 16px;
    min-height: 330px;
    border-radius: 17px;
  }
  .step-heading {
    margin-bottom: 20px;
  }
  .step-heading h3 {
    font-size: 1.1rem;
  }
  .step-heading p {
    font-size: 0.75rem;
  }
  .product-grid {
    gap: 8px;
  }
  .product-card > img,
  .product-card > .product-placeholder {
    height: 100px;
  }
  .product-info {
    padding: 11px 8px;
  }
  .product-info strong {
    font-size: 0.78rem;
  }
  .product-info small {
    font-size: 0.53rem;
    display: block;
  }
  .product-info small span {
    display: none;
  }
  .product-placeholder {
    font-size: 2.5rem;
  }
  .product-placeholder i {
    font-size: 1.2rem;
    right: 10%;
    top: 10%;
  }
  .button {
    padding: 12px 16px;
    font-size: 0.8rem;
  }
  .wizard-actions {
    margin-top: 23px;
    padding-top: 19px;
  }
  .options-grid {
    gap: 8px;
  }
  .option-card {
    padding: 17px 8px;
  }
  .option-card strong {
    font-size: 0.83rem;
  }
  .option-card small {
    font-size: 0.62rem;
  }
  .option-card b {
    font-size: 0.79rem;
  }
  .choice-list {
    grid-template-columns: 1fr;
  }
  .choice-card {
    padding: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .span-2 {
    grid-column: auto;
  }
  .delivery-options {
    grid-template-columns: 1fr;
  }
  .final-details {
    padding: 15px;
  }
  .final-item > strong {
    font-size: 0.8rem;
  }
  .quantity-box small {
    font-size: 0.65rem;
  }
  .store-footer {
    gap: 18px;
    align-items: flex-start;
  }
  .store-footer > p {
    max-width: 135px;
  }
  .admin-heading h1 {
    font-size: 1.5rem;
  }
  .admin-heading > .button {
    padding: 9px 12px;
    white-space: nowrap;
    font-size: 0.7rem;
  }
  .admin-main {
    padding: 25px 15px;
  }
  .panel {
    padding: 20px 16px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat {
    margin-bottom: 0;
  }
  .stats-grid {
    margin-bottom: 24px;
  }
  .welcome-decoration {
    display: none;
  }
  .welcome-panel h2 {
    font-size: 1.4rem;
  }
  .auth-card {
    padding: 27px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .form-actions {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
