:root {
  color-scheme: light;
  --navy-950: #06111f;
  --navy-900: #07172c;
  --navy-800: #102642;
  --navy-700: #183a5f;
  --ink: #112036;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --line: #dfe7f1;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --canvas: #edf3f9;
  --red: #e81f3d;
  --red-dark: #bd1230;
  --red-soft: #fff0f2;
  --emerald: #0f9f74;
  --emerald-soft: #e9f9f2;
  --amber: #e7950d;
  --amber-soft: #fff6df;
  --danger: #db3a4c;
  --danger-soft: #fff0f1;
  --blue: #2276d2;
  --blue-soft: #edf6ff;
  --pride-red: #f43f5e;
  --pride-orange: #ff8a34;
  --pride-yellow: #ffd447;
  --pride-green: #22b573;
  --pride-blue: #3b82f6;
  --pride-purple: #8b5cf6;
  --pride-spectrum: linear-gradient(
    90deg,
    var(--pride-red),
    var(--pride-orange),
    var(--pride-yellow),
    var(--pride-green),
    var(--pride-blue),
    var(--pride-purple)
  );
  --shadow-sm: 0 6px 20px rgba(20, 41, 68, 0.06);
  --shadow-md: 0 18px 48px rgba(15, 33, 56, 0.11);
  --shadow-lg: 0 34px 90px rgba(7, 23, 44, 0.24);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --font-sans:
    "Segoe UI", "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(226, 45, 69, 0.08), transparent 28rem),
    radial-gradient(circle at 100% 20%, rgba(27, 112, 198, 0.1), transparent 32rem),
    var(--canvas);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(34, 118, 210, 0.28);
  outline-offset: 3px;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hidden {
  display: none !important;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
}

.ambient-one {
  top: 8%;
  left: -12rem;
  background: #ff5d6d;
}

.ambient-two {
  right: -10rem;
  bottom: 12%;
  background: #4a9bea;
}

.auth-view {
  display: grid;
  min-height: 100vh;
  padding: clamp(18px, 4vw, 54px);
  place-items: center;
  background:
    linear-gradient(135deg, rgba(7, 23, 44, 0.98), rgba(11, 32, 58, 0.96)),
    var(--navy-900);
}

.auth-shell {
  display: grid;
  width: min(1080px, 100%);
  min-height: min(720px, calc(100vh - 80px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
}

.auth-visual {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 82, 104, 0.26), transparent 17rem),
    linear-gradient(145deg, #08192e 0%, #102d4e 58%, #491327 100%);
}

.auth-visual::before,
.auth-visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.auth-visual::before {
  width: 540px;
  height: 540px;
}

.auth-visual::after {
  width: 390px;
  height: 390px;
}

.auth-orbit {
  position: absolute;
  width: 320px;
  height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.orbit-two {
  width: 440px;
  height: 160px;
  border-color: rgba(239, 52, 79, 0.28);
  transform: rotate(32deg);
}

.auth-cube {
  position: relative;
  z-index: 2;
  display: grid;
  width: 176px;
  height: 176px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 44px;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.04)),
    rgba(7, 23, 44, 0.46);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.28),
    0 40px 70px rgba(0, 0, 0, 0.3);
  transform: rotate(-8deg);
  backdrop-filter: blur(20px);
}

.auth-cube::after {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 40px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  content: "";
}

.cube-mark {
  color: #ff3e5c;
  font-size: 7rem;
  font-weight: 900;
  letter-spacing: -0.13em;
  line-height: 1;
  transform: translateX(-6px);
}

.auth-stat {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: white;
  background: rgba(5, 17, 32, 0.66);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(14px);
}

.auth-stat-top {
  top: 21%;
  right: 10%;
}

.auth-stat-bottom {
  bottom: 20%;
  left: 11%;
}

.auth-stat-bottom strong {
  color: #ff5269;
  font-size: 22px;
}

.auth-stat-bottom span {
  color: rgba(255, 255, 255, 0.72);
}

.mini-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2fd59d;
  box-shadow: 0 0 0 5px rgba(47, 213, 157, 0.13);
}

.auth-card {
  display: flex;
  min-width: 0;
  padding: clamp(36px, 6vw, 74px);
  flex-direction: column;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, #ff4c62, var(--red-dark));
  box-shadow: 0 10px 22px rgba(216, 25, 56, 0.25);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  place-items: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy-900);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.brand-auth {
  margin-bottom: clamp(48px, 9vh, 78px);
}

