:root {
  --qo-ink: var(--hp-ink, #0b1118);
  --qo-ink-2: var(--hp-ink-2, #1f2a37);
  --qo-muted: var(--hp-text-muted, #556172);
  --qo-surface: var(--hp-surface, #ffffff);
  --qo-surface-2: var(--hp-surface-2, #fff9f1);
  --qo-border: var(--hp-border, #e5ddd2);
  --qo-shadow: var(--hp-shadow, 0 24px 60px rgba(11, 17, 24, 0.18));
  --qo-shadow-soft: var(--hp-shadow-soft, 0 12px 28px rgba(11, 17, 24, 0.12));
  --qo-accent: var(--hp-accent, #ff6b3d);
  --qo-accent-2: var(--hp-accent-2, #14b8a6);
  --qo-radius-lg: var(--hp-radius-lg, 20px);
  --qo-radius-md: var(--hp-radius-md, 14px);
}

.ashachar-qo {
  --qo-ink: var(--hp-ink, #0b1118);
  --qo-ink-2: var(--hp-ink-2, #1f2a37);
  --qo-muted: var(--hp-text-muted, #556172);
  --qo-surface: var(--hp-surface, #ffffff);
  --qo-surface-2: var(--hp-surface-2, #fff9f1);
  --qo-border: var(--hp-border, #e5ddd2);
  --qo-shadow: var(--hp-shadow, 0 24px 60px rgba(11, 17, 24, 0.18));
  --qo-shadow-soft: var(--hp-shadow-soft, 0 12px 28px rgba(11, 17, 24, 0.12));
  --qo-accent: var(--hp-accent, #ff6b3d);
  --qo-accent-2: var(--hp-accent-2, #14b8a6);
  --qo-radius-lg: var(--hp-radius-lg, 20px);
  --qo-radius-md: var(--hp-radius-md, 14px);

  font-family: "Heebo", "Alef", sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 107, 61, 0.18), transparent 52%),
    radial-gradient(circle at 82% 14%, rgba(20, 184, 166, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 238, 0.92) 100%);
  border: 1px solid var(--qo-border);
  border-radius: var(--qo-radius-lg);
  padding: 22px;
  box-shadow: var(--qo-shadow);
  position: relative;
  overflow: hidden;
  color: var(--qo-ink);
}

.ashachar-qo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.06), transparent 45%);
  opacity: 0.6;
  pointer-events: none;
}

.ashachar-qo__shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ashachar-qo__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.ashachar-qo__kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 107, 61, 0.16);
  border: 1px solid rgba(255, 107, 61, 0.3);
  color: #9a3412;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ashachar-qo__title h1 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  color: var(--qo-ink);
}

.ashachar-qo__title h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.ashachar-qo__title p {
  margin: 0;
  color: var(--qo-muted);
  font-size: 15px;
}

.ashachar-qo__pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ashachar-qo__pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  font-size: 12px;
  font-weight: 700;
  color: var(--qo-ink-2);
}

.ashachar-qo__user {
  display: inline-flex;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--qo-ink-2);
}

.ashachar-qo__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.ashachar-qo__btn {
  background: linear-gradient(120deg, var(--qo-accent), #ff8a5a);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 12px 22px rgba(255, 107, 61, 0.22);
}

.ashachar-qo__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(255, 107, 61, 0.28);
}

.ashachar-qo__btn.is-disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.ashachar-qo__btn--ghost {
  background: rgba(255, 255, 255, 0.92);
  color: var(--qo-ink);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: none;
}

.ashachar-qo__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.ashachar-qo__main {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--qo-radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ashachar-qo__aside {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 110px;
}

.ashachar-qo__panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--qo-radius-md);
  padding: 14px;
  box-shadow: var(--qo-shadow-soft);
}

.ashachar-qo__panel h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--qo-ink);
}

.ashachar-qo__search {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 238, 0.9));
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--qo-radius-md);
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}

.ashachar-qo__search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ashachar-qo__search label {
  margin: 0;
  color: var(--qo-ink-2);
  font-weight: 700;
}

.ashachar-qo__kbd {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--qo-ink-2);
  background: rgba(255, 255, 255, 0.9);
}

.ashachar-qo__search-field {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--qo-border);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ashachar-qo__search-field:focus-within {
  border-color: var(--qo-accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 61, 0.18);
}

.ashachar-qo__search-field input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 15px;
}

