@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Orbitron:wght@600;700;800&family=Manrope:wght@400;500;700;800&display=swap');

:root {
  --bg: #090e13;
  --ink: #ecf3ff;
  --ink-soft: #8ca0bb;
  --line: rgba(158, 180, 207, 0.24);
  --surface: rgba(14, 20, 30, 0.84);
  --surface-2: rgba(20, 28, 41, 0.85);
  --accent: #ff6c2f;
  --accent-2: #1ef5c8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 108, 47, 0.18), transparent 26%),
    radial-gradient(circle at 88% 92%, rgba(30, 245, 200, 0.16), transparent 24%),
    linear-gradient(150deg, #05080d 0%, #0a1018 45%, #0f1722 100%);
  padding: 1.25rem;
}

.site-footer {
  margin-top: 30px;
  margin-bottom: 8px;
  text-align: center;
}

.site-footer a {
  color: #000000;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding-bottom: 0.06rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #000000;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.18;
  z-index: -1;
}

.ambient-1 {
  width: 380px;
  height: 380px;
  background: var(--accent);
  top: -110px;
  left: -90px;
}

.ambient-2 {
  width: 360px;
  height: 360px;
  background: var(--accent-2);
  bottom: -110px;
  right: -90px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 0.35rem;
  border: 1px solid #c9d2df;
  cursor: pointer;
}

.brand-kicker {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 800;
}

h1,
h2,
h3,
strong {
  margin: 0;
}

h1,
h2 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.3rem, 3vw, 2rem);
}

h2 {
  font-size: 1rem;
}

.layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.card {
  grid-column: 1 / -1;
  background: linear-gradient(155deg, rgba(27, 38, 54, 0.78), rgba(9, 14, 22, 0.88));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card {
  overflow: hidden;
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 108, 47, 0.07), rgba(30, 245, 200, 0.07));
  pointer-events: none;
}

.hero-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pulse-audit-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.pulse-audit-mode-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pulse-audit-toggle-btn {
  min-height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding-inline: 0.9rem;
  font-weight: 800;
}

.pulse-audit-toggle-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid currentColor;
  position: relative;
  display: inline-block;
}

.pulse-audit-toggle-icon::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  right: -6px;
  bottom: -4px;
  transform: rotate(45deg);
}

.pulse-audit-toggle-btn[aria-pressed='true'] {
  border-color: rgba(30, 245, 200, 0.62);
  box-shadow: 0 0 0 1px rgba(30, 245, 200, 0.34) inset;
  background: linear-gradient(155deg, rgba(6, 79, 76, 0.9), rgba(7, 48, 62, 0.9));
}

.pulse-channel-bar {
  display: grid;
  gap: 0.42rem;
  margin-bottom: 0.68rem;
}

.pulse-channel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.pulse-channel-head strong {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pulse-channel-chips {
  margin-top: 0;
}

.range-bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.95rem;
}

.range-pills {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
}

.range-custom {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.range-custom input {
  min-width: 145px;
}

.compare-badge {
  border: 1px solid var(--line);
  background: rgba(11, 18, 28, 0.8);
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.muted {
  color: var(--ink-soft);
  margin: 0;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 0.7rem;
}

.kpi-tile {
  position: relative;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 17, 26, 0.55);
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.kpi-tile h3 {
  color: var(--ink-soft);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kpi-value {
  margin-top: 0.35rem;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.28rem, 2.9vw, 1.95rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.kpi-audit-badge {
  position: absolute;
  top: 0.62rem;
  right: 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(95, 134, 176, 0.42);
  background: rgba(7, 16, 28, 0.9);
  color: #9bb2ce;
  padding: 0.18rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 150ms ease, transform 150ms ease, border-color 150ms ease, color 150ms ease, background 150ms ease;
  pointer-events: none;
}

.hero-card.audit-mode-active .kpi-tile {
  cursor: pointer;
}

.hero-card.audit-mode-active .kpi-audit-badge {
  opacity: 1;
  transform: translateY(0);
}

.hero-card.audit-mode-active .kpi-tile.pulse-audit-selected {
  border-color: rgba(255, 136, 56, 0.88);
  box-shadow: 0 0 0 1px rgba(255, 160, 95, 0.32) inset, 0 0 20px rgba(255, 125, 43, 0.2);
}

.hero-card.audit-mode-active .kpi-tile.pulse-audit-selected .kpi-audit-badge {
  border-color: rgba(255, 160, 95, 0.6);
  color: #ffe3cd;
  background: rgba(82, 37, 17, 0.88);
}

.pulse-audit-panel {
  margin-top: 0.82rem;
  border: 1px solid rgba(88, 128, 173, 0.5);
  border-radius: 16px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(55, 109, 167, 0.16), transparent 58%),
    linear-gradient(150deg, rgba(7, 15, 29, 0.94), rgba(4, 10, 20, 0.96));
  box-shadow: inset 0 0 0 1px rgba(11, 39, 74, 0.45);
  overflow: hidden;
}

.pulse-audit-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.72rem;
  border-bottom: 1px solid rgba(75, 112, 154, 0.4);
}

.pulse-audit-head-copy {
  display: grid;
  gap: 0.34rem;
}

.pulse-audit-title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.pulse-audit-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 139, 66, 0.62);
  background: rgba(66, 28, 13, 0.76);
  color: #ffc9a0;
  padding: 0.21rem 0.64rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#pulseAuditMetricTitle {
  font-size: 1.18rem;
  letter-spacing: 0.01em;
}

.pulse-audit-head-copy .muted {
  font-size: 0.86rem;
  color: #a9bdd8;
}

.pulse-audit-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.44rem;
  flex-wrap: wrap;
}

.pulse-audit-view-btn,
.pulse-audit-export-btn {
  min-height: 38px;
  border-radius: 11px;
  font-size: 0.84rem;
  font-weight: 800;
  padding-inline: 0.78rem;
}

.pulse-audit-view-btn.active {
  border-color: rgba(30, 245, 200, 0.62);
  box-shadow: 0 0 0 1px rgba(30, 245, 200, 0.3) inset;
  background: rgba(9, 58, 62, 0.74);
}

.pulse-audit-export-btn {
  border-color: rgba(30, 245, 200, 0.64);
}

.pulse-audit-body {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.6fr);
  gap: 0.7rem;
  padding: 0.72rem;
}

.pulse-audit-summary {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

.pulse-audit-summary-card,
.pulse-audit-breakdown-card {
  border: 1px solid rgba(82, 124, 168, 0.42);
  border-radius: 12px;
  background: rgba(8, 16, 30, 0.8);
  padding: 0.62rem;
}

.pulse-audit-summary-card small,
.pulse-audit-breakdown-head small {
  color: #90a8c7;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 800;
}

.pulse-audit-summary-card strong {
  display: block;
  margin-top: 0.26rem;
  font-size: 1.76rem;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
}

.pulse-audit-summary-card span {
  display: block;
  margin-top: 0.24rem;
  color: #9db4d2;
  font-size: 0.82rem;
}

.pulse-audit-breakdown-card {
  grid-column: 1 / -1;
}

.pulse-audit-breakdown-rows {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.42rem;
}

.pulse-audit-breakdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 0.5rem;
}

.pulse-audit-breakdown-row > span {
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #d9e8fb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pulse-audit-breakdown-track {
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(37, 60, 89, 0.86);
  overflow: hidden;
}

.pulse-audit-breakdown-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(30, 245, 200, 0.85), rgba(255, 157, 74, 0.9));
}

.pulse-audit-breakdown-value {
  font-size: 0.88rem;
  font-weight: 800;
  color: #f4f8ff;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pulse-audit-table-shell {
  min-width: 0;
  display: grid;
  gap: 0.52rem;
}

.pulse-audit-table-wrap {
  margin-top: 0;
}

.pulse-audit-table-wrap table {
  min-width: 760px;
}

.pulse-audit-table-wrap th {
  font-size: 0.72rem;
  letter-spacing: 0.07em;
}

.pulse-audit-table-wrap td {
  font-size: 0.88rem;
}

.pulse-audit-product-link {
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.pulse-audit-product-link:hover,
.pulse-audit-product-link:focus-visible {
  color: #89ecff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pulse-audit-right {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pulse-audit-footer {
  border: 1px solid rgba(82, 124, 168, 0.42);
  border-radius: 11px;
  background: rgba(8, 16, 30, 0.86);
  padding: 0.52rem 0.62rem;
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.pulse-audit-footer span {
  color: #a6bbd6;
  font-size: 0.84rem;
  font-weight: 700;
}

.pulse-audit-visual-shell {
  min-width: 0;
  display: grid;
  gap: 0.62rem;
}

.pulse-audit-visual-shell[hidden],
.pulse-audit-table-shell[hidden] {
  display: none;
}

.paddle-mix-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.38fr);
  gap: 0.62rem;
  min-width: 0;
}

.paddle-mix-feature-card,
.paddle-mix-leader-card,
.paddle-mix-date-card,
.paddle-mix-empty {
  border: 1px solid rgba(82, 124, 168, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(110% 120% at 10% 0%, rgba(30, 245, 200, 0.12), transparent 44%),
    linear-gradient(155deg, rgba(8, 18, 32, 0.92), rgba(4, 11, 22, 0.96));
  box-shadow: inset 0 0 0 1px rgba(16, 45, 76, 0.34);
}

.paddle-mix-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 272px;
  padding: 0.74rem;
  display: grid;
  grid-template-rows: auto minmax(120px, 1fr) auto;
  gap: 0.52rem;
}

.paddle-mix-feature-card::after {
  content: '';
  position: absolute;
  inset: auto -20% -35% 20%;
  height: 58%;
  background: radial-gradient(circle, rgba(255, 138, 58, 0.26), transparent 64%);
  pointer-events: none;
}

.paddle-mix-feature-copy,
.paddle-mix-share-row,
.paddle-mix-product-art {
  position: relative;
  z-index: 1;
}

.paddle-mix-kicker {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(255, 145, 75, 0.7);
  border-radius: 999px;
  background: rgba(79, 31, 13, 0.78);
  color: #ffd1ad;
  padding: 0.18rem 0.5rem;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.paddle-mix-feature-card h4,
.paddle-mix-leader-card h4,
.paddle-mix-date-card h4 {
  margin: 0.42rem 0 0;
  color: #f4f8ff;
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.paddle-mix-feature-stats {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.38rem;
}

.paddle-mix-feature-stats span {
  color: #a9bdd8;
  font-size: 0.86rem;
}

.paddle-mix-feature-stats strong {
  display: block;
  color: #f7fbff;
  font-size: 1.7rem;
  line-height: 1.02;
  font-variant-numeric: tabular-nums;
}

.paddle-mix-product-art {
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  width: min(150px, 78%);
  aspect-ratio: 1 / 1.25;
  border-radius: 8px;
  background: radial-gradient(circle at 50% 35%, rgba(72, 115, 158, 0.42), rgba(4, 12, 23, 0.18) 68%);
}

.paddle-mix-product-art img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45));
}

.paddle-mix-share-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.28rem 0.5rem;
  align-items: center;
}

.paddle-mix-share-track {
  height: 1.25rem;
  border-radius: 8px;
  background: rgba(39, 62, 91, 0.76);
  overflow: hidden;
}

.paddle-mix-share-track span {
  display: block;
  height: 100%;
  width: var(--p);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(30, 245, 200, 0.9), rgba(255, 143, 55, 0.95));
}

.paddle-mix-share-row strong {
  color: #f8fbff;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.paddle-mix-share-row > span {
  grid-column: 1 / -1;
  color: #9eb4d0;
  font-size: 0.78rem;
}

.paddle-mix-leader-card,
.paddle-mix-date-card,
.paddle-mix-empty {
  padding: 0.74rem;
  min-width: 0;
}

.paddle-mix-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.68rem;
}

.paddle-mix-card-head h4 {
  margin: 0;
}

.paddle-mix-card-head span {
  display: block;
  margin-top: 0.2rem;
  color: #9eb4d0;
  font-size: 0.78rem;
}

.paddle-mix-mode-toggle {
  display: inline-flex;
  border: 1px solid rgba(82, 124, 168, 0.5);
  border-radius: 999px;
  background: rgba(4, 12, 23, 0.76);
  overflow: hidden;
  flex-shrink: 0;
}

.paddle-mix-mode-btn {
  border: 0;
  border-left: 1px solid rgba(82, 124, 168, 0.36);
  background: transparent;
  color: #dbe8f9;
  min-height: 30px;
  min-width: 78px;
  padding: 0 0.72rem;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.paddle-mix-mode-btn:first-child {
  border-left: 0;
}

.paddle-mix-mode-btn.active {
  background: linear-gradient(165deg, rgba(8, 86, 83, 0.82), rgba(5, 45, 57, 0.94));
  color: #f6fffb;
  box-shadow: 0 0 0 1px rgba(30, 245, 200, 0.32) inset;
}

.paddle-mix-rank-head,
.paddle-mix-rank-row {
  display: grid;
  grid-template-columns: 1.7rem minmax(105px, 1fr) minmax(96px, 1.35fr) 3rem 5.4rem 4.4rem;
  gap: 0.45rem;
  align-items: center;
}

.paddle-mix-rank-head {
  color: #86a0bf;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 0.18rem 0.38rem;
}

.paddle-mix-rank-list {
  display: grid;
  gap: 0.3rem;
}

.paddle-mix-rank-row {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #dce9fb;
  font: inherit;
  padding: 0.34rem 0.28rem;
  cursor: pointer;
  text-align: left;
}

.paddle-mix-rank-row:hover,
.paddle-mix-rank-row:focus-visible,
.paddle-mix-rank-row.active {
  border-color: rgba(30, 245, 200, 0.46);
  background: rgba(9, 39, 55, 0.54);
  outline: none;
}

.paddle-mix-rank-num,
.paddle-mix-row-qty,
.paddle-mix-row-revenue,
.paddle-mix-row-avg {
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.paddle-mix-rank-num {
  text-align: center;
  color: #f7fbff;
}

.paddle-mix-model-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
  color: #f0f6ff;
}

.paddle-mix-bar-track {
  height: 0.76rem;
  border-radius: 999px;
  background: rgba(54, 69, 91, 0.82);
  overflow: hidden;
}

.paddle-mix-bar-fill,
.paddle-mix-date-segment {
  display: block;
  height: 100%;
  width: var(--p);
}

.paddle-mix-bar-fill {
  border-radius: inherit;
}

.paddle-mix-row-revenue,
.paddle-mix-row-avg {
  color: #b7c8de;
  font-size: 0.78rem;
}

.paddle-mix-color-teal {
  background: linear-gradient(90deg, #39dfc0, #a7d982);
}

.paddle-mix-color-orange {
  background: linear-gradient(90deg, #3ec8ce, #ff9848);
}

.paddle-mix-color-blue {
  background: linear-gradient(90deg, #56a9ff, #6cc8ff);
}

.paddle-mix-color-violet {
  background: linear-gradient(90deg, #9a75e8, #c884f2);
}

.paddle-mix-color-rose {
  background: linear-gradient(90deg, #bd77c4, #f189b0);
}

.paddle-mix-color-slate {
  background: linear-gradient(90deg, #7c8796, #a1aab7);
}

.paddle-mix-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.38rem 0.62rem;
  max-width: 62%;
}

.paddle-mix-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin: 0;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.paddle-mix-dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  flex: 0 0 auto;
}

.paddle-mix-date-list {
  display: grid;
  gap: 0.5rem;
}

.paddle-mix-date-row {
  position: relative;
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr) 3rem;
  gap: 0.55rem;
  align-items: center;
}

.paddle-mix-date-row strong,
.paddle-mix-date-row > span {
  color: #edf5ff;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.paddle-mix-date-row > span {
  text-align: right;
  color: #aac0dc;
}

.paddle-mix-date-track {
  height: 1.72rem;
  border-radius: 8px;
  background: rgba(48, 61, 82, 0.68);
  overflow: hidden;
  position: relative;
}

.paddle-mix-date-stack {
  width: var(--day-width);
  height: 100%;
  display: flex;
  border-radius: inherit;
  overflow: hidden;
  position: relative;
}

.paddle-mix-date-segment {
  min-width: 1.35rem;
  display: grid;
  place-items: center;
  position: relative;
  cursor: pointer;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  outline: none;
  isolation: isolate;
}

.paddle-mix-date-segment:first-child {
  border-radius: 8px 0 0 8px;
}

.paddle-mix-date-segment:last-child {
  border-radius: 0 8px 8px 0;
}

.paddle-mix-date-segment:only-child {
  border-radius: 8px;
}

.paddle-mix-date-segment:hover,
.paddle-mix-date-segment:focus-visible,
.paddle-mix-date-segment.tooltip-active,
.paddle-mix-date-segment.expanded {
  z-index: 20;
  filter: brightness(1.08) saturate(1.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    0 0 0 2px rgba(255, 255, 255, 0.14);
}

.paddle-mix-date-segment.tooltip-active::after,
.paddle-mix-date-segment.expanded::after {
  content: '';
  position: absolute;
  inset: -0.24rem 0;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: inherit;
  pointer-events: none;
}

.paddle-mix-date-count {
  position: relative;
  z-index: 1;
  line-height: 1;
  padding-inline: 0.16rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.paddle-mix-floating-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1200;
  width: 23rem;
  max-width: min(23rem, calc(100vw - 1rem));
  display: grid;
  gap: 0.54rem;
  padding: 0.86rem 0.9rem 0.96rem;
  border: 1px solid rgba(143, 219, 203, 0.7);
  border-radius: 8px;
  background:
    radial-gradient(90% 120% at 16% 0%, rgba(50, 235, 199, 0.22), transparent 50%),
    linear-gradient(180deg, rgba(17, 34, 53, 0.99), rgba(5, 13, 26, 0.99)),
    #08111f;
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(30, 245, 200, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #f5f9ff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  white-space: normal;
}

.paddle-mix-floating-tooltip.show {
  opacity: 1;
  visibility: visible;
}

.paddle-mix-floating-tooltip::after {
  content: '';
  position: absolute;
  left: var(--tooltip-arrow-x, 50%);
  width: 0.86rem;
  height: 0.86rem;
  background: #07101d;
}

.paddle-mix-floating-tooltip[data-placement='top']::after {
  top: 100%;
  transform: translate(-50%, -50%) rotate(45deg);
  border-right: 1px solid rgba(150, 189, 226, 0.42);
  border-bottom: 1px solid rgba(150, 189, 226, 0.42);
}

.paddle-mix-floating-tooltip[data-placement='bottom']::after {
  bottom: 100%;
  transform: translate(-50%, 50%) rotate(45deg);
  border-left: 1px solid rgba(150, 189, 226, 0.42);
  border-top: 1px solid rgba(150, 189, 226, 0.42);
}

.paddle-mix-floating-tooltip-accent {
  display: block;
  width: 100%;
  height: 0.32rem;
  border-radius: 999px;
}

.paddle-mix-floating-tooltip-date {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(150, 189, 226, 0.34);
  border-radius: 999px;
  background: rgba(8, 23, 39, 0.86);
  color: #b9d7f5;
  padding: 0.18rem 0.48rem;
  font-size: 0.86rem;
  font-weight: 950;
}

.paddle-mix-floating-tooltip-headline {
  color: #f8fbff;
  font-size: 1.28rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.paddle-mix-floating-tooltip-headline strong {
  color: #ffffff;
  font-size: 2.65rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  line-height: 0.9;
}

.paddle-mix-floating-tooltip-model {
  color: #dcecff;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.paddle-mix-floating-tooltip-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.46rem;
  margin-top: 0.04rem;
}

.paddle-mix-floating-tooltip-stats > span {
  min-width: 0;
  border: 1px solid rgba(82, 124, 168, 0.38);
  border-radius: 7px;
  background: rgba(12, 26, 45, 0.92);
  padding: 0.48rem 0.52rem;
}

.paddle-mix-floating-tooltip-stats strong,
.paddle-mix-floating-tooltip-stats small {
  display: block;
}

.paddle-mix-floating-tooltip-stats strong {
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.paddle-mix-floating-tooltip-stats small {
  margin-top: 0.08rem;
  color: #91a8c4;
  font-size: 0.72rem;
  font-weight: 900;
}

.paddle-mix-floating-tooltip-hint {
  color: #9dc5c9;
  font-size: 0.82rem;
  font-weight: 900;
}

.paddle-mix-date-breakdown {
  grid-column: 1 / -1;
  max-height: 26rem;
  overflow: hidden;
  animation: paddleMixBreakdownIn 180ms ease-out;
}

.paddle-mix-date-breakdown.closing {
  pointer-events: none;
  animation: paddleMixBreakdownOut 180ms ease-in forwards;
}

.paddle-mix-date-breakdown-inner {
  margin: 0.1rem 3rem 0.18rem 4.75rem;
  border: 1px solid rgba(143, 219, 203, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(90% 120% at 10% 0%, rgba(50, 235, 199, 0.13), transparent 56%),
    rgba(7, 17, 31, 0.96);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 0.72rem;
}

.paddle-mix-breakdown-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.54rem;
}

.paddle-mix-breakdown-head strong,
.paddle-mix-breakdown-head span {
  display: block;
}

.paddle-mix-breakdown-head strong {
  color: #f8fbff;
  font-size: 1.06rem;
  font-weight: 950;
}

.paddle-mix-breakdown-head span {
  margin-top: 0.12rem;
  color: #9fb7d2;
  font-size: 0.84rem;
  font-weight: 800;
}

.paddle-mix-breakdown-close {
  border: 1px solid rgba(143, 219, 203, 0.38);
  border-radius: 999px;
  background: rgba(8, 39, 49, 0.74);
  color: #dffef8;
  padding: 0.24rem 0.58rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  cursor: pointer;
}

.paddle-mix-breakdown-model-list {
  display: grid;
  gap: 0.28rem;
  max-height: 17rem;
  overflow: auto;
  padding-right: 0.12rem;
}

.paddle-mix-breakdown-model-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.4rem 5.6rem;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid rgba(82, 124, 168, 0.24);
  border-radius: 7px;
  background: rgba(12, 27, 45, 0.72);
  padding: 0.42rem 0.5rem;
  color: #dbe8f9;
  font-size: 0.9rem;
}

.paddle-mix-breakdown-model-header {
  border-color: rgba(143, 219, 203, 0.18);
  background: rgba(143, 219, 203, 0.08);
  color: #a9bdd8;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.paddle-mix-breakdown-model-name {
  min-width: 0;
  color: #f2f7ff;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.paddle-mix-breakdown-model-row strong,
.paddle-mix-breakdown-model-row span:last-child {
  text-align: right;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.paddle-mix-breakdown-model-row span:last-child {
  color: #a9bdd8;
}

@keyframes paddleMixBreakdownIn {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-0.45rem);
  }
  to {
    opacity: 1;
    max-height: 26rem;
    transform: translateY(0);
  }
}

@keyframes paddleMixBreakdownOut {
  from {
    opacity: 1;
    max-height: 26rem;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    max-height: 0;
    transform: translateY(-0.36rem);
  }
}

.paddle-mix-empty {
  padding: 1rem;
  display: grid;
  gap: 0.28rem;
}

.paddle-mix-empty strong {
  color: #f4f8ff;
}

.paddle-mix-empty span {
  color: #9eb4d0;
}

.chip-head {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chip-row {
  margin-top: 0.55rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.3rem;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.chart-card,
.insight-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.72rem;
  background: rgba(10, 16, 26, 0.6);
}

.chart-card canvas {
  width: 100% !important;
  height: 240px !important;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

.rank-list {
  display: grid;
  gap: 0.45rem;
}

.rank-item {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(140, 160, 187, 0.2);
  border-radius: 10px;
  background: rgba(9, 14, 23, 0.75);
}

.rank-item .name {
  color: var(--ink);
  font-weight: 700;
}

.rank-item .meta {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(14, 22, 35, 0.8);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.72rem;
  white-space: nowrap;
  font-size: 0.82rem;
  cursor: pointer;
}

.chip.active {
  border-color: rgba(30, 245, 200, 0.6);
  box-shadow: 0 0 0 1px rgba(30, 245, 200, 0.35) inset;
  background: rgba(14, 38, 39, 0.72);
}

.chip[data-ops-filter] {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ops-filter-count {
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  padding: 0 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  color: #d7ecff;
  background: rgba(72, 111, 161, 0.38);
}

.chip.active[data-ops-filter] .ops-filter-count {
  color: #04211d;
  background: rgba(30, 245, 200, 0.88);
}

.variant-row .chip.variant-chip-poof {
  pointer-events: none;
  animation: variant-chip-poof 220ms ease-out both;
  overflow: hidden;
}

@keyframes variant-chip-poof {
  0% {
    opacity: 1;
    transform: scale(1);
    max-width: 220px;
    padding-inline: 0.72rem;
    margin-inline: 0;
    border-width: 1px;
  }
  100% {
    opacity: 0;
    transform: scale(0.24) translateY(-6px);
    max-width: 0;
    padding-inline: 0;
    margin-inline: 0;
    border-width: 0;
  }
}

.ops-launcher-card {
  border-color: rgba(115, 196, 255, 0.32);
  background:
    radial-gradient(120% 120% at 2% 0%, rgba(62, 133, 233, 0.16), transparent 52%),
    linear-gradient(155deg, rgba(24, 35, 58, 0.8), rgba(8, 14, 24, 0.9));
}

.ops-launcher-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.ops-launcher-btn {
  border: 1px solid rgba(124, 168, 219, 0.34);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(11, 18, 31, 0.95), rgba(18, 29, 44, 0.85));
  color: var(--ink);
  padding: 0.9rem 0.75rem 0.82rem;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.35rem;
  min-height: 160px;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ops-launcher-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 245, 200, 0.54);
}

.ops-launcher-btn.active {
  border-color: rgba(30, 245, 200, 0.75);
  box-shadow: 0 0 0 1px rgba(30, 245, 200, 0.45) inset, 0 10px 28px rgba(26, 123, 120, 0.22);
  background: linear-gradient(155deg, rgba(6, 33, 39, 0.96), rgba(7, 26, 36, 0.88));
}

.ops-launcher-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  border: 1px solid rgba(136, 173, 220, 0.3);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  background: rgba(13, 21, 35, 0.8);
}

.ops-launcher-btn.active .ops-launcher-icon {
  border-color: rgba(30, 245, 200, 0.55);
  background: rgba(9, 42, 47, 0.85);
}

.ops-launcher-label {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.22;
  color: #f2f8ff;
}

.ops-launcher-sub {
  font-size: 0.8rem;
  line-height: 1.32;
  color: #9cb2cd;
}

.ops-module {
  display: none;
}

.ops-module.active {
  display: block;
}

.shipping-control-page {
  border-color: rgba(116, 188, 247, 0.34);
  background:
    radial-gradient(140% 150% at 0% 0%, rgba(43, 119, 212, 0.2), transparent 58%),
    linear-gradient(150deg, rgba(10, 20, 38, 0.95), rgba(7, 14, 27, 0.92));
}

.shipping-rules-form {
  display: grid;
  gap: 0.78rem;
}

.shipping-rules-form-page {
  margin-top: 0.85rem;
}

.shipping-rules-section {
  padding: 0.82rem;
}

.shipping-rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.shipping-rules-grid-formula {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.shipping-rules-grid input {
  font-size: 1.08rem;
  font-weight: 700;
}

.shipping-rules-formula-text {
  margin: 0 0 0.55rem;
  color: #9fc1e4;
  font-size: 0.94rem;
}

.shipping-rules-formula-block {
  border: 1px solid rgba(97, 147, 208, 0.34);
  border-radius: 12px;
  padding: 0.7rem 0.82rem;
  background: rgba(8, 17, 31, 0.84);
  margin-bottom: 0.72rem;
}

.shipping-rules-formula-block code {
  color: #eaf4ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.shipping-rules-preview {
  display: grid;
  gap: 0.46rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.shipping-rules-preview-row {
  border: 1px solid rgba(104, 153, 209, 0.32);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(9, 18, 33, 0.95), rgba(8, 15, 28, 0.88));
  padding: 0.62rem 0.68rem;
  color: #e6f1ff;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.shipping-rules-actions {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.shipping-rules-actions .btn {
  min-width: 220px;
  min-height: 52px;
  font-size: 1rem;
  font-weight: 800;
}

.ops-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.ops-search-row {
  margin-top: 0.72rem;
}

.ops-search-row input {
  width: min(620px, 100%);
  border-color: rgba(79, 132, 191, 0.42);
  background: rgba(5, 14, 27, 0.92);
}

.ops-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 15, 24, 0.78);
  padding: 0.72rem;
  display: grid;
  gap: 0.55rem;
}

.ops-card[data-action='open-detail'] {
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ops-card[data-action='open-detail']:hover {
  border-color: rgba(72, 204, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(72, 204, 255, 0.28) inset;
  transform: translateY(-1px);
}

.ops-delete-empty-card-btn {
  border-color: rgba(255, 119, 98, 0.7);
  color: #ffd2c9;
  background: rgba(91, 24, 24, 0.22);
}

.ops-delete-empty-card-btn:hover:not(:disabled) {
  border-color: rgba(255, 119, 98, 0.95);
  background: rgba(125, 34, 30, 0.36);
  color: #ffffff;
}

.ops-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: flex-start;
}

.ops-customer {
  font-size: 1rem;
  font-weight: 800;
  color: #dff4ff;
}

.ops-sub {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.ops-total {
  font-size: 1.02rem;
  font-weight: 800;
  color: #e7f0ff;
  white-space: nowrap;
}

.ops-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
  min-height: 1.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.status-pill-payment-unpaid {
  color: #ffd8d8;
  border-color: rgba(255, 125, 125, 0.55);
  background: rgba(255, 59, 48, 0.15);
}

.status-pill-payment-invoice_sent {
  color: #ffe7bf;
  border-color: rgba(255, 181, 84, 0.55);
  background: rgba(255, 181, 84, 0.14);
}

.status-pill-payment-invoice_opened {
  color: #dbfff1;
  border-color: rgba(72, 219, 160, 0.6);
  background: rgba(72, 219, 160, 0.16);
}

.status-pill-payment-invoice_delivered {
  color: #dce8ff;
  border-color: rgba(120, 166, 255, 0.58);
  background: rgba(88, 138, 255, 0.16);
}

.status-pill-payment-paid {
  color: #d2ffe6;
  border-color: rgba(41, 214, 123, 0.55);
  background: rgba(41, 214, 123, 0.14);
}

.status-pill-shipping-not_shipped {
  color: #ffe2cf;
  border-color: rgba(255, 138, 76, 0.55);
  background: rgba(255, 138, 76, 0.14);
}

.status-pill-shipping-ready_pirateship {
  color: #d9eaff;
  border-color: rgba(97, 177, 255, 0.55);
  background: rgba(97, 177, 255, 0.14);
}

.status-pill-shipping-shipped {
  color: #d7fffd;
  border-color: rgba(30, 245, 200, 0.55);
  background: rgba(30, 245, 200, 0.14);
}

.status-pill-workflow-open {
  color: #dde8ff;
  border-color: rgba(155, 176, 213, 0.45);
  background: rgba(124, 146, 183, 0.15);
}

.status-pill-workflow-done {
  color: #d6ffd8;
  border-color: rgba(76, 220, 107, 0.55);
  background: rgba(76, 220, 107, 0.14);
}

.status-pill-sales-link-open {
  color: #bdeafe;
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.18);
}

.status-pill-sales-link-purchased {
  color: #b8f7dd;
  border-color: rgba(52, 211, 153, 0.48);
  background: rgba(52, 211, 153, 0.18);
}

.status-pill-sales-link-cancelled {
  color: #ffd0d0;
  border-color: rgba(248, 113, 113, 0.44);
  background: rgba(248, 113, 113, 0.16);
}

.status-pill-sales-link-none {
  color: #d8e2f0;
  border-color: rgba(148, 163, 184, 0.38);
  background: rgba(148, 163, 184, 0.16);
}

.ops-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.ops-tracking-row {
  display: grid;
  gap: 0.3rem;
}

.ops-tracking-row label {
  color: #9cb2cd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ops-tracking-input {
  width: 100%;
  border: 1px solid rgba(119, 156, 207, 0.35);
  border-radius: 10px;
  background: rgba(6, 13, 24, 0.92);
  color: #edf6ff;
  padding: 0.45rem 0.58rem;
  font-size: 0.9rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ops-tracking-input::placeholder {
  color: #7f97b6;
}

.ops-tracking-input:focus {
  outline: none;
  border-color: rgba(100, 193, 255, 0.82);
  box-shadow: 0 0 0 2px rgba(100, 193, 255, 0.2);
}

.ops-actions .btn {
  width: 100%;
  text-align: center;
}

.btn-done {
  background: linear-gradient(120deg, #f56c35 0%, #f09731 100%);
  border-color: rgba(255, 133, 76, 0.7);
  color: #fff;
}

.ops-empty {
  margin-top: 0.75rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
}

.coupon-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}

.coupon-grid > * {
  min-width: 0;
}

.coupon-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  min-width: 0;
}

.deal-product-search-wrap {
  grid-column: 1 / span 2;
}

.quick-deal-search-wrap {
  grid-column: 1 / -1;
}

.deal-add-more-inline {
  display: grid;
  align-items: end;
}

.deal-add-more-inline .btn {
  width: 100%;
}

.coupon-grid input,
.coupon-grid select {
  width: 100%;
  min-width: 0;
}

.coupon-grid select {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coupon-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.coupon-bulk-actions {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.coupon-select-head,
.coupon-select-cell {
  width: 2.5rem;
}

.coupon-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  opacity: 0;
  transition: opacity 0.16s ease;
}

.coupon-select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.coupon-select-ui {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 0.24rem;
  border: 1px solid rgba(160, 200, 255, 0.45);
  background: rgba(8, 17, 38, 0.85);
  box-shadow: inset 0 0 0 1px rgba(27, 53, 96, 0.65);
}

.coupon-select:checked + .coupon-select-ui {
  background: linear-gradient(135deg, #4be2cf 0%, #2aa4e9 100%);
  border-color: rgba(115, 236, 226, 0.95);
  box-shadow: 0 0 0 2px rgba(75, 226, 207, 0.22);
}

#couponRows tr:hover .coupon-select-wrap,
#couponRows tr.coupon-row-selected .coupon-select-wrap,
#couponRows tr:focus-within .coupon-select-wrap {
  opacity: 1;
}

.coupon-code {
  font-weight: 800;
  color: #dff4ff;
}

.deal-code-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.deal-code-toggle:focus-visible {
  outline: 2px solid rgba(112, 207, 255, 0.95);
  outline-offset: 2px;
  border-radius: 6px;
}

.deal-code-toggle-icon {
  color: #9fbbdd;
  font-size: 0.85rem;
  line-height: 1;
  width: 0.75rem;
}

.deal-price-inline-input {
  width: 108px;
  border: 1px solid rgba(111, 153, 212, 0.35);
  border-radius: 10px;
  background: rgba(6, 13, 25, 0.9);
  color: #f5f9ff;
  padding: 0.35rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.deal-price-inline-input:focus {
  border-color: rgba(95, 202, 255, 0.86);
  box-shadow: 0 0 0 3px rgba(95, 202, 255, 0.16);
  outline: none;
}

.deal-price-inline-input:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.deal-product-cell {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.deal-product-cell > div {
  display: grid;
  gap: 0.22rem;
}

.deal-product-thumb {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(116, 151, 196, 0.45);
  background: rgba(10, 18, 31, 0.9);
}

.deal-product-name {
  font-weight: 800;
  color: #e8f4ff;
}

.deal-window-cell {
  display: grid;
  gap: 0.14rem;
}

.deal-mobile-meta {
  display: none;
}

.deal-expanded-row td {
  padding-top: 0.15rem;
  padding-bottom: 0.55rem;
}

.deal-expanded-items {
  border: 1px solid rgba(73, 121, 185, 0.34);
  border-radius: 12px;
  background: rgba(9, 19, 38, 0.66);
  padding: 0.45rem 0.65rem;
  display: grid;
  gap: 0.38rem;
}

.deal-expanded-item {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.24rem 0;
  border-bottom: 1px solid rgba(84, 123, 180, 0.24);
}

.deal-expanded-item:last-child {
  border-bottom: 0;
}

.deal-expanded-item-main {
  display: grid;
  gap: 0.12rem;
}

.deal-expanded-item-stats {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  color: #c0d6f4;
  font-size: 0.86rem;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .deal-expanded-item {
    flex-direction: column;
  }

  .deal-expanded-item-stats {
    flex-wrap: wrap;
    white-space: normal;
  }
}

.coupon-status-active {
  color: #d5ffe0;
}

.coupon-status-disabled {
  color: #ffcccd;
}

.coupon-status-expired {
  color: #ffe1bc;
}

.coupon-status-scheduled {
  color: #d8e6ff;
}

.coupon-status-exhausted {
  color: #ffd3a9;
}

.deal-command-card {
  border-color: rgba(245, 154, 89, 0.32);
}

.deal-kicker {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #f56c35;
}

.deal-price-stack {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.2rem;
}

.deal-base-price {
  color: #8d98aa;
  text-decoration: line-through;
  font-weight: 700;
}

.deal-special-label {
  color: #d6542b;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.deal-special-price {
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
  color: #d23d25;
}

.deal-save-line {
  color: #c3492f;
  font-weight: 700;
}

.deal-timer {
  margin-top: 0.75rem;
  border: 1px solid #f3b38f;
  background: #fff3ec;
  color: #9b2f1b;
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  font-weight: 700;
}

.deal-checkout-form {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.deal-expired-card {
  border: 1px solid #e5a992;
  border-radius: 12px;
  padding: 1rem;
  background: linear-gradient(170deg, #fff9f6 0%, #fff1ea 100%);
}

.deal-expired-card h3 {
  margin: 0 0 0.4rem;
  color: #8f2d1e;
}

.deal-expired-card p {
  margin: 0;
  color: #54231a;
}

.btn-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.topbar-actions,
.import-row,
.table-controls,
.pager-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  align-items: center;
}

.topbar-actions {
  margin-left: auto;
  justify-content: flex-end;
  flex-wrap: nowrap;
  align-items: flex-end;
}

.admin-menu-wrap {
  position: relative;
  z-index: 80;
}

.store-menu-wrap {
  position: relative;
}

.store-menu-wrap[hidden] {
  display: none !important;
}

.store-menu-wrap > summary {
  list-style: none;
  cursor: pointer;
}

.store-menu-wrap > summary::-webkit-details-marker {
  display: none;
}

.store-menu-toggle {
  min-width: 48px;
  font-size: 1.05rem;
  line-height: 1;
  padding-inline: 0.8rem;
}

.store-menu-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 200px;
  z-index: 40;
  display: grid;
  gap: 0.42rem;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(15, 23, 35, 0.98), rgba(9, 14, 24, 0.98));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
}

.store-menu-dropdown[hidden] {
  display: none !important;
}

.store-menu-wrap:not([open]) .store-menu-dropdown {
  display: none !important;
}

.store-menu-item {
  width: 100%;
  text-align: left;
}

.admin-menu-wrap[hidden] {
  display: none !important;
}

.admin-menu-wrap > summary {
  list-style: none;
  cursor: pointer;
}

.admin-menu-wrap > summary::-webkit-details-marker {
  display: none;
}

.admin-menu-toggle {
  min-width: 116px;
}

.admin-menu-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 240px;
  z-index: 2100;
  display: grid;
  gap: 0.42rem;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(15, 23, 35, 0.98), rgba(9, 14, 24, 0.98));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
}

.admin-menu-dropdown[hidden] {
  display: none !important;
}

.admin-menu-wrap:not([open]) .admin-menu-dropdown {
  display: none !important;
}

.admin-menu-dropdown .view-switch {
  display: grid;
  gap: 0.42rem;
}

.admin-menu-dropdown .btn {
  width: 100%;
  text-align: left;
}

.admin-menu-item {
  border-top: 1px solid rgba(158, 180, 207, 0.2);
}

.admin-menu-close-btn {
  display: none;
}

#sheetUrl {
  min-width: min(520px, 100%);
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.6rem;
  font-size: 0.85rem;
}

.status {
  margin-top: 0.65rem;
  font-weight: 700;
}

.table-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.inventory-command-panel {
  border: 1px solid rgba(89, 119, 158, 0.34);
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(37, 93, 160, 0.2), transparent 65%),
    linear-gradient(160deg, rgba(9, 21, 38, 0.98), rgba(6, 14, 28, 0.98));
}

.inventory-command-head {
  align-items: flex-start;
}

.inventory-head-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.inventory-command-actions {
  justify-content: flex-end;
}

.inventory-head-actions .muted {
  white-space: nowrap;
}

.inventory-meta-pill {
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(113, 148, 194, 0.38);
  background: rgba(11, 21, 36, 0.82);
  color: #b6c9df;
  font-weight: 700;
}

.inventory-meta-pill-wide {
  max-width: 420px;
  white-space: normal;
}

.inventory-search-row {
  margin-top: 0.7rem;
}

.inventory-search-row input {
  width: min(520px, 100%);
}

.inventory-command-search-row input {
  width: min(620px, 100%);
  border-color: rgba(79, 132, 191, 0.4);
  background: rgba(5, 14, 27, 0.92);
}

.table-controls {
  margin-top: 0.75rem;
}

input,
select,
button {
  font: inherit;
}

input,
select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.56rem 0.68rem;
  background: rgba(11, 17, 27, 0.8);
  color: var(--ink);
}

input::placeholder {
  color: #7489a3;
}

input[type='date'],
input[type='datetime-local'] {
  color-scheme: dark;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.72rem center;
  background-size: 1rem;
}

input[type='date']::-webkit-calendar-picker-indicator,
input[type='datetime-local']::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.56rem 1rem;
  color: var(--ink);
  background: rgba(11, 17, 27, 0.75);
  font-weight: 800;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 108, 47, 0.6);
}

.btn-primary {
  background: linear-gradient(120deg, #f56c35 0%, #f09731 100%);
  border-color: rgba(255, 133, 76, 0.7);
  color: #fff;
}

.btn-deal-quick {
  background: linear-gradient(120deg, #0e7d84 0%, #16a3a6 100%);
  border-color: rgba(58, 224, 210, 0.6);
  color: #edffff;
}

#openQuickDealModalBtn,
#openSaleModalBtn {
  display: none !important;
}

body.sales-ops-authorized #openQuickDealModalBtn,
body.sales-ops-authorized #openSaleModalBtn {
  display: inline-flex !important;
}

.btn-ghost {
  background: rgba(10, 18, 28, 0.8);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn.ops-action-pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: progress;
  pointer-events: none;
}

.btn.ops-action-pending:disabled {
  opacity: 0.82;
}

.btn.ops-action-pending:hover {
  transform: none;
}

.btn.ops-action-pending::after {
  content: '';
  width: 0.82em;
  height: 0.82em;
  border: 2px solid rgba(226, 238, 255, 0.32);
  border-top-color: currentColor;
  border-radius: 999px;
  animation: ops-action-spin 720ms linear infinite;
}

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

.tabler-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--tabler-icon) center / contain no-repeat;
  mask: var(--tabler-icon) center / contain no-repeat;
}