.auth-heading {
  margin-bottom: 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.auth-heading h1 {
  margin: 10px 0 10px;
  color: var(--navy-900);
  font-size: clamp(31px, 4vw, 43px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.auth-heading p {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
}

.auth-form label {
  display: block;
  margin-bottom: 9px;
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 700;
}

.password-control {
  position: relative;
}

.password-control > svg {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 20px;
  height: 20px;
  color: var(--muted-light);
  transform: translateY(-50%);
}

.password-control input {
  width: 100%;
  height: 56px;
  padding: 0 68px 0 50px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--navy-900);
  background: var(--surface-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.password-control input:hover {
  border-color: #c8d5e5;
}

.password-control input:focus {
  border-color: #6ea8e2;
  outline: none;
  background: white;
  box-shadow: 0 0 0 4px rgba(34, 118, 210, 0.1);
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  padding: 7px 9px;
  border: 0;
  color: var(--navy-700);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transform: translateY(-50%);
}

.form-error {
  min-height: 22px;
  margin: 7px 0 5px;
  color: var(--danger);
  font-size: 13px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, #ef304d, #c91534);
  box-shadow: 0 12px 26px rgba(211, 21, 52, 0.24);
}

.primary-button:hover {
  box-shadow: 0 16px 30px rgba(211, 21, 52, 0.3);
  transform: translateY(-1px);
}

.primary-button:active,
.secondary-button:active {
  transform: translateY(1px);
}

.primary-button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.auth-submit {
  width: 100%;
  height: 55px;
}

.auth-submit svg {
  width: 20px;
  height: 20px;
}

.auth-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.auth-note svg {
  width: 18px;
  min-width: 18px;
  height: 18px;
  color: var(--emerald);
}

.dashboard {
  width: min(1540px, calc(100% - clamp(24px, 5vw, 72px)));
  margin: 0 auto;
  padding: 22px 0 28px;
}

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  min-height: 76px;
  margin-bottom: 18px;
  padding: 13px 18px 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  justify-content: space-between;
  animation: surface-rise 0.5s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sync-pill {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 176px;
  min-height: 48px;
  padding: 7px 14px;
  border: 1px solid #dfe8f3;
  border-radius: 15px;
  background: #f8fbfe;
}

.sync-mobile-label {
  display: none;
  color: var(--emerald);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.sync-pill small,
.sync-pill strong {
  display: block;
  white-space: nowrap;
}

.sync-pill small {
  color: var(--emerald);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sync-pill strong {
  margin-top: 1px;
  color: var(--navy-800);
  font-size: 11px;
}

.live-dot {
  position: relative;
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 5px rgba(15, 159, 116, 0.1);
}

.live-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(15, 159, 116, 0.35);
  border-radius: 50%;
  content: "";
  animation: pulse-ring 1.8s ease-out infinite;
}

.sync-pill.is-stale .live-dot {
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(231, 149, 13, 0.12);
}

.sync-pill.is-stale small {
  color: var(--amber);
}

.sync-pill.is-offline .live-dot {
  background: var(--danger);
  box-shadow: 0 0 0 5px rgba(219, 58, 76, 0.12);
}

.sync-pill.is-offline small {
  color: var(--danger);
}

@keyframes pulse-ring {
  0% {
    opacity: 0.8;
    transform: scale(0.7);
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

.icon-button,
.avatar-button {
  display: grid;
  width: 46px;
  height: 46px;
  border: 1px solid #dfe7f0;
  border-radius: 14px;
  background: white;
  cursor: pointer;
  place-items: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.icon-button:hover,
.avatar-button:hover {
  border-color: #c6d6e7;
  box-shadow: 0 8px 20px rgba(14, 40, 70, 0.09);
  transform: translateY(-1px);
}

.icon-button svg {
  width: 21px;
  height: 21px;
  color: var(--navy-700);
}

.icon-button.is-spinning svg {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.avatar-button {
  border: 0;
  color: white;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950));
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.account-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  display: flex;
  width: 220px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  box-shadow: var(--shadow-md);
  flex-direction: column;
}

.account-menu strong {
  color: var(--navy-900);
}

.account-menu > span {
  margin: 2px 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.account-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  color: var(--danger);
  background: var(--danger-soft);
  font-weight: 700;
  cursor: pointer;
}

.account-menu button svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 322px;
  overflow: hidden;
  margin-bottom: 18px;
  padding: clamp(34px, 5vw, 66px);
  border-radius: var(--radius-xl);
  color: white;
  background:
    linear-gradient(110deg, rgba(5, 19, 36, 0.99) 0%, rgba(12, 42, 75, 0.96) 58%, rgba(91, 16, 38, 0.96) 100%),
    var(--navy-900);
  box-shadow: var(--shadow-md);
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  isolation: isolate;
  animation: surface-rise 0.58s 0.06s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -70%;
  right: -10%;
  width: 590px;
  height: 590px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 22%;
  bottom: -70%;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(231, 28, 61, 0.14);
  content: "";
  filter: blur(12px);
  animation: glow-drift 8s ease-in-out infinite alternate;
}

.hero-copy {
  align-self: center;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4b65;
  box-shadow: 0 0 0 5px rgba(255, 75, 101, 0.13);
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hero h1 span {
  color: #ff4b65;
}

.hero-copy > p {
  max-width: 680px;
  margin: 18px 0 23px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(14px, 1.6vw, 17px);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.hero-meta svg {
  width: 18px;
  height: 18px;
  color: #ff7488;
}

.hero-meta strong {
  color: white;
  font-weight: 650;
}

.hero-graphic {
  position: relative;
  display: grid;
  min-height: 240px;
  place-items: center;
  animation: graphic-float 6s ease-in-out infinite;
}

.graphic-grid {
  position: absolute;
  inset: -30px;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle, black, transparent 70%);
}

.stock-ring {
  position: relative;
  z-index: 2;
  display: grid;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  text-align: center;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.17), transparent 40%),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 0 14px rgba(255, 255, 255, 0.025),
    0 30px 70px rgba(0, 0, 0, 0.26);
  place-content: center;
  backdrop-filter: blur(16px);
}

.stock-ring::before {
  position: absolute;
  inset: -12px;
  border: 2px solid transparent;
  border-top-color: #ff4b65;
  border-right-color: rgba(255, 75, 101, 0.36);
  border-radius: 50%;
  content: "";
  transform: rotate(24deg);
  animation: ring-orbit 12s linear infinite;
}

.ring-kicker {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.stock-ring strong {
  margin: 2px 0;
  font-size: clamp(38px, 4vw, 52px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.stock-ring small {
  color: #ff6e83;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.floating-tag {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 55px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(4, 15, 29, 0.66);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  place-items: center;
  backdrop-filter: blur(10px);
  animation: tag-float 4.8s ease-in-out infinite;
}

.tag-one {
  top: 16%;
  left: 4%;
  transform: rotate(-7deg);
}

.tag-two {
  right: 3%;
  bottom: 28%;
  transform: rotate(7deg);
  animation-delay: -1.4s;
}

.tag-three {
  bottom: 4%;
  left: 19%;
  transform: rotate(4deg);
  animation-delay: -2.8s;
}

.stats-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 154px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-md);
  text-align: left;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  animation: surface-rise 0.5s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.stat-card:nth-child(1) {
  animation-delay: 0.11s;
}

.stat-card:nth-child(2) {
  animation-delay: 0.15s;
}

.stat-card:nth-child(3) {
  animation-delay: 0.19s;
}

.stat-card:nth-child(4) {
  animation-delay: 0.23s;
}

.stat-card::after {
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  opacity: 0.035;
}

.stat-card:hover {
  border-color: #d3dfeb;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-card.is-active {
  border-color: color-mix(in srgb, currentColor 24%, white);
  box-shadow:
    0 0 0 3px color-mix(in srgb, currentColor 8%, transparent),
    0 16px 34px rgba(14, 41, 70, 0.1);
  transform: translateY(-2px);
}

.stat-low.is-active {
  border-color: rgba(231, 149, 13, 0.48);
  box-shadow:
    0 0 0 3px rgba(231, 149, 13, 0.1),
    0 16px 34px rgba(120, 77, 8, 0.12);
}

.stat-out.is-active {
  border-color: rgba(219, 58, 76, 0.42);
  box-shadow:
    0 0 0 3px rgba(219, 58, 76, 0.09),
    0 16px 34px rgba(110, 24, 35, 0.12);
}

.stat-icon {
  display: grid;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  place-items: center;
}

.stat-icon svg {
  width: 23px;
  height: 23px;
}

.stat-total .stat-icon {
  color: var(--blue);
  background: var(--blue-soft);
}

.stat-products .stat-icon {
  color: #6757d6;
  background: #f1efff;
}

.stat-low .stat-icon {
  color: var(--amber);
  background: var(--amber-soft);
}

.stat-out .stat-icon {
  color: var(--danger);
  background: var(--danger-soft);
}

.stat-content {
  min-width: 0;
}

.stat-content small,
.stat-content strong,
.stat-content em {
  display: block;
}

.stat-content small {
  overflow: hidden;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-content strong {
  color: var(--navy-900);
  font-size: clamp(26px, 2.7vw, 36px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.stat-content em {
  margin-top: 3px;
  color: var(--muted-light);
  font-size: 11px;
  font-style: normal;
}

.stat-trend {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 4px 8px;
  border-radius: 99px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trend-live {
  color: var(--emerald);
  background: var(--emerald-soft);
}

.trend-warning {
  color: var(--amber);
  background: var(--amber-soft);
}

.trend-danger {
  color: var(--danger);
  background: var(--danger-soft);
}

.inventory-section {
  padding: clamp(20px, 3.3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  animation: surface-rise 0.58s 0.26s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 22px;
  justify-content: space-between;
}

.section-heading h2 {
  margin: 5px 0 2px;
  color: var(--navy-900);
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.view-actions {
  display: flex;
  gap: 8px;
}

.text-button {
  padding: 8px 11px;
  border: 0;
  border-radius: 10px;
  color: var(--navy-700);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.text-button:hover {
  color: var(--red);
  background: var(--red-soft);
}

.toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 15px;
  grid-template-columns: minmax(280px, 1fr) minmax(180px, 0.31fr) minmax(190px, 0.34fr);
}

.search-control,
.select-control {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.search-control:focus-within,
.select-control:focus-within {
  border-color: #7fafe2;
  background: white;
  box-shadow: 0 0 0 4px rgba(34, 118, 210, 0.08);
}

.search-control {
  position: relative;
  display: flex;
  align-items: center;
  height: 54px;
  padding: 0 13px 0 16px;
}

.search-control svg {
  width: 20px;
  min-width: 20px;
  height: 20px;
  color: var(--muted-light);
}

.search-control input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 14px;
  border: 0;
  outline: 0;
  color: var(--navy-900);
  background: transparent;
}

.search-control input::placeholder {
  color: #95a4b8;
}

.search-control kbd {
  padding: 3px 7px;
  border: 1px solid #d8e1eb;
  border-radius: 7px;
  color: var(--muted);
  background: white;
  box-shadow: 0 1px 0 #dce5ef;
  font-family: var(--font-sans);
  font-size: 10px;
  white-space: nowrap;
}

.select-control {
  display: flex;
  min-height: 54px;
  padding: 5px 12px;
  flex-direction: column;
  justify-content: center;
}

.select-control span {
  margin-left: 3px;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.select-control select {
  width: 100%;
  padding: 1px 0;
  border: 0;
  outline: 0;
  color: var(--navy-800);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.product-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -2px 15px;
  padding: 2px 2px 6px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.product-tabs::-webkit-scrollbar {
  display: none;
}

.product-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--navy-700);
  background: white;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
  scroll-snap-align: start;
}

.product-tab span {
  display: grid;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 9px;
  place-items: center;
}

.product-tab:hover {
  border-color: #c5d4e5;
  transform: translateY(-1px);
}

.product-tab.active {
  border-color: var(--navy-900);
  color: white;
  background: var(--navy-900);
  box-shadow: 0 7px 16px rgba(7, 23, 44, 0.16);
}

.product-tab.active span {
  color: white;
  background: rgba(255, 255, 255, 0.15);
}

.legend {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 10px 13px;
  border: 1px solid #e5ecf3;
  border-radius: 12px;
  color: var(--muted);
  background: #fbfdff;
  font-size: 10px;
  flex-wrap: wrap;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-good {
  background: var(--emerald);
}

.legend-low {
  background: var(--amber);
}

.legend-out {
  background: var(--danger);
}

.legend .legend-note {
  margin-left: auto;
  color: var(--muted-light);
}

.products-list {
  display: grid;
  gap: 14px;
}

.product-panel {
  overflow: hidden;
  border: 1px solid #dfe8f1;
  border-radius: 20px;
  background: white;
  box-shadow: 0 4px 18px rgba(14, 41, 70, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  animation: panel-enter 0.38s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.product-panel:nth-child(2) {
  animation-delay: 0.035s;
}

.product-panel:nth-child(3) {
  animation-delay: 0.07s;
}

.product-panel[open] {
  border-color: #d3dfeb;
  box-shadow: 0 11px 30px rgba(14, 41, 70, 0.08);
}

.product-summary {
  display: grid;
  min-height: 90px;
  padding: 16px 18px;
  list-style: none;
  cursor: pointer;
  grid-template-columns: auto minmax(120px, 0.55fr) minmax(240px, 1fr) auto;
  align-items: center;
  gap: 17px;
}

.product-summary::-webkit-details-marker {
  display: none;
}

.product-code-mark {
  display: grid;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950));
  box-shadow: 0 10px 22px rgba(7, 23, 44, 0.18);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -0.01em;
  place-items: center;
}

.product-thumb {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 2px solid white;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #f2efff);
  box-shadow:
    0 9px 22px rgba(39, 31, 85, 0.15),
    0 0 0 1px rgba(139, 92, 246, 0.14);
}

.product-thumb::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
  content: "";
  pointer-events: none;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.04);
  transition: transform 0.3s ease;
}

.product-panel[open] .product-thumb img {
  transform: scale(1.12);
}

.product-title {
  min-width: 0;
}

.product-title strong,
.product-title small {
  display: block;
}

.product-title strong {
  overflow: hidden;
  color: var(--navy-900);
  font-size: 18px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-title small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.product-summary-metrics {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-metric {
  min-width: 0;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--surface-soft);
}

.mini-metric small,
.mini-metric strong {
  display: block;
}

.mini-metric small {
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-metric strong {
  overflow: hidden;
  margin-top: 1px;
  color: var(--navy-800);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-total {
  min-width: 98px;
  text-align: right;
}

.product-total small,
.product-total strong {
  display: block;
}

.product-total small {
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-total strong {
  color: var(--red);
  font-size: 24px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.chevron {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-left: 8px;
  border-radius: 9px;
  color: var(--muted);
  background: var(--surface-soft);
  vertical-align: middle;
  place-items: center;
  transition: transform 0.2s ease;
}

.chevron svg {
  width: 15px;
  height: 15px;
}

.product-panel[open] .chevron {
  transform: rotate(180deg);
}

.product-panel[open] .product-body {
  animation: panel-reveal 0.28s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.product-body {
  padding: 0 18px 18px;
  border-top: 1px solid #edf1f6;
}

.product-media-button {
  position: relative;
  display: grid;
  width: 100%;
  margin: 14px 0 2px;
  padding: 11px 14px 11px 11px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: 18px;
  color: var(--ink);
  text-align: left;
  background:
    radial-gradient(circle at 86% 15%, rgba(139, 92, 246, 0.12), transparent 12rem),
    linear-gradient(120deg, #fff7f9 0%, #fffdf8 33%, #f3fbf7 66%, #f5f3ff 100%);
  box-shadow: 0 8px 24px rgba(32, 27, 78, 0.07);
  cursor: zoom-in;
  grid-template-columns: 116px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 16px;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.product-media-button::before {
  position: absolute;
  top: 0;
  right: 6%;
  left: 6%;
  height: 3px;
  border-radius: 0 0 99px 99px;
  background: var(--pride-spectrum);
  content: "";
}

.product-media-button:hover {
  border-color: rgba(139, 92, 246, 0.32);
  box-shadow: 0 14px 32px rgba(38, 30, 91, 0.12);
  transform: translateY(-2px);
}

.product-media-frame {
  display: block;
  width: 116px;
  height: 138px;
  overflow: hidden;
  border: 1px solid rgba(122, 105, 159, 0.13);
  border-radius: 13px;
  background: white;
  box-shadow: 0 8px 20px rgba(20, 35, 68, 0.09);
}

.product-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  transform: scale(1.035);
  transition: transform 0.35s ease;
}

.product-media-button:hover .product-media-frame img {
  transform: scale(1.09);
}

.product-media-copy {
  min-width: 0;
}

.product-media-copy small,
.product-media-copy strong,
.product-media-copy em {
  display: block;
}

.product-media-copy small {
  color: #7a45d1;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.product-media-copy strong {
  margin: 5px 0 4px;
  color: var(--navy-900);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 850;
  letter-spacing: -0.02em;
}

.product-media-copy em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.product-media-icon {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(139, 92, 246, 0.14);
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--pride-red), var(--pride-purple));
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.18);
  place-items: center;
}

.product-media-icon svg {
  width: 19px;
  height: 19px;
}

.product-stock {
  min-width: 0;
}

@media (min-width: 1101px) {
  .product-body.has-product-media {
    display: grid;
    padding-top: 14px;
    grid-template-columns: 252px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
  }

  .product-body.has-product-media .product-media-button {
    position: sticky;
    top: 105px;
    margin: 0;
    padding: 10px;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .product-body.has-product-media .product-media-frame {
    width: 100%;
    height: auto;
    border-radius: 14px;
    aspect-ratio: 3 / 4;
    grid-column: 1 / -1;
  }

  .product-body.has-product-media .product-media-frame img {
    object-fit: contain;
    transform: none;
  }

  .product-body.has-product-media .product-media-button:hover .product-media-frame img {
    transform: scale(1.018);
  }

  .product-body.has-product-media .product-media-copy strong {
    font-size: 17px;
  }
}

.size-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 2px 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.size-heading span {
  color: var(--navy-700);
}

.color-list {
  display: grid;
  gap: 9px;
}

.color-row {
  display: grid;
  gap: 12px;
  padding: 11px;
  border: 1px solid #e7edf4;
  border-radius: 14px;
  background: #fbfdff;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
}

.color-info {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.color-swatch {
  width: 31px;
  height: 31px;
  min-width: 31px;
  border: 3px solid white;
  border-radius: 10px;
  background: var(--swatch, #dbe4ee);
  box-shadow: 0 0 0 1px #dbe3ec, 0 5px 12px rgba(14, 41, 70, 0.08);
}

.color-info-text {
  min-width: 0;
}

.color-info strong,
.color-info small {
  display: block;
}

.color-info strong {
  overflow: hidden;
  color: var(--navy-800);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.color-info small {
  color: var(--muted-light);
  font-size: 9px;
}

.size-grid {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
}

.quantity-cell {
  position: relative;
  min-width: 0;
  min-height: 58px;
  padding: 8px 8px 7px;
  overflow: hidden;
  border: 1px solid #dfe8f1;
  border-radius: 11px;
  background: white;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quantity-cell:hover {
  z-index: 2;
  border-color: #b9cce0;
  box-shadow: 0 8px 20px rgba(14, 41, 70, 0.1);
  transform: translateY(-2px);
}

.quantity-cell .size-label {
  display: block;
  margin-bottom: 1px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
}

.quantity-cell strong {
  display: block;
  color: var(--navy-800);
  font-size: 18px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.quantity-cell .variant-code {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted-light);
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quantity-cell.stock-good {
  border-color: #caeadf;
  background: linear-gradient(180deg, #fff, var(--emerald-soft));
}

.quantity-cell.stock-good strong {
  color: #087b59;
}

.quantity-cell.stock-high {
  border-color: #cfe1f5;
  background: linear-gradient(180deg, #fff, var(--blue-soft));
}

.quantity-cell.stock-high strong {
  color: #155fa8;
}

.quantity-cell.stock-low {
  border-color: #f2d999;
  background: linear-gradient(180deg, #fff, var(--amber-soft));
}

.quantity-cell.stock-low strong {
  color: #b56d00;
}

.quantity-cell.stock-out {
  border-color: #f0ced2;
  background:
    repeating-linear-gradient(
      -45deg,
      #fff8f9,
      #fff8f9 7px,
      #fff1f3 7px,
      #fff1f3 14px
    );
}

.quantity-cell.stock-out strong {
  color: var(--danger);
}

.quantity-cell.qty-up,
.quantity-cell.qty-down {
  animation: quantity-flash 1.8s ease;
}

.quantity-cell.qty-up::after,
.quantity-cell.qty-down::after {
  position: absolute;
  top: 4px;
  right: 5px;
  display: grid;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: white;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  place-items: center;
}

.quantity-cell.qty-up::after {
  background: var(--emerald);
  content: "↑";
}

.quantity-cell.qty-down::after {
  background: var(--danger);
  content: "↓";
}

@keyframes quantity-flash {
  0%,
  100% {
    box-shadow: none;
  }
  30% {
    box-shadow: 0 0 0 5px rgba(34, 118, 210, 0.13);
  }
}

.product-empty {
  padding: 24px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.empty-state {
  padding: 64px 20px;
  text-align: center;
}

.empty-icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  border-radius: 20px;
  color: var(--muted);
  background: var(--surface-soft);
  place-items: center;
}

.empty-icon svg {
  width: 28px;
  height: 28px;
}

.empty-state h3 {
  margin: 0 0 6px;
  color: var(--navy-900);
  font-size: 19px;
}

.empty-state p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.secondary-button {
  border: 1px solid #d6e1ec;
  color: var(--navy-700);
  background: white;
  box-shadow: var(--shadow-sm);
}

.loading-state {
  padding: 8px 0;
}

.skeleton {
  min-height: 112px;
  border-radius: 17px;
  background: linear-gradient(90deg, #edf2f7 25%, #f8fafc 50%, #edf2f7 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

.skeleton-header {
  width: 33%;
  min-height: 22px;
  margin-bottom: 14px;
}

.skeleton-grid {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.footer {
  display: flex;
  align-items: center;
  padding: 24px 8px 0;
  color: var(--muted);
  justify-content: space-between;
}

.footer > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark-small {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 20px;
}

.footer strong,
.footer small {
  display: block;
}

.footer strong {
  color: var(--navy-800);
  font-size: 11px;
}

.footer small,
.footer p {
  margin: 0;
  font-size: 9px;
}

.toast-region {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: min(360px, calc(100vw - 40px));
  gap: 9px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: white;
  background: rgba(7, 23, 44, 0.94);
  box-shadow: var(--shadow-md);
  font-size: 12px;
  transform-origin: bottom right;
  animation: toast-in 0.25s ease both;
  backdrop-filter: blur(16px);
}

.toast i {
  width: 9px;
  height: 9px;
  min-width: 9px;
  margin-top: 4px;
  border-radius: 50%;
  background: #36d3a1;
}

.toast.toast-warning i {
  background: var(--amber);
}

.toast.toast-error i {
  background: #ff6175;
}

.lightbox-open {
  overflow: hidden;
}

.media-lightbox {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  padding: clamp(12px, 3vw, 30px);
  place-items: center;
}

.media-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 10, 28, 0.78);
  backdrop-filter: blur(14px);
  cursor: zoom-out;
}

.media-lightbox-card {
  position: relative;
  display: flex;
  width: min(760px, 100%);
  max-height: calc(100vh - clamp(24px, 6vw, 60px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 25px;
  background: white;
  box-shadow:
    0 36px 100px rgba(3, 8, 28, 0.46),
    0 0 0 1px rgba(139, 92, 246, 0.15);
  flex-direction: column;
  animation: lightbox-in 0.25s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.media-lightbox-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--pride-spectrum);
  content: "";
}

.media-lightbox-heading {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 14px 16px 12px 20px;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
}

.media-lightbox-heading span,
.media-lightbox-heading strong {
  display: block;
}

.media-lightbox-heading span {
  color: #7a45d1;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.media-lightbox-heading strong {
  margin-top: 2px;
  color: var(--navy-900);
  font-size: 18px;
}

.media-lightbox-close {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy-800);
  background: white;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  place-items: center;
}

.media-lightbox-close svg {
  width: 19px;
  height: 19px;
}

.media-lightbox-stage {
  min-height: 0;
  overflow: auto;
  padding: clamp(10px, 2vw, 18px);
  background:
    linear-gradient(45deg, rgba(139, 92, 246, 0.035) 25%, transparent 25% 75%, rgba(139, 92, 246, 0.035) 75%),
    linear-gradient(45deg, rgba(139, 92, 246, 0.035) 25%, white 25% 75%, rgba(139, 92, 246, 0.035) 75%);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
}

.media-lightbox-stage img {
  display: block;
  width: min(100%, 650px);
  height: auto;
  margin: 0 auto;
  border-radius: 15px;
  background: white;
  box-shadow: 0 18px 42px rgba(15, 24, 52, 0.14);
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
}

/* Pride theme: rich spectrum accents on a restrained professional base. */
body {
  background:
    radial-gradient(circle at 4% 4%, rgba(244, 63, 94, 0.11), transparent 24rem),
    radial-gradient(circle at 95% 12%, rgba(59, 130, 246, 0.13), transparent 28rem),
    radial-gradient(circle at 65% 92%, rgba(139, 92, 246, 0.09), transparent 30rem),
    var(--canvas);
}

body::before {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--pride-spectrum);
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.2);
  content: "";
  pointer-events: none;
}

.ambient-one {
  background: linear-gradient(135deg, var(--pride-red), var(--pride-orange));
}

.ambient-two {
  background: linear-gradient(135deg, var(--pride-blue), var(--pride-purple));
}

.auth-view {
  background:
    radial-gradient(circle at 8% 12%, rgba(244, 63, 94, 0.23), transparent 28rem),
    radial-gradient(circle at 88% 88%, rgba(59, 130, 246, 0.22), transparent 30rem),
    linear-gradient(135deg, #071426 0%, #101b36 46%, #241135 100%);
}

.auth-shell {
  position: relative;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 34px 90px rgba(7, 23, 44, 0.3),
    0 0 0 1px rgba(139, 92, 246, 0.12);
}

.auth-shell::before {
  position: absolute;
  z-index: 8;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--pride-spectrum);
  content: "";
}

.auth-visual {
  background:
    radial-gradient(circle at 54% 44%, rgba(255, 212, 71, 0.13), transparent 10rem),
    radial-gradient(circle at 36% 35%, rgba(244, 63, 94, 0.22), transparent 18rem),
    radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.24), transparent 18rem),
    linear-gradient(145deg, #08182e 0%, #15234a 52%, #35133d 100%);
}

.auth-visual::before {
  border-color: rgba(59, 130, 246, 0.18);
}

.auth-visual::after,
.orbit-two {
  border-color: rgba(139, 92, 246, 0.3);
}

.auth-cube {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.035)),
    linear-gradient(145deg, rgba(244, 63, 94, 0.17), rgba(59, 130, 246, 0.16)),
    rgba(7, 23, 44, 0.48);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.34),
    0 40px 70px rgba(0, 0, 0, 0.32),
    0 0 46px rgba(139, 92, 246, 0.16);
}

.auth-cube::before {
  position: absolute;
  inset: -2px;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(
    from 30deg,
    var(--pride-red),
    var(--pride-orange),
    var(--pride-yellow),
    var(--pride-green),
    var(--pride-blue),
    var(--pride-purple),
    var(--pride-red)
  );
  content: "";
  opacity: 0.8;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.cube-mark,
.auth-stat-bottom strong,
.eyebrow,
.hero h1 span {
  color: transparent;
  background: var(--pride-spectrum);
  background-clip: text;
  -webkit-background-clip: text;
}

.brand-mark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--pride-red) 0 20%,
    var(--pride-orange) 20% 36%,
    var(--pride-yellow) 36% 48%,
    var(--pride-green) 48% 64%,
    var(--pride-blue) 64% 81%,
    var(--pride-purple) 81% 100%
  );
  box-shadow:
    0 10px 24px rgba(86, 52, 160, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.brand-mark::after {
  position: absolute;
  top: -20%;
  left: -70%;
  width: 46%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
  content: "";
  transform: skewX(-20deg);
  animation: pride-shine 5.5s ease-in-out infinite;
}

.primary-button {
  background: linear-gradient(
    110deg,
    var(--pride-red),
    #d946ef 48%,
    var(--pride-blue)
  );
  background-size: 160% 100%;
  box-shadow: 0 13px 28px rgba(124, 58, 237, 0.24);
}

.primary-button:hover {
  background-position: 100% 0;
  box-shadow: 0 17px 34px rgba(124, 58, 237, 0.3);
}

.password-control input:focus,
.search-control:focus-within,
.select-control:focus-within {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow:
    0 0 0 4px rgba(139, 92, 246, 0.09),
    0 0 0 1px rgba(59, 130, 246, 0.08);
}

.topbar {
  border-color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 10px 32px rgba(27, 26, 71, 0.08),
    0 0 0 1px rgba(139, 92, 246, 0.04);
}

.topbar::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 3px;
  border-radius: 99px;
  background: var(--pride-spectrum);
  content: "";
  opacity: 0.82;
}

.sync-pill {
  border-color: rgba(34, 181, 115, 0.22);
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(110deg, rgba(34, 181, 115, 0.2), rgba(59, 130, 246, 0.2)) border-box;
}

.avatar-button {
  background: linear-gradient(145deg, #142545, #211435);
  box-shadow:
    0 0 0 2px white,
    0 0 0 4px rgba(139, 92, 246, 0.32);
}

.hero {
  background:
    radial-gradient(circle at 88% 24%, rgba(139, 92, 246, 0.34), transparent 18rem),
    radial-gradient(circle at 74% 88%, rgba(59, 130, 246, 0.23), transparent 20rem),
    radial-gradient(circle at 42% 115%, rgba(34, 181, 115, 0.16), transparent 18rem),
    linear-gradient(112deg, #061629 0%, #102443 54%, #34133e 100%);
  box-shadow:
    0 20px 50px rgba(26, 24, 68, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero::after {
  width: 520px;
  height: 520px;
  background: conic-gradient(
    from 40deg,
    rgba(244, 63, 94, 0.3),
    rgba(255, 138, 52, 0.18),
    rgba(255, 212, 71, 0.12),
    rgba(34, 181, 115, 0.17),
    rgba(59, 130, 246, 0.24),
    rgba(139, 92, 246, 0.3),
    rgba(244, 63, 94, 0.3)
  );
  opacity: 0.6;
  filter: blur(36px);
}

.hero-kicker {
  color: rgba(244, 240, 255, 0.76);
}

.hero-kicker-dot {
  background: conic-gradient(
    var(--pride-red),
    var(--pride-yellow),
    var(--pride-green),
    var(--pride-blue),
    var(--pride-purple),
    var(--pride-red)
  );
  box-shadow: 0 0 0 5px rgba(139, 92, 246, 0.15);
}

.stock-ring {
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(145deg, rgba(244, 63, 94, 0.1), rgba(59, 130, 246, 0.08)),
    rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 0 0 14px rgba(255, 255, 255, 0.025),
    0 30px 70px rgba(0, 0, 0, 0.28),
    0 0 52px rgba(139, 92, 246, 0.14);
}

.stock-ring::before {
  padding: 2px;
  border: 0;
  background: conic-gradient(
    from 0deg,
    var(--pride-red),
    var(--pride-orange),
    var(--pride-yellow),
    var(--pride-green),
    var(--pride-blue),
    var(--pride-purple),
    var(--pride-red)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.floating-tag {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(13, 16, 48, 0.72);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.22),
    0 0 18px rgba(139, 92, 246, 0.11);
}

.stat-card::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 3px;
  border-radius: 0 0 99px 99px;
  background: var(--stat-accent, var(--pride-spectrum));
  content: "";
  opacity: 0.88;
}

.stat-total {
  --stat-accent: linear-gradient(90deg, var(--pride-blue), var(--pride-purple));
}

.stat-products {
  --stat-accent: linear-gradient(90deg, var(--pride-purple), var(--pride-red));
}

.stat-low {
  --stat-accent: linear-gradient(90deg, var(--pride-yellow), var(--pride-orange));
}

.stat-out {
  --stat-accent: linear-gradient(90deg, var(--pride-red), var(--pride-purple));
}

.stat-icon {
  color: white !important;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.stat-total .stat-icon {
  background: linear-gradient(135deg, var(--pride-blue), var(--pride-purple));
}

.stat-products .stat-icon {
  background: linear-gradient(135deg, var(--pride-purple), #d946ef);
}

.stat-low .stat-icon {
  background: linear-gradient(135deg, #f5b21a, var(--pride-orange));
}

.stat-out .stat-icon {
  background: linear-gradient(135deg, var(--pride-red), #c026d3);
}

.stat-card:hover .stat-icon,
.stat-card.is-active .stat-icon {
  box-shadow: 0 10px 22px rgba(76, 45, 145, 0.2);
  transform: translateY(-2px) rotate(-3deg) scale(1.04);
}

.inventory-section {
  position: relative;
  border-color: rgba(139, 92, 246, 0.09);
  box-shadow:
    0 8px 28px rgba(23, 30, 70, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.7);
}

.inventory-section::before {
  position: absolute;
  top: 0;
  right: 4%;
  left: 4%;
  height: 4px;
  border-radius: 0 0 99px 99px;
  background: var(--pride-spectrum);
  content: "";
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
}

.text-button svg,
.secondary-button svg {
  width: 17px;
  height: 17px;
}

.text-button:hover {
  border-color: rgba(139, 92, 246, 0.16);
  color: #6d3bd1;
  background: linear-gradient(135deg, #fff0f4, #f3efff);
}

.select-control .control-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 0;
  color: #766a93;
}

.control-label svg {
  width: 12px;
  height: 12px;
  color: var(--pride-purple);
}

.product-tab.active {
  border-color: rgba(139, 92, 246, 0.72);
  background: linear-gradient(135deg, #132744, #2c1942);
  box-shadow:
    0 8px 18px rgba(36, 29, 78, 0.18),
    0 0 0 2px rgba(139, 92, 246, 0.1);
}

.legend {
  border-color: rgba(139, 92, 246, 0.1);
  background: linear-gradient(90deg, #fbfdff, #fcfaff);
}

.product-panel[open] {
  border-color: rgba(139, 92, 246, 0.2);
  box-shadow:
    0 13px 32px rgba(27, 31, 76, 0.09),
    0 0 0 1px rgba(59, 130, 246, 0.03);
}

.product-code-mark {
  background: linear-gradient(145deg, #19335b, #5b2d85);
}

.product-panel:nth-child(6n + 2) .product-code-mark {
  background: linear-gradient(145deg, #1c4f6d, #176b64);
}

.product-panel:nth-child(6n + 3) .product-code-mark {
  background: linear-gradient(145deg, #74345f, #d04b66);
}

.product-panel:nth-child(6n + 4) .product-code-mark {
  background: linear-gradient(145deg, #5a3d91, #315fba);
}

.product-panel:nth-child(6n + 5) .product-code-mark {
  background: linear-gradient(145deg, #9a5a20, #d87837);
}

.product-panel:nth-child(6n + 6) .product-code-mark {
  background: linear-gradient(145deg, #24455f, #496b7c);
}

.empty-icon {
  color: white;
  background: linear-gradient(135deg, var(--pride-purple), var(--pride-blue));
  box-shadow: 0 12px 28px rgba(94, 62, 180, 0.2);
}

.secondary-button {
  border: 1px solid rgba(139, 92, 246, 0.18);
  color: #6035bd;
  background: linear-gradient(135deg, #fff, #f7f3ff);
}

@keyframes pride-shine {
  0%,
  72%,
  100% {
    left: -70%;
  }
  86% {
    left: 130%;
  }
}

@keyframes surface-rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes panel-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes glow-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(28px, -18px, 0) scale(1.12);
  }
}

@keyframes graphic-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

@keyframes ring-orbit {
  to {
    transform: rotate(384deg);
  }
}

@keyframes tag-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-summary {
    grid-template-columns: auto minmax(120px, 0.5fr) minmax(220px, 1fr) auto;
  }

  .color-row {
    grid-template-columns: 130px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .auth-shell {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .auth-visual {
    display: none;
  }

  .auth-card {
    min-height: min(680px, calc(100vh - 36px));
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-graphic {
    position: absolute;
    right: -72px;
    bottom: -70px;
    width: 300px;
    opacity: 0.32;
    pointer-events: none;
  }

  .hero-copy {
    position: relative;
    z-index: 3;
    max-width: 82%;
  }

  .toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .search-control {
    grid-column: 1 / -1;
  }

  .product-summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .product-summary-metrics {
    display: none;
  }
}

@media (max-width: 680px) {
  body {
    background: #f1f5f9;
  }

  .auth-view {
    padding: 12px;
  }

  .auth-shell {
    border-radius: 25px;
  }

  .auth-card {
    min-height: calc(100vh - 24px);
    padding: 30px 24px;
  }

  .brand-auth {
    margin-bottom: 52px;
  }

  .dashboard {
    width: min(100% - 20px, 1540px);
    padding-top: max(10px, env(safe-area-inset-top));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .topbar {
    position: sticky;
    top: max(8px, env(safe-area-inset-top));
    min-height: 66px;
    margin-bottom: 10px;
    padding: 10px 11px 10px 14px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(14, 41, 70, 0.11);
  }

  .topbar .brand {
    gap: 9px;
  }

  .topbar-actions {
    gap: 6px;
  }

  .topbar .brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 12px;
    font-size: 23px;
  }

  .topbar .brand strong {
    font-size: 14px;
  }

  .topbar .brand small {
    display: none;
  }

  .sync-pill {
    width: 64px;
    min-width: auto;
    min-height: 44px;
    padding: 5px 9px;
    gap: 7px;
    justify-content: center;
  }

  .sync-pill > span:last-child {
    display: none;
  }

  .sync-mobile-label {
    display: inline;
  }

  .sync-pill.is-stale .sync-mobile-label {
    color: var(--amber);
  }

  .sync-pill.is-offline .sync-mobile-label {
    color: var(--danger);
  }

  .icon-button,
  .avatar-button {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .hero {
    min-height: 338px;
    margin-bottom: 10px;
    padding: 27px 22px 26px;
    border-radius: 24px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    max-width: 320px;
    font-size: 38px;
  }

  .hero-copy > p {
    max-width: 100%;
    margin: 14px 0 20px;
    font-size: 13px;
  }

  .hero-meta {
    width: calc(100% - 118px);
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-meta span {
    gap: 7px;
    font-size: 10px;
  }

  .hero-meta svg {
    width: 16px;
    height: 16px;
  }

  .hero-graphic {
    right: 12px;
    bottom: 13px;
    width: 110px;
    min-height: 110px;
    opacity: 0.82;
  }

  .graphic-grid,
  .floating-tag {
    display: none;
  }

  .stock-ring {
    width: 108px;
    height: 108px;
    box-shadow:
      inset 0 0 0 8px rgba(255, 255, 255, 0.025),
      0 18px 38px rgba(0, 0, 0, 0.24);
  }

  .stock-ring::before {
    inset: -7px;
  }

  .ring-kicker {
    font-size: 6px;
  }

  .stock-ring strong {
    font-size: 25px;
  }

  .stock-ring small {
    font-size: 7px;
  }

  .stats-grid {
    gap: 9px;
    margin-bottom: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card {
    min-height: 128px;
    padding: 15px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat-card:active {
    transform: scale(0.975);
  }

  .stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .stat-icon svg {
    width: 19px;
    height: 19px;
  }

  .stat-content strong {
    font-size: 26px;
  }

  .stat-content small {
    font-size: 10px;
  }

  .stat-trend {
    display: none;
  }

  .inventory-section {
    padding: 20px 13px;
    border-radius: 22px;
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 18px;
    flex-direction: column;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .view-actions {
    width: 100%;
  }

  .text-button {
    min-height: 44px;
    flex: 1;
  }

  .toolbar {
    gap: 9px;
    grid-template-columns: 1fr;
  }

  .search-control {
    grid-column: auto;
  }

  .search-control kbd {
    display: none;
  }

  .product-tabs {
    position: sticky;
    z-index: 8;
    top: 84px;
    margin: 0 -4px 14px;
    padding: 8px 4px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98),
      rgba(255, 255, 255, 0.92)
    );
    box-shadow: 0 8px 18px rgba(14, 41, 70, 0.05);
    backdrop-filter: blur(14px);
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      black 12px,
      black calc(100% - 12px),
      transparent
    );
  }

  .product-tab {
    min-height: 44px;
  }

  .legend {
    gap: 9px 14px;
    padding: 9px 11px;
  }

  .legend .legend-note {
    display: none;
  }

  .product-summary {
    min-height: 80px;
    padding: 13px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 11px;
  }

  .product-code-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 10px;
  }

  .product-thumb {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .product-title strong {
    font-size: 16px;
  }

  .product-title small {
    font-size: 9px;
  }

  .product-total {
    min-width: auto;
  }

  .product-total small {
    display: none;
  }

  .product-total strong {
    font-size: 18px;
  }

  .chevron {
    width: 24px;
    height: 24px;
    margin-left: 3px;
  }

  .product-body {
    padding: 0 10px 12px;
  }

  .product-media-button {
    padding: 9px;
    border-radius: 15px;
    grid-template-columns: 82px minmax(0, 1fr) 38px;
    gap: 10px;
  }

  .product-media-frame {
    width: 82px;
    height: 105px;
    border-radius: 11px;
  }

  .product-media-copy strong {
    margin-block: 3px;
    font-size: 15px;
  }

  .product-media-copy em {
    font-size: 9px;
  }

  .product-media-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .color-row {
    gap: 9px;
    padding: 10px;
    grid-template-columns: 1fr;
  }

  .color-info {
    padding-bottom: 2px;
  }

  .color-swatch {
    width: 27px;
    height: 27px;
    min-width: 27px;
    border-radius: 9px;
  }

  .size-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .quantity-cell {
    min-height: 59px;
    padding: 7px 5px;
  }

  .quantity-cell strong {
    font-size: 18px;
  }

  .quantity-cell .variant-code {
    display: none;
  }

  .quantity-cell:active {
    transform: scale(0.965);
  }

  .footer {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }

  .media-lightbox {
    padding: 8px;
  }

  .media-lightbox-card {
    max-height: calc(100vh - 16px);
    border-radius: 20px;
  }

  .media-lightbox-heading {
    min-height: 64px;
    padding: 10px 10px 9px 15px;
  }

  .media-lightbox-stage {
    padding: 8px;
  }

  .skeleton-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .dashboard {
    width: calc(100% - 12px);
  }

  .topbar {
    padding-right: 8px;
    padding-left: 10px;
  }

  .topbar .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 21px;
  }

  .topbar .brand strong {
    font-size: 12px;
  }

  .sync-pill {
    width: 58px;
    padding-inline: 7px;
  }

  .icon-button,
  .avatar-button {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: 334px;
    padding-inline: 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .stat-card {
    min-height: 124px;
    padding: 13px;
  }

  .stat-content strong {
    font-size: 24px;
  }

  .inventory-section {
    padding-inline: 11px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .quantity-cell {
    padding-inline: 3px;
  }
}

/* Readability pass: larger type for inventory-heavy screens. */
body {
  font-size: 16px;
}

.brand small {
  font-size: 10px;
}

.sync-pill small {
  font-size: 11px;
}

.sync-pill strong {
  font-size: 12px;
}

.hero-kicker {
  font-size: 12px;
}

.hero-copy > p {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
}

.hero-meta span {
  font-size: 13px;
}

.ring-kicker {
  font-size: 10px;
}

.stock-ring small {
  font-size: 11px;
}

.stat-content small {
  font-size: 14px;
}

.stat-content em {
  font-size: 12px;
}

.stat-trend {
  font-size: 10px;
}

.eyebrow {
  font-size: 11px;
}

.section-heading p {
  font-size: 14px;
}

.text-button {
  font-size: 14px;
}

.search-control input,
.select-control select {
  font-size: 15px;
}

.select-control .control-label {
  font-size: 11px;
}

.product-tab {
  font-size: 14px;
}

.product-tab span {
  font-size: 10px;
}

.legend {
  font-size: 12px;
}

.product-summary {
  min-height: 100px;
}

.product-title strong {
  font-size: 21px;
}

.product-title small {
  font-size: 13px;
}

.mini-metric small {
  font-size: 10px;
}

.mini-metric strong {
  font-size: 15px;
}

.product-total small {
  font-size: 11px;
}

.product-total strong {
  font-size: 28px;
}

.product-media-copy small {
  font-size: 11px;
}

.product-media-copy em {
  font-size: 13px;
}

.size-heading {
  font-size: 12px;
}

.color-row {
  padding: 14px;
}

.color-info strong {
  font-size: 15px;
}

.color-info small {
  font-size: 11px;
}

.quantity-cell {
  min-height: 74px;
  padding-block: 10px;
}

.quantity-cell .size-label {
  font-size: 11px;
}

.quantity-cell strong {
  font-size: 22px;
}

.quantity-cell .variant-code {
  font-size: 9px;
}

.footer strong {
  font-size: 13px;
}

.footer small,
.footer p {
  font-size: 11px;
}

.media-lightbox-heading span {
  font-size: 10px;
}

.media-lightbox-heading strong {
  font-size: 20px;
}

@media (min-width: 1101px) {
  .product-body.has-product-media .product-media-copy strong {
    font-size: 19px;
  }
}

@media (max-width: 680px) {
  .topbar .brand strong {
    font-size: 15px;
  }

  .sync-mobile-label {
    font-size: 11px;
  }

  .hero {
    min-height: 362px;
  }

  .hero-kicker {
    font-size: 11px;
  }

  .hero-copy > p {
    font-size: 15px;
    line-height: 1.62;
  }

  .hero-meta span {
    font-size: 12px;
  }

  .ring-kicker {
    font-size: 7px;
  }

  .stock-ring strong {
    font-size: 27px;
  }

  .stock-ring small {
    font-size: 8px;
  }

  .stat-card {
    min-height: 142px;
  }

  .stat-content small {
    font-size: 12px;
  }

  .stat-content strong {
    font-size: 28px;
  }

  .stat-content em {
    font-size: 11px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .section-heading p {
    font-size: 13px;
  }

  .search-control input,
  .select-control select {
    font-size: 16px;
  }

  .select-control .control-label {
    font-size: 11px;
  }

  .product-tab {
    font-size: 13px;
  }

  .product-tab span {
    font-size: 10px;
  }

  .legend {
    font-size: 12px;
  }

  .product-summary {
    min-height: 92px;
  }

  .product-title strong {
    font-size: 18px;
  }

  .product-title small {
    font-size: 11px;
  }

  .product-total strong {
    font-size: 21px;
  }

  .product-media-copy small {
    font-size: 10px;
  }

  .product-media-copy strong {
    font-size: 17px;
  }

  .product-media-copy em {
    font-size: 11px;
  }

  .size-heading {
    font-size: 12px;
  }

  .color-row {
    padding: 12px;
  }

  .color-info strong {
    font-size: 16px;
  }

  .color-info small {
    font-size: 12px;
  }

  .quantity-cell {
    min-height: 70px;
    padding-block: 9px;
  }

  .quantity-cell .size-label {
    font-size: 10px;
  }

  .quantity-cell strong {
    font-size: 22px;
  }

  .footer strong {
    font-size: 13px;
  }

  .footer small,
  .footer p {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .section-heading h2 {
    font-size: 28px;
  }

  .stat-content strong {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