.ashachar-qo__search-field input:focus {
  outline: none;
}

.ashachar-qo__search-hint {
  margin: 0;
  font-size: 13px;
  color: var(--qo-muted);
}

.ashachar-qo__suggestions {
  position: relative;
}

.ashachar-qo__suggestions ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  border: 1px solid var(--qo-border);
  border-radius: 14px;
  background: #fff;
  max-height: 260px;
  overflow-y: auto;
  box-shadow: var(--qo-shadow-soft);
}

.ashachar-qo__suggestions li {
  padding: 10px 12px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: center;
}

.ashachar-qo__suggestions li:hover,
.ashachar-qo__suggestions li.is-active {
  background: var(--qo-surface-2);
}

.ashachar-qo__suggestions .ashachar-qo__sku {
  font-weight: 700;
  color: #0f172a;
}

.ashachar-qo__suggestions .ashachar-qo__price {
  color: var(--qo-accent-2);
  font-weight: 700;
}

.ashachar-qo__table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--qo-border);
  border-radius: var(--qo-radius-md);
  background: #fff;
  box-shadow: var(--qo-shadow-soft);
}

.ashachar-qo__table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
}

.ashachar-qo__table th,
.ashachar-qo__table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--qo-border);
  text-align: right;
  vertical-align: middle;
  font-size: 14px;
}

.ashachar-qo__table thead th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  font-weight: 800;
  z-index: 2;
}

.ashachar-qo__table tbody tr:hover {
  background: #f8fafc;
}

.ashachar-qo__table input,
.ashachar-qo__table select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--qo-border);
  border-radius: 10px;
  font-size: 13px;
  background: #fff;
}

.ashachar-qo__catalog {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: var(--qo-radius-md);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 238, 0.92));
  box-shadow: var(--qo-shadow-soft);
}

.ashachar-qo__catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ashachar-qo__catalog-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.ashachar-qo__catalog-header p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--qo-muted);
}

.ashachar-qo__catalog-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--qo-border);
  background: rgba(255, 255, 255, 0.95);
}

.ashachar-qo__catalog-toggle-btn {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--qo-ink);
}

.ashachar-qo__catalog-toggle-btn.is-active {
  background: var(--qo-accent-2);
  border-color: var(--qo-accent-2);
  color: #fff;
}

.ashachar-qo__catalog-filters {
  display: grid;
  gap: 12px;
}

.ashachar-qo__catalog-filter {
  display: grid;
  gap: 8px;
}

.ashachar-qo__catalog-filter.is-empty {
  display: none;
}

.ashachar-qo__catalog-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ashachar-qo__catalog-filter-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--qo-ink-2);
}

.ashachar-qo__catalog-filter-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--qo-muted);
}

.ashachar-qo__catalog-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.ashachar-qo__catalog-chips::-webkit-scrollbar {
  height: 0;
}

@media (max-width: 782px) {
  .ashachar-qo__catalog-chips--categories {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, minmax(0, auto));
    gap: 8px 10px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .ashachar-qo__catalog-chips--categories .ashachar-qo__catalog-chip {
    white-space: nowrap;
  }
}

.ashachar-qo__catalog-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: var(--qo-ink);
}

.ashachar-qo__catalog-chip.is-active {
  background: var(--qo-ink);
  border-color: var(--qo-ink);
  color: #fff;
}

.ashachar-qo__catalog-chip-thumb {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--qo-ink);
}

.ashachar-qo__catalog-chip-thumb.is-all {
  background: rgba(15, 23, 42, 0.1);
}

.ashachar-qo__catalog-chip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ashachar-qo__catalog-chip-label {
  line-height: 1;
}

.ashachar-qo__catalog-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.ashachar-qo__catalog.is-list .ashachar-qo__catalog-body {
  grid-template-columns: 1fr;
}

.ashachar-qo__card {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--qo-shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ashachar-qo__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.16);
}

.ashachar-qo__card.is-oos {
  opacity: 0.6;
}

.ashachar-qo__card:hover .ashachar-qo__card-media img {
  transform: scale(1.03);
}

.ashachar-qo__card-media {
  display: block;
  background: radial-gradient(circle at 20% 20%, #fff, #f3f4f6 70%);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  position: relative;
}

.ashachar-qo__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.ashachar-qo__card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.08) 100%);
  pointer-events: none;
}