.table-wrap {
  margin-top: 0.65rem;
  overflow: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 0.58rem;
  text-align: left;
  border-bottom: 1px solid rgba(140, 160, 187, 0.18);
}

th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

td {
  font-size: 0.88rem;
}

#productRows tr {
  transition: background-color 140ms ease, box-shadow 140ms ease;
}

#productRows tr:hover,
#productRows tr:focus-within {
  background: linear-gradient(90deg, rgba(43, 130, 218, 0.14), rgba(34, 218, 205, 0.07));
  box-shadow:
    inset 3px 0 0 rgba(74, 220, 235, 0.95),
    inset 0 1px 0 rgba(106, 187, 255, 0.2),
    inset 0 -1px 0 rgba(106, 187, 255, 0.2);
}

#productRows tr.inventory-row-selected {
  background: linear-gradient(90deg, rgba(43, 130, 218, 0.18), rgba(34, 218, 205, 0.11));
  box-shadow:
    inset 3px 0 0 rgba(74, 220, 235, 0.95),
    inset 0 1px 0 rgba(106, 187, 255, 0.25),
    inset 0 -1px 0 rgba(106, 187, 255, 0.25);
}

#productRows tr.inventory-row-storefront-hidden {
  background: linear-gradient(90deg, rgba(116, 24, 39, 0.22), rgba(61, 12, 24, 0.12));
  box-shadow:
    inset 2px 0 0 rgba(255, 123, 147, 0.55),
    inset 0 1px 0 rgba(190, 77, 101, 0.2),
    inset 0 -1px 0 rgba(190, 77, 101, 0.2);
}

#productRows tr.inventory-row-storefront-hidden:hover,
#productRows tr.inventory-row-storefront-hidden:focus-within {
  background: linear-gradient(90deg, rgba(136, 30, 49, 0.26), rgba(73, 14, 28, 0.16));
}

#customersAdminRows tr {
  transition: background-color 140ms ease, box-shadow 140ms ease;
}

#customersAdminRows tr:hover,
#customersAdminRows tr:focus-within,
#customersAdminRows tr.customer-admin-row-active {
  background: linear-gradient(90deg, rgba(43, 130, 218, 0.14), rgba(34, 218, 205, 0.07));
  box-shadow:
    inset 3px 0 0 rgba(74, 220, 235, 0.9),
    inset 0 1px 0 rgba(106, 187, 255, 0.18),
    inset 0 -1px 0 rgba(106, 187, 255, 0.18);
}

#customersAdminRows tr.customer-admin-row-selected {
  background: linear-gradient(90deg, rgba(43, 130, 218, 0.2), rgba(34, 218, 205, 0.14));
}

.customer-link {
  border: none;
  background: transparent;
  color: #91ecff;
  padding: 0;
  cursor: pointer;
  font-weight: 700;
}

.pager-row {
  margin-top: 0.75rem;
  justify-content: flex-end;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 30;
}

.modal.show {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 14, 0.7);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  margin: 6vh auto;
  width: min(920px, 94vw);
  max-height: 88vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(18, 27, 40, 0.98), rgba(8, 13, 21, 0.98));
  box-shadow: var(--shadow);
  padding: 1rem;
}

.sale-panel {
  width: min(1120px, 95vw);
  color: #eef5ff;
}

.sale-panel .modal-head h2 {
  color: #ffffff;
}

.sale-panel .modal-head {
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(109, 153, 205, 0.2);
}

.sale-panel label {
  color: #d7e7fb;
}

.sale-panel input,
.sale-panel select,
.sale-panel textarea {
  color: #f3f8ff;
  border-color: rgba(120, 164, 214, 0.35);
  background: rgba(7, 13, 22, 0.94);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
}

.sale-panel input::placeholder,
.sale-panel textarea::placeholder {
  color: #89a6c7;
}

.sale-panel input:focus-visible,
.sale-panel select:focus-visible,
.sale-panel textarea:focus-visible {
  outline: none;
  border-color: rgba(86, 210, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(76, 177, 255, 0.2);
  background: rgba(8, 17, 30, 0.98);
}

.sale-entry-form {
  display: grid;
  gap: 0.9rem;
}

.sale-entry-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(104, 150, 204, 0.24);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(9, 18, 33, 0.95), rgba(7, 14, 25, 0.95));
}

.sale-entry-subtitle {
  margin: 0;
  color: #9cb5d4;
  font-size: 0.82rem;
  max-width: 56ch;
}

.sale-entry-head-actions {
  display: flex;
  gap: 0.52rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sale-entry-section {
  border: 1px solid rgba(103, 147, 199, 0.23);
  border-radius: 14px;
  padding: 0.72rem;
  background: linear-gradient(145deg, rgba(7, 14, 26, 0.92), rgba(8, 15, 28, 0.84));
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.sale-entry-section:focus-within {
  border-color: rgba(92, 196, 255, 0.52);
  transform: translateY(-1px);
}

.sale-entry-section-title {
  margin-bottom: 0.6rem;
  color: #f0f7ff;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sale-entry-grid {
  display: grid;
  gap: 0.72rem;
}

.sale-entry-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sale-line-items {
  display: grid;
  gap: 0.62rem;
}

.sale-line-item {
  border: 1px solid rgba(101, 149, 204, 0.24);
  border-radius: 12px;
  padding: 0.62rem;
  background: linear-gradient(145deg, rgba(8, 16, 30, 0.72), rgba(8, 14, 26, 0.7));
}

.sale-line-item-collapsed {
  border-color: rgba(42, 219, 188, 0.76);
  background: linear-gradient(145deg, rgba(7, 31, 34, 0.64), rgba(5, 13, 24, 0.86));
  box-shadow: 0 0 0 1px rgba(42, 219, 188, 0.18) inset;
}

.sale-line-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.sale-line-summary[hidden] {
  display: none;
}

.sale-line-summary-main {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 0;
  min-width: 0;
  cursor: pointer;
}

.sale-line-summary-main strong {
  display: block;
  color: #ecf6ff;
  font-size: 1rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.sale-line-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.42rem;
}

.sale-line-summary-chips span {
  border: 1px solid rgba(102, 170, 232, 0.38);
  border-radius: 999px;
  background: rgba(16, 34, 58, 0.82);
  color: #b9d6f3;
  padding: 0.18rem 0.48rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.sale-line-summary-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.sale-line-summary-actions > strong {
  color: #ffffff;
  font-size: 1.05rem;
  min-width: 96px;
  text-align: right;
}

.sale-line-summary-edit,
.sale-line-summary-remove {
  appearance: none;
  border: 1px solid rgba(132, 171, 219, 0.38);
  border-radius: 999px;
  background: rgba(8, 16, 30, 0.72);
  color: #dcecff;
  min-height: 34px;
  padding: 0.2rem 0.68rem;
  font-weight: 900;
  cursor: pointer;
}

.sale-line-summary-remove {
  border-color: rgba(255, 132, 122, 0.56);
  color: #ffb4a8;
}

.sale-line-summary-edit:hover,
.sale-line-summary-remove:hover {
  transform: translateY(-1px);
}

.sale-line-item-custom {
  border-color: rgba(88, 190, 152, 0.52);
  box-shadow: 0 0 0 1px rgba(88, 190, 152, 0.2) inset;
}

.sale-product-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.sale-line-custom-toggle {
  min-height: 32px;
  padding: 0.22rem 0.66rem;
  font-size: 0.74rem;
  border-color: rgba(245, 108, 53, 0.85);
  background: rgba(245, 108, 53, 0.08);
  color: #ffb07b;
}

.sale-line-custom-toggle:hover {
  border-color: rgba(245, 108, 53, 1);
  background: rgba(245, 108, 53, 0.16);
}

.sale-line-custom-toggle[aria-pressed='true'] {
  border-color: rgba(245, 108, 53, 0.95);
  background: linear-gradient(120deg, #f56c35 0%, #f09731 100%);
  color: #ffffff;
}

.sale-line-custom-toggle[aria-pressed='true']:hover {
  border-color: rgba(255, 156, 103, 0.95);
  background: linear-gradient(120deg, #f2672c 0%, #ec8f28 100%);
}

.sale-line-item-warning {
  border-color: rgba(255, 184, 101, 0.75);
  box-shadow: 0 0 0 2px rgba(255, 184, 101, 0.15);
}

.sale-line-grid {
  align-items: end;
}

.sale-line-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.sale-line-controls .btn {
  min-width: 180px;
}

.sale-line-remove-wrap {
  display: flex;
  align-items: end;
  justify-content: flex-end;
}

.sale-line-remove-wrap .btn {
  min-width: 170px;
}

.sale-line-warning {
  margin-top: 0.62rem;
  border: 1px solid rgba(255, 184, 101, 0.72);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(66, 44, 9, 0.9), rgba(45, 30, 6, 0.92));
  padding: 0.52rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.sale-line-warning-text {
  color: #ffd9aa;
  font-size: 0.82rem;
  line-height: 1.35;
}

.sale-line-warning-dismiss {
  flex: 0 0 auto;
  min-width: 96px;
}

.sale-form-status {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(102, 150, 204, 0.24);
  border-radius: 10px;
  padding: 0.52rem 0.68rem;
  color: #b8d3ee;
  background: rgba(8, 16, 30, 0.68);
}

.sale-form-status:empty {
  display: none;
}

.sale-form-status-saving {
  border-color: rgba(86, 210, 255, 0.58);
  color: #d9f7ff;
  background: linear-gradient(135deg, rgba(15, 52, 72, 0.74), rgba(7, 16, 30, 0.82));
}

.sale-form-status-success {
  border-color: rgba(88, 190, 152, 0.56);
  color: #c8ffeb;
  background: linear-gradient(135deg, rgba(13, 66, 51, 0.72), rgba(7, 18, 27, 0.86));
}

.sale-form-status-error {
  border-color: rgba(255, 132, 122, 0.62);
  color: #ffd2ca;
  background: linear-gradient(135deg, rgba(86, 28, 28, 0.72), rgba(23, 12, 18, 0.86));
}

.sale-entry-form-saving {
  cursor: progress;
}

.sale-entry-form-saving [data-sale-submit-btn] {
  opacity: 0.92;
}

.sale-save-spinner {
  animation: sale-entry-save-spin 0.9s linear infinite;
}

@keyframes sale-entry-save-spin {
  to {
    transform: rotate(360deg);
  }
}

.sale-field-wide {
  grid-column: 1 / -1;
  position: relative;
}

.address-field-wide {
  grid-column: 1 / -1;
  position: relative;
}

.sale-variant-stock-label input[readonly] {
  color: #9ed2ff;
  font-weight: 700;
}

.sale-tax-input-wrap {
  position: relative;
}

.sale-tax-input-wrap input {
  padding-right: 2.1rem;
}

.sale-tax-clear-btn {
  position: absolute;
  top: 50%;
  right: 0.42rem;
  transform: translateY(-50%);
  width: 1.32rem;
  height: 1.32rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 95, 95, 0.72);
  background: rgba(60, 10, 10, 0.9);
  color: #ffd4d4;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.sale-tax-clear-btn:hover {
  background: rgba(98, 18, 18, 0.95);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 0 0 2px rgba(255, 90, 90, 0.15);
}

.sale-estimate-card {
  border: 1px solid rgba(96, 136, 184, 0.35);
  border-radius: 12px;
  padding: 0.62rem 0.78rem;
  background: linear-gradient(130deg, rgba(12, 24, 42, 0.94), rgba(9, 18, 33, 0.92));
  display: grid;
  align-content: center;
  gap: 0.2rem;
}

.sale-estimate-card span {
  color: #89a8ca;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sale-estimate-card strong {
  color: #ecf5ff;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
}

.sale-form-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.2rem;
}

.detail-panel {
  width: min(760px, 94vw);
}

#detailModal .detail-panel {
  width: min(1440px, 97vw);
  max-height: 94vh;
  padding: 1.05rem 1rem 1rem;
  border-color: rgba(114, 176, 238, 0.4);
  background:
    radial-gradient(140% 170% at 0% 0%, rgba(62, 128, 228, 0.25), transparent 60%),
    radial-gradient(120% 140% at 100% 100%, rgba(38, 82, 163, 0.16), transparent 70%),
    linear-gradient(160deg, rgba(8, 15, 28, 0.99), rgba(4, 10, 20, 0.99));
}

#detailModal .modal-head {
  border-bottom: 1px solid rgba(121, 168, 228, 0.3);
  margin-bottom: 0.85rem;
  padding-bottom: 0.52rem;
}

#detailModal .modal-head h2 {
  color: #f2f8ff;
}

#detailModal .icon-btn {
  border-color: rgba(132, 181, 234, 0.42);
  background: rgba(10, 20, 35, 0.88);
  color: #e8f3ff;
}

.sale-intel-shell {
  display: grid;
  gap: 0.8rem;
  padding-bottom: 0.2rem;
}

.sale-intel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid rgba(106, 154, 218, 0.36);
  border-radius: 16px;
  padding: 0.76rem 0.85rem;
  background:
    radial-gradient(130% 120% at 0% 0%, rgba(61, 124, 225, 0.24), transparent 58%),
    linear-gradient(145deg, rgba(13, 25, 44, 0.92), rgba(8, 16, 31, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(147, 191, 246, 0.16),
    0 8px 24px rgba(3, 9, 19, 0.28);
}

.sale-intel-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.sale-intel-title-wrap h3 {
  font-size: clamp(1.16rem, 1.8vw, 1.5rem);
  color: #f2f8ff;
  margin: 0;
  letter-spacing: 0.01em;
}

.sale-intel-title-bar {
  width: 5px;
  height: 27px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9e59 0%, #ff6f31 100%);
}

.sale-intel-form-id {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a7c0e0;
  font-weight: 800;
  white-space: nowrap;
}

.sale-intel-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 0.74rem;
}

.sale-intel-workspace {
  display: grid;
  gap: 0.74rem;
}

.sale-intel-section {
  border: 1px solid rgba(96, 142, 206, 0.34);
  border-radius: 16px;
  padding: 0.74rem;
  background:
    radial-gradient(130% 130% at 0% 0%, rgba(53, 116, 217, 0.18), transparent 56%),
    linear-gradient(160deg, rgba(9, 17, 33, 0.9), rgba(6, 13, 26, 0.94));
  min-width: 0;
  box-shadow:
    inset 0 1px 0 rgba(135, 184, 245, 0.11),
    0 8px 20px rgba(3, 8, 16, 0.22);
}

.sale-intel-card {
  display: grid;
  gap: 0.58rem;
}

.sale-intel-disclosure {
  min-width: 0;
}

.sale-intel-disclosure-summary {
  list-style: none;
  cursor: pointer;
}

.sale-intel-disclosure-summary::-webkit-details-marker {
  display: none;
}

.sale-intel-customer-summary {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  min-height: 72px;
  border: 1px solid rgba(102, 150, 214, 0.34);
  border-radius: 12px;
  padding: 0.78rem 0.86rem;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(40, 96, 181, 0.2), transparent 58%),
    rgba(6, 15, 29, 0.82);
  color: inherit;
  box-shadow: inset 0 1px 0 rgba(143, 189, 245, 0.11);
}

.sale-intel-customer-summary:focus-visible,
.sale-intel-line-card-main:focus-visible {
  outline: none;
  border-color: rgba(108, 206, 255, 0.82);
  box-shadow: 0 0 0 3px rgba(74, 170, 255, 0.18);
}

.sale-intel-summary-copy {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}

.sale-intel-summary-copy small {
  color: #87a7cc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sale-intel-summary-copy strong {
  color: #f4f9ff;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  font-weight: 850;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sale-intel-disclosure-cue,
.sale-intel-line-cue {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(113, 164, 222, 0.3);
  border-radius: 999px;
  color: #b6d5f4;
  margin-left: auto;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.sale-intel-disclosure-cue svg,
.sale-intel-line-cue svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sale-intel-disclosure[open] .sale-intel-disclosure-cue,
.sale-intel-line-card-expanded .sale-intel-line-cue {
  transform: rotate(180deg);
  border-color: rgba(38, 241, 203, 0.5);
  color: #aef4e6;
}

.sale-intel-disclosure-panel {
  padding-top: 0.68rem;
}

.sale-intel-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.62rem;
}

.sale-intel-card-head h4 {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  letter-spacing: 0.01em;
  color: #e8f2ff;
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
  font-weight: 800;
}

.sale-intel-head-icon {
  width: 1.38rem;
  height: 1.38rem;
  display: inline-grid;
  place-items: center;
  color: #ff8f3f;
  flex: 0 0 auto;
}

.sale-intel-head-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sale-intel-grid {
  gap: 0.58rem;
}

.sale-intel-grid-1 {
  grid-template-columns: 1fr;
}

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

.sale-intel-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.sale-intel-snapshot-grid .sale-intel-address-item,
.sale-intel-product-grid .sale-intel-item-variant {
  grid-column: 1 / -1;
}

.sale-intel-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.sale-intel-address-grid label:first-child {
  grid-column: 1 / -1;
}

.sale-intel-address-grid label {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
}

.sale-intel-shell .detail-item {
  border: none;
  background: transparent;
  padding: 0;
  min-width: 0;
}

.sale-intel-shell .detail-item strong {
  margin-bottom: 0.32rem;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #a9c4e5;
  font-weight: 700;
}

.sale-intel-shell .detail-edit-input {
  min-height: 56px;
  border-color: rgba(102, 150, 214, 0.48);
  background: rgba(2, 7, 16, 0.9);
  color: #f5faff;
  border-radius: 10px;
  font-size: 1.03rem;
  padding: 0.65rem 0.85rem;
}

.sale-intel-shell .detail-edit-input:focus-visible {
  border-color: rgba(108, 206, 255, 0.82);
  box-shadow: 0 0 0 3px rgba(74, 170, 255, 0.22);
  outline: none;
}

.sale-intel-shell .detail-edit-input[readonly] {
  color: #d6e8ff;
  background: rgba(10, 22, 40, 0.76);
}

.sale-intel-shell .detail-edit-textarea {
  min-height: 98px;
}

.sale-intel-deal-lines {
  border: 1px solid rgba(96, 150, 219, 0.32);
  border-radius: 12px;
  background: rgba(7, 17, 33, 0.72);
  padding: 0.62rem;
  margin-bottom: 0.5rem;
}

.sale-intel-deal-lines-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.56rem;
  color: #e7f3ff;
  font-size: 0.94rem;
}

.sale-intel-deal-lines-head span {
  color: #9fd9c7;
  font-weight: 700;
  font-size: 0.82rem;
}

.sale-intel-card-head-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.sale-intel-add-product-cta {
  min-height: 50px;
  min-width: 208px;
  padding: 0.58rem 1.08rem;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.sale-intel-quick-add-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.56rem;
  border: 1px solid rgba(67, 157, 224, 0.32);
  border-radius: 12px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(52, 113, 214, 0.18), transparent 56%),
    rgba(5, 13, 26, 0.86);
  padding: 0.66rem;
  margin-bottom: 0.56rem;
}

.sale-intel-quick-add-search {
  position: relative;
}

.sale-intel-quick-add-search span {
  display: block;
  margin-bottom: 0.32rem;
  color: #a9c8e8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sale-intel-quick-add-search .detail-edit-input {
  min-height: 48px;
  padding-right: 0.9rem;
}

.sale-intel-quick-add-search .autocomplete-dropdown {
  top: calc(100% + 0.35rem);
}

.sale-intel-quick-add-actions {
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.48rem;
}

.sale-intel-quick-add-actions .btn {
  min-height: 48px;
  min-width: 138px;
  white-space: nowrap;
}

.sale-intel-deal-lines-table {
  display: grid;
  gap: 0.5rem;
}

.sale-intel-line-empty {
  border: 1px dashed rgba(88, 153, 221, 0.45);
  border-radius: 12px;
  padding: 0.95rem 0.9rem;
  color: #a9c8ea;
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(8, 20, 36, 0.68);
}

.sale-intel-line-card {
  border: 1px solid rgba(96, 150, 219, 0.28);
  border-radius: 12px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(45, 102, 190, 0.16), transparent 58%),
    linear-gradient(150deg, rgba(6, 14, 27, 0.86), rgba(5, 12, 23, 0.92));
  padding: 0.54rem;
  display: grid;
  gap: 0.5rem;
}

.sale-intel-line-card-active {
  border-color: rgba(38, 241, 203, 0.76);
  box-shadow: 0 0 0 1px rgba(38, 241, 203, 0.3) inset;
}

.sale-intel-line-card-expanded {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(31, 134, 125, 0.18), transparent 58%),
    linear-gradient(150deg, rgba(6, 16, 28, 0.92), rgba(5, 12, 23, 0.96));
}

.sale-intel-line-card-main {
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
  width: 100%;
}

.sale-intel-line-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.52rem;
}

