@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
  --navy: #09264c;
  --deep: #071d3a;
  --blue: #068cf1;
  --lime: #d4e827;
  --ink: #152a41;
  --muted: #708091;
  --line: #e4e9ee;
  --bg: #f5f7fa;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font:
    15px/1.55 'DM Sans',
    Arial,
    sans-serif;
}
h1,
h2,
h3,
h4,
.brand {
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.2;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.3px;
}
h2 {
  font-size: 26px;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 18px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button,
a {
  transition:
    background 0.16s,
    color 0.16s,
    transform 0.16s;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
input,
select,
textarea {
  border: 1px solid #d9e0e7;
  border-radius: 8px;
  padding: 11px 13px;
  background: white;
  color: var(--ink);
  max-width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 2px solid #068cf122;
}
input[type='checkbox'] {
  accent-color: var(--blue);
  width: 17px;
  height: 17px;
}
.container {
  width: min(1280px, calc(100% - 80px));
  margin: auto;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 12px;
}
.lime {
  color: var(--lime);
}
.brand {
  font-size: 39px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--lime);
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.brand-caption {
  color: #97abc3;
  font:
    10px 'DM Sans',
    Arial,
    sans-serif;
  letter-spacing: 3px;
  margin-top: 9px;
}
.announcement {
  background: var(--deep);
  color: var(--lime);
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 9px;
}
.announcement span {
  color: #abbacf;
  letter-spacing: 0.3px;
  margin-left: 24px;
}
.site-header {
  background: var(--navy);
  color: white;
}
.header-row {
  height: 110px;
  display: flex;
  align-items: center;
  gap: 70px;
}
.header-search {
  display: flex;
  align-items: center;
  flex: 1;
  background: #ffffff0d;
  border: 1px solid #ffffff20;
  border-radius: 10px;
  max-width: 660px;
  padding: 5px 6px 5px 17px;
}
.header-search > span {
  font-size: 25px;
  color: #b6c8dd;
}
.header-search input {
  background: transparent;
  border: 0;
  flex: 1;
  min-width: 0;
  color: white;
}
.header-search input::placeholder {
  color: #a2b4cc;
}
.header-search button {
  background: var(--blue);
  border: 0;
  border-radius: 7px;
  padding: 10px 22px;
  color: white;
  font-weight: 600;
}
.staff-link {
  font-size: 12px;
  white-space: nowrap;
  display: flex;
  gap: 9px;
  color: #d4dfed;
}
.catalog-hero {
  background: var(--navy);
  color: white;
  overflow: hidden;
  border-top: 1px solid #ffffff0a;
}
.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 342px;
  padding-top: 24px;
  padding-bottom: 40px;
}
.catalog-hero h1 {
  font-size: 48px;
  letter-spacing: -2px;
  margin: 0 0 19px;
}
.catalog-hero h1 > span,
.login-brand h1 > span {
  color: var(--lime);
}
.hero-copy {
  color: #a8bdd4;
  line-height: 1.7;
  margin: 0;
}
.hero-mark {
  position: relative;
  width: 420px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit {
  position: absolute;
  border: 1px solid #4ba9f126;
  border-radius: 50%;
  width: 290px;
  height: 290px;
  transform: rotate(-28deg) scaleY(0.75);
}
.orbit-two {
  width: 420px;
  height: 370px;
  transform: rotate(30deg) scaleY(0.68);
}
.gift {
  width: 140px;
  height: 150px;
  background: linear-gradient(140deg, #22a6ff, #0061b6);
  border-radius: 14px;
  box-shadow: 12px 19px 0 #001b3899;
  position: relative;
  transform: rotate(-13deg);
}
.gift:before {
  content: '';
  position: absolute;
  top: -17px;
  left: -9px;
  width: 158px;
  height: 40px;
  background: #35b0ff;
  border-radius: 9px;
  box-shadow: 0 7px 0 #015c9e55;
}
.gift-ribbon {
  position: absolute;
  left: 55px;
  top: -17px;
  width: 28px;
  height: 167px;
  background: var(--lime);
}
.gift:after {
  content: '∞';
  position: absolute;
  top: -97px;
  left: 10px;
  font-size: 117px;
  color: var(--lime);
  font-weight: 700;
  line-height: 1;
}
.gift > span {
  position: absolute;
  right: 13px;
  bottom: 8px;
  color: white;
  font-size: 25px;
}
.spark {
  position: absolute;
  color: var(--lime);
  font-size: 48px;
}
.spark-one {
  right: 38px;
  top: 10px;
}
.spark-two {
  left: 27px;
  bottom: 52px;
  font-size: 28px;
}
.hero-tag {
  position: absolute;
  right: -6px;
  bottom: 13px;
  font-size: 10px;
  letter-spacing: 2px;
  background: #ffffff0b;
  color: #afc5df;
  border: 1px solid #ffffff18;
  border-radius: 30px;
  padding: 10px 18px;
}
.catalog-section {
  padding-top: 46px;
  padding-bottom: 72px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}
.section-heading h2 {
  font-size: 30px;
  margin: 0;
}
.section-heading > p {
  font-size: 13px;
  margin-bottom: 4px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
}
.filters {
  border-right: 1px solid var(--line);
  padding-right: 25px;
}
.filter-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.filter-title h3 {
  font-size: 15px;
  margin: 0;
}
.filter-title > span {
  color: var(--muted);
}
.category-link {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 13px;
  color: #607286;
  border-radius: 7px;
  margin-bottom: 3px;
}
.category-link.selected,
.category-link:hover {
  background: #edf6fe;
  color: #0078cd;
  font-weight: 600;
}
.filter-note {
  margin-top: 33px;
  background: var(--bg);
  padding: 23px 18px;
  border-radius: 12px;
}
.filter-note > span {
  color: var(--blue);
  font-size: 24px;
  display: block;
  margin-bottom: 15px;
}
.filter-note h4 {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.filter-note p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin: 0 0 20px;
  min-height: 40px;
}
.catalog-toolbar form {
  display: flex;
  align-items: center;
  gap: 10px;
}
.catalog-toolbar label {
  color: var(--muted);
}
.catalog-toolbar select {
  font-size: 12px;
  padding: 8px;
  background: #fff;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  background: white;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px #09264c0d;
}
.product-image {
  display: block;
  background: #f6f7f9;
  aspect-ratio: 1.1;
  position: relative;
  padding: 22px;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.card-arrow {
  position: absolute;
  right: 14px;
  top: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 29px;
  height: 29px;
  text-align: center;
  line-height: 27px;
}
.card-body {
  padding: 20px;
}
.card-category {
  font-size: 9px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.card-body h3 {
  font-size: 15px;
  line-height: 1.5;
  min-height: 45px;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-details {
  font-size: 11px;
  color: var(--blue);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.card-details > span {
  font-size: 16px;
}
.site-footer {
  background: var(--deep);
  color: #9bb0ca;
  padding: 35px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  gap: 30px;
}
.footer-row .brand {
  font-size: 30px;
}
.footer-row p {
  margin: 0;
  font-size: 12px;
}
.footer-row small {
  font-size: 11px;
  margin-left: auto;
}
.empty-state {
  border: 1px dashed #d9e3ec;
  background: #fafbfd;
  border-radius: var(--radius);
  text-align: center;
  padding: 70px 25px;
}
.empty-state > span {
  font-size: 48px;
  color: #8aa3ba;
}
.empty-state h3 {
  font-size: 22px;
  margin: 14px 0;
}
.empty-state p {
  color: var(--muted);
}
.compact {
  padding: 24px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: white;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
}
.button:hover {
  background: #0078d0;
}
.button.secondary {
  background: white;
  color: var(--ink);
  border-color: #d9e2eb;
}
.button.secondary:hover {
  background: #f1f6fb;
}
.pagination {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}
.product-page {
  padding: 28px 0 80px;
}
.breadcrumbs {
  display: flex;
  gap: 15px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 34px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
}
.main-product-image {
  background: #f5f7f9;
  border-radius: 18px;
  aspect-ratio: 1;
  padding: 40px;
}
.main-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.gallery {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.gallery button {
  width: 76px;
  height: 76px;
  background: white;
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 9px;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-description {
  padding-top: 15px;
}
.product-description h1 {
  font-size: 34px;
}
.product-description h2,
.product-description h3 {
  font-size: 17px;
}
.detail-divider {
  height: 1px;
  background: var(--line);
  margin: 25px 0;
}
.description-copy {
  white-space: pre-line;
  color: #607286;
}
.variant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.variant-option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 13px;
  font-size: 12px;
}
.variant-stock {
  color: var(--muted);
}
.attributes {
  margin: 0 0 24px;
}
.attributes > div {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.attributes dt {
  color: var(--muted);
  text-transform: capitalize;
}
.attributes dd {
  margin: 0;
  text-align: right;
  max-width: 65%;
  overflow-wrap: anywhere;
}
.back-link {
  display: inline-block;
  color: var(--blue);
  font-size: 13px;
  margin: 16px 0;
}
.admin-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
  background: var(--bg);
}
.admin-sidebar {
  background: var(--navy);
  color: #a5b9d0;
  padding: 35px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-sidebar .brand {
  margin-bottom: 48px;
  width: fit-content;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}
.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-sidebar nav a {
  display: flex;
  gap: 13px;
  padding: 12px;
  border-radius: 8px;
  font-size: 17px;
}
.admin-sidebar nav a span {
  font-size: 13px;
}
.admin-sidebar nav a:hover {
  background: #ffffff0b;
  color: white;
}
.sidebar-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 11px;
  padding-top: 40px;
}
.admin-main {
  min-width: 0;
}
.admin-header {
  height: 80px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 38px;
  font-size: 12px;
}
.admin-header > div {
  display: flex;
  gap: 20px;
  align-items: center;
}
.text-button {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 12px;
}
.admin-content {
  max-width: 1500px;
  margin: auto;
  padding: 36px 38px 60px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}
.page-heading h1 {
  font-size: 30px;
  margin-bottom: 10px;
}
.page-heading p {
  font-size: 13px;
  margin-bottom: 0;
}
.page-heading .eyebrow {
  margin-bottom: 10px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.stat > span {
  font-size: 12px;
  color: var(--muted);
}
.stat strong {
  font:
    700 38px Manrope,
    Arial,
    sans-serif;
  margin: 12px 0;
}
.stat small {
  font-size: 11px;
  color: var(--blue);
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
}
.padded {
  padding: 25px;
}
.panel h2 {
  font-size: 18px;
  margin-bottom: 18px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 23px 25px;
}
.panel-heading h2,
.panel-heading h3 {
  margin: 0;
}
.panel-heading a {
  font-size: 12px;
  color: var(--blue);
}
.panel-heading p {
  margin: 8px 0 0;
  font-size: 12px;
}
.padded > .panel-heading {
  padding: 0;
  margin-bottom: 22px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  background: #f9fafc;
  color: var(--muted);
  font-weight: 500;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 16px 22px;
  border-bottom: 1px solid #edf0f4;
}
tr:last-child td {
  border-bottom: 0;
}
td a {
  color: var(--blue);
  white-space: nowrap;
}
.badge {
  display: inline-block;
  border-radius: 30px;
  padding: 5px 10px;
  font-size: 10px;
  background: #edf1f5;
  color: #617589;
  white-space: nowrap;
}
.badge.completed {
  color: #157a58;
  background: #e7f6ef;
}
.badge.running,
.badge.queued {
  color: #0077c8;
  background: #e8f5ff;
}
.badge.failed {
  color: #b84141;
  background: #fff0f0;
}
.badge.preview {
  background: #fff6dd;
  color: #957116;
}
.notice {
  border-radius: 9px;
  padding: 15px 19px;
  border: 1px solid #d5eafa;
  background: #eef7ff;
  color: #356686;
  font-size: 13px;
  margin-bottom: 22px;
}
.notice.success {
  background: #edf9f2;
  border-color: #d5efdf;
  color: #267652;
}
.notice.danger {
  background: #fff2f2;
  border-color: #f4dada;
  color: #ad4141;
}
.notice p:last-child {
  margin-bottom: 0;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.form-stack > label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 500;
  gap: 8px;
}
.form-stack .checkbox {
  flex-direction: row;
  align-items: center;
}
.form-stack .button {
  align-self: flex-start;
}
.inline-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.inline-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}
.search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}
.search-bar input {
  flex: 1;
}
.table-product {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 250px;
  max-width: 450px;
}
.table-product img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: #f6f7f9;
  border-radius: 7px;
}
.two-columns,
.supplier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.section-title {
  font-size: 22px;
  margin-top: 20px;
}
.offer-summary {
  display: flex;
  gap: 45px;
  margin-bottom: 23px;
}
.offer-summary > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.offer-summary span {
  color: var(--muted);
  font-size: 11px;
}
.offer-summary strong {
  font-size: 16px;
}
.offer-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.offer-actions select {
  max-width: 310px;
}
.sync-form {
  margin-top: 15px;
}
.supplier-grid .form-stack {
  margin-bottom: 15px;
}
.supplier-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.supplier-card:hover,
.supplier-card:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 4px 18px #09264c14;
}
.supplier-card-action {
  display: block;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 600;
}
.supplier-detail > .back-link {
  display: inline-block;
  margin-bottom: 16px;
}
.supplier-detail .page-heading {
  margin-bottom: 24px;
}
.supplier-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  align-items: start;
  gap: 24px;
}
.supplier-profile-form,
.supplier-detail-sidebar {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.supplier-detail-layout .panel {
  padding: 24px;
  margin: 0;
}
.supplier-detail-layout h2 {
  margin: 0 0 20px;
}
.supplier-detail-layout h3 {
  margin: 0 0 12px;
}
.supplier-detail-layout .muted {
  line-height: 1.6;
  font-size: 12px;
}
.supplier-detail-layout h2 + .muted {
  margin: -8px 0 20px;
}
.supplier-fields {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.supplier-fields > label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  grid-column: span 6;
}
.supplier-fields input,
.supplier-fields textarea {
  width: 100%;
  min-width: 0;
  min-height: 42px;
}
.supplier-fields textarea {
  min-height: 86px;
  resize: vertical;
}
.supplier-fields > .supplier-field-third {
  grid-column: span 4;
}
.supplier-fields > .supplier-field-quarter {
  grid-column: span 3;
}
.supplier-fields > .supplier-field-full {
  grid-column: 1 / -1;
}
.supplier-save,
.supplier-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.supplier-save .button {
  flex-shrink: 0;
}
.supplier-save .muted {
  max-width: 340px;
}
.supplier-detail-sidebar .inline-form,
.supplier-detail-sidebar .offer-actions {
  display: grid;
  gap: 12px;
}
.supplier-detail-sidebar label,
.supplier-detail-sidebar input:not([type='checkbox']),
.supplier-detail-sidebar .button {
  width: 100%;
  min-width: 0;
}
.supplier-detail-sidebar .offer-actions a {
  font-size: 12px;
  line-height: 1.6;
}
.supplier-detail-sidebar .attributes {
  margin: 0 0 20px;
}
.supplier-detail-sidebar .attributes > div {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.supplier-detail-sidebar .form-stack {
  gap: 16px;
}
.supplier-detail-sidebar .notice,
.supplier-detail-sidebar a {
  overflow-wrap: anywhere;
}
.supplier-odoo-connection,
.supplier-search-results {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.supplier-odoo-connection:last-child {
  padding-bottom: 0;
}
.supplier-search-result {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 1199px) {
  .supplier-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .supplier-detail-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}
@media (max-width: 640px) {
  .supplier-detail-layout,
  .supplier-profile-form,
  .supplier-detail-sidebar {
    gap: 16px;
  }
  .supplier-detail-layout .panel {
    padding: 20px;
  }
  .supplier-detail-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
  .supplier-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .supplier-fields > label,
  .supplier-fields > .supplier-field-third,
  .supplier-fields > .supplier-field-quarter {
    grid-column: 1 / -1;
  }
  .supplier-save,
  .supplier-search-result {
    align-items: stretch;
    flex-direction: column;
  }
}
.upload-area {
  border: 1px dashed #b1c5d8;
  background: #f7fafc;
  border-radius: 12px;
  text-align: center;
  align-items: center;
  padding: 30px;
}
.upload-area > span:first-child {
  font-size: 32px;
  color: var(--blue);
}
.upload-area span {
  color: var(--muted);
  font-size: 11px;
}
.upload-area input {
  font-size: 12px;
  max-width: 100%;
  margin-top: 12px;
}
.credentials {
  padding: 10px 0;
}
.credentials dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.credentials dd {
  margin: 0 0 22px;
  overflow-wrap: anywhere;
}
.credentials code {
  font-size: 14px;
  background: var(--bg);
  padding: 10px;
  display: block;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}
.login-brand {
  background: var(--navy);
  color: white;
  padding: 65px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-brand .brand {
  width: fit-content;
  margin-bottom: 70px;
  font-size: 48px;
}
.login-brand h1 {
  font-size: 43px;
  line-height: 1.25;
}
.login-brand p {
  color: #9fb6d2;
  line-height: 1.8;
}
.login-card {
  align-self: center;
  max-width: 410px;
  width: calc(100% - 60px);
  margin: 50px auto;
}
.login-card h2 {
  font-size: 29px;
  margin-bottom: 12px;
}
.login-card > p {
  font-size: 13px;
}
.login-card .form-stack {
  margin-top: 30px;
}
.login-card .button {
  width: 100%;
  justify-content: space-between;
  margin-top: 6px;
}
.login-card .back-link {
  margin-top: 28px;
}
.error-page {
  margin-top: 60px;
  margin-bottom: 60px;
}
details {
  margin-top: 12px;
  font-size: 12px;
}
summary {
  cursor: pointer;
  color: var(--blue);
}
pre {
  overflow: auto;
  max-height: 350px;
  background: var(--bg);
  padding: 15px;
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  background: white;
  padding: 10px;
  z-index: 5;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 48px);
  }
  .header-row {
    gap: 30px;
  }
  .catalog-layout {
    grid-template-columns: 175px 1fr;
    gap: 24px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-mark {
    width: 330px;
  }
  .catalog-hero h1 {
    font-size: 40px;
  }
  .admin-layout {
    grid-template-columns: 195px 1fr;
  }
  .admin-sidebar {
    padding: 30px 18px;
  }
  .admin-content {
    padding: 28px 24px;
  }
  .admin-header {
    padding: 0 24px;
  }
  .two-columns,
  .supplier-grid {
    grid-template-columns: 1fr;
  }
  .product-detail {
    gap: 35px;
  }
  .login-brand h1 {
    font-size: 34px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }
  .announcement {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .announcement span {
    display: none;
  }
  .header-row {
    height: auto;
    padding: 23px 0 20px;
    flex-wrap: wrap;
    gap: 22px;
  }
  .brand {
    font-size: 32px;
  }
  .brand-caption {
    font-size: 8px;
  }
  .staff-link {
    margin-left: auto;
    font-size: 10px;
  }
  .header-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .header-search input {
    font-size: 12px;
  }
  .header-search button {
    font-size: 12px;
    padding: 9px 15px;
  }
  .hero-inner {
    min-height: 280px;
    padding: 28px 0 34px;
  }
  .catalog-hero h1 {
    font-size: 34px;
    letter-spacing: -1.3px;
  }
  .hero-copy {
    font-size: 13px;
  }
  .hero-mark {
    display: none;
  }
  .catalog-section {
    padding-top: 32px;
  }
  .section-heading {
    align-items: start;
    gap: 15px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .section-heading > p {
    font-size: 11px;
    max-width: 85px;
    text-align: right;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .filters {
    border: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }
  .filter-title {
    width: 100%;
    margin-bottom: 3px;
  }
  .category-link {
    border: 1px solid var(--line);
    padding: 7px 11px;
    font-size: 11px;
  }
  .category-link > span {
    display: none;
  }
  .filter-note {
    display: none;
  }
  .catalog-toolbar {
    gap: 10px;
  }
  .catalog-toolbar label {
    display: none;
  }
  .product-grid {
    gap: 12px;
  }
  .product-image {
    padding: 12px;
  }
  .card-body {
    padding: 14px;
  }
  .card-body h3 {
    font-size: 12px;
    min-height: 37px;
  }
  .card-category {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .card-details {
    font-size: 10px;
  }
  .card-arrow {
    display: none;
  }
  .footer-row {
    flex-wrap: wrap;
    gap: 14px;
  }
  .footer-row small {
    margin: 0;
    width: 100%;
    font-size: 10px;
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-description h1 {
    font-size: 28px;
  }
  .product-page {
    padding-top: 20px;
  }
  .admin-layout {
    display: flex;
    flex-direction: column;
  }
  .admin-sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 20px;
  }
  .admin-sidebar .brand {
    margin: 0 0 20px;
    font-size: 28px;
  }
  .admin-sidebar nav {
    display: flex;
    flex-direction: row;
    overflow: auto;
    gap: 4px;
  }
  .admin-sidebar nav a {
    padding: 8px;
    white-space: nowrap;
    font-size: 13px;
  }
  .admin-sidebar nav a span {
    font-size: 10px;
  }
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .admin-header {
    height: 62px;
    padding: 0 18px;
    font-size: 10px;
  }
  .staff-email {
    display: none;
  }
  .admin-content {
    padding: 25px 18px;
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stat {
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .stat strong {
    font-size: 28px;
    margin: 0;
    grid-row: span 2;
  }
  .stat small {
    grid-row: 2;
  }
  .padded {
    padding: 20px;
  }
  .panel-heading {
    padding: 20px;
    flex-wrap: wrap;
  }
  .offer-summary {
    gap: 20px;
    flex-wrap: wrap;
  }
  .button {
    font-size: 12px;
    padding: 10px 14px;
  }
  .login-page {
    display: flex;
    flex-direction: column;
  }
  .login-brand {
    padding: 34px 28px;
  }
  .login-brand .brand {
    margin-bottom: 30px;
    font-size: 32px;
  }
  .login-brand h1 {
    font-size: 28px;
  }
  .login-brand p {
    display: none;
  }
  .login-card {
    margin: 40px auto;
  }
  .search-bar {
    flex-wrap: wrap;
  }
  .search-bar input {
    min-width: 0;
    width: 100%;
    flex-basis: 100%;
  }
  .credentials code {
    font-size: 11px;
  }
  .desktop {
    display: none;
  }
}

.product-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}
.product-filters label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  min-width: 0;
}
.product-filters input,
.product-filters select {
  width: 100%;
  min-width: 0;
}
.filter-search {
  grid-column: span 2;
}
.filter-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.table-supplier {
  display: block;
  margin-top: 4px;
}
.stock-cell,
.price-cell {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.price-cell small,
.price-cell strong {
  display: block;
}
.card-commerce {
  margin: 0 0 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
}
.card-commerce dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 4px;
}
.card-commerce dd {
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}
.card-price {
  font-size: 19px;
  color: var(--navy);
}
.card-stock {
  font-size: 14px;
  color: #157a58;
}
.card-stock small {
  font-size: 10px;
  font-weight: 400;
}
.card-stock.stock-empty {
  color: var(--muted);
}
@media (max-width: 1100px) {
  .product-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .product-filters {
    gap: 14px;
  }
  .filter-search,
  .filter-actions {
    grid-column: span 2;
  }
  .card-commerce {
    gap: 10px;
  }
  .card-price {
    font-size: 16px;
  }
  .card-stock {
    font-size: 12px;
  }
}

.schedule-suppliers {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  max-height: 18rem;
  overflow-y: auto;
  padding: 1rem;
}
.schedule-suppliers .checkbox {
  margin-block: 0.5rem;
}
#schedules details {
  margin-block: 1rem;
}
#schedules summary {
  cursor: pointer;
  margin-bottom: 1rem;
}