.ashachar-qo__card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ashachar-qo__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ashachar-qo__card-title {
  color: var(--qo-ink);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ashachar-qo__card-title:hover {
  color: var(--qo-accent);
}

.ashachar-qo__card-badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 107, 61, 0.14);
  color: #9a3412;
  font-size: 11px;
  font-weight: 700;
}

.ashachar-qo__card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.ashachar-qo__card-price {
  color: var(--qo-accent-2);
  font-weight: 800;
}

.ashachar-qo__card-stock {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.08);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.ashachar-qo__card-stock.is-instock {
  background: rgba(16, 185, 129, 0.18);
  color: #047857;
}

.ashachar-qo__card-stock.is-oos {
  background: rgba(239, 68, 68, 0.18);
  color: #b91c1c;
}

.ashachar-qo__card-stock.is-onbackorder {
  background: rgba(245, 158, 11, 0.18);
  color: #b45309;
}

.ashachar-qo__card-actions {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  align-items: center;
}

.ashachar-qo__card-qty-block {
  display: grid;
  gap: 6px;
}

.ashachar-qo__card-qty-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--qo-muted);
}

.ashachar-qo__card-qty-wrap {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  border: 1px solid var(--qo-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
  align-items: center;
  min-height: 38px;
}

.ashachar-qo__card-qty {
  width: 100%;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 6px;
}

.ashachar-qo__card-add {
  flex: 1;
  justify-content: center;
  font-size: 13px;
  padding: 10px 12px;
  background: linear-gradient(120deg, var(--qo-accent-2), #2dd4bf);
  box-shadow: 0 10px 18px rgba(20, 184, 166, 0.25);
  color: #fff;
}

.ashachar-qo__card-add:hover {
  box-shadow: 0 16px 24px rgba(20, 184, 166, 0.3);
}

.ashachar-qo__card-add.is-disabled {
  box-shadow: none;
}

.ashachar-qo__card-qty-btn {
  border: none;
  background: linear-gradient(120deg, var(--qo-accent-2), var(--qo-accent));
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ashachar-qo__card-qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ashachar-qo__card-qty::-webkit-outer-spin-button,
.ashachar-qo__card-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ashachar-qo__card-qty {
  -moz-appearance: textfield;
}

.ashachar-qo__card-hint {
  font-size: 12px;
  color: var(--qo-muted);
}

.ashachar-qo__catalog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ashachar-qo__catalog-status {
  font-size: 12px;
  color: var(--qo-muted);
}

.ashachar-qo__catalog-sentinel {
  height: 1px;
}

.ashachar-qo__catalog.is-list .ashachar-qo__card {
  flex-direction: row;
}

.ashachar-qo__catalog.is-list .ashachar-qo__card-media {
  width: 120px;
  flex-shrink: 0;
  aspect-ratio: auto;
  height: 120px;
}

.ashachar-qo__catalog.is-list .ashachar-qo__card-body {
  flex: 1;
}

.ashachar-qo__row-error {
  color: #b91c1c;
  font-size: 12px;
  margin-top: 4px;
}

.ashachar-qo__merge-note {
  color: var(--qo-accent-2);
  font-size: 12px;
}

.ashachar-qo__summary {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--qo-radius-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 238, 0.92));
  box-shadow: var(--qo-shadow-soft);
  display: grid;
  gap: 10px;
}

.ashachar-qo__summary h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.ashachar-qo__summary-metrics {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--qo-ink);
}

.ashachar-qo__summary-actions {
  display: grid;
  gap: 8px;
  align-items: center;
}

.ashachar-qo__summary .ashachar-qo__btn--ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--qo-ink);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.ashachar-qo__status {
  color: var(--qo-ink);
  min-height: 22px;
  font-size: 13px;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 10px;
  padding: 8px 10px;
}

.ashachar-qo__tips ul {
  margin: 0;
  padding-inline-start: 18px;
  color: var(--qo-muted);
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.ashachar-qo__support p {
  margin: 0 0 12px;
  color: var(--qo-muted);
  font-size: 13px;
}

.ashachar-qo__support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ashachar-qo__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.18);
  color: #0f766e;
}

.ashachar-qo__modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 24, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.ashachar-qo__modal.is-open {
  display: flex;
}

.ashachar-qo__modal-content {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 238, 0.92));
  border-radius: 16px;
  padding: 18px;
  width: min(480px, 90%);
  box-shadow: 0 16px 36px rgba(6, 10, 16, 0.28);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.ashachar-qo__modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ashachar-qo__modal-close {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.ashachar-qo__modal textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--qo-border);
  padding: 10px;
  font-family: monospace;
  background: rgba(255, 255, 255, 0.95);
}