.sale-intel-line-card-title-row strong {
  color: #eaf4ff;
  font-size: 0.95rem;
  font-weight: 800;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sale-intel-line-total {
  color: #f4fcff;
  font-size: 1.02rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.sale-intel-line-card-right {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  flex: 0 0 auto;
}

.sale-intel-line-card-meta {
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.sale-intel-line-card-meta span {
  border: 1px solid rgba(108, 160, 224, 0.26);
  border-radius: 999px;
  padding: 0.2rem 0.46rem;
  background: rgba(13, 28, 49, 0.72);
  color: #b4d2f1;
  font-size: 0.73rem;
  font-weight: 700;
}

.sale-intel-line-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.sale-intel-qty-btn {
  min-width: 36px;
  min-height: 34px;
  padding: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.sale-intel-line-qty-value {
  min-width: 58px;
  text-align: center;
  color: #d4e8ff;
  font-size: 0.83rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.sale-intel-line-remove-btn {
  min-height: 34px;
  padding: 0.25rem 0.66rem;
  border-color: rgba(247, 126, 98, 0.56);
  color: #ffc3af;
}

.sale-intel-line-remove-btn:hover,
.sale-intel-line-remove-btn:focus-visible {
  border-color: rgba(255, 151, 121, 0.72);
  color: #ffd1c3;
}

.sale-intel-line-detail-panel {
  border-top: 1px solid rgba(97, 149, 219, 0.28);
  padding-top: 0.68rem;
  display: grid;
  gap: 0.42rem;
}

.sale-intel-line-detail-panel .sale-intel-deal-fieldset-label:first-child {
  margin-top: 0;
}

.sale-intel-line-detail-actions {
  border-top: 1px solid rgba(97, 149, 219, 0.2);
  display: flex;
  justify-content: flex-end;
  margin-top: 0.18rem;
  padding-top: 0.72rem;
}

.sale-intel-add-this-product-btn {
  min-height: 46px;
  min-width: 188px;
  padding-inline: 1.1rem;
}

.sale-intel-hidden-inputs {
  display: none;
}

.sale-intel-deal-lines-row {
  display: grid;
  grid-template-columns: minmax(180px, 2fr) minmax(130px, 1.1fr) 0.5fr 0.9fr 0.9fr 0.9fr;
  gap: 0.45rem;
  align-items: center;
}

.sale-intel-deal-lines-row-head {
  color: #a7c5e8;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0 0.4rem;
}

.sale-intel-deal-line-pick {
  border: 1px solid rgba(97, 149, 219, 0.28);
  border-radius: 9px;
  background: rgba(5, 13, 26, 0.85);
  color: #e5f2ff;
  font: inherit;
  cursor: pointer;
  text-align: left;
  padding: 0.48rem 0.52rem;
}

.sale-intel-deal-line-pick-active {
  border-color: rgba(38, 241, 203, 0.72);
  box-shadow: 0 0 0 1px rgba(38, 241, 203, 0.34) inset;
}

.sale-intel-deal-line-pick span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sale-intel-deal-fieldset-label {
  color: #a8c7e9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0.42rem 0 0.3rem;
  text-transform: uppercase;
}

.sale-intel-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.64rem;
}

.sale-intel-metric {
  border: 1px solid rgba(98, 145, 212, 0.38);
  border-radius: 13px;
  background:
    radial-gradient(125% 120% at 0% 0%, rgba(55, 116, 216, 0.18), transparent 56%),
    linear-gradient(150deg, rgba(14, 26, 46, 0.92), rgba(8, 16, 29, 0.96));
  padding: 0.6rem 0.72rem;
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

.sale-intel-metric-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.sale-intel-metric-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sale-intel-metric-copy {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.sale-intel-metric-copy span {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #aac5e3;
  font-weight: 700;
}

.sale-intel-metric-copy strong {
  font-size: 2.18rem;
  color: #f0f7ff;
  font-weight: 800;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.sale-intel-metric-subtotal .sale-intel-metric-icon {
  color: #9dc5ff;
  background: linear-gradient(145deg, rgba(61, 126, 226, 0.35), rgba(30, 67, 120, 0.5));
}

.sale-intel-metric-profit .sale-intel-metric-icon {
  color: #7df0b2;
  background: linear-gradient(145deg, rgba(29, 168, 118, 0.35), rgba(16, 86, 67, 0.5));
}

.sale-intel-metric-tax .sale-intel-metric-icon {
  color: #d496ff;
  background: linear-gradient(145deg, rgba(112, 73, 226, 0.4), rgba(71, 40, 146, 0.54));
}

.sale-intel-metric-total .sale-intel-metric-icon {
  color: #ffb088;
  background: linear-gradient(145deg, rgba(221, 111, 40, 0.4), rgba(122, 52, 24, 0.56));
}

.sale-intel-shell .detail-profile-actions.sale-intel-actions {
  margin-top: 0;
  padding: 0.45rem;
  border: 1px solid rgba(116, 171, 236, 0.42);
  border-radius: 16px;
  background:
    radial-gradient(160% 160% at 0% 0%, rgba(55, 115, 213, 0.28), transparent 62%),
    linear-gradient(155deg, rgba(12, 24, 41, 0.95), rgba(7, 15, 28, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(157, 201, 255, 0.16),
    0 -8px 26px rgba(3, 8, 17, 0.44);
  position: sticky;
  bottom: 0;
  z-index: 8;
  backdrop-filter: blur(7px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.42rem;
}

.sale-intel-actions .btn {
  width: 100%;
  min-height: 58px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  border-radius: 14px;
  font-size: 1.05rem;
  white-space: nowrap;
}

.sale-intel-actions .btn > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.sale-intel-actions .btn-ghost {
  border-color: rgba(111, 160, 223, 0.42);
  background: linear-gradient(150deg, rgba(11, 21, 36, 0.93), rgba(8, 16, 30, 0.95));
  color: #e1eeff;
}

.sale-intel-actions .btn-ghost:hover {
  border-color: rgba(143, 195, 255, 0.6);
}

.sale-intel-actions .btn:disabled {
  opacity: 0.4;
  transform: none;
}

.sale-intel-save-status {
  margin: 0.95rem 0 0.72rem;
  min-height: 78px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(118, 176, 248, 0.45);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(17, 32, 54, 0.96), rgba(7, 16, 30, 0.98)),
    radial-gradient(120% 140% at 0% 0%, rgba(63, 139, 229, 0.26), transparent 58%);
  box-shadow:
    inset 0 1px 0 rgba(193, 220, 255, 0.14),
    0 12px 30px rgba(0, 7, 18, 0.34);
  color: #e9f4ff;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  letter-spacing: 0;
}

.sale-intel-save-status[hidden] {
  display: none;
}

.sale-intel-save-status-icon,
.sale-intel-save-toast-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(92, 145, 219, 0.28);
  color: #b8d8ff;
}

.sale-intel-save-status-icon svg,
.sale-intel-save-toast-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sale-intel-save-status-copy,
.sale-intel-save-toast-copy {
  min-width: 0;
  display: grid;
  gap: 0.22rem;
}

.sale-intel-save-status-copy strong,
.sale-intel-save-toast-copy strong {
  font-size: 1.18rem;
  line-height: 1.15;
  color: #ffffff;
}

.sale-intel-save-status-copy small,
.sale-intel-save-toast-copy small {
  font-size: 0.93rem;
  line-height: 1.35;
  color: #c5d8f3;
}

.sale-intel-save-status-success {
  border-color: rgba(67, 225, 184, 0.72);
  background:
    linear-gradient(135deg, rgba(10, 57, 50, 0.98), rgba(6, 23, 35, 0.99)),
    radial-gradient(120% 140% at 0% 0%, rgba(54, 225, 178, 0.22), transparent 58%);
}

.sale-intel-save-status-success .sale-intel-save-status-icon {
  background: rgba(38, 178, 136, 0.32);
  color: #87ffd8;
}

.sale-intel-save-status-error {
  border-color: rgba(255, 119, 98, 0.76);
  background:
    linear-gradient(135deg, rgba(83, 25, 25, 0.98), rgba(25, 12, 21, 0.99)),
    radial-gradient(120% 140% at 0% 0%, rgba(255, 119, 98, 0.22), transparent 58%);
}

.sale-intel-save-status-error .sale-intel-save-status-icon {
  background: rgba(210, 71, 54, 0.34);
  color: #ffb4a6;
}

.sale-intel-save-status-saving .sale-intel-save-status-icon {
  animation: sale-intel-save-spin 1s linear infinite;
}

.sale-intel-save-toast {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 10000;
  width: min(520px, calc(100vw - 2rem));
  min-height: 92px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(67, 225, 184, 0.72);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(8, 55, 48, 0.98), rgba(6, 20, 31, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(207, 255, 242, 0.14),
    0 22px 58px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.sale-intel-save-toast[hidden] {
  display: none;
}

.sale-intel-save-toast-visible {
  opacity: 1;
  transform: translateY(0);
}

.sale-intel-save-toast-error {
  border-color: rgba(255, 119, 98, 0.76);
  background: linear-gradient(135deg, rgba(83, 25, 25, 0.98), rgba(25, 12, 21, 0.99));
}

.sale-intel-save-toast-success .sale-intel-save-toast-icon {
  background: rgba(38, 178, 136, 0.32);
  color: #87ffd8;
}

.sale-intel-save-toast-error .sale-intel-save-toast-icon {
  background: rgba(210, 71, 54, 0.34);
  color: #ffb4a6;
}

.sale-intel-btn-icon-spin {
  animation: sale-intel-save-spin 1s linear infinite;
}

@keyframes sale-intel-save-spin {
  to {
    transform: rotate(360deg);
  }
}

.sale-intel-btn-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.sale-intel-btn-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sale-intel-history h3 {
  margin: 0;
  color: #e1f0ff;
  font-size: clamp(1.12rem, 1.4vw, 1.28rem);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.48rem;
}

.sale-intel-history .sale-intel-history-icon {
  color: #8cb9f4;
}

.sale-intel-history .history-list {
  margin-top: 0.24rem;
  gap: 0.52rem;
}

.sale-intel-history .history-item {
  display: block;
  border-color: rgba(108, 161, 228, 0.34);
  border-radius: 12px;
  padding: 0.58rem 0.65rem;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(47, 107, 201, 0.19), transparent 58%),
    linear-gradient(150deg, rgba(8, 18, 34, 0.9), rgba(5, 12, 23, 0.94));
}

.sale-intel-history .history-item-active {
  border-color: rgba(38, 241, 203, 0.72);
  box-shadow: 0 0 0 1px rgba(38, 241, 203, 0.36) inset;
}

.sale-intel-history .history-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.sale-intel-history .history-item-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  flex: 1;
}

.sale-intel-history .history-expand-btn,
.sale-intel-history .history-expand-spacer {
  width: 1.65rem;
  min-width: 1.65rem;
  height: 1.65rem;
}

.sale-intel-history .history-expand-btn {
  border: 1px solid rgba(128, 168, 225, 0.35);
  border-radius: 999px;
  background: rgba(14, 31, 55, 0.78);
  color: #d9ecff;
  font: inherit;
  cursor: pointer;
}

.sale-intel-history .history-expand-spacer {
  display: inline-block;
}

.sale-intel-history .history-pick-btn {
  color: #e8f4ff;
  font-weight: 600;
  min-width: 0;
}

.sale-intel-history .history-actions {
  gap: 0.55rem;
}

.sale-intel-history .history-actions strong {
  color: #f0f7ff;
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
}

.sale-intel-history .history-invoice-btn {
  border-radius: 12px;
  min-height: 2.35rem;
  padding-inline: 0.85rem;
}

.sale-intel-history .history-children {
  margin-top: 0.5rem;
  padding-top: 0.44rem;
  border-top: 1px solid rgba(93, 145, 207, 0.24);
  display: grid;
  gap: 0.34rem;
}

.sale-intel-history .history-child-pick-btn {
  border: 1px solid rgba(108, 161, 228, 0.25);
  border-radius: 9px;
  background: rgba(7, 17, 33, 0.76);
  color: #d8ebff;
  font: inherit;
  cursor: pointer;
  padding: 0.44rem 0.56rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
}

.sale-intel-history .history-child-pick-btn strong {
  font-variant-numeric: tabular-nums;
}

.sale-intel-history .history-child-pick-btn-active {
  border-color: rgba(38, 241, 203, 0.72);
  box-shadow: 0 0 0 1px rgba(38, 241, 203, 0.32) inset;
}

.cart-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  border-color: rgba(121, 185, 255, 0.36);
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(43, 130, 218, 0.2), transparent 60%),
    linear-gradient(160deg, rgba(10, 19, 34, 0.98), rgba(5, 10, 20, 0.98));
  color: #ecf5ff;
}

.cart-panel .modal-head {
  padding-bottom: 0.55rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(132, 165, 212, 0.25);
}

.cart-panel .modal-head h2 {
  color: #ffffff;
}

.cart-panel .icon-btn {
  border-color: rgba(148, 183, 232, 0.42);
  color: #e8f3ff;
  background: rgba(11, 20, 35, 0.85);
}

.cart-panel label {
  color: #cfe1f8;
}

.cart-panel input,
.cart-panel select {
  color: #f3f8ff;
  border-color: rgba(124, 159, 206, 0.35);
  background: rgba(7, 14, 27, 0.92);
}

.cart-panel input::placeholder {
  color: #88a4c5;
}

.cart-panel .btn-ghost {
  border-color: rgba(127, 163, 210, 0.35);
  background: rgba(10, 20, 35, 0.86);
  color: #ebf4ff;
}

.cart-panel .btn-ghost:hover {
  border-color: rgba(76, 223, 209, 0.6);
}

.account-modal .modal-backdrop {
  background:
    radial-gradient(90% 90% at 16% 4%, rgba(36, 146, 255, 0.22), transparent 65%),
    radial-gradient(100% 90% at 86% 92%, rgba(30, 245, 200, 0.18), transparent 62%),
    rgba(2, 7, 15, 0.78);
  backdrop-filter: blur(8px);
}

.account-modal-panel {
  width: min(1080px, 95vw);
  border-color: rgba(109, 170, 242, 0.42);
  background:
    radial-gradient(130% 170% at 0% 0%, rgba(44, 125, 222, 0.2), transparent 62%),
    linear-gradient(155deg, rgba(8, 14, 24, 0.98), rgba(5, 9, 17, 0.98));
  color: #eef5ff;
}

.account-modal-panel .modal-head h2 {
  color: #f4f9ff;
}

.account-modal-panel .icon-btn {
  color: #dcedff;
  border-color: rgba(119, 170, 234, 0.4);
  background: rgba(9, 19, 34, 0.86);
}

.account-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #89ccff;
  font-weight: 800;
}

.account-modal-intro h3,
.account-profile-head h3 {
  margin: 0.26rem 0 0.2rem;
  font-size: 1.52rem;
  color: #f2f8ff;
}

.account-modal-intro p {
  margin: 0;
  color: #a4bbd7;
  max-width: 56ch;
}

.account-modal-panel p,
.account-modal-panel span,
.account-modal-panel strong {
  color: #e8f2ff;
}

.account-modal-panel .muted {
  color: #9db4d2;
}

.account-modal-panel label {
  color: #d9e8fb;
}

.account-auth-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.account-auth-card {
  border: 1px solid rgba(112, 160, 216, 0.34);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(13, 22, 37, 0.95), rgba(10, 16, 28, 0.96));
  padding: 0.95rem;
  display: grid;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease,
    background 200ms ease;
}

.account-auth-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(71, 146, 231, 0.14), rgba(49, 210, 194, 0.08));
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.account-auth-card:hover,
.account-auth-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(102, 189, 255, 0.72);
  box-shadow:
    0 16px 34px rgba(9, 35, 64, 0.4),
    0 0 0 1px rgba(102, 189, 255, 0.24) inset;
}

.account-auth-card:hover::before,
.account-auth-card:focus-within::before {
  opacity: 1;
}

.account-auth-card-shake {
  animation: account-auth-error-shake 620ms cubic-bezier(0.17, 0.89, 0.32, 1.23);
}

@keyframes account-auth-error-shake {
  0% {
    transform: translateX(0) scale(1);
    border-color: rgba(112, 160, 216, 0.34);
    box-shadow: none;
  }
  20% {
    transform: translateX(-8px) rotate(-0.7deg);
    border-color: rgba(255, 113, 126, 0.76);
    box-shadow: 0 0 0 1px rgba(255, 113, 126, 0.34), 0 16px 34px rgba(66, 9, 24, 0.38);
  }
  40% {
    transform: translateX(7px) rotate(0.65deg);
  }
  58% {
    transform: translateX(-5px) rotate(-0.45deg);
  }
  76% {
    transform: translateX(4px) rotate(0.3deg);
  }
  100% {
    transform: translateX(0) scale(1);
    border-color: rgba(255, 113, 126, 0.62);
    box-shadow: 0 0 0 1px rgba(255, 113, 126, 0.3), 0 12px 26px rgba(66, 9, 24, 0.3);
  }
}

.account-login-feedback {
  border: 1px solid rgba(255, 121, 133, 0.62);
  background: linear-gradient(155deg, rgba(66, 11, 25, 0.9), rgba(40, 7, 17, 0.92));
  color: #ff9cab;
  border-radius: 12px;
  padding: 0.58rem 0.72rem;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.01em;
  font-size: 1.03rem;
  line-height: 1.28;
  box-shadow: 0 10px 22px rgba(66, 8, 22, 0.32);
}

.account-auth-card-accent {
  border-color: rgba(30, 245, 200, 0.44);
  background:
    radial-gradient(120% 170% at 0% 0%, rgba(27, 143, 151, 0.18), transparent 65%),
    linear-gradient(150deg, rgba(8, 28, 35, 0.95), rgba(8, 19, 28, 0.96));
}

.account-auth-card h4 {
  margin: 0;
  font-size: 1.05rem;
  color: #f6fbff;
}

.account-auth-card label {
  color: #cfe1f8;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.account-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.account-forgot-link {
  border: 0;
  background: transparent;
  color: #9bc5ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  padding: 0;
}

.account-forgot-link:hover,
.account-forgot-link:focus-visible {
  color: #d8ebff;
  text-decoration: underline;
  outline: none;
}

.forgot-inline-wrap {
  border: 1px solid rgba(111, 153, 212, 0.28);
  border-radius: 12px;
  background: rgba(7, 14, 27, 0.72);
  padding: 0.55rem;
  display: grid;
  gap: 0.45rem;
}

.forgot-inline-actions {
  display: flex;
  justify-content: flex-end;
}

.account-auth-card input {
  color: #f5f9ff;
  border-color: rgba(111, 153, 212, 0.34);
  background: rgba(6, 13, 25, 0.92);
}

.account-auth-card textarea {
  color: #f5f9ff;
  border: 1px solid rgba(111, 153, 212, 0.34);
  border-radius: 10px;
  background: rgba(6, 13, 25, 0.92);
  padding: 0.55rem 0.65rem;
  width: 100%;
  resize: vertical;
  min-height: 7rem;
}

.system-email-vars {
  color: #9fb6d3;
  font-size: 0.8rem;
  line-height: 1.35;
}

.system-email-layout {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 0.9rem;
  align-items: start;
}

.system-email-list {
  border: 1px solid rgba(111, 153, 212, 0.28);
  border-radius: 14px;
  background: rgba(7, 14, 27, 0.72);
  padding: 0.55rem;
  display: grid;
  gap: 0.45rem;
}

.system-email-item {
  border: 1px solid rgba(105, 156, 221, 0.28);
  background: rgba(7, 15, 29, 0.9);
  border-radius: 12px;
  color: #e8f2ff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: left;
  padding: 0.8rem 0.75rem;
  cursor: pointer;
}

.system-email-item.active {
  border-color: rgba(119, 194, 255, 0.85);
  box-shadow: 0 0 0 2px rgba(119, 194, 255, 0.18) inset;
}

.system-email-editor {
  border: 1px solid rgba(111, 153, 212, 0.28);
  border-radius: 14px;
  background: rgba(7, 14, 27, 0.72);
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.system-email-editor h3 {
  margin: 0;
  font-size: 1.22rem;
  color: #f6fbff;
}

.system-email-editor input,
.system-email-editor textarea {
  color: #f5f9ff;
  border: 1px solid rgba(111, 153, 212, 0.34);
  border-radius: 10px;
  background: rgba(6, 13, 25, 0.92);
}

.system-email-toolbar {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.system-email-wysiwyg {
  min-height: 220px;
  border: 1px solid rgba(111, 153, 212, 0.34);
  border-radius: 10px;
  background: rgba(6, 13, 25, 0.92);
  color: #f5f9ff;
  padding: 0.7rem;
  line-height: 1.45;
}

.system-email-wysiwyg:focus {
  border-color: rgba(95, 202, 255, 0.86);
  box-shadow: 0 0 0 3px rgba(95, 202, 255, 0.18);
  outline: none;
}

.system-email-var-chip {
  border: 1px solid rgba(111, 153, 212, 0.38);
  border-radius: 999px;
  background: rgba(10, 21, 38, 0.88);
  color: #d4e7ff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  cursor: pointer;
  margin-right: 0.3rem;
}

.system-email-preview-html {
  border: 1px solid rgba(111, 153, 212, 0.24);
  border-radius: 8px;
  background: rgba(4, 10, 20, 0.7);
  padding: 0.55rem;
}

.system-email-preview-wrap {
  border: 1px solid rgba(111, 153, 212, 0.28);
  border-radius: 10px;
  background: rgba(7, 14, 27, 0.75);
  padding: 0.55rem 0.65rem;
  display: grid;
  gap: 0.35rem;
}

.system-email-preview-wrap strong {
  color: #d8e9fd;
  font-size: 0.82rem;
}

.system-email-preview-subject {
  color: #bfd7f4;
  font-size: 0.82rem;
}

.system-email-preview {
  margin: 0;
  white-space: pre-wrap;
  color: #e6f1ff;
  font-family: inherit;
  font-size: 0.82rem;
  line-height: 1.35;
}

.system-email-preview-html p {
  margin: 0 0 10px;
}

.system-email-preview-html p:last-child {
  margin-bottom: 0;
}

.account-auth-card input[type='checkbox'] {
  width: auto;
  margin-right: 0.45rem;
}

.password-input-wrap {
  position: relative;
  display: block;
}

.password-input-wrap input {
  padding-right: 3rem;
}

.password-toggle-btn {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(158, 193, 241, 0.34);
  background: rgba(9, 18, 34, 0.9);
  color: #ffffff;
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus-visible {
  border-color: rgba(118, 198, 255, 0.92);
  box-shadow: 0 0 0 2px rgba(118, 198, 255, 0.2);
  background: rgba(15, 31, 57, 0.95);
  outline: none;
}

.password-toggle-btn[aria-pressed='true'] {
  border-color: rgba(30, 245, 200, 0.86);
  box-shadow: 0 0 0 2px rgba(30, 245, 200, 0.16);
}

.account-auth-card input::placeholder {
  color: #8da8c8;
}

.account-auth-card input:focus {
  border-color: rgba(95, 202, 255, 0.86);
  box-shadow: 0 0 0 3px rgba(95, 202, 255, 0.18);
  outline: none;
}

.account-auth-card .btn {
  margin-top: 0.25rem;
}

.account-auth-card-accent:hover,
.account-auth-card-accent:focus-within {
  border-color: rgba(30, 245, 200, 0.75);
  box-shadow:
    0 16px 34px rgba(7, 63, 58, 0.4),
    0 0 0 1px rgba(30, 245, 200, 0.25) inset;
}

.account-profile-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-end;
}

.account-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.account-table-wrap {
  margin-top: 0.8rem;
  border-color: rgba(112, 160, 216, 0.3);
}

.account-modal-panel table th {
  color: #b5cae7;
}

.account-modal-panel table td {
  color: #eef5ff;
}

.account-modal-panel table tr:hover td {
  color: #ffffff;
}

.account-modal-panel .table-wrap table tbody tr td a {
  color: #f3f8ff;
}

.account-modal-panel .status {
  color: #d7e8ff;
}

.account-create-user {
  margin-top: 0.85rem;
  border: 1px solid rgba(255, 159, 102, 0.35);
  border-radius: 16px;
  background:
    radial-gradient(120% 170% at 0% 0%, rgba(255, 126, 52, 0.18), transparent 62%),
    linear-gradient(155deg, rgba(32, 17, 12, 0.9), rgba(24, 11, 8, 0.92));
  padding: 0.95rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.account-create-user h4 {
  margin: 0;
  grid-column: 1 / -1;
  color: #ffe1d0;
}

.account-profile-actions {
  display: flex;
  align-items: end;
}

.account-security-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #ffd9c6;
  font-size: 0.8rem;
  line-height: 1.35;
}

.admin-users-table tbody tr {
  cursor: pointer;
}

.admin-users-table tbody tr:hover td {
  background: rgba(20, 41, 67, 0.7);
}

.admin-user-row-active td {
  background: rgba(28, 81, 121, 0.6);
  box-shadow: inset 0 0 0 1px rgba(90, 196, 255, 0.34);
}

.confirm-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  width: min(560px, 92vw);
  border-color: rgba(255, 153, 102, 0.42);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(245, 108, 53, 0.18), transparent 56%),
    linear-gradient(150deg, rgba(15, 22, 35, 0.98), rgba(6, 11, 21, 0.98));
}

.confirm-panel.confirm-panel-deal-check {
  width: min(680px, 92vw);
  border-color: rgba(102, 174, 236, 0.34);
  background:
    radial-gradient(110% 120% at 0% 0%, rgba(16, 44, 87, 0.4), transparent 62%),
    linear-gradient(155deg, rgba(5, 13, 28, 0.98), rgba(3, 9, 21, 0.98));
}

.confirm-panel.confirm-panel-deal-check .modal-head {
  justify-content: center;
  margin-bottom: 0.2rem;
  position: relative;
}

.confirm-panel.confirm-panel-deal-check .modal-head .icon-btn {
  position: absolute;
  right: 0;
  top: 0;
}

.confirm-panel.confirm-panel-deal-check #confirmTitle {
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  letter-spacing: -0.01em;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  color: #f2f7ff;
}

.confirm-icon-wrap {
  width: 122px;
  height: 122px;
  border-radius: 50%;
  margin: 0.7rem auto 1.15rem;
  background: radial-gradient(circle at 30% 25%, rgba(255, 139, 92, 0.92), rgba(102, 27, 18, 0.88));
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 174, 141, 0.23);
}

.confirm-icon-glyph {
  font-size: 2.9rem;
  line-height: 1;
  color: #2f0f08;
}

.confirm-message {
  margin: 0.2rem 0 1rem;
  font-size: 1.02rem;
  color: #e8f0ff;
  line-height: 1.45;
}

.confirm-panel.confirm-panel-deal-check .confirm-message {
  margin: 0.15rem auto 1.4rem;
  max-width: 30ch;
  text-align: center;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  color: #cdd9ec;
  line-height: 1.45;
}

.confirm-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
}

.confirm-panel.confirm-panel-deal-check .confirm-actions {
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 0.8rem;
}

.confirm-panel.confirm-panel-deal-check .confirm-actions .btn {
  width: 100%;
  min-height: 62px;
  border-radius: 16px;
  font-size: 1.35rem;
}

.confirm-panel.confirm-panel-deal-check #confirmOkBtn {
  border-color: rgba(255, 166, 108, 0.64);
  background: linear-gradient(120deg, #ff7a3a 0%, #ff9853 100%);
  color: #2f1308;
}

.confirm-panel.confirm-panel-deal-check #confirmCancelBtn {
  border-color: rgba(84, 108, 143, 0.42);
  background: rgba(29, 41, 66, 0.82);
  color: #dce8f8;
}

.confirm-inline-price {
  margin-top: 0.75rem;
  padding: 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(89, 136, 196, 0.36);
  background: rgba(8, 18, 38, 0.78);
}

.confirm-inline-price label {
  font-size: 0.83rem;
  color: #b5c7de;
  margin-bottom: 0.42rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.confirm-inline-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.58rem;
  align-items: center;
}

.confirm-inline-price-row input {
  min-height: 48px;
  border-radius: 12px;
  background: rgba(4, 10, 22, 0.92);
}

.confirm-inline-price-row .btn {
  min-height: 48px;
  border-radius: 12px;
}

.confirm-inline-price-error {
  margin: 0.5rem 0 0;
  min-height: 1.05rem;
  font-size: 0.84rem;
  color: #ffb391;
}

.btn-alert {
  border-color: rgba(245, 133, 76, 0.72);
  background: linear-gradient(120deg, #f56c35 0%, #f09731 100%);
  color: #fff;
}

@media (max-width: 680px) {
  .confirm-panel.confirm-panel-deal-check #confirmTitle {
    font-size: 1.55rem;
  }

  .confirm-panel.confirm-panel-deal-check .confirm-message {
    font-size: 1.07rem;
  }

  .confirm-panel.confirm-panel-deal-check .confirm-actions .btn {
    min-height: 54px;
    font-size: 1.08rem;
  }

  .confirm-inline-price-row {
    grid-template-columns: 1fr;
  }
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.quick-deal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  width: min(1120px, 95vw);
  max-height: 88vh;
  overflow: auto;
  border-color: rgba(82, 188, 228, 0.35);
  background:
    radial-gradient(110% 85% at 0% 0%, rgba(19, 57, 108, 0.34), transparent 62%),
    radial-gradient(125% 110% at 100% 0%, rgba(9, 25, 56, 0.42), transparent 58%),
    linear-gradient(155deg, rgba(8, 16, 30, 0.98), rgba(4, 10, 20, 0.98));
}

.quick-deal-panel .modal-head h2 {
  color: #ffffff;
}

.quick-deal-layout {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(290px, 1fr);
  gap: 0.95rem;
  align-items: stretch;
}

.quick-deal-main {
  display: grid;
  gap: 0.95rem;
}

.quick-deal-side {
  display: grid;
}

.quick-deal-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.quick-deal-step-card {
  border: 1px solid rgba(95, 132, 175, 0.3);
  border-radius: 22px;
  padding: 1.05rem;
  background: linear-gradient(160deg, rgba(9, 21, 41, 0.92), rgba(5, 12, 25, 0.9));
  box-shadow: inset 0 0 0 1px rgba(38, 68, 114, 0.22);
}

.quick-deal-step-kicker {
  margin: 0 0 0.9rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(185, 201, 225, 0.86);
  font-weight: 800;
}

.quick-deal-label {
  display: grid;
  gap: 0.46rem;
  color: #8fa3c0;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quick-deal-label input {
  min-height: 50px;
  border-radius: 16px;
  border-color: rgba(76, 108, 153, 0.45);
  background: rgba(1, 6, 15, 0.9);
  color: #eaf3ff;
  font-size: 1.06rem;
  letter-spacing: 0;
  text-transform: none;
}

.quick-deal-label input::placeholder {
  color: #617899;
}

.deal-exemption-toggle {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.7rem;
  text-transform: none;
}

.deal-exemption-toggle input[type='checkbox'] {
  width: 18px;
  height: 18px;
  min-height: 0;
  border: 0;
  background: transparent;
  margin: 0;
  accent-color: #4ac27b;
}

.deal-exemption-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.deal-exemption-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.42rem 0.68rem;
  border-radius: 12px;
  border: 1px solid rgba(91, 125, 170, 0.55);
  background: rgba(4, 15, 33, 0.9);
  color: #dbe8ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-deal-step-search .quick-deal-label input {
  min-height: 58px;
  font-size: 1.08rem;
}

.quick-deal-lines {
  display: grid;
  gap: 0.85rem;
}

.quick-deal-line-card {
  border: 1px solid rgba(87, 132, 184, 0.34);
  border-radius: 18px;
  padding: 0.9rem;
  background: linear-gradient(150deg, rgba(5, 16, 33, 0.84), rgba(4, 11, 21, 0.8));
  box-shadow: inset 0 0 0 1px rgba(44, 76, 124, 0.2);
}

.quick-deal-line-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.quick-deal-line-head-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.quick-deal-line-custom-toggle {
  min-height: 38px;
  border-radius: 12px;
  font-size: 0.84rem;
}

.quick-deal-line-head .quick-deal-step-kicker {
  margin-bottom: 0.45rem;
}

.quick-deal-line-remove-btn {
  min-height: 38px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.quick-deal-line-actions {
  margin-top: 0.75rem;
}

.quick-deal-step-target {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 0.85rem;
}

.quick-deal-custom-shipping {
  border: 1px solid rgba(87, 132, 184, 0.34);
  border-radius: 12px;
  padding: 0.7rem;
  background: rgba(7, 18, 35, 0.72);
}

.quick-deal-actions {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.62rem;
}

.quick-deal-actions .btn {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  font-size: 1.1rem;
}

.quick-link-row {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.quick-link-row input {
  flex: 1;
  min-width: 260px;
  min-height: 54px;
  border-radius: 16px;
  border-color: rgba(76, 108, 153, 0.45);
  background: rgba(1, 6, 15, 0.9);
  font-size: 1.02rem;
}

.quick-link-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.quick-link-actions .btn {
  min-height: 54px;
  border-radius: 16px;
  min-width: 110px;
  font-size: 1.08rem;
}

.quick-deal-panel #quickDealStatus {
  margin-top: 0.85rem;
  color: #dce9ff;
}

@media (max-width: 980px) {
  .quick-deal-layout {
    grid-template-columns: 1fr;
  }

  .quick-deal-step-target {
    grid-template-rows: auto auto auto auto;
  }
}

@media (max-width: 680px) {
  .quick-deal-pair-grid {
    grid-template-columns: 1fr;
  }

  .quick-link-actions {
    width: 100%;
  }

  .quick-link-actions .btn {
    flex: 1;
    min-width: 0;
  }
}

.icon-btn {
  border: 1px solid var(--line);
  background: rgba(12, 19, 29, 0.85);
  color: var(--ink);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.form-actions {
  grid-column: 1 / -1;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-wide {
  position: relative;
}

.address-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 13, 21, 0.98);
  z-index: 40;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.address-option {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  color: var(--ink);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  font: inherit;
  border-bottom: 1px solid rgba(140, 160, 187, 0.2);
}

.address-option:last-child {
  border-bottom: none;
}

.address-option:hover {
  background: rgba(20, 35, 56, 0.72);
}

.autocomplete-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 13, 21, 0.98);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  z-index: 55;
}

.autocomplete-option {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(140, 160, 187, 0.2);
  background: transparent;
  color: var(--ink);
  text-align: left;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  font: inherit;
  display: grid;
  gap: 0.18rem;
}

.autocomplete-option:last-child {
  border-bottom: none;
}

.autocomplete-option:hover,
.autocomplete-option.active {
  background: rgba(20, 35, 56, 0.72);
}

.autocomplete-option-name {
  font-weight: 700;
}

.autocomplete-option-meta {
  font-size: 0.76rem;
  color: var(--ink-soft);
}

.autocomplete-empty {
  padding: 0.6rem 0.65rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.deal-product-search-wrap,
.quick-deal-search-wrap,
.sale-product-search-wrap {
  position: relative;
}

.deal-product-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.deal-custom-toggle-btn {
  min-height: 32px;
  padding: 0.2rem 0.62rem;
  font-size: 0.74rem;
}

.deal-custom-item-wrap {
  grid-column: 1 / -1;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.detail-item {
  padding: 0.62rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(10, 16, 26, 0.85);
}

.detail-item strong {
  display: block;
  margin-bottom: 0.28rem;
  color: #f3f9ff;
}

.detail-item div {
  color: #e7f2ff;
}

.detail-edit-input {
  width: 100%;
  background: rgba(6, 14, 25, 0.95);
  border-color: rgba(71, 114, 166, 0.6);
  color: #ffffff;
}

.detail-edit-textarea {
  min-height: 2.8rem;
  resize: vertical;
  font: inherit;
}

.detail-profile-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.history-list {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.45rem;
}

.history-item {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 16, 26, 0.75);
}

.history-item-active {
  border-color: rgba(30, 245, 200, 0.65);
  box-shadow: 0 0 0 1px rgba(30, 245, 200, 0.35) inset;
}

.history-pick-btn {
  flex: 1;
  text-align: left;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.history-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.history-invoice-btn {
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
}

#viewDashboardBtn.active,
#viewShopBtn.active,
#viewMobileBtn.active,
#viewAdminBtn.active,
#viewSystemBtn.active {
  border-color: rgba(30, 245, 200, 0.6);
  box-shadow: 0 0 0 1px rgba(30, 245, 200, 0.35) inset;
  background: rgba(14, 38, 39, 0.72);
}

.view-switch {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.account-topbar-btn {
  border-color: rgba(95, 181, 255, 0.55);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(35, 152, 255, 0.26), transparent 58%),
    linear-gradient(150deg, rgba(18, 34, 54, 0.96), rgba(12, 22, 38, 0.98));
  color: #f2f7ff;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 32px rgba(17, 74, 145, 0.3);
}

.account-topbar-btn[data-auth-state='signed-in'] {
  border-color: rgba(30, 245, 200, 0.62);
  box-shadow: 0 14px 32px rgba(16, 113, 110, 0.34);
}

.account-topbar-wrap {
  display: grid;
  justify-items: end;
  gap: 0.2rem;
  flex: 0 0 auto;
}

.account-welcome-text {
  min-height: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8ec8ff;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.account-welcome-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.app-view {
  display: none;
  grid-column: 1 / -1;
}

.app-view-active {
  display: grid;
  gap: 1rem;
}

.checkout-success-view {
  position: fixed;
  inset: 0;
  z-index: 4000;
  overflow-y: auto;
  padding: clamp(1rem, 2.4vw, 2rem);
  background:
    radial-gradient(1200px 700px at 4% 0%, rgba(255, 122, 38, 0.24), transparent 56%),
    radial-gradient(1000px 540px at 100% 100%, rgba(17, 196, 188, 0.16), transparent 54%),
    linear-gradient(180deg, #041223 0%, #091b35 44%, #091427 100%);
}

.checkout-success-shell {
  max-width: 1040px;
  margin: 0 auto;
  border: 1px solid rgba(155, 197, 255, 0.38);
  border-radius: 24px;
  padding: clamp(1rem, 2vw, 1.8rem);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.97));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.3);
}

.checkout-success-header h2 {
  margin: 0;
  line-height: 0.9;
  font-size: clamp(2.8rem, 12vw, 7.2rem);
  letter-spacing: 0.06em;
  color: #091a36;
}

.checkout-success-hero-image {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid #cdddf3;
  margin-bottom: 0.95rem;
  box-shadow: 0 12px 28px rgba(9, 27, 53, 0.2);
}

.checkout-success-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ca5b1f;
  font-weight: 800;
}

.checkout-success-headline {
  margin: 0.6rem 0 0;
  color: #213251;
  font-size: clamp(1rem, 2.3vw, 1.3rem);
}

.checkout-success-purpose {
  margin: 0.55rem 0 0;
  color: #c85a20;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.checkout-success-content {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

.checkout-success-card {
  border: 1px solid #dce7f7;
  border-radius: 14px;
  background: #fff;
  padding: 0.85rem;
}

.checkout-success-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  border-bottom: 1px solid #e8eef9;
  padding: 0.62rem 0;
}

.checkout-success-line:last-child {
  border-bottom: 0;
}

.checkout-success-line img,
.checkout-success-line-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid #dce7f7;
  object-fit: cover;
  background: #f8fbff;
}

.checkout-success-line-title {
  font-weight: 800;
  color: #0f172a;
}

.checkout-success-line-meta {
  font-size: 0.85rem;
  color: #4e607f;
}

.checkout-success-line-price {
  text-align: right;
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
}

.checkout-success-totals {
  display: grid;
  gap: 0.35rem;
}

.checkout-success-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1f2a44;
  font-size: 0.95rem;
}

.checkout-success-total-row.final {
  margin-top: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px solid #dce7f7;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}

.checkout-success-actions {
  margin-top: 0.8rem;
  display: flex;
  justify-content: flex-end;
}

body.checkout-success-mode .topbar,
body.checkout-success-mode main.layout,
body.checkout-success-mode .site-footer,
body.checkout-success-mode .ambient {
  visibility: hidden;
}

.ops-experience-rail {
  display: none;
}

body.dashboard-experience:not(.mobile-ops-mode) {
  padding: 0.85rem;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 620px at 4% 2%, rgba(255, 116, 43, 0.22), transparent 52%),
    radial-gradient(1020px 560px at 100% 94%, rgba(0, 208, 201, 0.16), transparent 48%),
    linear-gradient(180deg, #04090f 0%, #050d18 54%, #040912 100%);
}

body.dashboard-experience:not(.mobile-ops-mode) .ambient {
  opacity: 0.11;
}

body.dashboard-experience:not(.mobile-ops-mode) .topbar {
  position: relative;
  z-index: 2000;
  margin-bottom: 0.95rem;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(95, 126, 162, 0.34);
  background:
    radial-gradient(95% 220% at 0% 0%, rgba(242, 102, 35, 0.28), transparent 56%),
    radial-gradient(95% 220% at 100% 100%, rgba(8, 112, 139, 0.2), transparent 62%),
    linear-gradient(140deg, rgba(7, 14, 25, 0.96), rgba(4, 10, 20, 0.98));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
  overflow: visible;
}

body.dashboard-experience:not(.mobile-ops-mode) .topbar::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 50% 50%, rgba(245, 118, 42, 0.22), transparent 50%);
  opacity: 0.32;
}

body.dashboard-experience:not(.mobile-ops-mode) .brand-wrap,
body.dashboard-experience:not(.mobile-ops-mode) .topbar-actions {
  position: relative;
  z-index: 1;
}

body.dashboard-experience:not(.mobile-ops-mode) .brand-wrap {
  gap: 0.85rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .brand-logo {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  border-color: rgba(214, 231, 255, 0.72);
}

body.dashboard-experience:not(.mobile-ops-mode) .brand-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #00f2df;
}

body.dashboard-experience:not(.mobile-ops-mode) h1 {
  font-size: clamp(2rem, 3vw, 3.15rem);
  letter-spacing: 0.015em;
  font-style: italic;
  line-height: 0.95;
}

body.dashboard-experience:not(.mobile-ops-mode) .topbar-actions {
  gap: 0.6rem;
  align-items: center;
}

body.dashboard-experience:not(.mobile-ops-mode) #adminMenuWrap[open] {
  z-index: 2200;
}

body.dashboard-experience:not(.mobile-ops-mode) .topbar-actions .btn,
body.dashboard-experience:not(.mobile-ops-mode) .admin-menu-toggle {
  min-height: 52px;
  border-radius: 15px;
  border: 1px solid rgba(104, 145, 188, 0.52);
  background: linear-gradient(160deg, rgba(9, 18, 30, 0.95), rgba(5, 12, 24, 0.96));
  box-shadow: inset 0 0 0 1px rgba(13, 37, 64, 0.6), 0 10px 26px rgba(0, 0, 0, 0.33);
  padding: 0.7rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  color: #f4f8ff;
}

body.dashboard-experience:not(.mobile-ops-mode) #reportIssueBtn::before {
  content: '◈';
  color: #dce8fb;
}

body.dashboard-experience:not(.mobile-ops-mode) #openQuickDealModalBtn {
  border-color: rgba(23, 233, 211, 0.8);
  color: #eaffff;
  box-shadow: inset 0 0 0 1px rgba(23, 233, 211, 0.5), 0 0 20px rgba(23, 233, 211, 0.17);
}

body.dashboard-experience:not(.mobile-ops-mode) #openQuickDealModalBtn::before {
  content: '◈';
  color: #7effea;
}

body.dashboard-experience:not(.mobile-ops-mode) #openSaleModalBtn {
  border-color: rgba(255, 142, 70, 0.92);
  background: linear-gradient(135deg, #8a3d0a 0%, #bc5a1b 40%, #ee7f2d 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 185, 139, 0.36), 0 0 26px rgba(255, 125, 43, 0.28);
}

body.dashboard-experience:not(.mobile-ops-mode) #openSaleModalBtn::before {
  content: '+';
  font-size: 1.15rem;
  font-weight: 900;
}

body.dashboard-experience:not(.mobile-ops-mode) .admin-menu-toggle::before {
  content: '◯';
  font-size: 1.02rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .admin-menu-toggle::after {
  content: '▾';
  margin-left: 0.35rem;
  font-size: 0.8rem;
  opacity: 0.85;
}

body.dashboard-experience:not(.mobile-ops-mode) #dashboardView {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  min-width: 0;
}

body.dashboard-experience:not(.mobile-ops-mode) #dashboardView > #mobileAdminOverlay {
  grid-column: 1 / -1;
}

body.dashboard-experience:not(.mobile-ops-mode) #dashboardView > section:not(#mobileOpsTopbar) {
  grid-column: 1;
  min-width: 0;
  max-width: 100%;
}

body.dashboard-experience:not(.mobile-ops-mode) #dashboardView .card {
  min-width: 0;
  max-width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(85, 127, 168, 0.4);
  background:
    radial-gradient(150% 160% at 0% 0%, rgba(32, 115, 174, 0.14), transparent 57%),
    linear-gradient(155deg, rgba(8, 17, 31, 0.94), rgba(4, 10, 20, 0.96));
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(8, 36, 68, 0.4);
  padding: 0.75rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .hero-card {
  padding: 0.84rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .hero-card::before {
  background:
    radial-gradient(85% 180% at 0% 0%, rgba(255, 133, 56, 0.16), transparent 56%),
    radial-gradient(90% 170% at 100% 100%, rgba(25, 226, 200, 0.12), transparent 62%);
}

body.dashboard-experience:not(.mobile-ops-mode) .hero-head {
  margin-bottom: 0.78rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .hero-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .hero-title-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(17, 221, 212, 0.65);
  display: inline-grid;
  place-items: center;
  background: rgba(5, 44, 54, 0.58);
  color: #4af7e2;
  flex: 0 0 auto;
}

body.dashboard-experience:not(.mobile-ops-mode) .hero-title-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.dashboard-experience:not(.mobile-ops-mode) .hero-head h2 {
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  letter-spacing: 0.005em;
  text-transform: none;
  line-height: 1;
}

body.dashboard-experience:not(.mobile-ops-mode) .hero-head .muted {
  margin-top: 0.25rem;
  font-size: 1.05rem;
  color: #c2d2e9;
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-toggle-wrap {
  gap: 0.68rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-mode-label {
  color: #b4c7df;
  font-size: 0.9rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-toggle-btn {
  min-height: 52px;
  border-radius: 15px;
  border-color: rgba(86, 132, 173, 0.64);
  background: linear-gradient(165deg, rgba(10, 21, 35, 0.95), rgba(5, 12, 23, 0.96));
  color: #d9ebff;
  padding-inline: 1.08rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-toggle-btn[aria-pressed='true'] {
  border-color: rgba(30, 245, 200, 0.72);
  box-shadow: 0 0 0 1px rgba(30, 245, 200, 0.34) inset, 0 0 20px rgba(30, 245, 200, 0.15);
  background: linear-gradient(158deg, rgba(11, 89, 87, 0.88), rgba(7, 55, 68, 0.9));
  color: #d9fff7;
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-channel-bar {
  margin-bottom: 0.54rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-channel-head strong {
  color: #b9cde9;
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-channel-head .muted {
  color: #9fb5d1;
  font-size: 0.84rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .range-bar {
  grid-template-columns: minmax(320px, 1fr) auto auto;
  gap: 0.52rem;
  margin-bottom: 0.72rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .range-pills {
  gap: 0.42rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .range-custom {
  gap: 0.45rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .range-custom input {
  min-width: 168px;
  border-radius: 12px;
  border-color: rgba(120, 155, 194, 0.45);
  background: linear-gradient(165deg, rgba(11, 22, 37, 0.94), rgba(6, 13, 24, 0.95));
}

body.dashboard-experience:not(.mobile-ops-mode) .range-custom .btn {
  min-width: 96px;
  border-radius: 12px;
  border-color: rgba(30, 245, 200, 0.62);
  background: linear-gradient(140deg, rgba(11, 90, 89, 0.82), rgba(7, 53, 68, 0.9));
}

body.dashboard-experience:not(.mobile-ops-mode) .compare-badge {
  border-radius: 12px;
  border-color: rgba(72, 128, 180, 0.45);
  background: linear-gradient(165deg, rgba(8, 20, 33, 0.95), rgba(4, 12, 23, 0.97));
  color: #8efce7;
  font-weight: 700;
}

body.dashboard-experience:not(.mobile-ops-mode) .kpi-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.62rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .kpi-tile {
  position: relative;
  border-radius: 16px;
  border-color: rgba(83, 131, 173, 0.42);
  background: linear-gradient(160deg, rgba(9, 20, 35, 0.88), rgba(6, 14, 27, 0.88));
  padding: 0.65rem 0.72rem 0.6rem;
  min-height: 118px;
  overflow: hidden;
}

body.dashboard-experience:not(.mobile-ops-mode) .kpi-audit-badge {
  border-color: rgba(74, 129, 182, 0.52);
  background: rgba(12, 26, 44, 0.88);
  color: #85d8cb;
}

body.dashboard-experience:not(.mobile-ops-mode) .kpi-head h3 {
  font-size: 0.72rem;
  color: #b9cde9;
  letter-spacing: 0.08em;
}

body.dashboard-experience:not(.mobile-ops-mode) .kpi-value {
  margin-top: 0.4rem;
  font-size: clamp(1.7rem, 2vw, 2.45rem);
}

body.dashboard-experience:not(.mobile-ops-mode) .kpi-tile::after {
  content: '';
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.52rem;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(69, 179, 228, 0.05), rgba(69, 179, 228, 0.72), rgba(69, 179, 228, 0.08));
}

body.dashboard-experience:not(.mobile-ops-mode) .kpi-tile-paddles {
  border-color: rgba(255, 123, 46, 0.88);
  background:
    radial-gradient(110% 160% at 0% 0%, rgba(255, 109, 42, 0.34), transparent 58%),
    linear-gradient(165deg, rgba(38, 15, 10, 0.94), rgba(17, 11, 14, 0.95));
  box-shadow: 0 0 0 1px rgba(255, 154, 91, 0.38) inset, 0 0 26px rgba(255, 125, 43, 0.26);
}

body.dashboard-experience:not(.mobile-ops-mode) .kpi-tile-paddles .kpi-head h3,
body.dashboard-experience:not(.mobile-ops-mode) .kpi-tile-paddles .kpi-value {
  color: #ffdcc3;
}

body.dashboard-experience:not(.mobile-ops-mode) .hero-card.audit-mode-active .kpi-tile.pulse-audit-selected {
  border-color: rgba(255, 131, 52, 0.92);
  box-shadow: 0 0 0 1px rgba(255, 155, 88, 0.34) inset, 0 0 30px rgba(255, 119, 36, 0.22);
}

body.dashboard-experience:not(.mobile-ops-mode) .hero-card.audit-mode-active .kpi-tile.pulse-audit-selected .kpi-audit-badge {
  border-color: rgba(255, 176, 116, 0.68);
  background: rgba(83, 37, 19, 0.94);
  color: #ffe8d6;
}

body.dashboard-experience:not(.mobile-ops-mode) .kpi-paddles-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 0.7rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .kpi-paddles-bars {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.14rem;
  min-height: 54px;
}

body.dashboard-experience:not(.mobile-ops-mode) .kpi-paddles-bars span {
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, rgba(255, 166, 96, 0.95), rgba(235, 95, 28, 0.72));
  height: var(--h);
  align-self: end;
}

body.dashboard-experience:not(.mobile-ops-mode) .chip-head {
  margin-top: 0.76rem;
  padding-top: 0.52rem;
  border-top: 1px solid rgba(66, 113, 160, 0.32);
}

body.dashboard-experience:not(.mobile-ops-mode) .chip-row {
  margin-top: 0.42rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .chip {
  border-color: rgba(90, 129, 174, 0.4);
  background: linear-gradient(160deg, rgba(11, 21, 37, 0.9), rgba(7, 14, 25, 0.93));
  color: #dbe6f7;
  padding: 0.38rem 0.72rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .chip.active {
  border-color: rgba(13, 227, 203, 0.8);
  box-shadow: 0 0 0 1px rgba(13, 227, 203, 0.4) inset;
  background: linear-gradient(165deg, rgba(8, 86, 83, 0.76), rgba(5, 45, 57, 0.88));
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-panel {
  border-color: rgba(81, 125, 170, 0.65);
  border-radius: 18px;
  background:
    radial-gradient(120% 170% at 0% 0%, rgba(35, 109, 171, 0.2), transparent 58%),
    linear-gradient(155deg, rgba(7, 17, 32, 0.95), rgba(3, 10, 20, 0.97));
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-head {
  padding: 0.82rem 0.85rem 0.78rem;
  border-bottom-color: rgba(69, 108, 150, 0.48);
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-pill {
  border-color: rgba(255, 146, 76, 0.72);
  background: rgba(77, 31, 12, 0.8);
}

body.dashboard-experience:not(.mobile-ops-mode) #pulseAuditMetricTitle {
  font-size: 2rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-head-copy .muted {
  font-size: 1rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-view-btn,
body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-export-btn {
  min-height: 44px;
  font-size: 0.98rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-body {
  gap: 0.78rem;
  padding: 0.8rem 0.85rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-summary-card strong {
  font-size: 2.15rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-summary-card span,
body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-footer span {
  color: #acc4e1;
}

body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-table-wrap table {
  min-width: 820px;
}

body.dashboard-experience:not(.mobile-ops-mode) .analytics-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.64rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .analytics-grid-duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.dashboard-experience:not(.mobile-ops-mode) .chart-card,
body.dashboard-experience:not(.mobile-ops-mode) .insight-card {
  border-radius: 14px;
  border-color: rgba(94, 135, 177, 0.4);
  background: linear-gradient(165deg, rgba(7, 17, 31, 0.92), rgba(4, 11, 21, 0.95));
  padding: 0.78rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .chart-head h2 {
  font-size: 2rem;
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0;
}

body.dashboard-experience:not(.mobile-ops-mode) .chart-head .muted {
  font-size: 0.92rem;
}

body.dashboard-experience:not(.mobile-ops-mode) .chart-card canvas {
  height: 278px !important;
}

body.dashboard-experience:not(.mobile-ops-mode) .rank-list {
  display: grid;
  gap: 0.36rem;
}

body.dashboard-experience:not(.mobile-ops-mode) #topCustomersList,
body.dashboard-experience:not(.mobile-ops-mode) #topProductsList {
  counter-reset: rank;
}

body.dashboard-experience:not(.mobile-ops-mode) .rank-item {
  position: relative;
  border-radius: 12px;
  border-color: rgba(92, 131, 174, 0.34);
  background: linear-gradient(165deg, rgba(5, 14, 27, 0.92), rgba(5, 10, 21, 0.96));
  padding: 0.62rem 0.75rem 0.62rem 2.5rem;
  align-items: center;
}

body.dashboard-experience:not(.mobile-ops-mode) .rank-item::before {
  counter-increment: rank;
  content: counter(rank);
  position: absolute;
  left: 0.72rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #032f3d;
  background: linear-gradient(180deg, #39f4dd, #11c7bc);
}

body.dashboard-experience:not(.mobile-ops-mode) #topProductsList .rank-item::before {
  color: #4f1f00;
  background: linear-gradient(180deg, #ffa353, #ff7f22);
}

body.dashboard-experience:not(.mobile-ops-mode) .rank-item strong {
  font-size: 2rem;
  letter-spacing: 0.01em;
}

body.dashboard-experience:not(.mobile-ops-mode) .ops-launcher-card,
body.dashboard-experience:not(.mobile-ops-mode) [data-ops-module-panel] {
  border-radius: 16px;
}

@media (max-width: 1480px) {
  body.dashboard-experience:not(.mobile-ops-mode) .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1260px) {
  body.dashboard-experience:not(.mobile-ops-mode) #dashboardView {
    grid-template-columns: 1fr;
  }

  body.dashboard-experience:not(.mobile-ops-mode) #dashboardView > section:not(#mobileOpsTopbar) {
    grid-column: 1;
  }

  body.dashboard-experience:not(.mobile-ops-mode) .analytics-grid,
  body.dashboard-experience:not(.mobile-ops-mode) .analytics-grid-duo {
    grid-template-columns: 1fr;
  }

  body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-head {
    grid-template-columns: 1fr;
  }

  body.dashboard-experience:not(.mobile-ops-mode) .pulse-audit-actions {
    justify-content: flex-start;
  }
}

body.storefront-mode {
  background: #f3f4f6;
  color: #101214;
}

body.storefront-mode .ambient {
  display: none;
}

body.storefront-mode .topbar {
  background: #0f1216;
  border: 1px solid #1d222a;
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
}

body.storefront-mode .brand-kicker,
body.storefront-mode h1,
body.storefront-mode .topbar .btn {
  color: #f7f8fa;
}

body.storefront-mode .brand-logo {
  border-color: #232932;
}

body.storefront-mode .view-switch .btn {
  border-color: #2e3642;
  background: #161b22;
}

body.storefront-mode #viewDashboardBtn.active,
body.storefront-mode #viewShopBtn.active,
body.storefront-mode #viewMobileBtn.active,
 body.storefront-mode #viewAdminBtn.active,
 body.storefront-mode #viewSystemBtn.active {
  border-color: #57a9ff;
  box-shadow: 0 0 0 1px rgba(87, 169, 255, 0.35) inset;
  background: #1c3148;
}

body.mobile-ops-mode #dashboardView > section:not(.ops-launcher-card):not([data-ops-module-panel='deal_link_command']):not(
    [data-ops-module-panel='coupon_control']
  ):not([data-ops-module-panel='recent_sales_feed']) {
  display: none;
}

body.mobile-ops-mode {
  padding: 0.65rem;
  overflow-x: hidden;
}

body.mobile-ops-mode .layout {
  gap: 0.72rem;
}

body.mobile-ops-mode .app-view-active,
body.mobile-ops-mode #dashboardView,
body.mobile-ops-mode #dashboardView > section,
body.mobile-ops-mode #dashboardView .card,
body.mobile-ops-mode #dashboardView .table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body.mobile-ops-mode #dashboardView {
  overflow-x: hidden;
}

body.mobile-ops-mode #dashboardView h2,
body.mobile-ops-mode #dashboardView h3 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.mobile-ops-mode .topbar {
  gap: 0.6rem;
  align-items: stretch;
}

body.mobile-ops-mode .brand-wrap {
  width: 100%;
  min-width: 0;
  gap: 0.62rem;
}

body.mobile-ops-mode .brand-wrap > div {
  min-width: 0;
}

body.mobile-ops-mode .brand-logo {
  width: 64px;
  height: 64px;
}

body.mobile-ops-mode h1 {
  font-size: clamp(1.15rem, 6vw, 1.65rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

body.mobile-ops-mode .brand-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.09em;
}

body.mobile-ops-mode .topbar-actions {
  margin-left: 0;
  width: 100%;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
}

body.mobile-ops-mode .account-topbar-wrap {
  justify-items: start;
}

body.mobile-ops-mode .topbar-actions > :not(#adminMenuWrap) {
  display: none;
}

body.mobile-ops-mode #adminMenuWrap {
  margin-left: 0;
}

body.mobile-ops-mode #adminMenuToggleBtn {
  min-height: 48px;
  min-width: 120px;
  font-size: 1rem;
  font-weight: 800;
}

body.mobile-ops-mode .card {
  border-radius: 14px;
  padding: 0.82rem;
}

body.mobile-ops-mode .ops-launcher-card .table-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

body.mobile-ops-mode #opsModuleMeta {
  font-size: 0.9rem;
}

body.mobile-ops-mode .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.mobile-ops-mode .table-wrap table {
  min-width: 0;
  width: 100%;
  table-layout: fixed;
}

body.mobile-ops-mode #opsLauncherGrid {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

body.mobile-ops-mode [data-action='ops-open-module'][data-ops-module='order_ops_queue'],
body.mobile-ops-mode [data-action='ops-open-module'][data-ops-module='data_intake'],
body.mobile-ops-mode [data-ops-module-panel='order_ops_queue'],
body.mobile-ops-mode [data-ops-module-panel='data_intake'] {
  display: none;
}

body.mobile-ops-mode [data-action='ops-open-module'][data-ops-module='deal_link_command'] {
  order: 1;
}

body.mobile-ops-mode [data-action='ops-open-module'][data-ops-module='coupon_control'] {
  order: 2;
}

body.mobile-ops-mode [data-action='ops-open-module'][data-ops-module='recent_sales_feed'] {
  order: 3;
}

@media (max-width: 900px) {
  body.mobile-ops-mode .topbar {
    flex-direction: row;
    align-items: center;
  }

  body.mobile-ops-mode .brand-wrap {
    align-items: center;
  }

  body.mobile-ops-mode .topbar-actions {
    width: auto;
    margin-left: auto;
  }

  body.mobile-ops-mode .admin-menu-dropdown {
    right: 0;
    left: auto;
    min-width: 210px;
  }

  body.mobile-ops-mode .ops-launcher-card .table-head h2,
  body.mobile-ops-mode [data-ops-module-panel] .table-head h2 {
    font-size: 1.45rem;
  }

  body.mobile-ops-mode .ops-launcher-btn {
    min-height: 88px;
    padding: 1rem;
    border-radius: 14px;
    gap: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  body.mobile-ops-mode .ops-launcher-label {
    font-size: 1.08rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  body.mobile-ops-mode .ops-launcher-sub {
    font-size: 0.95rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  body.mobile-ops-mode .ops-launcher-icon {
    font-size: 1.35rem;
  }

  body.mobile-ops-mode .coupon-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  body.mobile-ops-mode input,
  body.mobile-ops-mode select,
  body.mobile-ops-mode textarea,
  body.mobile-ops-mode .btn,
  body.mobile-ops-mode .chip {
    min-height: 52px;
    font-size: 1.05rem;
  }

  body.mobile-ops-mode .btn,
  body.mobile-ops-mode .chip {
    padding: 0.7rem 1rem;
  }

  body.mobile-ops-mode .table-controls {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  body.mobile-ops-mode .table-wrap {
    overflow-x: auto;
  }

  body.mobile-ops-mode .table-wrap table th,
  body.mobile-ops-mode .table-wrap table td {
    font-size: 0.98rem;
    padding: 0.72rem 0.58rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .table-wrap table th:nth-child(1),
  body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .table-wrap table td:nth-child(1),
  body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .table-wrap table th:nth-child(3),
  body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .table-wrap table td:nth-child(3),
  body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .table-wrap table th:nth-child(5),
  body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .table-wrap table td:nth-child(5),
  body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .table-wrap table th:nth-child(6),
  body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .table-wrap table td:nth-child(6) {
    display: none;
  }

  body.mobile-ops-mode [data-ops-module-panel='coupon_control'] .table-wrap table th:nth-child(3),
  body.mobile-ops-mode [data-ops-module-panel='coupon_control'] .table-wrap table td:nth-child(3),
  body.mobile-ops-mode [data-ops-module-panel='coupon_control'] .table-wrap table th:nth-child(5),
  body.mobile-ops-mode [data-ops-module-panel='coupon_control'] .table-wrap table td:nth-child(5),
  body.mobile-ops-mode [data-ops-module-panel='coupon_control'] .table-wrap table th:nth-child(6),
  body.mobile-ops-mode [data-ops-module-panel='coupon_control'] .table-wrap table td:nth-child(6) {
    display: none;
  }

  body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table th:nth-child(3),
  body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table td:nth-child(3),
  body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table th:nth-child(4),
  body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table td:nth-child(4),
  body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table th:nth-child(5),
  body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table td:nth-child(5),
  body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table th:nth-child(6),
  body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table td:nth-child(6),
  body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table th:nth-child(7),
  body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table td:nth-child(7) {
    display: none;
  }
}

@media (max-width: 420px) {
  body.mobile-ops-mode {
    padding: 0.5rem;
  }

  body.mobile-ops-mode .brand-logo {
    width: 56px;
    height: 56px;
  }

  body.mobile-ops-mode h1 {
    font-size: 1.05rem;
  }

  body.mobile-ops-mode .brand-kicker {
    font-size: 0.56rem;
  }

  body.mobile-ops-mode .ops-launcher-btn {
    min-height: 82px;
    padding: 0.85rem;
  }
}

.shop-site {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dee3ea;
  overflow: hidden;
}

.shop-top-strip {
  background: #0d1015;
  color: #f7f8fa;
  padding: 0.6rem 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

body.storefront-mode #openCartBtn,
body.storefront-mode #openCartBtnAbout,
body.storefront-mode #openCartBtnDetail {
  position: static;
  z-index: 12;
  margin-left: auto;
  box-shadow: 0 12px 28px rgba(245, 108, 53, 0.28);
  will-change: transform, box-shadow;
  transform-origin: center;
  transition: box-shadow 180ms ease;
}

body.storefront-mode #openCartBtn.cart-feedback,
body.storefront-mode #openCartBtnAbout.cart-feedback,
body.storefront-mode #openCartBtnDetail.cart-feedback {
  animation: cart-feedback-pop 680ms cubic-bezier(0.17, 0.89, 0.32, 1.23);
}

body.storefront-mode #openCartBtn.cart-docked,
body.storefront-mode #openCartBtnAbout.cart-docked,
body.storefront-mode #openCartBtnDetail.cart-docked {
  position: fixed;
  top: 0.65rem;
  right: 1.35rem;
  z-index: 45;
}

@keyframes cart-feedback-pop {
  0% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 12px 28px rgba(245, 108, 53, 0.28);
  }
  20% {
    transform: scale(1.16) rotate(-2.2deg);
    box-shadow: 0 16px 36px rgba(245, 108, 53, 0.46), 0 0 0 6px rgba(245, 108, 53, 0.16);
  }
  48% {
    transform: scale(1.03) rotate(1.5deg);
    box-shadow: 0 14px 32px rgba(245, 108, 53, 0.38), 0 0 0 3px rgba(245, 108, 53, 0.12);
  }
  72% {
    transform: scale(1.09) rotate(-1deg);
    box-shadow: 0 16px 34px rgba(245, 108, 53, 0.42);
  }
  100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 12px 28px rgba(245, 108, 53, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card-enter {
    animation: none;
  }

  .account-auth-card-shake {
    animation: none;
  }

  body.storefront-mode #openCartBtn.cart-feedback,
  body.storefront-mode #openCartBtnAbout.cart-feedback,
  body.storefront-mode #openCartBtnDetail.cart-feedback {
    animation: none;
  }
}

.shop-nav {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  font-size: 0.82rem;
}

.shop-nav-link {
  color: #f7f8fa;
  text-decoration: none;
  font-weight: 700;
}

.shop-nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.shop-nav-link-active {
  color: #9ed7ff;
}

.shop-nav span {
  color: #b8c1cd;
}

.shop-hero-banner {
  --hero-parallax-y: 0px;
  min-height: clamp(340px, 44vh, 620px);
  height: clamp(360px, 58vw, 780px);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #070b12;
}

.shop-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/header.png') center center / 100% 100% no-repeat;
  transform: none;
  transform-origin: center;
  transition: none;
  will-change: auto;
  animation: none;
  z-index: 0;
}

.shop-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 17, 27, 0.72), rgba(11, 17, 27, 0.18));
  z-index: 1;
}

.shop-hero-overlay {
  color: #fff;
  padding: clamp(1rem, 2.6vw, 2rem);
  max-width: min(540px, 86vw);
  position: relative;
  z-index: 2;
}

.shop-hero-overlay h2 {
  font-size: clamp(2rem, 4.8vw, 3.7rem);
  margin: 0.1rem 0 0.25rem;
}

@media (max-width: 780px) {
  .shop-hero-banner {
    height: clamp(360px, 72vw, 520px);
  }
}

.shop-kicker {
  margin: 0;
  color: #d6e8ff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.shop-brand-quick-wrap {
  margin-top: 0.85rem;
  margin-inline: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(104, 158, 223, 0.28);
  background:
    radial-gradient(130% 180% at 0% 0%, rgba(42, 116, 199, 0.22), transparent 58%),
    linear-gradient(145deg, rgba(12, 22, 36, 0.95), rgba(8, 15, 28, 0.92));
}

.shop-brand-quick-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.shop-brand-quick-head strong {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d7e8ff;
}

.shop-brand-quick-head small {
  color: #9cb5d6;
  font-size: 0.8rem;
}

.shop-brand-chips {
  margin-top: 0.62rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.shop-brand-quick-wrap .shop-filter-shell {
  margin-top: 0.78rem;
}

.shop-brand-chip {
  border: 1px solid rgba(120, 169, 235, 0.34);
  border-radius: 999px;
  padding: 0.42rem 0.86rem;
  background: linear-gradient(150deg, rgba(17, 31, 50, 0.96), rgba(10, 19, 34, 0.92));
  color: #d9e8ff;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.shop-brand-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(95, 221, 211, 0.65);
  box-shadow: 0 7px 16px rgba(9, 20, 36, 0.42);
}

.shop-brand-chip.active {
  color: #071522;
  border-color: rgba(84, 229, 214, 0.85);
  background: linear-gradient(125deg, #5de8dd 0%, #84d6ff 100%);
  box-shadow:
    0 0 0 1px rgba(130, 227, 255, 0.32),
    0 10px 22px rgba(11, 30, 52, 0.42);
}

.shop-block {
  padding: 1rem;
  border-top: 1px solid #e4e8ee;
}

.about-premium-site.home-shop {
  background:
    radial-gradient(110% 130% at 100% 0%, rgba(214, 102, 40, 0.14), transparent 56%),
    linear-gradient(180deg, #030506 0%, #05080d 100%);
}

.about-premium-site .shop-hero-shell {
  background: #030507;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-premium-site .shop-top-strip {
  background: linear-gradient(180deg, rgba(2, 4, 7, 0.94), rgba(2, 4, 7, 0.35));
}

.about-premium-site .about-nav-active {
  color: #ffffff;
  position: relative;
  text-decoration: none;
}

.about-premium-site .about-nav-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.44rem;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(220, 112, 46, 0.95), rgba(239, 142, 69, 0.92));
}

.about-premium-hero {
  position: relative;
  min-height: clamp(400px, 57vw, 600px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  align-items: flex-end;
}

.about-premium-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-premium-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(2, 4, 8, 0.95) 0%, rgba(2, 4, 8, 0.84) 35%, rgba(2, 4, 8, 0.46) 58%, rgba(2, 4, 8, 0.5) 100%),
    linear-gradient(180deg, rgba(2, 4, 8, 0.24) 0%, rgba(2, 4, 8, 0.35) 100%);
  z-index: 1;
}

.about-premium-hero-overlay {
  position: relative;
  z-index: 3;
  color: #fdfefe;
  max-width: min(540px, 86vw);
  padding: clamp(6.8rem, 9vw, 8.6rem) clamp(1.1rem, 4.4vw, 3rem) clamp(2rem, 4vw, 3rem);
}

.about-premium-eyebrow {
  margin: 0;
  color: #d86b2d;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-premium-hero-overlay h2 {
  margin: 0.55rem 0 0;
  color: #ffffff;
  font-family: 'Barlow Condensed', 'Manrope', sans-serif;
  font-size: clamp(3rem, 7vw, 5.35rem);
  line-height: 0.9;
  letter-spacing: 0.012em;
}

.about-premium-hero-overlay p {
  margin: 1rem 0 0;
  max-width: 30ch;
  color: rgba(229, 237, 247, 0.96);
  font-size: clamp(1rem, 1.55vw, 1.45rem);
  line-height: 1.45;
}

.about-premium-hero-btn {
  position: absolute;
  z-index: 4;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 2.8vw, 2rem);
  border-radius: 10px;
  min-height: 54px;
  min-width: clamp(220px, 25vw, 290px);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.about-premium-content {
  width: min(1380px, calc(100% - 2.2rem));
  margin: 1rem auto 0;
  display: grid;
  gap: 0.95rem;
}

.about-premium-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background:
    radial-gradient(130% 125% at 100% 0%, rgba(214, 102, 40, 0.06), transparent 58%),
    linear-gradient(160deg, rgba(9, 13, 20, 0.96), rgba(5, 8, 12, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(124, 138, 159, 0.05),
    0 16px 40px rgba(0, 0, 0, 0.28);
  color: #edf3fb;
  padding: clamp(1rem, 2.3vw, 1.7rem);
}

.about-premium-intro p {
  margin: 0;
  font-size: clamp(1rem, 1.28vw, 1.6rem);
  line-height: 1.54;
  color: rgba(235, 242, 251, 0.95);
}

.about-premium-split {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: clamp(0.8rem, 1.8vw, 1.45rem);
  align-items: center;
}

.about-premium-icon-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-premium-icon-col img {
  width: clamp(64px, 6vw, 86px);
  height: clamp(64px, 6vw, 86px);
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(214, 102, 40, 0.26));
}

.about-premium-copy-col h3 {
  margin: 0;
  color: #ffffff;
  font-family: 'Barlow Condensed', 'Manrope', sans-serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.about-premium-copy-col p {
  margin: 0.72rem 0 0;
  color: rgba(230, 237, 246, 0.94);
  line-height: 1.56;
  font-size: clamp(0.98rem, 1.2vw, 1.32rem);
}

.about-premium-copy-col p + p {
  margin-top: 0.82rem;
}

.about-values-list.about-premium-values {
  margin: 0.78rem 0 0;
  padding-left: 1.12rem;
  display: grid;
  gap: 0.54rem;
  color: rgba(230, 237, 246, 0.95);
  line-height: 1.56;
  font-size: clamp(0.96rem, 1.15vw, 1.28rem);
}

.about-values-list.about-premium-values li::marker {
  color: #d96a2b;
}

.about-values-list.about-premium-values strong {
  color: #ffffff;
}

.about-signoff {
  font-weight: 700;
  color: #ffffff;
}

.about-premium-cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-height: clamp(160px, 18vw, 220px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
}

.about-premium-cta-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.about-premium-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(91deg, rgba(2, 4, 7, 0.94) 0%, rgba(2, 4, 7, 0.82) 38%, rgba(2, 4, 7, 0.46) 65%, rgba(2, 4, 7, 0.56) 100%),
    radial-gradient(100% 80% at 88% 20%, rgba(214, 102, 40, 0.14), transparent 66%);
}

.about-premium-cta-copy,
.about-premium-cta-btn {
  position: relative;
  z-index: 2;
}

.about-premium-cta-copy h3 {
  margin: 0;
  font-family: 'Barlow Condensed', 'Manrope', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #ffffff;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.92;
}

.about-premium-cta-copy p {
  margin: 0.45rem 0 0;
  color: rgba(229, 237, 246, 0.96);
  font-size: clamp(0.98rem, 1.15vw, 1.26rem);
}

.about-premium-cta-btn {
  border-radius: 9px;
  min-height: 52px;
  min-width: 250px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 800;
}

.about-premium-footer {
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.shop-block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.shop-block-head h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  color: #151922;
}

.shop-block-head small {
  color: #6d7786;
}

.shop-featured-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}

.shop-filter-shell {
  border: 1px solid #d3e1f4;
  border-radius: 14px;
  background:
    radial-gradient(140% 160% at 0% 0%, rgba(66, 140, 214, 0.14), transparent 58%),
    linear-gradient(160deg, #f4f8fd 0%, #edf3fb 100%);
  padding: 0.82rem;
  box-shadow: 0 10px 24px rgba(12, 31, 55, 0.08);
}

.shop-filter-shell-inline {
  border-color: rgba(107, 163, 228, 0.34);
  background:
    radial-gradient(130% 170% at 0% 0%, rgba(79, 145, 224, 0.16), transparent 60%),
    linear-gradient(150deg, rgba(11, 22, 38, 0.88), rgba(8, 18, 31, 0.9));
  box-shadow: 0 12px 24px rgba(4, 13, 24, 0.32);
}

.shop-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.62rem;
}

.shop-filter-head strong {
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  color: #335378;
  text-transform: uppercase;
}

.shop-filter-shell-inline .shop-filter-head strong {
  color: #9ec4f3;
}

.shop-clear-filters {
  border: 0;
  background: transparent;
  color: #285f9a;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0.15rem 0.2rem;
}

.shop-clear-filters:hover {
  color: #133f70;
  text-decoration: underline;
}

.shop-filter-shell-inline .shop-clear-filters {
  color: #a7cdfd;
}

.shop-filter-shell-inline .shop-clear-filters:hover {
  color: #d4e9ff;
}

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(2, minmax(170px, 1fr));
  gap: 0.55rem;
}

.shop-toolbar input,
.shop-toolbar select {
  border-color: #b9cee8;
  background: #fff;
  color: #122132;
  min-height: 45px;
}

.shop-toolbar input {
  padding-left: 2.05rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%2355779d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.68rem center;
  background-size: 0.95rem;
}

.shop-toolbar input:focus,
.shop-toolbar select:focus {
  border-color: #3f82c9;
  box-shadow: 0 0 0 3px rgba(75, 148, 222, 0.16);
  outline: none;
}

.shop-filter-shell-inline .shop-toolbar input,
.shop-filter-shell-inline .shop-toolbar select {
  border-color: rgba(104, 151, 208, 0.42);
  background-color: rgba(7, 15, 28, 0.9);
  color: #d9ebff;
}

.shop-filter-shell-inline .shop-toolbar input::placeholder {
  color: #9cb8d9;
}

.shop-filter-shell-inline .shop-toolbar input:focus,
.shop-filter-shell-inline .shop-toolbar select:focus {
  border-color: rgba(133, 206, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(90, 172, 238, 0.2);
}

.shop-active-filters {
  margin-top: 0.62rem;
  display: none;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.shop-active-filters.active {
  display: flex;
}

.shop-active-filter-chip {
  border: 1px solid #bfd7f2;
  border-radius: 999px;
  padding: 0.26rem 0.66rem;
  background: #fdfefe;
  color: #1d3f64;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.shop-active-filter-chip:hover {
  border-color: #82b1e4;
  background: #eef5ff;
}

.shop-promo-split {
  padding: 1rem;
  border-top: 1px solid #e4e8ee;
  border-bottom: 1px solid #e4e8ee;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 0.65rem;
}

.promo-card {
  border-radius: 10px;
  overflow: hidden;
  min-height: 150px;
}

.promo-dark {
  background: linear-gradient(145deg, #121720, #1a2230);
  color: #f2f6ff;
  padding: 0.9rem;
}

.promo-dark h3 {
  margin-top: 0.2rem;
  margin-bottom: 0.35rem;
}

.promo-dark p {
  color: #b8c6da;
}

.promo-image {
  background:
    linear-gradient(90deg, rgba(10, 15, 24, 0.6), rgba(10, 15, 24, 0.08)),
    url('./assets/promo-energy.svg')
      center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.promo-image-overlay {
  color: #fff;
  padding: 0.8rem;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.7rem;
}

.product-card {
  border: 1px solid #d9e0ea;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: grid;
  box-shadow: 0 2px 10px rgba(14, 26, 39, 0.04);
  position: relative;
}

.product-card-enter {
  animation: shop-card-settle 440ms cubic-bezier(0.21, 0.78, 0.24, 1) both;
  animation-delay: var(--card-stagger, 0ms);
}

@keyframes shop-card-settle {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    filter: saturate(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
}

.featured-card {
  min-height: 100%;
}

.product-image-wrap {
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #eceff4, #f8f9fb);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-fallback {
  font-size: 0.8rem;
  color: #818b9a;
}

.product-body {
  padding: 0.68rem;
  display: grid;
  gap: 0.45rem;
}

.quickview-trigger {
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.6rem;
  border: 1px solid rgba(210, 224, 244, 0.7);
  background: linear-gradient(135deg, rgba(244, 248, 253, 0.94), rgba(232, 239, 249, 0.96));
  color: #101725;
  font-weight: 800;
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 190ms ease,
    transform 190ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 180ms ease;
}

.product-card:hover .quickview-trigger,
.product-card:focus-within .quickview-trigger {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  box-shadow: 0 10px 24px rgba(10, 23, 42, 0.2);
}

.quickview-trigger:hover {
  border-color: #b4c5df;
  background: linear-gradient(135deg, #f7fbff, #e9f1fb);
}

.product-title {
  font-weight: 800;
  color: #121722;
}

.product-title-link {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  color: #121722;
  text-align: left;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.product-meta {
  color: #677183;
  font-size: 0.8rem;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.product-price {
  font-size: 1rem;
  font-weight: 800;
}

.stock-pill {
  border-radius: 999px;
  padding: 0.18rem 0.52rem;
  font-size: 0.74rem;
  border: 1px solid #d8dfeb;
}

.stock-pill.in {
  color: #177a44;
  border-color: rgba(33, 168, 91, 0.45);
  background: rgba(47, 185, 107, 0.1);
}

.stock-pill.low {
  color: #a75814;
  border-color: rgba(255, 157, 96, 0.55);
  background: rgba(255, 157, 96, 0.12);
}

.stock-pill.out {
  color: #9b3131;
  border-color: rgba(255, 125, 125, 0.55);
  background: rgba(255, 59, 48, 0.13);
}

.cart-list {
  display: grid;
  gap: 0.62rem;
}

.cart-item {
  border: 1px solid rgba(132, 163, 206, 0.35);
  border-radius: 13px;
  padding: 0.72rem;
  background: linear-gradient(145deg, rgba(14, 24, 40, 0.96), rgba(8, 16, 30, 0.92));
  display: flex;
  justify-content: flex-start;
  gap: 0.7rem;
  align-items: center;
}

.cart-thumb-wrap {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border-radius: 12px;
  border: 1px solid rgba(129, 170, 224, 0.38);
  background: linear-gradient(160deg, rgba(17, 30, 48, 0.98), rgba(9, 17, 30, 0.95));
  overflow: hidden;
}

.cart-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line-main {
  min-width: 0;
  flex: 1 1 auto;
}

.cart-item-name {
  color: #f4f9ff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.18;
}

.cart-item-meta {
  margin-top: 0.2rem;
  color: #b5c9e4;
  font-size: 0.98rem;
}

.cart-line-actions {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
}

.cart-item-total {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}

.cart-summary {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #d3e4f9;
  font-size: 1rem;
}

.cart-subtotal-row strong {
  color: #ffffff;
  font-size: 1.45rem;
}

.cart-subtotal-row.has-discount strong {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}

.cart-price-old {
  color: #9bb5d7;
  font-size: 1rem;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.cart-price-current {
  color: #ffffff;
  font-size: 1.45rem;
}

.cart-discount-row strong {
  color: #7fe0a8;
  font-size: 1.1rem;
}

.cart-tax-row strong {
  color: #d8ecff;
  font-size: 1.05rem;
}

.cart-total-row strong {
  color: #ffffff;
  font-size: 1.35rem;
}

.cart-note {
  color: #9fb8d8;
  font-size: 0.95rem;
}

.cart-inline-status-error {
  color: #ff9b9b;
  background: rgba(120, 20, 32, 0.2);
  border: 1px solid rgba(255, 118, 118, 0.5);
  border-radius: 10px;
  padding: 0.52rem 0.62rem;
  font-weight: 700;
}

.cart-account-email strong {
  color: #d8ecff;
  font-weight: 700;
}

.cart-ship-toggle-btn {
  width: fit-content;
  justify-self: start;
}

.cart-ship-toggle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.cart-pickup-toggle-btn.active {
  border-color: rgba(255, 180, 90, 0.95);
  background: linear-gradient(135deg, rgba(255, 136, 53, 0.95), rgba(255, 176, 58, 0.94));
  color: #fffaf0;
  box-shadow: 0 0 0 1px rgba(255, 205, 128, 0.45), 0 8px 22px rgba(255, 133, 36, 0.35);
}

.required-mark {
  color: #ffb066;
  font-weight: 800;
}

.required-note {
  color: #b6cae5;
  font-size: 0.86rem;
}

.cart-coupon-wrap {
  display: grid;
  gap: 0.45rem;
}

.cart-address-field {
  position: relative;
}

.cart-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.cart-address-street-field {
  grid-column: 1 / -1;
}

.cart-address-grid label {
  min-width: 0;
}

.cart-coupon-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.cart-coupon-row input {
  flex: 1 1 auto;
  margin: 0;
}

.cart-coupon-row .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.cart-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cart-actions.checkout-actions {
  justify-content: center;
  margin-top: 1rem;
}

.cart-actions.checkout-actions .btn {
  min-width: 148px;
}

.product-mini {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}

.inventory-select-control {
  width: 18px;
  min-width: 18px;
  height: 18px;
  position: relative;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity 130ms ease, transform 130ms ease;
}

#productRows tr:hover .inventory-select-control,
#productRows tr:focus-within .inventory-select-control,
#customersAdminRows tr:hover .inventory-select-control,
#customersAdminRows tr:focus-within .inventory-select-control,
.inventory-select-control.selected {
  opacity: 1;
  transform: translateX(0);
}

.inventory-row-select {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.inventory-row-select-ui {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(128, 174, 222, 0.72);
  border-radius: 5px;
  background: rgba(8, 16, 28, 0.9);
  box-shadow: inset 0 0 0 1px rgba(7, 14, 24, 0.45);
}

.inventory-row-select:checked + .inventory-row-select-ui {
  border-color: rgba(58, 245, 208, 0.95);
  background:
    radial-gradient(circle at 50% 50%, rgba(42, 240, 201, 0.88) 0 42%, transparent 44%),
    rgba(8, 16, 28, 0.98);
}

.product-mini img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d4dcea;
}

.customer-admin-section {
  margin-top: 0.92rem;
  min-height: calc(100vh - 128px);
  display: flex;
  flex-direction: column;
}

.customer-admin-content {
  margin-top: 0.78rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 0.8rem;
}

.customer-admin-table-wrap {
  margin-top: 0;
}

.customer-admin-name-link {
  font-weight: 800;
}

.customer-admin-edit-grid {
  margin-top: 0;
}

.customer-admin-inline-actions {
  margin-top: 0.7rem;
  align-items: center;
}

.customer-invoice-actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.customer-admin-list-wrap {
  border: 1px solid rgba(82, 130, 194, 0.3);
  border-radius: 16px;
  background:
    radial-gradient(140% 120% at 10% 0%, rgba(40, 88, 170, 0.2), transparent 55%),
    linear-gradient(170deg, rgba(8, 18, 34, 0.92), rgba(6, 12, 24, 0.95));
  height: clamp(520px, calc(100vh - 260px), 2000px);
  max-height: none;
  box-shadow: inset 0 1px 0 rgba(115, 175, 255, 0.16);
}

.customer-admin-list-wrap table {
  min-width: 880px;
}

.customer-admin-list-note {
  font-size: 0.82rem;
}

.customer-admin-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 940px) {
  .customer-admin-section {
    min-height: auto;
  }

  .customer-admin-list-wrap {
    height: min(72vh, 980px);
  }
}

.customer-detail-shell {
  display: grid;
  gap: 0.72rem;
}

.customer-detail-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.customer-detail-titleblock {
  display: grid;
  gap: 0.3rem;
}

.customer-detail-titleblock h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  letter-spacing: 0.01em;
}

.customer-detail-breadcrumb {
  color: #9eb9dc;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.customer-detail-breadcrumb .sep {
  margin-inline: 0.32rem;
  color: #6d8db7;
}

.customer-breadcrumb-link {
  border: 0;
  background: transparent;
  color: #9eb9dc;
  font: inherit;
  padding: 0;
  cursor: pointer;
}

.customer-breadcrumb-link:hover {
  color: #d4e8ff;
  text-decoration: underline;
}

.customer-detail-breadcrumb .current {
  color: #ff983f;
  font-weight: 700;
}

.customer-detail-top-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.customer-detail-top-actions .btn {
  min-height: 40px;
}

.customer-primary-cta {
  background: linear-gradient(128deg, #f67c34 0%, #f09d33 100%);
  border-color: rgba(255, 156, 95, 0.72);
  color: #fff;
}

.customer-kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.62rem;
}

.customer-kpi-card {
  border: 1px solid rgba(86, 136, 201, 0.33);
  border-radius: 16px;
  padding: 0.7rem 0.76rem;
  display: flex;
  align-items: center;
  gap: 0.58rem;
  background:
    radial-gradient(120% 120% at 6% 0%, rgba(58, 120, 230, 0.24), transparent 55%),
    linear-gradient(160deg, rgba(10, 20, 38, 0.9), rgba(7, 16, 30, 0.94));
  min-width: 0;
}

.customer-kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid rgba(94, 145, 212, 0.35);
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #dceeff;
  background: rgba(16, 33, 56, 0.9);
  flex: 0 0 auto;
}

.customer-kpi-card span {
  display: block;
  font-size: 0.77rem;
  letter-spacing: 0.02em;
  color: #90aace;
}

.customer-kpi-card strong {
  display: block;
  margin-top: 0.08rem;
  font-size: 1.48rem;
  color: #f4f9ff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.customer-mobile-tabs {
  display: none;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.customer-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.24fr) minmax(0, 1.5fr);
  gap: 0.72rem;
}

.customer-detail-card {
  border: 1px solid rgba(85, 137, 199, 0.34);
  border-radius: 16px;
  padding: 0.8rem;
  background:
    radial-gradient(130% 120% at 0% 0%, rgba(46, 107, 206, 0.18), transparent 58%),
    linear-gradient(160deg, rgba(9, 17, 31, 0.92), rgba(7, 13, 24, 0.95));
  min-width: 0;
  box-shadow:
    inset 0 1px 0 rgba(132, 182, 242, 0.12),
    0 8px 24px rgba(4, 10, 20, 0.26);
}

.customer-detail-card > h3 {
  margin: 0 0 0.55rem;
}

.customer-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.62rem;
}

.customer-card-head h3 {
  margin: 0;
}

.customer-edit-trigger,
.customer-filter-trigger {
  min-width: 92px;
}

.customer-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(96, 145, 205, 0.32);
  padding: 0.18rem 0.54rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #cbe0fb;
  background: rgba(16, 29, 46, 0.8);
}

.tone-order {
  color: #b0dbff;
  border-color: rgba(85, 173, 255, 0.45);
  background: rgba(19, 44, 74, 0.72);
}

.tone-invoice {
  color: #cbbcff;
  border-color: rgba(138, 121, 255, 0.44);
  background: rgba(37, 30, 76, 0.68);
}

.tone-payment {
  color: #b5f2c8;
  border-color: rgba(66, 207, 131, 0.5);
  background: rgba(17, 58, 39, 0.72);
}

.tone-shipping {
  color: #ffdba8;
  border-color: rgba(244, 171, 77, 0.56);
  background: rgba(79, 53, 15, 0.68);
}

.tone-profile {
  color: #ffd0bf;
  border-color: rgba(255, 140, 101, 0.44);
  background: rgba(80, 35, 25, 0.68);
}

.tone-neutral {
  color: #d1dcf0;
  border-color: rgba(124, 151, 190, 0.4);
  background: rgba(24, 36, 55, 0.72);
}

.customer-profile-card {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.customer-profile-identity {
  display: flex;
  gap: 0.62rem;
  align-items: center;
}

.customer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(140deg, #ff8b3b, #dd6e2e);
  border: 1px solid rgba(255, 182, 136, 0.7);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  flex: 0 0 auto;
}

.customer-profile-meta {
  display: grid;
  gap: 0.1rem;
}

.customer-profile-meta strong,
.customer-profile-name-inline {
  font-size: 1.1rem;
}

.customer-profile-inline-value {
  border: 0;
  background: transparent;
  color: #edf5ff;
  padding: 0;
  margin: 0;
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.customer-profile-inline-value:hover {
  color: #ffffff;
  text-decoration: underline;
}

.customer-profile-submeta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.customer-profile-contact {
  display: grid;
  gap: 0.38rem;
}

.customer-profile-contact > div,
.customer-profile-contact-row {
  border: 1px solid rgba(83, 132, 191, 0.3);
  border-radius: 11px;
  padding: 0.46rem 0.58rem;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 0.42rem;
  background: rgba(9, 17, 31, 0.72);
}

.customer-profile-contact-row {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.customer-profile-contact-row:hover {
  border-color: rgba(118, 170, 228, 0.5);
  background: rgba(12, 24, 42, 0.78);
}

.customer-profile-contact span {
  font-size: 0.66rem;
  color: #88b7e3;
  letter-spacing: 0.08em;
}

.customer-profile-contact strong {
  font-size: 0.9rem;
  color: #edf5ff;
  line-height: 1.35;
}

.customer-profile-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(95, 144, 202, 0.5);
  background: rgba(15, 37, 64, 0.85);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.customer-profile-tagblock h4,
.customer-profile-notes h4 {
  margin: 0 0 0.42rem;
  font-size: 0.86rem;
  color: #c4d9f5;
}

.customer-profile-notes {
  border: 1px solid rgba(82, 129, 188, 0.36);
  border-radius: 11px;
  padding: 0.52rem 0.58rem;
  background: rgba(8, 17, 30, 0.68);
}

.customer-profile-notes p {
  margin: 0;
  color: #b9cde8;
  line-height: 1.4;
  white-space: pre-line;
}

.customer-profile-account-row {
  border-top: 1px solid rgba(82, 130, 190, 0.34);
  padding-top: 0.52rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
}

.customer-profile-account-row span {
  color: #8faad0;
}

.customer-profile-account-row strong {
  color: #eef6ff;
}

.customer-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.customer-tag {
  border-radius: 999px;
  border: 1px solid rgba(100, 147, 208, 0.34);
  background: rgba(13, 26, 43, 0.78);
  color: #a9c5e5;
  font-size: 0.74rem;
  padding: 0.18rem 0.52rem;
}

.customer-profile-form,
.customer-password-form {
  border: 1px solid rgba(84, 133, 194, 0.34);
  border-radius: 13px;
  padding: 0.6rem;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(56, 121, 221, 0.14), transparent 55%),
    rgba(8, 16, 29, 0.84);
  display: grid;
  gap: 0.55rem;
}

.customer-password-form h4 {
  margin: 0;
}

.customer-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.46rem;
}

.customer-profile-form label,
.customer-password-form label {
  display: grid;
  gap: 0.22rem;
}

.customer-profile-form input,
.customer-password-form input {
  background: rgba(8, 18, 33, 0.92);
  border-color: rgba(92, 145, 206, 0.46);
}

.customer-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.customer-invoice-workbench {
  display: grid;
  gap: 0.62rem;
  align-content: start;
}

.customer-current-invoice {
  border: 1px solid rgba(87, 133, 191, 0.3);
  border-radius: 12px;
  padding: 0.5rem 0.58rem;
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  align-items: center;
  background: rgba(10, 21, 36, 0.76);
}

.customer-current-invoice span {
  color: #9db6d5;
  font-size: 0.78rem;
}

.customer-current-invoice .customer-status-chip {
  margin-left: auto;
}

#customerCurrentInvoiceSelect {
  min-width: 210px;
  max-width: 100%;
  flex: 1 1 auto;
  background: rgba(8, 20, 35, 0.95);
  border: 1px solid rgba(95, 145, 207, 0.52);
  color: #e8f2ff;
  border-radius: 10px;
  padding: 0.42rem 0.52rem;
}

.customer-invoice-chip-row {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.customer-invoice-chip {
  border: 1px solid rgba(99, 155, 218, 0.34);
  border-radius: 12px;
  background: rgba(10, 20, 35, 0.84);
  color: #e4f0ff;
  padding: 0.46rem 0.62rem;
  min-width: 160px;
  text-align: left;
  cursor: pointer;
}

.customer-invoice-chip.active {
  border-color: rgba(55, 240, 202, 0.75);
  box-shadow: 0 0 0 1px rgba(55, 240, 202, 0.4) inset;
  background: linear-gradient(155deg, rgba(11, 39, 46, 0.86), rgba(10, 21, 31, 0.9));
}

.customer-invoice-chip small {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.72rem;
  color: #9fb8d7;
}

.customer-invoice-head-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.48rem;
}

.customer-invoice-workbench label {
  display: grid;
  gap: 0.24rem;
}

.customer-invoice-table {
  margin-top: 0.15rem;
}

.customer-invoice-table table {
  min-width: 620px;
}

.customer-invoice-table th,
.customer-invoice-table td {
  white-space: nowrap;
}

.customer-invoice-table td {
  vertical-align: middle;
}

.customer-invoice-table td:first-child {
  min-width: 220px;
}

.customer-invoice-table input {
  min-height: 34px;
  width: 100%;
  background: rgba(8, 19, 34, 0.94);
  border: 1px solid rgba(89, 143, 205, 0.4);
  border-radius: 9px;
  color: #edf6ff;
}

.customer-line-item-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem;
  align-items: center;
}

.customer-line-remove-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(210, 113, 96, 0.55);
  background: rgba(74, 24, 24, 0.8);
  color: #ffd4cc;
  font-weight: 700;
  cursor: pointer;
}

.customer-line-remove-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.customer-invoice-line-actions {
  display: flex;
  justify-content: flex-start;
}

.customer-invoice-foot {
  display: grid;
  gap: 0.55rem;
}

.customer-invoice-totals {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
}

.customer-invoice-totals > div {
  border: 1px solid rgba(89, 136, 194, 0.34);
  border-radius: 11px;
  padding: 0.48rem 0.55rem;
  display: grid;
  gap: 0.15rem;
  background: rgba(9, 19, 33, 0.74);
}

.customer-invoice-totals span {
  font-size: 0.69rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #95b2d2;
}

.customer-invoice-totals strong {
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
  color: #f4f9ff;
}

.customer-invoice-totals .grand {
  border-color: rgba(76, 207, 141, 0.58);
  background: linear-gradient(155deg, rgba(14, 52, 41, 0.82), rgba(9, 22, 33, 0.88));
}

.customer-invoice-notes {
  display: grid;
  gap: 0.24rem;
}

.customer-invoice-notes textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  border-radius: 10px;
  border: 1px solid rgba(92, 145, 206, 0.46);
  background: rgba(8, 18, 33, 0.94);
  color: #eaf4ff;
  padding: 0.58rem 0.68rem;
  font: inherit;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(126, 173, 231, 0.1);
}

.customer-invoice-notes textarea::placeholder {
  color: rgba(151, 181, 216, 0.72);
}

.customer-invoice-notes textarea:focus-visible {
  outline: none;
  border-color: rgba(83, 210, 180, 0.86);
  box-shadow:
    0 0 0 1px rgba(83, 210, 180, 0.36),
    0 0 0 3px rgba(83, 210, 180, 0.12);
}

.customer-invoice-notes textarea:disabled {
  opacity: 0.78;
  cursor: not-allowed;
}

.customer-invoice-notes small {
  justify-self: end;
}

.customer-invoice-action-row {
  display: flex;
  gap: 0.44rem;
  flex-wrap: wrap;
  align-items: center;
}

.customer-invoice-action-row .btn {
  white-space: nowrap;
}

.customer-mark-paid-btn {
  background: linear-gradient(145deg, #1f8a52, #146c42);
  border-color: rgba(88, 219, 149, 0.58);
}

.customer-reset-btn {
  margin-left: auto;
}

.customer-invoice-readonly-note {
  font-size: 0.78rem;
}

.customer-timeline-card {
  display: grid;
  align-content: start;
  min-height: 100%;
}

.customer-timeline-filter-row {
  margin-top: 0;
  flex-wrap: wrap;
}

.customer-timeline-list {
  margin-top: 0.15rem;
  display: grid;
  gap: 0.52rem;
  max-height: 500px;
  overflow: auto;
  padding-right: 0.16rem;
}

.customer-timeline-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
}

.customer-timeline-item.is-active .customer-timeline-content {
  border-color: rgba(112, 223, 196, 0.75);
  box-shadow: 0 0 0 1px rgba(112, 223, 196, 0.24);
}

.customer-timeline-rail {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 100%;
}

.customer-timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(94, 145, 207, 0.34);
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.customer-timeline-line {
  width: 2px;
  flex: 1 1 auto;
  min-height: 42px;
  margin-top: 0.26rem;
  background: linear-gradient(180deg, rgba(90, 139, 199, 0.7), rgba(39, 67, 104, 0.15));
  border-radius: 999px;
}

.customer-timeline-content {
  border: 1px solid rgba(83, 131, 191, 0.28);
  border-radius: 12px;
  padding: 0.52rem 0.58rem;
  background: rgba(9, 18, 32, 0.78);
  display: grid;
  gap: 0.16rem;
}

.customer-timeline-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 0.15rem;
}

.customer-timeline-amount {
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.customer-purchase-history .table-wrap {
  margin-top: 0.35rem;
}

.customer-purchase-history table {
  min-width: 960px;
}

.customer-history-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.customer-history-head h3 {
  margin: 0;
}

.customer-history-actions {
  display: flex;
  gap: 0.34rem;
  align-items: center;
}

.customer-history-invoice-link {
  max-width: 100%;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.customer-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(90, 135, 190, 0.42);
  background: rgba(11, 22, 37, 0.86);
  color: #c6ddf8;
  font-size: 0.74rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
}

@media (max-width: 1280px) {
  .customer-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-invoice-workbench {
    grid-column: 1 / -1;
  }
}

@media (max-width: 940px) {
  .customer-detail-topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .customer-detail-breadcrumb {
    white-space: normal;
  }

  .customer-detail-top-actions {
    justify-content: flex-start;
  }

  .customer-detail-top-actions .btn {
    flex: 1 1 auto;
  }

  #customerCurrentInvoiceSelect {
    min-width: 160px;
  }

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

  .customer-mobile-tabs {
    display: flex;
  }

  .customer-detail-grid {
    grid-template-columns: 1fr;
  }

  .customer-invoice-workbench {
    grid-column: auto;
  }

  .customer-field-grid {
    grid-template-columns: 1fr;
  }

  .customer-invoice-head-grid {
    grid-template-columns: 1fr;
  }

  .customer-current-invoice {
    flex-wrap: wrap;
  }

  .customer-current-invoice .customer-status-chip {
    margin-left: 0;
  }

  #customerCurrentInvoiceSelect {
    width: 100%;
    min-width: 0;
  }

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

  .customer-invoice-totals .grand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .customer-kpi-strip {
    grid-template-columns: 1fr;
  }

  .customer-detail-top-actions {
    width: 100%;
  }

  .customer-detail-top-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .customer-invoice-action-row .btn,
  .customer-invoice-action-row a.btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .customer-invoice-totals {
    grid-template-columns: 1fr;
  }
}

.inventory-inline-stack {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  flex: 1 1 auto;
  position: relative;
}

.inventory-visibility-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.inventory-visibility-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(104, 160, 221, 0.42);
  background: rgba(13, 27, 48, 0.72);
  color: #cae4ff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.18rem 0.44rem;
  white-space: nowrap;
}

.inventory-visibility-live {
  border-color: rgba(79, 220, 178, 0.58);
  color: #90f7d5;
}

.inventory-visibility-hidden {
  border-color: rgba(241, 98, 126, 0.65);
  background: rgba(88, 18, 34, 0.68);
  color: #ffd0da;
}

.inventory-visibility-scheduled {
  border-color: rgba(255, 176, 110, 0.7);
  background: rgba(82, 45, 14, 0.65);
  color: #ffe1be;
}

.inventory-visibility-meta {
  min-width: 0;
  color: #9cb4d3;
  font-size: 0.69rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inventory-command-table-wrap table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.inventory-command-table-wrap th:nth-child(1),
.inventory-command-table-wrap td:nth-child(1) {
  width: 37%;
}

.inventory-command-table-wrap th:nth-child(2),
.inventory-command-table-wrap td:nth-child(2) {
  width: 12%;
}

.inventory-command-table-wrap th:nth-child(3),
.inventory-command-table-wrap td:nth-child(3) {
  width: 13%;
}

.inventory-command-table-wrap th:nth-child(4),
.inventory-command-table-wrap td:nth-child(4) {
  width: 10%;
}

.inventory-command-table-wrap th:nth-child(5),
.inventory-command-table-wrap td:nth-child(5) {
  width: 20%;
}

.inventory-command-table-wrap th:nth-child(6),
.inventory-command-table-wrap td:nth-child(6) {
  width: 12%;
}

#adminView .table-wrap thead th {
  color: #8ea5c0;
  letter-spacing: 0.07em;
  font-size: 0.68rem;
}

#adminView .table-wrap tbody tr {
  transition: background-color 160ms ease;
}

#adminView .table-wrap tbody tr:hover {
  background: rgba(20, 36, 59, 0.45);
}

.inventory-name-input {
  width: 100%;
  position: relative;
  z-index: 4;
  transition: width 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.inventory-name-input:focus {
  z-index: 5;
  border-color: rgba(63, 227, 194, 0.88);
  box-shadow:
    0 0 0 1px rgba(63, 227, 194, 0.4),
    0 8px 18px rgba(7, 18, 34, 0.38);
}

.inventory-category-launcher {
  margin-top: 0.78rem;
}

.inventory-insights-shell {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.7rem;
}

.inventory-metrics-panel {
  margin-top: 0.82rem;
  border: 1px solid rgba(105, 144, 190, 0.32);
  border-radius: 12px;
  background: rgba(8, 18, 33, 0.58);
  padding: 0.55rem;
}

.inventory-metrics-toggle {
  width: 100%;
  border: 1px solid rgba(109, 147, 195, 0.45);
  border-radius: 10px;
  background: rgba(7, 18, 33, 0.86);
  color: #d8e8fb;
  padding: 0.56rem 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.inventory-metrics-toggle:hover {
  border-color: rgba(109, 229, 219, 0.7);
}

.inventory-metrics-toggle-state {
  color: #9ed3cc;
  font-size: 0.78rem;
}

.inventory-controls-grid {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 0.58rem;
  align-items: end;
}

.inventory-control-field {
  display: grid;
  gap: 0.28rem;
  font-size: 0.78rem;
  color: #9bb5d7;
}

.inventory-control-field input,
.inventory-control-field select {
  width: 100%;
}

.inventory-control-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-end;
}

.inventory-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
}

.inventory-stat-card {
  border: 1px solid rgba(113, 148, 194, 0.32);
  border-radius: 12px;
  background: rgba(10, 22, 39, 0.84);
  padding: 0.62rem;
}

.inventory-stat-card-clickable {
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.inventory-stat-card-clickable:hover {
  border-color: rgba(109, 229, 219, 0.68);
  box-shadow: 0 0 0 1px rgba(109, 229, 219, 0.22);
  transform: translateY(-1px);
}

.inventory-stat-card-clickable.active {
  border-color: rgba(109, 229, 219, 0.9);
  box-shadow: inset 0 0 0 1px rgba(109, 229, 219, 0.38);
}

.inventory-stat-label {
  display: block;
  font-size: 0.72rem;
  color: #9cb7d8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.inventory-stat-value {
  display: block;
  margin-top: 0.28rem;
  font-size: 1.14rem;
  font-weight: 800;
  color: #e8f3ff;
}

.inventory-stat-value.warn {
  color: #ffc57a;
}

.inventory-stat-value.bad {
  color: #ff9494;
}

.inventory-stat-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: #9db5d3;
}

.inventory-insight-row {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}

.inventory-insight-chips {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.inventory-insight-chip {
  border: 1px solid rgba(109, 147, 195, 0.45);
  background: rgba(7, 18, 33, 0.9);
  color: #d8e8fb;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.34rem 0.6rem;
  cursor: pointer;
}

.inventory-insight-chip:hover {
  border-color: rgba(109, 229, 219, 0.65);
}

.inventory-insight-chip.active {
  border-color: rgba(109, 229, 219, 0.9);
  box-shadow: inset 0 0 0 1px rgba(109, 229, 219, 0.35);
}

.inventory-brand-breakdown-row {
  cursor: pointer;
}

.inventory-brand-breakdown-row td {
  transition: background-color 140ms ease, color 140ms ease;
}

.inventory-brand-breakdown-row:hover td {
  background: rgba(20, 36, 59, 0.35);
}

.inventory-brand-breakdown-row.active td {
  background: rgba(22, 58, 63, 0.48);
}

.inventory-brand-breakdown-row.active td:first-child {
  color: #8ff4e0;
  font-weight: 700;
}

.inventory-insight-status {
  color: #aac2de;
}

.system-sync-status {
  display: block;
  margin-top: 0.5rem;
}

.system-sync-status.sync-good {
  color: #98f5d9;
}

.system-sync-status.sync-warn {
  color: #ffd7a1;
}

.system-sync-status.sync-bad {
  color: #ffabab;
}

.inventory-insights-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.62rem;
}

.inventory-insight-card {
  border: 1px solid rgba(105, 144, 190, 0.32);
  border-radius: 12px;
  background: rgba(8, 18, 33, 0.74);
  padding: 0.6rem;
}

.inventory-insight-card h3 {
  margin: 0 0 0.46rem;
  font-size: 0.88rem;
  color: #d7e7fb;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.inventory-insight-table-wrap {
  margin-top: 0;
}

.inventory-insight-table-wrap table th,
.inventory-insight-table-wrap table td {
  font-size: 0.74rem;
  padding: 0.34rem 0.32rem;
}

.inventory-brand-snapshot-empty {
  font-size: 0.8rem;
  color: #9bb5d7;
  margin-bottom: 0.42rem;
}

.inventory-brand-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.38rem;
  margin-bottom: 0.42rem;
}

.inventory-brand-snapshot-item {
  border: 1px solid rgba(112, 147, 193, 0.3);
  border-radius: 10px;
  padding: 0.38rem 0.42rem;
  background: rgba(9, 20, 36, 0.75);
}

.inventory-brand-snapshot-item small {
  display: block;
  font-size: 0.7rem;
  color: #9eb8d7;
}

.inventory-brand-snapshot-item strong {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.95rem;
  color: #ebf4ff;
}

.inventory-stock-meta {
  display: block;
  margin-top: 0.24rem;
  font-size: 0.7rem;
  color: #9cb7d8;
}

.inventory-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.inventory-category-card {
  border: 1px solid rgba(121, 164, 228, 0.35);
  border-radius: 14px;
  padding: 0.72rem;
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(57, 130, 206, 0.2), transparent 65%),
    linear-gradient(155deg, rgba(10, 20, 36, 0.96), rgba(7, 15, 28, 0.96));
  color: #e6f2ff;
  text-align: left;
  display: flex;
  gap: 0.62rem;
  align-items: center;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 160ms ease;
}

.inventory-category-card:hover {
  transform: translateY(-1px);
  border-color: rgba(92, 219, 210, 0.66);
  box-shadow: 0 10px 20px rgba(7, 15, 29, 0.42);
}

.inventory-category-card.active {
  border-color: rgba(108, 230, 219, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(129, 234, 227, 0.45),
    0 13px 24px rgba(8, 22, 40, 0.48);
}

.inventory-category-card.locked {
  opacity: 0.85;
}

.inventory-category-glyph {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(129, 183, 235, 0.44);
  display: grid;
  place-items: center;
  font-size: 1.28rem;
  font-weight: 900;
  color: #dff4ff;
  background: linear-gradient(150deg, rgba(23, 41, 67, 0.94), rgba(16, 29, 48, 0.94));
}

.inventory-category-copy {
  display: grid;
  gap: 0.12rem;
}

.inventory-category-copy strong {
  font-size: 1rem;
  line-height: 1.1;
}

.inventory-category-copy small {
  color: #9cb7d8;
  font-size: 0.83rem;
}

.inventory-inline-input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(137, 164, 198, 0.32);
  border-radius: 10px;
  padding: 0.36rem 0.5rem;
  background: rgba(8, 17, 30, 0.85);
  color: #eaf2ff;
  font-size: 0.86rem;
  line-height: 1.2;
}

.inventory-inline-input:focus {
  outline: none;
  border-color: rgba(30, 245, 200, 0.58);
  box-shadow: 0 0 0 1px rgba(30, 245, 200, 0.26);
}

.inventory-inline-sub {
  font-size: 0.8rem;
  color: #a9bbd3;
}

.inventory-name-field,
.inventory-brand-field {
  border-color: transparent;
  background: rgba(7, 16, 29, 0.42);
}

.inventory-name-field {
  font-weight: 700;
  font-size: 0.95rem;
}

.inventory-brand-field {
  color: #9ab3d3;
}

.inventory-price-field {
  font-weight: 700;
}

.inventory-stock-input {
  text-align: center;
  font-size: clamp(1.2rem, 1.5vw, 1.8rem);
  line-height: 1;
  font-weight: 800;
  padding-block: 0.38rem;
  min-height: 48px;
  border-color: transparent;
  background: rgba(7, 16, 29, 0.5);
}

.inventory-featured-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.82rem;
  color: #dceaff;
}