.ashachar-qo__modal-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
}

.ashachar-qo--locked {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ashachar-qo--locked::before {
  opacity: 0.4;
}

.ashachar-qo__locked-card {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  align-items: center;
}

.ashachar-qo__locked-card h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
}

.ashachar-qo__locked-card p {
  margin: 0;
  color: var(--qo-muted);
}

.ashachar-qo__locked-cta {
  margin-top: 6px;
  color: var(--qo-ink);
  font-weight: 600;
}

.ashachar-qo__locked-cta--mobile {
  display: none;
}

.ashachar-qo__locked-cta--desktop {
  display: block;
}

.ashachar-qo--locked .ashachar-qo__locked-actions {
  margin-top: 4px;
}

.ashachar-qo--locked .ashachar-qo__locked-note {
  margin-top: 4px;
}

@media (max-width: 768px) {
  .ashachar-qo__locked-cta--desktop {
    display: none;
  }

  .ashachar-qo__locked-cta--mobile {
    display: block;
  }
}

.ashachar-qo__locked-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ashachar-qo__locked-note {
  font-size: 13px;
  color: var(--qo-ink-2);
}

.ashachar-qo__locked-note a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.ashachar-qo--mini {
  padding: 16px;
  box-shadow: var(--qo-shadow-soft);
}

.ashachar-qo--mini::before {
  display: none;
}

.ashachar-qo--mini .ashachar-qo__header {
  align-items: center;
}

.ashachar-qo--mini .ashachar-qo__main {
  padding: 12px;
}

.ashachar-qo--mini .ashachar-qo__table {
  min-width: 640px;
}

@media (max-width: 1080px) {
  .ashachar-qo__layout {
    grid-template-columns: 1fr;
  }

  .ashachar-qo__aside {
    position: static;
  }
}

@media (max-width: 782px) {
  .ashachar-qo {
    padding: 16px;
  }

  .ashachar-qo__header {
    align-items: flex-start;
  }

  .ashachar-qo__actions {
    width: 100%;
  }

  .ashachar-qo__actions .ashachar-qo__btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .ashachar-qo__summary {
    position: sticky;
    bottom: 0;
    z-index: 50;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px) + 56px);
  }

  .ashachar-qo__catalog-header {
    align-items: flex-start;
  }

  .ashachar-qo__card-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .ashachar-qo__catalog.is-list .ashachar-qo__card {
    flex-direction: column;
  }

  .ashachar-qo__catalog.is-list .ashachar-qo__card-media {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 782px) {
  body.ashachar-quick-order .ashachar-qo__main {
    padding-bottom: calc(180px + var(--hp-bottom-nav-height, 72px) + var(--hp-bottom-nav-gap, 16px) + env(safe-area-inset-bottom, 0px));
  }

  body.ashachar-quick-order .ashachar-qo__summary {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + var(--hp-bottom-nav-height, 72px) + var(--hp-bottom-nav-gap, 16px));
    margin: 0;
    z-index: 1002;
  }

  body.ashachar-quick-order.hp-b2b-site .ashachar-qo__main {
    padding-bottom: calc(240px + var(--hp-bottom-nav-height, 72px) + var(--hp-bottom-nav-gap, 16px) + env(safe-area-inset-bottom, 0px));
  }

  body.ashachar-quick-order.hp-b2b-site .ashachar-qo__summary {
    bottom: calc(env(safe-area-inset-bottom, 0px) + var(--hp-bottom-nav-height, 72px) + var(--hp-bottom-nav-gap, 16px));
  }

  body.ashachar-quick-order.ashachar-bottom-bar-active .ashachar-qo__summary {
    bottom: calc(env(safe-area-inset-bottom, 0px) + var(--hp-bottom-nav-height, 72px) + var(--hp-bottom-nav-gap, 16px));
  }

  body.ashachar-quick-order .ashachar-qo__catalog-body {
    min-height: 40vh;
  }
}