.inventory-featured-toggle input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #ff9f62;
}

.inventory-featured-toggle-compact {
  font-size: 0.75rem;
}

.inventory-featured-meta {
  margin: 0;
}

.inventory-product-featured-row {
  margin-top: 0.24rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.inventory-image-click {
  cursor: pointer;
}

.inventory-product-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(117, 143, 177, 0.36);
}

.product-image-fallback.inventory-product-thumb {
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  color: #aac3df;
  background: rgba(9, 17, 31, 0.72);
}

.inventory-thumb-wrap {
  position: relative;
  width: 52px;
  height: 52px;
}

.inventory-hidden-x {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: rgba(255, 138, 158, 0.95);
  text-shadow: 0 1px 3px rgba(8, 12, 20, 0.82);
  pointer-events: none;
}

.inventory-image-cell {
  min-width: 0;
}

.inventory-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.inventory-image-btn {
  width: auto;
  margin-bottom: 0;
}

.inventory-command-table-wrap {
  border: 1px solid rgba(98, 132, 174, 0.26);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7, 16, 30, 0.45);
}

.inventory-image-count-pill {
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 142, 183, 0.35);
  background: rgba(11, 21, 35, 0.76);
}

.inventory-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  border-radius: 10px;
  padding: 0.42rem 0.72rem;
  font-size: 0.78rem;
}

.inventory-action-btn .tabler-icon {
  width: 1rem;
  height: 1rem;
}

.inventory-action-manage {
  border-color: rgba(58, 220, 207, 0.55);
  color: #a6f5ed;
}

.inventory-action-delete {
  border-color: rgba(232, 85, 99, 0.52);
  color: #ff9faa;
}

.inventory-action-hide {
  border-color: rgba(233, 98, 124, 0.56);
  color: #ffb1c0;
}

.inventory-action-unhide {
  border-color: rgba(79, 220, 178, 0.58);
  color: #9cf5d7;
}

.inventory-action-release {
  border-color: rgba(255, 175, 104, 0.58);
  color: #ffd8ab;
}

.inventory-action-release-now {
  border-color: rgba(123, 200, 255, 0.58);
  color: #caeaff;
}

.inventory-action-cell {
  text-align: right;
  vertical-align: middle;
}

.inventory-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.product-release-panel {
  width: min(560px, 94vw);
}

@media (max-width: 1024px) {
  .inventory-command-head {
    flex-direction: column;
    align-items: stretch;
  }

  .inventory-command-actions {
    justify-content: flex-start;
  }

  .inventory-command-table-wrap th,
  .inventory-command-table-wrap td {
    padding: 0.44rem 0.4rem;
  }

  .inventory-inline-stack {
    gap: 0.22rem;
  }

  .inventory-name-field {
    font-size: 0.9rem;
  }

  .inventory-brand-field {
    font-size: 0.8rem;
  }

  .inventory-stock-input {
    font-size: 1.25rem;
    min-height: 42px;
    padding-block: 0.28rem;
  }

  .inventory-image-cell {
    width: 20%;
  }

  .inventory-product-thumb {
    width: 44px;
    height: 44px;
  }

  .inventory-image-actions {
    gap: 0.32rem;
  }

  .inventory-action-btn {
    padding: 0.32rem 0.56rem;
    font-size: 0.72rem;
  }
}

.image-manager-panel {
  width: min(1020px, 95vw);
  max-height: 90vh;
  border-color: rgba(95, 201, 221, 0.36);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(43, 128, 197, 0.2), transparent 58%),
    linear-gradient(155deg, rgba(11, 20, 34, 0.98), rgba(7, 13, 24, 0.98));
}

.image-manager-panel .modal-head h2 {
  color: #ffffff;
}

.image-manager-actions {
  margin-top: 0.65rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  align-items: center;
}

.image-manager-filters {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.image-manager-filters.drag-active .image-manager-filter-chip {
  border-color: rgba(126, 226, 255, 0.56);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.image-manager-filters.drag-active .image-manager-filter-chip:hover {
  transform: translateY(-1px) scale(1.03);
}

.image-manager-filter-chip.drop-target {
  border-color: rgba(30, 245, 200, 0.95);
  box-shadow:
    0 0 0 2px rgba(30, 245, 200, 0.22),
    inset 0 0 0 1px rgba(30, 245, 200, 0.25);
  background: rgba(9, 35, 42, 0.88);
  transform: translateY(-1px) scale(1.06);
}

.image-manager-filter-chip.drop-success {
  animation: image-manager-chip-drop-success 380ms ease;
}

@keyframes image-manager-chip-drop-success {
  0% {
    transform: translateY(-1px) scale(1);
  }
  18% {
    transform: translateY(-1px) scale(1.11);
  }
  32% {
    transform: translateY(-1px) scale(1.02) translateX(-3px);
  }
  48% {
    transform: translateY(-1px) scale(1.02) translateX(3px);
  }
  64% {
    transform: translateY(-1px) scale(1.01) translateX(-2px);
  }
  80% {
    transform: translateY(-1px) scale(1.01) translateX(2px);
  }
  100% {
    transform: translateY(-1px) scale(1) translateX(0);
  }
}

@keyframes image-manager-chip-shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-3px);
  }
  50% {
    transform: translateX(3px);
  }
  75% {
    transform: translateX(-2px);
  }
  100% {
    transform: translateX(0);
  }
}

.image-manager-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.image-manager-upload-tile {
  border: 1px dashed rgba(124, 166, 214, 0.48);
  border-radius: 12px;
  padding: 0.8rem 0.65rem;
  background: rgba(9, 17, 30, 0.75);
  min-height: 220px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.35rem;
  cursor: copy;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.image-manager-upload-tile:hover,
.image-manager-upload-tile:focus-visible {
  border-color: rgba(126, 226, 255, 0.88);
  background: rgba(10, 28, 44, 0.86);
  box-shadow: 0 0 0 2px rgba(86, 211, 255, 0.16);
  transform: translateY(-1px);
  outline: none;
}

.image-manager-upload-tile.file-drag-over {
  border-color: rgba(30, 245, 200, 0.92);
  background: rgba(9, 34, 46, 0.9);
  box-shadow: 0 0 0 2px rgba(30, 245, 200, 0.2);
}

.image-manager-upload-tile.uploading {
  cursor: progress;
}

.image-manager-upload-plus {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(130, 185, 243, 0.65);
  display: grid;
  place-items: center;
  margin: 0 auto 0.22rem;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;
  color: #d9ecff;
  background: rgba(9, 20, 35, 0.9);
}

.image-manager-upload-text {
  color: #d8e9ff;
  font-weight: 700;
  font-size: 0.88rem;
}

.image-manager-upload-subtext {
  color: #96b2d2;
  font-size: 0.78rem;
}

.image-manager-upload-progress {
  width: min(220px, 92%);
  height: 9px;
  margin: 0.25rem auto 0;
  border-radius: 999px;
  border: 1px solid rgba(119, 161, 206, 0.52);
  background: rgba(7, 14, 26, 0.88);
  overflow: hidden;
}

.image-manager-upload-progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #49b8ff, #1ef5c8);
  transition: width 120ms linear;
}

.image-manager-item {
  border: 1px solid rgba(133, 165, 209, 0.35);
  border-radius: 12px;
  padding: 0.45rem;
  background: rgba(10, 18, 31, 0.86);
  cursor: grab;
  min-width: 0;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease,
    background-color 150ms ease;
}

.image-manager-item:hover {
  border-color: rgba(125, 209, 255, 0.7);
  box-shadow: 0 0 0 2px rgba(89, 197, 255, 0.16);
  transform: translateY(-1px);
}

.image-manager-item.dragging {
  opacity: 0.58;
  cursor: grabbing;
}

.image-manager-item.drop-target {
  border-color: rgba(30, 245, 200, 0.9);
  box-shadow: 0 0 0 2px rgba(30, 245, 200, 0.2);
  background: rgba(9, 34, 46, 0.9);
}

.image-manager-thumb-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(122, 151, 194, 0.35);
  background: rgba(14, 26, 41, 0.82);
  aspect-ratio: 1 / 1;
}

.image-manager-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-manager-item-meta {
  margin-top: 0.4rem;
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.image-manager-item-meta-left {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.image-manager-rank {
  font-size: 0.8rem;
  color: #c3d6ef;
  font-weight: 700;
}

.image-manager-assignment-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  width: fit-content;
  border: 1px solid rgba(93, 214, 203, 0.48);
  background: rgba(10, 37, 41, 0.75);
  color: #bbf9f1;
  border-radius: 999px;
  padding: 0.16rem 0.52rem;
  font-size: 0.74rem;
  font-weight: 800;
}

.image-manager-assignment-tag.unassigned {
  border-color: rgba(126, 162, 209, 0.44);
  background: rgba(13, 23, 39, 0.78);
  color: #c8d9ef;
}

.image-manager-item-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem;
  align-items: center;
  min-width: 0;
}

.image-manager-move-select {
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(111, 151, 201, 0.46);
  border-radius: 999px;
  padding: 0.34rem 0.55rem;
  background: rgba(10, 20, 35, 0.82);
  color: #d5e8ff;
  font-size: 0.74rem;
  font-weight: 700;
}

.image-manager-undo-btn {
  margin-left: 0.4rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.73rem;
  border-color: rgba(93, 214, 203, 0.55);
}

.image-manager-remove {
  padding: 0.35rem 0.65rem;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .image-manager-item-actions {
    grid-template-columns: 1fr;
  }

  .image-manager-remove {
    width: 100%;
  }
}

.image-manager-footer {
  margin-top: 0.85rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}

.product-details-panel {
  width: min(1100px, 95vw);
  max-height: 90vh;
  border-color: rgba(95, 201, 221, 0.36);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(43, 128, 197, 0.2), transparent 58%),
    linear-gradient(155deg, rgba(11, 20, 34, 0.98), rgba(7, 13, 24, 0.98));
}

.product-details-panel .modal-head h2 {
  color: #ffffff;
}

.product-details-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
}

.product-details-footer {
  margin-top: 0.85rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}

.admin-product-details-workspace {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
  border: 1px solid rgba(83, 118, 162, 0.34);
  background:
    radial-gradient(130% 150% at 0% 0%, rgba(34, 96, 157, 0.2), transparent 58%),
    linear-gradient(155deg, rgba(10, 18, 33, 0.98), rgba(7, 13, 24, 0.98));
}

#adminView.app-view-active,
#adminProductDetailsWorkspaceContent,
.admin-product-details-panel,
.admin-product-details-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#adminView.app-view-active {
  grid-template-columns: minmax(0, 1fr);
  overflow-x: clip;
}

#adminView.app-view-active > section {
  min-width: 0;
  max-width: 100%;
}

.admin-product-details-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.admin-product-details-shell > * {
  min-width: 0;
  max-width: 100%;
}

.admin-product-details-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  min-width: 0;
}

.admin-product-details-head > * {
  min-width: 0;
}

.admin-product-details-head-copy h2 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.admin-product-details-head-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-product-details-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.9rem;
  padding: 0.8rem;
  border: 1px solid rgba(79, 111, 154, 0.32);
  border-radius: 16px;
  background: rgba(7, 15, 27, 0.65);
}

.admin-product-details-summary-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.admin-product-details-thumb {
  width: 106px;
  height: 106px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(126, 158, 201, 0.44);
  background: rgba(8, 17, 30, 0.92);
}

.admin-product-details-summary-copy h3 {
  margin: 0 0 0.45rem;
}

.admin-product-details-summary-copy {
  min-width: 0;
}

.admin-product-details-summary-metrics {
  display: grid;
  gap: 0.5rem;
  min-width: 170px;
}

.admin-product-metric {
  border: 1px solid rgba(90, 124, 168, 0.34);
  border-radius: 12px;
  background: rgba(8, 16, 29, 0.74);
  padding: 0.5rem 0.62rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.admin-product-metric span {
  font-size: 0.74rem;
  color: #9fb7d7;
}

.admin-product-metric strong {
  font-size: 1rem;
  color: #f2f7ff;
}

.admin-product-details-tabs {
  gap: 0.5rem;
}

.admin-product-details-summary .chip-row,
.admin-product-details-tabs {
  min-width: 0;
  flex-wrap: wrap;
  overflow-x: clip;
}

.admin-product-details-summary .chip {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-product-details-status {
  color: #9dc4f5;
  font-size: 0.82rem;
  line-height: 1.4;
  word-break: break-word;
}

.admin-product-details-status:empty {
  display: none;
}

.admin-product-details-status:not(:empty) {
  border: 1px solid rgba(84, 120, 170, 0.34);
  border-radius: 12px;
  background: rgba(10, 20, 35, 0.8);
  padding: 0.58rem 0.66rem;
}

.admin-product-details-panel {
  border: 1px solid rgba(81, 114, 160, 0.32);
  border-radius: 16px;
  background: rgba(7, 15, 27, 0.72);
  padding: 0.86rem;
}

.admin-product-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.admin-product-panel-head-content {
  align-items: flex-start;
}

.admin-product-content-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-product-content-actions .btn {
  min-height: 38px;
}

.admin-product-content-toolbar {
  display: grid;
  gap: 0.75rem;
}

.admin-product-content-toolbar-copy h3 {
  margin: 0;
}

.admin-product-content-toolbar-copy p {
  margin: 0.35rem 0 0;
  color: #a9c2df;
  font-size: 0.87rem;
  line-height: 1.45;
}

.admin-product-content-action-btn {
  border-radius: 999px;
  padding-inline: 0.95rem;
}

.admin-product-content-save-btn {
  border-radius: 999px;
  padding-inline: 1.2rem;
  background: linear-gradient(130deg, #ed7f39, #f5a451);
}

.admin-product-content-note {
  margin: 0.1rem 0 0.75rem;
  font-size: 0.82rem;
  color: #8fb3da;
}

.admin-product-panel-head h3,
.admin-product-details-panel h3 {
  margin: 0;
}

.admin-product-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-product-overview-card {
  border: 1px solid rgba(88, 121, 168, 0.3);
  border-radius: 12px;
  background: rgba(9, 17, 31, 0.76);
  padding: 0.72rem;
}

.admin-product-overview-card h4 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
}

.admin-product-overview-card p,
.admin-product-overview-card ul {
  margin: 0;
  font-size: 0.86rem;
  color: #c7d8ed;
  line-height: 1.45;
}

.admin-product-overview-card ul {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.32rem;
}

.admin-product-overview-actions {
  display: grid;
  gap: 0.42rem;
}

.admin-product-specs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-product-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-product-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 0.8rem;
  align-items: start;
}

.admin-product-content-main {
  display: grid;
  gap: 0.75rem;
}

.admin-product-content-side {
  display: grid;
  gap: 0.75rem;
  position: sticky;
  top: 0.75rem;
}

.admin-product-content-card {
  border: 1px solid rgba(88, 121, 168, 0.3);
  border-radius: 12px;
  background: rgba(9, 17, 31, 0.76);
  padding: 0.8rem;
  display: grid;
  gap: 0.62rem;
}

.admin-product-content-card h4 {
  margin: 0;
}

.admin-product-content-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.admin-product-content-card-meta {
  font-size: 0.73rem;
  color: #91afd3;
  border: 1px solid rgba(100, 135, 184, 0.36);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}

.admin-product-content-card textarea,
.admin-product-content-card input,
.admin-product-content-card select {
  width: 100%;
  border: 1px solid rgba(119, 151, 195, 0.3);
  border-radius: 10px;
  background: rgba(8, 15, 27, 0.9);
  color: #eef5ff;
  padding: 0.45rem 0.52rem;
  font-size: 0.86rem;
}

.admin-product-content-card textarea:focus,
.admin-product-content-card input:focus,
.admin-product-content-card select:focus {
  outline: none;
  border-color: rgba(255, 157, 92, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 157, 92, 0.24);
}

.admin-product-list-editor {
  display: grid;
  gap: 0.5rem;
}

.admin-product-list-editor span {
  font-size: 0.82rem;
  color: #b8cee8;
}

.admin-product-inline-field {
  display: grid;
  gap: 0.24rem;
}

.admin-product-inline-field span {
  font-size: 0.78rem;
  color: #a7bfdc;
}

.admin-product-card-list {
  display: grid;
  gap: 0.6rem;
}

.admin-product-list-row {
  border: 1px solid rgba(88, 121, 168, 0.3);
  border-radius: 10px;
  background: rgba(7, 14, 25, 0.82);
  padding: 0.58rem;
  display: grid;
  gap: 0.52rem;
}

.admin-product-list-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.admin-product-list-row-head strong {
  font-size: 0.84rem;
  color: #e4eefb;
}

.admin-product-list-row-state {
  font-size: 0.7rem;
  color: #9eb6d4;
  border: 1px solid rgba(95, 130, 177, 0.4);
  border-radius: 999px;
  padding: 0.14rem 0.45rem;
}

.admin-product-list-row-state.is-complete {
  color: #95f0c3;
  border-color: rgba(90, 216, 153, 0.52);
  background: rgba(24, 84, 53, 0.28);
}

.admin-product-list-row label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: #b9cee6;
}

.admin-product-content-assist {
  border: 1px solid rgba(88, 121, 168, 0.32);
  border-radius: 12px;
  background: rgba(8, 16, 29, 0.86);
  padding: 0.72rem;
  display: grid;
  gap: 0.55rem;
}

.admin-product-content-assist h4 {
  margin: 0;
}

.admin-product-content-assist p {
  margin: 0;
  color: #b6cde9;
  font-size: 0.84rem;
  line-height: 1.45;
}

.admin-product-content-assist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.38rem;
}

.admin-product-content-assist li {
  font-size: 0.84rem;
  color: #acc4e1;
  padding-left: 1.2rem;
  position: relative;
}

.admin-product-content-assist li::before {
  content: '';
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 152, 190, 0.6);
  background: rgba(13, 25, 43, 0.9);
  position: absolute;
  left: 0.12rem;
  top: 0.38rem;
}

.admin-product-content-assist li.is-complete {
  color: #d9f4e7;
}

.admin-product-content-assist li.is-complete::before {
  border-color: rgba(87, 214, 149, 0.8);
  background: #3cc983;
}

.admin-product-content-progress {
  font-size: 0.8rem;
  color: #f2f7ff;
  border-top: 1px solid rgba(89, 119, 156, 0.34);
  padding-top: 0.46rem;
}

.admin-product-save-banner {
  margin-bottom: 0.78rem;
  border: 1px solid rgba(91, 216, 153, 0.55);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(45, 171, 111, 0.2), rgba(39, 208, 197, 0.1)),
    rgba(7, 19, 31, 0.94);
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(91, 216, 153, 0.12);
}

.admin-product-save-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #07131f;
  background: #6ee7aa;
  box-shadow: 0 0 22px rgba(91, 216, 153, 0.42);
}

.admin-product-save-banner-saving .admin-product-save-banner-icon .tabler-icon {
  animation: admin-save-spin 0.9s linear infinite;
}

.admin-product-save-banner strong,
.admin-product-save-banner span {
  display: block;
}

.admin-product-save-banner strong {
  color: #f4fff9;
  font-size: 1.1rem;
  line-height: 1.15;
}

.admin-product-save-banner span {
  margin-top: 0.18rem;
  color: #bfeed8;
  font-size: 0.9rem;
  line-height: 1.4;
}

.admin-product-save-banner-saving {
  border-color: rgba(245, 164, 81, 0.58);
  background:
    linear-gradient(135deg, rgba(237, 127, 57, 0.22), rgba(245, 164, 81, 0.1)),
    rgba(7, 19, 31, 0.94);
}

.admin-product-save-banner-saving .admin-product-save-banner-icon {
  background: #f5a451;
  box-shadow: 0 0 22px rgba(245, 164, 81, 0.42);
}

.admin-product-save-banner-saving span {
  color: #ffddb8;
}

.admin-product-save-banner-error {
  border-color: rgba(255, 111, 111, 0.58);
  background:
    linear-gradient(135deg, rgba(172, 50, 50, 0.24), rgba(237, 127, 57, 0.1)),
    rgba(7, 19, 31, 0.94);
}

.admin-product-save-banner-error .admin-product-save-banner-icon {
  background: #ff7777;
  box-shadow: 0 0 22px rgba(255, 111, 111, 0.36);
}

.admin-product-save-banner-error span {
  color: #ffd1d1;
}

.admin-product-variant-save-banner {
  margin-top: 0.7rem;
}

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

.admin-product-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 0.82rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.admin-product-studio > * {
  min-width: 0;
  max-width: 100%;
}

.admin-product-studio-side {
  position: sticky;
  top: 0.75rem;
}

.admin-product-studio-rail {
  grid-column: 1 / -1;
  min-width: 0;
}

.admin-product-studio-score,
.admin-product-studio-step,
.admin-product-studio-ai,
.admin-product-studio-bottom,
.admin-product-preview-card {
  border: 1px solid rgba(88, 121, 168, 0.32);
  border-radius: 12px;
  background: rgba(8, 16, 29, 0.86);
}

.admin-product-studio-score {
  padding: 0.78rem;
  margin-bottom: 0.65rem;
  display: grid;
  gap: 0.6rem;
}

.admin-product-studio-score > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.admin-product-studio-score strong {
  display: block;
  color: #f4f9ff;
  font-size: 1.2rem;
  line-height: 1.05;
}

.admin-product-studio-score span {
  color: #9df0c4;
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.admin-product-studio-score .admin-product-content-progress {
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  overflow: hidden;
  background: rgba(225, 238, 255, 0.1);
}

.admin-product-studio-score .admin-product-content-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #39d994, #27d0c5);
}

.admin-product-studio-steps,
.admin-product-studio-main,
.admin-product-studio-side {
  display: grid;
  gap: 0.62rem;
  min-width: 0;
}

.admin-product-studio-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-product-studio-step {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.58rem;
  padding: 0.58rem 0.68rem;
  color: #d8e6f7;
  text-align: left;
}

.admin-product-studio-step.active {
  border-color: rgba(237, 127, 57, 0.72);
  background: rgba(237, 127, 57, 0.14);
}

.admin-product-studio-step.is-ready .tabler-icon {
  color: #59dda0;
}

.admin-product-studio-step strong,
.admin-product-studio-step small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-product-studio-step strong {
  font-size: 0.95rem;
}

.admin-product-studio-step small {
  margin-top: 0.08rem;
  color: #9fb6d2;
  font-size: 0.72rem;
}

.admin-product-studio-step em {
  color: #d9e9ff;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  border: 1px solid rgba(104, 139, 188, 0.36);
  border-radius: 999px;
  padding: 0.16rem 0.42rem;
}

.admin-product-studio-ai {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.82rem;
  background:
    linear-gradient(120deg, rgba(237, 127, 57, 0.16), rgba(39, 208, 197, 0.08)),
    rgba(8, 16, 29, 0.86);
}

.admin-product-studio-ai h3 {
  font-size: 1.6rem;
}

.admin-product-studio-ai p,
.admin-product-content-card-head p {
  margin: 0.22rem 0 0;
  color: #9fb6d2;
  font-size: 0.82rem;
  line-height: 1.35;
}

.admin-product-studio-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 0.55rem;
}

.admin-product-studio-sources span {
  border: 1px solid rgba(88, 121, 168, 0.32);
  border-radius: 999px;
  background: rgba(8, 15, 27, 0.82);
  color: #d5e4f6;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.18rem 0.5rem;
}

.admin-product-section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
  flex-wrap: wrap;
}

.admin-product-section-actions .btn {
  min-height: 34px;
  border-radius: 999px;
  font-size: 0.78rem;
}

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

.admin-product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.admin-product-who-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-product-icon-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.admin-product-icon-tile {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(88, 121, 168, 0.38);
  border-radius: 10px;
  background: rgba(7, 14, 25, 0.86);
  color: #ed7f39;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.admin-product-icon-tile input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.admin-product-icon-tile:has(input:checked) {
  border-color: rgba(237, 127, 57, 0.8);
  background: rgba(237, 127, 57, 0.16);
  box-shadow: inset 0 0 0 1px rgba(237, 127, 57, 0.18);
}

.admin-product-icon-empty {
  width: auto;
  min-width: 58px;
  padding-inline: 0.48rem;
  color: #a9bed8;
  font-size: 0.68rem;
  font-weight: 900;
}

.admin-product-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.admin-product-cta-text {
  grid-column: 1 / -1;
}

.admin-product-specs-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-product-pdp-preview {
  padding: 0;
  overflow: hidden;
}

.admin-product-pdp-preview > .admin-product-content-card-head {
  padding: 0.72rem;
  border-bottom: 1px solid rgba(88, 121, 168, 0.32);
}

.admin-product-preview-card {
  margin: 0.72rem;
  background: #f7f9fc;
  overflow: hidden;
}

.admin-product-preview-hero {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  border-bottom: 1px solid #dfe6ef;
}

.admin-product-preview-hero > div:first-child {
  background: #eef2f7;
  display: grid;
  place-items: center;
  padding: 0.75rem;
}

.admin-product-preview-hero img {
  width: 100%;
  max-height: 170px;
  object-fit: contain;
}

.admin-product-preview-hero > div:last-child {
  display: grid;
  align-content: center;
  gap: 0.38rem;
  padding: 0.85rem;
  color: #121926;
}

.admin-product-preview-hero span {
  color: #6c7c92;
  font-size: 0.72rem;
  font-weight: 900;
}

.admin-product-preview-hero strong {
  color: #111827;
  font-size: 1.02rem;
  line-height: 1.05;
}

.admin-product-preview-hero em {
  color: #111827;
  font-size: 1rem;
  font-style: normal;
  font-weight: 900;
}

.admin-product-preview-hero button {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(130deg, #ed7f39, #f5a451);
  color: #fff;
  min-height: 32px;
  font-size: 0.75rem;
  font-weight: 900;
}

.admin-product-preview-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.7rem;
  background: #f4f7fb;
}

.admin-product-preview-sections section {
  border: 1px solid #dae3ef;
  border-radius: 10px;
  background: #fff;
  padding: 0.65rem;
  min-width: 0;
}

.admin-product-preview-sections section.dark {
  background: #080f19;
  border-color: #1f2c3e;
}

.admin-product-preview-sections h5 {
  margin: 0 0 0.35rem;
  color: #111827;
  font-size: 0.76rem;
}

.admin-product-preview-sections .dark h5 {
  color: #f5f8ff;
}

.admin-product-preview-sections p {
  margin: 0;
  color: #516176;
  font-size: 0.68rem;
  line-height: 1.35;
}

.admin-product-preview-sections .dark p {
  color: #d5dfeb;
}

.admin-product-studio-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.admin-product-studio-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #b9cee6;
  font-size: 0.83rem;
  font-weight: 800;
}

.admin-product-studio-checklist li.is-complete {
  color: #dff8eb;
}

.admin-product-studio-checklist .tabler-icon {
  color: #ed7f39;
}

.admin-product-studio-checklist li.is-complete .tabler-icon {
  color: #45d58f;
}

.admin-product-content-progress-label {
  border-top: 1px solid rgba(89, 119, 156, 0.34);
  color: #f2f7ff;
  font-size: 0.8rem;
  padding-top: 0.46rem;
}

.admin-product-studio-bottom {
  position: sticky;
  bottom: 0.65rem;
  z-index: 5;
  margin-top: 0.78rem;
  padding: 0.62rem;
  border: 1px solid rgba(89, 119, 156, 0.38);
  border-radius: 16px;
  background: rgba(8, 16, 29, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  backdrop-filter: blur(14px);
}

.admin-product-studio-bottom > span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
  color: #d9e8fb;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
}

.admin-product-studio-bottom > span > span {
  min-width: 0;
}

.admin-product-studio-bottom i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #45d58f;
  box-shadow: 0 0 14px rgba(69, 213, 143, 0.5);
}

.admin-product-studio-bottom-saving {
  border-color: rgba(245, 164, 81, 0.66);
  background:
    linear-gradient(120deg, rgba(237, 127, 57, 0.22), rgba(245, 164, 81, 0.1)),
    rgba(8, 16, 29, 0.92);
}

.admin-product-studio-bottom-saving i {
  background: #f5a451;
  box-shadow: 0 0 18px rgba(245, 164, 81, 0.54);
}

.admin-product-studio-bottom-saved {
  border-color: rgba(91, 216, 153, 0.72);
  background:
    linear-gradient(120deg, rgba(45, 171, 111, 0.24), rgba(39, 208, 197, 0.12)),
    rgba(7, 20, 31, 0.96);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(91, 216, 153, 0.15) inset;
}

.admin-product-studio-bottom-saved > span {
  color: #ecfff5;
  font-size: 1rem;
}

.admin-product-studio-bottom-error {
  border-color: rgba(255, 111, 111, 0.66);
  background:
    linear-gradient(120deg, rgba(172, 50, 50, 0.24), rgba(237, 127, 57, 0.1)),
    rgba(8, 16, 29, 0.94);
}

.admin-product-studio-bottom-error i {
  background: #ff7777;
  box-shadow: 0 0 18px rgba(255, 111, 111, 0.45);
}

.admin-product-variant-save-bottom .admin-product-content-actions {
  flex: 0 0 auto;
}

.admin-product-variant-save-btn {
  min-width: 180px;
}

.admin-product-studio-bottom-saving .admin-product-variant-save-btn .tabler-icon {
  animation: admin-save-spin 0.9s linear infinite;
}

.admin-product-variant-inline-status:empty {
  display: none;
}

@media (max-width: 1080px) {
  .admin-product-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-product-studio {
    grid-template-columns: 1fr;
  }

  .admin-product-studio-rail,
  .admin-product-studio-side {
    position: static;
  }

  .admin-product-studio-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-product-content-grid,
  .admin-product-content-layout,
  .admin-product-specs-grid {
    grid-template-columns: 1fr;
  }

  .admin-product-content-side {
    position: static;
  }

  .admin-product-specs-grid-compact,
  .admin-product-who-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .admin-product-details-head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-product-details-summary {
    grid-template-columns: 1fr;
  }

  .admin-product-details-summary-main {
    align-items: flex-start;
  }

  .admin-product-details-summary-metrics {
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-product-overview-grid {
    grid-template-columns: 1fr;
  }

  .admin-product-content-actions {
    justify-content: flex-start;
  }

  .admin-product-studio-ai,
  .admin-product-studio-bottom {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .admin-product-studio-bottom {
    flex-direction: column;
  }

  .admin-product-studio-steps,
  .admin-product-feature-grid,
  .admin-product-who-grid,
  .admin-product-bullet-grid,
  .admin-product-cta-grid,
  .admin-product-specs-grid-compact,
  .admin-product-preview-sections,
  .admin-product-preview-hero {
    grid-template-columns: 1fr;
  }

  .admin-product-content-action-btn,
  .admin-product-content-save-btn {
    width: 100%;
    justify-content: center;
  }

  .admin-product-content-card-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.apparel-add-step {
  margin-top: 0.7rem;
}

.apparel-matrix-builder {
  border: 1px solid rgba(68, 103, 152, 0.4);
  border-radius: 10px;
  display: grid;
  gap: 0.86rem;
  margin-bottom: 0.72rem;
  padding: 0.78rem;
}

.apparel-builder-summary,
.apparel-review-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.apparel-builder-summary span,
.apparel-review-summary span {
  border: 1px solid rgba(68, 103, 152, 0.46);
  border-radius: 999px;
  color: #b9d4f2;
  min-height: 32px;
  padding: 0.38rem 0.62rem;
}

.apparel-builder-summary strong,
.apparel-review-summary strong {
  color: #eef5ff;
}

.apparel-builder-context,
.apparel-builder-row {
  display: grid;
  gap: 0.48rem;
}

.apparel-builder-label {
  color: #9bb5d7;
  font-size: 0.78rem;
  font-weight: 800;
}

.apparel-preset-control {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.apparel-preset-control .segment,
.apparel-builder-chip {
  align-items: center;
  background: rgba(8, 17, 30, 0.8);
  border: 1px solid rgba(68, 103, 152, 0.5);
  border-radius: 999px;
  color: #dceaff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  gap: 0.38rem;
  justify-content: center;
  min-height: 38px;
  padding: 0.38rem 0.72rem;
}

.apparel-preset-control .segment.active,
.apparel-builder-chip.active {
  background: rgba(29, 211, 177, 0.16);
  border-color: rgba(29, 211, 177, 0.72);
  box-shadow: 0 0 0 1px rgba(29, 211, 177, 0.28) inset;
  color: #f3fffb;
}

.apparel-builder-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.apparel-size-chip {
  min-width: 54px;
}

.apparel-width-chip-grid .apparel-builder-chip {
  min-width: 104px;
}

.apparel-color-chip-grid .apparel-builder-chip {
  padding-left: 0.48rem;
}

.apparel-builder-swatch {
  background: var(--apparel-swatch, #64748b);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  height: 18px;
  width: 18px;
}

.apparel-color-entry {
  display: grid;
  gap: 0.42rem;
  grid-template-columns: minmax(220px, 1fr) auto;
}

.apparel-bulk-grid {
  margin-top: 0.72rem;
}

.apparel-builder-action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.apparel-builder-action-stack .btn {
  flex: 1 1 180px;
  justify-content: center;
  min-height: 43px;
}

@media (max-width: 760px) {
  .apparel-matrix-builder {
    padding: 0.64rem;
  }

  .apparel-color-entry {
    grid-template-columns: 1fr;
  }

  .apparel-color-entry .btn,
  .apparel-builder-action-stack .btn,
  .apparel-preset-control .segment {
    width: 100%;
  }
}

.apparel-add-panel textarea,
.apparel-import-panel textarea {
  width: 100%;
  min-height: 72px;
  border: 1px solid rgba(137, 164, 198, 0.32);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  background: rgba(8, 17, 30, 0.85);
  color: #eaf2ff;
  font-size: 0.86rem;
}

.apparel-add-panel textarea:focus,
.apparel-import-panel textarea:focus {
  outline: none;
  border-color: rgba(30, 245, 200, 0.58);
  box-shadow: 0 0 0 1px rgba(30, 245, 200, 0.26);
}

.inventory-apparel-type-field {
  min-height: 37px;
}

.apparel-add-panel .chip-row {
  margin-bottom: 0.6rem;
}

.apparel-add-panel .chip-row .chip {
  min-width: 140px;
}

.variant-plus-row td {
  border-top: none;
  padding-top: 0.2rem;
}

.variant-plus-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(122, 167, 221, 0.45);
  background: rgba(11, 20, 34, 0.9);
  color: #d8e9ff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.variant-plus-btn:hover {
  border-color: rgba(30, 245, 200, 0.68);
  box-shadow: 0 0 0 1px rgba(30, 245, 200, 0.22);
}

.quickview-modal .modal-backdrop {
  background: rgba(9, 12, 16, 0.3);
  backdrop-filter: none;
}

.quickview-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  width: min(470px, 36vw);
  max-height: none;
  border-radius: 0;
  border-left: 1px solid #d7dfea;
  border-top: none;
  border-right: none;
  border-bottom: none;
  background: #ffffff;
  color: #10141c;
  overflow-y: auto;
  padding: 1rem;
  box-shadow: -18px 0 40px rgba(5, 8, 13, 0.22);
}

.quickview-panel .modal-head h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: lowercase;
  color: #151a23;
}

#quickViewContent {
  display: grid;
  gap: 0.75rem;
}

.quickview-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
}

.quickview-open-target {
  cursor: pointer;
}

.quickview-open-target:focus-visible {
  outline: 2px solid rgba(87, 199, 255, 0.9);
  outline-offset: 3px;
  border-radius: 10px;
}

.quickview-row img {
  width: 100%;
  border: 1px solid #d6deeb;
  border-radius: 10px;
}

.quickview-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0e1420;
}

.quickview-meta {
  color: #6a7585;
}

.quickview-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.variant-group {
  display: grid;
  gap: 0.35rem;
}

.variant-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.variant-row .chip {
  border-radius: 8px;
}

.qty-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
}

.qty-stepper {
  display: grid;
  grid-template-columns: 36px 64px 36px;
  gap: 0.3rem;
  align-items: center;
}

.qty-stepper input {
  text-align: center;
  width: 100%;
}

.qty-stepper .btn {
  padding: 0.3rem 0.4rem;
  border-radius: 8px;
}

.product-page-panel {
  margin-top: 1rem;
  border: 1px solid #d8dfeb;
  border-radius: 10px;
  background: #fff;
  padding: 1rem;
}

.product-page-grid {
  display: grid;
  grid-template-columns: 72px 1fr 1fr;
  gap: 1rem;
}

.product-page-thumbs {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.product-page-thumbs button {
  border: 1px solid #d4dbe8;
  background: #fff;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
}

.product-page-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.product-page-main-image {
  border: 1px solid #dde4ef;
  border-radius: 10px;
  background: #f6f8fb;
  position: relative;
  overflow: hidden;
  min-height: 460px;
}

.product-page-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 200ms ease;
}

.product-page-main-image.zoom img {
  transform: scale(1.65);
}

.zoom-note {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  background: rgba(16, 22, 32, 0.82);
  color: #f3f8ff;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  font-size: 0.73rem;
}

.product-page-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
  color: #121722;
}

.product-page-price {
  font-size: 1.45rem;
  font-weight: 800;
}

.product-page-tabs {
  margin-top: 1rem;
  display: flex;
  gap: 0.45rem;
  border-bottom: 1px solid #dce4ef;
  padding-bottom: 0.45rem;
}

.product-page-tabs .chip {
  border-radius: 8px;
}

.product-page-content {
  margin-top: 0.65rem;
  color: #252c38;
  line-height: 1.5;
}

.product-page-specs {
  display: grid;
  gap: 0.5rem;
}

.product-page-spec-item {
  border: 1px solid #dce4ef;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  background: #f8fafd;
}

#productDetailView .shop-site.product-detail-shell {
  background: #f4f6fb;
  border-color: #d7deea;
}

#productDetailView .shop-top-strip {
  background: linear-gradient(90deg, #050b16, #0a1627);
  border-bottom: 1px solid rgba(131, 161, 201, 0.26);
}

#productDetailView .shop-block {
  border-top: none;
  background: transparent;
  padding: 1rem;
}

#productDetailView .pdp-v2-shell {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

#productDetailView .pdp-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: stretch;
  min-width: 0;
}

#productDetailView .pdp-v2-card {
  background: #ffffff;
  border: 1px solid #d9e0ec;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(20, 35, 58, 0.08);
  padding: 0.95rem;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

#productDetailView .pdp-v2-gallery-card {
  padding: 0.9rem;
  height: 100%;
}

#productDetailView .pdp-v2-gallery-card .product-page-grid {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 0.85rem;
  min-width: 0;
  width: 100%;
}

#productDetailView .pdp-v2-gallery-card .product-page-main-image {
  min-height: 0;
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: min(62vw, 700px);
}

#productDetailView .pdp-v2-purchase-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: 100%;
}

#productDetailView .pdp-v2-purchase-top,
#productDetailView .pdp-v2-purchase-bottom {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

#productDetailView .pdp-v2-purchase-bottom {
  margin-top: auto;
}

#productDetailView .pdp-v2-brand-line {
  color: #657a96;
  font-size: 0.84rem;
  font-weight: 700;
}

#productDetailView .pdp-v2-purchase-card .product-page-title {
  font-size: clamp(1.9rem, 2.7vw, 2.9rem);
  margin: 0;
  color: #101824 !important;
  -webkit-text-fill-color: #101824;
  text-shadow: none;
  opacity: 1;
  font-style: normal;
  line-height: 1.05;
  text-wrap: balance;
}

#productDetailView .pdp-v2-reviews {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.86rem;
}

#productDetailView .pdp-v2-stars {
  color: #f26f34;
  letter-spacing: 0.03em;
}

#productDetailView .pdp-v2-rating,
#productDetailView .pdp-v2-review-count {
  color: #516882;
  font-weight: 700;
}

#productDetailView .pdp-v2-sku-stock {
  color: #5b708a;
  font-size: 0.86rem;
}