@media (max-width: 680px) {
  .ashachar-qo__table {
    min-width: 0;
  }

  .ashachar-qo__table thead {
    display: none;
  }

  .ashachar-qo__table tbody tr {
    display: block;
    padding: 12px;
  }

  .ashachar-qo__table tbody tr + tr {
    border-top: 1px solid var(--qo-border);
  }

  .ashachar-qo__table td {
    display: block;
    padding: 6px 0;
    border-bottom: 0;
  }

  .ashachar-qo__table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--qo-muted);
    margin-bottom: 4px;
  }

  .ashachar-qo__table tbody tr.ashachar-qo__empty {
    display: table-row;
  }

  .ashachar-qo__table tbody tr.ashachar-qo__empty td {
    display: table-cell;
    padding: 12px 10px;
  }

  .ashachar-qo__table tbody tr.ashachar-qo__empty td::before {
    content: none;
  }

  .ashachar-qo__table input,
  .ashachar-qo__table select {
    width: 100%;
  }

  .ashachar-qo__table .ashachar-qo__btn {
    width: 100%;
    justify-content: center;
  }

  .ashachar-qo__catalog-chips {
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .ashachar-qo__catalog-chips::-webkit-scrollbar {
    height: 0;
  }
}

.ashachar-bottom-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  background: rgba(11, 17, 24, 0.95);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  justify-items: center;
  text-align: center;
  padding: 8px 12px env(safe-area-inset-bottom);
  z-index: 999;
  box-shadow: 0 -14px 26px rgba(6, 10, 16, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.ashachar-bottom-bar-active {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.ashachar-bottom-bar__item {
  color: #fff;
  text-decoration: none;
  display: grid;
  gap: 2px;
  justify-items: center;
  font-size: 13px;
}

.ashachar-bottom-bar__item:active span:last-child,
.ashachar-bottom-bar__item:focus span:last-child,
.ashachar-bottom-bar__item:focus-visible span:last-child,
.ashachar-bottom-bar__item.is-active span:last-child,
.ashachar-bottom-bar__item[aria-current="page"] span:last-child {
  color: #f7c948;
}

.ashachar-toast-stack {
  position: fixed;
  top: 16px;
  inset-inline: 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
  pointer-events: none;
}

.ashachar-toast {
  background: rgba(11, 17, 24, 0.95);
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(6, 10, 16, 0.3);
  pointer-events: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ashachar-toast--warn {
  background: #fbbf24;
  color: #1f2937;
}

.ashachar-toast--error {
  background: #b91c1c;
  color: #fff;
}

.ashachar-toast--success {
  background: #0f766e;
  color: #e0f2f1;
}

.ashachar-toast__close {
  position: absolute;
  inset-inline-start: 8px;
  top: 6px;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
}

.ashachar-toast__details {
  margin: 8px 0 0;
  padding-inline-start: 18px;
  font-size: 13px;
}

.ashachar-search-v2 {
  position: relative;
  margin: 8px 0;
}

.ashachar-search-v2__row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.ashachar-search-v2__input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--qo-border);
  background: rgba(255, 255, 255, 0.95);
}

.ashachar-search-v2__qty {
  width: 80px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid var(--qo-border);
  background: rgba(255, 255, 255, 0.95);
}

.ashachar-search-v2__input:focus,
.ashachar-search-v2__qty:focus {
  outline: none;
  border-color: var(--qo-accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 61, 0.18);
}

.ashachar-search-v2__suggestions {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: #fff;
  border: 1px solid var(--qo-border);
  border-radius: 14px;
  margin-top: 4px;
  box-shadow: var(--qo-shadow-soft);
  z-index: 15;
}

.ashachar-search-v2__item {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

.ashachar-search-v2__item:hover {
  background: var(--qo-surface-2);
}

.ashachar-search-v2__add {
  border: 1px solid rgba(255, 107, 61, 0.4);
  background: rgba(255, 107, 61, 0.12);
  color: var(--qo-ink);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.ashachar-catalog-toggle {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.ashachar-catalog-toggle__btn {
  border: 1px solid var(--qo-border);
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.ashachar-catalog-toggle__btn.is-active {
  border-color: var(--qo-accent-2);
  color: var(--qo-accent-2);
}

.ash-qo-legacy {
  border: 1px solid var(--qo-border);
  border-radius: 16px;
  background: #fff;
  margin: 18px 0;
  overflow: hidden;
}

.ash-qo-legacy > summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--qo-ink);
  list-style: none;
  background: var(--qo-surface-2);
}

.ash-qo-legacy > summary::-webkit-details-marker {
  display: none;
}

.ash-qo-legacy__body {
  padding: 12px 16px 18px;
}