#productDetailView .pdp-v2-instock {
  color: #1e7a49;
  font-weight: 700;
}

#productDetailView .pdp-v2-outstock {
  color: #8f2d36;
  font-weight: 700;
}

#productDetailView .pdp-v2-purchase-card .product-page-price {
  font-size: 2rem;
  color: #101824;
}

#productDetailView .pdp-v2-variant-group {
  margin-top: 0.12rem;
}

#productDetailView .pdp-v2-cart-action {
  margin-top: 0.25rem;
}

#productDetailView .pdp-v2-add-cart {
  width: 100%;
  min-height: 50px;
  border-radius: 10px;
  font-size: 1.04rem;
  font-weight: 800;
  background: linear-gradient(125deg, #ef7d34 0%, #f39a4d 100%);
  border-color: rgba(230, 129, 56, 0.8);
}

#productDetailView .pdp-v2-hero-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

#productDetailView .pdp-v2-icon-mask {
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--pdp-icon) center / contain no-repeat;
  mask: var(--pdp-icon) center / contain no-repeat;
}

#productDetailView .pdp-v2-hero-trust-card {
  border: 1px solid #d9e1ed;
  border-radius: 12px;
  padding: 0.52rem 0.35rem;
  text-align: center;
  display: grid;
  gap: 0.26rem;
  background: #fbfdff;
}

#productDetailView .pdp-v2-hero-trust-icon {
  width: 21px;
  height: 21px;
  margin: 0 auto;
  color: #f17932;
}

#productDetailView .pdp-v2-hero-trust-copy {
  display: grid;
  gap: 0.08rem;
  line-height: 1.2;
}

#productDetailView .pdp-v2-hero-trust-copy strong {
  font-size: 0.75rem;
  color: #172b45;
}

#productDetailView .pdp-v2-hero-trust-copy span {
  font-size: 0.72rem;
  color: #61768f;
}

#productDetailView .pdp-v2-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

#productDetailView .pdp-v2-detail-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

#productDetailView .pdp-v2-about-card h2,
#productDetailView .pdp-v2-why-card h2,
#productDetailView .pdp-v2-specs-card h2,
#productDetailView .pdp-v2-who-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.65rem;
  color: #111d2f;
}

#productDetailView .pdp-v2-about-card p {
  margin: 0;
  color: #3c4d62;
  line-height: 1.52;
}

#productDetailView .pdp-v2-about-card ul {
  margin: 0.72rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

#productDetailView .pdp-v2-about-card li {
  position: relative;
  padding-left: 1.35rem;
  color: #35495f;
}

#productDetailView .pdp-v2-about-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.46rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: #f17932;
}

#productDetailView .pdp-v2-why-card {
  color: #eff5ff;
  border-color: rgba(90, 113, 143, 0.45);
  background:
    radial-gradient(130% 160% at 100% 0%, rgba(35, 66, 109, 0.45), transparent 55%),
    linear-gradient(160deg, #081424 0%, #050b16 100%);
}

#productDetailView .pdp-v2-why-card h2 {
  color: #f8fbff;
}

#productDetailView .pdp-v2-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

#productDetailView .pdp-v2-feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  border: 1px solid rgba(128, 153, 187, 0.2);
  border-radius: 12px;
  padding: 0.62rem;
  background: rgba(11, 21, 35, 0.66);
}

#productDetailView .pdp-v2-feature-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(241, 124, 53, 0.14);
  box-shadow: inset 0 0 0 1px rgba(241, 124, 53, 0.2);
}

#productDetailView .pdp-v2-feature-icon {
  width: 20px;
  height: 20px;
  color: #ff7a2d;
}

#productDetailView .pdp-v2-feature-item h3,
#productDetailView .pdp-v2-who-item h3 {
  margin: 0;
  font-size: 0.99rem;
}

#productDetailView .pdp-v2-feature-item p,
#productDetailView .pdp-v2-who-item p {
  margin: 0.22rem 0 0;
  font-size: 0.86rem;
  line-height: 1.4;
}

#productDetailView .pdp-v2-specs-card {
  display: grid;
  gap: 0.58rem;
}

#productDetailView .pdp-v2-specs-table {
  width: 100%;
  border-collapse: collapse;
}

#productDetailView .pdp-v2-specs-table th,
#productDetailView .pdp-v2-specs-table td {
  border-bottom: 1px solid #e4eaf4;
  padding: 0.42rem 0.16rem;
  font-size: 0.89rem;
}

#productDetailView .pdp-v2-specs-table th {
  text-align: left;
  color: #1c2d47;
  width: 42%;
}

#productDetailView .pdp-v2-specs-table td {
  color: #41556c;
}

#productDetailView .pdp-v2-spec-instock {
  color: #1e7a49 !important;
  font-weight: 700;
}

#productDetailView .pdp-v2-spec-outstock {
  color: #8f2d36 !important;
  font-weight: 700;
}

#productDetailView .pdp-v2-specs-card small {
  color: #667a90;
}

#productDetailView .pdp-v2-who-list {
  display: grid;
  gap: 0.66rem;
}

#productDetailView .pdp-v2-who-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.58rem;
  align-items: start;
  border: 1px solid #dde5f0;
  border-radius: 12px;
  padding: 0.62rem;
  background: #fbfdff;
}

#productDetailView .pdp-v2-who-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid #ebd3c6;
  background: #fff9f5;
}

#productDetailView .pdp-v2-who-icon {
  width: 20px;
  height: 20px;
  color: #f17932;
}

#productDetailView .pdp-v2-help-cta {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(105, 138, 184, 0.28);
  background:
    linear-gradient(100deg, rgba(4, 11, 20, 0.88) 0%, rgba(4, 11, 20, 0.72) 50%, rgba(4, 11, 20, 0.4) 100%),
    url('/Group%20of%20players.png') center center / cover no-repeat,
    linear-gradient(140deg, #071223 0%, #0e2137 100%);
}

#productDetailView .pdp-v2-help-overlay {
  max-width: 560px;
  padding: 1.2rem;
  display: grid;
  gap: 0.55rem;
  color: #f5f9ff;
}

#productDetailView .pdp-v2-help-overlay h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

#productDetailView .pdp-v2-help-overlay p {
  margin: 0;
  color: #d3e1f2;
}

#productDetailView .pdp-v2-help-btn {
  width: fit-content;
  border-radius: 10px;
  min-height: 45px;
}

#productDetailView .pdp-v2-related-section {
  display: grid;
  gap: 0.72rem;
}

#productDetailView .pdp-v2-related-section h2 {
  margin: 0;
}

#productDetailView .pdp-v2-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

#productDetailView .pdp-v2-related-card {
  border: 1px solid #d7deea;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 9px 22px rgba(17, 31, 52, 0.07);
  overflow: hidden;
  display: grid;
}

#productDetailView .pdp-v2-related-image-wrap {
  border: none;
  background: #f7f9fc;
  padding: 0.6rem;
  cursor: pointer;
}

#productDetailView .pdp-v2-related-image-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

#productDetailView .pdp-v2-related-body {
  padding: 0.62rem;
  display: grid;
  gap: 0.3rem;
}

#productDetailView .pdp-v2-related-title {
  text-align: left;
  color: #15283f;
  font-weight: 800;
  line-height: 1.25;
}

#productDetailView .pdp-v2-related-meta {
  color: #607790;
  font-size: 0.79rem;
}

#productDetailView .pdp-v2-related-price {
  color: #14253c;
  font-size: 1.04rem;
  font-weight: 800;
}

#productDetailView .pdp-v2-related-review {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  color: #60758e;
  font-size: 0.78rem;
}

#productDetailView .pdp-v2-related-stars {
  color: #f27634;
}

#productDetailView .pdp-v2-related-cta {
  width: 100%;
  border-radius: 9px;
  min-height: 40px;
  margin-top: 0.2rem;
}

#productDetailView .pdp-v2-bottom-trust {
  border: 1px solid rgba(70, 97, 136, 0.52);
  border-radius: 14px;
  background: linear-gradient(100deg, #051124, #0b1b2f);
  padding: 0.78rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.66rem;
}

#productDetailView .pdp-v2-bottom-trust-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

#productDetailView .pdp-v2-bottom-trust-icon {
  width: 22px;
  height: 22px;
  color: #f7fbff;
}

#productDetailView .pdp-v2-bottom-trust-item strong {
  color: #edf4ff;
  font-size: 0.89rem;
}

#productDetailView .pdp-v2-bottom-trust-item span {
  color: #afc2dc;
  font-size: 0.8rem;
}

@media (max-width: 1260px) {
  #productDetailView .pdp-v2-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  #productDetailView .pdp-v2-gallery-card .product-page-main-image {
    max-height: none;
  }
}

@media (max-width: 1024px) {
  #productDetailView .pdp-v2-detail-grid {
    grid-template-columns: 1fr;
  }

  #productDetailView .pdp-v2-feature-grid {
    grid-template-columns: 1fr;
  }

  #productDetailView .pdp-v2-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #productDetailView .pdp-v2-bottom-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #productDetailView .shop-block {
    padding: 0.66rem;
  }

  #productDetailView .pdp-v2-card {
    border-radius: 13px;
    padding: 0.72rem;
  }

  #productDetailView .pdp-v2-gallery-card .product-page-grid {
    grid-template-columns: 1fr;
  }

  #productDetailView .pdp-v2-gallery-card .product-page-thumbs {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.2rem;
  }

  #productDetailView .pdp-v2-gallery-card .product-page-thumbs button {
    flex: 0 0 74px;
    min-width: 74px;
  }

  #productDetailView .pdp-v2-gallery-card .product-page-main-image {
    aspect-ratio: 1 / 1;
    max-height: none;
  }

  #productDetailView .pdp-v2-hero-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #productDetailView .pdp-v2-related-grid {
    grid-template-columns: 1fr;
  }

  #productDetailView .pdp-v2-bottom-trust {
    grid-template-columns: 1fr;
  }
}

#dealView .shop-site {
  background: #f4f6fb;
  border: 1px solid #dce4f0;
  border-radius: 12px;
  padding: 0.65rem;
}

#dealView .shop-top-strip {
  background: #0b1220;
  border-color: #1f2b3f;
}

#dealView .shop-top-strip .shop-nav {
  color: #f2f7ff;
}

#dealView .shop-top-strip .shop-nav span {
  color: #c7d8ee;
}

#dealView .shop-block {
  margin-top: 0.62rem;
  background: #ffffff;
  border: 1px solid #d9e1ed;
  border-radius: 10px;
  padding: 0.7rem;
}

#dealView .deal-page-surface {
  background: #f8fafc;
  border: 1px solid #d6deea;
  border-radius: 10px;
  padding: 0.85rem;
}

#dealView .deal-page-meta {
  border: 1px solid #d6deea;
  border-radius: 10px;
  background: #ffffff;
  padding: 0.75rem;
  position: relative;
  z-index: 2;
}

#dealView .product-page-main-image {
  pointer-events: none;
}

#dealView .deal-variant-pill {
  margin-top: 0.45rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(29, 183, 164, 0.45);
  background: rgba(18, 169, 149, 0.12);
  color: #0f7f73;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.24rem 0.62rem;
}

#dealView .deal-stock-line {
  color: #1e684a;
  font-weight: 800;
}

#dealView .quickview-meta {
  color: #5a697f;
}

#dealView .deal-kicker {
  color: #ea7a3d;
}

#dealView .deal-special-label {
  color: #d55f2f;
}

#dealView .deal-special-price {
  color: #c84e1f;
}

#dealView .deal-save-line {
  color: #d25526;
}

#dealView .deal-timer {
  border-color: #f0bd9a;
  background: #fff4ec;
  color: #bf5a2d;
}

#dealView .deal-checkout-form .btn-primary {
  width: 100%;
  border-radius: 999px;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

#dealView .sales-link-surface {
  display: grid;
  gap: 0.78rem;
}

#dealView .sales-link-block {
  border: 1px solid #d4deec;
  border-radius: 10px;
  background: #ffffff;
  padding: 0.72rem;
}

#dealView .sales-link-selected-item {
  position: relative;
}

#dealView .sales-link-cart-chip {
  position: absolute;
  top: 0.72rem;
  right: 0.72rem;
  border: 1px solid #cad7e9;
  border-radius: 999px;
  background: #f6f9ff;
  color: #1f3557;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.26rem 0.62rem;
}

#dealView .sales-link-cart-chip.cart-feedback {
  animation: cart-feedback-pop 680ms cubic-bezier(0.17, 0.89, 0.32, 1.23);
}

#dealView .sales-link-block h3 {
  margin: 0 0 0.52rem;
  font-size: 1.04rem;
  color: #1d2d49;
}

#dealView .sales-link-action-row {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
}

#dealView .sales-link-action-row .btn-primary {
  border-radius: 999px;
}

#dealView .sales-link-action-row .btn-ghost {
  border-radius: 999px;
}

#dealView .sales-link-addon-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
}

#dealView .sales-link-addon-list {
  display: grid;
  gap: 0.52rem;
}

#dealView .sales-link-addon-line {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto auto auto;
  gap: 0.45rem;
  align-items: end;
  border: 1px solid #d6e0ee;
  border-radius: 9px;
  padding: 0.52rem;
  background: #f7fafe;
}

#dealView .sales-link-addon-line label {
  display: grid;
  gap: 0.26rem;
  color: #334762;
  font-size: 0.82rem;
}

#dealView .sales-link-addon-line select,
#dealView .sales-link-addon-line input {
  min-height: 2.12rem;
}

#dealView .sales-link-addon-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

#dealView .sales-link-addon-qty input {
  width: 3.7rem;
  text-align: center;
}

#dealView .sales-link-addon-qty .btn {
  min-width: 2rem;
  min-height: 2.12rem;
  padding-inline: 0.55rem;
}

#dealView .sales-link-addon-line-total {
  font-weight: 800;
  color: #153357;
  min-width: 5.5rem;
  text-align: right;
  padding-bottom: 0.26rem;
}

#dealView .sales-link-locked-item {
  border-color: #d8e2f0;
  background: #ffffff;
}

#dealView .sales-link-locked-item .cart-item-name {
  color: #172b49;
}

#dealView .sales-link-locked-item .cart-item-meta {
  color: #4a6282;
}

#dealView .sales-link-locked-item .cart-item-total {
  color: #1a3559;
}

#dealView .sales-link-locked-item .cart-thumb-wrap {
  background: #ffffff;
  border: 1px solid #d3deec;
}

#dealView .sales-link-locked-item .cart-thumb {
  object-fit: contain;
  background: #ffffff;
  padding: 0.35rem;
}

#dealView .sales-link-recs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

#dealView .sales-link-recs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.58rem;
}

#dealView .sales-link-rec-card {
  border: 1px solid #d7e1ef;
  border-radius: 10px;
  background: #f9fbff;
  padding: 0.52rem;
  display: grid;
  gap: 0.42rem;
}

#dealView .sales-link-rec-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f2;
}

#dealView .sales-link-rec-name {
  font-weight: 700;
  color: #1d2d49;
  font-size: 0.91rem;
  line-height: 1.3;
}

#dealView .sales-link-rec-price {
  font-weight: 800;
  color: #c14f1f;
}

#dealView .sales-link-inline-status {
  margin-top: 0.55rem;
  border-radius: 8px;
  padding: 0.45rem 0.58rem;
  font-size: 0.87rem;
  font-weight: 700;
}

#dealView .sales-link-inline-status-info {
  background: #e8f4ff;
  color: #205387;
}

#dealView .sales-link-inline-status-warn {
  background: #fff4e8;
  color: #8c4f1f;
}

#dealView .sales-link-inline-status-error {
  background: #ffe9eb;
  color: #8a2332;
}

#dealView .sales-link-customer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.52rem;
}

#dealView .sales-link-customer-grid label {
  display: grid;
  gap: 0.26rem;
  font-size: 0.82rem;
  color: #334762;
}

#dealView .sales-link-total-breakdown {
  margin-top: 0.62rem;
  display: grid;
  gap: 0.3rem;
}

#dealView .sales-link-total-breakdown > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: #233a5a;
  font-size: 0.92rem;
}

#dealView .sales-link-total-breakdown > div.final {
  margin-top: 0.2rem;
  padding-top: 0.35rem;
  border-top: 1px solid #d3deec;
  font-size: 1.02rem;
  font-weight: 800;
}

#dealView .sales-link-total-breakdown > div.final strong {
  color: #162d4f;
}

#dealView .product-page-tabs {
  margin-top: 0.78rem;
  border-bottom-color: #d8e1ee;
}

#dealView .product-page-content {
  margin-top: 0.5rem;
}

#dealView .product-page-spec-item {
  background: #ffffff;
}

@media (max-width: 860px) {
  #dealView .sales-link-cart-chip {
    position: static;
    display: inline-flex;
    margin-bottom: 0.48rem;
  }

  #dealView .sales-link-action-row {
    grid-template-columns: 1fr;
  }

  #dealView .sales-link-recs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-actions {
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
  }

  .admin-menu-wrap {
    margin-left: auto;
  }

  #sheetUrl,
  .table-controls input,
  .table-controls select,
  .shop-toolbar input,
  .shop-toolbar select {
    min-width: 100%;
  }

  .range-bar {
    grid-template-columns: 1fr;
  }

  .pulse-channel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .hero-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pulse-audit-toggle-wrap {
    width: 100%;
    justify-content: space-between;
  }

  .range-custom {
    width: 100%;
    flex-wrap: wrap;
  }

  .range-custom input,
  .range-custom button {
    width: 100%;
  }

  body.dashboard-experience:not(.mobile-ops-mode) .range-bar {
    grid-template-columns: 1fr;
  }

  body.dashboard-experience:not(.mobile-ops-mode) .range-custom {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.42rem;
  }

  body.dashboard-experience:not(.mobile-ops-mode) .range-custom input,
  body.dashboard-experience:not(.mobile-ops-mode) .range-custom .btn {
    width: 100%;
    min-width: 0;
  }

  body.dashboard-experience:not(.mobile-ops-mode) .compare-badge {
    width: 100%;
    white-space: normal;
    text-align: left;
  }

  .quick-link-row input {
    min-width: 100%;
  }

  #dealView .sales-link-addon-line {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  #dealView .sales-link-addon-line-total {
    text-align: left;
    padding-bottom: 0;
  }

  #dealView .sales-link-customer-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .pulse-audit-body {
    grid-template-columns: 1fr;
  }

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

  .pulse-audit-table-wrap table {
    min-width: 680px;
  }

  .paddle-mix-grid {
    grid-template-columns: 1fr;
  }

  .paddle-mix-product-art {
    width: min(150px, 52%);
  }

  .paddle-mix-legend {
    max-width: 100%;
    justify-content: flex-start;
  }

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

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

  .inventory-head-actions {
    flex-direction: column;
    align-items: flex-end;
  }

  .inventory-head-actions .muted {
    white-space: normal;
    text-align: right;
  }

  .inventory-meta-pill-wide {
    max-width: 300px;
  }

  .inventory-controls-grid {
    grid-template-columns: 1fr;
  }

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

  .inventory-insights-split {
    grid-template-columns: 1fr;
  }

  .inventory-brand-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .inventory-category-grid {
    grid-template-columns: 1fr;
  }

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

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

  .shop-filter-shell {
    padding: 0.72rem;
  }

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

  .shop-promo-split {
    grid-template-columns: 1fr;
  }

  .shop-brand-quick-wrap {
    margin-inline: 0.65rem;
  }

  .shop-brand-quick-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .product-page-grid {
    grid-template-columns: 1fr;
  }

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

  .product-page-main-image {
    min-height: 340px;
  }

  .inventory-command-table-wrap table {
    min-width: 0;
  }

  .inventory-stock-input {
    font-size: 1.1rem;
    min-height: 38px;
  }

  .form-grid,
  .detail-grid,
  .sale-entry-grid-3 {
    grid-template-columns: 1fr;
  }

  #detailModal .detail-panel {
    width: min(1360px, 97vw);
  }

  .sale-intel-command-grid {
    grid-template-columns: 1fr;
  }

  .sale-intel-workspace {
    grid-template-columns: 1fr;
  }

  .sale-intel-snapshot-grid,
  .sale-intel-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .sale-intel-deal-lines-row {
    grid-template-columns: minmax(150px, 1.8fr) minmax(110px, 1fr) 0.5fr 0.8fr 0.8fr 0.8fr;
  }

  .sale-intel-quick-add-row {
    grid-template-columns: 1fr;
  }

  .sale-intel-quick-add-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .sale-intel-quick-add-actions .btn {
    flex: 1 1 180px;
  }

  .sale-intel-line-detail-actions {
    justify-content: stretch;
  }

  .sale-intel-add-this-product-btn {
    width: 100%;
  }

  .sale-intel-card-head-split {
    flex-direction: column;
    align-items: stretch;
  }

  .sale-intel-add-product-cta {
    width: 100%;
    min-width: 0;
  }

  .sale-intel-line-card-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

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

  .sale-intel-shell .detail-profile-actions.sale-intel-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sale-intel-actions .btn {
    min-height: 54px;
    font-size: 0.98rem;
  }

  .sale-intel-metric-copy strong {
    font-size: 1.72rem;
  }

  .sale-intel-form-id {
    white-space: normal;
    text-align: right;
  }

  .sale-entry-head {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 0.58rem 0.62rem;
  }

  .sale-entry-head-actions {
    justify-content: flex-start;
  }

  .sale-entry-section {
    padding: 0.62rem;
  }

  .account-auth-grid {
    grid-template-columns: 1fr;
  }

  .account-create-user {
    grid-template-columns: 1fr;
  }

  .system-email-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .pulse-audit-mode-label {
    font-size: 0.7rem;
  }

  .pulse-audit-toggle-btn {
    width: 100%;
    justify-content: center;
  }

  .pulse-audit-head {
    grid-template-columns: 1fr;
  }

  .pulse-audit-actions {
    justify-content: stretch;
  }

  .pulse-audit-actions .btn {
    width: 100%;
  }

  .pulse-audit-summary {
    grid-template-columns: 1fr;
  }

  .pulse-audit-summary-card strong {
    font-size: 1.54rem;
  }

  .pulse-audit-breakdown-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.22rem;
  }

  .paddle-mix-card-head {
    display: grid;
    gap: 0.55rem;
  }

  .paddle-mix-mode-toggle {
    width: 100%;
  }

  .paddle-mix-mode-btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 0.35rem;
  }

  .paddle-mix-rank-head {
    display: none;
  }

  .paddle-mix-rank-row {
    grid-template-columns: 1.45rem minmax(0, 1fr) auto;
    gap: 0.28rem 0.45rem;
  }

  .paddle-mix-bar-track {
    grid-column: 2 / -1;
  }

  .paddle-mix-row-revenue,
  .paddle-mix-row-avg {
    font-size: 0.72rem;
    text-align: left;
  }

  .paddle-mix-row-revenue {
    grid-column: 2;
  }

  .paddle-mix-row-avg {
    grid-column: 3;
    text-align: right;
  }

  .paddle-mix-date-row {
    grid-template-columns: 3.7rem minmax(0, 1fr) 2.45rem;
    gap: 0.38rem;
  }

  .paddle-mix-date-segment {
    min-width: 0.9rem;
    font-size: 0.64rem;
  }

  .paddle-mix-date-breakdown-inner {
    margin: 0.08rem 0 0.18rem;
    padding: 0.62rem;
  }

  .paddle-mix-breakdown-head {
    display: grid;
    gap: 0.46rem;
  }

  .paddle-mix-breakdown-model-row {
    grid-template-columns: minmax(0, 1fr) 2.6rem;
  }

  .paddle-mix-breakdown-model-row span:last-child {
    grid-column: 1 / -1;
    text-align: left;
  }

  body:not(.mobile-ops-mode) .topbar-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0.5rem;
  }

  body:not(.mobile-ops-mode) .topbar-actions > .btn,
  body:not(.mobile-ops-mode) .topbar-actions > .account-topbar-wrap,
  body:not(.mobile-ops-mode) .topbar-actions > .admin-menu-wrap,
  body:not(.mobile-ops-mode) .topbar-actions > .store-menu-wrap {
    width: 100%;
    min-width: 0;
  }

  body:not(.mobile-ops-mode) .account-topbar-wrap {
    justify-items: stretch;
    gap: 0.3rem;
  }

  body:not(.mobile-ops-mode) .account-welcome-text {
    min-height: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body:not(.mobile-ops-mode) .account-topbar-btn,
  body:not(.mobile-ops-mode) #openQuickDealModalBtn,
  body:not(.mobile-ops-mode) #openSaleModalBtn,
  body:not(.mobile-ops-mode) #adminMenuToggleBtn,
  body:not(.mobile-ops-mode) #storeMenuToggleBtn {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body:not(.mobile-ops-mode) #adminMenuWrap {
    margin-left: 0;
  }

  body:not(.mobile-ops-mode) #storeMenuWrap {
    margin-left: 0;
  }

  body:not(.mobile-ops-mode) .store-menu-dropdown {
    left: 0;
    right: auto;
    width: min(260px, 92vw);
  }

  body:not(.mobile-ops-mode) .admin-menu-dropdown {
    left: 0;
    right: auto;
    width: min(320px, 92vw);
  }

  body.sales-ops-authorized:not(.mobile-ops-mode) #adminMenuWrap[open] .admin-menu-dropdown {
    position: fixed;
    inset: 0;
    top: 0;
    right: 0;
    left: 0;
    width: 100vw;
    min-width: 100vw;
    min-height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: none;
    padding: 4.5rem 0.9rem 1.15rem;
    z-index: 1200;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(5, 10, 18, 0.985), rgba(7, 12, 22, 0.985));
    box-shadow: none;
    align-content: start;
  }

  body.sales-ops-authorized:not(.mobile-ops-mode) #adminMenuWrap[open] .admin-menu-close-btn {
    position: fixed;
    top: 0.85rem;
    right: 0.85rem;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(142, 198, 255, 0.6);
    background: rgba(8, 15, 28, 0.92);
    color: #f5f9ff;
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1201;
  }

  body.sales-ops-authorized:not(.mobile-ops-mode) #adminMenuWrap[open] .admin-menu-dropdown .btn {
    min-height: 54px;
    font-size: 1.03rem;
    border-radius: 16px;
  }

  body.sales-ops-authorized:not(.mobile-ops-mode) .topbar-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      'welcome welcome'
      'account deal'
      'sale admin';
    gap: 0.55rem;
    align-items: stretch;
  }

  body.sales-ops-authorized:not(.mobile-ops-mode) .account-topbar-wrap {
    display: contents;
  }

  body.sales-ops-authorized:not(.mobile-ops-mode) #accountWelcomeText {
    grid-area: welcome;
    text-align: center;
    margin: 0;
  }

  body.sales-ops-authorized:not(.mobile-ops-mode) #accountTopbarBtn {
    grid-area: account;
  }

  body.sales-ops-authorized:not(.mobile-ops-mode) #openQuickDealModalBtn {
    grid-area: deal;
  }

  body.sales-ops-authorized:not(.mobile-ops-mode) #openSaleModalBtn {
    grid-area: sale;
  }

  body.sales-ops-authorized:not(.mobile-ops-mode) #adminMenuWrap {
    grid-area: admin;
    width: 100%;
    margin-left: 0;
  }

  body.sales-ops-authorized:not(.mobile-ops-mode) #adminMenuToggleBtn,
  body.sales-ops-authorized:not(.mobile-ops-mode) #accountTopbarBtn,
  body.sales-ops-authorized:not(.mobile-ops-mode) #openQuickDealModalBtn,
  body.sales-ops-authorized:not(.mobile-ops-mode) #openSaleModalBtn {
    min-height: 52px;
  }

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

  .shop-filter-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .cart-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-thumb-wrap {
    width: 100%;
    height: 120px;
    flex-basis: auto;
  }

  .cart-line-actions {
    width: 100%;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .cart-coupon-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-coupon-row .btn {
    width: 100%;
  }

  .sale-intel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .sale-intel-command-grid,
  .sale-intel-workspace {
    grid-template-columns: 1fr;
  }

  .sale-intel-grid-2,
  .sale-intel-grid-3,
  .sale-intel-grid-4 {
    grid-template-columns: 1fr;
  }

  .sale-intel-snapshot-grid,
  .sale-intel-product-grid,
  .sale-intel-deal-grid {
    grid-template-columns: 1fr;
  }

  .sale-intel-deal-lines {
    overflow: visible;
  }

  .sale-intel-deal-lines-table {
    min-width: 0;
  }

  .sale-intel-deal-lines-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .sale-intel-line-card-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .sale-intel-snapshot-grid .sale-intel-address-item,
  .sale-intel-product-grid .sale-intel-item-variant {
    grid-column: auto;
  }

  .cart-address-grid,
  .sale-intel-address-grid {
    grid-template-columns: 1fr;
  }

  .sale-intel-metrics {
    grid-template-columns: 1fr;
  }

  .sale-intel-shell .detail-profile-actions.sale-intel-actions {
    grid-template-columns: 1fr;
    padding: 0.56rem;
  }

  .sale-intel-actions .btn {
    width: 100%;
  }

  .sale-intel-form-id {
    text-align: left;
  }

  .sale-intel-history .history-item {
    flex-direction: column;
    align-items: stretch;
  }

  .sale-intel-history .history-actions {
    justify-content: space-between;
  }

  .sale-panel {
    width: min(98vw, 98vw);
    margin: 2.5vh auto;
    padding: 0.72rem;
  }

  .sale-entry-form {
    gap: 0.62rem;
  }

  .sale-entry-section {
    padding: 0.52rem;
    border-radius: 12px;
  }

  .sale-entry-grid {
    gap: 0.5rem;
  }

  .sale-line-item {
    padding: 0.52rem;
  }

  .sale-line-summary {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .sale-line-summary-actions {
    justify-content: space-between;
  }

  .sale-line-summary-actions > strong {
    text-align: left;
  }

  .sale-line-remove-wrap {
    justify-content: stretch;
  }

  .sale-line-remove-wrap .btn {
    width: 100%;
    min-width: 0;
  }

  .sale-line-warning {
    flex-direction: column;
    align-items: stretch;
  }

  .sale-line-warning-dismiss {
    width: 100%;
  }

  .sale-entry-section-title {
    margin-bottom: 0.45rem;
    font-size: 0.7rem;
  }

  .sale-entry-head-actions {
    width: 100%;
  }

  .sale-entry-head-actions .btn {
    flex: 1;
  }

  .ops-launcher-grid {
    grid-template-columns: 1fr;
  }

  .ops-launcher-btn {
    min-height: 142px;
  }

  .shipping-rules-grid,
  .shipping-rules-preview {
    grid-template-columns: 1fr;
  }

  .shipping-rules-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .shop-featured-grid {
    grid-template-columns: 1fr;
  }

  .shop-nav {
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .shop-top-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  body.storefront-mode #openCartBtn,
  body.storefront-mode #openCartBtnAbout,
  body.storefront-mode #openCartBtnDetail {
    top: auto;
  }

  body.storefront-mode #openCartBtn.cart-docked,
  body.storefront-mode #openCartBtnAbout.cart-docked,
  body.storefront-mode #openCartBtnDetail.cart-docked {
    top: 0.5rem;
    right: 0.75rem;
  }

  .quickview-panel {
    width: 100vw;
  }

  .account-profile-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .image-manager-grid {
    grid-template-columns: 1fr;
  }
}

.mobile-ops-topbar,
.mobile-ops-bottom-nav {
  display: none;
}

/* Mobile Ops: app-style, mobile-first shell */
body.mobile-ops-mode .topbar {
  display: none;
}

body.mobile-ops-mode .ambient {
  display: none;
}

body.mobile-ops-mode {
  background: linear-gradient(180deg, #060d19 0%, #050b16 100%);
  padding: 0;
  color: #ecf3ff;
}

body.mobile-ops-mode .layout {
  display: block;
  gap: 0;
}

body.mobile-ops-mode #dashboardView {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.65rem 0.58rem 0.85rem;
  overflow-x: clip;
}

body.mobile-ops-mode .mobile-ops-topbar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.58rem;
  width: 100%;
  min-height: 46px;
  margin: 0 0 0.62rem;
  padding: 0.4rem 0.5rem;
  background: #081327;
  border-bottom: 1px solid rgba(52, 78, 114, 0.45);
  border-radius: 10px;
}

body.mobile-ops-mode .mobile-ops-topbar strong {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

body.mobile-ops-mode .mobile-ops-menu-text-btn {
  border: none;
  background: transparent;
  color: #ffb07e;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.2rem;
  cursor: pointer;
}

body.mobile-ops-mode .mobile-admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(3, 8, 15, 0.9);
  display: grid;
}

body.mobile-admin-overlay-open {
  overflow: hidden;
}

body.mobile-ops-mode .mobile-admin-overlay[hidden] {
  display: none !important;
}

body.mobile-ops-mode .mobile-admin-sheet {
  width: 100%;
  min-height: 100dvh;
  padding: 4.2rem 0.9rem 1.25rem;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.99), rgba(7, 12, 22, 0.99));
  overflow-y: auto;
}

body.mobile-ops-mode .mobile-admin-close-btn {
  position: fixed;
  top: 0.85rem;
  right: 0.85rem;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(142, 198, 255, 0.62);
  background: rgba(8, 15, 28, 0.93);
  color: #f5f9ff;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

body.mobile-ops-mode .mobile-admin-actions {
  display: grid;
  gap: 0.55rem;
}

body.mobile-ops-mode .mobile-admin-actions .btn {
  width: 100%;
  text-align: left;
  min-height: 54px;
  border-radius: 16px;
  font-size: 1.03rem;
}

body.mobile-ops-mode #dashboardView .card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 14px;
  border: 1px solid rgba(40, 66, 102, 0.45);
  background: linear-gradient(180deg, rgba(10, 21, 39, 0.98), rgba(7, 16, 31, 0.98));
  padding: 0.82rem;
  box-shadow: none;
}

body.mobile-ops-mode #dashboardView > section:not(.ops-launcher-card):not([data-ops-module-panel='deal_link_command']):not(
    [data-ops-module-panel='coupon_control']
  ):not([data-ops-module-panel='recent_sales_feed']):not(.mobile-ops-topbar) {
  display: none !important;
}

body.mobile-ops-mode #dashboardView [data-ops-module-panel]:not(.active) {
  display: none !important;
}

body.mobile-ops-mode .ops-launcher-card .table-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

body.mobile-ops-mode .ops-launcher-card h2 {
  font-size: 1.05rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
}

body.mobile-ops-mode #opsModuleMeta {
  font-size: 0.82rem;
  color: #9fb3cf;
}

body.mobile-ops-mode #opsLauncherGrid {
  margin-top: 0.62rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.58rem;
}

body.mobile-ops-mode .ops-launcher-btn {
  width: 100%;
  min-height: 72px;
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  justify-items: start;
  text-align: left;
  gap: 0.6rem;
  border: 1px solid rgba(45, 70, 106, 0.54);
  background: rgba(11, 23, 42, 0.92);
  box-shadow: none;
}

body.mobile-ops-mode .ops-launcher-btn[data-ops-module='order_ops_queue'],
body.mobile-ops-mode .ops-launcher-btn[data-ops-module='data_intake'],
body.mobile-ops-mode [data-ops-module-panel='order_ops_queue'],
body.mobile-ops-mode [data-ops-module-panel='data_intake'] {
  display: none !important;
}

body.mobile-ops-mode .ops-launcher-btn .ops-launcher-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 1rem;
  margin: 0;
}

body.mobile-ops-mode .ops-launcher-btn .ops-launcher-label,
body.mobile-ops-mode .ops-launcher-btn .ops-launcher-sub {
  grid-column: 2;
}

body.mobile-ops-mode .ops-launcher-btn .ops-launcher-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.15;
  color: #e9f2ff;
}

body.mobile-ops-mode .ops-launcher-btn .ops-launcher-sub {
  font-size: 0.78rem;
  color: #a6bad5;
  line-height: 1.2;
}

body.mobile-ops-mode .ops-launcher-btn::after {
  content: '›';
  grid-column: 3;
  color: #8ea8c8;
  font-size: 1.15rem;
  justify-self: end;
}

body.mobile-ops-mode .ops-launcher-btn.active {
  background: linear-gradient(180deg, #f79a60, #f68a51);
  border-color: rgba(250, 162, 104, 0.9);
}

body.mobile-ops-mode .ops-launcher-btn.active .ops-launcher-label,
body.mobile-ops-mode .ops-launcher-btn.active .ops-launcher-sub,
body.mobile-ops-mode .ops-launcher-btn.active::after {
  color: #1b1f2b;
}

body.mobile-ops-mode [data-ops-module-panel] .table-head h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.03rem;
  font-weight: 800;
  color: #f79a60;
}

body.mobile-ops-mode [data-ops-module-panel] .table-head .muted {
  font-size: 0.8rem;
}

body.mobile-ops-mode .shipping-rules-grid,
body.mobile-ops-mode .shipping-rules-preview {
  grid-template-columns: 1fr;
}

body.mobile-ops-mode .shipping-rules-actions {
  flex-direction: column;
  align-items: stretch;
}

body.mobile-ops-mode .shipping-rules-actions .btn {
  width: 100%;
  min-width: 0;
}

body.mobile-ops-mode #dealForm.coupon-grid {
  margin-top: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.56rem;
}

body.mobile-ops-mode #dealForm .deal-product-search-wrap,
body.mobile-ops-mode #dealForm .coupon-actions {
  grid-column: 1 / -1;
}

body.mobile-ops-mode #dealForm .deal-add-more-inline {
  align-items: end;
}

body.mobile-ops-mode input,
body.mobile-ops-mode select,
body.mobile-ops-mode textarea,
body.mobile-ops-mode .btn,
body.mobile-ops-mode .chip {
  min-height: 52px;
  font-size: 1.03rem;
}

body.mobile-ops-mode #dealForm label,
body.mobile-ops-mode #couponForm label {
  font-size: 0.69rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #90a8c7;
}

body.mobile-ops-mode #dealForm input,
body.mobile-ops-mode #couponForm input,
body.mobile-ops-mode #couponForm select {
  border-radius: 10px;
  background: rgba(2, 8, 17, 0.92);
  border-color: rgba(39, 64, 99, 0.65);
  color: #f3f8ff;
}

body.mobile-ops-mode .deal-exemption-toggle input[type='checkbox'] {
  min-height: 18px;
  width: 18px;
  height: 18px;
}

body.mobile-ops-mode #dealForm .coupon-actions .btn,
body.mobile-ops-mode #couponForm .coupon-actions .btn {
  width: 100%;
}

body.mobile-ops-mode #dealRows,
body.mobile-ops-mode #couponRows,
body.mobile-ops-mode #salesRows {
  display: block;
}

body.mobile-ops-mode .table-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.52rem;
}

body.mobile-ops-mode .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.mobile-ops-mode .table-wrap table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

body.mobile-ops-mode [data-ops-module-panel='coupon_control'] .table-wrap table th:nth-child(3),
body.mobile-ops-mode [data-ops-module-panel='coupon_control'] .table-wrap table td:nth-child(3),
body.mobile-ops-mode [data-ops-module-panel='coupon_control'] .table-wrap table th:nth-child(5),
body.mobile-ops-mode [data-ops-module-panel='coupon_control'] .table-wrap table td:nth-child(5),
body.mobile-ops-mode [data-ops-module-panel='coupon_control'] .table-wrap table th:nth-child(6),
body.mobile-ops-mode [data-ops-module-panel='coupon_control'] .table-wrap table td:nth-child(6),
body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table th:nth-child(3),
body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table td:nth-child(3),
body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table th:nth-child(4),
body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table td:nth-child(4),
body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table th:nth-child(5),
body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table td:nth-child(5),
body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table th:nth-child(6),
body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table td:nth-child(6),
body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table th:nth-child(7),
body.mobile-ops-mode [data-ops-module-panel='recent_sales_feed'] .table-wrap table td:nth-child(7) {
  display: none;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .table-wrap table {
  min-width: 0;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .table-wrap thead {
  display: none;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] #dealRows tr {
  display: block;
  border: 1px solid rgba(56, 79, 112, 0.55);
  border-radius: 14px;
  padding: 0.68rem;
  margin-bottom: 0.62rem;
  background: linear-gradient(158deg, rgba(8, 22, 42, 0.94), rgba(6, 17, 34, 0.9));
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] #dealRows td {
  display: block;
  padding: 0;
  border-bottom: 0;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-row {
  margin-bottom: 0.62rem;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-card-cell {
  width: 100%;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-card-cell[data-action='deal-toggle-items-card'] {
  cursor: pointer;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-card-cell[data-action='deal-toggle-items-card']:focus {
  outline: 2px solid rgba(111, 209, 255, 0.7);
  outline-offset: 3px;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-card-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-cancel-x {
  width: 30px;
  height: 30px;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 128, 128, 0.8);
  background: rgba(72, 12, 18, 0.85);
  color: #ff7b7b;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-cancel-x:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-reactivate-toggle {
  width: auto;
  min-width: 112px;
  padding: 0 0.78rem;
  gap: 0.34rem;
  border-color: rgba(38, 226, 196, 0.78);
  background: rgba(8, 80, 72, 0.74);
  color: #a9fff2;
  font-size: 0.82rem;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-meta {
  margin-top: 0.38rem;
  display: grid;
  gap: 0.45rem;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-time,
body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-status {
  font-size: 0.88rem;
  color: #97afcb;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-time {
  margin-top: 0.34rem;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-url {
  display: block;
  color: #66e0d5;
  text-decoration: underline;
  word-break: break-all;
  font-size: 0.84rem;
  margin-top: 0.34rem;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-details {
  margin-top: 0.45rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.52rem;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-detail-block {
  display: grid;
  gap: 0.22rem;
  font-size: 0.94rem;
  color: #e8f4ff;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-detail-block .deal-price-inline-input {
  width: 100%;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-actions {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.48rem;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-actions .btn {
  min-width: 132px;
  min-height: 48px;
  text-align: center;
}

body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] button[data-action='deal-cancel']:not(.deal-mobile-cancel-x),
body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] button[data-action='deal-delete'] {
  display: none !important;
}

@media (max-width: 380px) {
  body.mobile-ops-mode #dashboardView {
    padding: 0.55rem 0.46rem 0.75rem;
  }

  body.mobile-ops-mode .mobile-ops-topbar strong {
    font-size: 1rem;
  }

  body.mobile-ops-mode #dealForm.coupon-grid {
    grid-template-columns: 1fr;
  }

  body.mobile-ops-mode [data-ops-module-panel='deal_link_command'] .deal-mobile-details {
    grid-template-columns: 1fr;
  }
}

/* Storefront Homepage Redesign */
body.storefront-mode {
  padding: 0;
  background: #ffffff;
  color: #0f1723;
}

body.storefront-mode .ambient,
body.storefront-mode .site-footer {
  display: none;
}

body.storefront-mode:not(.sales-ops-authorized) .topbar {
  display: none;
}

body.storefront-mode .layout {
  display: block;
  gap: 0;
}

.home-shop {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: #ffffff;
}

.home-shop .shop-hero-shell {
  position: relative;
  background: #040507;
}

.home-shop .shop-top-strip {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 6;
  min-height: 90px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.2rem clamp(1rem, 3vw, 2.3rem);
  background: linear-gradient(180deg, rgba(3, 5, 9, 0.92), rgba(3, 5, 9, 0.14));
  border: 0;
  overflow: visible;
}

.home-shop .shop-wordmark {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
  letter-spacing: 0.05em;
}

.home-shop .shop-wordmark-mark {
  width: clamp(4.2rem, 6.2vw, 6rem);
  height: clamp(4.2rem, 6.2vw, 6rem);
  object-fit: contain;
}

.home-shop .shop-wordmark-text {
  display: inline-grid;
  gap: 0.03rem;
}

.home-shop .shop-wordmark-line1 {
  color: #ffffff;
  font-family: 'Barlow Condensed', 'Manrope', sans-serif;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 800;
  line-height: 0.92;
}

.home-shop .shop-wordmark-line2 {
  color: #d76628;
  font-family: 'Barlow Condensed', 'Manrope', sans-serif;
  font-size: clamp(1.02rem, 1.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 0.9;
}

.home-shop #shopHomeLink.shop-wordmark {
  gap: 0.67rem;
}

.home-shop #shopHomeLink .shop-wordmark-mark {
  width: clamp(5.04rem, 7.44vw, 7.2rem);
  height: clamp(5.04rem, 7.44vw, 7.2rem);
}

.home-shop #shopHomeLink .shop-wordmark-line1 {
  font-size: clamp(2.04rem, 2.88vw, 2.64rem);
}

.home-shop #shopHomeLink .shop-wordmark-line2 {
  font-size: clamp(1.224rem, 1.8vw, 1.62rem);
}

.home-shop .shop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.62rem, 1.2vw, 1.28rem);
  flex-wrap: wrap;
}

.home-shop .shop-nav-link {
  border: 0;
  background: transparent;
  padding: 0.22rem 0.25rem;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: color 150ms ease, transform 150ms ease;
}

.home-shop .shop-nav-link:hover,
.home-shop .shop-nav-link:focus-visible {
  color: #ff8b4f;
  transform: translateY(-1px);
}

.home-shop .shop-nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  position: relative;
}

.home-shop .shop-mobile-menu-wrap {
  display: none;
  position: relative;
}

.home-shop .shop-mobile-menu-btn {
  padding: 0;
}

.home-shop .shop-mobile-menu-bars {
  width: 1.02rem;
  display: grid;
  gap: 0.2rem;
}

.home-shop .shop-mobile-menu-bars span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.home-shop .shop-mobile-menu-panel {
  position: absolute;
  top: calc(100% + 0.62rem);
  right: 0;
  width: min(320px, calc(100vw - 1.3rem));
  border-radius: 16px;
  border: 1px solid rgba(139, 161, 189, 0.38);
  background:
    radial-gradient(130% 120% at 0% 0%, rgba(237, 121, 54, 0.16), transparent 56%),
    linear-gradient(160deg, rgba(6, 12, 21, 0.98), rgba(4, 8, 15, 0.98));
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.54),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  padding: 0.72rem;
  display: grid;
  gap: 0.64rem;
  z-index: 24;
}

.home-shop .shop-mobile-menu-panel[hidden] {
  display: none !important;
}

.home-shop .shop-mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.home-shop .shop-mobile-menu-head p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93accb;
  font-weight: 800;
}

.home-shop .shop-mobile-menu-close {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(132, 154, 186, 0.48);
  background: rgba(8, 14, 24, 0.88);
  color: #e6edf8;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1;
  cursor: pointer;
}

.home-shop .shop-mobile-menu-links {
  display: grid;
  gap: 0.42rem;
}

.home-shop .shop-mobile-menu-link {
  width: 100%;
  border: 1px solid rgba(122, 147, 181, 0.34);
  border-radius: 10px;
  background: rgba(8, 16, 28, 0.88);
  color: #f0f5ff;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.58rem 0.72rem;
  cursor: pointer;
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.home-shop .shop-mobile-menu-link:hover,
.home-shop .shop-mobile-menu-link:focus-visible {
  border-color: rgba(226, 123, 62, 0.84);
  box-shadow: 0 0 0 1px rgba(226, 123, 62, 0.26) inset;
  transform: translateY(-1px);
}

.home-shop .shop-icon-btn {
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(7, 9, 13, 0.56);
  color: #edf4ff;
  border-radius: 999px;
  min-height: 42px;
  min-width: 42px;
  padding: 0.48rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.home-shop .shop-icon-btn[data-auth-state='signed-in'] {
  border-color: rgba(214, 102, 40, 0.82);
  color: #ffb28a;
}

.home-shop :is(#openCartBtn, #openCartBtnAbout) {
  position: relative;
  margin-left: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(7, 9, 13, 0.56);
  color: #edf4ff;
  border-radius: 999px;
  min-height: 42px;
  min-width: 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.home-shop :is(#openCartBtn, #openCartBtnAbout) .shop-cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
}

.home-shop :is(#openCartBtn, #openCartBtnAbout) .shop-cart-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-shop :is(#openCartBtn, #openCartBtnAbout) .shop-cart-label,
.home-shop :is(#openCartBtn, #openCartBtnAbout) .shop-cart-count-wrap {
  display: none;
}

.home-shop :is(#openCartBtn, #openCartBtnAbout) .shop-cart-count-badge {
  position: absolute;
  top: -0.38rem;
  right: -0.3rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.26rem;
  border-radius: 999px;
  border: 1px solid rgba(5, 9, 16, 0.72);
  background: linear-gradient(130deg, #f46f35 0%, #ee8a32 100%);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(172, 77, 28, 0.44);
}

.home-shop :is(#openCartBtn, #openCartBtnAbout):hover,
.home-shop :is(#openCartBtn, #openCartBtnAbout):focus-visible {
  border-color: rgba(214, 102, 40, 0.82);
  color: #ffb28a;
  box-shadow: 0 0 0 2px rgba(214, 102, 40, 0.2);
}

.home-shop :is(#openCartBtn, #openCartBtnAbout).cart-docked {
  min-width: 126px;
  width: auto;
  height: 42px;
  border-radius: 12px;
  border-color: rgba(255, 133, 76, 0.7);
  background: linear-gradient(120deg, #f56c35 0%, #f09731 100%);
  color: #fff;
  padding: 0.5rem 0.9rem;
  box-shadow: 0 9px 20px rgba(172, 77, 28, 0.4);
  gap: 0.16rem;
}

.home-shop :is(#openCartBtn, #openCartBtnAbout).cart-docked .shop-cart-icon,
.home-shop :is(#openCartBtn, #openCartBtnAbout).cart-docked .shop-cart-count-badge {
  display: none;
}

.home-shop :is(#openCartBtn, #openCartBtnAbout).cart-docked .shop-cart-label,
.home-shop :is(#openCartBtn, #openCartBtnAbout).cart-docked .shop-cart-count-wrap {
  display: inline;
}

.home-shop .shop-hero-banner {
  position: relative;
  min-height: clamp(470px, 70vw, 760px);
  display: flex;
  align-items: center;
  padding: clamp(6.4rem, 8.8vw, 8.6rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 4.5vw, 4rem);
  overflow: hidden;
}

.home-shop .shop-hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
}

.home-shop .shop-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(93deg, rgba(2, 4, 8, 0.96) 0%, rgba(2, 4, 8, 0.84) 33%, rgba(2, 4, 8, 0.45) 56%, rgba(2, 4, 8, 0.16) 73%, rgba(2, 4, 8, 0.52) 100%);
  z-index: 1;
}

.home-shop .shop-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(100% 80% at 85% 12%, rgba(230, 118, 53, 0.18), transparent 54%);
  z-index: 1;
}

.home-shop .shop-hero-overlay {
  position: relative;
  z-index: 3;
  max-width: min(580px, 86vw);
  color: #ffffff;
}

.home-shop .shop-hero-badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.home-shop .shop-hero-badge strong {
  color: #dd6a2b;
  font-weight: 800;
}

.home-shop .shop-hero-badge-dot {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  background: rgba(5, 7, 11, 0.65);
}

.home-shop .shop-hero-badge-dot::before {
  content: '★';
  color: #ffffff;
}

.home-shop .shop-hero-overlay h2 {
  margin: 0.45rem 0 0;
  color: #ffffff;
  font-family: 'Barlow Condensed', 'Manrope', sans-serif;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: none;
}

.home-shop .shop-hero-sub {
  margin: 1rem 0 0;
  max-width: 29ch;
  font-size: clamp(1.02rem, 1.58vw, 1.45rem);
  line-height: 1.42;
  color: #d8e2ef;
}

.home-shop .shop-hero-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.68rem;
}

.home-shop .shop-hero-btn,
.home-shop .shop-hero-btn-secondary {
  border-radius: 8px;
  min-height: 50px;
  padding: 0.72rem 1.32rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-shop .shop-hero-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(7, 10, 15, 0.48);
  color: #ffffff;
}

.home-shop .shop-brand-strip {
  background: #07090d;
  color: #f7fbff;
  padding: 0.78rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-shop .shop-brand-strip-kicker {
  margin: 0;
  font-size: 1.44rem;
  text-align: center;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  color: #d3dde8;
}

.home-shop .shop-brand-marquee {
  margin-top: 0.72rem;
  width: 100%;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}

.home-shop .shop-brand-marquee.shop-brand-marquee-overflowing {
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.home-shop .shop-brand-marquee.is-dragging {
  cursor: grabbing;
}

.home-shop .shop-brand-logo-row {
  display: flex;
  align-items: center;
  width: max-content;
  margin-inline: auto;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  user-select: none;
}

.home-shop .shop-brand-logo-group {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  flex: 0 0 auto;
}

.home-shop .shop-brand-logo-group[data-marquee-group='clone-pre'],
.home-shop .shop-brand-logo-group[data-marquee-group='clone-post'] {
  display: none;
}

.home-shop .shop-brand-marquee.shop-brand-marquee-overflowing .shop-brand-logo-group[data-marquee-group='clone-pre'],
.home-shop .shop-brand-marquee.shop-brand-marquee-overflowing .shop-brand-logo-group[data-marquee-group='clone-post'] {
  display: flex;
}

.home-shop .shop-brand-logo-btn {
  border: 0;
  background: transparent;
  min-height: 96px;
  height: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
  flex: 0 0 auto;
  pointer-events: auto;
}

.home-shop .shop-brand-logo-btn img {
  display: block;
  max-height: 64px;
  width: auto;
  max-width: min(352px, 40vw);
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  transition: transform 160ms ease, opacity 160ms ease;
  opacity: 1;
}

.home-shop .shop-brand-logo-btn:hover img,
.home-shop .shop-brand-logo-btn:focus-visible img {
  transform: translateY(-1px);
  opacity: 1;
}

.home-shop .shop-category-section,
.home-shop .shop-why-section {
  padding: clamp(1.25rem, 2.3vw, 2rem) clamp(0.95rem, 2.1vw, 1.6rem) 1.5rem;
}

.home-shop .shop-section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.home-shop .shop-heading-line {
  width: clamp(38px, 8vw, 64px);
  height: 2px;
  background: linear-gradient(90deg, transparent, #d66628, transparent);
}

.home-shop .shop-section-heading h3 {
  margin: 0;
  font-family: 'Barlow Condensed', 'Manrope', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.62rem, 2.6vw, 2.1rem);
  color: #171d27;
  line-height: 1;
}

.home-shop .shop-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.home-shop .shop-category-card {
  position: relative;
  border: 0;
  border-radius: 14px;
  min-height: 245px;
  overflow: hidden;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 0.2rem;
  text-align: left;
  color: #ffffff;
  padding: 0.9rem;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.home-shop .shop-category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.12), rgba(6, 8, 12, 0.84) 72%);
  z-index: 1;
}

.home-shop .shop-category-card > * {
  position: relative;
  z-index: 2;
}

.home-shop .card-paddles {
  background-image: url('/Cat%20Assets/paddle.png');
}

.home-shop .card-accessories {
  background-image: url('/Cat%20Assets/Bags%20and%20Accessories.png');
}

.home-shop .card-apparel {
  background-image: url('/Cat%20Assets/Apparel.png');
  background-position: center 38%;
}

.home-shop .card-deals {
  background-image: linear-gradient(130deg, rgba(59, 20, 5, 0.62), rgba(192, 82, 23, 0.94));
}

.home-shop .card-deals::after {
  content: 'SALE';
  position: absolute;
  right: 0.9rem;
  top: 0.4rem;
  font-family: 'Barlow Condensed', 'Manrope', sans-serif;
  font-size: clamp(3.2rem, 4.8vw, 4.3rem);
  line-height: 1;
  color: rgba(255, 174, 132, 0.18);
  letter-spacing: 0.02em;
  z-index: 1;
}

.home-shop .shop-category-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 9, 13, 0.48);
}

.home-shop .shop-category-icon img {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.home-shop .shop-category-title {
  font-family: 'Barlow Condensed', 'Manrope', sans-serif;
  font-size: 1.95rem;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-shop .shop-category-sub {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.9);
}

.home-shop .shop-featured-section {
  border-top: 1px solid #e5e9ef;
  padding: 1.45rem clamp(0.95rem, 2.1vw, 1.6rem) 1.6rem;
}

.home-shop .shop-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.home-shop .featured-home-card {
  border: 1px solid #d8dfe8;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  display: grid;
  box-shadow: 0 10px 20px rgba(14, 24, 34, 0.05);
}

.home-shop .featured-home-card .product-image-wrap {
  aspect-ratio: 4 / 5;
  background: #f4f6fa;
}

.home-shop .featured-home-badge {
  position: absolute;
  top: 0.58rem;
  left: 0.58rem;
  z-index: 2;
  border-radius: 6px;
  padding: 0.2rem 0.46rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  background: #d66628;
}

.home-shop .featured-home-rating {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.78rem;
}

.home-shop .featured-home-stars {
  color: #d66628;
  letter-spacing: 0.08em;
}

.home-shop .featured-home-count {
  color: #5d6778;
}

.home-shop .featured-home-card .product-body {
  padding: 0.72rem;
  gap: 0.56rem;
}

.home-shop .featured-home-card .product-meta {
  min-height: 1.2rem;
}

.home-shop .featured-home-card .btn {
  width: 100%;
  border-radius: 10px;
}

.home-shop .shop-featured-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
}

.home-shop .shop-view-all-btn {
  border-radius: 8px;
  border-color: rgba(200, 95, 36, 0.5);
  color: #1b2432;
  background: #ffffff;
  padding: 0.7rem 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-shop .shop-view-more-featured-btn {
  border-radius: 8px;
  border-color: rgba(214, 102, 40, 0.45);
  background: #fff7f2;
  color: #8b451f;
  padding: 0.7rem 1.1rem;
}

.home-shop .shop-collection-details {
  margin-top: 1.05rem;
  border: 1px solid #dfe6f0;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.home-shop .shop-collection-details > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.82rem 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #1d2a3b;
  background: #f4f8fe;
}

.home-shop .shop-collection-details > summary::-webkit-details-marker {
  display: none;
}

.home-shop .shop-collection-details[open] > summary {
  border-bottom: 1px solid #e0e7f2;
}

.home-shop .shop-brand-quick-wrap {
  margin: 0;
  padding: 0.95rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-shop .shop-brand-quick-head strong {
  color: #18263b;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
}

.home-shop .shop-brand-quick-head small {
  color: #536178;
  font-size: 0.84rem;
}

.home-shop .shop-brand-chips {
  margin-top: 0.64rem;
}

.home-shop .shop-brand-chip {
  border: 1px solid #ced7e5;
  background: #ffffff;
  color: #203248;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
}

.home-shop .shop-brand-chip.active {
  color: #ffffff;
  border-color: #d66628;
  background: #d66628;
  box-shadow: none;
}

.home-shop .shop-filter-shell-inline {
  border: 1px solid #d4deeb;
  background: #ffffff;
  box-shadow: none;
  padding: 0.82rem;
}

.home-shop .shop-filter-shell-inline .shop-filter-head strong {
  color: #223550;
}

.home-shop .shop-filter-shell-inline .shop-clear-filters {
  color: #8b4a23;
}

.home-shop .shop-filter-shell-inline .shop-clear-filters:hover {
  color: #673311;
}

.home-shop .shop-toolbar {
  grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(160px, 1fr));
}

.home-shop .shop-filter-shell-inline .shop-toolbar input,
.home-shop .shop-filter-shell-inline .shop-toolbar select {
  border-color: #c6d3e3;
  background: #ffffff;
  color: #15263b;
}

.home-shop .shop-filter-shell-inline .shop-toolbar input::placeholder {
  color: #7e8ea2;
}

.home-shop .shop-filter-shell-inline .shop-toolbar input:focus,
.home-shop .shop-filter-shell-inline .shop-toolbar select:focus {
  border-color: #d66628;
  box-shadow: 0 0 0 3px rgba(214, 102, 40, 0.16);
}

.home-shop .shop-active-filter-chip {
  border-color: #ebb899;
  color: #7a3f1e;
  background: #fff7f2;
}

.home-shop .shop-block-head {
  margin: 0;
  padding: 0 0.95rem;
}

.home-shop .shop-block-head h3 {
  font-size: 1.05rem;
}

.home-shop .shop-grid {
  margin-top: 0.8rem;
  padding: 0 0.95rem 0.95rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.home-shop .product-card {
  border-radius: 12px;
}

.home-shop .shop-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.68rem;
}

.home-shop .shop-why-card {
  border: 1px solid #e0e6ee;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 18px rgba(18, 27, 36, 0.05);
  padding: 0.82rem;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 0.72rem;
  align-items: center;
}

.home-shop .shop-why-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.home-shop .shop-why-card h4 {
  margin: 0;
  color: #161f2e;
  font-family: 'Barlow Condensed', 'Manrope', sans-serif;
  font-size: 1.24rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
}

.home-shop .shop-why-card p {
  margin: 0.45rem 0 0;
  color: #47576d;
  line-height: 1.4;
  font-size: 0.9rem;
}

.home-shop .shop-story-section {
  border-top: 1px solid #e6ebf2;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.4fr);
  gap: 0;
  align-items: stretch;
  background: #ffffff;
}

.home-shop .shop-story-copy {
  padding: clamp(1.2rem, 2.3vw, 2rem);
  display: grid;
  gap: 0.75rem;
  align-content: center;
}

.home-shop .shop-story-kicker {
  margin: 0;
  color: #d66628;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  font-weight: 800;
}

.home-shop .shop-story-copy h3 {
  margin: 0;
  font-family: 'Barlow Condensed', 'Manrope', sans-serif;
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  line-height: 0.92;
  color: #121a25;
}

.home-shop .shop-story-copy p {
  margin: 0;
  color: #3d4d61;
  line-height: 1.55;
  max-width: 42ch;
}

.home-shop .shop-story-btn {
  width: fit-content;
  border-radius: 8px;
  border-color: rgba(214, 102, 40, 0.6);
  color: #172234;
  background: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-shop .shop-story-media {
  min-height: 300px;
}

.home-shop .shop-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-shop .shop-cta-band {
  background:
    radial-gradient(140% 120% at 0% 0%, rgba(214, 102, 40, 0.22), transparent 60%),
    linear-gradient(135deg, #090c12, #141a23 60%, #0e121a);
  color: #ffffff;
  padding: 1.15rem clamp(0.95rem, 2.1vw, 1.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-shop .shop-cta-band h3 {
  margin: 0;
  font-family: 'Barlow Condensed', 'Manrope', sans-serif;
  font-size: clamp(2.05rem, 4vw, 3rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.home-shop .shop-cta-band p {
  margin: 0.4rem 0 0;
  color: #d7dfeb;
}

.home-shop .shop-cta-btn {
  border-radius: 8px;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.home-shop .shop-footer {
  background: linear-gradient(180deg, #07090d, #111720);
  color: #d6dfeb;
  padding: 1.25rem clamp(0.95rem, 2.1vw, 1.6rem) 0.85rem;
}

.home-shop .shop-footer-grid {
  display: grid;
  grid-template-columns: minmax(190px, 1.2fr) repeat(3, minmax(120px, 1fr));
  gap: 1rem;
}

.home-shop .shop-wordmark-footer .shop-wordmark-line1 {
  font-size: 1.8rem;
}

.home-shop .shop-wordmark-footer .shop-wordmark-line2 {
  font-size: 1.06rem;
}

.home-shop .shop-footer-brand p {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  color: #afbccd;
  line-height: 1.45;
}

.home-shop .shop-footer-col h4 {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  color: #f6f9ff;
}

.home-shop .shop-footer-col p {
  margin: 0.62rem 0 0;
  font-size: 0.84rem;
  color: #afbccd;
  line-height: 1.4;
}

.home-shop .shop-footer-col button {
  display: block;
  border: 0;
  background: transparent;
  color: #d6dfeb;
  padding: 0;
  margin: 0.52rem 0 0;
  cursor: pointer;
  text-align: left;
  font-size: 0.9rem;
}

.home-shop .shop-footer-col button:hover,
.home-shop .shop-footer-col button:focus-visible {
  color: #ff9b66;
}

.home-shop .shop-newsletter-form {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem;
}

.home-shop .shop-newsletter-form input {
  min-height: 44px;
  border: 1px solid rgba(157, 175, 197, 0.42);
  border-radius: 8px;
  background: rgba(9, 13, 20, 0.88);
  color: #dfe8f5;
}

.home-shop .shop-newsletter-form input::placeholder {
  color: #8093a9;
}

.home-shop .shop-newsletter-btn {
  min-width: 48px;
  border-radius: 8px;
  border: 1px solid rgba(227, 115, 52, 0.9);
  background: linear-gradient(120deg, #d66628, #ec864a);
  color: #ffffff;
  font-size: 1.05rem;
  cursor: not-allowed;
}

.home-shop .shop-footer-meta {
  margin: 1.2rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(142, 156, 177, 0.22);
  text-align: center;
  color: #8d9cb1;
  font-size: 0.8rem;
}

@media (max-width: 1120px) {
  .home-shop .shop-top-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.72rem;
    min-height: 78px;
  }

  .home-shop .shop-nav {
    display: none;
  }

  .home-shop .shop-nav-tools {
    justify-self: end;
    gap: 0.38rem;
  }

  .home-shop .shop-mobile-menu-wrap {
    display: inline-flex;
  }

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

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

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

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

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

  .home-shop .shop-brand-logo-group {
    gap: clamp(1.85rem, 4.8vw, 3.1rem);
  }

  .home-shop .shop-brand-logo-btn {
    min-height: 82px;
    height: 82px;
  }

  .home-shop .shop-brand-logo-btn img {
    max-height: 56px;
    max-width: min(312px, 46vw);
  }

  .about-premium-content {
    width: min(1400px, calc(100% - 1.3rem));
  }

  .about-premium-split {
    grid-template-columns: 76px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .home-shop .shop-category-section {
    display: none;
  }

  .home-shop .shop-featured-section {
    border-top: 0;
    padding: 1rem 0.95rem 1.3rem;
  }

  .home-shop .shop-featured-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.72rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.3rem;
  }

  .home-shop .shop-featured-grid .featured-home-card {
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
  }

  .home-shop .shop-featured-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .home-shop .shop-view-more-featured-btn,
  .home-shop .shop-view-all-btn {
    width: auto;
  }

  .home-shop .shop-featured-section .shop-collection-details {
    margin-top: 0;
  }

  .home-shop .shop-hero-banner {
    min-height: 540px;
    align-items: flex-end;
    padding-top: 8.9rem;
  }

  .home-shop .shop-top-strip {
    min-height: 72px;
    padding: 0.9rem 0.8rem 0;
    gap: 0.58rem;
  }

  .home-shop .shop-wordmark {
    gap: 0.4rem;
  }

  .home-shop .shop-wordmark-mark {
    width: 3.25rem;
    height: 3.25rem;
  }

  .home-shop .shop-wordmark-line1 {
    font-size: 1.4rem;
  }

  .home-shop .shop-wordmark-line2 {
    font-size: 0.84rem;
    letter-spacing: 0.16em;
  }

  .home-shop #shopHomeLink.shop-wordmark {
    gap: 0.48rem;
  }

  .home-shop #shopHomeLink .shop-wordmark-mark {
    width: 3.9rem;
    height: 3.9rem;
  }

  .home-shop #shopHomeLink .shop-wordmark-line1 {
    font-size: 1.68rem;
  }

  .home-shop #shopHomeLink .shop-wordmark-line2 {
    font-size: 1.008rem;
  }

  .home-shop .shop-nav-tools {
    gap: 0.32rem;
  }

  .home-shop .shop-icon-btn,
  .home-shop :is(#openCartBtn, #openCartBtnAbout),
  .home-shop .shop-mobile-menu-btn {
    min-height: 38px;
    min-width: 38px;
    width: 38px;
    height: 38px;
    padding: 0;
  }

  .home-shop :is(#shopAccountBtn, #aboutAccountBtn) {
    width: auto;
    min-width: 0;
    padding: 0.42rem 0.55rem;
    font-size: 0.72rem;
  }

  .home-shop .shop-mobile-menu-panel {
    width: min(300px, calc(100vw - 1rem));
  }

  .home-shop .shop-hero-bg-image {
    object-position: 73% center;
  }

  .home-shop .shop-hero-banner::before {
    background: linear-gradient(180deg, rgba(3, 5, 8, 0.93) 0%, rgba(3, 5, 8, 0.62) 38%, rgba(3, 5, 8, 0.76) 100%);
  }

  .home-shop .shop-hero-overlay h2 {
    font-size: clamp(2.8rem, 16vw, 4.5rem);
  }

  .home-shop .shop-hero-sub {
    max-width: 30ch;
  }

  .home-shop .shop-category-grid,
  .home-shop .shop-featured-grid,
  .home-shop .shop-grid,
  .home-shop .shop-why-grid,
  .home-shop .shop-footer-grid {
    grid-template-columns: 1fr;
  }

  .home-shop .shop-story-section {
    grid-template-columns: 1fr;
  }

  .home-shop .shop-story-copy {
    order: 1;
  }

  .home-shop .shop-story-media {
    order: 2;
    min-height: 240px;
  }

  .home-shop .shop-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-shop .shop-cta-btn {
    width: 100%;
  }

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

  .home-shop .shop-brand-strip-kicker {
    font-size: 0.72rem;
  }

  .home-shop .shop-brand-logo-group {
    gap: clamp(1.25rem, 6vw, 2.2rem);
  }

  .home-shop .shop-brand-logo-btn {
    min-height: 72px;
    height: 72px;
  }

  .home-shop .shop-brand-logo-btn img {
    max-height: 48px;
    max-width: min(256px, 58vw);
  }

  .about-premium-site .shop-top-strip {
    gap: 0.76rem;
    padding: 0.95rem 0.95rem 0.7rem;
  }

  .about-premium-site .about-nav-active::after {
    bottom: -0.35rem;
  }

  .about-premium-hero {
    min-height: 560px;
  }

  .about-premium-hero::before {
    background: linear-gradient(180deg, rgba(2, 4, 8, 0.95) 0%, rgba(2, 4, 8, 0.72) 42%, rgba(2, 4, 8, 0.84) 100%);
  }

  .about-premium-hero-overlay {
    max-width: 100%;
    padding: 9.6rem 1rem 1rem;
  }

  .about-premium-hero-overlay h2 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .about-premium-hero-overlay p {
    max-width: 30ch;
  }

  .about-premium-hero-btn {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 0 1rem 1.1rem auto;
    min-width: 230px;
    min-height: 50px;
    font-size: 0.98rem;
  }

  .about-premium-content {
    width: calc(100% - 0.7rem);
    gap: 0.75rem;
  }

  .about-premium-card {
    padding: 0.92rem;
  }

  .about-premium-split {
    grid-template-columns: 1fr;
    gap: 0.62rem;
  }

  .about-premium-icon-col {
    justify-content: flex-start;
  }

  .about-premium-copy-col h3 {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
  }

  .about-premium-cta-band {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    min-height: 240px;
  }

  .about-premium-cta-copy h3 {
    font-size: clamp(1.9rem, 12vw, 3rem);
  }

  .about-premium-cta-btn {
    min-width: 100%;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .home-shop .shop-nav-tools [data-action='shop-focus-search'] {
    display: none;
  }

  .home-shop .shop-wordmark-mark {
    width: 2.8rem;
    height: 2.8rem;
  }

  .home-shop .shop-wordmark-line1 {
    font-size: 1.18rem;
  }

  .home-shop .shop-wordmark-line2 {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .home-shop #shopHomeLink .shop-wordmark-mark {
    width: 3.36rem;
    height: 3.36rem;
  }

  .home-shop #shopHomeLink .shop-wordmark-line1 {
    font-size: 1.416rem;
  }

  .home-shop #shopHomeLink .shop-wordmark-line2 {
    font-size: 0.864rem;
  }

  .home-shop :is(#shopAccountBtn, #aboutAccountBtn) {
    padding: 0.34rem 0.46rem;
    font-size: 0.66rem;
  }
}
